@vercel/sdk 1.17.7 → 1.18.0
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/bin/mcp-server.js +1735 -4032
- package/bin/mcp-server.js.map +47 -47
- package/esm/__tests__/checks.test.js +1 -1
- package/esm/__tests__/checks.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +3 -4
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/edgeconfig.test.js +6 -6
- package/esm/__tests__/edgeconfig.test.js.map +1 -1
- package/esm/__tests__/rollingrelease.test.js +2 -1
- package/esm/__tests__/rollingrelease.test.js.map +1 -1
- package/esm/__tests__/security.test.js +1 -11
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/encodings.d.ts +1 -0
- package/esm/lib/encodings.d.ts.map +1 -1
- package/esm/lib/encodings.js +12 -1
- package/esm/lib/encodings.js.map +1 -1
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.js +1 -1
- package/esm/models/authtoken.d.ts +8 -24
- package/esm/models/authtoken.d.ts.map +1 -1
- package/esm/models/authtoken.js +8 -23
- package/esm/models/authtoken.js.map +1 -1
- package/esm/models/buydomainsop.d.ts +6 -2
- package/esm/models/buydomainsop.d.ts.map +1 -1
- package/esm/models/buydomainsop.js +8 -2
- package/esm/models/buydomainsop.js.map +1 -1
- package/esm/models/buysingledomainop.d.ts +6 -2
- package/esm/models/buysingledomainop.d.ts.map +1 -1
- package/esm/models/buysingledomainop.js +8 -2
- package/esm/models/buysingledomainop.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +70 -62
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +38 -58
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +70 -62
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +38 -59
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createdrainop.d.ts +72 -248
- package/esm/models/createdrainop.d.ts.map +1 -1
- package/esm/models/createdrainop.js +72 -229
- package/esm/models/createdrainop.js.map +1 -1
- package/esm/models/createedgeconfigop.d.ts +4 -21
- package/esm/models/createedgeconfigop.d.ts.map +1 -1
- package/esm/models/createedgeconfigop.js +4 -19
- package/esm/models/createedgeconfigop.js.map +1 -1
- package/esm/models/createeventop.d.ts +8 -25
- package/esm/models/createeventop.d.ts.map +1 -1
- package/esm/models/createeventop.js +8 -23
- package/esm/models/createeventop.js.map +1 -1
- package/esm/models/createlogdrainop.d.ts +8 -24
- package/esm/models/createlogdrainop.d.ts.map +1 -1
- package/esm/models/createlogdrainop.js +8 -22
- package/esm/models/createlogdrainop.js.map +1 -1
- package/esm/models/createprojectenvop.d.ts +68 -308
- package/esm/models/createprojectenvop.d.ts.map +1 -1
- package/esm/models/createprojectenvop.js +68 -281
- package/esm/models/createprojectenvop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +76 -332
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +84 -316
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/editprojectenvop.d.ts +34 -154
- package/esm/models/editprojectenvop.d.ts.map +1 -1
- package/esm/models/editprojectenvop.js +34 -141
- package/esm/models/editprojectenvop.js.map +1 -1
- package/esm/models/filterprojectenvsop.d.ts +102 -462
- package/esm/models/filterprojectenvsop.d.ts.map +1 -1
- package/esm/models/filterprojectenvsop.js +102 -419
- package/esm/models/filterprojectenvsop.js.map +1 -1
- package/esm/models/forbidden.d.ts +3 -12
- package/esm/models/forbidden.d.ts.map +1 -1
- package/esm/models/forbidden.js +2 -9
- package/esm/models/forbidden.js.map +1 -1
- package/esm/models/getaliasop.d.ts +12 -44
- package/esm/models/getaliasop.d.ts.map +1 -1
- package/esm/models/getaliasop.js +16 -46
- package/esm/models/getaliasop.js.map +1 -1
- package/esm/models/getalllogdrainsop.d.ts +72 -248
- package/esm/models/getalllogdrainsop.d.ts.map +1 -1
- package/esm/models/getalllogdrainsop.js +72 -236
- package/esm/models/getalllogdrainsop.js.map +1 -1
- package/esm/models/getconfigurationop.d.ts +4 -20
- package/esm/models/getconfigurationop.d.ts.map +1 -1
- package/esm/models/getconfigurationop.js +4 -18
- package/esm/models/getconfigurationop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +70 -62
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +38 -58
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdomainauthcodeop.d.ts +6 -2
- package/esm/models/getdomainauthcodeop.d.ts.map +1 -1
- package/esm/models/getdomainauthcodeop.js +8 -2
- package/esm/models/getdomainauthcodeop.js.map +1 -1
- package/esm/models/getdomaintransferinop.d.ts +6 -2
- package/esm/models/getdomaintransferinop.d.ts.map +1 -1
- package/esm/models/getdomaintransferinop.js +8 -2
- package/esm/models/getdomaintransferinop.js.map +1 -1
- package/esm/models/getdrainop.d.ts +72 -248
- package/esm/models/getdrainop.d.ts.map +1 -1
- package/esm/models/getdrainop.js +72 -227
- package/esm/models/getdrainop.js.map +1 -1
- package/esm/models/getdrainsop.d.ts +72 -248
- package/esm/models/getdrainsop.d.ts.map +1 -1
- package/esm/models/getdrainsop.js +72 -227
- package/esm/models/getdrainsop.js.map +1 -1
- package/esm/models/getedgeconfigop.d.ts +4 -21
- package/esm/models/getedgeconfigop.d.ts.map +1 -1
- package/esm/models/getedgeconfigop.js +4 -18
- package/esm/models/getedgeconfigop.js.map +1 -1
- package/esm/models/getintegrationlogdrainsop.d.ts +8 -24
- package/esm/models/getintegrationlogdrainsop.d.ts.map +1 -1
- package/esm/models/getintegrationlogdrainsop.js +8 -23
- package/esm/models/getintegrationlogdrainsop.js.map +1 -1
- package/esm/models/getorderop.d.ts +48 -172
- package/esm/models/getorderop.d.ts.map +1 -1
- package/esm/models/getorderop.js +50 -159
- package/esm/models/getorderop.js.map +1 -1
- package/esm/models/getprojectenvop.d.ts +102 -462
- package/esm/models/getprojectenvop.d.ts.map +1 -1
- package/esm/models/getprojectenvop.js +102 -419
- package/esm/models/getprojectenvop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +76 -332
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +84 -313
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/getrollingreleasebillingstatusop.d.ts +10 -42
- package/esm/models/getrollingreleasebillingstatusop.d.ts.map +1 -1
- package/esm/models/getrollingreleasebillingstatusop.js +10 -39
- package/esm/models/getrollingreleasebillingstatusop.js.map +1 -1
- package/esm/models/listaliasesop.d.ts +12 -44
- package/esm/models/listaliasesop.d.ts.map +1 -1
- package/esm/models/listaliasesop.js +16 -47
- package/esm/models/listaliasesop.js.map +1 -1
- package/esm/models/listdeploymentaliasesop.d.ts +12 -44
- package/esm/models/listdeploymentaliasesop.d.ts.map +1 -1
- package/esm/models/listdeploymentaliasesop.js +16 -46
- package/esm/models/listdeploymentaliasesop.js.map +1 -1
- package/esm/models/removeprojectenvop.d.ts +102 -462
- package/esm/models/removeprojectenvop.d.ts.map +1 -1
- package/esm/models/removeprojectenvop.js +102 -420
- package/esm/models/removeprojectenvop.js.map +1 -1
- package/esm/models/renewdomainop.d.ts +6 -2
- package/esm/models/renewdomainop.d.ts.map +1 -1
- package/esm/models/renewdomainop.js +8 -2
- package/esm/models/renewdomainop.js.map +1 -1
- package/esm/models/transferindomainop.d.ts +6 -2
- package/esm/models/transferindomainop.d.ts.map +1 -1
- package/esm/models/transferindomainop.js +8 -2
- package/esm/models/transferindomainop.js.map +1 -1
- package/esm/models/updatedomainautorenewop.d.ts +6 -2
- package/esm/models/updatedomainautorenewop.d.ts.map +1 -1
- package/esm/models/updatedomainautorenewop.js +8 -2
- package/esm/models/updatedomainautorenewop.js.map +1 -1
- package/esm/models/updatedomainnameserversop.d.ts +6 -2
- package/esm/models/updatedomainnameserversop.d.ts.map +1 -1
- package/esm/models/updatedomainnameserversop.js +8 -2
- package/esm/models/updatedomainnameserversop.js.map +1 -1
- package/esm/models/updatedrainop.d.ts +72 -248
- package/esm/models/updatedrainop.d.ts.map +1 -1
- package/esm/models/updatedrainop.js +72 -229
- package/esm/models/updatedrainop.js.map +1 -1
- package/esm/models/updateedgeconfigop.d.ts +4 -21
- package/esm/models/updateedgeconfigop.d.ts.map +1 -1
- package/esm/models/updateedgeconfigop.js +4 -18
- package/esm/models/updateedgeconfigop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +76 -332
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +84 -318
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +76 -332
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +84 -316
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/updateprojectprotectionbypassop.d.ts +4 -21
- package/esm/models/updateprojectprotectionbypassop.d.ts.map +1 -1
- package/esm/models/updateprojectprotectionbypassop.js +4 -19
- package/esm/models/updateprojectprotectionbypassop.js.map +1 -1
- package/esm/models/userevent.d.ts +54 -14
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +26 -13
- package/esm/models/userevent.js.map +1 -1
- package/esm/types/unrecognized.d.ts +7 -1
- package/esm/types/unrecognized.d.ts.map +1 -1
- package/esm/types/unrecognized.js +9 -1
- package/esm/types/unrecognized.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/checks.test.ts +1 -1
- package/src/__tests__/domains.test.ts +3 -4
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/rollingrelease.test.ts +2 -1
- package/src/__tests__/security.test.ts +1 -11
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +17 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/authtoken.ts +16 -42
- package/src/models/buydomainsop.ts +14 -4
- package/src/models/buysingledomainop.ts +14 -4
- package/src/models/canceldeploymentop.ts +140 -127
- package/src/models/createdeploymentop.ts +149 -118
- package/src/models/createdrainop.ts +154 -511
- package/src/models/createedgeconfigop.ts +8 -37
- package/src/models/createeventop.ts +16 -43
- package/src/models/createlogdrainop.ts +18 -50
- package/src/models/createprojectenvop.ts +136 -875
- package/src/models/createprojectop.ts +172 -803
- package/src/models/editprojectenvop.ts +68 -417
- package/src/models/filterprojectenvsop.ts +210 -1337
- package/src/models/forbidden.ts +5 -20
- package/src/models/getaliasop.ts +36 -101
- package/src/models/getalllogdrainsop.ts +160 -551
- package/src/models/getconfigurationop.ts +8 -38
- package/src/models/getdeploymentop.ts +144 -124
- package/src/models/getdomainauthcodeop.ts +14 -4
- package/src/models/getdomaintransferinop.ts +14 -4
- package/src/models/getdrainop.ts +156 -531
- package/src/models/getdrainsop.ts +155 -535
- package/src/models/getedgeconfigop.ts +8 -41
- package/src/models/getintegrationlogdrainsop.ts +19 -44
- package/src/models/getorderop.ts +99 -408
- package/src/models/getprojectenvop.ts +208 -1337
- package/src/models/getprojectsop.ts +172 -802
- package/src/models/getrollingreleasebillingstatusop.ts +20 -100
- package/src/models/listaliasesop.ts +36 -100
- package/src/models/listdeploymentaliasesop.ts +36 -111
- package/src/models/removeprojectenvop.ts +208 -1335
- package/src/models/renewdomainop.ts +14 -4
- package/src/models/transferindomainop.ts +14 -4
- package/src/models/updatedomainautorenewop.ts +14 -4
- package/src/models/updatedomainnameserversop.ts +14 -4
- package/src/models/updatedrainop.ts +162 -542
- package/src/models/updateedgeconfigop.ts +8 -42
- package/src/models/updateprojectdatacacheop.ts +167 -781
- package/src/models/updateprojectop.ts +172 -803
- package/src/models/updateprojectprotectionbypassop.ts +8 -44
- package/src/models/userevent.ts +111 -29
- package/src/types/unrecognized.ts +9 -1
- package/tsconfig.json +0 -1
|
@@ -207,15 +207,6 @@ export type CreateDrainResponseBodySchemas = {
|
|
|
207
207
|
speedInsights?: CreateDrainResponseBodyDrainsSpeedInsights | undefined;
|
|
208
208
|
};
|
|
209
209
|
|
|
210
|
-
export const CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type =
|
|
211
|
-
{
|
|
212
|
-
Internal: "internal",
|
|
213
|
-
} as const;
|
|
214
|
-
export type CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type =
|
|
215
|
-
ClosedEnum<
|
|
216
|
-
typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type
|
|
217
|
-
>;
|
|
218
|
-
|
|
219
210
|
export const CreateDrainDeliveryTarget = {
|
|
220
211
|
VercelOtelTracesDb: "vercel-otel-traces-db",
|
|
221
212
|
} as const;
|
|
@@ -224,31 +215,16 @@ export type CreateDrainDeliveryTarget = ClosedEnum<
|
|
|
224
215
|
>;
|
|
225
216
|
|
|
226
217
|
export type CreateDrainDelivery4 = {
|
|
227
|
-
type:
|
|
218
|
+
type: "internal";
|
|
228
219
|
target: CreateDrainDeliveryTarget;
|
|
229
220
|
};
|
|
230
221
|
|
|
231
|
-
export const CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType =
|
|
232
|
-
{
|
|
233
|
-
Clickhouse: "clickhouse",
|
|
234
|
-
} as const;
|
|
235
|
-
export type CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType =
|
|
236
|
-
ClosedEnum<
|
|
237
|
-
typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType
|
|
238
|
-
>;
|
|
239
|
-
|
|
240
222
|
export type CreateDrainDelivery3 = {
|
|
241
|
-
type:
|
|
223
|
+
type: "clickhouse";
|
|
242
224
|
endpoint: string;
|
|
243
225
|
table: string;
|
|
244
226
|
};
|
|
245
227
|
|
|
246
|
-
export const CreateDrainDeliveryDrainsResponse200ApplicationJSONType = {
|
|
247
|
-
Otlphttp: "otlphttp",
|
|
248
|
-
} as const;
|
|
249
|
-
export type CreateDrainDeliveryDrainsResponse200ApplicationJSONType =
|
|
250
|
-
ClosedEnum<typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONType>;
|
|
251
|
-
|
|
252
228
|
export type CreateDrainDeliveryEndpoint = {
|
|
253
229
|
traces: string;
|
|
254
230
|
};
|
|
@@ -278,20 +254,13 @@ export type CreateDrainDeliveryDrainsSecret =
|
|
|
278
254
|
| string;
|
|
279
255
|
|
|
280
256
|
export type CreateDrainDeliveryDrains2 = {
|
|
281
|
-
type:
|
|
257
|
+
type: "otlphttp";
|
|
282
258
|
endpoint: CreateDrainDeliveryEndpoint;
|
|
283
259
|
encoding: CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding;
|
|
284
260
|
headers: { [k: string]: string };
|
|
285
261
|
secret?: CreateDrainSecretDrainsResponse2 | string | undefined;
|
|
286
262
|
};
|
|
287
263
|
|
|
288
|
-
export const CreateDrainDeliveryDrainsResponse200Type = {
|
|
289
|
-
Http: "http",
|
|
290
|
-
} as const;
|
|
291
|
-
export type CreateDrainDeliveryDrainsResponse200Type = ClosedEnum<
|
|
292
|
-
typeof CreateDrainDeliveryDrainsResponse200Type
|
|
293
|
-
>;
|
|
294
|
-
|
|
295
264
|
export const CreateDrainDeliveryDrainsResponse200Encoding = {
|
|
296
265
|
Json: "json",
|
|
297
266
|
Ndjson: "ndjson",
|
|
@@ -322,7 +291,7 @@ export type CreateDrainSecretDrains2 = {
|
|
|
322
291
|
export type CreateDrainDeliverySecret = CreateDrainSecretDrains2 | string;
|
|
323
292
|
|
|
324
293
|
export type CreateDrainDeliveryDrains1 = {
|
|
325
|
-
type:
|
|
294
|
+
type: "http";
|
|
326
295
|
endpoint: string;
|
|
327
296
|
encoding: CreateDrainDeliveryDrainsResponse200Encoding;
|
|
328
297
|
compression?: CreateDrainDeliveryCompression | undefined;
|
|
@@ -377,60 +346,27 @@ export type ResponseBodyDisabledReason = ClosedEnum<
|
|
|
377
346
|
typeof ResponseBodyDisabledReason
|
|
378
347
|
>;
|
|
379
348
|
|
|
380
|
-
export const CreateDrainSourceDrainsKind = {
|
|
381
|
-
Integration: "integration",
|
|
382
|
-
} as const;
|
|
383
|
-
export type CreateDrainSourceDrainsKind = ClosedEnum<
|
|
384
|
-
typeof CreateDrainSourceDrainsKind
|
|
385
|
-
>;
|
|
386
|
-
|
|
387
349
|
export type CreateDrainSourceDrains2 = {
|
|
388
|
-
kind:
|
|
350
|
+
kind: "integration";
|
|
389
351
|
resourceId?: string | undefined;
|
|
390
352
|
externalResourceId?: string | undefined;
|
|
391
353
|
integrationId: string;
|
|
392
354
|
integrationConfigurationId: string;
|
|
393
355
|
};
|
|
394
356
|
|
|
395
|
-
export const CreateDrainSourceKind = {
|
|
396
|
-
SelfServed: "self-served",
|
|
397
|
-
} as const;
|
|
398
|
-
export type CreateDrainSourceKind = ClosedEnum<typeof CreateDrainSourceKind>;
|
|
399
|
-
|
|
400
357
|
export type CreateDrainSourceDrains1 = {
|
|
401
|
-
kind:
|
|
358
|
+
kind: "self-served";
|
|
402
359
|
};
|
|
403
360
|
|
|
404
361
|
export type CreateDrainResponseBodyDrainsSource =
|
|
405
|
-
|
|
|
406
|
-
|
|
|
407
|
-
|
|
408
|
-
export const CreateDrainFilterV2DrainsVersion = {
|
|
409
|
-
V2: "v2",
|
|
410
|
-
} as const;
|
|
411
|
-
export type CreateDrainFilterV2DrainsVersion = ClosedEnum<
|
|
412
|
-
typeof CreateDrainFilterV2DrainsVersion
|
|
413
|
-
>;
|
|
414
|
-
|
|
415
|
-
export const CreateDrainFilterDrainsResponseType = {
|
|
416
|
-
Odata: "odata",
|
|
417
|
-
} as const;
|
|
418
|
-
export type CreateDrainFilterDrainsResponseType = ClosedEnum<
|
|
419
|
-
typeof CreateDrainFilterDrainsResponseType
|
|
420
|
-
>;
|
|
362
|
+
| CreateDrainSourceDrains1
|
|
363
|
+
| CreateDrainSourceDrains2;
|
|
421
364
|
|
|
422
365
|
export type CreateDrainFilterDrainsResponse2 = {
|
|
423
|
-
type:
|
|
366
|
+
type: "odata";
|
|
424
367
|
text: string;
|
|
425
368
|
};
|
|
426
369
|
|
|
427
|
-
export const CreateDrainFilterDrainsType = {
|
|
428
|
-
Basic: "basic",
|
|
429
|
-
} as const;
|
|
430
|
-
export type CreateDrainFilterDrainsType = ClosedEnum<
|
|
431
|
-
typeof CreateDrainFilterDrainsType
|
|
432
|
-
>;
|
|
433
|
-
|
|
434
370
|
export type CreateDrainFilterDrainsResponseProject = {
|
|
435
371
|
ids?: Array<string> | undefined;
|
|
436
372
|
};
|
|
@@ -466,56 +402,37 @@ export type CreateDrainFilterDrainsResponseDeployment = {
|
|
|
466
402
|
};
|
|
467
403
|
|
|
468
404
|
export type CreateDrainFilterDrains1 = {
|
|
469
|
-
type:
|
|
405
|
+
type: "basic";
|
|
470
406
|
project?: CreateDrainFilterDrainsResponseProject | undefined;
|
|
471
407
|
log?: CreateDrainFilterLog | undefined;
|
|
472
408
|
deployment?: CreateDrainFilterDrainsResponseDeployment | undefined;
|
|
473
409
|
};
|
|
474
410
|
|
|
475
411
|
export type CreateDrainFilterV2Filter =
|
|
476
|
-
|
|
|
477
|
-
|
|
|
412
|
+
| CreateDrainFilterDrains1
|
|
413
|
+
| CreateDrainFilterDrainsResponse2;
|
|
478
414
|
|
|
479
415
|
export type CreateDrainFilterV22 = {
|
|
480
|
-
version:
|
|
481
|
-
filter:
|
|
416
|
+
version: "v2";
|
|
417
|
+
filter: CreateDrainFilterDrains1 | CreateDrainFilterDrainsResponse2;
|
|
482
418
|
};
|
|
483
419
|
|
|
484
|
-
export const CreateDrainFilterV2Version = {
|
|
485
|
-
V1: "v1",
|
|
486
|
-
} as const;
|
|
487
|
-
export type CreateDrainFilterV2Version = ClosedEnum<
|
|
488
|
-
typeof CreateDrainFilterV2Version
|
|
489
|
-
>;
|
|
490
|
-
|
|
491
420
|
export type CreateDrainFilterV21 = {
|
|
492
|
-
version:
|
|
421
|
+
version: "v1";
|
|
493
422
|
};
|
|
494
423
|
|
|
495
|
-
export type ResponseBodyFilterV2 =
|
|
496
|
-
|
|
497
|
-
export const ProjectAccessAccess = {
|
|
498
|
-
Some: "some",
|
|
499
|
-
} as const;
|
|
500
|
-
export type ProjectAccessAccess = ClosedEnum<typeof ProjectAccessAccess>;
|
|
424
|
+
export type ResponseBodyFilterV2 = CreateDrainFilterV21 | CreateDrainFilterV22;
|
|
501
425
|
|
|
502
426
|
export type ProjectAccess2 = {
|
|
503
|
-
access:
|
|
427
|
+
access: "some";
|
|
504
428
|
projectIds: Array<string>;
|
|
505
429
|
};
|
|
506
430
|
|
|
507
|
-
export const CreateDrainProjectAccessAccess = {
|
|
508
|
-
All: "all",
|
|
509
|
-
} as const;
|
|
510
|
-
export type CreateDrainProjectAccessAccess = ClosedEnum<
|
|
511
|
-
typeof CreateDrainProjectAccessAccess
|
|
512
|
-
>;
|
|
513
|
-
|
|
514
431
|
export type ProjectAccess1 = {
|
|
515
|
-
access:
|
|
432
|
+
access: "all";
|
|
516
433
|
};
|
|
517
434
|
|
|
518
|
-
export type ProjectAccess =
|
|
435
|
+
export type ProjectAccess = ProjectAccess1 | ProjectAccess2;
|
|
519
436
|
|
|
520
437
|
export type CreateDrainResponseBody2 = {
|
|
521
438
|
id: string;
|
|
@@ -538,13 +455,13 @@ export type CreateDrainResponseBody2 = {
|
|
|
538
455
|
disabledReason?: ResponseBodyDisabledReason | undefined;
|
|
539
456
|
disabledBy?: string | undefined;
|
|
540
457
|
firstErrorTimestamp?: number | undefined;
|
|
541
|
-
source:
|
|
458
|
+
source: CreateDrainSourceDrains1 | CreateDrainSourceDrains2;
|
|
542
459
|
filter?: string | undefined;
|
|
543
|
-
filterV2?:
|
|
460
|
+
filterV2?: CreateDrainFilterV21 | CreateDrainFilterV22 | undefined;
|
|
544
461
|
integrationIcon?: string | undefined;
|
|
545
462
|
integrationConfigurationUri?: string | undefined;
|
|
546
463
|
integrationWebsite?: string | undefined;
|
|
547
|
-
projectAccess?:
|
|
464
|
+
projectAccess?: ProjectAccess1 | ProjectAccess2 | undefined;
|
|
548
465
|
};
|
|
549
466
|
|
|
550
467
|
export type ResponseBodyLog = {};
|
|
@@ -562,43 +479,22 @@ export type ResponseBodySchemas = {
|
|
|
562
479
|
speedInsights?: CreateDrainResponseBodySpeedInsights | undefined;
|
|
563
480
|
};
|
|
564
481
|
|
|
565
|
-
export const CreateDrainDeliveryDrainsResponseType = {
|
|
566
|
-
Internal: "internal",
|
|
567
|
-
} as const;
|
|
568
|
-
export type CreateDrainDeliveryDrainsResponseType = ClosedEnum<
|
|
569
|
-
typeof CreateDrainDeliveryDrainsResponseType
|
|
570
|
-
>;
|
|
571
|
-
|
|
572
482
|
export const DeliveryTarget = {
|
|
573
483
|
VercelOtelTracesDb: "vercel-otel-traces-db",
|
|
574
484
|
} as const;
|
|
575
485
|
export type DeliveryTarget = ClosedEnum<typeof DeliveryTarget>;
|
|
576
486
|
|
|
577
487
|
export type Delivery4 = {
|
|
578
|
-
type:
|
|
488
|
+
type: "internal";
|
|
579
489
|
target: DeliveryTarget;
|
|
580
490
|
};
|
|
581
491
|
|
|
582
|
-
export const CreateDrainDeliveryDrainsType = {
|
|
583
|
-
Clickhouse: "clickhouse",
|
|
584
|
-
} as const;
|
|
585
|
-
export type CreateDrainDeliveryDrainsType = ClosedEnum<
|
|
586
|
-
typeof CreateDrainDeliveryDrainsType
|
|
587
|
-
>;
|
|
588
|
-
|
|
589
492
|
export type Delivery3 = {
|
|
590
|
-
type:
|
|
493
|
+
type: "clickhouse";
|
|
591
494
|
endpoint: string;
|
|
592
495
|
table: string;
|
|
593
496
|
};
|
|
594
497
|
|
|
595
|
-
export const CreateDrainDeliveryType = {
|
|
596
|
-
Otlphttp: "otlphttp",
|
|
597
|
-
} as const;
|
|
598
|
-
export type CreateDrainDeliveryType = ClosedEnum<
|
|
599
|
-
typeof CreateDrainDeliveryType
|
|
600
|
-
>;
|
|
601
|
-
|
|
602
498
|
export type CreateDrainDeliveryDrainsEndpoint = {
|
|
603
499
|
traces: string;
|
|
604
500
|
};
|
|
@@ -623,18 +519,13 @@ export type CreateDrainSecret2 = {
|
|
|
623
519
|
export type DeliverySecret = CreateDrainSecret2 | string;
|
|
624
520
|
|
|
625
521
|
export type CreateDrainDelivery2 = {
|
|
626
|
-
type:
|
|
522
|
+
type: "otlphttp";
|
|
627
523
|
endpoint: CreateDrainDeliveryDrainsEndpoint;
|
|
628
524
|
encoding: CreateDrainDeliveryDrainsResponseEncoding;
|
|
629
525
|
headers: { [k: string]: string };
|
|
630
526
|
secret?: CreateDrainSecret2 | string | undefined;
|
|
631
527
|
};
|
|
632
528
|
|
|
633
|
-
export const DeliveryType = {
|
|
634
|
-
Http: "http",
|
|
635
|
-
} as const;
|
|
636
|
-
export type DeliveryType = ClosedEnum<typeof DeliveryType>;
|
|
637
|
-
|
|
638
529
|
export const CreateDrainDeliveryDrainsEncoding = {
|
|
639
530
|
Json: "json",
|
|
640
531
|
Ndjson: "ndjson",
|
|
@@ -663,7 +554,7 @@ export type Secret2 = {
|
|
|
663
554
|
export type Secret = Secret2 | string;
|
|
664
555
|
|
|
665
556
|
export type CreateDrainDelivery1 = {
|
|
666
|
-
type:
|
|
557
|
+
type: "http";
|
|
667
558
|
endpoint: string;
|
|
668
559
|
encoding: CreateDrainDeliveryDrainsEncoding;
|
|
669
560
|
compression?: CreateDrainDeliveryDrainsCompression | undefined;
|
|
@@ -714,56 +605,27 @@ export const DisabledReason = {
|
|
|
714
605
|
} as const;
|
|
715
606
|
export type DisabledReason = ClosedEnum<typeof DisabledReason>;
|
|
716
607
|
|
|
717
|
-
export const CreateDrainSourceDrainsResponse200Kind = {
|
|
718
|
-
Integration: "integration",
|
|
719
|
-
} as const;
|
|
720
|
-
export type CreateDrainSourceDrainsResponse200Kind = ClosedEnum<
|
|
721
|
-
typeof CreateDrainSourceDrainsResponse200Kind
|
|
722
|
-
>;
|
|
723
|
-
|
|
724
608
|
export type CreateDrainSource2 = {
|
|
725
|
-
kind:
|
|
609
|
+
kind: "integration";
|
|
726
610
|
resourceId?: string | undefined;
|
|
727
611
|
externalResourceId?: string | undefined;
|
|
728
612
|
integrationId: string;
|
|
729
613
|
integrationConfigurationId: string;
|
|
730
614
|
};
|
|
731
615
|
|
|
732
|
-
export const CreateDrainSourceDrainsResponseKind = {
|
|
733
|
-
SelfServed: "self-served",
|
|
734
|
-
} as const;
|
|
735
|
-
export type CreateDrainSourceDrainsResponseKind = ClosedEnum<
|
|
736
|
-
typeof CreateDrainSourceDrainsResponseKind
|
|
737
|
-
>;
|
|
738
|
-
|
|
739
616
|
export type CreateDrainSource1 = {
|
|
740
|
-
kind:
|
|
617
|
+
kind: "self-served";
|
|
741
618
|
};
|
|
742
619
|
|
|
743
620
|
export type CreateDrainResponseBodySource =
|
|
744
|
-
|
|
|
745
|
-
|
|
|
746
|
-
|
|
747
|
-
export const FilterV2Version = {
|
|
748
|
-
V2: "v2",
|
|
749
|
-
} as const;
|
|
750
|
-
export type FilterV2Version = ClosedEnum<typeof FilterV2Version>;
|
|
751
|
-
|
|
752
|
-
export const CreateDrainFilterType = {
|
|
753
|
-
Odata: "odata",
|
|
754
|
-
} as const;
|
|
755
|
-
export type CreateDrainFilterType = ClosedEnum<typeof CreateDrainFilterType>;
|
|
621
|
+
| CreateDrainSource1
|
|
622
|
+
| CreateDrainSource2;
|
|
756
623
|
|
|
757
624
|
export type CreateDrainFilterDrains2 = {
|
|
758
|
-
type:
|
|
625
|
+
type: "odata";
|
|
759
626
|
text: string;
|
|
760
627
|
};
|
|
761
628
|
|
|
762
|
-
export const FilterType = {
|
|
763
|
-
Basic: "basic",
|
|
764
|
-
} as const;
|
|
765
|
-
export type FilterType = ClosedEnum<typeof FilterType>;
|
|
766
|
-
|
|
767
629
|
export type CreateDrainFilterDrainsProject = {
|
|
768
630
|
ids?: Array<string> | undefined;
|
|
769
631
|
};
|
|
@@ -799,31 +661,24 @@ export type CreateDrainFilterDrainsDeployment = {
|
|
|
799
661
|
};
|
|
800
662
|
|
|
801
663
|
export type CreateDrainFilter1 = {
|
|
802
|
-
type:
|
|
664
|
+
type: "basic";
|
|
803
665
|
project?: CreateDrainFilterDrainsProject | undefined;
|
|
804
666
|
log?: CreateDrainFilterDrainsLog | undefined;
|
|
805
667
|
deployment?: CreateDrainFilterDrainsDeployment | undefined;
|
|
806
668
|
};
|
|
807
669
|
|
|
808
|
-
export type FilterV2Filter =
|
|
670
|
+
export type FilterV2Filter = CreateDrainFilter1 | CreateDrainFilterDrains2;
|
|
809
671
|
|
|
810
672
|
export type FilterV22 = {
|
|
811
|
-
version:
|
|
812
|
-
filter:
|
|
673
|
+
version: "v2";
|
|
674
|
+
filter: CreateDrainFilter1 | CreateDrainFilterDrains2;
|
|
813
675
|
};
|
|
814
676
|
|
|
815
|
-
export const CreateDrainFilterV2DrainsResponseVersion = {
|
|
816
|
-
V1: "v1",
|
|
817
|
-
} as const;
|
|
818
|
-
export type CreateDrainFilterV2DrainsResponseVersion = ClosedEnum<
|
|
819
|
-
typeof CreateDrainFilterV2DrainsResponseVersion
|
|
820
|
-
>;
|
|
821
|
-
|
|
822
677
|
export type FilterV21 = {
|
|
823
|
-
version:
|
|
678
|
+
version: "v1";
|
|
824
679
|
};
|
|
825
680
|
|
|
826
|
-
export type FilterV2 =
|
|
681
|
+
export type FilterV2 = FilterV21 | FilterV22;
|
|
827
682
|
|
|
828
683
|
export type CreateDrainResponseBody1 = {
|
|
829
684
|
id: string;
|
|
@@ -846,9 +701,9 @@ export type CreateDrainResponseBody1 = {
|
|
|
846
701
|
disabledReason?: DisabledReason | undefined;
|
|
847
702
|
disabledBy?: string | undefined;
|
|
848
703
|
firstErrorTimestamp?: number | undefined;
|
|
849
|
-
source:
|
|
704
|
+
source: CreateDrainSource1 | CreateDrainSource2;
|
|
850
705
|
filter?: string | undefined;
|
|
851
|
-
filterV2?:
|
|
706
|
+
filterV2?: FilterV21 | FilterV22 | undefined;
|
|
852
707
|
};
|
|
853
708
|
|
|
854
709
|
export type CreateDrainResponseBody =
|
|
@@ -2078,20 +1933,6 @@ export function createDrainResponseBodySchemasFromJSON(
|
|
|
2078
1933
|
);
|
|
2079
1934
|
}
|
|
2080
1935
|
|
|
2081
|
-
/** @internal */
|
|
2082
|
-
export const CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$inboundSchema:
|
|
2083
|
-
z.ZodNativeEnum<
|
|
2084
|
-
typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type
|
|
2085
|
-
> = z.nativeEnum(
|
|
2086
|
-
CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type,
|
|
2087
|
-
);
|
|
2088
|
-
/** @internal */
|
|
2089
|
-
export const CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$outboundSchema:
|
|
2090
|
-
z.ZodNativeEnum<
|
|
2091
|
-
typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type
|
|
2092
|
-
> =
|
|
2093
|
-
CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$inboundSchema;
|
|
2094
|
-
|
|
2095
1936
|
/** @internal */
|
|
2096
1937
|
export const CreateDrainDeliveryTarget$inboundSchema: z.ZodNativeEnum<
|
|
2097
1938
|
typeof CreateDrainDeliveryTarget
|
|
@@ -2107,13 +1948,12 @@ export const CreateDrainDelivery4$inboundSchema: z.ZodType<
|
|
|
2107
1948
|
z.ZodTypeDef,
|
|
2108
1949
|
unknown
|
|
2109
1950
|
> = z.object({
|
|
2110
|
-
type:
|
|
2111
|
-
CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$inboundSchema,
|
|
1951
|
+
type: z.literal("internal"),
|
|
2112
1952
|
target: CreateDrainDeliveryTarget$inboundSchema,
|
|
2113
1953
|
});
|
|
2114
1954
|
/** @internal */
|
|
2115
1955
|
export type CreateDrainDelivery4$Outbound = {
|
|
2116
|
-
type:
|
|
1956
|
+
type: "internal";
|
|
2117
1957
|
target: string;
|
|
2118
1958
|
};
|
|
2119
1959
|
|
|
@@ -2123,8 +1963,7 @@ export const CreateDrainDelivery4$outboundSchema: z.ZodType<
|
|
|
2123
1963
|
z.ZodTypeDef,
|
|
2124
1964
|
CreateDrainDelivery4
|
|
2125
1965
|
> = z.object({
|
|
2126
|
-
type:
|
|
2127
|
-
CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$outboundSchema,
|
|
1966
|
+
type: z.literal("internal"),
|
|
2128
1967
|
target: CreateDrainDeliveryTarget$outboundSchema,
|
|
2129
1968
|
});
|
|
2130
1969
|
|
|
@@ -2145,34 +1984,19 @@ export function createDrainDelivery4FromJSON(
|
|
|
2145
1984
|
);
|
|
2146
1985
|
}
|
|
2147
1986
|
|
|
2148
|
-
/** @internal */
|
|
2149
|
-
export const CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema:
|
|
2150
|
-
z.ZodNativeEnum<
|
|
2151
|
-
typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType
|
|
2152
|
-
> = z.nativeEnum(
|
|
2153
|
-
CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType,
|
|
2154
|
-
);
|
|
2155
|
-
/** @internal */
|
|
2156
|
-
export const CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$outboundSchema:
|
|
2157
|
-
z.ZodNativeEnum<
|
|
2158
|
-
typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType
|
|
2159
|
-
> =
|
|
2160
|
-
CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
2161
|
-
|
|
2162
1987
|
/** @internal */
|
|
2163
1988
|
export const CreateDrainDelivery3$inboundSchema: z.ZodType<
|
|
2164
1989
|
CreateDrainDelivery3,
|
|
2165
1990
|
z.ZodTypeDef,
|
|
2166
1991
|
unknown
|
|
2167
1992
|
> = z.object({
|
|
2168
|
-
type:
|
|
2169
|
-
CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema,
|
|
1993
|
+
type: z.literal("clickhouse"),
|
|
2170
1994
|
endpoint: z.string(),
|
|
2171
1995
|
table: z.string(),
|
|
2172
1996
|
});
|
|
2173
1997
|
/** @internal */
|
|
2174
1998
|
export type CreateDrainDelivery3$Outbound = {
|
|
2175
|
-
type:
|
|
1999
|
+
type: "clickhouse";
|
|
2176
2000
|
endpoint: string;
|
|
2177
2001
|
table: string;
|
|
2178
2002
|
};
|
|
@@ -2183,8 +2007,7 @@ export const CreateDrainDelivery3$outboundSchema: z.ZodType<
|
|
|
2183
2007
|
z.ZodTypeDef,
|
|
2184
2008
|
CreateDrainDelivery3
|
|
2185
2009
|
> = z.object({
|
|
2186
|
-
type:
|
|
2187
|
-
CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$outboundSchema,
|
|
2010
|
+
type: z.literal("clickhouse"),
|
|
2188
2011
|
endpoint: z.string(),
|
|
2189
2012
|
table: z.string(),
|
|
2190
2013
|
});
|
|
@@ -2206,17 +2029,6 @@ export function createDrainDelivery3FromJSON(
|
|
|
2206
2029
|
);
|
|
2207
2030
|
}
|
|
2208
2031
|
|
|
2209
|
-
/** @internal */
|
|
2210
|
-
export const CreateDrainDeliveryDrainsResponse200ApplicationJSONType$inboundSchema:
|
|
2211
|
-
z.ZodNativeEnum<
|
|
2212
|
-
typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONType
|
|
2213
|
-
> = z.nativeEnum(CreateDrainDeliveryDrainsResponse200ApplicationJSONType);
|
|
2214
|
-
/** @internal */
|
|
2215
|
-
export const CreateDrainDeliveryDrainsResponse200ApplicationJSONType$outboundSchema:
|
|
2216
|
-
z.ZodNativeEnum<
|
|
2217
|
-
typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONType
|
|
2218
|
-
> = CreateDrainDeliveryDrainsResponse200ApplicationJSONType$inboundSchema;
|
|
2219
|
-
|
|
2220
2032
|
/** @internal */
|
|
2221
2033
|
export const CreateDrainDeliveryEndpoint$inboundSchema: z.ZodType<
|
|
2222
2034
|
CreateDrainDeliveryEndpoint,
|
|
@@ -2368,7 +2180,7 @@ export const CreateDrainDeliveryDrains2$inboundSchema: z.ZodType<
|
|
|
2368
2180
|
z.ZodTypeDef,
|
|
2369
2181
|
unknown
|
|
2370
2182
|
> = z.object({
|
|
2371
|
-
type:
|
|
2183
|
+
type: z.literal("otlphttp"),
|
|
2372
2184
|
endpoint: z.lazy(() => CreateDrainDeliveryEndpoint$inboundSchema),
|
|
2373
2185
|
encoding:
|
|
2374
2186
|
CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding$inboundSchema,
|
|
@@ -2380,7 +2192,7 @@ export const CreateDrainDeliveryDrains2$inboundSchema: z.ZodType<
|
|
|
2380
2192
|
});
|
|
2381
2193
|
/** @internal */
|
|
2382
2194
|
export type CreateDrainDeliveryDrains2$Outbound = {
|
|
2383
|
-
type:
|
|
2195
|
+
type: "otlphttp";
|
|
2384
2196
|
endpoint: CreateDrainDeliveryEndpoint$Outbound;
|
|
2385
2197
|
encoding: string;
|
|
2386
2198
|
headers: { [k: string]: string };
|
|
@@ -2393,7 +2205,7 @@ export const CreateDrainDeliveryDrains2$outboundSchema: z.ZodType<
|
|
|
2393
2205
|
z.ZodTypeDef,
|
|
2394
2206
|
CreateDrainDeliveryDrains2
|
|
2395
2207
|
> = z.object({
|
|
2396
|
-
type:
|
|
2208
|
+
type: z.literal("otlphttp"),
|
|
2397
2209
|
endpoint: z.lazy(() => CreateDrainDeliveryEndpoint$outboundSchema),
|
|
2398
2210
|
encoding:
|
|
2399
2211
|
CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding$outboundSchema,
|
|
@@ -2421,15 +2233,6 @@ export function createDrainDeliveryDrains2FromJSON(
|
|
|
2421
2233
|
);
|
|
2422
2234
|
}
|
|
2423
2235
|
|
|
2424
|
-
/** @internal */
|
|
2425
|
-
export const CreateDrainDeliveryDrainsResponse200Type$inboundSchema:
|
|
2426
|
-
z.ZodNativeEnum<typeof CreateDrainDeliveryDrainsResponse200Type> = z
|
|
2427
|
-
.nativeEnum(CreateDrainDeliveryDrainsResponse200Type);
|
|
2428
|
-
/** @internal */
|
|
2429
|
-
export const CreateDrainDeliveryDrainsResponse200Type$outboundSchema:
|
|
2430
|
-
z.ZodNativeEnum<typeof CreateDrainDeliveryDrainsResponse200Type> =
|
|
2431
|
-
CreateDrainDeliveryDrainsResponse200Type$inboundSchema;
|
|
2432
|
-
|
|
2433
2236
|
/** @internal */
|
|
2434
2237
|
export const CreateDrainDeliveryDrainsResponse200Encoding$inboundSchema:
|
|
2435
2238
|
z.ZodNativeEnum<typeof CreateDrainDeliveryDrainsResponse200Encoding> = z
|
|
@@ -2540,7 +2343,7 @@ export const CreateDrainDeliveryDrains1$inboundSchema: z.ZodType<
|
|
|
2540
2343
|
z.ZodTypeDef,
|
|
2541
2344
|
unknown
|
|
2542
2345
|
> = z.object({
|
|
2543
|
-
type:
|
|
2346
|
+
type: z.literal("http"),
|
|
2544
2347
|
endpoint: z.string(),
|
|
2545
2348
|
encoding: CreateDrainDeliveryDrainsResponse200Encoding$inboundSchema,
|
|
2546
2349
|
compression: CreateDrainDeliveryCompression$inboundSchema.optional(),
|
|
@@ -2552,7 +2355,7 @@ export const CreateDrainDeliveryDrains1$inboundSchema: z.ZodType<
|
|
|
2552
2355
|
});
|
|
2553
2356
|
/** @internal */
|
|
2554
2357
|
export type CreateDrainDeliveryDrains1$Outbound = {
|
|
2555
|
-
type:
|
|
2358
|
+
type: "http";
|
|
2556
2359
|
endpoint: string;
|
|
2557
2360
|
encoding: string;
|
|
2558
2361
|
compression?: string | undefined;
|
|
@@ -2566,7 +2369,7 @@ export const CreateDrainDeliveryDrains1$outboundSchema: z.ZodType<
|
|
|
2566
2369
|
z.ZodTypeDef,
|
|
2567
2370
|
CreateDrainDeliveryDrains1
|
|
2568
2371
|
> = z.object({
|
|
2569
|
-
type:
|
|
2372
|
+
type: z.literal("http"),
|
|
2570
2373
|
endpoint: z.string(),
|
|
2571
2374
|
encoding: CreateDrainDeliveryDrainsResponse200Encoding$outboundSchema,
|
|
2572
2375
|
compression: CreateDrainDeliveryCompression$outboundSchema.optional(),
|
|
@@ -2729,22 +2532,13 @@ export const ResponseBodyDisabledReason$outboundSchema: z.ZodNativeEnum<
|
|
|
2729
2532
|
typeof ResponseBodyDisabledReason
|
|
2730
2533
|
> = ResponseBodyDisabledReason$inboundSchema;
|
|
2731
2534
|
|
|
2732
|
-
/** @internal */
|
|
2733
|
-
export const CreateDrainSourceDrainsKind$inboundSchema: z.ZodNativeEnum<
|
|
2734
|
-
typeof CreateDrainSourceDrainsKind
|
|
2735
|
-
> = z.nativeEnum(CreateDrainSourceDrainsKind);
|
|
2736
|
-
/** @internal */
|
|
2737
|
-
export const CreateDrainSourceDrainsKind$outboundSchema: z.ZodNativeEnum<
|
|
2738
|
-
typeof CreateDrainSourceDrainsKind
|
|
2739
|
-
> = CreateDrainSourceDrainsKind$inboundSchema;
|
|
2740
|
-
|
|
2741
2535
|
/** @internal */
|
|
2742
2536
|
export const CreateDrainSourceDrains2$inboundSchema: z.ZodType<
|
|
2743
2537
|
CreateDrainSourceDrains2,
|
|
2744
2538
|
z.ZodTypeDef,
|
|
2745
2539
|
unknown
|
|
2746
2540
|
> = z.object({
|
|
2747
|
-
kind:
|
|
2541
|
+
kind: z.literal("integration"),
|
|
2748
2542
|
resourceId: z.string().optional(),
|
|
2749
2543
|
externalResourceId: z.string().optional(),
|
|
2750
2544
|
integrationId: z.string(),
|
|
@@ -2752,7 +2546,7 @@ export const CreateDrainSourceDrains2$inboundSchema: z.ZodType<
|
|
|
2752
2546
|
});
|
|
2753
2547
|
/** @internal */
|
|
2754
2548
|
export type CreateDrainSourceDrains2$Outbound = {
|
|
2755
|
-
kind:
|
|
2549
|
+
kind: "integration";
|
|
2756
2550
|
resourceId?: string | undefined;
|
|
2757
2551
|
externalResourceId?: string | undefined;
|
|
2758
2552
|
integrationId: string;
|
|
@@ -2765,7 +2559,7 @@ export const CreateDrainSourceDrains2$outboundSchema: z.ZodType<
|
|
|
2765
2559
|
z.ZodTypeDef,
|
|
2766
2560
|
CreateDrainSourceDrains2
|
|
2767
2561
|
> = z.object({
|
|
2768
|
-
kind:
|
|
2562
|
+
kind: z.literal("integration"),
|
|
2769
2563
|
resourceId: z.string().optional(),
|
|
2770
2564
|
externalResourceId: z.string().optional(),
|
|
2771
2565
|
integrationId: z.string(),
|
|
@@ -2789,26 +2583,17 @@ export function createDrainSourceDrains2FromJSON(
|
|
|
2789
2583
|
);
|
|
2790
2584
|
}
|
|
2791
2585
|
|
|
2792
|
-
/** @internal */
|
|
2793
|
-
export const CreateDrainSourceKind$inboundSchema: z.ZodNativeEnum<
|
|
2794
|
-
typeof CreateDrainSourceKind
|
|
2795
|
-
> = z.nativeEnum(CreateDrainSourceKind);
|
|
2796
|
-
/** @internal */
|
|
2797
|
-
export const CreateDrainSourceKind$outboundSchema: z.ZodNativeEnum<
|
|
2798
|
-
typeof CreateDrainSourceKind
|
|
2799
|
-
> = CreateDrainSourceKind$inboundSchema;
|
|
2800
|
-
|
|
2801
2586
|
/** @internal */
|
|
2802
2587
|
export const CreateDrainSourceDrains1$inboundSchema: z.ZodType<
|
|
2803
2588
|
CreateDrainSourceDrains1,
|
|
2804
2589
|
z.ZodTypeDef,
|
|
2805
2590
|
unknown
|
|
2806
2591
|
> = z.object({
|
|
2807
|
-
kind:
|
|
2592
|
+
kind: z.literal("self-served"),
|
|
2808
2593
|
});
|
|
2809
2594
|
/** @internal */
|
|
2810
2595
|
export type CreateDrainSourceDrains1$Outbound = {
|
|
2811
|
-
kind:
|
|
2596
|
+
kind: "self-served";
|
|
2812
2597
|
};
|
|
2813
2598
|
|
|
2814
2599
|
/** @internal */
|
|
@@ -2817,7 +2602,7 @@ export const CreateDrainSourceDrains1$outboundSchema: z.ZodType<
|
|
|
2817
2602
|
z.ZodTypeDef,
|
|
2818
2603
|
CreateDrainSourceDrains1
|
|
2819
2604
|
> = z.object({
|
|
2820
|
-
kind:
|
|
2605
|
+
kind: z.literal("self-served"),
|
|
2821
2606
|
});
|
|
2822
2607
|
|
|
2823
2608
|
export function createDrainSourceDrains1ToJSON(
|
|
@@ -2843,13 +2628,13 @@ export const CreateDrainResponseBodyDrainsSource$inboundSchema: z.ZodType<
|
|
|
2843
2628
|
z.ZodTypeDef,
|
|
2844
2629
|
unknown
|
|
2845
2630
|
> = z.union([
|
|
2846
|
-
z.lazy(() => CreateDrainSourceDrains2$inboundSchema),
|
|
2847
2631
|
z.lazy(() => CreateDrainSourceDrains1$inboundSchema),
|
|
2632
|
+
z.lazy(() => CreateDrainSourceDrains2$inboundSchema),
|
|
2848
2633
|
]);
|
|
2849
2634
|
/** @internal */
|
|
2850
2635
|
export type CreateDrainResponseBodyDrainsSource$Outbound =
|
|
2851
|
-
|
|
|
2852
|
-
|
|
|
2636
|
+
| CreateDrainSourceDrains1$Outbound
|
|
2637
|
+
| CreateDrainSourceDrains2$Outbound;
|
|
2853
2638
|
|
|
2854
2639
|
/** @internal */
|
|
2855
2640
|
export const CreateDrainResponseBodyDrainsSource$outboundSchema: z.ZodType<
|
|
@@ -2857,8 +2642,8 @@ export const CreateDrainResponseBodyDrainsSource$outboundSchema: z.ZodType<
|
|
|
2857
2642
|
z.ZodTypeDef,
|
|
2858
2643
|
CreateDrainResponseBodyDrainsSource
|
|
2859
2644
|
> = z.union([
|
|
2860
|
-
z.lazy(() => CreateDrainSourceDrains2$outboundSchema),
|
|
2861
2645
|
z.lazy(() => CreateDrainSourceDrains1$outboundSchema),
|
|
2646
|
+
z.lazy(() => CreateDrainSourceDrains2$outboundSchema),
|
|
2862
2647
|
]);
|
|
2863
2648
|
|
|
2864
2649
|
export function createDrainResponseBodyDrainsSourceToJSON(
|
|
@@ -2881,36 +2666,18 @@ export function createDrainResponseBodyDrainsSourceFromJSON(
|
|
|
2881
2666
|
);
|
|
2882
2667
|
}
|
|
2883
2668
|
|
|
2884
|
-
/** @internal */
|
|
2885
|
-
export const CreateDrainFilterV2DrainsVersion$inboundSchema: z.ZodNativeEnum<
|
|
2886
|
-
typeof CreateDrainFilterV2DrainsVersion
|
|
2887
|
-
> = z.nativeEnum(CreateDrainFilterV2DrainsVersion);
|
|
2888
|
-
/** @internal */
|
|
2889
|
-
export const CreateDrainFilterV2DrainsVersion$outboundSchema: z.ZodNativeEnum<
|
|
2890
|
-
typeof CreateDrainFilterV2DrainsVersion
|
|
2891
|
-
> = CreateDrainFilterV2DrainsVersion$inboundSchema;
|
|
2892
|
-
|
|
2893
|
-
/** @internal */
|
|
2894
|
-
export const CreateDrainFilterDrainsResponseType$inboundSchema: z.ZodNativeEnum<
|
|
2895
|
-
typeof CreateDrainFilterDrainsResponseType
|
|
2896
|
-
> = z.nativeEnum(CreateDrainFilterDrainsResponseType);
|
|
2897
|
-
/** @internal */
|
|
2898
|
-
export const CreateDrainFilterDrainsResponseType$outboundSchema:
|
|
2899
|
-
z.ZodNativeEnum<typeof CreateDrainFilterDrainsResponseType> =
|
|
2900
|
-
CreateDrainFilterDrainsResponseType$inboundSchema;
|
|
2901
|
-
|
|
2902
2669
|
/** @internal */
|
|
2903
2670
|
export const CreateDrainFilterDrainsResponse2$inboundSchema: z.ZodType<
|
|
2904
2671
|
CreateDrainFilterDrainsResponse2,
|
|
2905
2672
|
z.ZodTypeDef,
|
|
2906
2673
|
unknown
|
|
2907
2674
|
> = z.object({
|
|
2908
|
-
type:
|
|
2675
|
+
type: z.literal("odata"),
|
|
2909
2676
|
text: z.string(),
|
|
2910
2677
|
});
|
|
2911
2678
|
/** @internal */
|
|
2912
2679
|
export type CreateDrainFilterDrainsResponse2$Outbound = {
|
|
2913
|
-
type:
|
|
2680
|
+
type: "odata";
|
|
2914
2681
|
text: string;
|
|
2915
2682
|
};
|
|
2916
2683
|
|
|
@@ -2920,7 +2687,7 @@ export const CreateDrainFilterDrainsResponse2$outboundSchema: z.ZodType<
|
|
|
2920
2687
|
z.ZodTypeDef,
|
|
2921
2688
|
CreateDrainFilterDrainsResponse2
|
|
2922
2689
|
> = z.object({
|
|
2923
|
-
type:
|
|
2690
|
+
type: z.literal("odata"),
|
|
2924
2691
|
text: z.string(),
|
|
2925
2692
|
});
|
|
2926
2693
|
|
|
@@ -2943,15 +2710,6 @@ export function createDrainFilterDrainsResponse2FromJSON(
|
|
|
2943
2710
|
);
|
|
2944
2711
|
}
|
|
2945
2712
|
|
|
2946
|
-
/** @internal */
|
|
2947
|
-
export const CreateDrainFilterDrainsType$inboundSchema: z.ZodNativeEnum<
|
|
2948
|
-
typeof CreateDrainFilterDrainsType
|
|
2949
|
-
> = z.nativeEnum(CreateDrainFilterDrainsType);
|
|
2950
|
-
/** @internal */
|
|
2951
|
-
export const CreateDrainFilterDrainsType$outboundSchema: z.ZodNativeEnum<
|
|
2952
|
-
typeof CreateDrainFilterDrainsType
|
|
2953
|
-
> = CreateDrainFilterDrainsType$inboundSchema;
|
|
2954
|
-
|
|
2955
2713
|
/** @internal */
|
|
2956
2714
|
export const CreateDrainFilterDrainsResponseProject$inboundSchema: z.ZodType<
|
|
2957
2715
|
CreateDrainFilterDrainsResponseProject,
|
|
@@ -3120,7 +2878,7 @@ export const CreateDrainFilterDrains1$inboundSchema: z.ZodType<
|
|
|
3120
2878
|
z.ZodTypeDef,
|
|
3121
2879
|
unknown
|
|
3122
2880
|
> = z.object({
|
|
3123
|
-
type:
|
|
2881
|
+
type: z.literal("basic"),
|
|
3124
2882
|
project: z.lazy(() => CreateDrainFilterDrainsResponseProject$inboundSchema)
|
|
3125
2883
|
.optional(),
|
|
3126
2884
|
log: z.lazy(() => CreateDrainFilterLog$inboundSchema).optional(),
|
|
@@ -3130,7 +2888,7 @@ export const CreateDrainFilterDrains1$inboundSchema: z.ZodType<
|
|
|
3130
2888
|
});
|
|
3131
2889
|
/** @internal */
|
|
3132
2890
|
export type CreateDrainFilterDrains1$Outbound = {
|
|
3133
|
-
type:
|
|
2891
|
+
type: "basic";
|
|
3134
2892
|
project?: CreateDrainFilterDrainsResponseProject$Outbound | undefined;
|
|
3135
2893
|
log?: CreateDrainFilterLog$Outbound | undefined;
|
|
3136
2894
|
deployment?: CreateDrainFilterDrainsResponseDeployment$Outbound | undefined;
|
|
@@ -3142,7 +2900,7 @@ export const CreateDrainFilterDrains1$outboundSchema: z.ZodType<
|
|
|
3142
2900
|
z.ZodTypeDef,
|
|
3143
2901
|
CreateDrainFilterDrains1
|
|
3144
2902
|
> = z.object({
|
|
3145
|
-
type:
|
|
2903
|
+
type: z.literal("basic"),
|
|
3146
2904
|
project: z.lazy(() => CreateDrainFilterDrainsResponseProject$outboundSchema)
|
|
3147
2905
|
.optional(),
|
|
3148
2906
|
log: z.lazy(() => CreateDrainFilterLog$outboundSchema).optional(),
|
|
@@ -3174,13 +2932,13 @@ export const CreateDrainFilterV2Filter$inboundSchema: z.ZodType<
|
|
|
3174
2932
|
z.ZodTypeDef,
|
|
3175
2933
|
unknown
|
|
3176
2934
|
> = z.union([
|
|
3177
|
-
z.lazy(() => CreateDrainFilterDrainsResponse2$inboundSchema),
|
|
3178
2935
|
z.lazy(() => CreateDrainFilterDrains1$inboundSchema),
|
|
2936
|
+
z.lazy(() => CreateDrainFilterDrainsResponse2$inboundSchema),
|
|
3179
2937
|
]);
|
|
3180
2938
|
/** @internal */
|
|
3181
2939
|
export type CreateDrainFilterV2Filter$Outbound =
|
|
3182
|
-
|
|
|
3183
|
-
|
|
|
2940
|
+
| CreateDrainFilterDrains1$Outbound
|
|
2941
|
+
| CreateDrainFilterDrainsResponse2$Outbound;
|
|
3184
2942
|
|
|
3185
2943
|
/** @internal */
|
|
3186
2944
|
export const CreateDrainFilterV2Filter$outboundSchema: z.ZodType<
|
|
@@ -3188,8 +2946,8 @@ export const CreateDrainFilterV2Filter$outboundSchema: z.ZodType<
|
|
|
3188
2946
|
z.ZodTypeDef,
|
|
3189
2947
|
CreateDrainFilterV2Filter
|
|
3190
2948
|
> = z.union([
|
|
3191
|
-
z.lazy(() => CreateDrainFilterDrainsResponse2$outboundSchema),
|
|
3192
2949
|
z.lazy(() => CreateDrainFilterDrains1$outboundSchema),
|
|
2950
|
+
z.lazy(() => CreateDrainFilterDrainsResponse2$outboundSchema),
|
|
3193
2951
|
]);
|
|
3194
2952
|
|
|
3195
2953
|
export function createDrainFilterV2FilterToJSON(
|
|
@@ -3215,18 +2973,18 @@ export const CreateDrainFilterV22$inboundSchema: z.ZodType<
|
|
|
3215
2973
|
z.ZodTypeDef,
|
|
3216
2974
|
unknown
|
|
3217
2975
|
> = z.object({
|
|
3218
|
-
version:
|
|
2976
|
+
version: z.literal("v2"),
|
|
3219
2977
|
filter: z.union([
|
|
3220
|
-
z.lazy(() => CreateDrainFilterDrainsResponse2$inboundSchema),
|
|
3221
2978
|
z.lazy(() => CreateDrainFilterDrains1$inboundSchema),
|
|
2979
|
+
z.lazy(() => CreateDrainFilterDrainsResponse2$inboundSchema),
|
|
3222
2980
|
]),
|
|
3223
2981
|
});
|
|
3224
2982
|
/** @internal */
|
|
3225
2983
|
export type CreateDrainFilterV22$Outbound = {
|
|
3226
|
-
version:
|
|
2984
|
+
version: "v2";
|
|
3227
2985
|
filter:
|
|
3228
|
-
|
|
|
3229
|
-
|
|
|
2986
|
+
| CreateDrainFilterDrains1$Outbound
|
|
2987
|
+
| CreateDrainFilterDrainsResponse2$Outbound;
|
|
3230
2988
|
};
|
|
3231
2989
|
|
|
3232
2990
|
/** @internal */
|
|
@@ -3235,10 +2993,10 @@ export const CreateDrainFilterV22$outboundSchema: z.ZodType<
|
|
|
3235
2993
|
z.ZodTypeDef,
|
|
3236
2994
|
CreateDrainFilterV22
|
|
3237
2995
|
> = z.object({
|
|
3238
|
-
version:
|
|
2996
|
+
version: z.literal("v2"),
|
|
3239
2997
|
filter: z.union([
|
|
3240
|
-
z.lazy(() => CreateDrainFilterDrainsResponse2$outboundSchema),
|
|
3241
2998
|
z.lazy(() => CreateDrainFilterDrains1$outboundSchema),
|
|
2999
|
+
z.lazy(() => CreateDrainFilterDrainsResponse2$outboundSchema),
|
|
3242
3000
|
]),
|
|
3243
3001
|
});
|
|
3244
3002
|
|
|
@@ -3259,26 +3017,17 @@ export function createDrainFilterV22FromJSON(
|
|
|
3259
3017
|
);
|
|
3260
3018
|
}
|
|
3261
3019
|
|
|
3262
|
-
/** @internal */
|
|
3263
|
-
export const CreateDrainFilterV2Version$inboundSchema: z.ZodNativeEnum<
|
|
3264
|
-
typeof CreateDrainFilterV2Version
|
|
3265
|
-
> = z.nativeEnum(CreateDrainFilterV2Version);
|
|
3266
|
-
/** @internal */
|
|
3267
|
-
export const CreateDrainFilterV2Version$outboundSchema: z.ZodNativeEnum<
|
|
3268
|
-
typeof CreateDrainFilterV2Version
|
|
3269
|
-
> = CreateDrainFilterV2Version$inboundSchema;
|
|
3270
|
-
|
|
3271
3020
|
/** @internal */
|
|
3272
3021
|
export const CreateDrainFilterV21$inboundSchema: z.ZodType<
|
|
3273
3022
|
CreateDrainFilterV21,
|
|
3274
3023
|
z.ZodTypeDef,
|
|
3275
3024
|
unknown
|
|
3276
3025
|
> = z.object({
|
|
3277
|
-
version:
|
|
3026
|
+
version: z.literal("v1"),
|
|
3278
3027
|
});
|
|
3279
3028
|
/** @internal */
|
|
3280
3029
|
export type CreateDrainFilterV21$Outbound = {
|
|
3281
|
-
version:
|
|
3030
|
+
version: "v1";
|
|
3282
3031
|
};
|
|
3283
3032
|
|
|
3284
3033
|
/** @internal */
|
|
@@ -3287,7 +3036,7 @@ export const CreateDrainFilterV21$outboundSchema: z.ZodType<
|
|
|
3287
3036
|
z.ZodTypeDef,
|
|
3288
3037
|
CreateDrainFilterV21
|
|
3289
3038
|
> = z.object({
|
|
3290
|
-
version:
|
|
3039
|
+
version: z.literal("v1"),
|
|
3291
3040
|
});
|
|
3292
3041
|
|
|
3293
3042
|
export function createDrainFilterV21ToJSON(
|
|
@@ -3313,13 +3062,13 @@ export const ResponseBodyFilterV2$inboundSchema: z.ZodType<
|
|
|
3313
3062
|
z.ZodTypeDef,
|
|
3314
3063
|
unknown
|
|
3315
3064
|
> = z.union([
|
|
3316
|
-
z.lazy(() => CreateDrainFilterV22$inboundSchema),
|
|
3317
3065
|
z.lazy(() => CreateDrainFilterV21$inboundSchema),
|
|
3066
|
+
z.lazy(() => CreateDrainFilterV22$inboundSchema),
|
|
3318
3067
|
]);
|
|
3319
3068
|
/** @internal */
|
|
3320
3069
|
export type ResponseBodyFilterV2$Outbound =
|
|
3321
|
-
|
|
|
3322
|
-
|
|
|
3070
|
+
| CreateDrainFilterV21$Outbound
|
|
3071
|
+
| CreateDrainFilterV22$Outbound;
|
|
3323
3072
|
|
|
3324
3073
|
/** @internal */
|
|
3325
3074
|
export const ResponseBodyFilterV2$outboundSchema: z.ZodType<
|
|
@@ -3327,8 +3076,8 @@ export const ResponseBodyFilterV2$outboundSchema: z.ZodType<
|
|
|
3327
3076
|
z.ZodTypeDef,
|
|
3328
3077
|
ResponseBodyFilterV2
|
|
3329
3078
|
> = z.union([
|
|
3330
|
-
z.lazy(() => CreateDrainFilterV22$outboundSchema),
|
|
3331
3079
|
z.lazy(() => CreateDrainFilterV21$outboundSchema),
|
|
3080
|
+
z.lazy(() => CreateDrainFilterV22$outboundSchema),
|
|
3332
3081
|
]);
|
|
3333
3082
|
|
|
3334
3083
|
export function responseBodyFilterV2ToJSON(
|
|
@@ -3348,27 +3097,18 @@ export function responseBodyFilterV2FromJSON(
|
|
|
3348
3097
|
);
|
|
3349
3098
|
}
|
|
3350
3099
|
|
|
3351
|
-
/** @internal */
|
|
3352
|
-
export const ProjectAccessAccess$inboundSchema: z.ZodNativeEnum<
|
|
3353
|
-
typeof ProjectAccessAccess
|
|
3354
|
-
> = z.nativeEnum(ProjectAccessAccess);
|
|
3355
|
-
/** @internal */
|
|
3356
|
-
export const ProjectAccessAccess$outboundSchema: z.ZodNativeEnum<
|
|
3357
|
-
typeof ProjectAccessAccess
|
|
3358
|
-
> = ProjectAccessAccess$inboundSchema;
|
|
3359
|
-
|
|
3360
3100
|
/** @internal */
|
|
3361
3101
|
export const ProjectAccess2$inboundSchema: z.ZodType<
|
|
3362
3102
|
ProjectAccess2,
|
|
3363
3103
|
z.ZodTypeDef,
|
|
3364
3104
|
unknown
|
|
3365
3105
|
> = z.object({
|
|
3366
|
-
access:
|
|
3106
|
+
access: z.literal("some"),
|
|
3367
3107
|
projectIds: z.array(z.string()),
|
|
3368
3108
|
});
|
|
3369
3109
|
/** @internal */
|
|
3370
3110
|
export type ProjectAccess2$Outbound = {
|
|
3371
|
-
access:
|
|
3111
|
+
access: "some";
|
|
3372
3112
|
projectIds: Array<string>;
|
|
3373
3113
|
};
|
|
3374
3114
|
|
|
@@ -3378,7 +3118,7 @@ export const ProjectAccess2$outboundSchema: z.ZodType<
|
|
|
3378
3118
|
z.ZodTypeDef,
|
|
3379
3119
|
ProjectAccess2
|
|
3380
3120
|
> = z.object({
|
|
3381
|
-
access:
|
|
3121
|
+
access: z.literal("some"),
|
|
3382
3122
|
projectIds: z.array(z.string()),
|
|
3383
3123
|
});
|
|
3384
3124
|
|
|
@@ -3395,26 +3135,17 @@ export function projectAccess2FromJSON(
|
|
|
3395
3135
|
);
|
|
3396
3136
|
}
|
|
3397
3137
|
|
|
3398
|
-
/** @internal */
|
|
3399
|
-
export const CreateDrainProjectAccessAccess$inboundSchema: z.ZodNativeEnum<
|
|
3400
|
-
typeof CreateDrainProjectAccessAccess
|
|
3401
|
-
> = z.nativeEnum(CreateDrainProjectAccessAccess);
|
|
3402
|
-
/** @internal */
|
|
3403
|
-
export const CreateDrainProjectAccessAccess$outboundSchema: z.ZodNativeEnum<
|
|
3404
|
-
typeof CreateDrainProjectAccessAccess
|
|
3405
|
-
> = CreateDrainProjectAccessAccess$inboundSchema;
|
|
3406
|
-
|
|
3407
3138
|
/** @internal */
|
|
3408
3139
|
export const ProjectAccess1$inboundSchema: z.ZodType<
|
|
3409
3140
|
ProjectAccess1,
|
|
3410
3141
|
z.ZodTypeDef,
|
|
3411
3142
|
unknown
|
|
3412
3143
|
> = z.object({
|
|
3413
|
-
access:
|
|
3144
|
+
access: z.literal("all"),
|
|
3414
3145
|
});
|
|
3415
3146
|
/** @internal */
|
|
3416
3147
|
export type ProjectAccess1$Outbound = {
|
|
3417
|
-
access:
|
|
3148
|
+
access: "all";
|
|
3418
3149
|
};
|
|
3419
3150
|
|
|
3420
3151
|
/** @internal */
|
|
@@ -3423,7 +3154,7 @@ export const ProjectAccess1$outboundSchema: z.ZodType<
|
|
|
3423
3154
|
z.ZodTypeDef,
|
|
3424
3155
|
ProjectAccess1
|
|
3425
3156
|
> = z.object({
|
|
3426
|
-
access:
|
|
3157
|
+
access: z.literal("all"),
|
|
3427
3158
|
});
|
|
3428
3159
|
|
|
3429
3160
|
export function projectAccess1ToJSON(projectAccess1: ProjectAccess1): string {
|
|
@@ -3445,13 +3176,13 @@ export const ProjectAccess$inboundSchema: z.ZodType<
|
|
|
3445
3176
|
z.ZodTypeDef,
|
|
3446
3177
|
unknown
|
|
3447
3178
|
> = z.union([
|
|
3448
|
-
z.lazy(() => ProjectAccess2$inboundSchema),
|
|
3449
3179
|
z.lazy(() => ProjectAccess1$inboundSchema),
|
|
3180
|
+
z.lazy(() => ProjectAccess2$inboundSchema),
|
|
3450
3181
|
]);
|
|
3451
3182
|
/** @internal */
|
|
3452
3183
|
export type ProjectAccess$Outbound =
|
|
3453
|
-
|
|
|
3454
|
-
|
|
|
3184
|
+
| ProjectAccess1$Outbound
|
|
3185
|
+
| ProjectAccess2$Outbound;
|
|
3455
3186
|
|
|
3456
3187
|
/** @internal */
|
|
3457
3188
|
export const ProjectAccess$outboundSchema: z.ZodType<
|
|
@@ -3459,8 +3190,8 @@ export const ProjectAccess$outboundSchema: z.ZodType<
|
|
|
3459
3190
|
z.ZodTypeDef,
|
|
3460
3191
|
ProjectAccess
|
|
3461
3192
|
> = z.union([
|
|
3462
|
-
z.lazy(() => ProjectAccess2$outboundSchema),
|
|
3463
3193
|
z.lazy(() => ProjectAccess1$outboundSchema),
|
|
3194
|
+
z.lazy(() => ProjectAccess2$outboundSchema),
|
|
3464
3195
|
]);
|
|
3465
3196
|
|
|
3466
3197
|
export function projectAccessToJSON(projectAccess: ProjectAccess): string {
|
|
@@ -3505,20 +3236,20 @@ export const CreateDrainResponseBody2$inboundSchema: z.ZodType<
|
|
|
3505
3236
|
disabledBy: z.string().optional(),
|
|
3506
3237
|
firstErrorTimestamp: z.number().optional(),
|
|
3507
3238
|
source: z.union([
|
|
3508
|
-
z.lazy(() => CreateDrainSourceDrains2$inboundSchema),
|
|
3509
3239
|
z.lazy(() => CreateDrainSourceDrains1$inboundSchema),
|
|
3240
|
+
z.lazy(() => CreateDrainSourceDrains2$inboundSchema),
|
|
3510
3241
|
]),
|
|
3511
3242
|
filter: z.string().optional(),
|
|
3512
3243
|
filterV2: z.union([
|
|
3513
|
-
z.lazy(() => CreateDrainFilterV22$inboundSchema),
|
|
3514
3244
|
z.lazy(() => CreateDrainFilterV21$inboundSchema),
|
|
3245
|
+
z.lazy(() => CreateDrainFilterV22$inboundSchema),
|
|
3515
3246
|
]).optional(),
|
|
3516
3247
|
integrationIcon: z.string().optional(),
|
|
3517
3248
|
integrationConfigurationUri: z.string().optional(),
|
|
3518
3249
|
integrationWebsite: z.string().optional(),
|
|
3519
3250
|
projectAccess: z.union([
|
|
3520
|
-
z.lazy(() => ProjectAccess2$inboundSchema),
|
|
3521
3251
|
z.lazy(() => ProjectAccess1$inboundSchema),
|
|
3252
|
+
z.lazy(() => ProjectAccess2$inboundSchema),
|
|
3522
3253
|
]).optional(),
|
|
3523
3254
|
});
|
|
3524
3255
|
/** @internal */
|
|
@@ -3543,16 +3274,16 @@ export type CreateDrainResponseBody2$Outbound = {
|
|
|
3543
3274
|
disabledReason?: string | undefined;
|
|
3544
3275
|
disabledBy?: string | undefined;
|
|
3545
3276
|
firstErrorTimestamp?: number | undefined;
|
|
3546
|
-
source:
|
|
3277
|
+
source: CreateDrainSourceDrains1$Outbound | CreateDrainSourceDrains2$Outbound;
|
|
3547
3278
|
filter?: string | undefined;
|
|
3548
3279
|
filterV2?:
|
|
3549
|
-
| CreateDrainFilterV22$Outbound
|
|
3550
3280
|
| CreateDrainFilterV21$Outbound
|
|
3281
|
+
| CreateDrainFilterV22$Outbound
|
|
3551
3282
|
| undefined;
|
|
3552
3283
|
integrationIcon?: string | undefined;
|
|
3553
3284
|
integrationConfigurationUri?: string | undefined;
|
|
3554
3285
|
integrationWebsite?: string | undefined;
|
|
3555
|
-
projectAccess?:
|
|
3286
|
+
projectAccess?: ProjectAccess1$Outbound | ProjectAccess2$Outbound | undefined;
|
|
3556
3287
|
};
|
|
3557
3288
|
|
|
3558
3289
|
/** @internal */
|
|
@@ -3585,20 +3316,20 @@ export const CreateDrainResponseBody2$outboundSchema: z.ZodType<
|
|
|
3585
3316
|
disabledBy: z.string().optional(),
|
|
3586
3317
|
firstErrorTimestamp: z.number().optional(),
|
|
3587
3318
|
source: z.union([
|
|
3588
|
-
z.lazy(() => CreateDrainSourceDrains2$outboundSchema),
|
|
3589
3319
|
z.lazy(() => CreateDrainSourceDrains1$outboundSchema),
|
|
3320
|
+
z.lazy(() => CreateDrainSourceDrains2$outboundSchema),
|
|
3590
3321
|
]),
|
|
3591
3322
|
filter: z.string().optional(),
|
|
3592
3323
|
filterV2: z.union([
|
|
3593
|
-
z.lazy(() => CreateDrainFilterV22$outboundSchema),
|
|
3594
3324
|
z.lazy(() => CreateDrainFilterV21$outboundSchema),
|
|
3325
|
+
z.lazy(() => CreateDrainFilterV22$outboundSchema),
|
|
3595
3326
|
]).optional(),
|
|
3596
3327
|
integrationIcon: z.string().optional(),
|
|
3597
3328
|
integrationConfigurationUri: z.string().optional(),
|
|
3598
3329
|
integrationWebsite: z.string().optional(),
|
|
3599
3330
|
projectAccess: z.union([
|
|
3600
|
-
z.lazy(() => ProjectAccess2$outboundSchema),
|
|
3601
3331
|
z.lazy(() => ProjectAccess1$outboundSchema),
|
|
3332
|
+
z.lazy(() => ProjectAccess2$outboundSchema),
|
|
3602
3333
|
]).optional(),
|
|
3603
3334
|
});
|
|
3604
3335
|
|
|
@@ -3805,16 +3536,6 @@ export function responseBodySchemasFromJSON(
|
|
|
3805
3536
|
);
|
|
3806
3537
|
}
|
|
3807
3538
|
|
|
3808
|
-
/** @internal */
|
|
3809
|
-
export const CreateDrainDeliveryDrainsResponseType$inboundSchema:
|
|
3810
|
-
z.ZodNativeEnum<typeof CreateDrainDeliveryDrainsResponseType> = z.nativeEnum(
|
|
3811
|
-
CreateDrainDeliveryDrainsResponseType,
|
|
3812
|
-
);
|
|
3813
|
-
/** @internal */
|
|
3814
|
-
export const CreateDrainDeliveryDrainsResponseType$outboundSchema:
|
|
3815
|
-
z.ZodNativeEnum<typeof CreateDrainDeliveryDrainsResponseType> =
|
|
3816
|
-
CreateDrainDeliveryDrainsResponseType$inboundSchema;
|
|
3817
|
-
|
|
3818
3539
|
/** @internal */
|
|
3819
3540
|
export const DeliveryTarget$inboundSchema: z.ZodNativeEnum<
|
|
3820
3541
|
typeof DeliveryTarget
|
|
@@ -3830,12 +3551,12 @@ export const Delivery4$inboundSchema: z.ZodType<
|
|
|
3830
3551
|
z.ZodTypeDef,
|
|
3831
3552
|
unknown
|
|
3832
3553
|
> = z.object({
|
|
3833
|
-
type:
|
|
3554
|
+
type: z.literal("internal"),
|
|
3834
3555
|
target: DeliveryTarget$inboundSchema,
|
|
3835
3556
|
});
|
|
3836
3557
|
/** @internal */
|
|
3837
3558
|
export type Delivery4$Outbound = {
|
|
3838
|
-
type:
|
|
3559
|
+
type: "internal";
|
|
3839
3560
|
target: string;
|
|
3840
3561
|
};
|
|
3841
3562
|
|
|
@@ -3845,7 +3566,7 @@ export const Delivery4$outboundSchema: z.ZodType<
|
|
|
3845
3566
|
z.ZodTypeDef,
|
|
3846
3567
|
Delivery4
|
|
3847
3568
|
> = z.object({
|
|
3848
|
-
type:
|
|
3569
|
+
type: z.literal("internal"),
|
|
3849
3570
|
target: DeliveryTarget$outboundSchema,
|
|
3850
3571
|
});
|
|
3851
3572
|
|
|
@@ -3862,28 +3583,19 @@ export function delivery4FromJSON(
|
|
|
3862
3583
|
);
|
|
3863
3584
|
}
|
|
3864
3585
|
|
|
3865
|
-
/** @internal */
|
|
3866
|
-
export const CreateDrainDeliveryDrainsType$inboundSchema: z.ZodNativeEnum<
|
|
3867
|
-
typeof CreateDrainDeliveryDrainsType
|
|
3868
|
-
> = z.nativeEnum(CreateDrainDeliveryDrainsType);
|
|
3869
|
-
/** @internal */
|
|
3870
|
-
export const CreateDrainDeliveryDrainsType$outboundSchema: z.ZodNativeEnum<
|
|
3871
|
-
typeof CreateDrainDeliveryDrainsType
|
|
3872
|
-
> = CreateDrainDeliveryDrainsType$inboundSchema;
|
|
3873
|
-
|
|
3874
3586
|
/** @internal */
|
|
3875
3587
|
export const Delivery3$inboundSchema: z.ZodType<
|
|
3876
3588
|
Delivery3,
|
|
3877
3589
|
z.ZodTypeDef,
|
|
3878
3590
|
unknown
|
|
3879
3591
|
> = z.object({
|
|
3880
|
-
type:
|
|
3592
|
+
type: z.literal("clickhouse"),
|
|
3881
3593
|
endpoint: z.string(),
|
|
3882
3594
|
table: z.string(),
|
|
3883
3595
|
});
|
|
3884
3596
|
/** @internal */
|
|
3885
3597
|
export type Delivery3$Outbound = {
|
|
3886
|
-
type:
|
|
3598
|
+
type: "clickhouse";
|
|
3887
3599
|
endpoint: string;
|
|
3888
3600
|
table: string;
|
|
3889
3601
|
};
|
|
@@ -3894,7 +3606,7 @@ export const Delivery3$outboundSchema: z.ZodType<
|
|
|
3894
3606
|
z.ZodTypeDef,
|
|
3895
3607
|
Delivery3
|
|
3896
3608
|
> = z.object({
|
|
3897
|
-
type:
|
|
3609
|
+
type: z.literal("clickhouse"),
|
|
3898
3610
|
endpoint: z.string(),
|
|
3899
3611
|
table: z.string(),
|
|
3900
3612
|
});
|
|
@@ -3912,15 +3624,6 @@ export function delivery3FromJSON(
|
|
|
3912
3624
|
);
|
|
3913
3625
|
}
|
|
3914
3626
|
|
|
3915
|
-
/** @internal */
|
|
3916
|
-
export const CreateDrainDeliveryType$inboundSchema: z.ZodNativeEnum<
|
|
3917
|
-
typeof CreateDrainDeliveryType
|
|
3918
|
-
> = z.nativeEnum(CreateDrainDeliveryType);
|
|
3919
|
-
/** @internal */
|
|
3920
|
-
export const CreateDrainDeliveryType$outboundSchema: z.ZodNativeEnum<
|
|
3921
|
-
typeof CreateDrainDeliveryType
|
|
3922
|
-
> = CreateDrainDeliveryType$inboundSchema;
|
|
3923
|
-
|
|
3924
3627
|
/** @internal */
|
|
3925
3628
|
export const CreateDrainDeliveryDrainsEndpoint$inboundSchema: z.ZodType<
|
|
3926
3629
|
CreateDrainDeliveryDrainsEndpoint,
|
|
@@ -4054,7 +3757,7 @@ export const CreateDrainDelivery2$inboundSchema: z.ZodType<
|
|
|
4054
3757
|
z.ZodTypeDef,
|
|
4055
3758
|
unknown
|
|
4056
3759
|
> = z.object({
|
|
4057
|
-
type:
|
|
3760
|
+
type: z.literal("otlphttp"),
|
|
4058
3761
|
endpoint: z.lazy(() => CreateDrainDeliveryDrainsEndpoint$inboundSchema),
|
|
4059
3762
|
encoding: CreateDrainDeliveryDrainsResponseEncoding$inboundSchema,
|
|
4060
3763
|
headers: z.record(z.string()),
|
|
@@ -4063,7 +3766,7 @@ export const CreateDrainDelivery2$inboundSchema: z.ZodType<
|
|
|
4063
3766
|
});
|
|
4064
3767
|
/** @internal */
|
|
4065
3768
|
export type CreateDrainDelivery2$Outbound = {
|
|
4066
|
-
type:
|
|
3769
|
+
type: "otlphttp";
|
|
4067
3770
|
endpoint: CreateDrainDeliveryDrainsEndpoint$Outbound;
|
|
4068
3771
|
encoding: string;
|
|
4069
3772
|
headers: { [k: string]: string };
|
|
@@ -4076,7 +3779,7 @@ export const CreateDrainDelivery2$outboundSchema: z.ZodType<
|
|
|
4076
3779
|
z.ZodTypeDef,
|
|
4077
3780
|
CreateDrainDelivery2
|
|
4078
3781
|
> = z.object({
|
|
4079
|
-
type:
|
|
3782
|
+
type: z.literal("otlphttp"),
|
|
4080
3783
|
endpoint: z.lazy(() => CreateDrainDeliveryDrainsEndpoint$outboundSchema),
|
|
4081
3784
|
encoding: CreateDrainDeliveryDrainsResponseEncoding$outboundSchema,
|
|
4082
3785
|
headers: z.record(z.string()),
|
|
@@ -4101,13 +3804,6 @@ export function createDrainDelivery2FromJSON(
|
|
|
4101
3804
|
);
|
|
4102
3805
|
}
|
|
4103
3806
|
|
|
4104
|
-
/** @internal */
|
|
4105
|
-
export const DeliveryType$inboundSchema: z.ZodNativeEnum<typeof DeliveryType> =
|
|
4106
|
-
z.nativeEnum(DeliveryType);
|
|
4107
|
-
/** @internal */
|
|
4108
|
-
export const DeliveryType$outboundSchema: z.ZodNativeEnum<typeof DeliveryType> =
|
|
4109
|
-
DeliveryType$inboundSchema;
|
|
4110
|
-
|
|
4111
3807
|
/** @internal */
|
|
4112
3808
|
export const CreateDrainDeliveryDrainsEncoding$inboundSchema: z.ZodNativeEnum<
|
|
4113
3809
|
typeof CreateDrainDeliveryDrainsEncoding
|
|
@@ -4198,7 +3894,7 @@ export const CreateDrainDelivery1$inboundSchema: z.ZodType<
|
|
|
4198
3894
|
z.ZodTypeDef,
|
|
4199
3895
|
unknown
|
|
4200
3896
|
> = z.object({
|
|
4201
|
-
type:
|
|
3897
|
+
type: z.literal("http"),
|
|
4202
3898
|
endpoint: z.string(),
|
|
4203
3899
|
encoding: CreateDrainDeliveryDrainsEncoding$inboundSchema,
|
|
4204
3900
|
compression: CreateDrainDeliveryDrainsCompression$inboundSchema.optional(),
|
|
@@ -4207,7 +3903,7 @@ export const CreateDrainDelivery1$inboundSchema: z.ZodType<
|
|
|
4207
3903
|
});
|
|
4208
3904
|
/** @internal */
|
|
4209
3905
|
export type CreateDrainDelivery1$Outbound = {
|
|
4210
|
-
type:
|
|
3906
|
+
type: "http";
|
|
4211
3907
|
endpoint: string;
|
|
4212
3908
|
encoding: string;
|
|
4213
3909
|
compression?: string | undefined;
|
|
@@ -4221,7 +3917,7 @@ export const CreateDrainDelivery1$outboundSchema: z.ZodType<
|
|
|
4221
3917
|
z.ZodTypeDef,
|
|
4222
3918
|
CreateDrainDelivery1
|
|
4223
3919
|
> = z.object({
|
|
4224
|
-
type:
|
|
3920
|
+
type: z.literal("http"),
|
|
4225
3921
|
endpoint: z.string(),
|
|
4226
3922
|
encoding: CreateDrainDeliveryDrainsEncoding$outboundSchema,
|
|
4227
3923
|
compression: CreateDrainDeliveryDrainsCompression$outboundSchema.optional(),
|
|
@@ -4378,23 +4074,13 @@ export const DisabledReason$outboundSchema: z.ZodNativeEnum<
|
|
|
4378
4074
|
typeof DisabledReason
|
|
4379
4075
|
> = DisabledReason$inboundSchema;
|
|
4380
4076
|
|
|
4381
|
-
/** @internal */
|
|
4382
|
-
export const CreateDrainSourceDrainsResponse200Kind$inboundSchema:
|
|
4383
|
-
z.ZodNativeEnum<typeof CreateDrainSourceDrainsResponse200Kind> = z.nativeEnum(
|
|
4384
|
-
CreateDrainSourceDrainsResponse200Kind,
|
|
4385
|
-
);
|
|
4386
|
-
/** @internal */
|
|
4387
|
-
export const CreateDrainSourceDrainsResponse200Kind$outboundSchema:
|
|
4388
|
-
z.ZodNativeEnum<typeof CreateDrainSourceDrainsResponse200Kind> =
|
|
4389
|
-
CreateDrainSourceDrainsResponse200Kind$inboundSchema;
|
|
4390
|
-
|
|
4391
4077
|
/** @internal */
|
|
4392
4078
|
export const CreateDrainSource2$inboundSchema: z.ZodType<
|
|
4393
4079
|
CreateDrainSource2,
|
|
4394
4080
|
z.ZodTypeDef,
|
|
4395
4081
|
unknown
|
|
4396
4082
|
> = z.object({
|
|
4397
|
-
kind:
|
|
4083
|
+
kind: z.literal("integration"),
|
|
4398
4084
|
resourceId: z.string().optional(),
|
|
4399
4085
|
externalResourceId: z.string().optional(),
|
|
4400
4086
|
integrationId: z.string(),
|
|
@@ -4402,7 +4088,7 @@ export const CreateDrainSource2$inboundSchema: z.ZodType<
|
|
|
4402
4088
|
});
|
|
4403
4089
|
/** @internal */
|
|
4404
4090
|
export type CreateDrainSource2$Outbound = {
|
|
4405
|
-
kind:
|
|
4091
|
+
kind: "integration";
|
|
4406
4092
|
resourceId?: string | undefined;
|
|
4407
4093
|
externalResourceId?: string | undefined;
|
|
4408
4094
|
integrationId: string;
|
|
@@ -4415,7 +4101,7 @@ export const CreateDrainSource2$outboundSchema: z.ZodType<
|
|
|
4415
4101
|
z.ZodTypeDef,
|
|
4416
4102
|
CreateDrainSource2
|
|
4417
4103
|
> = z.object({
|
|
4418
|
-
kind:
|
|
4104
|
+
kind: z.literal("integration"),
|
|
4419
4105
|
resourceId: z.string().optional(),
|
|
4420
4106
|
externalResourceId: z.string().optional(),
|
|
4421
4107
|
integrationId: z.string(),
|
|
@@ -4439,26 +4125,17 @@ export function createDrainSource2FromJSON(
|
|
|
4439
4125
|
);
|
|
4440
4126
|
}
|
|
4441
4127
|
|
|
4442
|
-
/** @internal */
|
|
4443
|
-
export const CreateDrainSourceDrainsResponseKind$inboundSchema: z.ZodNativeEnum<
|
|
4444
|
-
typeof CreateDrainSourceDrainsResponseKind
|
|
4445
|
-
> = z.nativeEnum(CreateDrainSourceDrainsResponseKind);
|
|
4446
|
-
/** @internal */
|
|
4447
|
-
export const CreateDrainSourceDrainsResponseKind$outboundSchema:
|
|
4448
|
-
z.ZodNativeEnum<typeof CreateDrainSourceDrainsResponseKind> =
|
|
4449
|
-
CreateDrainSourceDrainsResponseKind$inboundSchema;
|
|
4450
|
-
|
|
4451
4128
|
/** @internal */
|
|
4452
4129
|
export const CreateDrainSource1$inboundSchema: z.ZodType<
|
|
4453
4130
|
CreateDrainSource1,
|
|
4454
4131
|
z.ZodTypeDef,
|
|
4455
4132
|
unknown
|
|
4456
4133
|
> = z.object({
|
|
4457
|
-
kind:
|
|
4134
|
+
kind: z.literal("self-served"),
|
|
4458
4135
|
});
|
|
4459
4136
|
/** @internal */
|
|
4460
4137
|
export type CreateDrainSource1$Outbound = {
|
|
4461
|
-
kind:
|
|
4138
|
+
kind: "self-served";
|
|
4462
4139
|
};
|
|
4463
4140
|
|
|
4464
4141
|
/** @internal */
|
|
@@ -4467,7 +4144,7 @@ export const CreateDrainSource1$outboundSchema: z.ZodType<
|
|
|
4467
4144
|
z.ZodTypeDef,
|
|
4468
4145
|
CreateDrainSource1
|
|
4469
4146
|
> = z.object({
|
|
4470
|
-
kind:
|
|
4147
|
+
kind: z.literal("self-served"),
|
|
4471
4148
|
});
|
|
4472
4149
|
|
|
4473
4150
|
export function createDrainSource1ToJSON(
|
|
@@ -4493,13 +4170,13 @@ export const CreateDrainResponseBodySource$inboundSchema: z.ZodType<
|
|
|
4493
4170
|
z.ZodTypeDef,
|
|
4494
4171
|
unknown
|
|
4495
4172
|
> = z.union([
|
|
4496
|
-
z.lazy(() => CreateDrainSource2$inboundSchema),
|
|
4497
4173
|
z.lazy(() => CreateDrainSource1$inboundSchema),
|
|
4174
|
+
z.lazy(() => CreateDrainSource2$inboundSchema),
|
|
4498
4175
|
]);
|
|
4499
4176
|
/** @internal */
|
|
4500
4177
|
export type CreateDrainResponseBodySource$Outbound =
|
|
4501
|
-
|
|
|
4502
|
-
|
|
|
4178
|
+
| CreateDrainSource1$Outbound
|
|
4179
|
+
| CreateDrainSource2$Outbound;
|
|
4503
4180
|
|
|
4504
4181
|
/** @internal */
|
|
4505
4182
|
export const CreateDrainResponseBodySource$outboundSchema: z.ZodType<
|
|
@@ -4507,8 +4184,8 @@ export const CreateDrainResponseBodySource$outboundSchema: z.ZodType<
|
|
|
4507
4184
|
z.ZodTypeDef,
|
|
4508
4185
|
CreateDrainResponseBodySource
|
|
4509
4186
|
> = z.union([
|
|
4510
|
-
z.lazy(() => CreateDrainSource2$outboundSchema),
|
|
4511
4187
|
z.lazy(() => CreateDrainSource1$outboundSchema),
|
|
4188
|
+
z.lazy(() => CreateDrainSource2$outboundSchema),
|
|
4512
4189
|
]);
|
|
4513
4190
|
|
|
4514
4191
|
export function createDrainResponseBodySourceToJSON(
|
|
@@ -4530,36 +4207,18 @@ export function createDrainResponseBodySourceFromJSON(
|
|
|
4530
4207
|
);
|
|
4531
4208
|
}
|
|
4532
4209
|
|
|
4533
|
-
/** @internal */
|
|
4534
|
-
export const FilterV2Version$inboundSchema: z.ZodNativeEnum<
|
|
4535
|
-
typeof FilterV2Version
|
|
4536
|
-
> = z.nativeEnum(FilterV2Version);
|
|
4537
|
-
/** @internal */
|
|
4538
|
-
export const FilterV2Version$outboundSchema: z.ZodNativeEnum<
|
|
4539
|
-
typeof FilterV2Version
|
|
4540
|
-
> = FilterV2Version$inboundSchema;
|
|
4541
|
-
|
|
4542
|
-
/** @internal */
|
|
4543
|
-
export const CreateDrainFilterType$inboundSchema: z.ZodNativeEnum<
|
|
4544
|
-
typeof CreateDrainFilterType
|
|
4545
|
-
> = z.nativeEnum(CreateDrainFilterType);
|
|
4546
|
-
/** @internal */
|
|
4547
|
-
export const CreateDrainFilterType$outboundSchema: z.ZodNativeEnum<
|
|
4548
|
-
typeof CreateDrainFilterType
|
|
4549
|
-
> = CreateDrainFilterType$inboundSchema;
|
|
4550
|
-
|
|
4551
4210
|
/** @internal */
|
|
4552
4211
|
export const CreateDrainFilterDrains2$inboundSchema: z.ZodType<
|
|
4553
4212
|
CreateDrainFilterDrains2,
|
|
4554
4213
|
z.ZodTypeDef,
|
|
4555
4214
|
unknown
|
|
4556
4215
|
> = z.object({
|
|
4557
|
-
type:
|
|
4216
|
+
type: z.literal("odata"),
|
|
4558
4217
|
text: z.string(),
|
|
4559
4218
|
});
|
|
4560
4219
|
/** @internal */
|
|
4561
4220
|
export type CreateDrainFilterDrains2$Outbound = {
|
|
4562
|
-
type:
|
|
4221
|
+
type: "odata";
|
|
4563
4222
|
text: string;
|
|
4564
4223
|
};
|
|
4565
4224
|
|
|
@@ -4569,7 +4228,7 @@ export const CreateDrainFilterDrains2$outboundSchema: z.ZodType<
|
|
|
4569
4228
|
z.ZodTypeDef,
|
|
4570
4229
|
CreateDrainFilterDrains2
|
|
4571
4230
|
> = z.object({
|
|
4572
|
-
type:
|
|
4231
|
+
type: z.literal("odata"),
|
|
4573
4232
|
text: z.string(),
|
|
4574
4233
|
});
|
|
4575
4234
|
|
|
@@ -4590,13 +4249,6 @@ export function createDrainFilterDrains2FromJSON(
|
|
|
4590
4249
|
);
|
|
4591
4250
|
}
|
|
4592
4251
|
|
|
4593
|
-
/** @internal */
|
|
4594
|
-
export const FilterType$inboundSchema: z.ZodNativeEnum<typeof FilterType> = z
|
|
4595
|
-
.nativeEnum(FilterType);
|
|
4596
|
-
/** @internal */
|
|
4597
|
-
export const FilterType$outboundSchema: z.ZodNativeEnum<typeof FilterType> =
|
|
4598
|
-
FilterType$inboundSchema;
|
|
4599
|
-
|
|
4600
4252
|
/** @internal */
|
|
4601
4253
|
export const CreateDrainFilterDrainsProject$inboundSchema: z.ZodType<
|
|
4602
4254
|
CreateDrainFilterDrainsProject,
|
|
@@ -4754,7 +4406,7 @@ export const CreateDrainFilter1$inboundSchema: z.ZodType<
|
|
|
4754
4406
|
z.ZodTypeDef,
|
|
4755
4407
|
unknown
|
|
4756
4408
|
> = z.object({
|
|
4757
|
-
type:
|
|
4409
|
+
type: z.literal("basic"),
|
|
4758
4410
|
project: z.lazy(() => CreateDrainFilterDrainsProject$inboundSchema)
|
|
4759
4411
|
.optional(),
|
|
4760
4412
|
log: z.lazy(() => CreateDrainFilterDrainsLog$inboundSchema).optional(),
|
|
@@ -4763,7 +4415,7 @@ export const CreateDrainFilter1$inboundSchema: z.ZodType<
|
|
|
4763
4415
|
});
|
|
4764
4416
|
/** @internal */
|
|
4765
4417
|
export type CreateDrainFilter1$Outbound = {
|
|
4766
|
-
type:
|
|
4418
|
+
type: "basic";
|
|
4767
4419
|
project?: CreateDrainFilterDrainsProject$Outbound | undefined;
|
|
4768
4420
|
log?: CreateDrainFilterDrainsLog$Outbound | undefined;
|
|
4769
4421
|
deployment?: CreateDrainFilterDrainsDeployment$Outbound | undefined;
|
|
@@ -4775,7 +4427,7 @@ export const CreateDrainFilter1$outboundSchema: z.ZodType<
|
|
|
4775
4427
|
z.ZodTypeDef,
|
|
4776
4428
|
CreateDrainFilter1
|
|
4777
4429
|
> = z.object({
|
|
4778
|
-
type:
|
|
4430
|
+
type: z.literal("basic"),
|
|
4779
4431
|
project: z.lazy(() => CreateDrainFilterDrainsProject$outboundSchema)
|
|
4780
4432
|
.optional(),
|
|
4781
4433
|
log: z.lazy(() => CreateDrainFilterDrainsLog$outboundSchema).optional(),
|
|
@@ -4806,13 +4458,13 @@ export const FilterV2Filter$inboundSchema: z.ZodType<
|
|
|
4806
4458
|
z.ZodTypeDef,
|
|
4807
4459
|
unknown
|
|
4808
4460
|
> = z.union([
|
|
4809
|
-
z.lazy(() => CreateDrainFilterDrains2$inboundSchema),
|
|
4810
4461
|
z.lazy(() => CreateDrainFilter1$inboundSchema),
|
|
4462
|
+
z.lazy(() => CreateDrainFilterDrains2$inboundSchema),
|
|
4811
4463
|
]);
|
|
4812
4464
|
/** @internal */
|
|
4813
4465
|
export type FilterV2Filter$Outbound =
|
|
4814
|
-
|
|
|
4815
|
-
|
|
|
4466
|
+
| CreateDrainFilter1$Outbound
|
|
4467
|
+
| CreateDrainFilterDrains2$Outbound;
|
|
4816
4468
|
|
|
4817
4469
|
/** @internal */
|
|
4818
4470
|
export const FilterV2Filter$outboundSchema: z.ZodType<
|
|
@@ -4820,8 +4472,8 @@ export const FilterV2Filter$outboundSchema: z.ZodType<
|
|
|
4820
4472
|
z.ZodTypeDef,
|
|
4821
4473
|
FilterV2Filter
|
|
4822
4474
|
> = z.union([
|
|
4823
|
-
z.lazy(() => CreateDrainFilterDrains2$outboundSchema),
|
|
4824
4475
|
z.lazy(() => CreateDrainFilter1$outboundSchema),
|
|
4476
|
+
z.lazy(() => CreateDrainFilterDrains2$outboundSchema),
|
|
4825
4477
|
]);
|
|
4826
4478
|
|
|
4827
4479
|
export function filterV2FilterToJSON(filterV2Filter: FilterV2Filter): string {
|
|
@@ -4843,16 +4495,16 @@ export const FilterV22$inboundSchema: z.ZodType<
|
|
|
4843
4495
|
z.ZodTypeDef,
|
|
4844
4496
|
unknown
|
|
4845
4497
|
> = z.object({
|
|
4846
|
-
version:
|
|
4498
|
+
version: z.literal("v2"),
|
|
4847
4499
|
filter: z.union([
|
|
4848
|
-
z.lazy(() => CreateDrainFilterDrains2$inboundSchema),
|
|
4849
4500
|
z.lazy(() => CreateDrainFilter1$inboundSchema),
|
|
4501
|
+
z.lazy(() => CreateDrainFilterDrains2$inboundSchema),
|
|
4850
4502
|
]),
|
|
4851
4503
|
});
|
|
4852
4504
|
/** @internal */
|
|
4853
4505
|
export type FilterV22$Outbound = {
|
|
4854
|
-
version:
|
|
4855
|
-
filter:
|
|
4506
|
+
version: "v2";
|
|
4507
|
+
filter: CreateDrainFilter1$Outbound | CreateDrainFilterDrains2$Outbound;
|
|
4856
4508
|
};
|
|
4857
4509
|
|
|
4858
4510
|
/** @internal */
|
|
@@ -4861,10 +4513,10 @@ export const FilterV22$outboundSchema: z.ZodType<
|
|
|
4861
4513
|
z.ZodTypeDef,
|
|
4862
4514
|
FilterV22
|
|
4863
4515
|
> = z.object({
|
|
4864
|
-
version:
|
|
4516
|
+
version: z.literal("v2"),
|
|
4865
4517
|
filter: z.union([
|
|
4866
|
-
z.lazy(() => CreateDrainFilterDrains2$outboundSchema),
|
|
4867
4518
|
z.lazy(() => CreateDrainFilter1$outboundSchema),
|
|
4519
|
+
z.lazy(() => CreateDrainFilterDrains2$outboundSchema),
|
|
4868
4520
|
]),
|
|
4869
4521
|
});
|
|
4870
4522
|
|
|
@@ -4881,26 +4533,17 @@ export function filterV22FromJSON(
|
|
|
4881
4533
|
);
|
|
4882
4534
|
}
|
|
4883
4535
|
|
|
4884
|
-
/** @internal */
|
|
4885
|
-
export const CreateDrainFilterV2DrainsResponseVersion$inboundSchema:
|
|
4886
|
-
z.ZodNativeEnum<typeof CreateDrainFilterV2DrainsResponseVersion> = z
|
|
4887
|
-
.nativeEnum(CreateDrainFilterV2DrainsResponseVersion);
|
|
4888
|
-
/** @internal */
|
|
4889
|
-
export const CreateDrainFilterV2DrainsResponseVersion$outboundSchema:
|
|
4890
|
-
z.ZodNativeEnum<typeof CreateDrainFilterV2DrainsResponseVersion> =
|
|
4891
|
-
CreateDrainFilterV2DrainsResponseVersion$inboundSchema;
|
|
4892
|
-
|
|
4893
4536
|
/** @internal */
|
|
4894
4537
|
export const FilterV21$inboundSchema: z.ZodType<
|
|
4895
4538
|
FilterV21,
|
|
4896
4539
|
z.ZodTypeDef,
|
|
4897
4540
|
unknown
|
|
4898
4541
|
> = z.object({
|
|
4899
|
-
version:
|
|
4542
|
+
version: z.literal("v1"),
|
|
4900
4543
|
});
|
|
4901
4544
|
/** @internal */
|
|
4902
4545
|
export type FilterV21$Outbound = {
|
|
4903
|
-
version:
|
|
4546
|
+
version: "v1";
|
|
4904
4547
|
};
|
|
4905
4548
|
|
|
4906
4549
|
/** @internal */
|
|
@@ -4909,7 +4552,7 @@ export const FilterV21$outboundSchema: z.ZodType<
|
|
|
4909
4552
|
z.ZodTypeDef,
|
|
4910
4553
|
FilterV21
|
|
4911
4554
|
> = z.object({
|
|
4912
|
-
version:
|
|
4555
|
+
version: z.literal("v1"),
|
|
4913
4556
|
});
|
|
4914
4557
|
|
|
4915
4558
|
export function filterV21ToJSON(filterV21: FilterV21): string {
|
|
@@ -4931,11 +4574,11 @@ export const FilterV2$inboundSchema: z.ZodType<
|
|
|
4931
4574
|
z.ZodTypeDef,
|
|
4932
4575
|
unknown
|
|
4933
4576
|
> = z.union([
|
|
4934
|
-
z.lazy(() => FilterV22$inboundSchema),
|
|
4935
4577
|
z.lazy(() => FilterV21$inboundSchema),
|
|
4578
|
+
z.lazy(() => FilterV22$inboundSchema),
|
|
4936
4579
|
]);
|
|
4937
4580
|
/** @internal */
|
|
4938
|
-
export type FilterV2$Outbound =
|
|
4581
|
+
export type FilterV2$Outbound = FilterV21$Outbound | FilterV22$Outbound;
|
|
4939
4582
|
|
|
4940
4583
|
/** @internal */
|
|
4941
4584
|
export const FilterV2$outboundSchema: z.ZodType<
|
|
@@ -4943,8 +4586,8 @@ export const FilterV2$outboundSchema: z.ZodType<
|
|
|
4943
4586
|
z.ZodTypeDef,
|
|
4944
4587
|
FilterV2
|
|
4945
4588
|
> = z.union([
|
|
4946
|
-
z.lazy(() => FilterV22$outboundSchema),
|
|
4947
4589
|
z.lazy(() => FilterV21$outboundSchema),
|
|
4590
|
+
z.lazy(() => FilterV22$outboundSchema),
|
|
4948
4591
|
]);
|
|
4949
4592
|
|
|
4950
4593
|
export function filterV2ToJSON(filterV2: FilterV2): string {
|
|
@@ -4988,13 +4631,13 @@ export const CreateDrainResponseBody1$inboundSchema: z.ZodType<
|
|
|
4988
4631
|
disabledBy: z.string().optional(),
|
|
4989
4632
|
firstErrorTimestamp: z.number().optional(),
|
|
4990
4633
|
source: z.union([
|
|
4991
|
-
z.lazy(() => CreateDrainSource2$inboundSchema),
|
|
4992
4634
|
z.lazy(() => CreateDrainSource1$inboundSchema),
|
|
4635
|
+
z.lazy(() => CreateDrainSource2$inboundSchema),
|
|
4993
4636
|
]),
|
|
4994
4637
|
filter: z.string().optional(),
|
|
4995
4638
|
filterV2: z.union([
|
|
4996
|
-
z.lazy(() => FilterV22$inboundSchema),
|
|
4997
4639
|
z.lazy(() => FilterV21$inboundSchema),
|
|
4640
|
+
z.lazy(() => FilterV22$inboundSchema),
|
|
4998
4641
|
]).optional(),
|
|
4999
4642
|
});
|
|
5000
4643
|
/** @internal */
|
|
@@ -5019,9 +4662,9 @@ export type CreateDrainResponseBody1$Outbound = {
|
|
|
5019
4662
|
disabledReason?: string | undefined;
|
|
5020
4663
|
disabledBy?: string | undefined;
|
|
5021
4664
|
firstErrorTimestamp?: number | undefined;
|
|
5022
|
-
source:
|
|
4665
|
+
source: CreateDrainSource1$Outbound | CreateDrainSource2$Outbound;
|
|
5023
4666
|
filter?: string | undefined;
|
|
5024
|
-
filterV2?:
|
|
4667
|
+
filterV2?: FilterV21$Outbound | FilterV22$Outbound | undefined;
|
|
5025
4668
|
};
|
|
5026
4669
|
|
|
5027
4670
|
/** @internal */
|
|
@@ -5052,13 +4695,13 @@ export const CreateDrainResponseBody1$outboundSchema: z.ZodType<
|
|
|
5052
4695
|
disabledBy: z.string().optional(),
|
|
5053
4696
|
firstErrorTimestamp: z.number().optional(),
|
|
5054
4697
|
source: z.union([
|
|
5055
|
-
z.lazy(() => CreateDrainSource2$outboundSchema),
|
|
5056
4698
|
z.lazy(() => CreateDrainSource1$outboundSchema),
|
|
4699
|
+
z.lazy(() => CreateDrainSource2$outboundSchema),
|
|
5057
4700
|
]),
|
|
5058
4701
|
filter: z.string().optional(),
|
|
5059
4702
|
filterV2: z.union([
|
|
5060
|
-
z.lazy(() => FilterV22$outboundSchema),
|
|
5061
4703
|
z.lazy(() => FilterV21$outboundSchema),
|
|
4704
|
+
z.lazy(() => FilterV22$outboundSchema),
|
|
5062
4705
|
]).optional(),
|
|
5063
4706
|
});
|
|
5064
4707
|
|