@vercel/sdk 1.18.0 → 1.18.2
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 +51 -53
- package/bin/mcp-server.js +1918 -1753
- package/bin/mcp-server.js.map +39 -42
- package/esm/__tests__/accessgroups.test.js +3 -1
- package/esm/__tests__/accessgroups.test.js.map +1 -1
- package/esm/__tests__/checks.test.js +1 -1
- package/esm/__tests__/checks.test.js.map +1 -1
- package/esm/__tests__/domains.test.js +9 -29
- package/esm/__tests__/domains.test.js.map +1 -1
- package/esm/__tests__/drains.test.js +27 -0
- package/esm/__tests__/drains.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__/integrations.test.js +1 -1
- package/esm/__tests__/logdrains.test.js +7 -6
- package/esm/__tests__/logdrains.test.js.map +1 -1
- package/esm/__tests__/security.test.js +11 -1
- package/esm/__tests__/security.test.js.map +1 -1
- package/esm/funcs/integrationsGetBillingPlans.js +2 -0
- package/esm/funcs/integrationsGetBillingPlans.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/mcp-server/mcp-server.js +1 -1
- package/esm/mcp-server/server.d.ts.map +1 -1
- package/esm/mcp-server/server.js +1 -3
- package/esm/mcp-server/server.js.map +1 -1
- package/esm/models/authuser.d.ts +5 -0
- package/esm/models/authuser.d.ts.map +1 -1
- package/esm/models/authuser.js +2 -0
- package/esm/models/authuser.js.map +1 -1
- package/esm/models/buydomainsop.d.ts +4 -4
- package/esm/models/buydomainsop.d.ts.map +1 -1
- package/esm/models/buysingledomainop.d.ts +1 -4
- package/esm/models/buysingledomainop.d.ts.map +1 -1
- package/esm/models/buysingledomainop.js.map +1 -1
- package/esm/models/canceldeploymentop.d.ts +20 -2
- package/esm/models/canceldeploymentop.d.ts.map +1 -1
- package/esm/models/canceldeploymentop.js +19 -2
- package/esm/models/canceldeploymentop.js.map +1 -1
- package/esm/models/createdeploymentop.d.ts +20 -2
- package/esm/models/createdeploymentop.d.ts.map +1 -1
- package/esm/models/createdeploymentop.js +19 -2
- package/esm/models/createdeploymentop.js.map +1 -1
- package/esm/models/createdrainop.d.ts +8 -8
- package/esm/models/createdrainop.d.ts.map +1 -1
- package/esm/models/createdrainop.js +8 -10
- package/esm/models/createdrainop.js.map +1 -1
- package/esm/models/createintegrationstoredirectop.d.ts +220 -152
- package/esm/models/createintegrationstoredirectop.d.ts.map +1 -1
- package/esm/models/createintegrationstoredirectop.js +296 -218
- package/esm/models/createintegrationstoredirectop.js.map +1 -1
- package/esm/models/createprojectop.d.ts +28 -4
- package/esm/models/createprojectop.d.ts.map +1 -1
- package/esm/models/createprojectop.js +25 -4
- package/esm/models/createprojectop.js.map +1 -1
- package/esm/models/createwebhookop.d.ts +4 -0
- package/esm/models/createwebhookop.d.ts.map +1 -1
- package/esm/models/createwebhookop.js +4 -0
- package/esm/models/createwebhookop.js.map +1 -1
- package/esm/models/getalllogdrainsop.d.ts +8 -8
- package/esm/models/getalllogdrainsop.d.ts.map +1 -1
- package/esm/models/getalllogdrainsop.js +8 -10
- package/esm/models/getalllogdrainsop.js.map +1 -1
- package/esm/models/getbillingplansop.d.ts +4 -0
- package/esm/models/getbillingplansop.d.ts.map +1 -1
- package/esm/models/getbillingplansop.js +4 -0
- package/esm/models/getbillingplansop.js.map +1 -1
- package/esm/models/getbulkavailabilityop.d.ts +3 -0
- package/esm/models/getbulkavailabilityop.d.ts.map +1 -1
- package/esm/models/getbulkavailabilityop.js.map +1 -1
- package/esm/models/getconfigurationop.d.ts +55 -31
- package/esm/models/getconfigurationop.d.ts.map +1 -1
- package/esm/models/getconfigurationop.js +42 -30
- package/esm/models/getconfigurationop.js.map +1 -1
- package/esm/models/getconfigurationproductsop.d.ts +200 -200
- package/esm/models/getconfigurationproductsop.js +290 -290
- package/esm/models/getconfigurationsop.d.ts +48 -24
- package/esm/models/getconfigurationsop.d.ts.map +1 -1
- package/esm/models/getconfigurationsop.js +37 -25
- package/esm/models/getconfigurationsop.js.map +1 -1
- package/esm/models/getdeploymentop.d.ts +22 -4
- package/esm/models/getdeploymentop.d.ts.map +1 -1
- package/esm/models/getdeploymentop.js +24 -4
- package/esm/models/getdeploymentop.js.map +1 -1
- package/esm/models/getdomainpriceop.d.ts +36 -15
- package/esm/models/getdomainpriceop.d.ts.map +1 -1
- package/esm/models/getdomainpriceop.js +36 -6
- package/esm/models/getdomainpriceop.js.map +1 -1
- package/esm/models/getdrainop.d.ts +8 -8
- package/esm/models/getdrainop.d.ts.map +1 -1
- package/esm/models/getdrainop.js +8 -10
- package/esm/models/getdrainop.js.map +1 -1
- package/esm/models/getdrainsop.d.ts +8 -8
- package/esm/models/getdrainsop.d.ts.map +1 -1
- package/esm/models/getdrainsop.js +8 -8
- package/esm/models/getdrainsop.js.map +1 -1
- package/esm/models/getinvoiceop.d.ts +10 -0
- package/esm/models/getinvoiceop.d.ts.map +1 -1
- package/esm/models/getinvoiceop.js +4 -0
- package/esm/models/getinvoiceop.js.map +1 -1
- package/esm/models/getorderop.d.ts +135 -51
- package/esm/models/getorderop.d.ts.map +1 -1
- package/esm/models/getorderop.js +138 -24
- package/esm/models/getorderop.js.map +1 -1
- package/esm/models/getprojectsop.d.ts +23 -4
- package/esm/models/getprojectsop.d.ts.map +1 -1
- package/esm/models/getprojectsop.js +23 -4
- package/esm/models/getprojectsop.js.map +1 -1
- package/esm/models/gettldpriceop.d.ts +36 -15
- package/esm/models/gettldpriceop.d.ts.map +1 -1
- package/esm/models/gettldpriceop.js +36 -6
- package/esm/models/gettldpriceop.js.map +1 -1
- package/esm/models/getwebhookop.d.ts +2 -0
- package/esm/models/getwebhookop.d.ts.map +1 -1
- package/esm/models/getwebhookop.js +2 -0
- package/esm/models/getwebhookop.js.map +1 -1
- package/esm/models/getwebhooksop.d.ts +4 -0
- package/esm/models/getwebhooksop.d.ts.map +1 -1
- package/esm/models/getwebhooksop.js +4 -0
- package/esm/models/getwebhooksop.js.map +1 -1
- package/esm/models/renewdomainop.d.ts +1 -4
- package/esm/models/renewdomainop.d.ts.map +1 -1
- package/esm/models/renewdomainop.js.map +1 -1
- package/esm/models/transferindomainop.d.ts +4 -4
- package/esm/models/transferindomainop.d.ts.map +1 -1
- package/esm/models/updatedrainop.d.ts +8 -8
- package/esm/models/updatedrainop.d.ts.map +1 -1
- package/esm/models/updatedrainop.js +8 -12
- package/esm/models/updatedrainop.js.map +1 -1
- package/esm/models/updateinstallationop.d.ts +18 -0
- package/esm/models/updateinstallationop.d.ts.map +1 -1
- package/esm/models/updateinstallationop.js +17 -0
- package/esm/models/updateinstallationop.js.map +1 -1
- package/esm/models/updateprojectdatacacheop.d.ts +23 -4
- package/esm/models/updateprojectdatacacheop.d.ts.map +1 -1
- package/esm/models/updateprojectdatacacheop.js +23 -4
- package/esm/models/updateprojectdatacacheop.js.map +1 -1
- package/esm/models/updateprojectop.d.ts +28 -4
- package/esm/models/updateprojectop.d.ts.map +1 -1
- package/esm/models/updateprojectop.js +25 -4
- package/esm/models/updateprojectop.js.map +1 -1
- package/esm/models/userevent.d.ts +90 -10
- package/esm/models/userevent.d.ts.map +1 -1
- package/esm/models/userevent.js +84 -10
- package/esm/models/userevent.js.map +1 -1
- package/esm/sdk/domains.d.ts +0 -8
- package/esm/sdk/domains.d.ts.map +1 -1
- package/esm/sdk/domains.js +0 -10
- package/esm/sdk/domains.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/accessgroups.test.ts +3 -1
- package/src/__tests__/checks.test.ts +1 -1
- package/src/__tests__/domains.test.ts +11 -31
- package/src/__tests__/drains.test.ts +27 -0
- package/src/__tests__/edgeconfig.test.ts +6 -6
- package/src/__tests__/integrations.test.ts +1 -1
- package/src/__tests__/logdrains.test.ts +7 -6
- package/src/__tests__/security.test.ts +11 -1
- package/src/funcs/integrationsGetBillingPlans.ts +2 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -3
- package/src/models/authuser.ts +7 -0
- package/src/models/buydomainsop.ts +4 -4
- package/src/models/buysingledomainop.ts +1 -4
- package/src/models/canceldeploymentop.ts +33 -4
- package/src/models/createdeploymentop.ts +33 -4
- package/src/models/createdrainop.ts +19 -29
- package/src/models/createintegrationstoredirectop.ts +704 -471
- package/src/models/createprojectop.ts +57 -8
- package/src/models/createwebhookop.ts +4 -0
- package/src/models/getalllogdrainsop.ts +20 -26
- package/src/models/getbillingplansop.ts +8 -0
- package/src/models/getbulkavailabilityop.ts +3 -0
- package/src/models/getconfigurationop.ts +81 -49
- package/src/models/getconfigurationproductsop.ts +627 -627
- package/src/models/getconfigurationsop.ts +72 -40
- package/src/models/getdeploymentop.ts +38 -8
- package/src/models/getdomainpriceop.ts +124 -21
- package/src/models/getdrainop.ts +20 -26
- package/src/models/getdrainsop.ts +20 -24
- package/src/models/getinvoiceop.ts +14 -0
- package/src/models/getorderop.ts +478 -121
- package/src/models/getprojectsop.ts +50 -8
- package/src/models/gettldpriceop.ts +108 -21
- package/src/models/getwebhookop.ts +2 -0
- package/src/models/getwebhooksop.ts +4 -0
- package/src/models/renewdomainop.ts +1 -4
- package/src/models/transferindomainop.ts +4 -4
- package/src/models/updatedrainop.ts +20 -28
- package/src/models/updateinstallationop.ts +30 -0
- package/src/models/updateprojectdatacacheop.ts +50 -8
- package/src/models/updateprojectop.ts +57 -8
- package/src/models/userevent.ts +192 -22
- package/src/sdk/domains.ts +0 -22
- package/tsconfig.json +1 -1
- package/vercel-spec.json +704 -329
|
@@ -79,20 +79,22 @@ export type ResponseBodyIntegration = {
|
|
|
79
79
|
};
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
82
|
+
* The configuration status. Optional. If not defined, assume 'ready'.
|
|
83
83
|
*/
|
|
84
|
-
export const
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
84
|
+
export const GetConfigurationsResponseBodyIntegrationsStatus = {
|
|
85
|
+
Pending: "pending",
|
|
86
|
+
Ready: "ready",
|
|
87
|
+
Onboarding: "onboarding",
|
|
88
|
+
Suspended: "suspended",
|
|
89
|
+
Resumed: "resumed",
|
|
90
|
+
Error: "error",
|
|
91
|
+
Uninstalled: "uninstalled",
|
|
90
92
|
} as const;
|
|
91
93
|
/**
|
|
92
|
-
*
|
|
94
|
+
* The configuration status. Optional. If not defined, assume 'ready'.
|
|
93
95
|
*/
|
|
94
|
-
export type
|
|
95
|
-
typeof
|
|
96
|
+
export type GetConfigurationsResponseBodyIntegrationsStatus = ClosedEnum<
|
|
97
|
+
typeof GetConfigurationsResponseBodyIntegrationsStatus
|
|
96
98
|
>;
|
|
97
99
|
|
|
98
100
|
export const GetConfigurationsResponseBodyIntegrationsType = {
|
|
@@ -149,6 +151,14 @@ export type GetConfigurationsResponseBody2 = {
|
|
|
149
151
|
* The user or team ID that owns the configuration
|
|
150
152
|
*/
|
|
151
153
|
ownerId: string;
|
|
154
|
+
/**
|
|
155
|
+
* The configuration status. Optional. If not defined, assume 'ready'.
|
|
156
|
+
*/
|
|
157
|
+
status?: GetConfigurationsResponseBodyIntegrationsStatus | undefined;
|
|
158
|
+
/**
|
|
159
|
+
* An external identifier defined by the integration vendor.
|
|
160
|
+
*/
|
|
161
|
+
externalId?: string | undefined;
|
|
152
162
|
/**
|
|
153
163
|
* When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access.
|
|
154
164
|
*/
|
|
@@ -156,7 +166,7 @@ export type GetConfigurationsResponseBody2 = {
|
|
|
156
166
|
/**
|
|
157
167
|
* Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
|
|
158
168
|
*/
|
|
159
|
-
source?:
|
|
169
|
+
source?: string | undefined;
|
|
160
170
|
/**
|
|
161
171
|
* The slug of the integration the configuration is created for.
|
|
162
172
|
*/
|
|
@@ -200,20 +210,22 @@ export type GetConfigurationsResponseBody2 = {
|
|
|
200
210
|
};
|
|
201
211
|
|
|
202
212
|
/**
|
|
203
|
-
*
|
|
213
|
+
* The configuration status. Optional. If not defined, assume 'ready'.
|
|
204
214
|
*/
|
|
205
|
-
export const
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
215
|
+
export const GetConfigurationsResponseBodyStatus = {
|
|
216
|
+
Pending: "pending",
|
|
217
|
+
Ready: "ready",
|
|
218
|
+
Onboarding: "onboarding",
|
|
219
|
+
Suspended: "suspended",
|
|
220
|
+
Resumed: "resumed",
|
|
221
|
+
Error: "error",
|
|
222
|
+
Uninstalled: "uninstalled",
|
|
211
223
|
} as const;
|
|
212
224
|
/**
|
|
213
|
-
*
|
|
225
|
+
* The configuration status. Optional. If not defined, assume 'ready'.
|
|
214
226
|
*/
|
|
215
|
-
export type
|
|
216
|
-
typeof
|
|
227
|
+
export type GetConfigurationsResponseBodyStatus = ClosedEnum<
|
|
228
|
+
typeof GetConfigurationsResponseBodyStatus
|
|
217
229
|
>;
|
|
218
230
|
|
|
219
231
|
export const GetConfigurationsResponseBodyType = {
|
|
@@ -273,6 +285,14 @@ export type GetConfigurationsResponseBody1 = {
|
|
|
273
285
|
* The user or team ID that owns the configuration
|
|
274
286
|
*/
|
|
275
287
|
ownerId?: string | undefined;
|
|
288
|
+
/**
|
|
289
|
+
* The configuration status. Optional. If not defined, assume 'ready'.
|
|
290
|
+
*/
|
|
291
|
+
status?: GetConfigurationsResponseBodyStatus | undefined;
|
|
292
|
+
/**
|
|
293
|
+
* An external identifier defined by the integration vendor.
|
|
294
|
+
*/
|
|
295
|
+
externalId?: string | undefined;
|
|
276
296
|
/**
|
|
277
297
|
* When a configuration is limited to access certain projects, this will contain each of the project ID it is allowed to access. If it is not defined, the configuration has full access.
|
|
278
298
|
*/
|
|
@@ -280,7 +300,7 @@ export type GetConfigurationsResponseBody1 = {
|
|
|
280
300
|
/**
|
|
281
301
|
* Source defines where the configuration was installed from. It is used to analyze user engagement for integration installations in product metrics.
|
|
282
302
|
*/
|
|
283
|
-
source?:
|
|
303
|
+
source?: string | undefined;
|
|
284
304
|
/**
|
|
285
305
|
* The slug of the integration the configuration is created for.
|
|
286
306
|
*/
|
|
@@ -458,13 +478,13 @@ export function responseBodyIntegrationFromJSON(
|
|
|
458
478
|
}
|
|
459
479
|
|
|
460
480
|
/** @internal */
|
|
461
|
-
export const
|
|
462
|
-
z.ZodNativeEnum<typeof
|
|
463
|
-
.nativeEnum(
|
|
481
|
+
export const GetConfigurationsResponseBodyIntegrationsStatus$inboundSchema:
|
|
482
|
+
z.ZodNativeEnum<typeof GetConfigurationsResponseBodyIntegrationsStatus> = z
|
|
483
|
+
.nativeEnum(GetConfigurationsResponseBodyIntegrationsStatus);
|
|
464
484
|
/** @internal */
|
|
465
|
-
export const
|
|
466
|
-
z.ZodNativeEnum<typeof
|
|
467
|
-
|
|
485
|
+
export const GetConfigurationsResponseBodyIntegrationsStatus$outboundSchema:
|
|
486
|
+
z.ZodNativeEnum<typeof GetConfigurationsResponseBodyIntegrationsStatus> =
|
|
487
|
+
GetConfigurationsResponseBodyIntegrationsStatus$inboundSchema;
|
|
468
488
|
|
|
469
489
|
/** @internal */
|
|
470
490
|
export const GetConfigurationsResponseBodyIntegrationsType$inboundSchema:
|
|
@@ -507,9 +527,11 @@ export const GetConfigurationsResponseBody2$inboundSchema: z.ZodType<
|
|
|
507
527
|
id: z.string(),
|
|
508
528
|
integrationId: z.string(),
|
|
509
529
|
ownerId: z.string(),
|
|
510
|
-
|
|
511
|
-
source: GetConfigurationsResponseBodyIntegrationsSource$inboundSchema
|
|
530
|
+
status: GetConfigurationsResponseBodyIntegrationsStatus$inboundSchema
|
|
512
531
|
.optional(),
|
|
532
|
+
externalId: z.string().optional(),
|
|
533
|
+
projects: z.array(z.string()).optional(),
|
|
534
|
+
source: z.string().optional(),
|
|
513
535
|
slug: z.string(),
|
|
514
536
|
teamId: z.nullable(z.string()).optional(),
|
|
515
537
|
type: GetConfigurationsResponseBodyIntegrationsType$inboundSchema,
|
|
@@ -533,6 +555,8 @@ export type GetConfigurationsResponseBody2$Outbound = {
|
|
|
533
555
|
id: string;
|
|
534
556
|
integrationId: string;
|
|
535
557
|
ownerId: string;
|
|
558
|
+
status?: string | undefined;
|
|
559
|
+
externalId?: string | undefined;
|
|
536
560
|
projects?: Array<string> | undefined;
|
|
537
561
|
source?: string | undefined;
|
|
538
562
|
slug: string;
|
|
@@ -560,9 +584,11 @@ export const GetConfigurationsResponseBody2$outboundSchema: z.ZodType<
|
|
|
560
584
|
id: z.string(),
|
|
561
585
|
integrationId: z.string(),
|
|
562
586
|
ownerId: z.string(),
|
|
563
|
-
|
|
564
|
-
source: GetConfigurationsResponseBodyIntegrationsSource$outboundSchema
|
|
587
|
+
status: GetConfigurationsResponseBodyIntegrationsStatus$outboundSchema
|
|
565
588
|
.optional(),
|
|
589
|
+
externalId: z.string().optional(),
|
|
590
|
+
projects: z.array(z.string()).optional(),
|
|
591
|
+
source: z.string().optional(),
|
|
566
592
|
slug: z.string(),
|
|
567
593
|
teamId: z.nullable(z.string()).optional(),
|
|
568
594
|
type: GetConfigurationsResponseBodyIntegrationsType$outboundSchema,
|
|
@@ -599,13 +625,13 @@ export function getConfigurationsResponseBody2FromJSON(
|
|
|
599
625
|
}
|
|
600
626
|
|
|
601
627
|
/** @internal */
|
|
602
|
-
export const
|
|
603
|
-
typeof
|
|
604
|
-
> = z.nativeEnum(
|
|
628
|
+
export const GetConfigurationsResponseBodyStatus$inboundSchema: z.ZodNativeEnum<
|
|
629
|
+
typeof GetConfigurationsResponseBodyStatus
|
|
630
|
+
> = z.nativeEnum(GetConfigurationsResponseBodyStatus);
|
|
605
631
|
/** @internal */
|
|
606
|
-
export const
|
|
607
|
-
z.ZodNativeEnum<typeof
|
|
608
|
-
|
|
632
|
+
export const GetConfigurationsResponseBodyStatus$outboundSchema:
|
|
633
|
+
z.ZodNativeEnum<typeof GetConfigurationsResponseBodyStatus> =
|
|
634
|
+
GetConfigurationsResponseBodyStatus$inboundSchema;
|
|
609
635
|
|
|
610
636
|
/** @internal */
|
|
611
637
|
export const GetConfigurationsResponseBodyType$inboundSchema: z.ZodNativeEnum<
|
|
@@ -645,8 +671,10 @@ export const GetConfigurationsResponseBody1$inboundSchema: z.ZodType<
|
|
|
645
671
|
id: z.string().optional(),
|
|
646
672
|
integrationId: z.string().optional(),
|
|
647
673
|
ownerId: z.string().optional(),
|
|
674
|
+
status: GetConfigurationsResponseBodyStatus$inboundSchema.optional(),
|
|
675
|
+
externalId: z.string().optional(),
|
|
648
676
|
projects: z.array(z.string()).optional(),
|
|
649
|
-
source:
|
|
677
|
+
source: z.string().optional(),
|
|
650
678
|
slug: z.string().optional(),
|
|
651
679
|
teamId: z.nullable(z.string()).optional(),
|
|
652
680
|
type: GetConfigurationsResponseBodyType$inboundSchema.optional(),
|
|
@@ -667,6 +695,8 @@ export type GetConfigurationsResponseBody1$Outbound = {
|
|
|
667
695
|
id?: string | undefined;
|
|
668
696
|
integrationId?: string | undefined;
|
|
669
697
|
ownerId?: string | undefined;
|
|
698
|
+
status?: string | undefined;
|
|
699
|
+
externalId?: string | undefined;
|
|
670
700
|
projects?: Array<string> | undefined;
|
|
671
701
|
source?: string | undefined;
|
|
672
702
|
slug?: string | undefined;
|
|
@@ -693,8 +723,10 @@ export const GetConfigurationsResponseBody1$outboundSchema: z.ZodType<
|
|
|
693
723
|
id: z.string().optional(),
|
|
694
724
|
integrationId: z.string().optional(),
|
|
695
725
|
ownerId: z.string().optional(),
|
|
726
|
+
status: GetConfigurationsResponseBodyStatus$outboundSchema.optional(),
|
|
727
|
+
externalId: z.string().optional(),
|
|
696
728
|
projects: z.array(z.string()).optional(),
|
|
697
|
-
source:
|
|
729
|
+
source: z.string().optional(),
|
|
698
730
|
slug: z.string().optional(),
|
|
699
731
|
teamId: z.nullable(z.string()).optional(),
|
|
700
732
|
type: GetConfigurationsResponseBodyType$outboundSchema.optional(),
|
|
@@ -695,7 +695,7 @@ export type GetDeploymentResponseBodyOidcTokenClaims = {
|
|
|
695
695
|
project: string;
|
|
696
696
|
projectId: string;
|
|
697
697
|
environment: string;
|
|
698
|
-
plan
|
|
698
|
+
plan?: string | undefined;
|
|
699
699
|
};
|
|
700
700
|
|
|
701
701
|
/**
|
|
@@ -871,6 +871,21 @@ export type ResponseBodyBuilds = {
|
|
|
871
871
|
config?: { [k: string]: any } | undefined;
|
|
872
872
|
};
|
|
873
873
|
|
|
874
|
+
export const GetDeploymentResponseBodyDeploymentsNodeVersion = {
|
|
875
|
+
TwentyFourDotX: "24.x",
|
|
876
|
+
TwentyTwoDotX: "22.x",
|
|
877
|
+
TwentyDotX: "20.x",
|
|
878
|
+
EighteenDotX: "18.x",
|
|
879
|
+
SixteenDotX: "16.x",
|
|
880
|
+
FourteenDotX: "14.x",
|
|
881
|
+
TwelveDotX: "12.x",
|
|
882
|
+
TenDotX: "10.x",
|
|
883
|
+
EightDot10DotX: "8.10.x",
|
|
884
|
+
} as const;
|
|
885
|
+
export type GetDeploymentResponseBodyDeploymentsNodeVersion = ClosedEnum<
|
|
886
|
+
typeof GetDeploymentResponseBodyDeploymentsNodeVersion
|
|
887
|
+
>;
|
|
888
|
+
|
|
874
889
|
export const ResponseBodyFramework = {
|
|
875
890
|
Blitzjs: "blitzjs",
|
|
876
891
|
Nextjs: "nextjs",
|
|
@@ -950,6 +965,7 @@ export type ResponseBodyWebAnalytics = {
|
|
|
950
965
|
};
|
|
951
966
|
|
|
952
967
|
export type ResponseBodyProjectSettings = {
|
|
968
|
+
nodeVersion?: GetDeploymentResponseBodyDeploymentsNodeVersion | undefined;
|
|
953
969
|
buildCommand?: string | null | undefined;
|
|
954
970
|
devCommand?: string | null | undefined;
|
|
955
971
|
framework?: ResponseBodyFramework | null | undefined;
|
|
@@ -1700,7 +1716,7 @@ export type ResponseBodyOidcTokenClaims = {
|
|
|
1700
1716
|
project: string;
|
|
1701
1717
|
projectId: string;
|
|
1702
1718
|
environment: string;
|
|
1703
|
-
plan
|
|
1719
|
+
plan?: string | undefined;
|
|
1704
1720
|
};
|
|
1705
1721
|
|
|
1706
1722
|
export const ResponseBodyPlan = {
|
|
@@ -4626,7 +4642,7 @@ export const GetDeploymentResponseBodyOidcTokenClaims$inboundSchema: z.ZodType<
|
|
|
4626
4642
|
project: z.string(),
|
|
4627
4643
|
project_id: z.string(),
|
|
4628
4644
|
environment: z.string(),
|
|
4629
|
-
plan: z.string(),
|
|
4645
|
+
plan: z.string().optional(),
|
|
4630
4646
|
}).transform((v) => {
|
|
4631
4647
|
return remap$(v, {
|
|
4632
4648
|
"owner_id": "ownerId",
|
|
@@ -4644,7 +4660,7 @@ export type GetDeploymentResponseBodyOidcTokenClaims$Outbound = {
|
|
|
4644
4660
|
project: string;
|
|
4645
4661
|
project_id: string;
|
|
4646
4662
|
environment: string;
|
|
4647
|
-
plan
|
|
4663
|
+
plan?: string | undefined;
|
|
4648
4664
|
};
|
|
4649
4665
|
|
|
4650
4666
|
/** @internal */
|
|
@@ -4662,7 +4678,7 @@ export const GetDeploymentResponseBodyOidcTokenClaims$outboundSchema: z.ZodType<
|
|
|
4662
4678
|
project: z.string(),
|
|
4663
4679
|
projectId: z.string(),
|
|
4664
4680
|
environment: z.string(),
|
|
4665
|
-
plan: z.string(),
|
|
4681
|
+
plan: z.string().optional(),
|
|
4666
4682
|
}).transform((v) => {
|
|
4667
4683
|
return remap$(v, {
|
|
4668
4684
|
ownerId: "owner_id",
|
|
@@ -5092,6 +5108,15 @@ export function responseBodyBuildsFromJSON(
|
|
|
5092
5108
|
);
|
|
5093
5109
|
}
|
|
5094
5110
|
|
|
5111
|
+
/** @internal */
|
|
5112
|
+
export const GetDeploymentResponseBodyDeploymentsNodeVersion$inboundSchema:
|
|
5113
|
+
z.ZodNativeEnum<typeof GetDeploymentResponseBodyDeploymentsNodeVersion> = z
|
|
5114
|
+
.nativeEnum(GetDeploymentResponseBodyDeploymentsNodeVersion);
|
|
5115
|
+
/** @internal */
|
|
5116
|
+
export const GetDeploymentResponseBodyDeploymentsNodeVersion$outboundSchema:
|
|
5117
|
+
z.ZodNativeEnum<typeof GetDeploymentResponseBodyDeploymentsNodeVersion> =
|
|
5118
|
+
GetDeploymentResponseBodyDeploymentsNodeVersion$inboundSchema;
|
|
5119
|
+
|
|
5095
5120
|
/** @internal */
|
|
5096
5121
|
export const ResponseBodyFramework$inboundSchema: z.ZodNativeEnum<
|
|
5097
5122
|
typeof ResponseBodyFramework
|
|
@@ -5212,6 +5237,8 @@ export const ResponseBodyProjectSettings$inboundSchema: z.ZodType<
|
|
|
5212
5237
|
z.ZodTypeDef,
|
|
5213
5238
|
unknown
|
|
5214
5239
|
> = z.object({
|
|
5240
|
+
nodeVersion: GetDeploymentResponseBodyDeploymentsNodeVersion$inboundSchema
|
|
5241
|
+
.optional(),
|
|
5215
5242
|
buildCommand: z.nullable(z.string()).optional(),
|
|
5216
5243
|
devCommand: z.nullable(z.string()).optional(),
|
|
5217
5244
|
framework: z.nullable(ResponseBodyFramework$inboundSchema).optional(),
|
|
@@ -5224,6 +5251,7 @@ export const ResponseBodyProjectSettings$inboundSchema: z.ZodType<
|
|
|
5224
5251
|
});
|
|
5225
5252
|
/** @internal */
|
|
5226
5253
|
export type ResponseBodyProjectSettings$Outbound = {
|
|
5254
|
+
nodeVersion?: string | undefined;
|
|
5227
5255
|
buildCommand?: string | null | undefined;
|
|
5228
5256
|
devCommand?: string | null | undefined;
|
|
5229
5257
|
framework?: string | null | undefined;
|
|
@@ -5240,6 +5268,8 @@ export const ResponseBodyProjectSettings$outboundSchema: z.ZodType<
|
|
|
5240
5268
|
z.ZodTypeDef,
|
|
5241
5269
|
ResponseBodyProjectSettings
|
|
5242
5270
|
> = z.object({
|
|
5271
|
+
nodeVersion: GetDeploymentResponseBodyDeploymentsNodeVersion$outboundSchema
|
|
5272
|
+
.optional(),
|
|
5243
5273
|
buildCommand: z.nullable(z.string()).optional(),
|
|
5244
5274
|
devCommand: z.nullable(z.string()).optional(),
|
|
5245
5275
|
framework: z.nullable(ResponseBodyFramework$outboundSchema).optional(),
|
|
@@ -7681,7 +7711,7 @@ export const ResponseBodyOidcTokenClaims$inboundSchema: z.ZodType<
|
|
|
7681
7711
|
project: z.string(),
|
|
7682
7712
|
project_id: z.string(),
|
|
7683
7713
|
environment: z.string(),
|
|
7684
|
-
plan: z.string(),
|
|
7714
|
+
plan: z.string().optional(),
|
|
7685
7715
|
}).transform((v) => {
|
|
7686
7716
|
return remap$(v, {
|
|
7687
7717
|
"owner_id": "ownerId",
|
|
@@ -7699,7 +7729,7 @@ export type ResponseBodyOidcTokenClaims$Outbound = {
|
|
|
7699
7729
|
project: string;
|
|
7700
7730
|
project_id: string;
|
|
7701
7731
|
environment: string;
|
|
7702
|
-
plan
|
|
7732
|
+
plan?: string | undefined;
|
|
7703
7733
|
};
|
|
7704
7734
|
|
|
7705
7735
|
/** @internal */
|
|
@@ -7717,7 +7747,7 @@ export const ResponseBodyOidcTokenClaims$outboundSchema: z.ZodType<
|
|
|
7717
7747
|
project: z.string(),
|
|
7718
7748
|
projectId: z.string(),
|
|
7719
7749
|
environment: z.string(),
|
|
7720
|
-
plan: z.string(),
|
|
7750
|
+
plan: z.string().optional(),
|
|
7721
7751
|
}).transform((v) => {
|
|
7722
7752
|
return remap$(v, {
|
|
7723
7753
|
ownerId: "owner_id",
|
|
@@ -33,6 +33,9 @@ import {
|
|
|
33
33
|
|
|
34
34
|
export type GetDomainPriceRequest = {
|
|
35
35
|
domain: string;
|
|
36
|
+
/**
|
|
37
|
+
* The number of years to get the price for. If not provided, the minimum number of years for the TLD will be used.
|
|
38
|
+
*/
|
|
36
39
|
years?: string | undefined;
|
|
37
40
|
teamId?: string | undefined;
|
|
38
41
|
};
|
|
@@ -46,23 +49,20 @@ export type GetDomainPriceDomainsRegistrarResponseBody =
|
|
|
46
49
|
| TldNotSupported
|
|
47
50
|
| HttpApiDecodeError;
|
|
48
51
|
|
|
52
|
+
export type GetDomainPricePurchasePrice = number | string;
|
|
53
|
+
|
|
54
|
+
export type GetDomainPriceRenewalPrice = number | string;
|
|
55
|
+
|
|
56
|
+
export type GetDomainPriceTransferPrice = number | string;
|
|
57
|
+
|
|
49
58
|
/**
|
|
50
59
|
* Success
|
|
51
60
|
*/
|
|
52
61
|
export type GetDomainPriceResponseBody = {
|
|
53
62
|
years: number;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
purchasePrice: number | null;
|
|
58
|
-
/**
|
|
59
|
-
* The price for renewing this domain for the given number of years. If null, the domain cannot be renewed for the given number of years.
|
|
60
|
-
*/
|
|
61
|
-
renewalPrice: number | null;
|
|
62
|
-
/**
|
|
63
|
-
* The price for transferring this domain in for the given number of years. If null, the domain cannot be transferred in for the given number of years.
|
|
64
|
-
*/
|
|
65
|
-
transferPrice: number | null;
|
|
63
|
+
purchasePrice: number | string;
|
|
64
|
+
renewalPrice: number | string;
|
|
65
|
+
transferPrice: number | string;
|
|
66
66
|
};
|
|
67
67
|
|
|
68
68
|
/** @internal */
|
|
@@ -165,6 +165,109 @@ export function getDomainPriceDomainsRegistrarResponseBodyFromJSON(
|
|
|
165
165
|
);
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
+
/** @internal */
|
|
169
|
+
export const GetDomainPricePurchasePrice$inboundSchema: z.ZodType<
|
|
170
|
+
GetDomainPricePurchasePrice,
|
|
171
|
+
z.ZodTypeDef,
|
|
172
|
+
unknown
|
|
173
|
+
> = z.union([z.number(), z.string()]);
|
|
174
|
+
/** @internal */
|
|
175
|
+
export type GetDomainPricePurchasePrice$Outbound = number | string;
|
|
176
|
+
|
|
177
|
+
/** @internal */
|
|
178
|
+
export const GetDomainPricePurchasePrice$outboundSchema: z.ZodType<
|
|
179
|
+
GetDomainPricePurchasePrice$Outbound,
|
|
180
|
+
z.ZodTypeDef,
|
|
181
|
+
GetDomainPricePurchasePrice
|
|
182
|
+
> = z.union([z.number(), z.string()]);
|
|
183
|
+
|
|
184
|
+
export function getDomainPricePurchasePriceToJSON(
|
|
185
|
+
getDomainPricePurchasePrice: GetDomainPricePurchasePrice,
|
|
186
|
+
): string {
|
|
187
|
+
return JSON.stringify(
|
|
188
|
+
GetDomainPricePurchasePrice$outboundSchema.parse(
|
|
189
|
+
getDomainPricePurchasePrice,
|
|
190
|
+
),
|
|
191
|
+
);
|
|
192
|
+
}
|
|
193
|
+
export function getDomainPricePurchasePriceFromJSON(
|
|
194
|
+
jsonString: string,
|
|
195
|
+
): SafeParseResult<GetDomainPricePurchasePrice, SDKValidationError> {
|
|
196
|
+
return safeParse(
|
|
197
|
+
jsonString,
|
|
198
|
+
(x) => GetDomainPricePurchasePrice$inboundSchema.parse(JSON.parse(x)),
|
|
199
|
+
`Failed to parse 'GetDomainPricePurchasePrice' from JSON`,
|
|
200
|
+
);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/** @internal */
|
|
204
|
+
export const GetDomainPriceRenewalPrice$inboundSchema: z.ZodType<
|
|
205
|
+
GetDomainPriceRenewalPrice,
|
|
206
|
+
z.ZodTypeDef,
|
|
207
|
+
unknown
|
|
208
|
+
> = z.union([z.number(), z.string()]);
|
|
209
|
+
/** @internal */
|
|
210
|
+
export type GetDomainPriceRenewalPrice$Outbound = number | string;
|
|
211
|
+
|
|
212
|
+
/** @internal */
|
|
213
|
+
export const GetDomainPriceRenewalPrice$outboundSchema: z.ZodType<
|
|
214
|
+
GetDomainPriceRenewalPrice$Outbound,
|
|
215
|
+
z.ZodTypeDef,
|
|
216
|
+
GetDomainPriceRenewalPrice
|
|
217
|
+
> = z.union([z.number(), z.string()]);
|
|
218
|
+
|
|
219
|
+
export function getDomainPriceRenewalPriceToJSON(
|
|
220
|
+
getDomainPriceRenewalPrice: GetDomainPriceRenewalPrice,
|
|
221
|
+
): string {
|
|
222
|
+
return JSON.stringify(
|
|
223
|
+
GetDomainPriceRenewalPrice$outboundSchema.parse(getDomainPriceRenewalPrice),
|
|
224
|
+
);
|
|
225
|
+
}
|
|
226
|
+
export function getDomainPriceRenewalPriceFromJSON(
|
|
227
|
+
jsonString: string,
|
|
228
|
+
): SafeParseResult<GetDomainPriceRenewalPrice, SDKValidationError> {
|
|
229
|
+
return safeParse(
|
|
230
|
+
jsonString,
|
|
231
|
+
(x) => GetDomainPriceRenewalPrice$inboundSchema.parse(JSON.parse(x)),
|
|
232
|
+
`Failed to parse 'GetDomainPriceRenewalPrice' from JSON`,
|
|
233
|
+
);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/** @internal */
|
|
237
|
+
export const GetDomainPriceTransferPrice$inboundSchema: z.ZodType<
|
|
238
|
+
GetDomainPriceTransferPrice,
|
|
239
|
+
z.ZodTypeDef,
|
|
240
|
+
unknown
|
|
241
|
+
> = z.union([z.number(), z.string()]);
|
|
242
|
+
/** @internal */
|
|
243
|
+
export type GetDomainPriceTransferPrice$Outbound = number | string;
|
|
244
|
+
|
|
245
|
+
/** @internal */
|
|
246
|
+
export const GetDomainPriceTransferPrice$outboundSchema: z.ZodType<
|
|
247
|
+
GetDomainPriceTransferPrice$Outbound,
|
|
248
|
+
z.ZodTypeDef,
|
|
249
|
+
GetDomainPriceTransferPrice
|
|
250
|
+
> = z.union([z.number(), z.string()]);
|
|
251
|
+
|
|
252
|
+
export function getDomainPriceTransferPriceToJSON(
|
|
253
|
+
getDomainPriceTransferPrice: GetDomainPriceTransferPrice,
|
|
254
|
+
): string {
|
|
255
|
+
return JSON.stringify(
|
|
256
|
+
GetDomainPriceTransferPrice$outboundSchema.parse(
|
|
257
|
+
getDomainPriceTransferPrice,
|
|
258
|
+
),
|
|
259
|
+
);
|
|
260
|
+
}
|
|
261
|
+
export function getDomainPriceTransferPriceFromJSON(
|
|
262
|
+
jsonString: string,
|
|
263
|
+
): SafeParseResult<GetDomainPriceTransferPrice, SDKValidationError> {
|
|
264
|
+
return safeParse(
|
|
265
|
+
jsonString,
|
|
266
|
+
(x) => GetDomainPriceTransferPrice$inboundSchema.parse(JSON.parse(x)),
|
|
267
|
+
`Failed to parse 'GetDomainPriceTransferPrice' from JSON`,
|
|
268
|
+
);
|
|
269
|
+
}
|
|
270
|
+
|
|
168
271
|
/** @internal */
|
|
169
272
|
export const GetDomainPriceResponseBody$inboundSchema: z.ZodType<
|
|
170
273
|
GetDomainPriceResponseBody,
|
|
@@ -172,16 +275,16 @@ export const GetDomainPriceResponseBody$inboundSchema: z.ZodType<
|
|
|
172
275
|
unknown
|
|
173
276
|
> = z.object({
|
|
174
277
|
years: z.number(),
|
|
175
|
-
purchasePrice: z.
|
|
176
|
-
renewalPrice: z.
|
|
177
|
-
transferPrice: z.
|
|
278
|
+
purchasePrice: z.union([z.number(), z.string()]),
|
|
279
|
+
renewalPrice: z.union([z.number(), z.string()]),
|
|
280
|
+
transferPrice: z.union([z.number(), z.string()]),
|
|
178
281
|
});
|
|
179
282
|
/** @internal */
|
|
180
283
|
export type GetDomainPriceResponseBody$Outbound = {
|
|
181
284
|
years: number;
|
|
182
|
-
purchasePrice: number |
|
|
183
|
-
renewalPrice: number |
|
|
184
|
-
transferPrice: number |
|
|
285
|
+
purchasePrice: number | string;
|
|
286
|
+
renewalPrice: number | string;
|
|
287
|
+
transferPrice: number | string;
|
|
185
288
|
};
|
|
186
289
|
|
|
187
290
|
/** @internal */
|
|
@@ -191,9 +294,9 @@ export const GetDomainPriceResponseBody$outboundSchema: z.ZodType<
|
|
|
191
294
|
GetDomainPriceResponseBody
|
|
192
295
|
> = z.object({
|
|
193
296
|
years: z.number(),
|
|
194
|
-
purchasePrice: z.
|
|
195
|
-
renewalPrice: z.
|
|
196
|
-
transferPrice: z.
|
|
297
|
+
purchasePrice: z.union([z.number(), z.string()]),
|
|
298
|
+
renewalPrice: z.union([z.number(), z.string()]),
|
|
299
|
+
transferPrice: z.union([z.number(), z.string()]),
|
|
197
300
|
});
|
|
198
301
|
|
|
199
302
|
export function getDomainPriceResponseBodyToJSON(
|
package/src/models/getdrainop.ts
CHANGED
|
@@ -275,13 +275,12 @@ export type GetDrainResponseBody2 = {
|
|
|
275
275
|
createdAt: number;
|
|
276
276
|
updatedAt: number;
|
|
277
277
|
projectIds?: Array<string> | undefined;
|
|
278
|
-
schemas
|
|
279
|
-
delivery
|
|
278
|
+
schemas: GetDrainResponseBodyDrainsSchemas;
|
|
279
|
+
delivery:
|
|
280
280
|
| GetDrainDeliveryDrains1
|
|
281
281
|
| GetDrainDeliveryDrains2
|
|
282
282
|
| GetDrainDeliveryDrains3
|
|
283
|
-
| GetDrainDeliveryDrains4
|
|
284
|
-
| undefined;
|
|
283
|
+
| GetDrainDeliveryDrains4;
|
|
285
284
|
sampling?: Array<GetDrainResponseBodyDrainsSampling> | undefined;
|
|
286
285
|
teamId?: string | null | undefined;
|
|
287
286
|
status?: GetDrainResponseBodyDrainsStatus | undefined;
|
|
@@ -525,13 +524,12 @@ export type GetDrainResponseBody1 = {
|
|
|
525
524
|
createdAt: number;
|
|
526
525
|
updatedAt: number;
|
|
527
526
|
projectIds?: Array<string> | undefined;
|
|
528
|
-
schemas
|
|
529
|
-
delivery
|
|
527
|
+
schemas: GetDrainResponseBodySchemas;
|
|
528
|
+
delivery:
|
|
530
529
|
| GetDrainDelivery1
|
|
531
530
|
| GetDrainDelivery2
|
|
532
531
|
| GetDrainDelivery3
|
|
533
|
-
| GetDrainDelivery4
|
|
534
|
-
| undefined;
|
|
532
|
+
| GetDrainDelivery4;
|
|
535
533
|
sampling?: Array<GetDrainResponseBodySampling> | undefined;
|
|
536
534
|
teamId?: string | null | undefined;
|
|
537
535
|
status?: GetDrainResponseBodyStatus | undefined;
|
|
@@ -2102,14 +2100,13 @@ export const GetDrainResponseBody2$inboundSchema: z.ZodType<
|
|
|
2102
2100
|
createdAt: z.number(),
|
|
2103
2101
|
updatedAt: z.number(),
|
|
2104
2102
|
projectIds: z.array(z.string()).optional(),
|
|
2105
|
-
schemas: z.lazy(() => GetDrainResponseBodyDrainsSchemas$inboundSchema)
|
|
2106
|
-
.optional(),
|
|
2103
|
+
schemas: z.lazy(() => GetDrainResponseBodyDrainsSchemas$inboundSchema),
|
|
2107
2104
|
delivery: z.union([
|
|
2108
2105
|
z.lazy(() => GetDrainDeliveryDrains1$inboundSchema),
|
|
2109
2106
|
z.lazy(() => GetDrainDeliveryDrains2$inboundSchema),
|
|
2110
2107
|
z.lazy(() => GetDrainDeliveryDrains3$inboundSchema),
|
|
2111
2108
|
z.lazy(() => GetDrainDeliveryDrains4$inboundSchema),
|
|
2112
|
-
])
|
|
2109
|
+
]),
|
|
2113
2110
|
sampling: z.array(
|
|
2114
2111
|
z.lazy(() => GetDrainResponseBodyDrainsSampling$inboundSchema),
|
|
2115
2112
|
).optional(),
|
|
@@ -2145,13 +2142,12 @@ export type GetDrainResponseBody2$Outbound = {
|
|
|
2145
2142
|
createdAt: number;
|
|
2146
2143
|
updatedAt: number;
|
|
2147
2144
|
projectIds?: Array<string> | undefined;
|
|
2148
|
-
schemas
|
|
2149
|
-
delivery
|
|
2145
|
+
schemas: GetDrainResponseBodyDrainsSchemas$Outbound;
|
|
2146
|
+
delivery:
|
|
2150
2147
|
| GetDrainDeliveryDrains1$Outbound
|
|
2151
2148
|
| GetDrainDeliveryDrains2$Outbound
|
|
2152
2149
|
| GetDrainDeliveryDrains3$Outbound
|
|
2153
|
-
| GetDrainDeliveryDrains4$Outbound
|
|
2154
|
-
| undefined;
|
|
2150
|
+
| GetDrainDeliveryDrains4$Outbound;
|
|
2155
2151
|
sampling?: Array<GetDrainResponseBodyDrainsSampling$Outbound> | undefined;
|
|
2156
2152
|
teamId?: string | null | undefined;
|
|
2157
2153
|
status?: string | undefined;
|
|
@@ -2186,14 +2182,13 @@ export const GetDrainResponseBody2$outboundSchema: z.ZodType<
|
|
|
2186
2182
|
createdAt: z.number(),
|
|
2187
2183
|
updatedAt: z.number(),
|
|
2188
2184
|
projectIds: z.array(z.string()).optional(),
|
|
2189
|
-
schemas: z.lazy(() => GetDrainResponseBodyDrainsSchemas$outboundSchema)
|
|
2190
|
-
.optional(),
|
|
2185
|
+
schemas: z.lazy(() => GetDrainResponseBodyDrainsSchemas$outboundSchema),
|
|
2191
2186
|
delivery: z.union([
|
|
2192
2187
|
z.lazy(() => GetDrainDeliveryDrains1$outboundSchema),
|
|
2193
2188
|
z.lazy(() => GetDrainDeliveryDrains2$outboundSchema),
|
|
2194
2189
|
z.lazy(() => GetDrainDeliveryDrains3$outboundSchema),
|
|
2195
2190
|
z.lazy(() => GetDrainDeliveryDrains4$outboundSchema),
|
|
2196
|
-
])
|
|
2191
|
+
]),
|
|
2197
2192
|
sampling: z.array(
|
|
2198
2193
|
z.lazy(() => GetDrainResponseBodyDrainsSampling$outboundSchema),
|
|
2199
2194
|
).optional(),
|
|
@@ -3553,13 +3548,13 @@ export const GetDrainResponseBody1$inboundSchema: z.ZodType<
|
|
|
3553
3548
|
createdAt: z.number(),
|
|
3554
3549
|
updatedAt: z.number(),
|
|
3555
3550
|
projectIds: z.array(z.string()).optional(),
|
|
3556
|
-
schemas: z.lazy(() => GetDrainResponseBodySchemas$inboundSchema)
|
|
3551
|
+
schemas: z.lazy(() => GetDrainResponseBodySchemas$inboundSchema),
|
|
3557
3552
|
delivery: z.union([
|
|
3558
3553
|
z.lazy(() => GetDrainDelivery1$inboundSchema),
|
|
3559
3554
|
z.lazy(() => GetDrainDelivery2$inboundSchema),
|
|
3560
3555
|
z.lazy(() => GetDrainDelivery3$inboundSchema),
|
|
3561
3556
|
z.lazy(() => GetDrainDelivery4$inboundSchema),
|
|
3562
|
-
])
|
|
3557
|
+
]),
|
|
3563
3558
|
sampling: z.array(z.lazy(() => GetDrainResponseBodySampling$inboundSchema))
|
|
3564
3559
|
.optional(),
|
|
3565
3560
|
teamId: z.nullable(z.string()).optional(),
|
|
@@ -3586,13 +3581,12 @@ export type GetDrainResponseBody1$Outbound = {
|
|
|
3586
3581
|
createdAt: number;
|
|
3587
3582
|
updatedAt: number;
|
|
3588
3583
|
projectIds?: Array<string> | undefined;
|
|
3589
|
-
schemas
|
|
3590
|
-
delivery
|
|
3584
|
+
schemas: GetDrainResponseBodySchemas$Outbound;
|
|
3585
|
+
delivery:
|
|
3591
3586
|
| GetDrainDelivery1$Outbound
|
|
3592
3587
|
| GetDrainDelivery2$Outbound
|
|
3593
3588
|
| GetDrainDelivery3$Outbound
|
|
3594
|
-
| GetDrainDelivery4$Outbound
|
|
3595
|
-
| undefined;
|
|
3589
|
+
| GetDrainDelivery4$Outbound;
|
|
3596
3590
|
sampling?: Array<GetDrainResponseBodySampling$Outbound> | undefined;
|
|
3597
3591
|
teamId?: string | null | undefined;
|
|
3598
3592
|
status?: string | undefined;
|
|
@@ -3620,13 +3614,13 @@ export const GetDrainResponseBody1$outboundSchema: z.ZodType<
|
|
|
3620
3614
|
createdAt: z.number(),
|
|
3621
3615
|
updatedAt: z.number(),
|
|
3622
3616
|
projectIds: z.array(z.string()).optional(),
|
|
3623
|
-
schemas: z.lazy(() => GetDrainResponseBodySchemas$outboundSchema)
|
|
3617
|
+
schemas: z.lazy(() => GetDrainResponseBodySchemas$outboundSchema),
|
|
3624
3618
|
delivery: z.union([
|
|
3625
3619
|
z.lazy(() => GetDrainDelivery1$outboundSchema),
|
|
3626
3620
|
z.lazy(() => GetDrainDelivery2$outboundSchema),
|
|
3627
3621
|
z.lazy(() => GetDrainDelivery3$outboundSchema),
|
|
3628
3622
|
z.lazy(() => GetDrainDelivery4$outboundSchema),
|
|
3629
|
-
])
|
|
3623
|
+
]),
|
|
3630
3624
|
sampling: z.array(z.lazy(() => GetDrainResponseBodySampling$outboundSchema))
|
|
3631
3625
|
.optional(),
|
|
3632
3626
|
teamId: z.nullable(z.string()).optional(),
|