3 | import public Pact.WAI.Method
4 | import public Pact.WAI.StatusCode
20 | VerbAccept: Verb -> Type
21 | VerbAccept (MkVerb _ _ accept _) = accept
24 | VerbResponse: Verb -> Type
25 | VerbResponse (MkVerb _ _ _ response) = response
31 | Head' : StatusCode -> Type -> Type -> Verb
36 | Get' : StatusCode -> Type -> Type -> Verb
41 | Post' : StatusCode -> Type -> Type -> Verb
46 | Put' : StatusCode -> Type -> Type -> Verb
51 | Delete' : StatusCode -> Type -> Type -> Verb
52 | Delete' = MkVerb DELETE
56 | Patch' : StatusCode -> Type -> Type -> Verb
57 | Patch' = MkVerb PATCH
61 | Head : Type -> Type -> Verb
62 | Head = Head' code_200
66 | Get : Type -> Type -> Verb
71 | Post : Type -> Type -> Verb
72 | Post = Post' code_201
76 | Put : Type -> Type -> Verb
81 | Delete : Type -> Type -> Verb
82 | Delete = Delete' code_200
86 | Patch : Type -> Type -> Verb
87 | Patch = Patch' code_200
91 | PostCreated : Type -> Type -> Verb
92 | PostCreated = Post' code_201
96 | PutCreated : Type -> Type -> Verb
97 | PutCreated = Put' code_201
101 | GetAccepted : Type -> Type -> Verb
102 | GetAccepted = Get' code_202
106 | PostAccepted : Type -> Type -> Verb
107 | PostAccepted = Post' code_202
111 | DeleteAccepted : Type -> Type -> Verb
112 | DeleteAccepted = Delete' code_202
116 | PatchAccepted : Type -> Type -> Verb
117 | PatchAccepted = Patch' code_202
121 | PutAccepted : Type -> Type -> Verb
122 | PutAccepted = Put' code_202
126 | GetNonAuthoritative : Type -> Type -> Verb
127 | GetNonAuthoritative = Get' code_203
131 | PostNonAuthoritative : Type -> Type -> Verb
132 | PostNonAuthoritative = Post' code_203
136 | DeleteNonAuthoritative : Type -> Type -> Verb
137 | DeleteNonAuthoritative = Delete' code_203
141 | PatchNonAuthoritative : Type -> Type -> Verb
142 | PatchNonAuthoritative = Patch' code_203
146 | PutNonAuthoritative : Type -> Type -> Verb
147 | PutNonAuthoritative = Put' code_203
151 | GetNoContent : Type -> Type -> Verb
152 | GetNoContent = Get' code_204
156 | PostNoContent : Type -> Type -> Verb
157 | PostNoContent = Post' code_204
161 | DeleteNoContent : Type -> Type -> Verb
162 | DeleteNoContent = Delete' code_204
166 | PatchNoContent : Type -> Type -> Verb
167 | PatchNoContent = Patch' code_204
171 | PutNoContent : Type -> Type -> Verb
172 | PutNoContent = Put' code_204
176 | HeadNoContent : Type -> Type -> Verb
177 | HeadNoContent = Head' code_204
181 | HeadResetContent : Type -> Type -> Verb
182 | HeadResetContent = Head' code_205
186 | GetResetContent : Type -> Type -> Verb
187 | GetResetContent = Get' code_205
191 | PostResetContent : Type -> Type -> Verb
192 | PostResetContent = Post' code_205
196 | DeleteResetContent : Type -> Type -> Verb
197 | DeleteResetContent = Delete' code_205
201 | PatchResetContent : Type -> Type -> Verb
202 | PatchResetContent = Patch' code_205
206 | PutResetContent : Type -> Type -> Verb
207 | PutResetContent = Put' code_205