@cloudfleet/sdk 0.0.1-cdcf1a9 → 0.0.1-d8d23ea
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 +146 -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 +34 -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 +79 -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 +63 -103
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +63 -112
- 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 +29 -33
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1722 -212
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +475 -54
- package/dist/zod.gen.js.map +1 -1
- package/package.json +5 -6
package/dist/zod.gen.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
1
|
+
import { z } from 'zod/v3';
|
|
2
2
|
export declare const zBillingContact: z.ZodObject<{
|
|
3
3
|
company: z.ZodOptional<z.ZodString>;
|
|
4
4
|
address1: z.ZodOptional<z.ZodString>;
|
|
@@ -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<{
|
|
@@ -161,14 +161,17 @@ export declare const zClusterJoinInformation: z.ZodObject<{
|
|
|
161
161
|
kubernetes: z.ZodString;
|
|
162
162
|
tailscale: z.ZodString;
|
|
163
163
|
containerd: z.ZodString;
|
|
164
|
+
nvidia_driver: z.ZodString;
|
|
164
165
|
}, "strip", z.ZodTypeAny, {
|
|
165
166
|
kubernetes: string;
|
|
166
167
|
tailscale: string;
|
|
167
168
|
containerd: string;
|
|
169
|
+
nvidia_driver: string;
|
|
168
170
|
}, {
|
|
169
171
|
kubernetes: string;
|
|
170
172
|
tailscale: string;
|
|
171
173
|
containerd: string;
|
|
174
|
+
nvidia_driver: string;
|
|
172
175
|
}>;
|
|
173
176
|
third_party_api_access_config: z.ZodObject<{
|
|
174
177
|
metadata_url: z.ZodString;
|
|
@@ -192,6 +195,7 @@ export declare const zClusterJoinInformation: z.ZodObject<{
|
|
|
192
195
|
kubernetes: string;
|
|
193
196
|
tailscale: string;
|
|
194
197
|
containerd: string;
|
|
198
|
+
nvidia_driver: string;
|
|
195
199
|
};
|
|
196
200
|
third_party_api_access_config: {
|
|
197
201
|
metadata_url: string;
|
|
@@ -207,6 +211,7 @@ export declare const zClusterJoinInformation: z.ZodObject<{
|
|
|
207
211
|
kubernetes: string;
|
|
208
212
|
tailscale: string;
|
|
209
213
|
containerd: string;
|
|
214
|
+
nvidia_driver: string;
|
|
210
215
|
};
|
|
211
216
|
third_party_api_access_config: {
|
|
212
217
|
metadata_url: string;
|
|
@@ -216,8 +221,8 @@ export declare const zClusterJoinInformation: z.ZodObject<{
|
|
|
216
221
|
}>;
|
|
217
222
|
export declare const zCluster: z.ZodObject<{
|
|
218
223
|
name: z.ZodString;
|
|
219
|
-
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1"]>>;
|
|
220
224
|
tier: z.ZodEnum<["basic", "pro"]>;
|
|
225
|
+
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1", "europe-central-1a"]>>;
|
|
221
226
|
version_channel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
222
227
|
id: z.ZodString;
|
|
223
228
|
status: z.ZodEnum<["active", "deleted", "creating", "deployed", "failed", "updating"]>;
|
|
@@ -230,11 +235,11 @@ export declare const zCluster: z.ZodObject<{
|
|
|
230
235
|
}, "strip", z.ZodTypeAny, {
|
|
231
236
|
name: string;
|
|
232
237
|
id: string;
|
|
233
|
-
status: "
|
|
238
|
+
status: "deleted" | "failed" | "active" | "creating" | "deployed" | "updating";
|
|
234
239
|
version_channel: string;
|
|
235
240
|
tier: "basic" | "pro";
|
|
236
241
|
ready?: boolean | undefined;
|
|
237
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
242
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
238
243
|
version_current?: string | undefined;
|
|
239
244
|
created_at?: string | undefined;
|
|
240
245
|
updated_at?: string | undefined;
|
|
@@ -243,10 +248,10 @@ export declare const zCluster: z.ZodObject<{
|
|
|
243
248
|
}, {
|
|
244
249
|
name: string;
|
|
245
250
|
id: string;
|
|
246
|
-
status: "
|
|
251
|
+
status: "deleted" | "failed" | "active" | "creating" | "deployed" | "updating";
|
|
247
252
|
tier: "basic" | "pro";
|
|
248
253
|
ready?: boolean | undefined;
|
|
249
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
254
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
250
255
|
version_channel?: string | undefined;
|
|
251
256
|
version_current?: string | undefined;
|
|
252
257
|
created_at?: string | undefined;
|
|
@@ -256,11 +261,14 @@ export declare const zCluster: z.ZodObject<{
|
|
|
256
261
|
}>;
|
|
257
262
|
export declare const zClusterUpdateInput: z.ZodObject<{
|
|
258
263
|
name: z.ZodOptional<z.ZodString>;
|
|
264
|
+
tier: z.ZodEnum<["basic", "pro"]>;
|
|
259
265
|
version_channel: z.ZodOptional<z.ZodString>;
|
|
260
266
|
}, "strip", z.ZodTypeAny, {
|
|
267
|
+
tier: "basic" | "pro";
|
|
261
268
|
name?: string | undefined;
|
|
262
269
|
version_channel?: string | undefined;
|
|
263
270
|
}, {
|
|
271
|
+
tier: "basic" | "pro";
|
|
264
272
|
name?: string | undefined;
|
|
265
273
|
version_channel?: string | undefined;
|
|
266
274
|
}>;
|
|
@@ -282,25 +290,16 @@ export declare const zFleetCreateInput: z.ZodObject<{
|
|
|
282
290
|
project: string;
|
|
283
291
|
enabled?: boolean | undefined;
|
|
284
292
|
}>>;
|
|
285
|
-
hetzner: z.ZodOptional<z.
|
|
286
|
-
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
287
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
288
|
-
}, "strip", z.ZodTypeAny, {
|
|
289
|
-
enabled: boolean;
|
|
290
|
-
apiKey?: string | undefined;
|
|
291
|
-
}, {
|
|
292
|
-
apiKey?: string | undefined;
|
|
293
|
-
enabled?: boolean | undefined;
|
|
294
|
-
}>, z.ZodObject<{
|
|
295
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
293
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
296
294
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
295
|
+
apiKey: z.ZodString;
|
|
297
296
|
}, "strip", z.ZodTypeAny, {
|
|
297
|
+
apiKey: string;
|
|
298
298
|
enabled: boolean;
|
|
299
|
-
apiKey?: string | undefined;
|
|
300
299
|
}, {
|
|
301
|
-
apiKey
|
|
300
|
+
apiKey: string;
|
|
302
301
|
enabled?: boolean | undefined;
|
|
303
|
-
}
|
|
302
|
+
}>>;
|
|
304
303
|
aws: z.ZodOptional<z.ZodObject<{
|
|
305
304
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
306
305
|
controllerRoleArn: z.ZodString;
|
|
@@ -312,9 +311,7 @@ export declare const zFleetCreateInput: z.ZodObject<{
|
|
|
312
311
|
enabled?: boolean | undefined;
|
|
313
312
|
}>>;
|
|
314
313
|
id: z.ZodString;
|
|
315
|
-
type: z.ZodEnum<["managed", "connected"]>;
|
|
316
314
|
}, "strip", z.ZodTypeAny, {
|
|
317
|
-
type: "connected" | "managed";
|
|
318
315
|
id: string;
|
|
319
316
|
limits?: {
|
|
320
317
|
cpu: number;
|
|
@@ -324,18 +321,14 @@ export declare const zFleetCreateInput: z.ZodObject<{
|
|
|
324
321
|
enabled: boolean;
|
|
325
322
|
} | undefined;
|
|
326
323
|
hetzner?: {
|
|
324
|
+
apiKey: string;
|
|
327
325
|
enabled: boolean;
|
|
328
|
-
apiKey?: string | undefined;
|
|
329
|
-
} | {
|
|
330
|
-
enabled: boolean;
|
|
331
|
-
apiKey?: string | undefined;
|
|
332
326
|
} | undefined;
|
|
333
327
|
aws?: {
|
|
334
328
|
controllerRoleArn: string;
|
|
335
329
|
enabled: boolean;
|
|
336
330
|
} | undefined;
|
|
337
331
|
}, {
|
|
338
|
-
type: "connected" | "managed";
|
|
339
332
|
id: string;
|
|
340
333
|
limits?: {
|
|
341
334
|
cpu: number;
|
|
@@ -345,10 +338,7 @@ export declare const zFleetCreateInput: z.ZodObject<{
|
|
|
345
338
|
enabled?: boolean | undefined;
|
|
346
339
|
} | undefined;
|
|
347
340
|
hetzner?: {
|
|
348
|
-
apiKey
|
|
349
|
-
enabled?: boolean | undefined;
|
|
350
|
-
} | {
|
|
351
|
-
apiKey?: string | undefined;
|
|
341
|
+
apiKey: string;
|
|
352
342
|
enabled?: boolean | undefined;
|
|
353
343
|
} | undefined;
|
|
354
344
|
aws?: {
|
|
@@ -374,25 +364,16 @@ export declare const zFleet: z.ZodObject<{
|
|
|
374
364
|
project: string;
|
|
375
365
|
enabled?: boolean | undefined;
|
|
376
366
|
}>>;
|
|
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>;
|
|
367
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
388
368
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
369
|
+
apiKey: z.ZodString;
|
|
389
370
|
}, "strip", z.ZodTypeAny, {
|
|
371
|
+
apiKey: string;
|
|
390
372
|
enabled: boolean;
|
|
391
|
-
apiKey?: string | undefined;
|
|
392
373
|
}, {
|
|
393
|
-
apiKey
|
|
374
|
+
apiKey: string;
|
|
394
375
|
enabled?: boolean | undefined;
|
|
395
|
-
}
|
|
376
|
+
}>>;
|
|
396
377
|
aws: z.ZodOptional<z.ZodObject<{
|
|
397
378
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
398
379
|
controllerRoleArn: z.ZodString;
|
|
@@ -404,9 +385,7 @@ export declare const zFleet: z.ZodObject<{
|
|
|
404
385
|
enabled?: boolean | undefined;
|
|
405
386
|
}>>;
|
|
406
387
|
id: z.ZodString;
|
|
407
|
-
type: z.ZodEnum<["managed", "connected"]>;
|
|
408
388
|
}, "strip", z.ZodTypeAny, {
|
|
409
|
-
type: "connected" | "managed";
|
|
410
389
|
id: string;
|
|
411
390
|
limits?: {
|
|
412
391
|
cpu: number;
|
|
@@ -416,18 +395,14 @@ export declare const zFleet: z.ZodObject<{
|
|
|
416
395
|
enabled: boolean;
|
|
417
396
|
} | undefined;
|
|
418
397
|
hetzner?: {
|
|
398
|
+
apiKey: string;
|
|
419
399
|
enabled: boolean;
|
|
420
|
-
apiKey?: string | undefined;
|
|
421
|
-
} | {
|
|
422
|
-
enabled: boolean;
|
|
423
|
-
apiKey?: string | undefined;
|
|
424
400
|
} | undefined;
|
|
425
401
|
aws?: {
|
|
426
402
|
controllerRoleArn: string;
|
|
427
403
|
enabled: boolean;
|
|
428
404
|
} | undefined;
|
|
429
405
|
}, {
|
|
430
|
-
type: "connected" | "managed";
|
|
431
406
|
id: string;
|
|
432
407
|
limits?: {
|
|
433
408
|
cpu: number;
|
|
@@ -437,10 +412,7 @@ export declare const zFleet: z.ZodObject<{
|
|
|
437
412
|
enabled?: boolean | undefined;
|
|
438
413
|
} | undefined;
|
|
439
414
|
hetzner?: {
|
|
440
|
-
apiKey
|
|
441
|
-
enabled?: boolean | undefined;
|
|
442
|
-
} | {
|
|
443
|
-
apiKey?: string | undefined;
|
|
415
|
+
apiKey: string;
|
|
444
416
|
enabled?: boolean | undefined;
|
|
445
417
|
} | undefined;
|
|
446
418
|
aws?: {
|
|
@@ -466,25 +438,16 @@ export declare const zFleetUpdateInput: z.ZodObject<{
|
|
|
466
438
|
project: string;
|
|
467
439
|
enabled?: boolean | undefined;
|
|
468
440
|
}>>;
|
|
469
|
-
hetzner: z.ZodOptional<z.
|
|
470
|
-
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
471
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
472
|
-
}, "strip", z.ZodTypeAny, {
|
|
473
|
-
enabled: boolean;
|
|
474
|
-
apiKey?: string | undefined;
|
|
475
|
-
}, {
|
|
476
|
-
apiKey?: string | undefined;
|
|
477
|
-
enabled?: boolean | undefined;
|
|
478
|
-
}>, z.ZodObject<{
|
|
479
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
441
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
480
442
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
443
|
+
apiKey: z.ZodString;
|
|
481
444
|
}, "strip", z.ZodTypeAny, {
|
|
445
|
+
apiKey: string;
|
|
482
446
|
enabled: boolean;
|
|
483
|
-
apiKey?: string | undefined;
|
|
484
447
|
}, {
|
|
485
|
-
apiKey
|
|
448
|
+
apiKey: string;
|
|
486
449
|
enabled?: boolean | undefined;
|
|
487
|
-
}
|
|
450
|
+
}>>;
|
|
488
451
|
aws: z.ZodOptional<z.ZodObject<{
|
|
489
452
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
490
453
|
controllerRoleArn: z.ZodString;
|
|
@@ -504,11 +467,8 @@ export declare const zFleetUpdateInput: z.ZodObject<{
|
|
|
504
467
|
enabled: boolean;
|
|
505
468
|
} | undefined;
|
|
506
469
|
hetzner?: {
|
|
470
|
+
apiKey: string;
|
|
507
471
|
enabled: boolean;
|
|
508
|
-
apiKey?: string | undefined;
|
|
509
|
-
} | {
|
|
510
|
-
enabled: boolean;
|
|
511
|
-
apiKey?: string | undefined;
|
|
512
472
|
} | undefined;
|
|
513
473
|
aws?: {
|
|
514
474
|
controllerRoleArn: string;
|
|
@@ -523,10 +483,7 @@ export declare const zFleetUpdateInput: z.ZodObject<{
|
|
|
523
483
|
enabled?: boolean | undefined;
|
|
524
484
|
} | undefined;
|
|
525
485
|
hetzner?: {
|
|
526
|
-
apiKey
|
|
527
|
-
enabled?: boolean | undefined;
|
|
528
|
-
} | {
|
|
529
|
-
apiKey?: string | undefined;
|
|
486
|
+
apiKey: string;
|
|
530
487
|
enabled?: boolean | undefined;
|
|
531
488
|
} | undefined;
|
|
532
489
|
aws?: {
|
|
@@ -587,7 +544,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
587
544
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
588
545
|
itemDetails: z.ZodOptional<z.ZodString>;
|
|
589
546
|
catalogEffectiveDate: z.ZodOptional<z.ZodString>;
|
|
590
|
-
childItems: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
547
|
+
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
548
|
}, "strip", z.ZodTypeAny, {
|
|
592
549
|
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
550
|
id?: string | undefined;
|
|
@@ -609,7 +566,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
609
566
|
quantity?: number | undefined;
|
|
610
567
|
itemDetails?: string | undefined;
|
|
611
568
|
catalogEffectiveDate?: string | undefined;
|
|
612
|
-
childItems?: unknown[] | undefined;
|
|
569
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
613
570
|
}, {
|
|
614
571
|
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
572
|
id?: string | undefined;
|
|
@@ -631,7 +588,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
631
588
|
quantity?: number | undefined;
|
|
632
589
|
itemDetails?: string | undefined;
|
|
633
590
|
catalogEffectiveDate?: string | undefined;
|
|
634
|
-
childItems?: unknown[] | undefined;
|
|
591
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
635
592
|
}>, "many">>;
|
|
636
593
|
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
637
594
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -654,7 +611,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
654
611
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
655
612
|
itemDetails: z.ZodOptional<z.ZodString>;
|
|
656
613
|
catalogEffectiveDate: z.ZodOptional<z.ZodString>;
|
|
657
|
-
childItems: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
614
|
+
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
615
|
}, "strip", z.ZodTypeAny, {
|
|
659
616
|
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
617
|
id?: string | undefined;
|
|
@@ -676,7 +633,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
676
633
|
quantity?: number | undefined;
|
|
677
634
|
itemDetails?: string | undefined;
|
|
678
635
|
catalogEffectiveDate?: string | undefined;
|
|
679
|
-
childItems?: unknown[] | undefined;
|
|
636
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
680
637
|
}, {
|
|
681
638
|
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
639
|
id?: string | undefined;
|
|
@@ -698,7 +655,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
698
655
|
quantity?: number | undefined;
|
|
699
656
|
itemDetails?: string | undefined;
|
|
700
657
|
catalogEffectiveDate?: string | undefined;
|
|
701
|
-
childItems?: unknown[] | undefined;
|
|
658
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
702
659
|
}>, "many">>;
|
|
703
660
|
}, "strip", z.ZodTypeAny, {
|
|
704
661
|
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 +682,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
725
682
|
quantity?: number | undefined;
|
|
726
683
|
itemDetails?: string | undefined;
|
|
727
684
|
catalogEffectiveDate?: string | undefined;
|
|
728
|
-
childItems?: unknown[] | undefined;
|
|
685
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
729
686
|
}[] | undefined;
|
|
730
687
|
organizationId?: string | undefined;
|
|
731
688
|
amount?: number | undefined;
|
|
@@ -757,7 +714,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
757
714
|
quantity?: number | undefined;
|
|
758
715
|
itemDetails?: string | undefined;
|
|
759
716
|
catalogEffectiveDate?: string | undefined;
|
|
760
|
-
childItems?: unknown[] | undefined;
|
|
717
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
761
718
|
}[] | undefined;
|
|
762
719
|
}, {
|
|
763
720
|
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 +741,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
784
741
|
quantity?: number | undefined;
|
|
785
742
|
itemDetails?: string | undefined;
|
|
786
743
|
catalogEffectiveDate?: string | undefined;
|
|
787
|
-
childItems?: unknown[] | undefined;
|
|
744
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
788
745
|
}[] | undefined;
|
|
789
746
|
organizationId?: string | undefined;
|
|
790
747
|
amount?: number | undefined;
|
|
@@ -816,7 +773,7 @@ export declare const zInvoice: z.ZodObject<{
|
|
|
816
773
|
quantity?: number | undefined;
|
|
817
774
|
itemDetails?: string | undefined;
|
|
818
775
|
catalogEffectiveDate?: string | undefined;
|
|
819
|
-
childItems?: unknown[] | undefined;
|
|
776
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
820
777
|
}[] | undefined;
|
|
821
778
|
}>;
|
|
822
779
|
export declare const zMarketplaceListing: z.ZodObject<{
|
|
@@ -899,7 +856,6 @@ export declare const zOrganization: z.ZodObject<{
|
|
|
899
856
|
pro_clusters_max: z.ZodNumber;
|
|
900
857
|
pro_clusters_available: z.ZodNumber;
|
|
901
858
|
fleets_max: z.ZodNumber;
|
|
902
|
-
managed_fleets_cpu_max: z.ZodNumber;
|
|
903
859
|
cluster_tiers: z.ZodArray<z.ZodString, "many">;
|
|
904
860
|
regions: z.ZodArray<z.ZodString, "many">;
|
|
905
861
|
versions: z.ZodArray<z.ZodObject<{
|
|
@@ -922,7 +878,6 @@ export declare const zOrganization: z.ZodObject<{
|
|
|
922
878
|
pro_clusters_max: number;
|
|
923
879
|
pro_clusters_available: number;
|
|
924
880
|
fleets_max: number;
|
|
925
|
-
managed_fleets_cpu_max: number;
|
|
926
881
|
cluster_tiers: string[];
|
|
927
882
|
regions: string[];
|
|
928
883
|
}, {
|
|
@@ -935,7 +890,6 @@ export declare const zOrganization: z.ZodObject<{
|
|
|
935
890
|
pro_clusters_max: number;
|
|
936
891
|
pro_clusters_available: number;
|
|
937
892
|
fleets_max: number;
|
|
938
|
-
managed_fleets_cpu_max: number;
|
|
939
893
|
cluster_tiers: string[];
|
|
940
894
|
regions: string[];
|
|
941
895
|
}>;
|
|
@@ -954,7 +908,6 @@ export declare const zOrganization: z.ZodObject<{
|
|
|
954
908
|
pro_clusters_max: number;
|
|
955
909
|
pro_clusters_available: number;
|
|
956
910
|
fleets_max: number;
|
|
957
|
-
managed_fleets_cpu_max: number;
|
|
958
911
|
cluster_tiers: string[];
|
|
959
912
|
regions: string[];
|
|
960
913
|
};
|
|
@@ -973,7 +926,6 @@ export declare const zOrganization: z.ZodObject<{
|
|
|
973
926
|
pro_clusters_max: number;
|
|
974
927
|
pro_clusters_available: number;
|
|
975
928
|
fleets_max: number;
|
|
976
|
-
managed_fleets_cpu_max: number;
|
|
977
929
|
cluster_tiers: string[];
|
|
978
930
|
regions: string[];
|
|
979
931
|
};
|
|
@@ -1146,6 +1098,22 @@ export declare const zUserUpdateInput: z.ZodObject<{
|
|
|
1146
1098
|
first_name?: string | undefined;
|
|
1147
1099
|
last_name?: string | undefined;
|
|
1148
1100
|
}>;
|
|
1101
|
+
export declare const zGetUsageData: z.ZodObject<{
|
|
1102
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1103
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1104
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1105
|
+
}, "strip", z.ZodTypeAny, {
|
|
1106
|
+
body?: undefined;
|
|
1107
|
+
path?: undefined;
|
|
1108
|
+
query?: undefined;
|
|
1109
|
+
}, {
|
|
1110
|
+
body?: undefined;
|
|
1111
|
+
path?: undefined;
|
|
1112
|
+
query?: undefined;
|
|
1113
|
+
}>;
|
|
1114
|
+
/**
|
|
1115
|
+
* An array of usage records.
|
|
1116
|
+
*/
|
|
1149
1117
|
export declare const zGetUsageResponse: z.ZodArray<z.ZodObject<{
|
|
1150
1118
|
hour: z.ZodOptional<z.ZodString>;
|
|
1151
1119
|
cluster_id: z.ZodString;
|
|
@@ -1180,7 +1148,39 @@ export declare const zGetUsageResponse: z.ZodArray<z.ZodObject<{
|
|
|
1180
1148
|
price: number | "";
|
|
1181
1149
|
hour?: string | undefined;
|
|
1182
1150
|
}>, "many">;
|
|
1151
|
+
export declare const zGetBalanceData: z.ZodObject<{
|
|
1152
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1153
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1154
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1155
|
+
}, "strip", z.ZodTypeAny, {
|
|
1156
|
+
body?: undefined;
|
|
1157
|
+
path?: undefined;
|
|
1158
|
+
query?: undefined;
|
|
1159
|
+
}, {
|
|
1160
|
+
body?: undefined;
|
|
1161
|
+
path?: undefined;
|
|
1162
|
+
query?: undefined;
|
|
1163
|
+
}>;
|
|
1164
|
+
/**
|
|
1165
|
+
* Current balance of the organization in USD as a floating-point number.
|
|
1166
|
+
*/
|
|
1183
1167
|
export declare const zGetBalanceResponse: z.ZodNumber;
|
|
1168
|
+
export declare const zGetPaymentMethodData: z.ZodObject<{
|
|
1169
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1170
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1171
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1172
|
+
}, "strip", z.ZodTypeAny, {
|
|
1173
|
+
body?: undefined;
|
|
1174
|
+
path?: undefined;
|
|
1175
|
+
query?: undefined;
|
|
1176
|
+
}, {
|
|
1177
|
+
body?: undefined;
|
|
1178
|
+
path?: undefined;
|
|
1179
|
+
query?: undefined;
|
|
1180
|
+
}>;
|
|
1181
|
+
/**
|
|
1182
|
+
* Redacted payment card information.
|
|
1183
|
+
*/
|
|
1184
1184
|
export declare const zGetPaymentMethodResponse: z.ZodObject<{
|
|
1185
1185
|
id: z.ZodString;
|
|
1186
1186
|
setup: z.ZodBoolean;
|
|
@@ -1206,6 +1206,23 @@ export declare const zGetPaymentMethodResponse: z.ZodObject<{
|
|
|
1206
1206
|
exp_year: number;
|
|
1207
1207
|
brand: "unknown" | "amex" | "diners" | "discover" | "eftpos_au" | "jcb" | "mastercard" | "unionpay" | "visa";
|
|
1208
1208
|
}>;
|
|
1209
|
+
export declare const zGetPaymentMethodSecretData: z.ZodObject<{
|
|
1210
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1211
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1212
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1213
|
+
}, "strip", z.ZodTypeAny, {
|
|
1214
|
+
body?: undefined;
|
|
1215
|
+
path?: undefined;
|
|
1216
|
+
query?: undefined;
|
|
1217
|
+
}, {
|
|
1218
|
+
body?: undefined;
|
|
1219
|
+
path?: undefined;
|
|
1220
|
+
query?: undefined;
|
|
1221
|
+
}>;
|
|
1222
|
+
/**
|
|
1223
|
+
* 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.
|
|
1224
|
+
*
|
|
1225
|
+
*/
|
|
1209
1226
|
export declare const zGetPaymentMethodSecretResponse: z.ZodObject<{
|
|
1210
1227
|
id: z.ZodOptional<z.ZodString>;
|
|
1211
1228
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1213,6 +1230,37 @@ export declare const zGetPaymentMethodSecretResponse: z.ZodObject<{
|
|
|
1213
1230
|
}, {
|
|
1214
1231
|
id?: string | undefined;
|
|
1215
1232
|
}>;
|
|
1233
|
+
export declare const zListInvoicesData: z.ZodObject<{
|
|
1234
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1235
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1236
|
+
query: z.ZodObject<{
|
|
1237
|
+
start_date: z.ZodString;
|
|
1238
|
+
end_date: z.ZodString;
|
|
1239
|
+
}, "strip", z.ZodTypeAny, {
|
|
1240
|
+
start_date: string;
|
|
1241
|
+
end_date: string;
|
|
1242
|
+
}, {
|
|
1243
|
+
start_date: string;
|
|
1244
|
+
end_date: string;
|
|
1245
|
+
}>;
|
|
1246
|
+
}, "strip", z.ZodTypeAny, {
|
|
1247
|
+
query: {
|
|
1248
|
+
start_date: string;
|
|
1249
|
+
end_date: string;
|
|
1250
|
+
};
|
|
1251
|
+
body?: undefined;
|
|
1252
|
+
path?: undefined;
|
|
1253
|
+
}, {
|
|
1254
|
+
query: {
|
|
1255
|
+
start_date: string;
|
|
1256
|
+
end_date: string;
|
|
1257
|
+
};
|
|
1258
|
+
body?: undefined;
|
|
1259
|
+
path?: undefined;
|
|
1260
|
+
}>;
|
|
1261
|
+
/**
|
|
1262
|
+
* An array of usage records.
|
|
1263
|
+
*/
|
|
1216
1264
|
export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
1217
1265
|
id: z.ZodOptional<z.ZodString>;
|
|
1218
1266
|
organizationId: z.ZodOptional<z.ZodString>;
|
|
@@ -1247,7 +1295,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1247
1295
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
1248
1296
|
itemDetails: z.ZodOptional<z.ZodString>;
|
|
1249
1297
|
catalogEffectiveDate: z.ZodOptional<z.ZodString>;
|
|
1250
|
-
childItems: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
1298
|
+
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
1299
|
}, "strip", z.ZodTypeAny, {
|
|
1252
1300
|
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
1301
|
id?: string | undefined;
|
|
@@ -1269,7 +1317,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1269
1317
|
quantity?: number | undefined;
|
|
1270
1318
|
itemDetails?: string | undefined;
|
|
1271
1319
|
catalogEffectiveDate?: string | undefined;
|
|
1272
|
-
childItems?: unknown[] | undefined;
|
|
1320
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1273
1321
|
}, {
|
|
1274
1322
|
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
1323
|
id?: string | undefined;
|
|
@@ -1291,7 +1339,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1291
1339
|
quantity?: number | undefined;
|
|
1292
1340
|
itemDetails?: string | undefined;
|
|
1293
1341
|
catalogEffectiveDate?: string | undefined;
|
|
1294
|
-
childItems?: unknown[] | undefined;
|
|
1342
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1295
1343
|
}>, "many">>;
|
|
1296
1344
|
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1297
1345
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1314,7 +1362,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1314
1362
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
1315
1363
|
itemDetails: z.ZodOptional<z.ZodString>;
|
|
1316
1364
|
catalogEffectiveDate: z.ZodOptional<z.ZodString>;
|
|
1317
|
-
childItems: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
|
|
1365
|
+
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
1366
|
}, "strip", z.ZodTypeAny, {
|
|
1319
1367
|
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
1368
|
id?: string | undefined;
|
|
@@ -1336,7 +1384,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1336
1384
|
quantity?: number | undefined;
|
|
1337
1385
|
itemDetails?: string | undefined;
|
|
1338
1386
|
catalogEffectiveDate?: string | undefined;
|
|
1339
|
-
childItems?: unknown[] | undefined;
|
|
1387
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1340
1388
|
}, {
|
|
1341
1389
|
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
1390
|
id?: string | undefined;
|
|
@@ -1358,7 +1406,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1358
1406
|
quantity?: number | undefined;
|
|
1359
1407
|
itemDetails?: string | undefined;
|
|
1360
1408
|
catalogEffectiveDate?: string | undefined;
|
|
1361
|
-
childItems?: unknown[] | undefined;
|
|
1409
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1362
1410
|
}>, "many">>;
|
|
1363
1411
|
}, "strip", z.ZodTypeAny, {
|
|
1364
1412
|
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 +1433,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1385
1433
|
quantity?: number | undefined;
|
|
1386
1434
|
itemDetails?: string | undefined;
|
|
1387
1435
|
catalogEffectiveDate?: string | undefined;
|
|
1388
|
-
childItems?: unknown[] | undefined;
|
|
1436
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1389
1437
|
}[] | undefined;
|
|
1390
1438
|
organizationId?: string | undefined;
|
|
1391
1439
|
amount?: number | undefined;
|
|
@@ -1417,7 +1465,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1417
1465
|
quantity?: number | undefined;
|
|
1418
1466
|
itemDetails?: string | undefined;
|
|
1419
1467
|
catalogEffectiveDate?: string | undefined;
|
|
1420
|
-
childItems?: unknown[] | undefined;
|
|
1468
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1421
1469
|
}[] | undefined;
|
|
1422
1470
|
}, {
|
|
1423
1471
|
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 +1492,7 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1444
1492
|
quantity?: number | undefined;
|
|
1445
1493
|
itemDetails?: string | undefined;
|
|
1446
1494
|
catalogEffectiveDate?: string | undefined;
|
|
1447
|
-
childItems?: unknown[] | undefined;
|
|
1495
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1448
1496
|
}[] | undefined;
|
|
1449
1497
|
organizationId?: string | undefined;
|
|
1450
1498
|
amount?: number | undefined;
|
|
@@ -1476,9 +1524,35 @@ export declare const zListInvoicesResponse: z.ZodArray<z.ZodObject<{
|
|
|
1476
1524
|
quantity?: number | undefined;
|
|
1477
1525
|
itemDetails?: string | undefined;
|
|
1478
1526
|
catalogEffectiveDate?: string | undefined;
|
|
1479
|
-
childItems?: unknown[] | undefined;
|
|
1527
|
+
childItems?: (string | number | boolean | unknown[] | {})[] | undefined;
|
|
1480
1528
|
}[] | undefined;
|
|
1481
1529
|
}>, "many">;
|
|
1530
|
+
export declare const zGetInvoiceData: z.ZodObject<{
|
|
1531
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1532
|
+
path: z.ZodObject<{
|
|
1533
|
+
id: z.ZodString;
|
|
1534
|
+
}, "strip", z.ZodTypeAny, {
|
|
1535
|
+
id: string;
|
|
1536
|
+
}, {
|
|
1537
|
+
id: string;
|
|
1538
|
+
}>;
|
|
1539
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1540
|
+
}, "strip", z.ZodTypeAny, {
|
|
1541
|
+
path: {
|
|
1542
|
+
id: string;
|
|
1543
|
+
};
|
|
1544
|
+
body?: undefined;
|
|
1545
|
+
query?: undefined;
|
|
1546
|
+
}, {
|
|
1547
|
+
path: {
|
|
1548
|
+
id: string;
|
|
1549
|
+
};
|
|
1550
|
+
body?: undefined;
|
|
1551
|
+
query?: undefined;
|
|
1552
|
+
}>;
|
|
1553
|
+
/**
|
|
1554
|
+
* Returns a single Invoice HTML representation under `html` property.
|
|
1555
|
+
*/
|
|
1482
1556
|
export declare const zGetInvoiceResponse: z.ZodObject<{
|
|
1483
1557
|
html: z.ZodOptional<z.ZodString>;
|
|
1484
1558
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1486,6 +1560,22 @@ export declare const zGetInvoiceResponse: z.ZodObject<{
|
|
|
1486
1560
|
}, {
|
|
1487
1561
|
html?: string | undefined;
|
|
1488
1562
|
}>;
|
|
1563
|
+
export declare const zGetContactData: z.ZodObject<{
|
|
1564
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1565
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1566
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1567
|
+
}, "strip", z.ZodTypeAny, {
|
|
1568
|
+
body?: undefined;
|
|
1569
|
+
path?: undefined;
|
|
1570
|
+
query?: undefined;
|
|
1571
|
+
}, {
|
|
1572
|
+
body?: undefined;
|
|
1573
|
+
path?: undefined;
|
|
1574
|
+
query?: undefined;
|
|
1575
|
+
}>;
|
|
1576
|
+
/**
|
|
1577
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1578
|
+
*/
|
|
1489
1579
|
export declare const zGetContactResponse: z.ZodObject<{
|
|
1490
1580
|
company: z.ZodOptional<z.ZodString>;
|
|
1491
1581
|
address1: z.ZodOptional<z.ZodString>;
|
|
@@ -1529,6 +1619,92 @@ export declare const zGetContactResponse: z.ZodObject<{
|
|
|
1529
1619
|
tax_id?: string | undefined;
|
|
1530
1620
|
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
1621
|
}>;
|
|
1622
|
+
export declare const zUpdateContactData: z.ZodObject<{
|
|
1623
|
+
body: z.ZodObject<{
|
|
1624
|
+
company: z.ZodOptional<z.ZodString>;
|
|
1625
|
+
address1: z.ZodOptional<z.ZodString>;
|
|
1626
|
+
address2: z.ZodOptional<z.ZodString>;
|
|
1627
|
+
postalCode: z.ZodOptional<z.ZodString>;
|
|
1628
|
+
city: z.ZodOptional<z.ZodString>;
|
|
1629
|
+
state: z.ZodOptional<z.ZodString>;
|
|
1630
|
+
country: z.ZodOptional<z.ZodString>;
|
|
1631
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
1632
|
+
email: z.ZodString;
|
|
1633
|
+
first_name: z.ZodString;
|
|
1634
|
+
last_name: z.ZodString;
|
|
1635
|
+
tax_id: z.ZodOptional<z.ZodString>;
|
|
1636
|
+
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", ""]>>;
|
|
1637
|
+
}, "strip", z.ZodTypeAny, {
|
|
1638
|
+
email: string;
|
|
1639
|
+
first_name: string;
|
|
1640
|
+
last_name: string;
|
|
1641
|
+
state?: string | undefined;
|
|
1642
|
+
country?: string | undefined;
|
|
1643
|
+
company?: string | undefined;
|
|
1644
|
+
address1?: string | undefined;
|
|
1645
|
+
address2?: string | undefined;
|
|
1646
|
+
postalCode?: string | undefined;
|
|
1647
|
+
city?: string | undefined;
|
|
1648
|
+
phone?: string | undefined;
|
|
1649
|
+
tax_id?: string | undefined;
|
|
1650
|
+
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;
|
|
1651
|
+
}, {
|
|
1652
|
+
email: string;
|
|
1653
|
+
first_name: string;
|
|
1654
|
+
last_name: string;
|
|
1655
|
+
state?: string | undefined;
|
|
1656
|
+
country?: string | undefined;
|
|
1657
|
+
company?: string | undefined;
|
|
1658
|
+
address1?: string | undefined;
|
|
1659
|
+
address2?: string | undefined;
|
|
1660
|
+
postalCode?: string | undefined;
|
|
1661
|
+
city?: string | undefined;
|
|
1662
|
+
phone?: string | undefined;
|
|
1663
|
+
tax_id?: string | undefined;
|
|
1664
|
+
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;
|
|
1665
|
+
}>;
|
|
1666
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1667
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1668
|
+
}, "strip", z.ZodTypeAny, {
|
|
1669
|
+
body: {
|
|
1670
|
+
email: string;
|
|
1671
|
+
first_name: string;
|
|
1672
|
+
last_name: string;
|
|
1673
|
+
state?: string | undefined;
|
|
1674
|
+
country?: string | undefined;
|
|
1675
|
+
company?: string | undefined;
|
|
1676
|
+
address1?: string | undefined;
|
|
1677
|
+
address2?: string | undefined;
|
|
1678
|
+
postalCode?: string | undefined;
|
|
1679
|
+
city?: string | undefined;
|
|
1680
|
+
phone?: string | undefined;
|
|
1681
|
+
tax_id?: string | undefined;
|
|
1682
|
+
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;
|
|
1683
|
+
};
|
|
1684
|
+
path?: undefined;
|
|
1685
|
+
query?: undefined;
|
|
1686
|
+
}, {
|
|
1687
|
+
body: {
|
|
1688
|
+
email: string;
|
|
1689
|
+
first_name: string;
|
|
1690
|
+
last_name: string;
|
|
1691
|
+
state?: string | undefined;
|
|
1692
|
+
country?: string | undefined;
|
|
1693
|
+
company?: string | undefined;
|
|
1694
|
+
address1?: string | undefined;
|
|
1695
|
+
address2?: string | undefined;
|
|
1696
|
+
postalCode?: string | undefined;
|
|
1697
|
+
city?: string | undefined;
|
|
1698
|
+
phone?: string | undefined;
|
|
1699
|
+
tax_id?: string | undefined;
|
|
1700
|
+
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;
|
|
1701
|
+
};
|
|
1702
|
+
path?: undefined;
|
|
1703
|
+
query?: undefined;
|
|
1704
|
+
}>;
|
|
1705
|
+
/**
|
|
1706
|
+
* Successfully updated. Returns updated organization details.
|
|
1707
|
+
*/
|
|
1532
1708
|
export declare const zUpdateContactResponse: z.ZodObject<{
|
|
1533
1709
|
company: z.ZodOptional<z.ZodString>;
|
|
1534
1710
|
address1: z.ZodOptional<z.ZodString>;
|
|
@@ -1572,6 +1748,22 @@ export declare const zUpdateContactResponse: z.ZodObject<{
|
|
|
1572
1748
|
tax_id?: string | undefined;
|
|
1573
1749
|
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
1750
|
}>;
|
|
1751
|
+
export declare const zGetCreditsData: z.ZodObject<{
|
|
1752
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1753
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1754
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1755
|
+
}, "strip", z.ZodTypeAny, {
|
|
1756
|
+
body?: undefined;
|
|
1757
|
+
path?: undefined;
|
|
1758
|
+
query?: undefined;
|
|
1759
|
+
}, {
|
|
1760
|
+
body?: undefined;
|
|
1761
|
+
path?: undefined;
|
|
1762
|
+
query?: undefined;
|
|
1763
|
+
}>;
|
|
1764
|
+
/**
|
|
1765
|
+
* An array of the applied promotional credits records.
|
|
1766
|
+
*/
|
|
1575
1767
|
export declare const zGetCreditsResponse: z.ZodArray<z.ZodObject<{
|
|
1576
1768
|
id: z.ZodOptional<z.ZodString>;
|
|
1577
1769
|
date_created: z.ZodString;
|
|
@@ -1603,6 +1795,55 @@ export declare const zGetCreditsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1603
1795
|
products?: string[] | undefined;
|
|
1604
1796
|
value_remaining?: number | undefined;
|
|
1605
1797
|
}>, "many">;
|
|
1798
|
+
export declare const zRedeemCreditsData: z.ZodObject<{
|
|
1799
|
+
body: z.ZodObject<{
|
|
1800
|
+
code: z.ZodOptional<z.ZodString>;
|
|
1801
|
+
}, "strip", z.ZodTypeAny, {
|
|
1802
|
+
code?: string | undefined;
|
|
1803
|
+
}, {
|
|
1804
|
+
code?: string | undefined;
|
|
1805
|
+
}>;
|
|
1806
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
1807
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1808
|
+
}, "strip", z.ZodTypeAny, {
|
|
1809
|
+
body: {
|
|
1810
|
+
code?: string | undefined;
|
|
1811
|
+
};
|
|
1812
|
+
path?: undefined;
|
|
1813
|
+
query?: undefined;
|
|
1814
|
+
}, {
|
|
1815
|
+
body: {
|
|
1816
|
+
code?: string | undefined;
|
|
1817
|
+
};
|
|
1818
|
+
path?: undefined;
|
|
1819
|
+
query?: undefined;
|
|
1820
|
+
}>;
|
|
1821
|
+
export declare const zListChartsData: z.ZodObject<{
|
|
1822
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1823
|
+
path: z.ZodObject<{
|
|
1824
|
+
cluster_id: z.ZodString;
|
|
1825
|
+
}, "strip", z.ZodTypeAny, {
|
|
1826
|
+
cluster_id: string;
|
|
1827
|
+
}, {
|
|
1828
|
+
cluster_id: string;
|
|
1829
|
+
}>;
|
|
1830
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1831
|
+
}, "strip", z.ZodTypeAny, {
|
|
1832
|
+
path: {
|
|
1833
|
+
cluster_id: string;
|
|
1834
|
+
};
|
|
1835
|
+
body?: undefined;
|
|
1836
|
+
query?: undefined;
|
|
1837
|
+
}, {
|
|
1838
|
+
path: {
|
|
1839
|
+
cluster_id: string;
|
|
1840
|
+
};
|
|
1841
|
+
body?: undefined;
|
|
1842
|
+
query?: undefined;
|
|
1843
|
+
}>;
|
|
1844
|
+
/**
|
|
1845
|
+
* An array of charts
|
|
1846
|
+
*/
|
|
1606
1847
|
export declare const zListChartsResponse: z.ZodArray<z.ZodObject<{
|
|
1607
1848
|
values: z.ZodString;
|
|
1608
1849
|
version_channel: z.ZodString;
|
|
@@ -1637,8 +1878,126 @@ export declare const zListChartsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1637
1878
|
created_at: string;
|
|
1638
1879
|
updated_at: string;
|
|
1639
1880
|
}>, "many">;
|
|
1881
|
+
export declare const zCreateChartData: z.ZodObject<{
|
|
1882
|
+
body: z.ZodObject<{
|
|
1883
|
+
values: z.ZodString;
|
|
1884
|
+
version_channel: z.ZodString;
|
|
1885
|
+
name: z.ZodString;
|
|
1886
|
+
namespace: z.ZodString;
|
|
1887
|
+
chart: z.ZodString;
|
|
1888
|
+
}, "strip", z.ZodTypeAny, {
|
|
1889
|
+
values: string;
|
|
1890
|
+
name: string;
|
|
1891
|
+
version_channel: string;
|
|
1892
|
+
namespace: string;
|
|
1893
|
+
chart: string;
|
|
1894
|
+
}, {
|
|
1895
|
+
values: string;
|
|
1896
|
+
name: string;
|
|
1897
|
+
version_channel: string;
|
|
1898
|
+
namespace: string;
|
|
1899
|
+
chart: string;
|
|
1900
|
+
}>;
|
|
1901
|
+
path: z.ZodObject<{
|
|
1902
|
+
cluster_id: z.ZodString;
|
|
1903
|
+
}, "strip", z.ZodTypeAny, {
|
|
1904
|
+
cluster_id: string;
|
|
1905
|
+
}, {
|
|
1906
|
+
cluster_id: string;
|
|
1907
|
+
}>;
|
|
1908
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1909
|
+
}, "strip", z.ZodTypeAny, {
|
|
1910
|
+
body: {
|
|
1911
|
+
values: string;
|
|
1912
|
+
name: string;
|
|
1913
|
+
version_channel: string;
|
|
1914
|
+
namespace: string;
|
|
1915
|
+
chart: string;
|
|
1916
|
+
};
|
|
1917
|
+
path: {
|
|
1918
|
+
cluster_id: string;
|
|
1919
|
+
};
|
|
1920
|
+
query?: undefined;
|
|
1921
|
+
}, {
|
|
1922
|
+
body: {
|
|
1923
|
+
values: string;
|
|
1924
|
+
name: string;
|
|
1925
|
+
version_channel: string;
|
|
1926
|
+
namespace: string;
|
|
1927
|
+
chart: string;
|
|
1928
|
+
};
|
|
1929
|
+
path: {
|
|
1930
|
+
cluster_id: string;
|
|
1931
|
+
};
|
|
1932
|
+
query?: undefined;
|
|
1933
|
+
}>;
|
|
1934
|
+
/**
|
|
1935
|
+
* Successfully created. Returns created Chart ID.
|
|
1936
|
+
*/
|
|
1640
1937
|
export declare const zCreateChartResponse: z.ZodString;
|
|
1938
|
+
export declare const zDeleteChartData: z.ZodObject<{
|
|
1939
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1940
|
+
path: z.ZodObject<{
|
|
1941
|
+
cluster_id: z.ZodString;
|
|
1942
|
+
chart_name: z.ZodString;
|
|
1943
|
+
}, "strip", z.ZodTypeAny, {
|
|
1944
|
+
cluster_id: string;
|
|
1945
|
+
chart_name: string;
|
|
1946
|
+
}, {
|
|
1947
|
+
cluster_id: string;
|
|
1948
|
+
chart_name: string;
|
|
1949
|
+
}>;
|
|
1950
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1951
|
+
}, "strip", z.ZodTypeAny, {
|
|
1952
|
+
path: {
|
|
1953
|
+
cluster_id: string;
|
|
1954
|
+
chart_name: string;
|
|
1955
|
+
};
|
|
1956
|
+
body?: undefined;
|
|
1957
|
+
query?: undefined;
|
|
1958
|
+
}, {
|
|
1959
|
+
path: {
|
|
1960
|
+
cluster_id: string;
|
|
1961
|
+
chart_name: string;
|
|
1962
|
+
};
|
|
1963
|
+
body?: undefined;
|
|
1964
|
+
query?: undefined;
|
|
1965
|
+
}>;
|
|
1966
|
+
/**
|
|
1967
|
+
* Successfully deleted.
|
|
1968
|
+
*/
|
|
1641
1969
|
export declare const zDeleteChartResponse: z.ZodString;
|
|
1970
|
+
export declare const zGetChartData: z.ZodObject<{
|
|
1971
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
1972
|
+
path: z.ZodObject<{
|
|
1973
|
+
cluster_id: z.ZodString;
|
|
1974
|
+
chart_name: z.ZodString;
|
|
1975
|
+
}, "strip", z.ZodTypeAny, {
|
|
1976
|
+
cluster_id: string;
|
|
1977
|
+
chart_name: string;
|
|
1978
|
+
}, {
|
|
1979
|
+
cluster_id: string;
|
|
1980
|
+
chart_name: string;
|
|
1981
|
+
}>;
|
|
1982
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
1983
|
+
}, "strip", z.ZodTypeAny, {
|
|
1984
|
+
path: {
|
|
1985
|
+
cluster_id: string;
|
|
1986
|
+
chart_name: string;
|
|
1987
|
+
};
|
|
1988
|
+
body?: undefined;
|
|
1989
|
+
query?: undefined;
|
|
1990
|
+
}, {
|
|
1991
|
+
path: {
|
|
1992
|
+
cluster_id: string;
|
|
1993
|
+
chart_name: string;
|
|
1994
|
+
};
|
|
1995
|
+
body?: undefined;
|
|
1996
|
+
query?: undefined;
|
|
1997
|
+
}>;
|
|
1998
|
+
/**
|
|
1999
|
+
* Returns a single object containing chart details.
|
|
2000
|
+
*/
|
|
1642
2001
|
export declare const zGetChartResponse: z.ZodObject<{
|
|
1643
2002
|
values: z.ZodString;
|
|
1644
2003
|
version_channel: z.ZodString;
|
|
@@ -1673,7 +2032,79 @@ export declare const zGetChartResponse: z.ZodObject<{
|
|
|
1673
2032
|
created_at: string;
|
|
1674
2033
|
updated_at: string;
|
|
1675
2034
|
}>;
|
|
2035
|
+
export declare const zUpdateChartData: z.ZodObject<{
|
|
2036
|
+
body: z.ZodObject<{
|
|
2037
|
+
values: z.ZodString;
|
|
2038
|
+
version_channel: z.ZodString;
|
|
2039
|
+
}, "strip", z.ZodTypeAny, {
|
|
2040
|
+
values: string;
|
|
2041
|
+
version_channel: string;
|
|
2042
|
+
}, {
|
|
2043
|
+
values: string;
|
|
2044
|
+
version_channel: string;
|
|
2045
|
+
}>;
|
|
2046
|
+
path: z.ZodObject<{
|
|
2047
|
+
cluster_id: z.ZodString;
|
|
2048
|
+
chart_name: z.ZodString;
|
|
2049
|
+
}, "strip", z.ZodTypeAny, {
|
|
2050
|
+
cluster_id: string;
|
|
2051
|
+
chart_name: string;
|
|
2052
|
+
}, {
|
|
2053
|
+
cluster_id: string;
|
|
2054
|
+
chart_name: string;
|
|
2055
|
+
}>;
|
|
2056
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2057
|
+
}, "strip", z.ZodTypeAny, {
|
|
2058
|
+
body: {
|
|
2059
|
+
values: string;
|
|
2060
|
+
version_channel: string;
|
|
2061
|
+
};
|
|
2062
|
+
path: {
|
|
2063
|
+
cluster_id: string;
|
|
2064
|
+
chart_name: string;
|
|
2065
|
+
};
|
|
2066
|
+
query?: undefined;
|
|
2067
|
+
}, {
|
|
2068
|
+
body: {
|
|
2069
|
+
values: string;
|
|
2070
|
+
version_channel: string;
|
|
2071
|
+
};
|
|
2072
|
+
path: {
|
|
2073
|
+
cluster_id: string;
|
|
2074
|
+
chart_name: string;
|
|
2075
|
+
};
|
|
2076
|
+
query?: undefined;
|
|
2077
|
+
}>;
|
|
2078
|
+
/**
|
|
2079
|
+
* Successfully updated.
|
|
2080
|
+
*/
|
|
1676
2081
|
export declare const zUpdateChartResponse: z.ZodString;
|
|
2082
|
+
export declare const zListFleetsData: z.ZodObject<{
|
|
2083
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2084
|
+
path: z.ZodObject<{
|
|
2085
|
+
cluster_id: z.ZodString;
|
|
2086
|
+
}, "strip", z.ZodTypeAny, {
|
|
2087
|
+
cluster_id: string;
|
|
2088
|
+
}, {
|
|
2089
|
+
cluster_id: string;
|
|
2090
|
+
}>;
|
|
2091
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2092
|
+
}, "strip", z.ZodTypeAny, {
|
|
2093
|
+
path: {
|
|
2094
|
+
cluster_id: string;
|
|
2095
|
+
};
|
|
2096
|
+
body?: undefined;
|
|
2097
|
+
query?: undefined;
|
|
2098
|
+
}, {
|
|
2099
|
+
path: {
|
|
2100
|
+
cluster_id: string;
|
|
2101
|
+
};
|
|
2102
|
+
body?: undefined;
|
|
2103
|
+
query?: undefined;
|
|
2104
|
+
}>;
|
|
2105
|
+
/**
|
|
2106
|
+
* An array of fleets
|
|
2107
|
+
*/
|
|
1677
2108
|
export declare const zListFleetsResponse: z.ZodArray<z.ZodObject<{
|
|
1678
2109
|
limits: z.ZodOptional<z.ZodObject<{
|
|
1679
2110
|
cpu: z.ZodNumber;
|
|
@@ -1692,25 +2123,16 @@ export declare const zListFleetsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1692
2123
|
project: string;
|
|
1693
2124
|
enabled?: boolean | undefined;
|
|
1694
2125
|
}>>;
|
|
1695
|
-
hetzner: z.ZodOptional<z.
|
|
1696
|
-
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1697
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
1698
|
-
}, "strip", z.ZodTypeAny, {
|
|
1699
|
-
enabled: boolean;
|
|
1700
|
-
apiKey?: string | undefined;
|
|
1701
|
-
}, {
|
|
1702
|
-
apiKey?: string | undefined;
|
|
1703
|
-
enabled?: boolean | undefined;
|
|
1704
|
-
}>, z.ZodObject<{
|
|
1705
|
-
apiKey: z.ZodOptional<z.ZodString>;
|
|
2126
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
1706
2127
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2128
|
+
apiKey: z.ZodString;
|
|
1707
2129
|
}, "strip", z.ZodTypeAny, {
|
|
2130
|
+
apiKey: string;
|
|
1708
2131
|
enabled: boolean;
|
|
1709
|
-
apiKey?: string | undefined;
|
|
1710
2132
|
}, {
|
|
1711
|
-
apiKey
|
|
2133
|
+
apiKey: string;
|
|
1712
2134
|
enabled?: boolean | undefined;
|
|
1713
|
-
}
|
|
2135
|
+
}>>;
|
|
1714
2136
|
aws: z.ZodOptional<z.ZodObject<{
|
|
1715
2137
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1716
2138
|
controllerRoleArn: z.ZodString;
|
|
@@ -1722,9 +2144,7 @@ export declare const zListFleetsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1722
2144
|
enabled?: boolean | undefined;
|
|
1723
2145
|
}>>;
|
|
1724
2146
|
id: z.ZodString;
|
|
1725
|
-
type: z.ZodEnum<["managed", "connected"]>;
|
|
1726
2147
|
}, "strip", z.ZodTypeAny, {
|
|
1727
|
-
type: "connected" | "managed";
|
|
1728
2148
|
id: string;
|
|
1729
2149
|
limits?: {
|
|
1730
2150
|
cpu: number;
|
|
@@ -1734,18 +2154,14 @@ export declare const zListFleetsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1734
2154
|
enabled: boolean;
|
|
1735
2155
|
} | undefined;
|
|
1736
2156
|
hetzner?: {
|
|
2157
|
+
apiKey: string;
|
|
1737
2158
|
enabled: boolean;
|
|
1738
|
-
apiKey?: string | undefined;
|
|
1739
|
-
} | {
|
|
1740
|
-
enabled: boolean;
|
|
1741
|
-
apiKey?: string | undefined;
|
|
1742
2159
|
} | undefined;
|
|
1743
2160
|
aws?: {
|
|
1744
2161
|
controllerRoleArn: string;
|
|
1745
2162
|
enabled: boolean;
|
|
1746
2163
|
} | undefined;
|
|
1747
2164
|
}, {
|
|
1748
|
-
type: "connected" | "managed";
|
|
1749
2165
|
id: string;
|
|
1750
2166
|
limits?: {
|
|
1751
2167
|
cpu: number;
|
|
@@ -1755,10 +2171,7 @@ export declare const zListFleetsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1755
2171
|
enabled?: boolean | undefined;
|
|
1756
2172
|
} | undefined;
|
|
1757
2173
|
hetzner?: {
|
|
1758
|
-
apiKey
|
|
1759
|
-
enabled?: boolean | undefined;
|
|
1760
|
-
} | {
|
|
1761
|
-
apiKey?: string | undefined;
|
|
2174
|
+
apiKey: string;
|
|
1762
2175
|
enabled?: boolean | undefined;
|
|
1763
2176
|
} | undefined;
|
|
1764
2177
|
aws?: {
|
|
@@ -1766,8 +2179,203 @@ export declare const zListFleetsResponse: z.ZodArray<z.ZodObject<{
|
|
|
1766
2179
|
enabled?: boolean | undefined;
|
|
1767
2180
|
} | undefined;
|
|
1768
2181
|
}>, "many">;
|
|
2182
|
+
export declare const zCreateFleetData: z.ZodObject<{
|
|
2183
|
+
body: z.ZodObject<{
|
|
2184
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
2185
|
+
cpu: z.ZodNumber;
|
|
2186
|
+
}, "strip", z.ZodTypeAny, {
|
|
2187
|
+
cpu: number;
|
|
2188
|
+
}, {
|
|
2189
|
+
cpu: number;
|
|
2190
|
+
}>>;
|
|
2191
|
+
gcp: z.ZodOptional<z.ZodObject<{
|
|
2192
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2193
|
+
project: z.ZodString;
|
|
2194
|
+
}, "strip", z.ZodTypeAny, {
|
|
2195
|
+
project: string;
|
|
2196
|
+
enabled: boolean;
|
|
2197
|
+
}, {
|
|
2198
|
+
project: string;
|
|
2199
|
+
enabled?: boolean | undefined;
|
|
2200
|
+
}>>;
|
|
2201
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
2202
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2203
|
+
apiKey: z.ZodString;
|
|
2204
|
+
}, "strip", z.ZodTypeAny, {
|
|
2205
|
+
apiKey: string;
|
|
2206
|
+
enabled: boolean;
|
|
2207
|
+
}, {
|
|
2208
|
+
apiKey: string;
|
|
2209
|
+
enabled?: boolean | undefined;
|
|
2210
|
+
}>>;
|
|
2211
|
+
aws: z.ZodOptional<z.ZodObject<{
|
|
2212
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2213
|
+
controllerRoleArn: z.ZodString;
|
|
2214
|
+
}, "strip", z.ZodTypeAny, {
|
|
2215
|
+
controllerRoleArn: string;
|
|
2216
|
+
enabled: boolean;
|
|
2217
|
+
}, {
|
|
2218
|
+
controllerRoleArn: string;
|
|
2219
|
+
enabled?: boolean | undefined;
|
|
2220
|
+
}>>;
|
|
2221
|
+
id: z.ZodString;
|
|
2222
|
+
}, "strip", z.ZodTypeAny, {
|
|
2223
|
+
id: string;
|
|
2224
|
+
limits?: {
|
|
2225
|
+
cpu: number;
|
|
2226
|
+
} | undefined;
|
|
2227
|
+
gcp?: {
|
|
2228
|
+
project: string;
|
|
2229
|
+
enabled: boolean;
|
|
2230
|
+
} | undefined;
|
|
2231
|
+
hetzner?: {
|
|
2232
|
+
apiKey: string;
|
|
2233
|
+
enabled: boolean;
|
|
2234
|
+
} | undefined;
|
|
2235
|
+
aws?: {
|
|
2236
|
+
controllerRoleArn: string;
|
|
2237
|
+
enabled: boolean;
|
|
2238
|
+
} | undefined;
|
|
2239
|
+
}, {
|
|
2240
|
+
id: string;
|
|
2241
|
+
limits?: {
|
|
2242
|
+
cpu: number;
|
|
2243
|
+
} | undefined;
|
|
2244
|
+
gcp?: {
|
|
2245
|
+
project: string;
|
|
2246
|
+
enabled?: boolean | undefined;
|
|
2247
|
+
} | undefined;
|
|
2248
|
+
hetzner?: {
|
|
2249
|
+
apiKey: string;
|
|
2250
|
+
enabled?: boolean | undefined;
|
|
2251
|
+
} | undefined;
|
|
2252
|
+
aws?: {
|
|
2253
|
+
controllerRoleArn: string;
|
|
2254
|
+
enabled?: boolean | undefined;
|
|
2255
|
+
} | undefined;
|
|
2256
|
+
}>;
|
|
2257
|
+
path: z.ZodObject<{
|
|
2258
|
+
cluster_id: z.ZodString;
|
|
2259
|
+
}, "strip", z.ZodTypeAny, {
|
|
2260
|
+
cluster_id: string;
|
|
2261
|
+
}, {
|
|
2262
|
+
cluster_id: string;
|
|
2263
|
+
}>;
|
|
2264
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2265
|
+
}, "strip", z.ZodTypeAny, {
|
|
2266
|
+
body: {
|
|
2267
|
+
id: string;
|
|
2268
|
+
limits?: {
|
|
2269
|
+
cpu: number;
|
|
2270
|
+
} | undefined;
|
|
2271
|
+
gcp?: {
|
|
2272
|
+
project: string;
|
|
2273
|
+
enabled: boolean;
|
|
2274
|
+
} | undefined;
|
|
2275
|
+
hetzner?: {
|
|
2276
|
+
apiKey: string;
|
|
2277
|
+
enabled: boolean;
|
|
2278
|
+
} | undefined;
|
|
2279
|
+
aws?: {
|
|
2280
|
+
controllerRoleArn: string;
|
|
2281
|
+
enabled: boolean;
|
|
2282
|
+
} | undefined;
|
|
2283
|
+
};
|
|
2284
|
+
path: {
|
|
2285
|
+
cluster_id: string;
|
|
2286
|
+
};
|
|
2287
|
+
query?: undefined;
|
|
2288
|
+
}, {
|
|
2289
|
+
body: {
|
|
2290
|
+
id: string;
|
|
2291
|
+
limits?: {
|
|
2292
|
+
cpu: number;
|
|
2293
|
+
} | undefined;
|
|
2294
|
+
gcp?: {
|
|
2295
|
+
project: string;
|
|
2296
|
+
enabled?: boolean | undefined;
|
|
2297
|
+
} | undefined;
|
|
2298
|
+
hetzner?: {
|
|
2299
|
+
apiKey: string;
|
|
2300
|
+
enabled?: boolean | undefined;
|
|
2301
|
+
} | undefined;
|
|
2302
|
+
aws?: {
|
|
2303
|
+
controllerRoleArn: string;
|
|
2304
|
+
enabled?: boolean | undefined;
|
|
2305
|
+
} | undefined;
|
|
2306
|
+
};
|
|
2307
|
+
path: {
|
|
2308
|
+
cluster_id: string;
|
|
2309
|
+
};
|
|
2310
|
+
query?: undefined;
|
|
2311
|
+
}>;
|
|
2312
|
+
/**
|
|
2313
|
+
* Successfully created. Returns created Fleet ID.
|
|
2314
|
+
*/
|
|
1769
2315
|
export declare const zCreateFleetResponse: z.ZodString;
|
|
2316
|
+
export declare const zDeleteFleetData: z.ZodObject<{
|
|
2317
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2318
|
+
path: z.ZodObject<{
|
|
2319
|
+
cluster_id: z.ZodString;
|
|
2320
|
+
fleet_name: z.ZodString;
|
|
2321
|
+
}, "strip", z.ZodTypeAny, {
|
|
2322
|
+
cluster_id: string;
|
|
2323
|
+
fleet_name: string;
|
|
2324
|
+
}, {
|
|
2325
|
+
cluster_id: string;
|
|
2326
|
+
fleet_name: string;
|
|
2327
|
+
}>;
|
|
2328
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2329
|
+
}, "strip", z.ZodTypeAny, {
|
|
2330
|
+
path: {
|
|
2331
|
+
cluster_id: string;
|
|
2332
|
+
fleet_name: string;
|
|
2333
|
+
};
|
|
2334
|
+
body?: undefined;
|
|
2335
|
+
query?: undefined;
|
|
2336
|
+
}, {
|
|
2337
|
+
path: {
|
|
2338
|
+
cluster_id: string;
|
|
2339
|
+
fleet_name: string;
|
|
2340
|
+
};
|
|
2341
|
+
body?: undefined;
|
|
2342
|
+
query?: undefined;
|
|
2343
|
+
}>;
|
|
2344
|
+
/**
|
|
2345
|
+
* Successfully deleted.
|
|
2346
|
+
*/
|
|
1770
2347
|
export declare const zDeleteFleetResponse: z.ZodString;
|
|
2348
|
+
export declare const zGetFleetData: z.ZodObject<{
|
|
2349
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2350
|
+
path: z.ZodObject<{
|
|
2351
|
+
cluster_id: z.ZodString;
|
|
2352
|
+
fleet_name: z.ZodString;
|
|
2353
|
+
}, "strip", z.ZodTypeAny, {
|
|
2354
|
+
cluster_id: string;
|
|
2355
|
+
fleet_name: string;
|
|
2356
|
+
}, {
|
|
2357
|
+
cluster_id: string;
|
|
2358
|
+
fleet_name: string;
|
|
2359
|
+
}>;
|
|
2360
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2361
|
+
}, "strip", z.ZodTypeAny, {
|
|
2362
|
+
path: {
|
|
2363
|
+
cluster_id: string;
|
|
2364
|
+
fleet_name: string;
|
|
2365
|
+
};
|
|
2366
|
+
body?: undefined;
|
|
2367
|
+
query?: undefined;
|
|
2368
|
+
}, {
|
|
2369
|
+
path: {
|
|
2370
|
+
cluster_id: string;
|
|
2371
|
+
fleet_name: string;
|
|
2372
|
+
};
|
|
2373
|
+
body?: undefined;
|
|
2374
|
+
query?: undefined;
|
|
2375
|
+
}>;
|
|
2376
|
+
/**
|
|
2377
|
+
* Returns a single object containing fleet details.
|
|
2378
|
+
*/
|
|
1771
2379
|
export declare const zGetFleetResponse: z.ZodObject<{
|
|
1772
2380
|
limits: z.ZodOptional<z.ZodObject<{
|
|
1773
2381
|
cpu: z.ZodNumber;
|
|
@@ -1786,25 +2394,16 @@ export declare const zGetFleetResponse: z.ZodObject<{
|
|
|
1786
2394
|
project: string;
|
|
1787
2395
|
enabled?: boolean | undefined;
|
|
1788
2396
|
}>>;
|
|
1789
|
-
hetzner: z.ZodOptional<z.
|
|
2397
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
1790
2398
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1791
|
-
apiKey: z.
|
|
2399
|
+
apiKey: z.ZodString;
|
|
1792
2400
|
}, "strip", z.ZodTypeAny, {
|
|
2401
|
+
apiKey: string;
|
|
1793
2402
|
enabled: boolean;
|
|
1794
|
-
apiKey?: string | undefined;
|
|
1795
2403
|
}, {
|
|
1796
|
-
apiKey
|
|
2404
|
+
apiKey: string;
|
|
1797
2405
|
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
|
-
}>]>>;
|
|
2406
|
+
}>>;
|
|
1808
2407
|
aws: z.ZodOptional<z.ZodObject<{
|
|
1809
2408
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1810
2409
|
controllerRoleArn: z.ZodString;
|
|
@@ -1816,9 +2415,7 @@ export declare const zGetFleetResponse: z.ZodObject<{
|
|
|
1816
2415
|
enabled?: boolean | undefined;
|
|
1817
2416
|
}>>;
|
|
1818
2417
|
id: z.ZodString;
|
|
1819
|
-
type: z.ZodEnum<["managed", "connected"]>;
|
|
1820
2418
|
}, "strip", z.ZodTypeAny, {
|
|
1821
|
-
type: "connected" | "managed";
|
|
1822
2419
|
id: string;
|
|
1823
2420
|
limits?: {
|
|
1824
2421
|
cpu: number;
|
|
@@ -1828,18 +2425,14 @@ export declare const zGetFleetResponse: z.ZodObject<{
|
|
|
1828
2425
|
enabled: boolean;
|
|
1829
2426
|
} | undefined;
|
|
1830
2427
|
hetzner?: {
|
|
2428
|
+
apiKey: string;
|
|
1831
2429
|
enabled: boolean;
|
|
1832
|
-
apiKey?: string | undefined;
|
|
1833
|
-
} | {
|
|
1834
|
-
enabled: boolean;
|
|
1835
|
-
apiKey?: string | undefined;
|
|
1836
2430
|
} | undefined;
|
|
1837
2431
|
aws?: {
|
|
1838
2432
|
controllerRoleArn: string;
|
|
1839
2433
|
enabled: boolean;
|
|
1840
2434
|
} | undefined;
|
|
1841
2435
|
}, {
|
|
1842
|
-
type: "connected" | "managed";
|
|
1843
2436
|
id: string;
|
|
1844
2437
|
limits?: {
|
|
1845
2438
|
cpu: number;
|
|
@@ -1849,10 +2442,7 @@ export declare const zGetFleetResponse: z.ZodObject<{
|
|
|
1849
2442
|
enabled?: boolean | undefined;
|
|
1850
2443
|
} | undefined;
|
|
1851
2444
|
hetzner?: {
|
|
1852
|
-
apiKey
|
|
1853
|
-
enabled?: boolean | undefined;
|
|
1854
|
-
} | {
|
|
1855
|
-
apiKey?: string | undefined;
|
|
2445
|
+
apiKey: string;
|
|
1856
2446
|
enabled?: boolean | undefined;
|
|
1857
2447
|
} | undefined;
|
|
1858
2448
|
aws?: {
|
|
@@ -1860,11 +2450,183 @@ export declare const zGetFleetResponse: z.ZodObject<{
|
|
|
1860
2450
|
enabled?: boolean | undefined;
|
|
1861
2451
|
} | undefined;
|
|
1862
2452
|
}>;
|
|
2453
|
+
export declare const zUpdateFleetData: z.ZodObject<{
|
|
2454
|
+
body: z.ZodObject<{
|
|
2455
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
2456
|
+
cpu: z.ZodNumber;
|
|
2457
|
+
}, "strip", z.ZodTypeAny, {
|
|
2458
|
+
cpu: number;
|
|
2459
|
+
}, {
|
|
2460
|
+
cpu: number;
|
|
2461
|
+
}>>;
|
|
2462
|
+
gcp: z.ZodOptional<z.ZodObject<{
|
|
2463
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2464
|
+
project: z.ZodString;
|
|
2465
|
+
}, "strip", z.ZodTypeAny, {
|
|
2466
|
+
project: string;
|
|
2467
|
+
enabled: boolean;
|
|
2468
|
+
}, {
|
|
2469
|
+
project: string;
|
|
2470
|
+
enabled?: boolean | undefined;
|
|
2471
|
+
}>>;
|
|
2472
|
+
hetzner: z.ZodOptional<z.ZodObject<{
|
|
2473
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2474
|
+
apiKey: z.ZodString;
|
|
2475
|
+
}, "strip", z.ZodTypeAny, {
|
|
2476
|
+
apiKey: string;
|
|
2477
|
+
enabled: boolean;
|
|
2478
|
+
}, {
|
|
2479
|
+
apiKey: string;
|
|
2480
|
+
enabled?: boolean | undefined;
|
|
2481
|
+
}>>;
|
|
2482
|
+
aws: z.ZodOptional<z.ZodObject<{
|
|
2483
|
+
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2484
|
+
controllerRoleArn: z.ZodString;
|
|
2485
|
+
}, "strip", z.ZodTypeAny, {
|
|
2486
|
+
controllerRoleArn: string;
|
|
2487
|
+
enabled: boolean;
|
|
2488
|
+
}, {
|
|
2489
|
+
controllerRoleArn: string;
|
|
2490
|
+
enabled?: boolean | undefined;
|
|
2491
|
+
}>>;
|
|
2492
|
+
}, "strip", z.ZodTypeAny, {
|
|
2493
|
+
limits?: {
|
|
2494
|
+
cpu: number;
|
|
2495
|
+
} | undefined;
|
|
2496
|
+
gcp?: {
|
|
2497
|
+
project: string;
|
|
2498
|
+
enabled: boolean;
|
|
2499
|
+
} | undefined;
|
|
2500
|
+
hetzner?: {
|
|
2501
|
+
apiKey: string;
|
|
2502
|
+
enabled: boolean;
|
|
2503
|
+
} | undefined;
|
|
2504
|
+
aws?: {
|
|
2505
|
+
controllerRoleArn: string;
|
|
2506
|
+
enabled: boolean;
|
|
2507
|
+
} | undefined;
|
|
2508
|
+
}, {
|
|
2509
|
+
limits?: {
|
|
2510
|
+
cpu: number;
|
|
2511
|
+
} | undefined;
|
|
2512
|
+
gcp?: {
|
|
2513
|
+
project: string;
|
|
2514
|
+
enabled?: boolean | undefined;
|
|
2515
|
+
} | undefined;
|
|
2516
|
+
hetzner?: {
|
|
2517
|
+
apiKey: string;
|
|
2518
|
+
enabled?: boolean | undefined;
|
|
2519
|
+
} | undefined;
|
|
2520
|
+
aws?: {
|
|
2521
|
+
controllerRoleArn: string;
|
|
2522
|
+
enabled?: boolean | undefined;
|
|
2523
|
+
} | undefined;
|
|
2524
|
+
}>;
|
|
2525
|
+
path: z.ZodObject<{
|
|
2526
|
+
cluster_id: z.ZodString;
|
|
2527
|
+
fleet_name: z.ZodString;
|
|
2528
|
+
}, "strip", z.ZodTypeAny, {
|
|
2529
|
+
cluster_id: string;
|
|
2530
|
+
fleet_name: string;
|
|
2531
|
+
}, {
|
|
2532
|
+
cluster_id: string;
|
|
2533
|
+
fleet_name: string;
|
|
2534
|
+
}>;
|
|
2535
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2536
|
+
}, "strip", z.ZodTypeAny, {
|
|
2537
|
+
body: {
|
|
2538
|
+
limits?: {
|
|
2539
|
+
cpu: number;
|
|
2540
|
+
} | undefined;
|
|
2541
|
+
gcp?: {
|
|
2542
|
+
project: string;
|
|
2543
|
+
enabled: boolean;
|
|
2544
|
+
} | undefined;
|
|
2545
|
+
hetzner?: {
|
|
2546
|
+
apiKey: string;
|
|
2547
|
+
enabled: boolean;
|
|
2548
|
+
} | undefined;
|
|
2549
|
+
aws?: {
|
|
2550
|
+
controllerRoleArn: string;
|
|
2551
|
+
enabled: boolean;
|
|
2552
|
+
} | undefined;
|
|
2553
|
+
};
|
|
2554
|
+
path: {
|
|
2555
|
+
cluster_id: string;
|
|
2556
|
+
fleet_name: string;
|
|
2557
|
+
};
|
|
2558
|
+
query?: undefined;
|
|
2559
|
+
}, {
|
|
2560
|
+
body: {
|
|
2561
|
+
limits?: {
|
|
2562
|
+
cpu: number;
|
|
2563
|
+
} | undefined;
|
|
2564
|
+
gcp?: {
|
|
2565
|
+
project: string;
|
|
2566
|
+
enabled?: boolean | undefined;
|
|
2567
|
+
} | undefined;
|
|
2568
|
+
hetzner?: {
|
|
2569
|
+
apiKey: string;
|
|
2570
|
+
enabled?: boolean | undefined;
|
|
2571
|
+
} | undefined;
|
|
2572
|
+
aws?: {
|
|
2573
|
+
controllerRoleArn: string;
|
|
2574
|
+
enabled?: boolean | undefined;
|
|
2575
|
+
} | undefined;
|
|
2576
|
+
};
|
|
2577
|
+
path: {
|
|
2578
|
+
cluster_id: string;
|
|
2579
|
+
fleet_name: string;
|
|
2580
|
+
};
|
|
2581
|
+
query?: undefined;
|
|
2582
|
+
}>;
|
|
2583
|
+
/**
|
|
2584
|
+
* Successfully updated.
|
|
2585
|
+
*/
|
|
1863
2586
|
export declare const zUpdateFleetResponse: z.ZodString;
|
|
2587
|
+
export declare const zQueryClusterData: z.ZodObject<{
|
|
2588
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2589
|
+
path: z.ZodObject<{
|
|
2590
|
+
cluster_id: z.ZodString;
|
|
2591
|
+
}, "strip", z.ZodTypeAny, {
|
|
2592
|
+
cluster_id: string;
|
|
2593
|
+
}, {
|
|
2594
|
+
cluster_id: string;
|
|
2595
|
+
}>;
|
|
2596
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2597
|
+
}, "strip", z.ZodTypeAny, {
|
|
2598
|
+
path: {
|
|
2599
|
+
cluster_id: string;
|
|
2600
|
+
};
|
|
2601
|
+
body?: undefined;
|
|
2602
|
+
query?: undefined;
|
|
2603
|
+
}, {
|
|
2604
|
+
path: {
|
|
2605
|
+
cluster_id: string;
|
|
2606
|
+
};
|
|
2607
|
+
body?: undefined;
|
|
2608
|
+
query?: undefined;
|
|
2609
|
+
}>;
|
|
2610
|
+
export declare const zListClustersData: z.ZodObject<{
|
|
2611
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2612
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
2613
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2614
|
+
}, "strip", z.ZodTypeAny, {
|
|
2615
|
+
body?: undefined;
|
|
2616
|
+
path?: undefined;
|
|
2617
|
+
query?: undefined;
|
|
2618
|
+
}, {
|
|
2619
|
+
body?: undefined;
|
|
2620
|
+
path?: undefined;
|
|
2621
|
+
query?: undefined;
|
|
2622
|
+
}>;
|
|
2623
|
+
/**
|
|
2624
|
+
* An array of clusters
|
|
2625
|
+
*/
|
|
1864
2626
|
export declare const zListClustersResponse: z.ZodArray<z.ZodObject<{
|
|
1865
2627
|
name: z.ZodString;
|
|
1866
|
-
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1"]>>;
|
|
1867
2628
|
tier: z.ZodEnum<["basic", "pro"]>;
|
|
2629
|
+
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1", "europe-central-1a"]>>;
|
|
1868
2630
|
version_channel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1869
2631
|
id: z.ZodString;
|
|
1870
2632
|
status: z.ZodEnum<["active", "deleted", "creating", "deployed", "failed", "updating"]>;
|
|
@@ -1877,11 +2639,11 @@ export declare const zListClustersResponse: z.ZodArray<z.ZodObject<{
|
|
|
1877
2639
|
}, "strip", z.ZodTypeAny, {
|
|
1878
2640
|
name: string;
|
|
1879
2641
|
id: string;
|
|
1880
|
-
status: "
|
|
2642
|
+
status: "deleted" | "failed" | "active" | "creating" | "deployed" | "updating";
|
|
1881
2643
|
version_channel: string;
|
|
1882
2644
|
tier: "basic" | "pro";
|
|
1883
2645
|
ready?: boolean | undefined;
|
|
1884
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2646
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
1885
2647
|
version_current?: string | undefined;
|
|
1886
2648
|
created_at?: string | undefined;
|
|
1887
2649
|
updated_at?: string | undefined;
|
|
@@ -1890,10 +2652,10 @@ export declare const zListClustersResponse: z.ZodArray<z.ZodObject<{
|
|
|
1890
2652
|
}, {
|
|
1891
2653
|
name: string;
|
|
1892
2654
|
id: string;
|
|
1893
|
-
status: "
|
|
2655
|
+
status: "deleted" | "failed" | "active" | "creating" | "deployed" | "updating";
|
|
1894
2656
|
tier: "basic" | "pro";
|
|
1895
2657
|
ready?: boolean | undefined;
|
|
1896
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2658
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
1897
2659
|
version_channel?: string | undefined;
|
|
1898
2660
|
version_current?: string | undefined;
|
|
1899
2661
|
created_at?: string | undefined;
|
|
@@ -1901,12 +2663,105 @@ export declare const zListClustersResponse: z.ZodArray<z.ZodObject<{
|
|
|
1901
2663
|
endpoint?: string | undefined;
|
|
1902
2664
|
certificate_ca?: string | undefined;
|
|
1903
2665
|
}>, "many">;
|
|
2666
|
+
export declare const zCreateClusterData: z.ZodObject<{
|
|
2667
|
+
body: z.ZodObject<{
|
|
2668
|
+
name: z.ZodString;
|
|
2669
|
+
tier: z.ZodEnum<["basic", "pro"]>;
|
|
2670
|
+
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1", "europe-central-1a"]>>;
|
|
2671
|
+
version_channel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2672
|
+
}, "strip", z.ZodTypeAny, {
|
|
2673
|
+
name: string;
|
|
2674
|
+
version_channel: string;
|
|
2675
|
+
tier: "basic" | "pro";
|
|
2676
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
2677
|
+
}, {
|
|
2678
|
+
name: string;
|
|
2679
|
+
tier: "basic" | "pro";
|
|
2680
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
2681
|
+
version_channel?: string | undefined;
|
|
2682
|
+
}>;
|
|
2683
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
2684
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2685
|
+
}, "strip", z.ZodTypeAny, {
|
|
2686
|
+
body: {
|
|
2687
|
+
name: string;
|
|
2688
|
+
version_channel: string;
|
|
2689
|
+
tier: "basic" | "pro";
|
|
2690
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
2691
|
+
};
|
|
2692
|
+
path?: undefined;
|
|
2693
|
+
query?: undefined;
|
|
2694
|
+
}, {
|
|
2695
|
+
body: {
|
|
2696
|
+
name: string;
|
|
2697
|
+
tier: "basic" | "pro";
|
|
2698
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
2699
|
+
version_channel?: string | undefined;
|
|
2700
|
+
};
|
|
2701
|
+
path?: undefined;
|
|
2702
|
+
query?: undefined;
|
|
2703
|
+
}>;
|
|
2704
|
+
/**
|
|
2705
|
+
* Successfully created. Returns created Cluster ID.
|
|
2706
|
+
*/
|
|
1904
2707
|
export declare const zCreateClusterResponse: z.ZodString;
|
|
2708
|
+
export declare const zDeleteClusterData: z.ZodObject<{
|
|
2709
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2710
|
+
path: z.ZodObject<{
|
|
2711
|
+
cluster_id: z.ZodString;
|
|
2712
|
+
}, "strip", z.ZodTypeAny, {
|
|
2713
|
+
cluster_id: string;
|
|
2714
|
+
}, {
|
|
2715
|
+
cluster_id: string;
|
|
2716
|
+
}>;
|
|
2717
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2718
|
+
}, "strip", z.ZodTypeAny, {
|
|
2719
|
+
path: {
|
|
2720
|
+
cluster_id: string;
|
|
2721
|
+
};
|
|
2722
|
+
body?: undefined;
|
|
2723
|
+
query?: undefined;
|
|
2724
|
+
}, {
|
|
2725
|
+
path: {
|
|
2726
|
+
cluster_id: string;
|
|
2727
|
+
};
|
|
2728
|
+
body?: undefined;
|
|
2729
|
+
query?: undefined;
|
|
2730
|
+
}>;
|
|
2731
|
+
/**
|
|
2732
|
+
* Successfully deleted.
|
|
2733
|
+
*/
|
|
1905
2734
|
export declare const zDeleteClusterResponse: z.ZodString;
|
|
2735
|
+
export declare const zGetClusterData: z.ZodObject<{
|
|
2736
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2737
|
+
path: z.ZodObject<{
|
|
2738
|
+
cluster_id: z.ZodString;
|
|
2739
|
+
}, "strip", z.ZodTypeAny, {
|
|
2740
|
+
cluster_id: string;
|
|
2741
|
+
}, {
|
|
2742
|
+
cluster_id: string;
|
|
2743
|
+
}>;
|
|
2744
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2745
|
+
}, "strip", z.ZodTypeAny, {
|
|
2746
|
+
path: {
|
|
2747
|
+
cluster_id: string;
|
|
2748
|
+
};
|
|
2749
|
+
body?: undefined;
|
|
2750
|
+
query?: undefined;
|
|
2751
|
+
}, {
|
|
2752
|
+
path: {
|
|
2753
|
+
cluster_id: string;
|
|
2754
|
+
};
|
|
2755
|
+
body?: undefined;
|
|
2756
|
+
query?: undefined;
|
|
2757
|
+
}>;
|
|
2758
|
+
/**
|
|
2759
|
+
* Returns a single object containing cluster details.
|
|
2760
|
+
*/
|
|
1906
2761
|
export declare const zGetClusterResponse: z.ZodObject<{
|
|
1907
2762
|
name: z.ZodString;
|
|
1908
|
-
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1"]>>;
|
|
1909
2763
|
tier: z.ZodEnum<["basic", "pro"]>;
|
|
2764
|
+
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1", "europe-central-1a"]>>;
|
|
1910
2765
|
version_channel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1911
2766
|
id: z.ZodString;
|
|
1912
2767
|
status: z.ZodEnum<["active", "deleted", "creating", "deployed", "failed", "updating"]>;
|
|
@@ -1919,11 +2774,11 @@ export declare const zGetClusterResponse: z.ZodObject<{
|
|
|
1919
2774
|
}, "strip", z.ZodTypeAny, {
|
|
1920
2775
|
name: string;
|
|
1921
2776
|
id: string;
|
|
1922
|
-
status: "
|
|
2777
|
+
status: "deleted" | "failed" | "active" | "creating" | "deployed" | "updating";
|
|
1923
2778
|
version_channel: string;
|
|
1924
2779
|
tier: "basic" | "pro";
|
|
1925
2780
|
ready?: boolean | undefined;
|
|
1926
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2781
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
1927
2782
|
version_current?: string | undefined;
|
|
1928
2783
|
created_at?: string | undefined;
|
|
1929
2784
|
updated_at?: string | undefined;
|
|
@@ -1932,10 +2787,10 @@ export declare const zGetClusterResponse: z.ZodObject<{
|
|
|
1932
2787
|
}, {
|
|
1933
2788
|
name: string;
|
|
1934
2789
|
id: string;
|
|
1935
|
-
status: "
|
|
2790
|
+
status: "deleted" | "failed" | "active" | "creating" | "deployed" | "updating";
|
|
1936
2791
|
tier: "basic" | "pro";
|
|
1937
2792
|
ready?: boolean | undefined;
|
|
1938
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2793
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
1939
2794
|
version_channel?: string | undefined;
|
|
1940
2795
|
version_current?: string | undefined;
|
|
1941
2796
|
created_at?: string | undefined;
|
|
@@ -1943,10 +2798,56 @@ export declare const zGetClusterResponse: z.ZodObject<{
|
|
|
1943
2798
|
endpoint?: string | undefined;
|
|
1944
2799
|
certificate_ca?: string | undefined;
|
|
1945
2800
|
}>;
|
|
2801
|
+
export declare const zUpdateClusterData: z.ZodObject<{
|
|
2802
|
+
body: z.ZodObject<{
|
|
2803
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2804
|
+
tier: z.ZodEnum<["basic", "pro"]>;
|
|
2805
|
+
version_channel: z.ZodOptional<z.ZodString>;
|
|
2806
|
+
}, "strip", z.ZodTypeAny, {
|
|
2807
|
+
tier: "basic" | "pro";
|
|
2808
|
+
name?: string | undefined;
|
|
2809
|
+
version_channel?: string | undefined;
|
|
2810
|
+
}, {
|
|
2811
|
+
tier: "basic" | "pro";
|
|
2812
|
+
name?: string | undefined;
|
|
2813
|
+
version_channel?: string | undefined;
|
|
2814
|
+
}>;
|
|
2815
|
+
path: z.ZodObject<{
|
|
2816
|
+
cluster_id: z.ZodString;
|
|
2817
|
+
}, "strip", z.ZodTypeAny, {
|
|
2818
|
+
cluster_id: string;
|
|
2819
|
+
}, {
|
|
2820
|
+
cluster_id: string;
|
|
2821
|
+
}>;
|
|
2822
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2823
|
+
}, "strip", z.ZodTypeAny, {
|
|
2824
|
+
body: {
|
|
2825
|
+
tier: "basic" | "pro";
|
|
2826
|
+
name?: string | undefined;
|
|
2827
|
+
version_channel?: string | undefined;
|
|
2828
|
+
};
|
|
2829
|
+
path: {
|
|
2830
|
+
cluster_id: string;
|
|
2831
|
+
};
|
|
2832
|
+
query?: undefined;
|
|
2833
|
+
}, {
|
|
2834
|
+
body: {
|
|
2835
|
+
tier: "basic" | "pro";
|
|
2836
|
+
name?: string | undefined;
|
|
2837
|
+
version_channel?: string | undefined;
|
|
2838
|
+
};
|
|
2839
|
+
path: {
|
|
2840
|
+
cluster_id: string;
|
|
2841
|
+
};
|
|
2842
|
+
query?: undefined;
|
|
2843
|
+
}>;
|
|
2844
|
+
/**
|
|
2845
|
+
* Successfully updated. Returns updated cluster details.
|
|
2846
|
+
*/
|
|
1946
2847
|
export declare const zUpdateClusterResponse: z.ZodObject<{
|
|
1947
2848
|
name: z.ZodString;
|
|
1948
|
-
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1"]>>;
|
|
1949
2849
|
tier: z.ZodEnum<["basic", "pro"]>;
|
|
2850
|
+
region: z.ZodOptional<z.ZodEnum<["staging", "northamerica-central-1", "europe-central-1a"]>>;
|
|
1950
2851
|
version_channel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1951
2852
|
id: z.ZodString;
|
|
1952
2853
|
status: z.ZodEnum<["active", "deleted", "creating", "deployed", "failed", "updating"]>;
|
|
@@ -1959,11 +2860,11 @@ export declare const zUpdateClusterResponse: z.ZodObject<{
|
|
|
1959
2860
|
}, "strip", z.ZodTypeAny, {
|
|
1960
2861
|
name: string;
|
|
1961
2862
|
id: string;
|
|
1962
|
-
status: "
|
|
2863
|
+
status: "deleted" | "failed" | "active" | "creating" | "deployed" | "updating";
|
|
1963
2864
|
version_channel: string;
|
|
1964
2865
|
tier: "basic" | "pro";
|
|
1965
2866
|
ready?: boolean | undefined;
|
|
1966
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2867
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
1967
2868
|
version_current?: string | undefined;
|
|
1968
2869
|
created_at?: string | undefined;
|
|
1969
2870
|
updated_at?: string | undefined;
|
|
@@ -1972,10 +2873,10 @@ export declare const zUpdateClusterResponse: z.ZodObject<{
|
|
|
1972
2873
|
}, {
|
|
1973
2874
|
name: string;
|
|
1974
2875
|
id: string;
|
|
1975
|
-
status: "
|
|
2876
|
+
status: "deleted" | "failed" | "active" | "creating" | "deployed" | "updating";
|
|
1976
2877
|
tier: "basic" | "pro";
|
|
1977
2878
|
ready?: boolean | undefined;
|
|
1978
|
-
region?: "staging" | "northamerica-central-1" | undefined;
|
|
2879
|
+
region?: "staging" | "northamerica-central-1" | "europe-central-1a" | undefined;
|
|
1979
2880
|
version_channel?: string | undefined;
|
|
1980
2881
|
version_current?: string | undefined;
|
|
1981
2882
|
created_at?: string | undefined;
|
|
@@ -1983,46 +2884,115 @@ export declare const zUpdateClusterResponse: z.ZodObject<{
|
|
|
1983
2884
|
endpoint?: string | undefined;
|
|
1984
2885
|
certificate_ca?: string | undefined;
|
|
1985
2886
|
}>;
|
|
2887
|
+
export declare const zGetJoinInformationData: z.ZodObject<{
|
|
2888
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2889
|
+
path: z.ZodObject<{
|
|
2890
|
+
cluster_id: z.ZodString;
|
|
2891
|
+
}, "strip", z.ZodTypeAny, {
|
|
2892
|
+
cluster_id: string;
|
|
2893
|
+
}, {
|
|
2894
|
+
cluster_id: string;
|
|
2895
|
+
}>;
|
|
2896
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2897
|
+
}, "strip", z.ZodTypeAny, {
|
|
2898
|
+
path: {
|
|
2899
|
+
cluster_id: string;
|
|
2900
|
+
};
|
|
2901
|
+
body?: undefined;
|
|
2902
|
+
query?: undefined;
|
|
2903
|
+
}, {
|
|
2904
|
+
path: {
|
|
2905
|
+
cluster_id: string;
|
|
2906
|
+
};
|
|
2907
|
+
body?: undefined;
|
|
2908
|
+
query?: undefined;
|
|
2909
|
+
}>;
|
|
2910
|
+
/**
|
|
2911
|
+
* An object of cluster join information
|
|
2912
|
+
*/
|
|
1986
2913
|
export declare const zGetJoinInformationResponse: z.ZodObject<{
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
2914
|
+
certificate_authority: z.ZodString;
|
|
2915
|
+
endpoint: z.ZodString;
|
|
2916
|
+
auth_key: z.ZodString;
|
|
2917
|
+
bootstrap_token: z.ZodString;
|
|
2918
|
+
versions: z.ZodObject<{
|
|
2919
|
+
kubernetes: z.ZodString;
|
|
2920
|
+
tailscale: z.ZodString;
|
|
2921
|
+
containerd: z.ZodString;
|
|
2922
|
+
nvidia_driver: z.ZodString;
|
|
2923
|
+
}, "strip", z.ZodTypeAny, {
|
|
2924
|
+
kubernetes: string;
|
|
2925
|
+
tailscale: string;
|
|
2926
|
+
containerd: string;
|
|
2927
|
+
nvidia_driver: string;
|
|
2928
|
+
}, {
|
|
2929
|
+
kubernetes: string;
|
|
2930
|
+
tailscale: string;
|
|
2931
|
+
containerd: string;
|
|
2932
|
+
nvidia_driver: string;
|
|
2933
|
+
}>;
|
|
2934
|
+
third_party_api_access_config: z.ZodObject<{
|
|
2935
|
+
metadata_url: z.ZodString;
|
|
2936
|
+
aws_role_arn: z.ZodString;
|
|
2937
|
+
gcp_workload_identity_provider: z.ZodString;
|
|
2938
|
+
}, "strip", z.ZodTypeAny, {
|
|
2939
|
+
metadata_url: string;
|
|
2940
|
+
aws_role_arn: string;
|
|
2941
|
+
gcp_workload_identity_provider: string;
|
|
2942
|
+
}, {
|
|
2943
|
+
metadata_url: string;
|
|
2944
|
+
aws_role_arn: string;
|
|
2945
|
+
gcp_workload_identity_provider: string;
|
|
2946
|
+
}>;
|
|
1999
2947
|
}, "strip", z.ZodTypeAny, {
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2948
|
+
certificate_authority: string;
|
|
2949
|
+
endpoint: string;
|
|
2950
|
+
auth_key: string;
|
|
2951
|
+
bootstrap_token: string;
|
|
2952
|
+
versions: {
|
|
2953
|
+
kubernetes: string;
|
|
2954
|
+
tailscale: string;
|
|
2955
|
+
containerd: string;
|
|
2956
|
+
nvidia_driver: string;
|
|
2957
|
+
};
|
|
2958
|
+
third_party_api_access_config: {
|
|
2959
|
+
metadata_url: string;
|
|
2960
|
+
aws_role_arn: string;
|
|
2961
|
+
gcp_workload_identity_provider: string;
|
|
2962
|
+
};
|
|
2012
2963
|
}, {
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2964
|
+
certificate_authority: string;
|
|
2965
|
+
endpoint: string;
|
|
2966
|
+
auth_key: string;
|
|
2967
|
+
bootstrap_token: string;
|
|
2968
|
+
versions: {
|
|
2969
|
+
kubernetes: string;
|
|
2970
|
+
tailscale: string;
|
|
2971
|
+
containerd: string;
|
|
2972
|
+
nvidia_driver: string;
|
|
2973
|
+
};
|
|
2974
|
+
third_party_api_access_config: {
|
|
2975
|
+
metadata_url: string;
|
|
2976
|
+
aws_role_arn: string;
|
|
2977
|
+
gcp_workload_identity_provider: string;
|
|
2978
|
+
};
|
|
2979
|
+
}>;
|
|
2980
|
+
export declare const zListInvitesData: z.ZodObject<{
|
|
2981
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
2982
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
2983
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
2984
|
+
}, "strip", z.ZodTypeAny, {
|
|
2985
|
+
body?: undefined;
|
|
2986
|
+
path?: undefined;
|
|
2987
|
+
query?: undefined;
|
|
2988
|
+
}, {
|
|
2989
|
+
body?: undefined;
|
|
2990
|
+
path?: undefined;
|
|
2991
|
+
query?: undefined;
|
|
2025
2992
|
}>;
|
|
2993
|
+
/**
|
|
2994
|
+
* An array of invites
|
|
2995
|
+
*/
|
|
2026
2996
|
export declare const zListInvitesResponse: z.ZodArray<z.ZodObject<{
|
|
2027
2997
|
id: z.ZodOptional<z.ZodString>;
|
|
2028
2998
|
organization_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2042,6 +3012,32 @@ export declare const zListInvitesResponse: z.ZodArray<z.ZodObject<{
|
|
|
2042
3012
|
email?: string | undefined;
|
|
2043
3013
|
organization_id?: string | undefined;
|
|
2044
3014
|
}>, "many">;
|
|
3015
|
+
export declare const zCreateInviteData: z.ZodObject<{
|
|
3016
|
+
body: z.ZodObject<{
|
|
3017
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3018
|
+
}, "strip", z.ZodTypeAny, {
|
|
3019
|
+
email?: string | undefined;
|
|
3020
|
+
}, {
|
|
3021
|
+
email?: string | undefined;
|
|
3022
|
+
}>;
|
|
3023
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3024
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3025
|
+
}, "strip", z.ZodTypeAny, {
|
|
3026
|
+
body: {
|
|
3027
|
+
email?: string | undefined;
|
|
3028
|
+
};
|
|
3029
|
+
path?: undefined;
|
|
3030
|
+
query?: undefined;
|
|
3031
|
+
}, {
|
|
3032
|
+
body: {
|
|
3033
|
+
email?: string | undefined;
|
|
3034
|
+
};
|
|
3035
|
+
path?: undefined;
|
|
3036
|
+
query?: undefined;
|
|
3037
|
+
}>;
|
|
3038
|
+
/**
|
|
3039
|
+
* Successfully created. Returns created invite details.
|
|
3040
|
+
*/
|
|
2045
3041
|
export declare const zCreateInviteResponse: z.ZodObject<{
|
|
2046
3042
|
id: z.ZodOptional<z.ZodString>;
|
|
2047
3043
|
organization_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2061,6 +3057,32 @@ export declare const zCreateInviteResponse: z.ZodObject<{
|
|
|
2061
3057
|
email?: string | undefined;
|
|
2062
3058
|
organization_id?: string | undefined;
|
|
2063
3059
|
}>;
|
|
3060
|
+
export declare const zGetInviteData: z.ZodObject<{
|
|
3061
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3062
|
+
path: z.ZodObject<{
|
|
3063
|
+
code: z.ZodString;
|
|
3064
|
+
}, "strip", z.ZodTypeAny, {
|
|
3065
|
+
code: string;
|
|
3066
|
+
}, {
|
|
3067
|
+
code: string;
|
|
3068
|
+
}>;
|
|
3069
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3070
|
+
}, "strip", z.ZodTypeAny, {
|
|
3071
|
+
path: {
|
|
3072
|
+
code: string;
|
|
3073
|
+
};
|
|
3074
|
+
body?: undefined;
|
|
3075
|
+
query?: undefined;
|
|
3076
|
+
}, {
|
|
3077
|
+
path: {
|
|
3078
|
+
code: string;
|
|
3079
|
+
};
|
|
3080
|
+
body?: undefined;
|
|
3081
|
+
query?: undefined;
|
|
3082
|
+
}>;
|
|
3083
|
+
/**
|
|
3084
|
+
* Returns a single object containing invite details.
|
|
3085
|
+
*/
|
|
2064
3086
|
export declare const zGetInviteResponse: z.ZodObject<{
|
|
2065
3087
|
id: z.ZodOptional<z.ZodString>;
|
|
2066
3088
|
organization_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2080,6 +3102,45 @@ export declare const zGetInviteResponse: z.ZodObject<{
|
|
|
2080
3102
|
email?: string | undefined;
|
|
2081
3103
|
organization_id?: string | undefined;
|
|
2082
3104
|
}>;
|
|
3105
|
+
export declare const zDeleteInviteData: z.ZodObject<{
|
|
3106
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3107
|
+
path: z.ZodObject<{
|
|
3108
|
+
email: z.ZodString;
|
|
3109
|
+
}, "strip", z.ZodTypeAny, {
|
|
3110
|
+
email: string;
|
|
3111
|
+
}, {
|
|
3112
|
+
email: string;
|
|
3113
|
+
}>;
|
|
3114
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3115
|
+
}, "strip", z.ZodTypeAny, {
|
|
3116
|
+
path: {
|
|
3117
|
+
email: string;
|
|
3118
|
+
};
|
|
3119
|
+
body?: undefined;
|
|
3120
|
+
query?: undefined;
|
|
3121
|
+
}, {
|
|
3122
|
+
path: {
|
|
3123
|
+
email: string;
|
|
3124
|
+
};
|
|
3125
|
+
body?: undefined;
|
|
3126
|
+
query?: undefined;
|
|
3127
|
+
}>;
|
|
3128
|
+
export declare const zListMarketplaceChartsData: z.ZodObject<{
|
|
3129
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3130
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3131
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3132
|
+
}, "strip", z.ZodTypeAny, {
|
|
3133
|
+
body?: undefined;
|
|
3134
|
+
path?: undefined;
|
|
3135
|
+
query?: undefined;
|
|
3136
|
+
}, {
|
|
3137
|
+
body?: undefined;
|
|
3138
|
+
path?: undefined;
|
|
3139
|
+
query?: undefined;
|
|
3140
|
+
}>;
|
|
3141
|
+
/**
|
|
3142
|
+
* An array of chart listings in the marketplace.
|
|
3143
|
+
*/
|
|
2083
3144
|
export declare const zListMarketplaceChartsResponse: z.ZodArray<z.ZodObject<{
|
|
2084
3145
|
id: z.ZodString;
|
|
2085
3146
|
name: z.ZodString;
|
|
@@ -2131,6 +3192,32 @@ export declare const zListMarketplaceChartsResponse: z.ZodArray<z.ZodObject<{
|
|
|
2131
3192
|
placeholder: string;
|
|
2132
3193
|
}[];
|
|
2133
3194
|
}>, "many">;
|
|
3195
|
+
export declare const zGetMarketplaceChartData: z.ZodObject<{
|
|
3196
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3197
|
+
path: z.ZodObject<{
|
|
3198
|
+
listing_id: z.ZodString;
|
|
3199
|
+
}, "strip", z.ZodTypeAny, {
|
|
3200
|
+
listing_id: string;
|
|
3201
|
+
}, {
|
|
3202
|
+
listing_id: string;
|
|
3203
|
+
}>;
|
|
3204
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3205
|
+
}, "strip", z.ZodTypeAny, {
|
|
3206
|
+
path: {
|
|
3207
|
+
listing_id: string;
|
|
3208
|
+
};
|
|
3209
|
+
body?: undefined;
|
|
3210
|
+
query?: undefined;
|
|
3211
|
+
}, {
|
|
3212
|
+
path: {
|
|
3213
|
+
listing_id: string;
|
|
3214
|
+
};
|
|
3215
|
+
body?: undefined;
|
|
3216
|
+
query?: undefined;
|
|
3217
|
+
}>;
|
|
3218
|
+
/**
|
|
3219
|
+
* Returns an object containing the chart listing details.
|
|
3220
|
+
*/
|
|
2134
3221
|
export declare const zGetMarketplaceChartResponse: z.ZodObject<{
|
|
2135
3222
|
id: z.ZodString;
|
|
2136
3223
|
name: z.ZodString;
|
|
@@ -2182,6 +3269,22 @@ export declare const zGetMarketplaceChartResponse: z.ZodObject<{
|
|
|
2182
3269
|
placeholder: string;
|
|
2183
3270
|
}[];
|
|
2184
3271
|
}>;
|
|
3272
|
+
export declare const zGetOrganizationData: z.ZodObject<{
|
|
3273
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3274
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3275
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3276
|
+
}, "strip", z.ZodTypeAny, {
|
|
3277
|
+
body?: undefined;
|
|
3278
|
+
path?: undefined;
|
|
3279
|
+
query?: undefined;
|
|
3280
|
+
}, {
|
|
3281
|
+
body?: undefined;
|
|
3282
|
+
path?: undefined;
|
|
3283
|
+
query?: undefined;
|
|
3284
|
+
}>;
|
|
3285
|
+
/**
|
|
3286
|
+
* Returns a single object containing organization details.
|
|
3287
|
+
*/
|
|
2185
3288
|
export declare const zGetOrganizationResponse: z.ZodObject<{
|
|
2186
3289
|
id: z.ZodString;
|
|
2187
3290
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -2192,7 +3295,6 @@ export declare const zGetOrganizationResponse: z.ZodObject<{
|
|
|
2192
3295
|
pro_clusters_max: z.ZodNumber;
|
|
2193
3296
|
pro_clusters_available: z.ZodNumber;
|
|
2194
3297
|
fleets_max: z.ZodNumber;
|
|
2195
|
-
managed_fleets_cpu_max: z.ZodNumber;
|
|
2196
3298
|
cluster_tiers: z.ZodArray<z.ZodString, "many">;
|
|
2197
3299
|
regions: z.ZodArray<z.ZodString, "many">;
|
|
2198
3300
|
versions: z.ZodArray<z.ZodObject<{
|
|
@@ -2215,7 +3317,6 @@ export declare const zGetOrganizationResponse: z.ZodObject<{
|
|
|
2215
3317
|
pro_clusters_max: number;
|
|
2216
3318
|
pro_clusters_available: number;
|
|
2217
3319
|
fleets_max: number;
|
|
2218
|
-
managed_fleets_cpu_max: number;
|
|
2219
3320
|
cluster_tiers: string[];
|
|
2220
3321
|
regions: string[];
|
|
2221
3322
|
}, {
|
|
@@ -2228,7 +3329,6 @@ export declare const zGetOrganizationResponse: z.ZodObject<{
|
|
|
2228
3329
|
pro_clusters_max: number;
|
|
2229
3330
|
pro_clusters_available: number;
|
|
2230
3331
|
fleets_max: number;
|
|
2231
|
-
managed_fleets_cpu_max: number;
|
|
2232
3332
|
cluster_tiers: string[];
|
|
2233
3333
|
regions: string[];
|
|
2234
3334
|
}>;
|
|
@@ -2247,7 +3347,6 @@ export declare const zGetOrganizationResponse: z.ZodObject<{
|
|
|
2247
3347
|
pro_clusters_max: number;
|
|
2248
3348
|
pro_clusters_available: number;
|
|
2249
3349
|
fleets_max: number;
|
|
2250
|
-
managed_fleets_cpu_max: number;
|
|
2251
3350
|
cluster_tiers: string[];
|
|
2252
3351
|
regions: string[];
|
|
2253
3352
|
};
|
|
@@ -2266,12 +3365,70 @@ export declare const zGetOrganizationResponse: z.ZodObject<{
|
|
|
2266
3365
|
pro_clusters_max: number;
|
|
2267
3366
|
pro_clusters_available: number;
|
|
2268
3367
|
fleets_max: number;
|
|
2269
|
-
managed_fleets_cpu_max: number;
|
|
2270
3368
|
cluster_tiers: string[];
|
|
2271
3369
|
regions: string[];
|
|
2272
3370
|
};
|
|
2273
3371
|
name?: string | undefined;
|
|
2274
3372
|
}>;
|
|
3373
|
+
export declare const zCreateOrganizationData: z.ZodObject<{
|
|
3374
|
+
body: z.ZodObject<{
|
|
3375
|
+
email: z.ZodString;
|
|
3376
|
+
first_name: z.ZodString;
|
|
3377
|
+
last_name: z.ZodString;
|
|
3378
|
+
company_name: z.ZodString;
|
|
3379
|
+
password: z.ZodString;
|
|
3380
|
+
}, "strip", z.ZodTypeAny, {
|
|
3381
|
+
email: string;
|
|
3382
|
+
first_name: string;
|
|
3383
|
+
last_name: string;
|
|
3384
|
+
company_name: string;
|
|
3385
|
+
password: string;
|
|
3386
|
+
}, {
|
|
3387
|
+
email: string;
|
|
3388
|
+
first_name: string;
|
|
3389
|
+
last_name: string;
|
|
3390
|
+
company_name: string;
|
|
3391
|
+
password: string;
|
|
3392
|
+
}>;
|
|
3393
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3394
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3395
|
+
}, "strip", z.ZodTypeAny, {
|
|
3396
|
+
body: {
|
|
3397
|
+
email: string;
|
|
3398
|
+
first_name: string;
|
|
3399
|
+
last_name: string;
|
|
3400
|
+
company_name: string;
|
|
3401
|
+
password: string;
|
|
3402
|
+
};
|
|
3403
|
+
path?: undefined;
|
|
3404
|
+
query?: undefined;
|
|
3405
|
+
}, {
|
|
3406
|
+
body: {
|
|
3407
|
+
email: string;
|
|
3408
|
+
first_name: string;
|
|
3409
|
+
last_name: string;
|
|
3410
|
+
company_name: string;
|
|
3411
|
+
password: string;
|
|
3412
|
+
};
|
|
3413
|
+
path?: undefined;
|
|
3414
|
+
query?: undefined;
|
|
3415
|
+
}>;
|
|
3416
|
+
export declare const zListTokensData: z.ZodObject<{
|
|
3417
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3418
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3419
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3420
|
+
}, "strip", z.ZodTypeAny, {
|
|
3421
|
+
body?: undefined;
|
|
3422
|
+
path?: undefined;
|
|
3423
|
+
query?: undefined;
|
|
3424
|
+
}, {
|
|
3425
|
+
body?: undefined;
|
|
3426
|
+
path?: undefined;
|
|
3427
|
+
query?: undefined;
|
|
3428
|
+
}>;
|
|
3429
|
+
/**
|
|
3430
|
+
* Returns a list of access token details with masked secrets.
|
|
3431
|
+
*/
|
|
2275
3432
|
export declare const zListTokensResponse: z.ZodArray<z.ZodObject<{
|
|
2276
3433
|
name: z.ZodString;
|
|
2277
3434
|
role: z.ZodEnum<["Administrator", "User"]>;
|
|
@@ -2291,6 +3448,37 @@ export declare const zListTokensResponse: z.ZodArray<z.ZodObject<{
|
|
|
2291
3448
|
id?: string | undefined;
|
|
2292
3449
|
secret?: string | undefined;
|
|
2293
3450
|
}>, "many">;
|
|
3451
|
+
export declare const zCreateTokenData: z.ZodObject<{
|
|
3452
|
+
body: z.ZodObject<{
|
|
3453
|
+
name: z.ZodString;
|
|
3454
|
+
role: z.ZodEnum<["Administrator", "User"]>;
|
|
3455
|
+
}, "strip", z.ZodTypeAny, {
|
|
3456
|
+
name: string;
|
|
3457
|
+
role: "Administrator" | "User";
|
|
3458
|
+
}, {
|
|
3459
|
+
name: string;
|
|
3460
|
+
role: "Administrator" | "User";
|
|
3461
|
+
}>;
|
|
3462
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3463
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3464
|
+
}, "strip", z.ZodTypeAny, {
|
|
3465
|
+
body: {
|
|
3466
|
+
name: string;
|
|
3467
|
+
role: "Administrator" | "User";
|
|
3468
|
+
};
|
|
3469
|
+
path?: undefined;
|
|
3470
|
+
query?: undefined;
|
|
3471
|
+
}, {
|
|
3472
|
+
body: {
|
|
3473
|
+
name: string;
|
|
3474
|
+
role: "Administrator" | "User";
|
|
3475
|
+
};
|
|
3476
|
+
path?: undefined;
|
|
3477
|
+
query?: undefined;
|
|
3478
|
+
}>;
|
|
3479
|
+
/**
|
|
3480
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
3481
|
+
*/
|
|
2294
3482
|
export declare const zCreateTokenResponse: z.ZodObject<{
|
|
2295
3483
|
name: z.ZodString;
|
|
2296
3484
|
role: z.ZodEnum<["Administrator", "User"]>;
|
|
@@ -2310,6 +3498,55 @@ export declare const zCreateTokenResponse: z.ZodObject<{
|
|
|
2310
3498
|
id?: string | undefined;
|
|
2311
3499
|
secret?: string | undefined;
|
|
2312
3500
|
}>;
|
|
3501
|
+
export declare const zDeleteTokenData: z.ZodObject<{
|
|
3502
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3503
|
+
path: z.ZodObject<{
|
|
3504
|
+
token_id: z.ZodString;
|
|
3505
|
+
}, "strip", z.ZodTypeAny, {
|
|
3506
|
+
token_id: string;
|
|
3507
|
+
}, {
|
|
3508
|
+
token_id: string;
|
|
3509
|
+
}>;
|
|
3510
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3511
|
+
}, "strip", z.ZodTypeAny, {
|
|
3512
|
+
path: {
|
|
3513
|
+
token_id: string;
|
|
3514
|
+
};
|
|
3515
|
+
body?: undefined;
|
|
3516
|
+
query?: undefined;
|
|
3517
|
+
}, {
|
|
3518
|
+
path: {
|
|
3519
|
+
token_id: string;
|
|
3520
|
+
};
|
|
3521
|
+
body?: undefined;
|
|
3522
|
+
query?: undefined;
|
|
3523
|
+
}>;
|
|
3524
|
+
export declare const zGetTokenData: z.ZodObject<{
|
|
3525
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3526
|
+
path: z.ZodObject<{
|
|
3527
|
+
token_id: z.ZodString;
|
|
3528
|
+
}, "strip", z.ZodTypeAny, {
|
|
3529
|
+
token_id: string;
|
|
3530
|
+
}, {
|
|
3531
|
+
token_id: string;
|
|
3532
|
+
}>;
|
|
3533
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3534
|
+
}, "strip", z.ZodTypeAny, {
|
|
3535
|
+
path: {
|
|
3536
|
+
token_id: string;
|
|
3537
|
+
};
|
|
3538
|
+
body?: undefined;
|
|
3539
|
+
query?: undefined;
|
|
3540
|
+
}, {
|
|
3541
|
+
path: {
|
|
3542
|
+
token_id: string;
|
|
3543
|
+
};
|
|
3544
|
+
body?: undefined;
|
|
3545
|
+
query?: undefined;
|
|
3546
|
+
}>;
|
|
3547
|
+
/**
|
|
3548
|
+
* Returns access token details with masked secret.
|
|
3549
|
+
*/
|
|
2313
3550
|
export declare const zGetTokenResponse: z.ZodObject<{
|
|
2314
3551
|
name: z.ZodString;
|
|
2315
3552
|
role: z.ZodEnum<["Administrator", "User"]>;
|
|
@@ -2329,6 +3566,47 @@ export declare const zGetTokenResponse: z.ZodObject<{
|
|
|
2329
3566
|
id?: string | undefined;
|
|
2330
3567
|
secret?: string | undefined;
|
|
2331
3568
|
}>;
|
|
3569
|
+
export declare const zUpdateTokenData: z.ZodObject<{
|
|
3570
|
+
body: z.ZodObject<{
|
|
3571
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3572
|
+
role: z.ZodOptional<z.ZodEnum<["Administrator", "User"]>>;
|
|
3573
|
+
}, "strip", z.ZodTypeAny, {
|
|
3574
|
+
name?: string | undefined;
|
|
3575
|
+
role?: "Administrator" | "User" | undefined;
|
|
3576
|
+
}, {
|
|
3577
|
+
name?: string | undefined;
|
|
3578
|
+
role?: "Administrator" | "User" | undefined;
|
|
3579
|
+
}>;
|
|
3580
|
+
path: z.ZodObject<{
|
|
3581
|
+
token_id: z.ZodString;
|
|
3582
|
+
}, "strip", z.ZodTypeAny, {
|
|
3583
|
+
token_id: string;
|
|
3584
|
+
}, {
|
|
3585
|
+
token_id: string;
|
|
3586
|
+
}>;
|
|
3587
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3588
|
+
}, "strip", z.ZodTypeAny, {
|
|
3589
|
+
body: {
|
|
3590
|
+
name?: string | undefined;
|
|
3591
|
+
role?: "Administrator" | "User" | undefined;
|
|
3592
|
+
};
|
|
3593
|
+
path: {
|
|
3594
|
+
token_id: string;
|
|
3595
|
+
};
|
|
3596
|
+
query?: undefined;
|
|
3597
|
+
}, {
|
|
3598
|
+
body: {
|
|
3599
|
+
name?: string | undefined;
|
|
3600
|
+
role?: "Administrator" | "User" | undefined;
|
|
3601
|
+
};
|
|
3602
|
+
path: {
|
|
3603
|
+
token_id: string;
|
|
3604
|
+
};
|
|
3605
|
+
query?: undefined;
|
|
3606
|
+
}>;
|
|
3607
|
+
/**
|
|
3608
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
3609
|
+
*/
|
|
2332
3610
|
export declare const zUpdateTokenResponse: z.ZodObject<{
|
|
2333
3611
|
name: z.ZodString;
|
|
2334
3612
|
role: z.ZodEnum<["Administrator", "User"]>;
|
|
@@ -2348,6 +3626,32 @@ export declare const zUpdateTokenResponse: z.ZodObject<{
|
|
|
2348
3626
|
id?: string | undefined;
|
|
2349
3627
|
secret?: string | undefined;
|
|
2350
3628
|
}>;
|
|
3629
|
+
export declare const zRegenerateTokenData: z.ZodObject<{
|
|
3630
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3631
|
+
path: z.ZodObject<{
|
|
3632
|
+
token_id: z.ZodString;
|
|
3633
|
+
}, "strip", z.ZodTypeAny, {
|
|
3634
|
+
token_id: string;
|
|
3635
|
+
}, {
|
|
3636
|
+
token_id: string;
|
|
3637
|
+
}>;
|
|
3638
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3639
|
+
}, "strip", z.ZodTypeAny, {
|
|
3640
|
+
path: {
|
|
3641
|
+
token_id: string;
|
|
3642
|
+
};
|
|
3643
|
+
body?: undefined;
|
|
3644
|
+
query?: undefined;
|
|
3645
|
+
}, {
|
|
3646
|
+
path: {
|
|
3647
|
+
token_id: string;
|
|
3648
|
+
};
|
|
3649
|
+
body?: undefined;
|
|
3650
|
+
query?: undefined;
|
|
3651
|
+
}>;
|
|
3652
|
+
/**
|
|
3653
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
3654
|
+
*/
|
|
2351
3655
|
export declare const zRegenerateTokenResponse: z.ZodObject<{
|
|
2352
3656
|
name: z.ZodString;
|
|
2353
3657
|
role: z.ZodEnum<["Administrator", "User"]>;
|
|
@@ -2367,6 +3671,32 @@ export declare const zRegenerateTokenResponse: z.ZodObject<{
|
|
|
2367
3671
|
id?: string | undefined;
|
|
2368
3672
|
secret?: string | undefined;
|
|
2369
3673
|
}>;
|
|
3674
|
+
export declare const zListUserOrganizationsData: z.ZodObject<{
|
|
3675
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3676
|
+
path: z.ZodObject<{
|
|
3677
|
+
email: z.ZodString;
|
|
3678
|
+
}, "strip", z.ZodTypeAny, {
|
|
3679
|
+
email: string;
|
|
3680
|
+
}, {
|
|
3681
|
+
email: string;
|
|
3682
|
+
}>;
|
|
3683
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3684
|
+
}, "strip", z.ZodTypeAny, {
|
|
3685
|
+
path: {
|
|
3686
|
+
email: string;
|
|
3687
|
+
};
|
|
3688
|
+
body?: undefined;
|
|
3689
|
+
query?: undefined;
|
|
3690
|
+
}, {
|
|
3691
|
+
path: {
|
|
3692
|
+
email: string;
|
|
3693
|
+
};
|
|
3694
|
+
body?: undefined;
|
|
3695
|
+
query?: undefined;
|
|
3696
|
+
}>;
|
|
3697
|
+
/**
|
|
3698
|
+
* An array of organizations the user belongs to.
|
|
3699
|
+
*/
|
|
2370
3700
|
export declare const zListUserOrganizationsResponse: z.ZodArray<z.ZodObject<{
|
|
2371
3701
|
realm: z.ZodOptional<z.ZodString>;
|
|
2372
3702
|
displayName: z.ZodOptional<z.ZodString>;
|
|
@@ -2377,6 +3707,22 @@ export declare const zListUserOrganizationsResponse: z.ZodArray<z.ZodObject<{
|
|
|
2377
3707
|
realm?: string | undefined;
|
|
2378
3708
|
displayName?: string | undefined;
|
|
2379
3709
|
}>, "many">;
|
|
3710
|
+
export declare const zListUsersData: z.ZodObject<{
|
|
3711
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3712
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3713
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3714
|
+
}, "strip", z.ZodTypeAny, {
|
|
3715
|
+
body?: undefined;
|
|
3716
|
+
path?: undefined;
|
|
3717
|
+
query?: undefined;
|
|
3718
|
+
}, {
|
|
3719
|
+
body?: undefined;
|
|
3720
|
+
path?: undefined;
|
|
3721
|
+
query?: undefined;
|
|
3722
|
+
}>;
|
|
3723
|
+
/**
|
|
3724
|
+
* An array of users
|
|
3725
|
+
*/
|
|
2380
3726
|
export declare const zListUsersResponse: z.ZodArray<z.ZodObject<{
|
|
2381
3727
|
email: z.ZodString;
|
|
2382
3728
|
first_name: z.ZodString;
|
|
@@ -2402,6 +3748,62 @@ export declare const zListUsersResponse: z.ZodArray<z.ZodObject<{
|
|
|
2402
3748
|
last_name: string;
|
|
2403
3749
|
date_created: string;
|
|
2404
3750
|
}>, "many">;
|
|
3751
|
+
export declare const zCreateUserData: z.ZodObject<{
|
|
3752
|
+
body: z.ZodObject<{
|
|
3753
|
+
email: z.ZodString;
|
|
3754
|
+
first_name: z.ZodString;
|
|
3755
|
+
last_name: z.ZodString;
|
|
3756
|
+
code: z.ZodString;
|
|
3757
|
+
password: z.ZodString;
|
|
3758
|
+
status: z.ZodOptional<z.ZodEnum<["active", "inactive"]>>;
|
|
3759
|
+
role: z.ZodOptional<z.ZodEnum<["Administrator", "User"]>>;
|
|
3760
|
+
}, "strip", z.ZodTypeAny, {
|
|
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
|
+
code: string;
|
|
3770
|
+
email: string;
|
|
3771
|
+
first_name: string;
|
|
3772
|
+
last_name: string;
|
|
3773
|
+
password: string;
|
|
3774
|
+
role?: "Administrator" | "User" | undefined;
|
|
3775
|
+
status?: "active" | "inactive" | undefined;
|
|
3776
|
+
}>;
|
|
3777
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
3778
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3779
|
+
}, "strip", z.ZodTypeAny, {
|
|
3780
|
+
body: {
|
|
3781
|
+
code: string;
|
|
3782
|
+
email: string;
|
|
3783
|
+
first_name: string;
|
|
3784
|
+
last_name: string;
|
|
3785
|
+
password: string;
|
|
3786
|
+
role?: "Administrator" | "User" | undefined;
|
|
3787
|
+
status?: "active" | "inactive" | undefined;
|
|
3788
|
+
};
|
|
3789
|
+
path?: undefined;
|
|
3790
|
+
query?: undefined;
|
|
3791
|
+
}, {
|
|
3792
|
+
body: {
|
|
3793
|
+
code: string;
|
|
3794
|
+
email: string;
|
|
3795
|
+
first_name: string;
|
|
3796
|
+
last_name: string;
|
|
3797
|
+
password: string;
|
|
3798
|
+
role?: "Administrator" | "User" | undefined;
|
|
3799
|
+
status?: "active" | "inactive" | undefined;
|
|
3800
|
+
};
|
|
3801
|
+
path?: undefined;
|
|
3802
|
+
query?: undefined;
|
|
3803
|
+
}>;
|
|
3804
|
+
/**
|
|
3805
|
+
* Successfully created. Returns created user details.
|
|
3806
|
+
*/
|
|
2405
3807
|
export declare const zCreateUserResponse: z.ZodObject<{
|
|
2406
3808
|
email: z.ZodString;
|
|
2407
3809
|
first_name: z.ZodString;
|
|
@@ -2427,6 +3829,32 @@ export declare const zCreateUserResponse: z.ZodObject<{
|
|
|
2427
3829
|
last_name: string;
|
|
2428
3830
|
date_created: string;
|
|
2429
3831
|
}>;
|
|
3832
|
+
export declare const zDeleteUserData: z.ZodObject<{
|
|
3833
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3834
|
+
path: z.ZodObject<{
|
|
3835
|
+
user_id: z.ZodString;
|
|
3836
|
+
}, "strip", z.ZodTypeAny, {
|
|
3837
|
+
user_id: string;
|
|
3838
|
+
}, {
|
|
3839
|
+
user_id: string;
|
|
3840
|
+
}>;
|
|
3841
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3842
|
+
}, "strip", z.ZodTypeAny, {
|
|
3843
|
+
path: {
|
|
3844
|
+
user_id: string;
|
|
3845
|
+
};
|
|
3846
|
+
body?: undefined;
|
|
3847
|
+
query?: undefined;
|
|
3848
|
+
}, {
|
|
3849
|
+
path: {
|
|
3850
|
+
user_id: string;
|
|
3851
|
+
};
|
|
3852
|
+
body?: undefined;
|
|
3853
|
+
query?: undefined;
|
|
3854
|
+
}>;
|
|
3855
|
+
/**
|
|
3856
|
+
* User profile information
|
|
3857
|
+
*/
|
|
2430
3858
|
export declare const zDeleteUserResponse: z.ZodObject<{
|
|
2431
3859
|
email: z.ZodString;
|
|
2432
3860
|
first_name: z.ZodString;
|
|
@@ -2452,6 +3880,32 @@ export declare const zDeleteUserResponse: z.ZodObject<{
|
|
|
2452
3880
|
last_name: string;
|
|
2453
3881
|
date_created: string;
|
|
2454
3882
|
}>;
|
|
3883
|
+
export declare const zGetUserData: z.ZodObject<{
|
|
3884
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
3885
|
+
path: z.ZodObject<{
|
|
3886
|
+
user_id: z.ZodString;
|
|
3887
|
+
}, "strip", z.ZodTypeAny, {
|
|
3888
|
+
user_id: string;
|
|
3889
|
+
}, {
|
|
3890
|
+
user_id: string;
|
|
3891
|
+
}>;
|
|
3892
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3893
|
+
}, "strip", z.ZodTypeAny, {
|
|
3894
|
+
path: {
|
|
3895
|
+
user_id: string;
|
|
3896
|
+
};
|
|
3897
|
+
body?: undefined;
|
|
3898
|
+
query?: undefined;
|
|
3899
|
+
}, {
|
|
3900
|
+
path: {
|
|
3901
|
+
user_id: string;
|
|
3902
|
+
};
|
|
3903
|
+
body?: undefined;
|
|
3904
|
+
query?: undefined;
|
|
3905
|
+
}>;
|
|
3906
|
+
/**
|
|
3907
|
+
* User profile information
|
|
3908
|
+
*/
|
|
2455
3909
|
export declare const zGetUserResponse: z.ZodObject<{
|
|
2456
3910
|
email: z.ZodString;
|
|
2457
3911
|
first_name: z.ZodString;
|
|
@@ -2477,6 +3931,62 @@ export declare const zGetUserResponse: z.ZodObject<{
|
|
|
2477
3931
|
last_name: string;
|
|
2478
3932
|
date_created: string;
|
|
2479
3933
|
}>;
|
|
3934
|
+
export declare const zUpdateUserData: z.ZodObject<{
|
|
3935
|
+
body: z.ZodObject<{
|
|
3936
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3937
|
+
first_name: z.ZodOptional<z.ZodString>;
|
|
3938
|
+
last_name: z.ZodOptional<z.ZodString>;
|
|
3939
|
+
role: z.ZodOptional<z.ZodEnum<["Administrator", "User"]>>;
|
|
3940
|
+
status: z.ZodOptional<z.ZodEnum<["active", "inactive"]>>;
|
|
3941
|
+
}, "strip", z.ZodTypeAny, {
|
|
3942
|
+
role?: "Administrator" | "User" | undefined;
|
|
3943
|
+
email?: string | undefined;
|
|
3944
|
+
status?: "active" | "inactive" | undefined;
|
|
3945
|
+
first_name?: string | undefined;
|
|
3946
|
+
last_name?: string | undefined;
|
|
3947
|
+
}, {
|
|
3948
|
+
role?: "Administrator" | "User" | undefined;
|
|
3949
|
+
email?: string | undefined;
|
|
3950
|
+
status?: "active" | "inactive" | undefined;
|
|
3951
|
+
first_name?: string | undefined;
|
|
3952
|
+
last_name?: string | undefined;
|
|
3953
|
+
}>;
|
|
3954
|
+
path: z.ZodObject<{
|
|
3955
|
+
user_id: z.ZodString;
|
|
3956
|
+
}, "strip", z.ZodTypeAny, {
|
|
3957
|
+
user_id: string;
|
|
3958
|
+
}, {
|
|
3959
|
+
user_id: string;
|
|
3960
|
+
}>;
|
|
3961
|
+
query: z.ZodOptional<z.ZodNever>;
|
|
3962
|
+
}, "strip", z.ZodTypeAny, {
|
|
3963
|
+
body: {
|
|
3964
|
+
role?: "Administrator" | "User" | undefined;
|
|
3965
|
+
email?: string | undefined;
|
|
3966
|
+
status?: "active" | "inactive" | undefined;
|
|
3967
|
+
first_name?: string | undefined;
|
|
3968
|
+
last_name?: string | undefined;
|
|
3969
|
+
};
|
|
3970
|
+
path: {
|
|
3971
|
+
user_id: string;
|
|
3972
|
+
};
|
|
3973
|
+
query?: undefined;
|
|
3974
|
+
}, {
|
|
3975
|
+
body: {
|
|
3976
|
+
role?: "Administrator" | "User" | undefined;
|
|
3977
|
+
email?: string | undefined;
|
|
3978
|
+
status?: "active" | "inactive" | undefined;
|
|
3979
|
+
first_name?: string | undefined;
|
|
3980
|
+
last_name?: string | undefined;
|
|
3981
|
+
};
|
|
3982
|
+
path: {
|
|
3983
|
+
user_id: string;
|
|
3984
|
+
};
|
|
3985
|
+
query?: undefined;
|
|
3986
|
+
}>;
|
|
3987
|
+
/**
|
|
3988
|
+
* Successfully created. Returns created user details.
|
|
3989
|
+
*/
|
|
2480
3990
|
export declare const zUpdateUserResponse: z.ZodObject<{
|
|
2481
3991
|
email: z.ZodString;
|
|
2482
3992
|
first_name: z.ZodString;
|