@cloudfleet/sdk 0.0.1-11060fb → 0.0.1-19f2280
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/dist/client/client.d.ts +3 -0
- package/dist/client/client.d.ts.map +1 -0
- package/dist/client/client.js +144 -0
- package/dist/client/client.js.map +1 -0
- package/dist/client/index.d.ts +8 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +5 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.d.ts +120 -0
- package/dist/client/types.d.ts.map +1 -0
- package/dist/client/types.js +2 -0
- package/dist/client/types.js.map +1 -0
- package/dist/client/utils.d.ts +46 -0
- package/dist/client/utils.d.ts.map +1 -0
- package/dist/client/utils.js +285 -0
- package/dist/client/utils.js.map +1 -0
- package/dist/client.gen.d.ts +2 -2
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +1 -1
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.d.ts +19 -0
- package/dist/core/auth.d.ts.map +1 -0
- package/dist/core/auth.js +14 -0
- package/dist/core/auth.js.map +1 -0
- package/dist/core/bodySerializer.d.ts +18 -0
- package/dist/core/bodySerializer.d.ts.map +1 -0
- package/dist/core/bodySerializer.js +54 -0
- package/dist/core/bodySerializer.js.map +1 -0
- package/dist/core/params.d.ts +24 -0
- package/dist/core/params.d.ts.map +1 -0
- package/dist/core/params.js +88 -0
- package/dist/core/params.js.map +1 -0
- package/dist/core/pathSerializer.d.ts +34 -0
- package/dist/core/pathSerializer.d.ts.map +1 -0
- package/dist/core/pathSerializer.js +114 -0
- package/dist/core/pathSerializer.js.map +1 -0
- package/dist/core/types.d.ts +74 -0
- package/dist/core/types.d.ts.map +1 -0
- package/dist/core/types.js +2 -0
- package/dist/core/types.js.map +1 -0
- package/dist/schemas.gen.d.ts +57 -102
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +57 -111
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +56 -63
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +21 -21
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +24 -32
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1648 -170
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +471 -51
- package/dist/zod.gen.js.map +1 -1
- package/package.json +5 -6
package/dist/zod.gen.d.ts
CHANGED
|
@@ -138,18 +138,18 @@ export declare const zChartUpdateInput: z.ZodObject<{
|
|
|
138
138
|
}>;
|
|
139
139
|
export declare const zClusterCreateInput: z.ZodObject<{
|
|
140
140
|
name: z.ZodString;
|
|
141
|
-
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1"]>>;
|
|
142
141
|
tier: z.ZodEnum<["basic", "pro"]>;
|
|
142
|
+
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1", "europe-central-1a"]>>;
|
|
143
143
|
version_channel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
144
144
|
}, "strip", z.ZodTypeAny, {
|
|
145
145
|
name: string;
|
|
146
146
|
version_channel: string;
|
|
147
147
|
tier: "basic" | "pro";
|
|
148
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
148
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
149
149
|
}, {
|
|
150
150
|
name: string;
|
|
151
151
|
tier: "basic" | "pro";
|
|
152
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
152
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
153
153
|
version_channel?: string | undefined;
|
|
154
154
|
}>;
|
|
155
155
|
export declare const zClusterJoinInformation: z.ZodObject<{
|
|
@@ -216,8 +216,8 @@ export declare const zClusterJoinInformation: z.ZodObject<{
|
|
|
216
216
|
}>;
|
|
217
217
|
export declare const zCluster: z.ZodObject<{
|
|
218
218
|
name: z.ZodString;
|
|
219
|
-
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1"]>>;
|
|
220
219
|
tier: z.ZodEnum<["basic", "pro"]>;
|
|
220
|
+
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1", "europe-central-1a"]>>;
|
|
221
221
|
version_channel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
222
222
|
id: z.ZodString;
|
|
223
223
|
status: z.ZodEnum<["active", "deleted", "creating", "deployed", "failed", "updating"]>;
|
|
@@ -234,7 +234,7 @@ export declare const zCluster: z.ZodObject<{
|
|
|
234
234
|
version_channel: string;
|
|
235
235
|
tier: "basic" | "pro";
|
|
236
236
|
ready?: boolean | undefined;
|
|
237
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
237
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
238
238
|
version_current?: string | undefined;
|
|
239
239
|
created_at?: string | undefined;
|
|
240
240
|
updated_at?: string | undefined;
|
|
@@ -246,7 +246,7 @@ export declare const zCluster: z.ZodObject<{
|
|
|
246
246
|
status: "failed" | "active" | "deleted" | "creating" | "deployed" | "updating";
|
|
247
247
|
tier: "basic" | "pro";
|
|
248
248
|
ready?: boolean | undefined;
|
|
249
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
249
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
250
250
|
version_channel?: string | undefined;
|
|
251
251
|
version_current?: string | undefined;
|
|
252
252
|
created_at?: string | undefined;
|
|
@@ -256,11 +256,14 @@ export declare const zCluster: z.ZodObject<{
|
|
|
256
256
|
}>;
|
|
257
257
|
export declare const zClusterUpdateInput: z.ZodObject<{
|
|
258
258
|
name: z.ZodOptional<z.ZodString>;
|
|
259
|
+
tier: z.ZodEnum<["basic", "pro"]>;
|
|
259
260
|
version_channel: z.ZodOptional<z.ZodString>;
|
|
260
261
|
}, "strip", z.ZodTypeAny, {
|
|
262
|
+
tier: "basic" | "pro";
|
|
261
263
|
name?: string | undefined;
|
|
262
264
|
version_channel?: string | undefined;
|
|
263
265
|
}, {
|
|
266
|
+
tier: "basic" | "pro";
|
|
264
267
|
name?: string | undefined;
|
|
265
268
|
version_channel?: string | undefined;
|
|
266
269
|
}>;
|
|
@@ -282,25 +285,16 @@ export declare const zFleetCreateInput: z.ZodObject<{
|
|
|
282
285
|
project: string;
|
|
283
286
|
enabled?: boolean | undefined;
|
|
284
287
|
}>>;
|
|
285
|
-
hetzner: z.ZodOptional<z.
|
|
288
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
286
289
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
287
|
-
apiKey: z.
|
|
290
|
+
apiKey: z.ZodString;
|
|
288
291
|
}, "strip", z.ZodTypeAny, {
|
|
292
|
+
apiKey: string;
|
|
289
293
|
enabled: boolean;
|
|
290
|
-
apiKey?: string | undefined;
|
|
291
294
|
}, {
|
|
292
|
-
apiKey
|
|
295
|
+
apiKey: string;
|
|
293
296
|
enabled?: boolean | undefined;
|
|
294
|
-
}
|
|
295
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
296
|
-
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
297
|
-
}, "strip", z.ZodTypeAny, {
|
|
298
|
-
enabled: boolean;
|
|
299
|
-
apiKey?: string | undefined;
|
|
300
|
-
}, {
|
|
301
|
-
apiKey?: string | undefined;
|
|
302
|
-
enabled?: boolean | undefined;
|
|
303
|
-
}>]>>;
|
|
297
|
+
}>>;
|
|
304
298
|
aws: z.ZodOptional<z.ZodObject<{
|
|
305
299
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
306
300
|
controllerRoleArn: z.ZodString;
|
|
@@ -312,9 +306,7 @@ export declare const zFleetCreateInput: z.ZodObject<{
|
|
|
312
306
|
enabled?: boolean | undefined;
|
|
313
307
|
}>>;
|
|
314
308
|
id: z.ZodString;
|
|
315
|
-
type: z.ZodEnum<["managed", "connected"]>;
|
|
316
309
|
}, "strip", z.ZodTypeAny, {
|
|
317
|
-
type: "connected" | "managed";
|
|
318
310
|
id: string;
|
|
319
311
|
limits?: {
|
|
320
312
|
cpu: number;
|
|
@@ -324,18 +316,14 @@ export declare const zFleetCreateInput: z.ZodObject<{
|
|
|
324
316
|
enabled: boolean;
|
|
325
317
|
} | undefined;
|
|
326
318
|
hetzner?: {
|
|
319
|
+
apiKey: string;
|
|
327
320
|
enabled: boolean;
|
|
328
|
-
apiKey?: string | undefined;
|
|
329
|
-
} | {
|
|
330
|
-
enabled: boolean;
|
|
331
|
-
apiKey?: string | undefined;
|
|
332
321
|
} | undefined;
|
|
333
322
|
aws?: {
|
|
334
323
|
controllerRoleArn: string;
|
|
335
324
|
enabled: boolean;
|
|
336
325
|
} | undefined;
|
|
337
326
|
}, {
|
|
338
|
-
type: "connected" | "managed";
|
|
339
327
|
id: string;
|
|
340
328
|
limits?: {
|
|
341
329
|
cpu: number;
|
|
@@ -345,10 +333,7 @@ export declare const zFleetCreateInput: z.ZodObject<{
|
|
|
345
333
|
enabled?: boolean | undefined;
|
|
346
334
|
} | undefined;
|
|
347
335
|
hetzner?: {
|
|
348
|
-
apiKey
|
|
349
|
-
enabled?: boolean | undefined;
|
|
350
|
-
} | {
|
|
351
|
-
apiKey?: string | undefined;
|
|
336
|
+
apiKey: string;
|
|
352
337
|
enabled?: boolean | undefined;
|
|
353
338
|
} | undefined;
|
|
354
339
|
aws?: {
|
|
@@ -374,25 +359,16 @@ export declare const zFleet: z.ZodObject<{
|
|
|
374
359
|
project: string;
|
|
375
360
|
enabled?: boolean | undefined;
|
|
376
361
|
}>>;
|
|
377
|
-
hetzner: z.ZodOptional<z.
|
|
378
|
-
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
379
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
380
|
-
}, "strip", z.ZodTypeAny, {
|
|
381
|
-
enabled: boolean;
|
|
382
|
-
apiKey?: string | undefined;
|
|
383
|
-
}, {
|
|
384
|
-
apiKey?: string | undefined;
|
|
385
|
-
enabled?: boolean | undefined;
|
|
386
|
-
}>, z.ZodObject<{
|
|
387
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
362
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
388
363
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
364
|
+
apiKey: z.ZodString;
|
|
389
365
|
}, "strip", z.ZodTypeAny, {
|
|
366
|
+
apiKey: string;
|
|
390
367
|
enabled: boolean;
|
|
391
|
-
apiKey?: string | undefined;
|
|
392
368
|
}, {
|
|
393
|
-
apiKey
|
|
369
|
+
apiKey: string;
|
|
394
370
|
enabled?: boolean | undefined;
|
|
395
|
-
}
|
|
371
|
+
}>>;
|
|
396
372
|
aws: z.ZodOptional<z.ZodObject<{
|
|
397
373
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
398
374
|
controllerRoleArn: z.ZodString;
|
|
@@ -404,9 +380,7 @@ export declare const zFleet: z.ZodObject<{
|
|
|
404
380
|
enabled?: boolean | undefined;
|
|
405
381
|
}>>;
|
|
406
382
|
id: z.ZodString;
|
|
407
|
-
type: z.ZodEnum<["managed", "connected"]>;
|
|
408
383
|
}, "strip", z.ZodTypeAny, {
|
|
409
|
-
type: "connected" | "managed";
|
|
410
384
|
id: string;
|
|
411
385
|
limits?: {
|
|
412
386
|
cpu: number;
|
|
@@ -416,18 +390,14 @@ export declare const zFleet: z.ZodObject<{
|
|
|
416
390
|
enabled: boolean;
|
|
417
391
|
} | undefined;
|
|
418
392
|
hetzner?: {
|
|
393
|
+
apiKey: string;
|
|
419
394
|
enabled: boolean;
|
|
420
|
-
apiKey?: string | undefined;
|
|
421
|
-
} | {
|
|
422
|
-
enabled: boolean;
|
|
423
|
-
apiKey?: string | undefined;
|
|
424
395
|
} | undefined;
|
|
425
396
|
aws?: {
|
|
426
397
|
controllerRoleArn: string;
|
|
427
398
|
enabled: boolean;
|
|
428
399
|
} | undefined;
|
|
429
400
|
}, {
|
|
430
|
-
type: "connected" | "managed";
|
|
431
401
|
id: string;
|
|
432
402
|
limits?: {
|
|
433
403
|
cpu: number;
|
|
@@ -437,10 +407,7 @@ export declare const zFleet: z.ZodObject<{
|
|
|
437
407
|
enabled?: boolean | undefined;
|
|
438
408
|
} | undefined;
|
|
439
409
|
hetzner?: {
|
|
440
|
-
apiKey
|
|
441
|
-
enabled?: boolean | undefined;
|
|
442
|
-
} | {
|
|
443
|
-
apiKey?: string | undefined;
|
|
410
|
+
apiKey: string;
|
|
444
411
|
enabled?: boolean | undefined;
|
|
445
412
|
} | undefined;
|
|
446
413
|
aws?: {
|
|
@@ -466,25 +433,16 @@ export declare const zFleetUpdateInput: z.ZodObject<{
|
|
|
466
433
|
project: string;
|
|
467
434
|
enabled?: boolean | undefined;
|
|
468
435
|
}>>;
|
|
469
|
-
hetzner: z.ZodOptional<z.
|
|
436
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
470
437
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
471
|
-
apiKey: z.
|
|
438
|
+
apiKey: z.ZodString;
|
|
472
439
|
}, "strip", z.ZodTypeAny, {
|
|
440
|
+
apiKey: string;
|
|
473
441
|
enabled: boolean;
|
|
474
|
-
apiKey?: string | undefined;
|
|
475
442
|
}, {
|
|
476
|
-
apiKey
|
|
443
|
+
apiKey: string;
|
|
477
444
|
enabled?: boolean | undefined;
|
|
478
|
-
}
|
|
479
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
480
|
-
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
481
|
-
}, "strip", z.ZodTypeAny, {
|
|
482
|
-
enabled: boolean;
|
|
483
|
-
apiKey?: string | undefined;
|
|
484
|
-
}, {
|
|
485
|
-
apiKey?: string | undefined;
|
|
486
|
-
enabled?: boolean | undefined;
|
|
487
|
-
}>]>>;
|
|
445
|
+
}>>;
|
|
488
446
|
aws: z.ZodOptional<z.ZodObject<{
|
|
489
447
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
490
448
|
controllerRoleArn: z.ZodString;
|
|
@@ -504,11 +462,8 @@ export declare const zFleetUpdateInput: z.ZodObject<{
|
|
|
504
462
|
enabled: boolean;
|
|
505
463
|
} | undefined;
|
|
506
464
|
hetzner?: {
|
|
465
|
+
apiKey: string;
|
|
507
466
|
enabled: boolean;
|
|
508
|
-
apiKey?: string | undefined;
|
|
509
|
-
} | {
|
|
510
|
-
enabled: boolean;
|
|
511
|
-
apiKey?: string | undefined;
|
|
512
467
|
} | undefined;
|
|
513
468
|
aws?: {
|
|
514
469
|
controllerRoleArn: string;
|
|
@@ -523,10 +478,7 @@ export declare const zFleetUpdateInput: z.ZodObject<{
|
|
|
523
478
|
enabled?: boolean | undefined;
|
|
524
479
|
} | undefined;
|
|
525
480
|
hetzner?: {
|
|
526
|
-
apiKey
|
|
527
|
-
enabled?: boolean | undefined;
|
|
528
|
-
} | {
|
|
529
|
-
apiKey?: string | undefined;
|
|
481
|
+
apiKey: string;
|
|
530
482
|
enabled?: boolean | undefined;
|
|
531
483
|
} | undefined;
|
|
532
484
|
aws?: {
|
|
@@ -587,7 +539,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
587
539
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
588
540
|
itemDetails: z.ZodOptional<z.ZodString>;
|
|
589
541
|
catalogEffectiveDate: z.ZodOptional<z.ZodString>;
|
|
590
|
-
childItems: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
542
|
+
childItems: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodBoolean, z.ZodNumber, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodString]>, "many">>;
|
|
591
543
|
}, "strip", z.ZodTypeAny, {
|
|
592
544
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
593
545
|
id?: string | undefined;
|
|
@@ -609,7 +561,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
609
561
|
quantity?: number | undefined;
|
|
610
562
|
itemDetails?: string | undefined;
|
|
611
563
|
catalogEffectiveDate?: string | undefined;
|
|
612
|
-
childItems?: unknown[] | undefined;
|
|
564
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
613
565
|
}, {
|
|
614
566
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
615
567
|
id?: string | undefined;
|
|
@@ -631,7 +583,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
631
583
|
quantity?: number | undefined;
|
|
632
584
|
itemDetails?: string | undefined;
|
|
633
585
|
catalogEffectiveDate?: string | undefined;
|
|
634
|
-
childItems?: unknown[] | undefined;
|
|
586
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
635
587
|
}>, "many">>;
|
|
636
588
|
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
637
589
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -654,7 +606,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
654
606
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
655
607
|
itemDetails: z.ZodOptional<z.ZodString>;
|
|
656
608
|
catalogEffectiveDate: z.ZodOptional<z.ZodString>;
|
|
657
|
-
childItems: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
609
|
+
childItems: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodBoolean, z.ZodNumber, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodString]>, "many">>;
|
|
658
610
|
}, "strip", z.ZodTypeAny, {
|
|
659
611
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
660
612
|
id?: string | undefined;
|
|
@@ -676,7 +628,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
676
628
|
quantity?: number | undefined;
|
|
677
629
|
itemDetails?: string | undefined;
|
|
678
630
|
catalogEffectiveDate?: string | undefined;
|
|
679
|
-
childItems?: unknown[] | undefined;
|
|
631
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
680
632
|
}, {
|
|
681
633
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
682
634
|
id?: string | undefined;
|
|
@@ -698,7 +650,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
698
650
|
quantity?: number | undefined;
|
|
699
651
|
itemDetails?: string | undefined;
|
|
700
652
|
catalogEffectiveDate?: string | undefined;
|
|
701
|
-
childItems?: unknown[] | undefined;
|
|
653
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
702
654
|
}>, "many">>;
|
|
703
655
|
}, "strip", z.ZodTypeAny, {
|
|
704
656
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
@@ -725,7 +677,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
725
677
|
quantity?: number | undefined;
|
|
726
678
|
itemDetails?: string | undefined;
|
|
727
679
|
catalogEffectiveDate?: string | undefined;
|
|
728
|
-
childItems?: unknown[] | undefined;
|
|
680
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
729
681
|
}[] | undefined;
|
|
730
682
|
organizationId?: string | undefined;
|
|
731
683
|
amount?: number | undefined;
|
|
@@ -757,7 +709,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
757
709
|
quantity?: number | undefined;
|
|
758
710
|
itemDetails?: string | undefined;
|
|
759
711
|
catalogEffectiveDate?: string | undefined;
|
|
760
|
-
childItems?: unknown[] | undefined;
|
|
712
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
761
713
|
}[] | undefined;
|
|
762
714
|
}, {
|
|
763
715
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
@@ -784,7 +736,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
784
736
|
quantity?: number | undefined;
|
|
785
737
|
itemDetails?: string | undefined;
|
|
786
738
|
catalogEffectiveDate?: string | undefined;
|
|
787
|
-
childItems?: unknown[] | undefined;
|
|
739
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
788
740
|
}[] | undefined;
|
|
789
741
|
organizationId?: string | undefined;
|
|
790
742
|
amount?: number | undefined;
|
|
@@ -816,7 +768,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
816
768
|
quantity?: number | undefined;
|
|
817
769
|
itemDetails?: string | undefined;
|
|
818
770
|
catalogEffectiveDate?: string | undefined;
|
|
819
|
-
childItems?: unknown[] | undefined;
|
|
771
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
820
772
|
}[] | undefined;
|
|
821
773
|
}>;
|
|
822
774
|
export declare const zMarketplaceListing: z.ZodObject<{
|
|
@@ -899,7 +851,6 @@ export declare const zOrganization: z.ZodObject<{
|
|
|
899
851
|
pro_clusters_max: z.ZodNumber;
|
|
900
852
|
pro_clusters_available: z.ZodNumber;
|
|
901
853
|
fleets_max: z.ZodNumber;
|
|
902
|
-
managed_fleets_cpu_max: z.ZodNumber;
|
|
903
854
|
cluster_tiers: z.ZodArray<z.ZodString, "many">;
|
|
904
855
|
regions: z.ZodArray<z.ZodString, "many">;
|
|
905
856
|
versions: z.ZodArray<z.ZodObject<{
|
|
@@ -922,7 +873,6 @@ export declare const zOrganization: z.ZodObject<{
|
|
|
922
873
|
pro_clusters_max: number;
|
|
923
874
|
pro_clusters_available: number;
|
|
924
875
|
fleets_max: number;
|
|
925
|
-
managed_fleets_cpu_max: number;
|
|
926
876
|
cluster_tiers: string[];
|
|
927
877
|
regions: string[];
|
|
928
878
|
}, {
|
|
@@ -935,7 +885,6 @@ export declare const zOrganization: z.ZodObject<{
|
|
|
935
885
|
pro_clusters_max: number;
|
|
936
886
|
pro_clusters_available: number;
|
|
937
887
|
fleets_max: number;
|
|
938
|
-
managed_fleets_cpu_max: number;
|
|
939
888
|
cluster_tiers: string[];
|
|
940
889
|
regions: string[];
|
|
941
890
|
}>;
|
|
@@ -954,7 +903,6 @@ export declare const zOrganization: z.ZodObject<{
|
|
|
954
903
|
pro_clusters_max: number;
|
|
955
904
|
pro_clusters_available: number;
|
|
956
905
|
fleets_max: number;
|
|
957
|
-
managed_fleets_cpu_max: number;
|
|
958
906
|
cluster_tiers: string[];
|
|
959
907
|
regions: string[];
|
|
960
908
|
};
|
|
@@ -973,7 +921,6 @@ export declare const zOrganization: z.ZodObject<{
|
|
|
973
921
|
pro_clusters_max: number;
|
|
974
922
|
pro_clusters_available: number;
|
|
975
923
|
fleets_max: number;
|
|
976
|
-
managed_fleets_cpu_max: number;
|
|
977
924
|
cluster_tiers: string[];
|
|
978
925
|
regions: string[];
|
|
979
926
|
};
|
|
@@ -1146,6 +1093,22 @@ export declare const zUserUpdateInput: z.ZodObject<{
|
|
|
1146
1093
|
first_name?: string | undefined;
|
|
1147
1094
|
last_name?: string | undefined;
|
|
1148
1095
|
}>;
|
|
1096
|
+
export declare const zGetUsageData: z.ZodObject<{
|
|
1097
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1098
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1099
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1100
|
+
}, "strip", z.ZodTypeAny, {
|
|
1101
|
+
body?: undefined;
|
|
1102
|
+
path?: undefined;
|
|
1103
|
+
query?: undefined;
|
|
1104
|
+
}, {
|
|
1105
|
+
body?: undefined;
|
|
1106
|
+
path?: undefined;
|
|
1107
|
+
query?: undefined;
|
|
1108
|
+
}>;
|
|
1109
|
+
/**
|
|
1110
|
+
* An array of usage records.
|
|
1111
|
+
*/
|
|
1149
1112
|
export declare const zGetUsageResponse: z.ZodArray<z.ZodObject<{
|
|
1150
1113
|
hour: z.ZodOptional<z.ZodString>;
|
|
1151
1114
|
cluster_id: z.ZodString;
|
|
@@ -1180,7 +1143,39 @@ export declare const zGetUsageResponse: z.ZodArray<z.ZodObject<{
|
|
|
1180
1143
|
price: number | "";
|
|
1181
1144
|
hour?: string | undefined;
|
|
1182
1145
|
}>, "many">;
|
|
1146
|
+
export declare const zGetBalanceData: z.ZodObject<{
|
|
1147
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1148
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1149
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1150
|
+
}, "strip", z.ZodTypeAny, {
|
|
1151
|
+
body?: undefined;
|
|
1152
|
+
path?: undefined;
|
|
1153
|
+
query?: undefined;
|
|
1154
|
+
}, {
|
|
1155
|
+
body?: undefined;
|
|
1156
|
+
path?: undefined;
|
|
1157
|
+
query?: undefined;
|
|
1158
|
+
}>;
|
|
1159
|
+
/**
|
|
1160
|
+
* Current balance of the organization in USD as a floating-point number.
|
|
1161
|
+
*/
|
|
1183
1162
|
export declare const zGetBalanceResponse: z.ZodNumber;
|
|
1163
|
+
export declare const zGetPaymentMethodData: z.ZodObject<{
|
|
1164
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1165
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1166
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1167
|
+
}, "strip", z.ZodTypeAny, {
|
|
1168
|
+
body?: undefined;
|
|
1169
|
+
path?: undefined;
|
|
1170
|
+
query?: undefined;
|
|
1171
|
+
}, {
|
|
1172
|
+
body?: undefined;
|
|
1173
|
+
path?: undefined;
|
|
1174
|
+
query?: undefined;
|
|
1175
|
+
}>;
|
|
1176
|
+
/**
|
|
1177
|
+
* Redacted payment card information.
|
|
1178
|
+
*/
|
|
1184
1179
|
export declare const zGetPaymentMethodResponse: z.ZodObject<{
|
|
1185
1180
|
id: z.ZodString;
|
|
1186
1181
|
setup: z.ZodBoolean;
|
|
@@ -1206,6 +1201,23 @@ export declare const zGetPaymentMethodResponse: z.ZodObject<{
|
|
|
1206
1201
|
exp_year: number;
|
|
1207
1202
|
brand: "unknown" | "amex" | "diners" | "discover" | "eftpos_au" | "jcb" | "mastercard" | "unionpay" | "visa";
|
|
1208
1203
|
}>;
|
|
1204
|
+
export declare const zGetPaymentMethodSecretData: z.ZodObject<{
|
|
1205
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1206
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1207
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1208
|
+
}, "strip", z.ZodTypeAny, {
|
|
1209
|
+
body?: undefined;
|
|
1210
|
+
path?: undefined;
|
|
1211
|
+
query?: undefined;
|
|
1212
|
+
}, {
|
|
1213
|
+
body?: undefined;
|
|
1214
|
+
path?: undefined;
|
|
1215
|
+
query?: undefined;
|
|
1216
|
+
}>;
|
|
1217
|
+
/**
|
|
1218
|
+
* The client secret. Used for client-side retrieval using a publishable key. The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
|
|
1219
|
+
*
|
|
1220
|
+
*/
|
|
1209
1221
|
export declare const zGetPaymentMethodSecretResponse: z.ZodObject<{
|
|
1210
1222
|
id: z.ZodOptional<z.ZodString>;
|
|
1211
1223
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1213,6 +1225,37 @@ export declare const zGetPaymentMethodSecretResponse: z.ZodObject<{
|
|
|
1213
1225
|
}, {
|
|
1214
1226
|
id?: string | undefined;
|
|
1215
1227
|
}>;
|
|
1228
|
+
export declare const zListInvoicesData: z.ZodObject<{
|
|
1229
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1230
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1231
|
+
query: z.ZodObject<{
|
|
1232
|
+
start_date: z.ZodString;
|
|
1233
|
+
end_date: z.ZodString;
|
|
1234
|
+
}, "strip", z.ZodTypeAny, {
|
|
1235
|
+
start_date: string;
|
|
1236
|
+
end_date: string;
|
|
1237
|
+
}, {
|
|
1238
|
+
start_date: string;
|
|
1239
|
+
end_date: string;
|
|
1240
|
+
}>;
|
|
1241
|
+
}, "strip", z.ZodTypeAny, {
|
|
1242
|
+
query: {
|
|
1243
|
+
start_date: string;
|
|
1244
|
+
end_date: string;
|
|
1245
|
+
};
|
|
1246
|
+
body?: undefined;
|
|
1247
|
+
path?: undefined;
|
|
1248
|
+
}, {
|
|
1249
|
+
query: {
|
|
1250
|
+
start_date: string;
|
|
1251
|
+
end_date: string;
|
|
1252
|
+
};
|
|
1253
|
+
body?: undefined;
|
|
1254
|
+
path?: undefined;
|
|
1255
|
+
}>;
|
|
1256
|
+
/**
|
|
1257
|
+
* An array of usage records.
|
|
1258
|
+
*/
|
|
1216
1259
|
export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
1217
1260
|
id: z.ZodOptional<z.ZodString>;
|
|
1218
1261
|
organizationId: z.ZodOptional<z.ZodString>;
|
|
@@ -1247,7 +1290,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1247
1290
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
1248
1291
|
itemDetails: z.ZodOptional<z.ZodString>;
|
|
1249
1292
|
catalogEffectiveDate: z.ZodOptional<z.ZodString>;
|
|
1250
|
-
childItems: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
1293
|
+
childItems: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodBoolean, z.ZodNumber, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodString]>, "many">>;
|
|
1251
1294
|
}, "strip", z.ZodTypeAny, {
|
|
1252
1295
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
1253
1296
|
id?: string | undefined;
|
|
@@ -1269,7 +1312,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1269
1312
|
quantity?: number | undefined;
|
|
1270
1313
|
itemDetails?: string | undefined;
|
|
1271
1314
|
catalogEffectiveDate?: string | undefined;
|
|
1272
|
-
childItems?: unknown[] | undefined;
|
|
1315
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1273
1316
|
}, {
|
|
1274
1317
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
1275
1318
|
id?: string | undefined;
|
|
@@ -1291,7 +1334,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1291
1334
|
quantity?: number | undefined;
|
|
1292
1335
|
itemDetails?: string | undefined;
|
|
1293
1336
|
catalogEffectiveDate?: string | undefined;
|
|
1294
|
-
childItems?: unknown[] | undefined;
|
|
1337
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1295
1338
|
}>, "many">>;
|
|
1296
1339
|
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1297
1340
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1314,7 +1357,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1314
1357
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
1315
1358
|
itemDetails: z.ZodOptional<z.ZodString>;
|
|
1316
1359
|
catalogEffectiveDate: z.ZodOptional<z.ZodString>;
|
|
1317
|
-
childItems: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
1360
|
+
childItems: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodArray<z.ZodUnknown, "many">, z.ZodBoolean, z.ZodNumber, z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, z.ZodString]>, "many">>;
|
|
1318
1361
|
}, "strip", z.ZodTypeAny, {
|
|
1319
1362
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
1320
1363
|
id?: string | undefined;
|
|
@@ -1336,7 +1379,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1336
1379
|
quantity?: number | undefined;
|
|
1337
1380
|
itemDetails?: string | undefined;
|
|
1338
1381
|
catalogEffectiveDate?: string | undefined;
|
|
1339
|
-
childItems?: unknown[] | undefined;
|
|
1382
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1340
1383
|
}, {
|
|
1341
1384
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
1342
1385
|
id?: string | undefined;
|
|
@@ -1358,7 +1401,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1358
1401
|
quantity?: number | undefined;
|
|
1359
1402
|
itemDetails?: string | undefined;
|
|
1360
1403
|
catalogEffectiveDate?: string | undefined;
|
|
1361
|
-
childItems?: unknown[] | undefined;
|
|
1404
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1362
1405
|
}>, "many">>;
|
|
1363
1406
|
}, "strip", z.ZodTypeAny, {
|
|
1364
1407
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
@@ -1385,7 +1428,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1385
1428
|
quantity?: number | undefined;
|
|
1386
1429
|
itemDetails?: string | undefined;
|
|
1387
1430
|
catalogEffectiveDate?: string | undefined;
|
|
1388
|
-
childItems?: unknown[] | undefined;
|
|
1431
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1389
1432
|
}[] | undefined;
|
|
1390
1433
|
organizationId?: string | undefined;
|
|
1391
1434
|
amount?: number | undefined;
|
|
@@ -1417,7 +1460,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1417
1460
|
quantity?: number | undefined;
|
|
1418
1461
|
itemDetails?: string | undefined;
|
|
1419
1462
|
catalogEffectiveDate?: string | undefined;
|
|
1420
|
-
childItems?: unknown[] | undefined;
|
|
1463
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1421
1464
|
}[] | undefined;
|
|
1422
1465
|
}, {
|
|
1423
1466
|
currency?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD" | "BTC" | undefined;
|
|
@@ -1444,7 +1487,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1444
1487
|
quantity?: number | undefined;
|
|
1445
1488
|
itemDetails?: string | undefined;
|
|
1446
1489
|
catalogEffectiveDate?: string | undefined;
|
|
1447
|
-
childItems?: unknown[] | undefined;
|
|
1490
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1448
1491
|
}[] | undefined;
|
|
1449
1492
|
organizationId?: string | undefined;
|
|
1450
1493
|
amount?: number | undefined;
|
|
@@ -1476,9 +1519,35 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1476
1519
|
quantity?: number | undefined;
|
|
1477
1520
|
itemDetails?: string | undefined;
|
|
1478
1521
|
catalogEffectiveDate?: string | undefined;
|
|
1479
|
-
childItems?: unknown[] | undefined;
|
|
1522
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1480
1523
|
}[] | undefined;
|
|
1481
1524
|
}>, "many">;
|
|
1525
|
+
export declare const zGetInvoiceData: z.ZodObject<{
|
|
1526
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1527
|
+
path: z.ZodObject<{
|
|
1528
|
+
id: z.ZodString;
|
|
1529
|
+
}, "strip", z.ZodTypeAny, {
|
|
1530
|
+
id: string;
|
|
1531
|
+
}, {
|
|
1532
|
+
id: string;
|
|
1533
|
+
}>;
|
|
1534
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1535
|
+
}, "strip", z.ZodTypeAny, {
|
|
1536
|
+
path: {
|
|
1537
|
+
id: string;
|
|
1538
|
+
};
|
|
1539
|
+
body?: undefined;
|
|
1540
|
+
query?: undefined;
|
|
1541
|
+
}, {
|
|
1542
|
+
path: {
|
|
1543
|
+
id: string;
|
|
1544
|
+
};
|
|
1545
|
+
body?: undefined;
|
|
1546
|
+
query?: undefined;
|
|
1547
|
+
}>;
|
|
1548
|
+
/**
|
|
1549
|
+
* Returns a single Invoice HTML representation under `html` property.
|
|
1550
|
+
*/
|
|
1482
1551
|
export declare const zGetInvoiceResponse: z.ZodObject<{
|
|
1483
1552
|
html: z.ZodOptional<z.ZodString>;
|
|
1484
1553
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1486,6 +1555,22 @@ export declare const zGetInvoiceResponse: z.ZodObject<{
|
|
|
1486
1555
|
}, {
|
|
1487
1556
|
html?: string | undefined;
|
|
1488
1557
|
}>;
|
|
1558
|
+
export declare const zGetContactData: z.ZodObject<{
|
|
1559
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1560
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1561
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1562
|
+
}, "strip", z.ZodTypeAny, {
|
|
1563
|
+
body?: undefined;
|
|
1564
|
+
path?: undefined;
|
|
1565
|
+
query?: undefined;
|
|
1566
|
+
}, {
|
|
1567
|
+
body?: undefined;
|
|
1568
|
+
path?: undefined;
|
|
1569
|
+
query?: undefined;
|
|
1570
|
+
}>;
|
|
1571
|
+
/**
|
|
1572
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1573
|
+
*/
|
|
1489
1574
|
export declare const zGetContactResponse: z.ZodObject<{
|
|
1490
1575
|
company: z.ZodOptional<z.ZodString>;
|
|
1491
1576
|
address1: z.ZodOptional<z.ZodString>;
|
|
@@ -1529,6 +1614,92 @@ export declare const zGetContactResponse: z.ZodObject<{
|
|
|
1529
1614
|
tax_id?: string | undefined;
|
|
1530
1615
|
tax_id_type?: "" | "ad_nrt" | "ae_trn" | "al_tin" | "am_tin" | "ao_tin" | "ar_cuit" | "at_vat" | "au_abn" | "au_arn" | "ba_tin" | "bb_tin" | "be_vat" | "bg_uic" | "bg_vat" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "bs_tin" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "cd_nif" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "cy_vat" | "cz_vat" | "de_stn" | "de_vat" | "dk_vat" | "do_rcn" | "ec_ruc" | "ee_vat" | "eg_tin" | "es_cif" | "es_vat" | "eu_oss_vat" | "fi_vat" | "fr_vat" | "gb_vat" | "ge_vat" | "gn_nif" | "gr_vat" | "hk_br" | "hr_oib" | "hr_vat" | "hu_tin" | "hu_vat" | "id_npwp" | "ie_vat" | "il_vat" | "in_gst" | "is_vat" | "it_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kh_tin" | "kr_brn" | "kz_bin" | "li_uid" | "li_vat" | "lt_vat" | "lu_vat" | "lv_vat" | "ma_vat" | "md_vat" | "me_pib" | "mk_vat" | "mr_nif" | "mt_vat" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "nl_vat" | "no_vat" | "no_voec" | "np_pan" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "pl_vat" | "pt_vat" | "ro_tin" | "ro_vat" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "se_vat" | "sg_gst" | "sg_uen" | "si_tin" | "si_vat" | "sk_vat" | "sn_ninea" | "sr_fin" | "sv_nit" | "th_vat" | "tj_tin" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "ug_tin" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "xi_vat" | "za_vat" | "zm_tin" | "zw_tin" | undefined;
|
|
1531
1616
|
}>;
|
|
1617
|
+
export declare const zUpdateContactData: z.ZodObject<{
|
|
1618
|
+
body: z.ZodObject<{
|
|
1619
|
+
company: z.ZodOptional<z.ZodString>;
|
|
1620
|
+
address1: z.ZodOptional<z.ZodString>;
|
|
1621
|
+
address2: z.ZodOptional<z.ZodString>;
|
|
1622
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
|
1623
|
+
city: z.ZodOptional<z.ZodString>;
|
|
1624
|
+
state: z.ZodOptional<z.ZodString>;
|
|
1625
|
+
country: z.ZodOptional<z.ZodString>;
|
|
1626
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
1627
|
+
email: z.ZodString;
|
|
1628
|
+
first_name: z.ZodString;
|
|
1629
|
+
last_name: z.ZodString;
|
|
1630
|
+
tax_id: z.ZodOptional<z.ZodString>;
|
|
1631
|
+
tax_id_type: z.ZodOptional<z.ZodEnum<["ad_nrt", "ae_trn", "al_tin", "am_tin", "ao_tin", "ar_cuit", "at_vat", "au_abn", "au_arn", "ba_tin", "bb_tin", "be_vat", "bg_uic", "bg_vat", "bh_vat", "bo_tin", "br_cnpj", "br_cpf", "bs_tin", "by_tin", "ca_bn", "ca_gst_hst", "ca_pst_bc", "ca_pst_mb", "ca_pst_sk", "ca_qst", "cd_nif", "ch_uid", "ch_vat", "cl_tin", "cn_tin", "co_nit", "cr_tin", "cy_vat", "cz_vat", "de_stn", "de_vat", "dk_vat", "do_rcn", "ec_ruc", "ee_vat", "eg_tin", "es_cif", "es_vat", "eu_oss_vat", "fi_vat", "fr_vat", "gb_vat", "ge_vat", "gn_nif", "gr_vat", "hk_br", "hr_oib", "hr_vat", "hu_tin", "hu_vat", "id_npwp", "ie_vat", "il_vat", "in_gst", "is_vat", "it_vat", "jp_cn", "jp_rn", "jp_trn", "ke_pin", "kh_tin", "kr_brn", "kz_bin", "li_uid", "li_vat", "lt_vat", "lu_vat", "lv_vat", "ma_vat", "md_vat", "me_pib", "mk_vat", "mr_nif", "mt_vat", "mx_rfc", "my_frp", "my_itn", "my_sst", "ng_tin", "nl_vat", "no_vat", "no_voec", "np_pan", "nz_gst", "om_vat", "pe_ruc", "ph_tin", "pl_vat", "pt_vat", "ro_tin", "ro_vat", "rs_pib", "ru_inn", "ru_kpp", "sa_vat", "se_vat", "sg_gst", "sg_uen", "si_tin", "si_vat", "sk_vat", "sn_ninea", "sr_fin", "sv_nit", "th_vat", "tj_tin", "tr_tin", "tw_vat", "tz_vat", "ua_vat", "ug_tin", "us_ein", "uy_ruc", "uz_tin", "uz_vat", "ve_rif", "vn_tin", "xi_vat", "za_vat", "zm_tin", "zw_tin", ""]>>;
|
|
1632
|
+
}, "strip", z.ZodTypeAny, {
|
|
1633
|
+
email: string;
|
|
1634
|
+
first_name: string;
|
|
1635
|
+
last_name: string;
|
|
1636
|
+
state?: string | undefined;
|
|
1637
|
+
country?: string | undefined;
|
|
1638
|
+
company?: string | undefined;
|
|
1639
|
+
address1?: string | undefined;
|
|
1640
|
+
address2?: string | undefined;
|
|
1641
|
+
postalCode?: string | undefined;
|
|
1642
|
+
city?: string | undefined;
|
|
1643
|
+
phone?: string | undefined;
|
|
1644
|
+
tax_id?: string | undefined;
|
|
1645
|
+
tax_id_type?: "" | "ad_nrt" | "ae_trn" | "al_tin" | "am_tin" | "ao_tin" | "ar_cuit" | "at_vat" | "au_abn" | "au_arn" | "ba_tin" | "bb_tin" | "be_vat" | "bg_uic" | "bg_vat" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "bs_tin" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "cd_nif" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "cy_vat" | "cz_vat" | "de_stn" | "de_vat" | "dk_vat" | "do_rcn" | "ec_ruc" | "ee_vat" | "eg_tin" | "es_cif" | "es_vat" | "eu_oss_vat" | "fi_vat" | "fr_vat" | "gb_vat" | "ge_vat" | "gn_nif" | "gr_vat" | "hk_br" | "hr_oib" | "hr_vat" | "hu_tin" | "hu_vat" | "id_npwp" | "ie_vat" | "il_vat" | "in_gst" | "is_vat" | "it_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kh_tin" | "kr_brn" | "kz_bin" | "li_uid" | "li_vat" | "lt_vat" | "lu_vat" | "lv_vat" | "ma_vat" | "md_vat" | "me_pib" | "mk_vat" | "mr_nif" | "mt_vat" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "nl_vat" | "no_vat" | "no_voec" | "np_pan" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "pl_vat" | "pt_vat" | "ro_tin" | "ro_vat" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "se_vat" | "sg_gst" | "sg_uen" | "si_tin" | "si_vat" | "sk_vat" | "sn_ninea" | "sr_fin" | "sv_nit" | "th_vat" | "tj_tin" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "ug_tin" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "xi_vat" | "za_vat" | "zm_tin" | "zw_tin" | undefined;
|
|
1646
|
+
}, {
|
|
1647
|
+
email: string;
|
|
1648
|
+
first_name: string;
|
|
1649
|
+
last_name: string;
|
|
1650
|
+
state?: string | undefined;
|
|
1651
|
+
country?: string | undefined;
|
|
1652
|
+
company?: string | undefined;
|
|
1653
|
+
address1?: string | undefined;
|
|
1654
|
+
address2?: string | undefined;
|
|
1655
|
+
postalCode?: string | undefined;
|
|
1656
|
+
city?: string | undefined;
|
|
1657
|
+
phone?: string | undefined;
|
|
1658
|
+
tax_id?: string | undefined;
|
|
1659
|
+
tax_id_type?: "" | "ad_nrt" | "ae_trn" | "al_tin" | "am_tin" | "ao_tin" | "ar_cuit" | "at_vat" | "au_abn" | "au_arn" | "ba_tin" | "bb_tin" | "be_vat" | "bg_uic" | "bg_vat" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "bs_tin" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "cd_nif" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "cy_vat" | "cz_vat" | "de_stn" | "de_vat" | "dk_vat" | "do_rcn" | "ec_ruc" | "ee_vat" | "eg_tin" | "es_cif" | "es_vat" | "eu_oss_vat" | "fi_vat" | "fr_vat" | "gb_vat" | "ge_vat" | "gn_nif" | "gr_vat" | "hk_br" | "hr_oib" | "hr_vat" | "hu_tin" | "hu_vat" | "id_npwp" | "ie_vat" | "il_vat" | "in_gst" | "is_vat" | "it_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kh_tin" | "kr_brn" | "kz_bin" | "li_uid" | "li_vat" | "lt_vat" | "lu_vat" | "lv_vat" | "ma_vat" | "md_vat" | "me_pib" | "mk_vat" | "mr_nif" | "mt_vat" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "nl_vat" | "no_vat" | "no_voec" | "np_pan" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "pl_vat" | "pt_vat" | "ro_tin" | "ro_vat" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "se_vat" | "sg_gst" | "sg_uen" | "si_tin" | "si_vat" | "sk_vat" | "sn_ninea" | "sr_fin" | "sv_nit" | "th_vat" | "tj_tin" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "ug_tin" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "xi_vat" | "za_vat" | "zm_tin" | "zw_tin" | undefined;
|
|
1660
|
+
}>;
|
|
1661
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1662
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1663
|
+
}, "strip", z.ZodTypeAny, {
|
|
1664
|
+
body: {
|
|
1665
|
+
email: string;
|
|
1666
|
+
first_name: string;
|
|
1667
|
+
last_name: string;
|
|
1668
|
+
state?: string | undefined;
|
|
1669
|
+
country?: string | undefined;
|
|
1670
|
+
company?: string | undefined;
|
|
1671
|
+
address1?: string | undefined;
|
|
1672
|
+
address2?: string | undefined;
|
|
1673
|
+
postalCode?: string | undefined;
|
|
1674
|
+
city?: string | undefined;
|
|
1675
|
+
phone?: string | undefined;
|
|
1676
|
+
tax_id?: string | undefined;
|
|
1677
|
+
tax_id_type?: "" | "ad_nrt" | "ae_trn" | "al_tin" | "am_tin" | "ao_tin" | "ar_cuit" | "at_vat" | "au_abn" | "au_arn" | "ba_tin" | "bb_tin" | "be_vat" | "bg_uic" | "bg_vat" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "bs_tin" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "cd_nif" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "cy_vat" | "cz_vat" | "de_stn" | "de_vat" | "dk_vat" | "do_rcn" | "ec_ruc" | "ee_vat" | "eg_tin" | "es_cif" | "es_vat" | "eu_oss_vat" | "fi_vat" | "fr_vat" | "gb_vat" | "ge_vat" | "gn_nif" | "gr_vat" | "hk_br" | "hr_oib" | "hr_vat" | "hu_tin" | "hu_vat" | "id_npwp" | "ie_vat" | "il_vat" | "in_gst" | "is_vat" | "it_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kh_tin" | "kr_brn" | "kz_bin" | "li_uid" | "li_vat" | "lt_vat" | "lu_vat" | "lv_vat" | "ma_vat" | "md_vat" | "me_pib" | "mk_vat" | "mr_nif" | "mt_vat" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "nl_vat" | "no_vat" | "no_voec" | "np_pan" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "pl_vat" | "pt_vat" | "ro_tin" | "ro_vat" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "se_vat" | "sg_gst" | "sg_uen" | "si_tin" | "si_vat" | "sk_vat" | "sn_ninea" | "sr_fin" | "sv_nit" | "th_vat" | "tj_tin" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "ug_tin" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "xi_vat" | "za_vat" | "zm_tin" | "zw_tin" | undefined;
|
|
1678
|
+
};
|
|
1679
|
+
path?: undefined;
|
|
1680
|
+
query?: undefined;
|
|
1681
|
+
}, {
|
|
1682
|
+
body: {
|
|
1683
|
+
email: string;
|
|
1684
|
+
first_name: string;
|
|
1685
|
+
last_name: string;
|
|
1686
|
+
state?: string | undefined;
|
|
1687
|
+
country?: string | undefined;
|
|
1688
|
+
company?: string | undefined;
|
|
1689
|
+
address1?: string | undefined;
|
|
1690
|
+
address2?: string | undefined;
|
|
1691
|
+
postalCode?: string | undefined;
|
|
1692
|
+
city?: string | undefined;
|
|
1693
|
+
phone?: string | undefined;
|
|
1694
|
+
tax_id?: string | undefined;
|
|
1695
|
+
tax_id_type?: "" | "ad_nrt" | "ae_trn" | "al_tin" | "am_tin" | "ao_tin" | "ar_cuit" | "at_vat" | "au_abn" | "au_arn" | "ba_tin" | "bb_tin" | "be_vat" | "bg_uic" | "bg_vat" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "bs_tin" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "cd_nif" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "cy_vat" | "cz_vat" | "de_stn" | "de_vat" | "dk_vat" | "do_rcn" | "ec_ruc" | "ee_vat" | "eg_tin" | "es_cif" | "es_vat" | "eu_oss_vat" | "fi_vat" | "fr_vat" | "gb_vat" | "ge_vat" | "gn_nif" | "gr_vat" | "hk_br" | "hr_oib" | "hr_vat" | "hu_tin" | "hu_vat" | "id_npwp" | "ie_vat" | "il_vat" | "in_gst" | "is_vat" | "it_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kh_tin" | "kr_brn" | "kz_bin" | "li_uid" | "li_vat" | "lt_vat" | "lu_vat" | "lv_vat" | "ma_vat" | "md_vat" | "me_pib" | "mk_vat" | "mr_nif" | "mt_vat" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "nl_vat" | "no_vat" | "no_voec" | "np_pan" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "pl_vat" | "pt_vat" | "ro_tin" | "ro_vat" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "se_vat" | "sg_gst" | "sg_uen" | "si_tin" | "si_vat" | "sk_vat" | "sn_ninea" | "sr_fin" | "sv_nit" | "th_vat" | "tj_tin" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "ug_tin" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "xi_vat" | "za_vat" | "zm_tin" | "zw_tin" | undefined;
|
|
1696
|
+
};
|
|
1697
|
+
path?: undefined;
|
|
1698
|
+
query?: undefined;
|
|
1699
|
+
}>;
|
|
1700
|
+
/**
|
|
1701
|
+
* Successfully updated. Returns updated organization details.
|
|
1702
|
+
*/
|
|
1532
1703
|
export declare const zUpdateContactResponse: z.ZodObject<{
|
|
1533
1704
|
company: z.ZodOptional<z.ZodString>;
|
|
1534
1705
|
address1: z.ZodOptional<z.ZodString>;
|
|
@@ -1572,6 +1743,22 @@ export declare const zUpdateContactResponse: z.ZodObject<{
|
|
|
1572
1743
|
tax_id?: string | undefined;
|
|
1573
1744
|
tax_id_type?: "" | "ad_nrt" | "ae_trn" | "al_tin" | "am_tin" | "ao_tin" | "ar_cuit" | "at_vat" | "au_abn" | "au_arn" | "ba_tin" | "bb_tin" | "be_vat" | "bg_uic" | "bg_vat" | "bh_vat" | "bo_tin" | "br_cnpj" | "br_cpf" | "bs_tin" | "by_tin" | "ca_bn" | "ca_gst_hst" | "ca_pst_bc" | "ca_pst_mb" | "ca_pst_sk" | "ca_qst" | "cd_nif" | "ch_uid" | "ch_vat" | "cl_tin" | "cn_tin" | "co_nit" | "cr_tin" | "cy_vat" | "cz_vat" | "de_stn" | "de_vat" | "dk_vat" | "do_rcn" | "ec_ruc" | "ee_vat" | "eg_tin" | "es_cif" | "es_vat" | "eu_oss_vat" | "fi_vat" | "fr_vat" | "gb_vat" | "ge_vat" | "gn_nif" | "gr_vat" | "hk_br" | "hr_oib" | "hr_vat" | "hu_tin" | "hu_vat" | "id_npwp" | "ie_vat" | "il_vat" | "in_gst" | "is_vat" | "it_vat" | "jp_cn" | "jp_rn" | "jp_trn" | "ke_pin" | "kh_tin" | "kr_brn" | "kz_bin" | "li_uid" | "li_vat" | "lt_vat" | "lu_vat" | "lv_vat" | "ma_vat" | "md_vat" | "me_pib" | "mk_vat" | "mr_nif" | "mt_vat" | "mx_rfc" | "my_frp" | "my_itn" | "my_sst" | "ng_tin" | "nl_vat" | "no_vat" | "no_voec" | "np_pan" | "nz_gst" | "om_vat" | "pe_ruc" | "ph_tin" | "pl_vat" | "pt_vat" | "ro_tin" | "ro_vat" | "rs_pib" | "ru_inn" | "ru_kpp" | "sa_vat" | "se_vat" | "sg_gst" | "sg_uen" | "si_tin" | "si_vat" | "sk_vat" | "sn_ninea" | "sr_fin" | "sv_nit" | "th_vat" | "tj_tin" | "tr_tin" | "tw_vat" | "tz_vat" | "ua_vat" | "ug_tin" | "us_ein" | "uy_ruc" | "uz_tin" | "uz_vat" | "ve_rif" | "vn_tin" | "xi_vat" | "za_vat" | "zm_tin" | "zw_tin" | undefined;
|
|
1574
1745
|
}>;
|
|
1746
|
+
export declare const zGetCreditsData: z.ZodObject<{
|
|
1747
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1748
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1749
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1750
|
+
}, "strip", z.ZodTypeAny, {
|
|
1751
|
+
body?: undefined;
|
|
1752
|
+
path?: undefined;
|
|
1753
|
+
query?: undefined;
|
|
1754
|
+
}, {
|
|
1755
|
+
body?: undefined;
|
|
1756
|
+
path?: undefined;
|
|
1757
|
+
query?: undefined;
|
|
1758
|
+
}>;
|
|
1759
|
+
/**
|
|
1760
|
+
* An array of the applied promotional credits records.
|
|
1761
|
+
*/
|
|
1575
1762
|
export declare const zGetCreditsResponse: z.ZodArray<z.ZodObject<{
|
|
1576
1763
|
id: z.ZodOptional<z.ZodString>;
|
|
1577
1764
|
date_created: z.ZodString;
|
|
@@ -1603,6 +1790,55 @@ export declare const zGetCreditsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1603
1790
|
products?: string[] | undefined;
|
|
1604
1791
|
value_remaining?: number | undefined;
|
|
1605
1792
|
}>, "many">;
|
|
1793
|
+
export declare const zRedeemCreditsData: z.ZodObject<{
|
|
1794
|
+
body: z.ZodObject<{
|
|
1795
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1796
|
+
}, "strip", z.ZodTypeAny, {
|
|
1797
|
+
code?: string | undefined;
|
|
1798
|
+
}, {
|
|
1799
|
+
code?: string | undefined;
|
|
1800
|
+
}>;
|
|
1801
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1802
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1803
|
+
}, "strip", z.ZodTypeAny, {
|
|
1804
|
+
body: {
|
|
1805
|
+
code?: string | undefined;
|
|
1806
|
+
};
|
|
1807
|
+
path?: undefined;
|
|
1808
|
+
query?: undefined;
|
|
1809
|
+
}, {
|
|
1810
|
+
body: {
|
|
1811
|
+
code?: string | undefined;
|
|
1812
|
+
};
|
|
1813
|
+
path?: undefined;
|
|
1814
|
+
query?: undefined;
|
|
1815
|
+
}>;
|
|
1816
|
+
export declare const zListChartsData: z.ZodObject<{
|
|
1817
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1818
|
+
path: z.ZodObject<{
|
|
1819
|
+
cluster_id: z.ZodString;
|
|
1820
|
+
}, "strip", z.ZodTypeAny, {
|
|
1821
|
+
cluster_id: string;
|
|
1822
|
+
}, {
|
|
1823
|
+
cluster_id: string;
|
|
1824
|
+
}>;
|
|
1825
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1826
|
+
}, "strip", z.ZodTypeAny, {
|
|
1827
|
+
path: {
|
|
1828
|
+
cluster_id: string;
|
|
1829
|
+
};
|
|
1830
|
+
body?: undefined;
|
|
1831
|
+
query?: undefined;
|
|
1832
|
+
}, {
|
|
1833
|
+
path: {
|
|
1834
|
+
cluster_id: string;
|
|
1835
|
+
};
|
|
1836
|
+
body?: undefined;
|
|
1837
|
+
query?: undefined;
|
|
1838
|
+
}>;
|
|
1839
|
+
/**
|
|
1840
|
+
* An array of charts
|
|
1841
|
+
*/
|
|
1606
1842
|
export declare const zListChartsResponse: z.ZodArray<z.ZodObject<{
|
|
1607
1843
|
values: z.ZodString;
|
|
1608
1844
|
version_channel: z.ZodString;
|
|
@@ -1637,8 +1873,126 @@ export declare const zListChartsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1637
1873
|
created_at: string;
|
|
1638
1874
|
updated_at: string;
|
|
1639
1875
|
}>, "many">;
|
|
1876
|
+
export declare const zCreateChartData: z.ZodObject<{
|
|
1877
|
+
body: z.ZodObject<{
|
|
1878
|
+
values: z.ZodString;
|
|
1879
|
+
version_channel: z.ZodString;
|
|
1880
|
+
name: z.ZodString;
|
|
1881
|
+
namespace: z.ZodString;
|
|
1882
|
+
chart: z.ZodString;
|
|
1883
|
+
}, "strip", z.ZodTypeAny, {
|
|
1884
|
+
values: string;
|
|
1885
|
+
name: string;
|
|
1886
|
+
version_channel: string;
|
|
1887
|
+
namespace: string;
|
|
1888
|
+
chart: string;
|
|
1889
|
+
}, {
|
|
1890
|
+
values: string;
|
|
1891
|
+
name: string;
|
|
1892
|
+
version_channel: string;
|
|
1893
|
+
namespace: string;
|
|
1894
|
+
chart: string;
|
|
1895
|
+
}>;
|
|
1896
|
+
path: z.ZodObject<{
|
|
1897
|
+
cluster_id: z.ZodString;
|
|
1898
|
+
}, "strip", z.ZodTypeAny, {
|
|
1899
|
+
cluster_id: string;
|
|
1900
|
+
}, {
|
|
1901
|
+
cluster_id: string;
|
|
1902
|
+
}>;
|
|
1903
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1904
|
+
}, "strip", z.ZodTypeAny, {
|
|
1905
|
+
body: {
|
|
1906
|
+
values: string;
|
|
1907
|
+
name: string;
|
|
1908
|
+
version_channel: string;
|
|
1909
|
+
namespace: string;
|
|
1910
|
+
chart: string;
|
|
1911
|
+
};
|
|
1912
|
+
path: {
|
|
1913
|
+
cluster_id: string;
|
|
1914
|
+
};
|
|
1915
|
+
query?: undefined;
|
|
1916
|
+
}, {
|
|
1917
|
+
body: {
|
|
1918
|
+
values: string;
|
|
1919
|
+
name: string;
|
|
1920
|
+
version_channel: string;
|
|
1921
|
+
namespace: string;
|
|
1922
|
+
chart: string;
|
|
1923
|
+
};
|
|
1924
|
+
path: {
|
|
1925
|
+
cluster_id: string;
|
|
1926
|
+
};
|
|
1927
|
+
query?: undefined;
|
|
1928
|
+
}>;
|
|
1929
|
+
/**
|
|
1930
|
+
* Successfully created. Returns created Chart ID.
|
|
1931
|
+
*/
|
|
1640
1932
|
export declare const zCreateChartResponse: z.ZodString;
|
|
1933
|
+
export declare const zDeleteChartData: z.ZodObject<{
|
|
1934
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1935
|
+
path: z.ZodObject<{
|
|
1936
|
+
cluster_id: z.ZodString;
|
|
1937
|
+
chart_name: z.ZodString;
|
|
1938
|
+
}, "strip", z.ZodTypeAny, {
|
|
1939
|
+
cluster_id: string;
|
|
1940
|
+
chart_name: string;
|
|
1941
|
+
}, {
|
|
1942
|
+
cluster_id: string;
|
|
1943
|
+
chart_name: string;
|
|
1944
|
+
}>;
|
|
1945
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1946
|
+
}, "strip", z.ZodTypeAny, {
|
|
1947
|
+
path: {
|
|
1948
|
+
cluster_id: string;
|
|
1949
|
+
chart_name: string;
|
|
1950
|
+
};
|
|
1951
|
+
body?: undefined;
|
|
1952
|
+
query?: undefined;
|
|
1953
|
+
}, {
|
|
1954
|
+
path: {
|
|
1955
|
+
cluster_id: string;
|
|
1956
|
+
chart_name: string;
|
|
1957
|
+
};
|
|
1958
|
+
body?: undefined;
|
|
1959
|
+
query?: undefined;
|
|
1960
|
+
}>;
|
|
1961
|
+
/**
|
|
1962
|
+
* Successfully deleted.
|
|
1963
|
+
*/
|
|
1641
1964
|
export declare const zDeleteChartResponse: z.ZodString;
|
|
1965
|
+
export declare const zGetChartData: z.ZodObject<{
|
|
1966
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1967
|
+
path: z.ZodObject<{
|
|
1968
|
+
cluster_id: z.ZodString;
|
|
1969
|
+
chart_name: z.ZodString;
|
|
1970
|
+
}, "strip", z.ZodTypeAny, {
|
|
1971
|
+
cluster_id: string;
|
|
1972
|
+
chart_name: string;
|
|
1973
|
+
}, {
|
|
1974
|
+
cluster_id: string;
|
|
1975
|
+
chart_name: string;
|
|
1976
|
+
}>;
|
|
1977
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1978
|
+
}, "strip", z.ZodTypeAny, {
|
|
1979
|
+
path: {
|
|
1980
|
+
cluster_id: string;
|
|
1981
|
+
chart_name: string;
|
|
1982
|
+
};
|
|
1983
|
+
body?: undefined;
|
|
1984
|
+
query?: undefined;
|
|
1985
|
+
}, {
|
|
1986
|
+
path: {
|
|
1987
|
+
cluster_id: string;
|
|
1988
|
+
chart_name: string;
|
|
1989
|
+
};
|
|
1990
|
+
body?: undefined;
|
|
1991
|
+
query?: undefined;
|
|
1992
|
+
}>;
|
|
1993
|
+
/**
|
|
1994
|
+
* Returns a single object containing chart details.
|
|
1995
|
+
*/
|
|
1642
1996
|
export declare const zGetChartResponse: z.ZodObject<{
|
|
1643
1997
|
values: z.ZodString;
|
|
1644
1998
|
version_channel: z.ZodString;
|
|
@@ -1673,7 +2027,79 @@ export declare const zGetChartResponse: z.ZodObject<{
|
|
|
1673
2027
|
created_at: string;
|
|
1674
2028
|
updated_at: string;
|
|
1675
2029
|
}>;
|
|
2030
|
+
export declare const zUpdateChartData: z.ZodObject<{
|
|
2031
|
+
body: z.ZodObject<{
|
|
2032
|
+
values: z.ZodString;
|
|
2033
|
+
version_channel: z.ZodString;
|
|
2034
|
+
}, "strip", z.ZodTypeAny, {
|
|
2035
|
+
values: string;
|
|
2036
|
+
version_channel: string;
|
|
2037
|
+
}, {
|
|
2038
|
+
values: string;
|
|
2039
|
+
version_channel: string;
|
|
2040
|
+
}>;
|
|
2041
|
+
path: z.ZodObject<{
|
|
2042
|
+
cluster_id: z.ZodString;
|
|
2043
|
+
chart_name: z.ZodString;
|
|
2044
|
+
}, "strip", z.ZodTypeAny, {
|
|
2045
|
+
cluster_id: string;
|
|
2046
|
+
chart_name: string;
|
|
2047
|
+
}, {
|
|
2048
|
+
cluster_id: string;
|
|
2049
|
+
chart_name: string;
|
|
2050
|
+
}>;
|
|
2051
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2052
|
+
}, "strip", z.ZodTypeAny, {
|
|
2053
|
+
body: {
|
|
2054
|
+
values: string;
|
|
2055
|
+
version_channel: string;
|
|
2056
|
+
};
|
|
2057
|
+
path: {
|
|
2058
|
+
cluster_id: string;
|
|
2059
|
+
chart_name: string;
|
|
2060
|
+
};
|
|
2061
|
+
query?: undefined;
|
|
2062
|
+
}, {
|
|
2063
|
+
body: {
|
|
2064
|
+
values: string;
|
|
2065
|
+
version_channel: string;
|
|
2066
|
+
};
|
|
2067
|
+
path: {
|
|
2068
|
+
cluster_id: string;
|
|
2069
|
+
chart_name: string;
|
|
2070
|
+
};
|
|
2071
|
+
query?: undefined;
|
|
2072
|
+
}>;
|
|
2073
|
+
/**
|
|
2074
|
+
* Successfully updated.
|
|
2075
|
+
*/
|
|
1676
2076
|
export declare const zUpdateChartResponse: z.ZodString;
|
|
2077
|
+
export declare const zListFleetsData: z.ZodObject<{
|
|
2078
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2079
|
+
path: z.ZodObject<{
|
|
2080
|
+
cluster_id: z.ZodString;
|
|
2081
|
+
}, "strip", z.ZodTypeAny, {
|
|
2082
|
+
cluster_id: string;
|
|
2083
|
+
}, {
|
|
2084
|
+
cluster_id: string;
|
|
2085
|
+
}>;
|
|
2086
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2087
|
+
}, "strip", z.ZodTypeAny, {
|
|
2088
|
+
path: {
|
|
2089
|
+
cluster_id: string;
|
|
2090
|
+
};
|
|
2091
|
+
body?: undefined;
|
|
2092
|
+
query?: undefined;
|
|
2093
|
+
}, {
|
|
2094
|
+
path: {
|
|
2095
|
+
cluster_id: string;
|
|
2096
|
+
};
|
|
2097
|
+
body?: undefined;
|
|
2098
|
+
query?: undefined;
|
|
2099
|
+
}>;
|
|
2100
|
+
/**
|
|
2101
|
+
* An array of fleets
|
|
2102
|
+
*/
|
|
1677
2103
|
export declare const zListFleetsResponse: z.ZodArray<z.ZodObject<{
|
|
1678
2104
|
limits: z.ZodOptional<z.ZodObject<{
|
|
1679
2105
|
cpu: z.ZodNumber;
|
|
@@ -1692,25 +2118,16 @@ export declare const zListFleetsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1692
2118
|
project: string;
|
|
1693
2119
|
enabled?: boolean | undefined;
|
|
1694
2120
|
}>>;
|
|
1695
|
-
hetzner: z.ZodOptional<z.
|
|
2121
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
1696
2122
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1697
|
-
apiKey: z.
|
|
2123
|
+
apiKey: z.ZodString;
|
|
1698
2124
|
}, "strip", z.ZodTypeAny, {
|
|
2125
|
+
apiKey: string;
|
|
1699
2126
|
enabled: boolean;
|
|
1700
|
-
apiKey?: string | undefined;
|
|
1701
2127
|
}, {
|
|
1702
|
-
apiKey
|
|
2128
|
+
apiKey: string;
|
|
1703
2129
|
enabled?: boolean | undefined;
|
|
1704
|
-
}
|
|
1705
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
1706
|
-
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1707
|
-
}, "strip", z.ZodTypeAny, {
|
|
1708
|
-
enabled: boolean;
|
|
1709
|
-
apiKey?: string | undefined;
|
|
1710
|
-
}, {
|
|
1711
|
-
apiKey?: string | undefined;
|
|
1712
|
-
enabled?: boolean | undefined;
|
|
1713
|
-
}>]>>;
|
|
2130
|
+
}>>;
|
|
1714
2131
|
aws: z.ZodOptional<z.ZodObject<{
|
|
1715
2132
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1716
2133
|
controllerRoleArn: z.ZodString;
|
|
@@ -1722,9 +2139,7 @@ export declare const zListFleetsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1722
2139
|
enabled?: boolean | undefined;
|
|
1723
2140
|
}>>;
|
|
1724
2141
|
id: z.ZodString;
|
|
1725
|
-
type: z.ZodEnum<["managed", "connected"]>;
|
|
1726
2142
|
}, "strip", z.ZodTypeAny, {
|
|
1727
|
-
type: "connected" | "managed";
|
|
1728
2143
|
id: string;
|
|
1729
2144
|
limits?: {
|
|
1730
2145
|
cpu: number;
|
|
@@ -1734,18 +2149,14 @@ export declare const zListFleetsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1734
2149
|
enabled: boolean;
|
|
1735
2150
|
} | undefined;
|
|
1736
2151
|
hetzner?: {
|
|
2152
|
+
apiKey: string;
|
|
1737
2153
|
enabled: boolean;
|
|
1738
|
-
apiKey?: string | undefined;
|
|
1739
|
-
} | {
|
|
1740
|
-
enabled: boolean;
|
|
1741
|
-
apiKey?: string | undefined;
|
|
1742
2154
|
} | undefined;
|
|
1743
2155
|
aws?: {
|
|
1744
2156
|
controllerRoleArn: string;
|
|
1745
2157
|
enabled: boolean;
|
|
1746
2158
|
} | undefined;
|
|
1747
2159
|
}, {
|
|
1748
|
-
type: "connected" | "managed";
|
|
1749
2160
|
id: string;
|
|
1750
2161
|
limits?: {
|
|
1751
2162
|
cpu: number;
|
|
@@ -1755,10 +2166,7 @@ export declare const zListFleetsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1755
2166
|
enabled?: boolean | undefined;
|
|
1756
2167
|
} | undefined;
|
|
1757
2168
|
hetzner?: {
|
|
1758
|
-
apiKey
|
|
1759
|
-
enabled?: boolean | undefined;
|
|
1760
|
-
} | {
|
|
1761
|
-
apiKey?: string | undefined;
|
|
2169
|
+
apiKey: string;
|
|
1762
2170
|
enabled?: boolean | undefined;
|
|
1763
2171
|
} | undefined;
|
|
1764
2172
|
aws?: {
|
|
@@ -1766,8 +2174,203 @@ export declare const zListFleetsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1766
2174
|
enabled?: boolean | undefined;
|
|
1767
2175
|
} | undefined;
|
|
1768
2176
|
}>, "many">;
|
|
2177
|
+
export declare const zCreateFleetData: z.ZodObject<{
|
|
2178
|
+
body: z.ZodObject<{
|
|
2179
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
2180
|
+
cpu: z.ZodNumber;
|
|
2181
|
+
}, "strip", z.ZodTypeAny, {
|
|
2182
|
+
cpu: number;
|
|
2183
|
+
}, {
|
|
2184
|
+
cpu: number;
|
|
2185
|
+
}>>;
|
|
2186
|
+
gcp: z.ZodOptional<z.ZodObject<{
|
|
2187
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2188
|
+
project: z.ZodString;
|
|
2189
|
+
}, "strip", z.ZodTypeAny, {
|
|
2190
|
+
project: string;
|
|
2191
|
+
enabled: boolean;
|
|
2192
|
+
}, {
|
|
2193
|
+
project: string;
|
|
2194
|
+
enabled?: boolean | undefined;
|
|
2195
|
+
}>>;
|
|
2196
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
2197
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2198
|
+
apiKey: z.ZodString;
|
|
2199
|
+
}, "strip", z.ZodTypeAny, {
|
|
2200
|
+
apiKey: string;
|
|
2201
|
+
enabled: boolean;
|
|
2202
|
+
}, {
|
|
2203
|
+
apiKey: string;
|
|
2204
|
+
enabled?: boolean | undefined;
|
|
2205
|
+
}>>;
|
|
2206
|
+
aws: z.ZodOptional<z.ZodObject<{
|
|
2207
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2208
|
+
controllerRoleArn: z.ZodString;
|
|
2209
|
+
}, "strip", z.ZodTypeAny, {
|
|
2210
|
+
controllerRoleArn: string;
|
|
2211
|
+
enabled: boolean;
|
|
2212
|
+
}, {
|
|
2213
|
+
controllerRoleArn: string;
|
|
2214
|
+
enabled?: boolean | undefined;
|
|
2215
|
+
}>>;
|
|
2216
|
+
id: z.ZodString;
|
|
2217
|
+
}, "strip", z.ZodTypeAny, {
|
|
2218
|
+
id: string;
|
|
2219
|
+
limits?: {
|
|
2220
|
+
cpu: number;
|
|
2221
|
+
} | undefined;
|
|
2222
|
+
gcp?: {
|
|
2223
|
+
project: string;
|
|
2224
|
+
enabled: boolean;
|
|
2225
|
+
} | undefined;
|
|
2226
|
+
hetzner?: {
|
|
2227
|
+
apiKey: string;
|
|
2228
|
+
enabled: boolean;
|
|
2229
|
+
} | undefined;
|
|
2230
|
+
aws?: {
|
|
2231
|
+
controllerRoleArn: string;
|
|
2232
|
+
enabled: boolean;
|
|
2233
|
+
} | undefined;
|
|
2234
|
+
}, {
|
|
2235
|
+
id: string;
|
|
2236
|
+
limits?: {
|
|
2237
|
+
cpu: number;
|
|
2238
|
+
} | undefined;
|
|
2239
|
+
gcp?: {
|
|
2240
|
+
project: string;
|
|
2241
|
+
enabled?: boolean | undefined;
|
|
2242
|
+
} | undefined;
|
|
2243
|
+
hetzner?: {
|
|
2244
|
+
apiKey: string;
|
|
2245
|
+
enabled?: boolean | undefined;
|
|
2246
|
+
} | undefined;
|
|
2247
|
+
aws?: {
|
|
2248
|
+
controllerRoleArn: string;
|
|
2249
|
+
enabled?: boolean | undefined;
|
|
2250
|
+
} | undefined;
|
|
2251
|
+
}>;
|
|
2252
|
+
path: z.ZodObject<{
|
|
2253
|
+
cluster_id: z.ZodString;
|
|
2254
|
+
}, "strip", z.ZodTypeAny, {
|
|
2255
|
+
cluster_id: string;
|
|
2256
|
+
}, {
|
|
2257
|
+
cluster_id: string;
|
|
2258
|
+
}>;
|
|
2259
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2260
|
+
}, "strip", z.ZodTypeAny, {
|
|
2261
|
+
body: {
|
|
2262
|
+
id: string;
|
|
2263
|
+
limits?: {
|
|
2264
|
+
cpu: number;
|
|
2265
|
+
} | undefined;
|
|
2266
|
+
gcp?: {
|
|
2267
|
+
project: string;
|
|
2268
|
+
enabled: boolean;
|
|
2269
|
+
} | undefined;
|
|
2270
|
+
hetzner?: {
|
|
2271
|
+
apiKey: string;
|
|
2272
|
+
enabled: boolean;
|
|
2273
|
+
} | undefined;
|
|
2274
|
+
aws?: {
|
|
2275
|
+
controllerRoleArn: string;
|
|
2276
|
+
enabled: boolean;
|
|
2277
|
+
} | undefined;
|
|
2278
|
+
};
|
|
2279
|
+
path: {
|
|
2280
|
+
cluster_id: string;
|
|
2281
|
+
};
|
|
2282
|
+
query?: undefined;
|
|
2283
|
+
}, {
|
|
2284
|
+
body: {
|
|
2285
|
+
id: string;
|
|
2286
|
+
limits?: {
|
|
2287
|
+
cpu: number;
|
|
2288
|
+
} | undefined;
|
|
2289
|
+
gcp?: {
|
|
2290
|
+
project: string;
|
|
2291
|
+
enabled?: boolean | undefined;
|
|
2292
|
+
} | undefined;
|
|
2293
|
+
hetzner?: {
|
|
2294
|
+
apiKey: string;
|
|
2295
|
+
enabled?: boolean | undefined;
|
|
2296
|
+
} | undefined;
|
|
2297
|
+
aws?: {
|
|
2298
|
+
controllerRoleArn: string;
|
|
2299
|
+
enabled?: boolean | undefined;
|
|
2300
|
+
} | undefined;
|
|
2301
|
+
};
|
|
2302
|
+
path: {
|
|
2303
|
+
cluster_id: string;
|
|
2304
|
+
};
|
|
2305
|
+
query?: undefined;
|
|
2306
|
+
}>;
|
|
2307
|
+
/**
|
|
2308
|
+
* Successfully created. Returns created Fleet ID.
|
|
2309
|
+
*/
|
|
1769
2310
|
export declare const zCreateFleetResponse: z.ZodString;
|
|
2311
|
+
export declare const zDeleteFleetData: z.ZodObject<{
|
|
2312
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2313
|
+
path: z.ZodObject<{
|
|
2314
|
+
cluster_id: z.ZodString;
|
|
2315
|
+
fleet_name: z.ZodString;
|
|
2316
|
+
}, "strip", z.ZodTypeAny, {
|
|
2317
|
+
cluster_id: string;
|
|
2318
|
+
fleet_name: string;
|
|
2319
|
+
}, {
|
|
2320
|
+
cluster_id: string;
|
|
2321
|
+
fleet_name: string;
|
|
2322
|
+
}>;
|
|
2323
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2324
|
+
}, "strip", z.ZodTypeAny, {
|
|
2325
|
+
path: {
|
|
2326
|
+
cluster_id: string;
|
|
2327
|
+
fleet_name: string;
|
|
2328
|
+
};
|
|
2329
|
+
body?: undefined;
|
|
2330
|
+
query?: undefined;
|
|
2331
|
+
}, {
|
|
2332
|
+
path: {
|
|
2333
|
+
cluster_id: string;
|
|
2334
|
+
fleet_name: string;
|
|
2335
|
+
};
|
|
2336
|
+
body?: undefined;
|
|
2337
|
+
query?: undefined;
|
|
2338
|
+
}>;
|
|
2339
|
+
/**
|
|
2340
|
+
* Successfully deleted.
|
|
2341
|
+
*/
|
|
1770
2342
|
export declare const zDeleteFleetResponse: z.ZodString;
|
|
2343
|
+
export declare const zGetFleetData: z.ZodObject<{
|
|
2344
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2345
|
+
path: z.ZodObject<{
|
|
2346
|
+
cluster_id: z.ZodString;
|
|
2347
|
+
fleet_name: z.ZodString;
|
|
2348
|
+
}, "strip", z.ZodTypeAny, {
|
|
2349
|
+
cluster_id: string;
|
|
2350
|
+
fleet_name: string;
|
|
2351
|
+
}, {
|
|
2352
|
+
cluster_id: string;
|
|
2353
|
+
fleet_name: string;
|
|
2354
|
+
}>;
|
|
2355
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2356
|
+
}, "strip", z.ZodTypeAny, {
|
|
2357
|
+
path: {
|
|
2358
|
+
cluster_id: string;
|
|
2359
|
+
fleet_name: string;
|
|
2360
|
+
};
|
|
2361
|
+
body?: undefined;
|
|
2362
|
+
query?: undefined;
|
|
2363
|
+
}, {
|
|
2364
|
+
path: {
|
|
2365
|
+
cluster_id: string;
|
|
2366
|
+
fleet_name: string;
|
|
2367
|
+
};
|
|
2368
|
+
body?: undefined;
|
|
2369
|
+
query?: undefined;
|
|
2370
|
+
}>;
|
|
2371
|
+
/**
|
|
2372
|
+
* Returns a single object containing fleet details.
|
|
2373
|
+
*/
|
|
1771
2374
|
export declare const zGetFleetResponse: z.ZodObject<{
|
|
1772
2375
|
limits: z.ZodOptional<z.ZodObject<{
|
|
1773
2376
|
cpu: z.ZodNumber;
|
|
@@ -1786,25 +2389,16 @@ export declare const zGetFleetResponse: z.ZodObject<{
|
|
|
1786
2389
|
project: string;
|
|
1787
2390
|
enabled?: boolean | undefined;
|
|
1788
2391
|
}>>;
|
|
1789
|
-
hetzner: z.ZodOptional<z.
|
|
2392
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
1790
2393
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1791
|
-
apiKey: z.
|
|
2394
|
+
apiKey: z.ZodString;
|
|
1792
2395
|
}, "strip", z.ZodTypeAny, {
|
|
2396
|
+
apiKey: string;
|
|
1793
2397
|
enabled: boolean;
|
|
1794
|
-
apiKey?: string | undefined;
|
|
1795
2398
|
}, {
|
|
1796
|
-
apiKey
|
|
2399
|
+
apiKey: string;
|
|
1797
2400
|
enabled?: boolean | undefined;
|
|
1798
|
-
}
|
|
1799
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
1800
|
-
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1801
|
-
}, "strip", z.ZodTypeAny, {
|
|
1802
|
-
enabled: boolean;
|
|
1803
|
-
apiKey?: string | undefined;
|
|
1804
|
-
}, {
|
|
1805
|
-
apiKey?: string | undefined;
|
|
1806
|
-
enabled?: boolean | undefined;
|
|
1807
|
-
}>]>>;
|
|
2401
|
+
}>>;
|
|
1808
2402
|
aws: z.ZodOptional<z.ZodObject<{
|
|
1809
2403
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1810
2404
|
controllerRoleArn: z.ZodString;
|
|
@@ -1816,9 +2410,7 @@ export declare const zGetFleetResponse: z.ZodObject<{
|
|
|
1816
2410
|
enabled?: boolean | undefined;
|
|
1817
2411
|
}>>;
|
|
1818
2412
|
id: z.ZodString;
|
|
1819
|
-
type: z.ZodEnum<["managed", "connected"]>;
|
|
1820
2413
|
}, "strip", z.ZodTypeAny, {
|
|
1821
|
-
type: "connected" | "managed";
|
|
1822
2414
|
id: string;
|
|
1823
2415
|
limits?: {
|
|
1824
2416
|
cpu: number;
|
|
@@ -1828,18 +2420,14 @@ export declare const zGetFleetResponse: z.ZodObject<{
|
|
|
1828
2420
|
enabled: boolean;
|
|
1829
2421
|
} | undefined;
|
|
1830
2422
|
hetzner?: {
|
|
2423
|
+
apiKey: string;
|
|
1831
2424
|
enabled: boolean;
|
|
1832
|
-
apiKey?: string | undefined;
|
|
1833
|
-
} | {
|
|
1834
|
-
enabled: boolean;
|
|
1835
|
-
apiKey?: string | undefined;
|
|
1836
2425
|
} | undefined;
|
|
1837
2426
|
aws?: {
|
|
1838
2427
|
controllerRoleArn: string;
|
|
1839
2428
|
enabled: boolean;
|
|
1840
2429
|
} | undefined;
|
|
1841
2430
|
}, {
|
|
1842
|
-
type: "connected" | "managed";
|
|
1843
2431
|
id: string;
|
|
1844
2432
|
limits?: {
|
|
1845
2433
|
cpu: number;
|
|
@@ -1849,10 +2437,7 @@ export declare const zGetFleetResponse: z.ZodObject<{
|
|
|
1849
2437
|
enabled?: boolean | undefined;
|
|
1850
2438
|
} | undefined;
|
|
1851
2439
|
hetzner?: {
|
|
1852
|
-
apiKey
|
|
1853
|
-
enabled?: boolean | undefined;
|
|
1854
|
-
} | {
|
|
1855
|
-
apiKey?: string | undefined;
|
|
2440
|
+
apiKey: string;
|
|
1856
2441
|
enabled?: boolean | undefined;
|
|
1857
2442
|
} | undefined;
|
|
1858
2443
|
aws?: {
|
|
@@ -1860,11 +2445,183 @@ export declare const zGetFleetResponse: z.ZodObject<{
|
|
|
1860
2445
|
enabled?: boolean | undefined;
|
|
1861
2446
|
} | undefined;
|
|
1862
2447
|
}>;
|
|
2448
|
+
export declare const zUpdateFleetData: z.ZodObject<{
|
|
2449
|
+
body: z.ZodObject<{
|
|
2450
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
2451
|
+
cpu: z.ZodNumber;
|
|
2452
|
+
}, "strip", z.ZodTypeAny, {
|
|
2453
|
+
cpu: number;
|
|
2454
|
+
}, {
|
|
2455
|
+
cpu: number;
|
|
2456
|
+
}>>;
|
|
2457
|
+
gcp: z.ZodOptional<z.ZodObject<{
|
|
2458
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2459
|
+
project: z.ZodString;
|
|
2460
|
+
}, "strip", z.ZodTypeAny, {
|
|
2461
|
+
project: string;
|
|
2462
|
+
enabled: boolean;
|
|
2463
|
+
}, {
|
|
2464
|
+
project: string;
|
|
2465
|
+
enabled?: boolean | undefined;
|
|
2466
|
+
}>>;
|
|
2467
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
2468
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2469
|
+
apiKey: z.ZodString;
|
|
2470
|
+
}, "strip", z.ZodTypeAny, {
|
|
2471
|
+
apiKey: string;
|
|
2472
|
+
enabled: boolean;
|
|
2473
|
+
}, {
|
|
2474
|
+
apiKey: string;
|
|
2475
|
+
enabled?: boolean | undefined;
|
|
2476
|
+
}>>;
|
|
2477
|
+
aws: z.ZodOptional<z.ZodObject<{
|
|
2478
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2479
|
+
controllerRoleArn: z.ZodString;
|
|
2480
|
+
}, "strip", z.ZodTypeAny, {
|
|
2481
|
+
controllerRoleArn: string;
|
|
2482
|
+
enabled: boolean;
|
|
2483
|
+
}, {
|
|
2484
|
+
controllerRoleArn: string;
|
|
2485
|
+
enabled?: boolean | undefined;
|
|
2486
|
+
}>>;
|
|
2487
|
+
}, "strip", z.ZodTypeAny, {
|
|
2488
|
+
limits?: {
|
|
2489
|
+
cpu: number;
|
|
2490
|
+
} | undefined;
|
|
2491
|
+
gcp?: {
|
|
2492
|
+
project: string;
|
|
2493
|
+
enabled: boolean;
|
|
2494
|
+
} | undefined;
|
|
2495
|
+
hetzner?: {
|
|
2496
|
+
apiKey: string;
|
|
2497
|
+
enabled: boolean;
|
|
2498
|
+
} | undefined;
|
|
2499
|
+
aws?: {
|
|
2500
|
+
controllerRoleArn: string;
|
|
2501
|
+
enabled: boolean;
|
|
2502
|
+
} | undefined;
|
|
2503
|
+
}, {
|
|
2504
|
+
limits?: {
|
|
2505
|
+
cpu: number;
|
|
2506
|
+
} | undefined;
|
|
2507
|
+
gcp?: {
|
|
2508
|
+
project: string;
|
|
2509
|
+
enabled?: boolean | undefined;
|
|
2510
|
+
} | undefined;
|
|
2511
|
+
hetzner?: {
|
|
2512
|
+
apiKey: string;
|
|
2513
|
+
enabled?: boolean | undefined;
|
|
2514
|
+
} | undefined;
|
|
2515
|
+
aws?: {
|
|
2516
|
+
controllerRoleArn: string;
|
|
2517
|
+
enabled?: boolean | undefined;
|
|
2518
|
+
} | undefined;
|
|
2519
|
+
}>;
|
|
2520
|
+
path: z.ZodObject<{
|
|
2521
|
+
cluster_id: z.ZodString;
|
|
2522
|
+
fleet_name: z.ZodString;
|
|
2523
|
+
}, "strip", z.ZodTypeAny, {
|
|
2524
|
+
cluster_id: string;
|
|
2525
|
+
fleet_name: string;
|
|
2526
|
+
}, {
|
|
2527
|
+
cluster_id: string;
|
|
2528
|
+
fleet_name: string;
|
|
2529
|
+
}>;
|
|
2530
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2531
|
+
}, "strip", z.ZodTypeAny, {
|
|
2532
|
+
body: {
|
|
2533
|
+
limits?: {
|
|
2534
|
+
cpu: number;
|
|
2535
|
+
} | undefined;
|
|
2536
|
+
gcp?: {
|
|
2537
|
+
project: string;
|
|
2538
|
+
enabled: boolean;
|
|
2539
|
+
} | undefined;
|
|
2540
|
+
hetzner?: {
|
|
2541
|
+
apiKey: string;
|
|
2542
|
+
enabled: boolean;
|
|
2543
|
+
} | undefined;
|
|
2544
|
+
aws?: {
|
|
2545
|
+
controllerRoleArn: string;
|
|
2546
|
+
enabled: boolean;
|
|
2547
|
+
} | undefined;
|
|
2548
|
+
};
|
|
2549
|
+
path: {
|
|
2550
|
+
cluster_id: string;
|
|
2551
|
+
fleet_name: string;
|
|
2552
|
+
};
|
|
2553
|
+
query?: undefined;
|
|
2554
|
+
}, {
|
|
2555
|
+
body: {
|
|
2556
|
+
limits?: {
|
|
2557
|
+
cpu: number;
|
|
2558
|
+
} | undefined;
|
|
2559
|
+
gcp?: {
|
|
2560
|
+
project: string;
|
|
2561
|
+
enabled?: boolean | undefined;
|
|
2562
|
+
} | undefined;
|
|
2563
|
+
hetzner?: {
|
|
2564
|
+
apiKey: string;
|
|
2565
|
+
enabled?: boolean | undefined;
|
|
2566
|
+
} | undefined;
|
|
2567
|
+
aws?: {
|
|
2568
|
+
controllerRoleArn: string;
|
|
2569
|
+
enabled?: boolean | undefined;
|
|
2570
|
+
} | undefined;
|
|
2571
|
+
};
|
|
2572
|
+
path: {
|
|
2573
|
+
cluster_id: string;
|
|
2574
|
+
fleet_name: string;
|
|
2575
|
+
};
|
|
2576
|
+
query?: undefined;
|
|
2577
|
+
}>;
|
|
2578
|
+
/**
|
|
2579
|
+
* Successfully updated.
|
|
2580
|
+
*/
|
|
1863
2581
|
export declare const zUpdateFleetResponse: z.ZodString;
|
|
2582
|
+
export declare const zQueryClusterData: z.ZodObject<{
|
|
2583
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2584
|
+
path: z.ZodObject<{
|
|
2585
|
+
cluster_id: z.ZodString;
|
|
2586
|
+
}, "strip", z.ZodTypeAny, {
|
|
2587
|
+
cluster_id: string;
|
|
2588
|
+
}, {
|
|
2589
|
+
cluster_id: string;
|
|
2590
|
+
}>;
|
|
2591
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2592
|
+
}, "strip", z.ZodTypeAny, {
|
|
2593
|
+
path: {
|
|
2594
|
+
cluster_id: string;
|
|
2595
|
+
};
|
|
2596
|
+
body?: undefined;
|
|
2597
|
+
query?: undefined;
|
|
2598
|
+
}, {
|
|
2599
|
+
path: {
|
|
2600
|
+
cluster_id: string;
|
|
2601
|
+
};
|
|
2602
|
+
body?: undefined;
|
|
2603
|
+
query?: undefined;
|
|
2604
|
+
}>;
|
|
2605
|
+
export declare const zListClustersData: z.ZodObject<{
|
|
2606
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2607
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
2608
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2609
|
+
}, "strip", z.ZodTypeAny, {
|
|
2610
|
+
body?: undefined;
|
|
2611
|
+
path?: undefined;
|
|
2612
|
+
query?: undefined;
|
|
2613
|
+
}, {
|
|
2614
|
+
body?: undefined;
|
|
2615
|
+
path?: undefined;
|
|
2616
|
+
query?: undefined;
|
|
2617
|
+
}>;
|
|
2618
|
+
/**
|
|
2619
|
+
* An array of clusters
|
|
2620
|
+
*/
|
|
1864
2621
|
export declare const zListClustersResponse: z.ZodArray<z.ZodObject<{
|
|
1865
2622
|
name: z.ZodString;
|
|
1866
|
-
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1"]>>;
|
|
1867
2623
|
tier: z.ZodEnum<["basic", "pro"]>;
|
|
2624
|
+
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1", "europe-central-1a"]>>;
|
|
1868
2625
|
version_channel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1869
2626
|
id: z.ZodString;
|
|
1870
2627
|
status: z.ZodEnum<["active", "deleted", "creating", "deployed", "failed", "updating"]>;
|
|
@@ -1881,7 +2638,7 @@ export declare const zListClustersResponse: z.ZodArray<z.ZodObject<{
|
|
|
1881
2638
|
version_channel: string;
|
|
1882
2639
|
tier: "basic" | "pro";
|
|
1883
2640
|
ready?: boolean | undefined;
|
|
1884
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2641
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
1885
2642
|
version_current?: string | undefined;
|
|
1886
2643
|
created_at?: string | undefined;
|
|
1887
2644
|
updated_at?: string | undefined;
|
|
@@ -1893,7 +2650,7 @@ export declare const zListClustersResponse: z.ZodArray<z.ZodObject<{
|
|
|
1893
2650
|
status: "failed" | "active" | "deleted" | "creating" | "deployed" | "updating";
|
|
1894
2651
|
tier: "basic" | "pro";
|
|
1895
2652
|
ready?: boolean | undefined;
|
|
1896
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2653
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
1897
2654
|
version_channel?: string | undefined;
|
|
1898
2655
|
version_current?: string | undefined;
|
|
1899
2656
|
created_at?: string | undefined;
|
|
@@ -1901,12 +2658,105 @@ export declare const zListClustersResponse: z.ZodArray<z.ZodObject<{
|
|
|
1901
2658
|
endpoint?: string | undefined;
|
|
1902
2659
|
certificate_ca?: string | undefined;
|
|
1903
2660
|
}>, "many">;
|
|
2661
|
+
export declare const zCreateClusterData: z.ZodObject<{
|
|
2662
|
+
body: z.ZodObject<{
|
|
2663
|
+
name: z.ZodString;
|
|
2664
|
+
tier: z.ZodEnum<["basic", "pro"]>;
|
|
2665
|
+
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1", "europe-central-1a"]>>;
|
|
2666
|
+
version_channel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2667
|
+
}, "strip", z.ZodTypeAny, {
|
|
2668
|
+
name: string;
|
|
2669
|
+
version_channel: string;
|
|
2670
|
+
tier: "basic" | "pro";
|
|
2671
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
2672
|
+
}, {
|
|
2673
|
+
name: string;
|
|
2674
|
+
tier: "basic" | "pro";
|
|
2675
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
2676
|
+
version_channel?: string | undefined;
|
|
2677
|
+
}>;
|
|
2678
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
2679
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2680
|
+
}, "strip", z.ZodTypeAny, {
|
|
2681
|
+
body: {
|
|
2682
|
+
name: string;
|
|
2683
|
+
version_channel: string;
|
|
2684
|
+
tier: "basic" | "pro";
|
|
2685
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
2686
|
+
};
|
|
2687
|
+
path?: undefined;
|
|
2688
|
+
query?: undefined;
|
|
2689
|
+
}, {
|
|
2690
|
+
body: {
|
|
2691
|
+
name: string;
|
|
2692
|
+
tier: "basic" | "pro";
|
|
2693
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
2694
|
+
version_channel?: string | undefined;
|
|
2695
|
+
};
|
|
2696
|
+
path?: undefined;
|
|
2697
|
+
query?: undefined;
|
|
2698
|
+
}>;
|
|
2699
|
+
/**
|
|
2700
|
+
* Successfully created. Returns created Cluster ID.
|
|
2701
|
+
*/
|
|
1904
2702
|
export declare const zCreateClusterResponse: z.ZodString;
|
|
2703
|
+
export declare const zDeleteClusterData: z.ZodObject<{
|
|
2704
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2705
|
+
path: z.ZodObject<{
|
|
2706
|
+
cluster_id: z.ZodString;
|
|
2707
|
+
}, "strip", z.ZodTypeAny, {
|
|
2708
|
+
cluster_id: string;
|
|
2709
|
+
}, {
|
|
2710
|
+
cluster_id: string;
|
|
2711
|
+
}>;
|
|
2712
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2713
|
+
}, "strip", z.ZodTypeAny, {
|
|
2714
|
+
path: {
|
|
2715
|
+
cluster_id: string;
|
|
2716
|
+
};
|
|
2717
|
+
body?: undefined;
|
|
2718
|
+
query?: undefined;
|
|
2719
|
+
}, {
|
|
2720
|
+
path: {
|
|
2721
|
+
cluster_id: string;
|
|
2722
|
+
};
|
|
2723
|
+
body?: undefined;
|
|
2724
|
+
query?: undefined;
|
|
2725
|
+
}>;
|
|
2726
|
+
/**
|
|
2727
|
+
* Successfully deleted.
|
|
2728
|
+
*/
|
|
1905
2729
|
export declare const zDeleteClusterResponse: z.ZodString;
|
|
2730
|
+
export declare const zGetClusterData: z.ZodObject<{
|
|
2731
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2732
|
+
path: z.ZodObject<{
|
|
2733
|
+
cluster_id: z.ZodString;
|
|
2734
|
+
}, "strip", z.ZodTypeAny, {
|
|
2735
|
+
cluster_id: string;
|
|
2736
|
+
}, {
|
|
2737
|
+
cluster_id: string;
|
|
2738
|
+
}>;
|
|
2739
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2740
|
+
}, "strip", z.ZodTypeAny, {
|
|
2741
|
+
path: {
|
|
2742
|
+
cluster_id: string;
|
|
2743
|
+
};
|
|
2744
|
+
body?: undefined;
|
|
2745
|
+
query?: undefined;
|
|
2746
|
+
}, {
|
|
2747
|
+
path: {
|
|
2748
|
+
cluster_id: string;
|
|
2749
|
+
};
|
|
2750
|
+
body?: undefined;
|
|
2751
|
+
query?: undefined;
|
|
2752
|
+
}>;
|
|
2753
|
+
/**
|
|
2754
|
+
* Returns a single object containing cluster details.
|
|
2755
|
+
*/
|
|
1906
2756
|
export declare const zGetClusterResponse: z.ZodObject<{
|
|
1907
2757
|
name: z.ZodString;
|
|
1908
|
-
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1"]>>;
|
|
1909
2758
|
tier: z.ZodEnum<["basic", "pro"]>;
|
|
2759
|
+
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1", "europe-central-1a"]>>;
|
|
1910
2760
|
version_channel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1911
2761
|
id: z.ZodString;
|
|
1912
2762
|
status: z.ZodEnum<["active", "deleted", "creating", "deployed", "failed", "updating"]>;
|
|
@@ -1923,7 +2773,7 @@ export declare const zGetClusterResponse: z.ZodObject<{
|
|
|
1923
2773
|
version_channel: string;
|
|
1924
2774
|
tier: "basic" | "pro";
|
|
1925
2775
|
ready?: boolean | undefined;
|
|
1926
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2776
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
1927
2777
|
version_current?: string | undefined;
|
|
1928
2778
|
created_at?: string | undefined;
|
|
1929
2779
|
updated_at?: string | undefined;
|
|
@@ -1935,7 +2785,7 @@ export declare const zGetClusterResponse: z.ZodObject<{
|
|
|
1935
2785
|
status: "failed" | "active" | "deleted" | "creating" | "deployed" | "updating";
|
|
1936
2786
|
tier: "basic" | "pro";
|
|
1937
2787
|
ready?: boolean | undefined;
|
|
1938
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2788
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
1939
2789
|
version_channel?: string | undefined;
|
|
1940
2790
|
version_current?: string | undefined;
|
|
1941
2791
|
created_at?: string | undefined;
|
|
@@ -1943,10 +2793,56 @@ export declare const zGetClusterResponse: z.ZodObject<{
|
|
|
1943
2793
|
endpoint?: string | undefined;
|
|
1944
2794
|
certificate_ca?: string | undefined;
|
|
1945
2795
|
}>;
|
|
2796
|
+
export declare const zUpdateClusterData: z.ZodObject<{
|
|
2797
|
+
body: z.ZodObject<{
|
|
2798
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2799
|
+
tier: z.ZodEnum<["basic", "pro"]>;
|
|
2800
|
+
version_channel: z.ZodOptional<z.ZodString>;
|
|
2801
|
+
}, "strip", z.ZodTypeAny, {
|
|
2802
|
+
tier: "basic" | "pro";
|
|
2803
|
+
name?: string | undefined;
|
|
2804
|
+
version_channel?: string | undefined;
|
|
2805
|
+
}, {
|
|
2806
|
+
tier: "basic" | "pro";
|
|
2807
|
+
name?: string | undefined;
|
|
2808
|
+
version_channel?: string | undefined;
|
|
2809
|
+
}>;
|
|
2810
|
+
path: z.ZodObject<{
|
|
2811
|
+
cluster_id: z.ZodString;
|
|
2812
|
+
}, "strip", z.ZodTypeAny, {
|
|
2813
|
+
cluster_id: string;
|
|
2814
|
+
}, {
|
|
2815
|
+
cluster_id: string;
|
|
2816
|
+
}>;
|
|
2817
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2818
|
+
}, "strip", z.ZodTypeAny, {
|
|
2819
|
+
body: {
|
|
2820
|
+
tier: "basic" | "pro";
|
|
2821
|
+
name?: string | undefined;
|
|
2822
|
+
version_channel?: string | undefined;
|
|
2823
|
+
};
|
|
2824
|
+
path: {
|
|
2825
|
+
cluster_id: string;
|
|
2826
|
+
};
|
|
2827
|
+
query?: undefined;
|
|
2828
|
+
}, {
|
|
2829
|
+
body: {
|
|
2830
|
+
tier: "basic" | "pro";
|
|
2831
|
+
name?: string | undefined;
|
|
2832
|
+
version_channel?: string | undefined;
|
|
2833
|
+
};
|
|
2834
|
+
path: {
|
|
2835
|
+
cluster_id: string;
|
|
2836
|
+
};
|
|
2837
|
+
query?: undefined;
|
|
2838
|
+
}>;
|
|
2839
|
+
/**
|
|
2840
|
+
* Successfully updated. Returns updated cluster details.
|
|
2841
|
+
*/
|
|
1946
2842
|
export declare const zUpdateClusterResponse: z.ZodObject<{
|
|
1947
2843
|
name: z.ZodString;
|
|
1948
|
-
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1"]>>;
|
|
1949
2844
|
tier: z.ZodEnum<["basic", "pro"]>;
|
|
2845
|
+
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1", "europe-central-1a"]>>;
|
|
1950
2846
|
version_channel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1951
2847
|
id: z.ZodString;
|
|
1952
2848
|
status: z.ZodEnum<["active", "deleted", "creating", "deployed", "failed", "updating"]>;
|
|
@@ -1963,7 +2859,7 @@ export declare const zUpdateClusterResponse: z.ZodObject<{
|
|
|
1963
2859
|
version_channel: string;
|
|
1964
2860
|
tier: "basic" | "pro";
|
|
1965
2861
|
ready?: boolean | undefined;
|
|
1966
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2862
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
1967
2863
|
version_current?: string | undefined;
|
|
1968
2864
|
created_at?: string | undefined;
|
|
1969
2865
|
updated_at?: string | undefined;
|
|
@@ -1975,7 +2871,7 @@ export declare const zUpdateClusterResponse: z.ZodObject<{
|
|
|
1975
2871
|
status: "failed" | "active" | "deleted" | "creating" | "deployed" | "updating";
|
|
1976
2872
|
tier: "basic" | "pro";
|
|
1977
2873
|
ready?: boolean | undefined;
|
|
1978
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2874
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
1979
2875
|
version_channel?: string | undefined;
|
|
1980
2876
|
version_current?: string | undefined;
|
|
1981
2877
|
created_at?: string | undefined;
|
|
@@ -1983,10 +2879,36 @@ export declare const zUpdateClusterResponse: z.ZodObject<{
|
|
|
1983
2879
|
endpoint?: string | undefined;
|
|
1984
2880
|
certificate_ca?: string | undefined;
|
|
1985
2881
|
}>;
|
|
2882
|
+
export declare const zGetJoinInformationData: z.ZodObject<{
|
|
2883
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2884
|
+
path: z.ZodObject<{
|
|
2885
|
+
cluster_id: z.ZodString;
|
|
2886
|
+
}, "strip", z.ZodTypeAny, {
|
|
2887
|
+
cluster_id: string;
|
|
2888
|
+
}, {
|
|
2889
|
+
cluster_id: string;
|
|
2890
|
+
}>;
|
|
2891
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2892
|
+
}, "strip", z.ZodTypeAny, {
|
|
2893
|
+
path: {
|
|
2894
|
+
cluster_id: string;
|
|
2895
|
+
};
|
|
2896
|
+
body?: undefined;
|
|
2897
|
+
query?: undefined;
|
|
2898
|
+
}, {
|
|
2899
|
+
path: {
|
|
2900
|
+
cluster_id: string;
|
|
2901
|
+
};
|
|
2902
|
+
body?: undefined;
|
|
2903
|
+
query?: undefined;
|
|
2904
|
+
}>;
|
|
2905
|
+
/**
|
|
2906
|
+
* An object of cluster join information
|
|
2907
|
+
*/
|
|
1986
2908
|
export declare const zGetJoinInformationResponse: z.ZodObject<{
|
|
1987
2909
|
name: z.ZodString;
|
|
1988
|
-
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1"]>>;
|
|
1989
2910
|
tier: z.ZodEnum<["basic", "pro"]>;
|
|
2911
|
+
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1", "europe-central-1a"]>>;
|
|
1990
2912
|
version_channel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1991
2913
|
id: z.ZodString;
|
|
1992
2914
|
status: z.ZodEnum<["active", "deleted", "creating", "deployed", "failed", "updating"]>;
|
|
@@ -2003,7 +2925,7 @@ export declare const zGetJoinInformationResponse: z.ZodObject<{
|
|
|
2003
2925
|
version_channel: string;
|
|
2004
2926
|
tier: "basic" | "pro";
|
|
2005
2927
|
ready?: boolean | undefined;
|
|
2006
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2928
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
2007
2929
|
version_current?: string | undefined;
|
|
2008
2930
|
created_at?: string | undefined;
|
|
2009
2931
|
updated_at?: string | undefined;
|
|
@@ -2015,7 +2937,7 @@ export declare const zGetJoinInformationResponse: z.ZodObject<{
|
|
|
2015
2937
|
status: "failed" | "active" | "deleted" | "creating" | "deployed" | "updating";
|
|
2016
2938
|
tier: "basic" | "pro";
|
|
2017
2939
|
ready?: boolean | undefined;
|
|
2018
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2940
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
2019
2941
|
version_channel?: string | undefined;
|
|
2020
2942
|
version_current?: string | undefined;
|
|
2021
2943
|
created_at?: string | undefined;
|
|
@@ -2023,6 +2945,22 @@ export declare const zGetJoinInformationResponse: z.ZodObject<{
|
|
|
2023
2945
|
endpoint?: string | undefined;
|
|
2024
2946
|
certificate_ca?: string | undefined;
|
|
2025
2947
|
}>;
|
|
2948
|
+
export declare const zListInvitesData: z.ZodObject<{
|
|
2949
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2950
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
2951
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2952
|
+
}, "strip", z.ZodTypeAny, {
|
|
2953
|
+
body?: undefined;
|
|
2954
|
+
path?: undefined;
|
|
2955
|
+
query?: undefined;
|
|
2956
|
+
}, {
|
|
2957
|
+
body?: undefined;
|
|
2958
|
+
path?: undefined;
|
|
2959
|
+
query?: undefined;
|
|
2960
|
+
}>;
|
|
2961
|
+
/**
|
|
2962
|
+
* An array of invites
|
|
2963
|
+
*/
|
|
2026
2964
|
export declare const zListInvitesResponse: z.ZodArray<z.ZodObject<{
|
|
2027
2965
|
id: z.ZodOptional<z.ZodString>;
|
|
2028
2966
|
organization_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2042,6 +2980,32 @@ export declare const zListInvitesResponse: z.ZodArray<z.ZodObject<{
|
|
|
2042
2980
|
email?: string | undefined;
|
|
2043
2981
|
organization_id?: string | undefined;
|
|
2044
2982
|
}>, "many">;
|
|
2983
|
+
export declare const zCreateInviteData: z.ZodObject<{
|
|
2984
|
+
body: z.ZodObject<{
|
|
2985
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2986
|
+
}, "strip", z.ZodTypeAny, {
|
|
2987
|
+
email?: string | undefined;
|
|
2988
|
+
}, {
|
|
2989
|
+
email?: string | undefined;
|
|
2990
|
+
}>;
|
|
2991
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
2992
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2993
|
+
}, "strip", z.ZodTypeAny, {
|
|
2994
|
+
body: {
|
|
2995
|
+
email?: string | undefined;
|
|
2996
|
+
};
|
|
2997
|
+
path?: undefined;
|
|
2998
|
+
query?: undefined;
|
|
2999
|
+
}, {
|
|
3000
|
+
body: {
|
|
3001
|
+
email?: string | undefined;
|
|
3002
|
+
};
|
|
3003
|
+
path?: undefined;
|
|
3004
|
+
query?: undefined;
|
|
3005
|
+
}>;
|
|
3006
|
+
/**
|
|
3007
|
+
* Successfully created. Returns created invite details.
|
|
3008
|
+
*/
|
|
2045
3009
|
export declare const zCreateInviteResponse: z.ZodObject<{
|
|
2046
3010
|
id: z.ZodOptional<z.ZodString>;
|
|
2047
3011
|
organization_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2061,6 +3025,32 @@ export declare const zCreateInviteResponse: z.ZodObject<{
|
|
|
2061
3025
|
email?: string | undefined;
|
|
2062
3026
|
organization_id?: string | undefined;
|
|
2063
3027
|
}>;
|
|
3028
|
+
export declare const zGetInviteData: z.ZodObject<{
|
|
3029
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3030
|
+
path: z.ZodObject<{
|
|
3031
|
+
code: z.ZodString;
|
|
3032
|
+
}, "strip", z.ZodTypeAny, {
|
|
3033
|
+
code: string;
|
|
3034
|
+
}, {
|
|
3035
|
+
code: string;
|
|
3036
|
+
}>;
|
|
3037
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3038
|
+
}, "strip", z.ZodTypeAny, {
|
|
3039
|
+
path: {
|
|
3040
|
+
code: string;
|
|
3041
|
+
};
|
|
3042
|
+
body?: undefined;
|
|
3043
|
+
query?: undefined;
|
|
3044
|
+
}, {
|
|
3045
|
+
path: {
|
|
3046
|
+
code: string;
|
|
3047
|
+
};
|
|
3048
|
+
body?: undefined;
|
|
3049
|
+
query?: undefined;
|
|
3050
|
+
}>;
|
|
3051
|
+
/**
|
|
3052
|
+
* Returns a single object containing invite details.
|
|
3053
|
+
*/
|
|
2064
3054
|
export declare const zGetInviteResponse: z.ZodObject<{
|
|
2065
3055
|
id: z.ZodOptional<z.ZodString>;
|
|
2066
3056
|
organization_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2080,6 +3070,45 @@ export declare const zGetInviteResponse: z.ZodObject<{
|
|
|
2080
3070
|
email?: string | undefined;
|
|
2081
3071
|
organization_id?: string | undefined;
|
|
2082
3072
|
}>;
|
|
3073
|
+
export declare const zDeleteInviteData: z.ZodObject<{
|
|
3074
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3075
|
+
path: z.ZodObject<{
|
|
3076
|
+
email: z.ZodString;
|
|
3077
|
+
}, "strip", z.ZodTypeAny, {
|
|
3078
|
+
email: string;
|
|
3079
|
+
}, {
|
|
3080
|
+
email: string;
|
|
3081
|
+
}>;
|
|
3082
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3083
|
+
}, "strip", z.ZodTypeAny, {
|
|
3084
|
+
path: {
|
|
3085
|
+
email: string;
|
|
3086
|
+
};
|
|
3087
|
+
body?: undefined;
|
|
3088
|
+
query?: undefined;
|
|
3089
|
+
}, {
|
|
3090
|
+
path: {
|
|
3091
|
+
email: string;
|
|
3092
|
+
};
|
|
3093
|
+
body?: undefined;
|
|
3094
|
+
query?: undefined;
|
|
3095
|
+
}>;
|
|
3096
|
+
export declare const zListMarketplaceChartsData: z.ZodObject<{
|
|
3097
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3098
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3099
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3100
|
+
}, "strip", z.ZodTypeAny, {
|
|
3101
|
+
body?: undefined;
|
|
3102
|
+
path?: undefined;
|
|
3103
|
+
query?: undefined;
|
|
3104
|
+
}, {
|
|
3105
|
+
body?: undefined;
|
|
3106
|
+
path?: undefined;
|
|
3107
|
+
query?: undefined;
|
|
3108
|
+
}>;
|
|
3109
|
+
/**
|
|
3110
|
+
* An array of chart listings in the marketplace.
|
|
3111
|
+
*/
|
|
2083
3112
|
export declare const zListMarketplaceChartsResponse: z.ZodArray<z.ZodObject<{
|
|
2084
3113
|
id: z.ZodString;
|
|
2085
3114
|
name: z.ZodString;
|
|
@@ -2131,6 +3160,32 @@ export declare const zListMarketplaceChartsResponse: z.ZodArray<z.ZodObject<{
|
|
|
2131
3160
|
placeholder: string;
|
|
2132
3161
|
}[];
|
|
2133
3162
|
}>, "many">;
|
|
3163
|
+
export declare const zGetMarketplaceChartData: z.ZodObject<{
|
|
3164
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3165
|
+
path: z.ZodObject<{
|
|
3166
|
+
listing_id: z.ZodString;
|
|
3167
|
+
}, "strip", z.ZodTypeAny, {
|
|
3168
|
+
listing_id: string;
|
|
3169
|
+
}, {
|
|
3170
|
+
listing_id: string;
|
|
3171
|
+
}>;
|
|
3172
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3173
|
+
}, "strip", z.ZodTypeAny, {
|
|
3174
|
+
path: {
|
|
3175
|
+
listing_id: string;
|
|
3176
|
+
};
|
|
3177
|
+
body?: undefined;
|
|
3178
|
+
query?: undefined;
|
|
3179
|
+
}, {
|
|
3180
|
+
path: {
|
|
3181
|
+
listing_id: string;
|
|
3182
|
+
};
|
|
3183
|
+
body?: undefined;
|
|
3184
|
+
query?: undefined;
|
|
3185
|
+
}>;
|
|
3186
|
+
/**
|
|
3187
|
+
* Returns an object containing the chart listing details.
|
|
3188
|
+
*/
|
|
2134
3189
|
export declare const zGetMarketplaceChartResponse: z.ZodObject<{
|
|
2135
3190
|
id: z.ZodString;
|
|
2136
3191
|
name: z.ZodString;
|
|
@@ -2182,6 +3237,22 @@ export declare const zGetMarketplaceChartResponse: z.ZodObject<{
|
|
|
2182
3237
|
placeholder: string;
|
|
2183
3238
|
}[];
|
|
2184
3239
|
}>;
|
|
3240
|
+
export declare const zGetOrganizationData: z.ZodObject<{
|
|
3241
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3242
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3243
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3244
|
+
}, "strip", z.ZodTypeAny, {
|
|
3245
|
+
body?: undefined;
|
|
3246
|
+
path?: undefined;
|
|
3247
|
+
query?: undefined;
|
|
3248
|
+
}, {
|
|
3249
|
+
body?: undefined;
|
|
3250
|
+
path?: undefined;
|
|
3251
|
+
query?: undefined;
|
|
3252
|
+
}>;
|
|
3253
|
+
/**
|
|
3254
|
+
* Returns a single object containing organization details.
|
|
3255
|
+
*/
|
|
2185
3256
|
export declare const zGetOrganizationResponse: z.ZodObject<{
|
|
2186
3257
|
id: z.ZodString;
|
|
2187
3258
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -2192,7 +3263,6 @@ export declare const zGetOrganizationResponse: z.ZodObject<{
|
|
|
2192
3263
|
pro_clusters_max: z.ZodNumber;
|
|
2193
3264
|
pro_clusters_available: z.ZodNumber;
|
|
2194
3265
|
fleets_max: z.ZodNumber;
|
|
2195
|
-
managed_fleets_cpu_max: z.ZodNumber;
|
|
2196
3266
|
cluster_tiers: z.ZodArray<z.ZodString, "many">;
|
|
2197
3267
|
regions: z.ZodArray<z.ZodString, "many">;
|
|
2198
3268
|
versions: z.ZodArray<z.ZodObject<{
|
|
@@ -2215,7 +3285,6 @@ export declare const zGetOrganizationResponse: z.ZodObject<{
|
|
|
2215
3285
|
pro_clusters_max: number;
|
|
2216
3286
|
pro_clusters_available: number;
|
|
2217
3287
|
fleets_max: number;
|
|
2218
|
-
managed_fleets_cpu_max: number;
|
|
2219
3288
|
cluster_tiers: string[];
|
|
2220
3289
|
regions: string[];
|
|
2221
3290
|
}, {
|
|
@@ -2228,7 +3297,6 @@ export declare const zGetOrganizationResponse: z.ZodObject<{
|
|
|
2228
3297
|
pro_clusters_max: number;
|
|
2229
3298
|
pro_clusters_available: number;
|
|
2230
3299
|
fleets_max: number;
|
|
2231
|
-
managed_fleets_cpu_max: number;
|
|
2232
3300
|
cluster_tiers: string[];
|
|
2233
3301
|
regions: string[];
|
|
2234
3302
|
}>;
|
|
@@ -2247,7 +3315,6 @@ export declare const zGetOrganizationResponse: z.ZodObject<{
|
|
|
2247
3315
|
pro_clusters_max: number;
|
|
2248
3316
|
pro_clusters_available: number;
|
|
2249
3317
|
fleets_max: number;
|
|
2250
|
-
managed_fleets_cpu_max: number;
|
|
2251
3318
|
cluster_tiers: string[];
|
|
2252
3319
|
regions: string[];
|
|
2253
3320
|
};
|
|
@@ -2266,12 +3333,70 @@ export declare const zGetOrganizationResponse: z.ZodObject<{
|
|
|
2266
3333
|
pro_clusters_max: number;
|
|
2267
3334
|
pro_clusters_available: number;
|
|
2268
3335
|
fleets_max: number;
|
|
2269
|
-
managed_fleets_cpu_max: number;
|
|
2270
3336
|
cluster_tiers: string[];
|
|
2271
3337
|
regions: string[];
|
|
2272
3338
|
};
|
|
2273
3339
|
name?: string | undefined;
|
|
2274
3340
|
}>;
|
|
3341
|
+
export declare const zCreateOrganizationData: z.ZodObject<{
|
|
3342
|
+
body: z.ZodObject<{
|
|
3343
|
+
email: z.ZodString;
|
|
3344
|
+
first_name: z.ZodString;
|
|
3345
|
+
last_name: z.ZodString;
|
|
3346
|
+
company_name: z.ZodString;
|
|
3347
|
+
password: z.ZodString;
|
|
3348
|
+
}, "strip", z.ZodTypeAny, {
|
|
3349
|
+
email: string;
|
|
3350
|
+
first_name: string;
|
|
3351
|
+
last_name: string;
|
|
3352
|
+
company_name: string;
|
|
3353
|
+
password: string;
|
|
3354
|
+
}, {
|
|
3355
|
+
email: string;
|
|
3356
|
+
first_name: string;
|
|
3357
|
+
last_name: string;
|
|
3358
|
+
company_name: string;
|
|
3359
|
+
password: string;
|
|
3360
|
+
}>;
|
|
3361
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3362
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3363
|
+
}, "strip", z.ZodTypeAny, {
|
|
3364
|
+
body: {
|
|
3365
|
+
email: string;
|
|
3366
|
+
first_name: string;
|
|
3367
|
+
last_name: string;
|
|
3368
|
+
company_name: string;
|
|
3369
|
+
password: string;
|
|
3370
|
+
};
|
|
3371
|
+
path?: undefined;
|
|
3372
|
+
query?: undefined;
|
|
3373
|
+
}, {
|
|
3374
|
+
body: {
|
|
3375
|
+
email: string;
|
|
3376
|
+
first_name: string;
|
|
3377
|
+
last_name: string;
|
|
3378
|
+
company_name: string;
|
|
3379
|
+
password: string;
|
|
3380
|
+
};
|
|
3381
|
+
path?: undefined;
|
|
3382
|
+
query?: undefined;
|
|
3383
|
+
}>;
|
|
3384
|
+
export declare const zListTokensData: z.ZodObject<{
|
|
3385
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3386
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3387
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3388
|
+
}, "strip", z.ZodTypeAny, {
|
|
3389
|
+
body?: undefined;
|
|
3390
|
+
path?: undefined;
|
|
3391
|
+
query?: undefined;
|
|
3392
|
+
}, {
|
|
3393
|
+
body?: undefined;
|
|
3394
|
+
path?: undefined;
|
|
3395
|
+
query?: undefined;
|
|
3396
|
+
}>;
|
|
3397
|
+
/**
|
|
3398
|
+
* Returns a list of access token details with masked secrets.
|
|
3399
|
+
*/
|
|
2275
3400
|
export declare const zListTokensResponse: z.ZodArray<z.ZodObject<{
|
|
2276
3401
|
name: z.ZodString;
|
|
2277
3402
|
role: z.ZodEnum<["Administrator", "User"]>;
|
|
@@ -2291,6 +3416,37 @@ export declare const zListTokensResponse: z.ZodArray<z.ZodObject<{
|
|
|
2291
3416
|
id?: string | undefined;
|
|
2292
3417
|
secret?: string | undefined;
|
|
2293
3418
|
}>, "many">;
|
|
3419
|
+
export declare const zCreateTokenData: z.ZodObject<{
|
|
3420
|
+
body: z.ZodObject<{
|
|
3421
|
+
name: z.ZodString;
|
|
3422
|
+
role: z.ZodEnum<["Administrator", "User"]>;
|
|
3423
|
+
}, "strip", z.ZodTypeAny, {
|
|
3424
|
+
name: string;
|
|
3425
|
+
role: "Administrator" | "User";
|
|
3426
|
+
}, {
|
|
3427
|
+
name: string;
|
|
3428
|
+
role: "Administrator" | "User";
|
|
3429
|
+
}>;
|
|
3430
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3431
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3432
|
+
}, "strip", z.ZodTypeAny, {
|
|
3433
|
+
body: {
|
|
3434
|
+
name: string;
|
|
3435
|
+
role: "Administrator" | "User";
|
|
3436
|
+
};
|
|
3437
|
+
path?: undefined;
|
|
3438
|
+
query?: undefined;
|
|
3439
|
+
}, {
|
|
3440
|
+
body: {
|
|
3441
|
+
name: string;
|
|
3442
|
+
role: "Administrator" | "User";
|
|
3443
|
+
};
|
|
3444
|
+
path?: undefined;
|
|
3445
|
+
query?: undefined;
|
|
3446
|
+
}>;
|
|
3447
|
+
/**
|
|
3448
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
3449
|
+
*/
|
|
2294
3450
|
export declare const zCreateTokenResponse: z.ZodObject<{
|
|
2295
3451
|
name: z.ZodString;
|
|
2296
3452
|
role: z.ZodEnum<["Administrator", "User"]>;
|
|
@@ -2310,6 +3466,55 @@ export declare const zCreateTokenResponse: z.ZodObject<{
|
|
|
2310
3466
|
id?: string | undefined;
|
|
2311
3467
|
secret?: string | undefined;
|
|
2312
3468
|
}>;
|
|
3469
|
+
export declare const zDeleteTokenData: z.ZodObject<{
|
|
3470
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3471
|
+
path: z.ZodObject<{
|
|
3472
|
+
token_id: z.ZodString;
|
|
3473
|
+
}, "strip", z.ZodTypeAny, {
|
|
3474
|
+
token_id: string;
|
|
3475
|
+
}, {
|
|
3476
|
+
token_id: string;
|
|
3477
|
+
}>;
|
|
3478
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3479
|
+
}, "strip", z.ZodTypeAny, {
|
|
3480
|
+
path: {
|
|
3481
|
+
token_id: string;
|
|
3482
|
+
};
|
|
3483
|
+
body?: undefined;
|
|
3484
|
+
query?: undefined;
|
|
3485
|
+
}, {
|
|
3486
|
+
path: {
|
|
3487
|
+
token_id: string;
|
|
3488
|
+
};
|
|
3489
|
+
body?: undefined;
|
|
3490
|
+
query?: undefined;
|
|
3491
|
+
}>;
|
|
3492
|
+
export declare const zGetTokenData: z.ZodObject<{
|
|
3493
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3494
|
+
path: z.ZodObject<{
|
|
3495
|
+
token_id: z.ZodString;
|
|
3496
|
+
}, "strip", z.ZodTypeAny, {
|
|
3497
|
+
token_id: string;
|
|
3498
|
+
}, {
|
|
3499
|
+
token_id: string;
|
|
3500
|
+
}>;
|
|
3501
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3502
|
+
}, "strip", z.ZodTypeAny, {
|
|
3503
|
+
path: {
|
|
3504
|
+
token_id: string;
|
|
3505
|
+
};
|
|
3506
|
+
body?: undefined;
|
|
3507
|
+
query?: undefined;
|
|
3508
|
+
}, {
|
|
3509
|
+
path: {
|
|
3510
|
+
token_id: string;
|
|
3511
|
+
};
|
|
3512
|
+
body?: undefined;
|
|
3513
|
+
query?: undefined;
|
|
3514
|
+
}>;
|
|
3515
|
+
/**
|
|
3516
|
+
* Returns access token details with masked secret.
|
|
3517
|
+
*/
|
|
2313
3518
|
export declare const zGetTokenResponse: z.ZodObject<{
|
|
2314
3519
|
name: z.ZodString;
|
|
2315
3520
|
role: z.ZodEnum<["Administrator", "User"]>;
|
|
@@ -2329,6 +3534,47 @@ export declare const zGetTokenResponse: z.ZodObject<{
|
|
|
2329
3534
|
id?: string | undefined;
|
|
2330
3535
|
secret?: string | undefined;
|
|
2331
3536
|
}>;
|
|
3537
|
+
export declare const zUpdateTokenData: z.ZodObject<{
|
|
3538
|
+
body: z.ZodObject<{
|
|
3539
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3540
|
+
role: z.ZodOptional<z.ZodEnum<["Administrator", "User"]>>;
|
|
3541
|
+
}, "strip", z.ZodTypeAny, {
|
|
3542
|
+
name?: string | undefined;
|
|
3543
|
+
role?: "Administrator" | "User" | undefined;
|
|
3544
|
+
}, {
|
|
3545
|
+
name?: string | undefined;
|
|
3546
|
+
role?: "Administrator" | "User" | undefined;
|
|
3547
|
+
}>;
|
|
3548
|
+
path: z.ZodObject<{
|
|
3549
|
+
token_id: z.ZodString;
|
|
3550
|
+
}, "strip", z.ZodTypeAny, {
|
|
3551
|
+
token_id: string;
|
|
3552
|
+
}, {
|
|
3553
|
+
token_id: string;
|
|
3554
|
+
}>;
|
|
3555
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3556
|
+
}, "strip", z.ZodTypeAny, {
|
|
3557
|
+
body: {
|
|
3558
|
+
name?: string | undefined;
|
|
3559
|
+
role?: "Administrator" | "User" | undefined;
|
|
3560
|
+
};
|
|
3561
|
+
path: {
|
|
3562
|
+
token_id: string;
|
|
3563
|
+
};
|
|
3564
|
+
query?: undefined;
|
|
3565
|
+
}, {
|
|
3566
|
+
body: {
|
|
3567
|
+
name?: string | undefined;
|
|
3568
|
+
role?: "Administrator" | "User" | undefined;
|
|
3569
|
+
};
|
|
3570
|
+
path: {
|
|
3571
|
+
token_id: string;
|
|
3572
|
+
};
|
|
3573
|
+
query?: undefined;
|
|
3574
|
+
}>;
|
|
3575
|
+
/**
|
|
3576
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
3577
|
+
*/
|
|
2332
3578
|
export declare const zUpdateTokenResponse: z.ZodObject<{
|
|
2333
3579
|
name: z.ZodString;
|
|
2334
3580
|
role: z.ZodEnum<["Administrator", "User"]>;
|
|
@@ -2348,6 +3594,32 @@ export declare const zUpdateTokenResponse: z.ZodObject<{
|
|
|
2348
3594
|
id?: string | undefined;
|
|
2349
3595
|
secret?: string | undefined;
|
|
2350
3596
|
}>;
|
|
3597
|
+
export declare const zRegenerateTokenData: z.ZodObject<{
|
|
3598
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3599
|
+
path: z.ZodObject<{
|
|
3600
|
+
token_id: z.ZodString;
|
|
3601
|
+
}, "strip", z.ZodTypeAny, {
|
|
3602
|
+
token_id: string;
|
|
3603
|
+
}, {
|
|
3604
|
+
token_id: string;
|
|
3605
|
+
}>;
|
|
3606
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3607
|
+
}, "strip", z.ZodTypeAny, {
|
|
3608
|
+
path: {
|
|
3609
|
+
token_id: string;
|
|
3610
|
+
};
|
|
3611
|
+
body?: undefined;
|
|
3612
|
+
query?: undefined;
|
|
3613
|
+
}, {
|
|
3614
|
+
path: {
|
|
3615
|
+
token_id: string;
|
|
3616
|
+
};
|
|
3617
|
+
body?: undefined;
|
|
3618
|
+
query?: undefined;
|
|
3619
|
+
}>;
|
|
3620
|
+
/**
|
|
3621
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
3622
|
+
*/
|
|
2351
3623
|
export declare const zRegenerateTokenResponse: z.ZodObject<{
|
|
2352
3624
|
name: z.ZodString;
|
|
2353
3625
|
role: z.ZodEnum<["Administrator", "User"]>;
|
|
@@ -2367,6 +3639,32 @@ export declare const zRegenerateTokenResponse: z.ZodObject<{
|
|
|
2367
3639
|
id?: string | undefined;
|
|
2368
3640
|
secret?: string | undefined;
|
|
2369
3641
|
}>;
|
|
3642
|
+
export declare const zListUserOrganizationsData: z.ZodObject<{
|
|
3643
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3644
|
+
path: z.ZodObject<{
|
|
3645
|
+
email: z.ZodString;
|
|
3646
|
+
}, "strip", z.ZodTypeAny, {
|
|
3647
|
+
email: string;
|
|
3648
|
+
}, {
|
|
3649
|
+
email: string;
|
|
3650
|
+
}>;
|
|
3651
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3652
|
+
}, "strip", z.ZodTypeAny, {
|
|
3653
|
+
path: {
|
|
3654
|
+
email: string;
|
|
3655
|
+
};
|
|
3656
|
+
body?: undefined;
|
|
3657
|
+
query?: undefined;
|
|
3658
|
+
}, {
|
|
3659
|
+
path: {
|
|
3660
|
+
email: string;
|
|
3661
|
+
};
|
|
3662
|
+
body?: undefined;
|
|
3663
|
+
query?: undefined;
|
|
3664
|
+
}>;
|
|
3665
|
+
/**
|
|
3666
|
+
* An array of organizations the user belongs to.
|
|
3667
|
+
*/
|
|
2370
3668
|
export declare const zListUserOrganizationsResponse: z.ZodArray<z.ZodObject<{
|
|
2371
3669
|
realm: z.ZodOptional<z.ZodString>;
|
|
2372
3670
|
displayName: z.ZodOptional<z.ZodString>;
|
|
@@ -2377,6 +3675,22 @@ export declare const zListUserOrganizationsResponse: z.ZodArray<z.ZodObject<{
|
|
|
2377
3675
|
realm?: string | undefined;
|
|
2378
3676
|
displayName?: string | undefined;
|
|
2379
3677
|
}>, "many">;
|
|
3678
|
+
export declare const zListUsersData: z.ZodObject<{
|
|
3679
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3680
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3681
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3682
|
+
}, "strip", z.ZodTypeAny, {
|
|
3683
|
+
body?: undefined;
|
|
3684
|
+
path?: undefined;
|
|
3685
|
+
query?: undefined;
|
|
3686
|
+
}, {
|
|
3687
|
+
body?: undefined;
|
|
3688
|
+
path?: undefined;
|
|
3689
|
+
query?: undefined;
|
|
3690
|
+
}>;
|
|
3691
|
+
/**
|
|
3692
|
+
* An array of users
|
|
3693
|
+
*/
|
|
2380
3694
|
export declare const zListUsersResponse: z.ZodArray<z.ZodObject<{
|
|
2381
3695
|
email: z.ZodString;
|
|
2382
3696
|
first_name: z.ZodString;
|
|
@@ -2402,6 +3716,62 @@ export declare const zListUsersResponse: z.ZodArray<z.ZodObject<{
|
|
|
2402
3716
|
last_name: string;
|
|
2403
3717
|
date_created: string;
|
|
2404
3718
|
}>, "many">;
|
|
3719
|
+
export declare const zCreateUserData: z.ZodObject<{
|
|
3720
|
+
body: z.ZodObject<{
|
|
3721
|
+
email: z.ZodString;
|
|
3722
|
+
first_name: z.ZodString;
|
|
3723
|
+
last_name: z.ZodString;
|
|
3724
|
+
code: z.ZodString;
|
|
3725
|
+
password: z.ZodString;
|
|
3726
|
+
status: z.ZodOptional<z.ZodEnum<["active", "inactive"]>>;
|
|
3727
|
+
role: z.ZodOptional<z.ZodEnum<["Administrator", "User"]>>;
|
|
3728
|
+
}, "strip", z.ZodTypeAny, {
|
|
3729
|
+
code: string;
|
|
3730
|
+
email: string;
|
|
3731
|
+
first_name: string;
|
|
3732
|
+
last_name: string;
|
|
3733
|
+
password: string;
|
|
3734
|
+
role?: "Administrator" | "User" | undefined;
|
|
3735
|
+
status?: "active" | "inactive" | undefined;
|
|
3736
|
+
}, {
|
|
3737
|
+
code: string;
|
|
3738
|
+
email: string;
|
|
3739
|
+
first_name: string;
|
|
3740
|
+
last_name: string;
|
|
3741
|
+
password: string;
|
|
3742
|
+
role?: "Administrator" | "User" | undefined;
|
|
3743
|
+
status?: "active" | "inactive" | undefined;
|
|
3744
|
+
}>;
|
|
3745
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3746
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3747
|
+
}, "strip", z.ZodTypeAny, {
|
|
3748
|
+
body: {
|
|
3749
|
+
code: string;
|
|
3750
|
+
email: string;
|
|
3751
|
+
first_name: string;
|
|
3752
|
+
last_name: string;
|
|
3753
|
+
password: string;
|
|
3754
|
+
role?: "Administrator" | "User" | undefined;
|
|
3755
|
+
status?: "active" | "inactive" | undefined;
|
|
3756
|
+
};
|
|
3757
|
+
path?: undefined;
|
|
3758
|
+
query?: undefined;
|
|
3759
|
+
}, {
|
|
3760
|
+
body: {
|
|
3761
|
+
code: string;
|
|
3762
|
+
email: string;
|
|
3763
|
+
first_name: string;
|
|
3764
|
+
last_name: string;
|
|
3765
|
+
password: string;
|
|
3766
|
+
role?: "Administrator" | "User" | undefined;
|
|
3767
|
+
status?: "active" | "inactive" | undefined;
|
|
3768
|
+
};
|
|
3769
|
+
path?: undefined;
|
|
3770
|
+
query?: undefined;
|
|
3771
|
+
}>;
|
|
3772
|
+
/**
|
|
3773
|
+
* Successfully created. Returns created user details.
|
|
3774
|
+
*/
|
|
2405
3775
|
export declare const zCreateUserResponse: z.ZodObject<{
|
|
2406
3776
|
email: z.ZodString;
|
|
2407
3777
|
first_name: z.ZodString;
|
|
@@ -2427,6 +3797,32 @@ export declare const zCreateUserResponse: z.ZodObject<{
|
|
|
2427
3797
|
last_name: string;
|
|
2428
3798
|
date_created: string;
|
|
2429
3799
|
}>;
|
|
3800
|
+
export declare const zDeleteUserData: z.ZodObject<{
|
|
3801
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3802
|
+
path: z.ZodObject<{
|
|
3803
|
+
user_id: z.ZodString;
|
|
3804
|
+
}, "strip", z.ZodTypeAny, {
|
|
3805
|
+
user_id: string;
|
|
3806
|
+
}, {
|
|
3807
|
+
user_id: string;
|
|
3808
|
+
}>;
|
|
3809
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3810
|
+
}, "strip", z.ZodTypeAny, {
|
|
3811
|
+
path: {
|
|
3812
|
+
user_id: string;
|
|
3813
|
+
};
|
|
3814
|
+
body?: undefined;
|
|
3815
|
+
query?: undefined;
|
|
3816
|
+
}, {
|
|
3817
|
+
path: {
|
|
3818
|
+
user_id: string;
|
|
3819
|
+
};
|
|
3820
|
+
body?: undefined;
|
|
3821
|
+
query?: undefined;
|
|
3822
|
+
}>;
|
|
3823
|
+
/**
|
|
3824
|
+
* User profile information
|
|
3825
|
+
*/
|
|
2430
3826
|
export declare const zDeleteUserResponse: z.ZodObject<{
|
|
2431
3827
|
email: z.ZodString;
|
|
2432
3828
|
first_name: z.ZodString;
|
|
@@ -2452,6 +3848,32 @@ export declare const zDeleteUserResponse: z.ZodObject<{
|
|
|
2452
3848
|
last_name: string;
|
|
2453
3849
|
date_created: string;
|
|
2454
3850
|
}>;
|
|
3851
|
+
export declare const zGetUserData: z.ZodObject<{
|
|
3852
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3853
|
+
path: z.ZodObject<{
|
|
3854
|
+
user_id: z.ZodString;
|
|
3855
|
+
}, "strip", z.ZodTypeAny, {
|
|
3856
|
+
user_id: string;
|
|
3857
|
+
}, {
|
|
3858
|
+
user_id: string;
|
|
3859
|
+
}>;
|
|
3860
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3861
|
+
}, "strip", z.ZodTypeAny, {
|
|
3862
|
+
path: {
|
|
3863
|
+
user_id: string;
|
|
3864
|
+
};
|
|
3865
|
+
body?: undefined;
|
|
3866
|
+
query?: undefined;
|
|
3867
|
+
}, {
|
|
3868
|
+
path: {
|
|
3869
|
+
user_id: string;
|
|
3870
|
+
};
|
|
3871
|
+
body?: undefined;
|
|
3872
|
+
query?: undefined;
|
|
3873
|
+
}>;
|
|
3874
|
+
/**
|
|
3875
|
+
* User profile information
|
|
3876
|
+
*/
|
|
2455
3877
|
export declare const zGetUserResponse: z.ZodObject<{
|
|
2456
3878
|
email: z.ZodString;
|
|
2457
3879
|
first_name: z.ZodString;
|
|
@@ -2477,6 +3899,62 @@ export declare const zGetUserResponse: z.ZodObject<{
|
|
|
2477
3899
|
last_name: string;
|
|
2478
3900
|
date_created: string;
|
|
2479
3901
|
}>;
|
|
3902
|
+
export declare const zUpdateUserData: z.ZodObject<{
|
|
3903
|
+
body: z.ZodObject<{
|
|
3904
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3905
|
+
first_name: z.ZodOptional<z.ZodString>;
|
|
3906
|
+
last_name: z.ZodOptional<z.ZodString>;
|
|
3907
|
+
role: z.ZodOptional<z.ZodEnum<["Administrator", "User"]>>;
|
|
3908
|
+
status: z.ZodOptional<z.ZodEnum<["active", "inactive"]>>;
|
|
3909
|
+
}, "strip", z.ZodTypeAny, {
|
|
3910
|
+
role?: "Administrator" | "User" | undefined;
|
|
3911
|
+
email?: string | undefined;
|
|
3912
|
+
status?: "active" | "inactive" | undefined;
|
|
3913
|
+
first_name?: string | undefined;
|
|
3914
|
+
last_name?: string | undefined;
|
|
3915
|
+
}, {
|
|
3916
|
+
role?: "Administrator" | "User" | undefined;
|
|
3917
|
+
email?: string | undefined;
|
|
3918
|
+
status?: "active" | "inactive" | undefined;
|
|
3919
|
+
first_name?: string | undefined;
|
|
3920
|
+
last_name?: string | undefined;
|
|
3921
|
+
}>;
|
|
3922
|
+
path: z.ZodObject<{
|
|
3923
|
+
user_id: z.ZodString;
|
|
3924
|
+
}, "strip", z.ZodTypeAny, {
|
|
3925
|
+
user_id: string;
|
|
3926
|
+
}, {
|
|
3927
|
+
user_id: string;
|
|
3928
|
+
}>;
|
|
3929
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3930
|
+
}, "strip", z.ZodTypeAny, {
|
|
3931
|
+
body: {
|
|
3932
|
+
role?: "Administrator" | "User" | undefined;
|
|
3933
|
+
email?: string | undefined;
|
|
3934
|
+
status?: "active" | "inactive" | undefined;
|
|
3935
|
+
first_name?: string | undefined;
|
|
3936
|
+
last_name?: string | undefined;
|
|
3937
|
+
};
|
|
3938
|
+
path: {
|
|
3939
|
+
user_id: string;
|
|
3940
|
+
};
|
|
3941
|
+
query?: undefined;
|
|
3942
|
+
}, {
|
|
3943
|
+
body: {
|
|
3944
|
+
role?: "Administrator" | "User" | undefined;
|
|
3945
|
+
email?: string | undefined;
|
|
3946
|
+
status?: "active" | "inactive" | undefined;
|
|
3947
|
+
first_name?: string | undefined;
|
|
3948
|
+
last_name?: string | undefined;
|
|
3949
|
+
};
|
|
3950
|
+
path: {
|
|
3951
|
+
user_id: string;
|
|
3952
|
+
};
|
|
3953
|
+
query?: undefined;
|
|
3954
|
+
}>;
|
|
3955
|
+
/**
|
|
3956
|
+
* Successfully created. Returns created user details.
|
|
3957
|
+
*/
|
|
2480
3958
|
export declare const zUpdateUserResponse: z.ZodObject<{
|
|
2481
3959
|
email: z.ZodString;
|
|
2482
3960
|
first_name: z.ZodString;
|