@mesadev/sdk 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +164 -134
- package/dist/commonjs/funcs/webhooksCreate.d.ts +18 -0
- package/dist/commonjs/funcs/webhooksCreate.d.ts.map +1 -0
- package/dist/commonjs/funcs/webhooksCreate.js +129 -0
- package/dist/commonjs/funcs/webhooksCreate.js.map +1 -0
- package/dist/commonjs/funcs/webhooksDelete.d.ts +18 -0
- package/dist/commonjs/funcs/webhooksDelete.d.ts.map +1 -0
- package/dist/commonjs/funcs/webhooksDelete.js +132 -0
- package/dist/commonjs/funcs/webhooksDelete.js.map +1 -0
- package/dist/commonjs/funcs/webhooksList.d.ts +18 -0
- package/dist/commonjs/funcs/webhooksList.d.ts.map +1 -0
- package/dist/commonjs/funcs/webhooksList.js +128 -0
- package/dist/commonjs/funcs/webhooksList.js.map +1 -0
- package/dist/commonjs/hooks/hooks.d.ts.map +1 -1
- package/dist/commonjs/hooks/hooks.js +0 -2
- package/dist/commonjs/hooks/hooks.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/errors/deleteorgrepowebhookswebhookid.d.ts +151 -0
- package/dist/commonjs/models/errors/deleteorgrepowebhookswebhookid.d.ts.map +1 -0
- package/dist/commonjs/models/errors/deleteorgrepowebhookswebhookid.js +239 -0
- package/dist/commonjs/models/errors/deleteorgrepowebhookswebhookid.js.map +1 -0
- package/dist/commonjs/models/errors/getorgrepowebhooks.d.ts +151 -0
- package/dist/commonjs/models/errors/getorgrepowebhooks.d.ts.map +1 -0
- package/dist/commonjs/models/errors/getorgrepowebhooks.js +232 -0
- package/dist/commonjs/models/errors/getorgrepowebhooks.js.map +1 -0
- package/dist/commonjs/models/errors/index.d.ts +3 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +3 -0
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/errors/postorgrepowebhooks.d.ts +151 -0
- package/dist/commonjs/models/errors/postorgrepowebhooks.d.ts.map +1 -0
- package/dist/commonjs/models/errors/postorgrepowebhooks.js +232 -0
- package/dist/commonjs/models/errors/postorgrepowebhooks.js.map +1 -0
- package/dist/commonjs/models/operations/deleteorgrepowebhookswebhookid.d.ts +97 -0
- package/dist/commonjs/models/operations/deleteorgrepowebhookswebhookid.d.ts.map +1 -0
- package/dist/commonjs/models/operations/deleteorgrepowebhookswebhookid.js +138 -0
- package/dist/commonjs/models/operations/deleteorgrepowebhookswebhookid.js.map +1 -0
- package/dist/commonjs/models/operations/getorgrepowebhooks.d.ts +114 -0
- package/dist/commonjs/models/operations/getorgrepowebhooks.d.ts.map +1 -0
- package/dist/commonjs/models/operations/getorgrepowebhooks.js +155 -0
- package/dist/commonjs/models/operations/getorgrepowebhooks.js.map +1 -0
- package/dist/commonjs/models/operations/index.d.ts +3 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +3 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/postorgapikeys.d.ts +2 -0
- package/dist/commonjs/models/operations/postorgapikeys.d.ts.map +1 -1
- package/dist/commonjs/models/operations/postorgapikeys.js +2 -0
- package/dist/commonjs/models/operations/postorgapikeys.js.map +1 -1
- package/dist/commonjs/models/operations/postorgrepowebhooks.d.ts +135 -0
- package/dist/commonjs/models/operations/postorgrepowebhooks.d.ts.map +1 -0
- package/dist/commonjs/models/operations/postorgrepowebhooks.js +168 -0
- package/dist/commonjs/models/operations/postorgrepowebhooks.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +3 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +4 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/webhooks.d.ts +26 -0
- package/dist/commonjs/sdk/webhooks.d.ts.map +1 -0
- package/dist/commonjs/sdk/webhooks.js +42 -0
- package/dist/commonjs/sdk/webhooks.js.map +1 -0
- package/dist/esm/funcs/webhooksCreate.d.ts +18 -0
- package/dist/esm/funcs/webhooksCreate.d.ts.map +1 -0
- package/dist/esm/funcs/webhooksCreate.js +93 -0
- package/dist/esm/funcs/webhooksCreate.js.map +1 -0
- package/dist/esm/funcs/webhooksDelete.d.ts +18 -0
- package/dist/esm/funcs/webhooksDelete.d.ts.map +1 -0
- package/dist/esm/funcs/webhooksDelete.js +96 -0
- package/dist/esm/funcs/webhooksDelete.js.map +1 -0
- package/dist/esm/funcs/webhooksList.d.ts +18 -0
- package/dist/esm/funcs/webhooksList.d.ts.map +1 -0
- package/dist/esm/funcs/webhooksList.js +92 -0
- package/dist/esm/funcs/webhooksList.js.map +1 -0
- package/dist/esm/hooks/hooks.d.ts.map +1 -1
- package/dist/esm/hooks/hooks.js +0 -2
- package/dist/esm/hooks/hooks.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/errors/deleteorgrepowebhookswebhookid.d.ts +151 -0
- package/dist/esm/models/errors/deleteorgrepowebhookswebhookid.d.ts.map +1 -0
- package/dist/esm/models/errors/deleteorgrepowebhookswebhookid.js +196 -0
- package/dist/esm/models/errors/deleteorgrepowebhookswebhookid.js.map +1 -0
- package/dist/esm/models/errors/getorgrepowebhooks.d.ts +151 -0
- package/dist/esm/models/errors/getorgrepowebhooks.d.ts.map +1 -0
- package/dist/esm/models/errors/getorgrepowebhooks.js +189 -0
- package/dist/esm/models/errors/getorgrepowebhooks.js.map +1 -0
- package/dist/esm/models/errors/index.d.ts +3 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +3 -0
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/errors/postorgrepowebhooks.d.ts +151 -0
- package/dist/esm/models/errors/postorgrepowebhooks.d.ts.map +1 -0
- package/dist/esm/models/errors/postorgrepowebhooks.js +189 -0
- package/dist/esm/models/errors/postorgrepowebhooks.js.map +1 -0
- package/dist/esm/models/operations/deleteorgrepowebhookswebhookid.d.ts +97 -0
- package/dist/esm/models/operations/deleteorgrepowebhookswebhookid.d.ts.map +1 -0
- package/dist/esm/models/operations/deleteorgrepowebhookswebhookid.js +93 -0
- package/dist/esm/models/operations/deleteorgrepowebhookswebhookid.js.map +1 -0
- package/dist/esm/models/operations/getorgrepowebhooks.d.ts +114 -0
- package/dist/esm/models/operations/getorgrepowebhooks.d.ts.map +1 -0
- package/dist/esm/models/operations/getorgrepowebhooks.js +109 -0
- package/dist/esm/models/operations/getorgrepowebhooks.js.map +1 -0
- package/dist/esm/models/operations/index.d.ts +3 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +3 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/postorgapikeys.d.ts +2 -0
- package/dist/esm/models/operations/postorgapikeys.d.ts.map +1 -1
- package/dist/esm/models/operations/postorgapikeys.js +2 -0
- package/dist/esm/models/operations/postorgapikeys.js.map +1 -1
- package/dist/esm/models/operations/postorgrepowebhooks.d.ts +135 -0
- package/dist/esm/models/operations/postorgrepowebhooks.d.ts.map +1 -0
- package/dist/esm/models/operations/postorgrepowebhooks.js +122 -0
- package/dist/esm/models/operations/postorgrepowebhooks.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +3 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +4 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/webhooks.d.ts +26 -0
- package/dist/esm/sdk/webhooks.d.ts.map +1 -0
- package/dist/esm/sdk/webhooks.js +38 -0
- package/dist/esm/sdk/webhooks.js.map +1 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/webhooksCreate.ts +206 -0
- package/src/funcs/webhooksDelete.ts +236 -0
- package/src/funcs/webhooksList.ts +205 -0
- package/src/hooks/hooks.ts +0 -3
- package/src/lib/config.ts +3 -3
- package/src/models/errors/deleteorgrepowebhookswebhookid.ts +368 -0
- package/src/models/errors/getorgrepowebhooks.ts +371 -0
- package/src/models/errors/index.ts +3 -0
- package/src/models/errors/postorgrepowebhooks.ts +369 -0
- package/src/models/operations/deleteorgrepowebhookswebhookid.ts +285 -0
- package/src/models/operations/getorgrepowebhooks.ts +305 -0
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/postorgapikeys.ts +2 -0
- package/src/models/operations/postorgrepowebhooks.ts +339 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/webhooks.ts +63 -0
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import * as operations from "../operations/index.js";
|
|
7
|
+
import { MesaError } from "./mesaerror.js";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Internal error
|
|
11
|
+
*/
|
|
12
|
+
export type DeleteOrgRepoWebhooksWebhookIdInternalServerErrorData = {
|
|
13
|
+
error: operations.DeleteOrgRepoWebhooksWebhookIdInternalServerErrorError;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Internal error
|
|
18
|
+
*/
|
|
19
|
+
export class DeleteOrgRepoWebhooksWebhookIdInternalServerError
|
|
20
|
+
extends MesaError
|
|
21
|
+
{
|
|
22
|
+
error: operations.DeleteOrgRepoWebhooksWebhookIdInternalServerErrorError;
|
|
23
|
+
|
|
24
|
+
/** The original data that was passed to this error instance. */
|
|
25
|
+
data$: DeleteOrgRepoWebhooksWebhookIdInternalServerErrorData;
|
|
26
|
+
|
|
27
|
+
constructor(
|
|
28
|
+
err: DeleteOrgRepoWebhooksWebhookIdInternalServerErrorData,
|
|
29
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
30
|
+
) {
|
|
31
|
+
const message = err.error?.message
|
|
32
|
+
|| `API error occurred: ${JSON.stringify(err)}`;
|
|
33
|
+
super(message, httpMeta);
|
|
34
|
+
this.data$ = err;
|
|
35
|
+
this.error = err.error;
|
|
36
|
+
|
|
37
|
+
this.name = "DeleteOrgRepoWebhooksWebhookIdInternalServerError";
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Conflict
|
|
43
|
+
*/
|
|
44
|
+
export type DeleteOrgRepoWebhooksWebhookIdConflictErrorData = {
|
|
45
|
+
error: operations.DeleteOrgRepoWebhooksWebhookIdConflictError;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Conflict
|
|
50
|
+
*/
|
|
51
|
+
export class DeleteOrgRepoWebhooksWebhookIdConflictError extends MesaError {
|
|
52
|
+
error: operations.DeleteOrgRepoWebhooksWebhookIdConflictError;
|
|
53
|
+
|
|
54
|
+
/** The original data that was passed to this error instance. */
|
|
55
|
+
data$: DeleteOrgRepoWebhooksWebhookIdConflictErrorData;
|
|
56
|
+
|
|
57
|
+
constructor(
|
|
58
|
+
err: DeleteOrgRepoWebhooksWebhookIdConflictErrorData,
|
|
59
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
60
|
+
) {
|
|
61
|
+
const message = err.error?.message
|
|
62
|
+
|| `API error occurred: ${JSON.stringify(err)}`;
|
|
63
|
+
super(message, httpMeta);
|
|
64
|
+
this.data$ = err;
|
|
65
|
+
this.error = err.error;
|
|
66
|
+
|
|
67
|
+
this.name = "DeleteOrgRepoWebhooksWebhookIdConflictError";
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Not acceptable
|
|
73
|
+
*/
|
|
74
|
+
export type DeleteOrgRepoWebhooksWebhookIdNotAcceptableErrorData = {
|
|
75
|
+
error: operations.DeleteOrgRepoWebhooksWebhookIdNotAcceptableError;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Not acceptable
|
|
80
|
+
*/
|
|
81
|
+
export class DeleteOrgRepoWebhooksWebhookIdNotAcceptableError
|
|
82
|
+
extends MesaError
|
|
83
|
+
{
|
|
84
|
+
error: operations.DeleteOrgRepoWebhooksWebhookIdNotAcceptableError;
|
|
85
|
+
|
|
86
|
+
/** The original data that was passed to this error instance. */
|
|
87
|
+
data$: DeleteOrgRepoWebhooksWebhookIdNotAcceptableErrorData;
|
|
88
|
+
|
|
89
|
+
constructor(
|
|
90
|
+
err: DeleteOrgRepoWebhooksWebhookIdNotAcceptableErrorData,
|
|
91
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
92
|
+
) {
|
|
93
|
+
const message = err.error?.message
|
|
94
|
+
|| `API error occurred: ${JSON.stringify(err)}`;
|
|
95
|
+
super(message, httpMeta);
|
|
96
|
+
this.data$ = err;
|
|
97
|
+
this.error = err.error;
|
|
98
|
+
|
|
99
|
+
this.name = "DeleteOrgRepoWebhooksWebhookIdNotAcceptableError";
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Not found
|
|
105
|
+
*/
|
|
106
|
+
export type DeleteOrgRepoWebhooksWebhookIdNotFoundErrorData = {
|
|
107
|
+
error: operations.DeleteOrgRepoWebhooksWebhookIdNotFoundError;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Not found
|
|
112
|
+
*/
|
|
113
|
+
export class DeleteOrgRepoWebhooksWebhookIdNotFoundError extends MesaError {
|
|
114
|
+
error: operations.DeleteOrgRepoWebhooksWebhookIdNotFoundError;
|
|
115
|
+
|
|
116
|
+
/** The original data that was passed to this error instance. */
|
|
117
|
+
data$: DeleteOrgRepoWebhooksWebhookIdNotFoundErrorData;
|
|
118
|
+
|
|
119
|
+
constructor(
|
|
120
|
+
err: DeleteOrgRepoWebhooksWebhookIdNotFoundErrorData,
|
|
121
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
122
|
+
) {
|
|
123
|
+
const message = err.error?.message
|
|
124
|
+
|| `API error occurred: ${JSON.stringify(err)}`;
|
|
125
|
+
super(message, httpMeta);
|
|
126
|
+
this.data$ = err;
|
|
127
|
+
this.error = err.error;
|
|
128
|
+
|
|
129
|
+
this.name = "DeleteOrgRepoWebhooksWebhookIdNotFoundError";
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Forbidden
|
|
135
|
+
*/
|
|
136
|
+
export type DeleteOrgRepoWebhooksWebhookIdForbiddenErrorData = {
|
|
137
|
+
error: operations.DeleteOrgRepoWebhooksWebhookIdForbiddenError;
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Forbidden
|
|
142
|
+
*/
|
|
143
|
+
export class DeleteOrgRepoWebhooksWebhookIdForbiddenError extends MesaError {
|
|
144
|
+
error: operations.DeleteOrgRepoWebhooksWebhookIdForbiddenError;
|
|
145
|
+
|
|
146
|
+
/** The original data that was passed to this error instance. */
|
|
147
|
+
data$: DeleteOrgRepoWebhooksWebhookIdForbiddenErrorData;
|
|
148
|
+
|
|
149
|
+
constructor(
|
|
150
|
+
err: DeleteOrgRepoWebhooksWebhookIdForbiddenErrorData,
|
|
151
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
152
|
+
) {
|
|
153
|
+
const message = err.error?.message
|
|
154
|
+
|| `API error occurred: ${JSON.stringify(err)}`;
|
|
155
|
+
super(message, httpMeta);
|
|
156
|
+
this.data$ = err;
|
|
157
|
+
this.error = err.error;
|
|
158
|
+
|
|
159
|
+
this.name = "DeleteOrgRepoWebhooksWebhookIdForbiddenError";
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Unauthorized
|
|
165
|
+
*/
|
|
166
|
+
export type DeleteOrgRepoWebhooksWebhookIdUnauthorizedErrorData = {
|
|
167
|
+
error: operations.DeleteOrgRepoWebhooksWebhookIdUnauthorizedError;
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Unauthorized
|
|
172
|
+
*/
|
|
173
|
+
export class DeleteOrgRepoWebhooksWebhookIdUnauthorizedError extends MesaError {
|
|
174
|
+
error: operations.DeleteOrgRepoWebhooksWebhookIdUnauthorizedError;
|
|
175
|
+
|
|
176
|
+
/** The original data that was passed to this error instance. */
|
|
177
|
+
data$: DeleteOrgRepoWebhooksWebhookIdUnauthorizedErrorData;
|
|
178
|
+
|
|
179
|
+
constructor(
|
|
180
|
+
err: DeleteOrgRepoWebhooksWebhookIdUnauthorizedErrorData,
|
|
181
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
182
|
+
) {
|
|
183
|
+
const message = err.error?.message
|
|
184
|
+
|| `API error occurred: ${JSON.stringify(err)}`;
|
|
185
|
+
super(message, httpMeta);
|
|
186
|
+
this.data$ = err;
|
|
187
|
+
this.error = err.error;
|
|
188
|
+
|
|
189
|
+
this.name = "DeleteOrgRepoWebhooksWebhookIdUnauthorizedError";
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Invalid request
|
|
195
|
+
*/
|
|
196
|
+
export type DeleteOrgRepoWebhooksWebhookIdBadRequestErrorData = {
|
|
197
|
+
error: operations.DeleteOrgRepoWebhooksWebhookIdBadRequestError;
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Invalid request
|
|
202
|
+
*/
|
|
203
|
+
export class DeleteOrgRepoWebhooksWebhookIdBadRequestError extends MesaError {
|
|
204
|
+
error: operations.DeleteOrgRepoWebhooksWebhookIdBadRequestError;
|
|
205
|
+
|
|
206
|
+
/** The original data that was passed to this error instance. */
|
|
207
|
+
data$: DeleteOrgRepoWebhooksWebhookIdBadRequestErrorData;
|
|
208
|
+
|
|
209
|
+
constructor(
|
|
210
|
+
err: DeleteOrgRepoWebhooksWebhookIdBadRequestErrorData,
|
|
211
|
+
httpMeta: { response: Response; request: Request; body: string },
|
|
212
|
+
) {
|
|
213
|
+
const message = err.error?.message
|
|
214
|
+
|| `API error occurred: ${JSON.stringify(err)}`;
|
|
215
|
+
super(message, httpMeta);
|
|
216
|
+
this.data$ = err;
|
|
217
|
+
this.error = err.error;
|
|
218
|
+
|
|
219
|
+
this.name = "DeleteOrgRepoWebhooksWebhookIdBadRequestError";
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/** @internal */
|
|
224
|
+
export const DeleteOrgRepoWebhooksWebhookIdInternalServerError$inboundSchema:
|
|
225
|
+
z.ZodMiniType<DeleteOrgRepoWebhooksWebhookIdInternalServerError, unknown> = z
|
|
226
|
+
.pipe(
|
|
227
|
+
z.object({
|
|
228
|
+
error: z.lazy(() =>
|
|
229
|
+
operations
|
|
230
|
+
.DeleteOrgRepoWebhooksWebhookIdInternalServerErrorError$inboundSchema
|
|
231
|
+
),
|
|
232
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
233
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
234
|
+
body$: z.string(),
|
|
235
|
+
}),
|
|
236
|
+
z.transform((v) => {
|
|
237
|
+
return new DeleteOrgRepoWebhooksWebhookIdInternalServerError(v, {
|
|
238
|
+
request: v.request$,
|
|
239
|
+
response: v.response$,
|
|
240
|
+
body: v.body$,
|
|
241
|
+
});
|
|
242
|
+
}),
|
|
243
|
+
);
|
|
244
|
+
|
|
245
|
+
/** @internal */
|
|
246
|
+
export const DeleteOrgRepoWebhooksWebhookIdConflictError$inboundSchema:
|
|
247
|
+
z.ZodMiniType<DeleteOrgRepoWebhooksWebhookIdConflictError, unknown> = z.pipe(
|
|
248
|
+
z.object({
|
|
249
|
+
error: z.lazy(() =>
|
|
250
|
+
operations.DeleteOrgRepoWebhooksWebhookIdConflictError$inboundSchema
|
|
251
|
+
),
|
|
252
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
253
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
254
|
+
body$: z.string(),
|
|
255
|
+
}),
|
|
256
|
+
z.transform((v) => {
|
|
257
|
+
return new DeleteOrgRepoWebhooksWebhookIdConflictError(v, {
|
|
258
|
+
request: v.request$,
|
|
259
|
+
response: v.response$,
|
|
260
|
+
body: v.body$,
|
|
261
|
+
});
|
|
262
|
+
}),
|
|
263
|
+
);
|
|
264
|
+
|
|
265
|
+
/** @internal */
|
|
266
|
+
export const DeleteOrgRepoWebhooksWebhookIdNotAcceptableError$inboundSchema:
|
|
267
|
+
z.ZodMiniType<DeleteOrgRepoWebhooksWebhookIdNotAcceptableError, unknown> = z
|
|
268
|
+
.pipe(
|
|
269
|
+
z.object({
|
|
270
|
+
error: z.lazy(() =>
|
|
271
|
+
operations
|
|
272
|
+
.DeleteOrgRepoWebhooksWebhookIdNotAcceptableError$inboundSchema
|
|
273
|
+
),
|
|
274
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
275
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
276
|
+
body$: z.string(),
|
|
277
|
+
}),
|
|
278
|
+
z.transform((v) => {
|
|
279
|
+
return new DeleteOrgRepoWebhooksWebhookIdNotAcceptableError(v, {
|
|
280
|
+
request: v.request$,
|
|
281
|
+
response: v.response$,
|
|
282
|
+
body: v.body$,
|
|
283
|
+
});
|
|
284
|
+
}),
|
|
285
|
+
);
|
|
286
|
+
|
|
287
|
+
/** @internal */
|
|
288
|
+
export const DeleteOrgRepoWebhooksWebhookIdNotFoundError$inboundSchema:
|
|
289
|
+
z.ZodMiniType<DeleteOrgRepoWebhooksWebhookIdNotFoundError, unknown> = z.pipe(
|
|
290
|
+
z.object({
|
|
291
|
+
error: z.lazy(() =>
|
|
292
|
+
operations.DeleteOrgRepoWebhooksWebhookIdNotFoundError$inboundSchema
|
|
293
|
+
),
|
|
294
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
295
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
296
|
+
body$: z.string(),
|
|
297
|
+
}),
|
|
298
|
+
z.transform((v) => {
|
|
299
|
+
return new DeleteOrgRepoWebhooksWebhookIdNotFoundError(v, {
|
|
300
|
+
request: v.request$,
|
|
301
|
+
response: v.response$,
|
|
302
|
+
body: v.body$,
|
|
303
|
+
});
|
|
304
|
+
}),
|
|
305
|
+
);
|
|
306
|
+
|
|
307
|
+
/** @internal */
|
|
308
|
+
export const DeleteOrgRepoWebhooksWebhookIdForbiddenError$inboundSchema:
|
|
309
|
+
z.ZodMiniType<DeleteOrgRepoWebhooksWebhookIdForbiddenError, unknown> = z.pipe(
|
|
310
|
+
z.object({
|
|
311
|
+
error: z.lazy(() =>
|
|
312
|
+
operations.DeleteOrgRepoWebhooksWebhookIdForbiddenError$inboundSchema
|
|
313
|
+
),
|
|
314
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
315
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
316
|
+
body$: z.string(),
|
|
317
|
+
}),
|
|
318
|
+
z.transform((v) => {
|
|
319
|
+
return new DeleteOrgRepoWebhooksWebhookIdForbiddenError(v, {
|
|
320
|
+
request: v.request$,
|
|
321
|
+
response: v.response$,
|
|
322
|
+
body: v.body$,
|
|
323
|
+
});
|
|
324
|
+
}),
|
|
325
|
+
);
|
|
326
|
+
|
|
327
|
+
/** @internal */
|
|
328
|
+
export const DeleteOrgRepoWebhooksWebhookIdUnauthorizedError$inboundSchema:
|
|
329
|
+
z.ZodMiniType<DeleteOrgRepoWebhooksWebhookIdUnauthorizedError, unknown> = z
|
|
330
|
+
.pipe(
|
|
331
|
+
z.object({
|
|
332
|
+
error: z.lazy(() =>
|
|
333
|
+
operations
|
|
334
|
+
.DeleteOrgRepoWebhooksWebhookIdUnauthorizedError$inboundSchema
|
|
335
|
+
),
|
|
336
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
337
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
338
|
+
body$: z.string(),
|
|
339
|
+
}),
|
|
340
|
+
z.transform((v) => {
|
|
341
|
+
return new DeleteOrgRepoWebhooksWebhookIdUnauthorizedError(v, {
|
|
342
|
+
request: v.request$,
|
|
343
|
+
response: v.response$,
|
|
344
|
+
body: v.body$,
|
|
345
|
+
});
|
|
346
|
+
}),
|
|
347
|
+
);
|
|
348
|
+
|
|
349
|
+
/** @internal */
|
|
350
|
+
export const DeleteOrgRepoWebhooksWebhookIdBadRequestError$inboundSchema:
|
|
351
|
+
z.ZodMiniType<DeleteOrgRepoWebhooksWebhookIdBadRequestError, unknown> = z
|
|
352
|
+
.pipe(
|
|
353
|
+
z.object({
|
|
354
|
+
error: z.lazy(() =>
|
|
355
|
+
operations.DeleteOrgRepoWebhooksWebhookIdBadRequestError$inboundSchema
|
|
356
|
+
),
|
|
357
|
+
request$: z.custom<Request>(x => x instanceof Request),
|
|
358
|
+
response$: z.custom<Response>(x => x instanceof Response),
|
|
359
|
+
body$: z.string(),
|
|
360
|
+
}),
|
|
361
|
+
z.transform((v) => {
|
|
362
|
+
return new DeleteOrgRepoWebhooksWebhookIdBadRequestError(v, {
|
|
363
|
+
request: v.request$,
|
|
364
|
+
response: v.response$,
|
|
365
|
+
body: v.body$,
|
|
366
|
+
});
|
|
367
|
+
}),
|
|
368
|
+
);
|