@cloudfleet/sdk 0.12.2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -2
- package/dist/@tanstack/react-query.gen.d.ts +394 -384
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -1
- package/dist/@tanstack/react-query.gen.js +419 -409
- package/dist/@tanstack/react-query.gen.js.map +1 -1
- package/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +1 -4
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/types.gen.d.ts +1 -1
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +2 -2
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +3 -3
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/core/params.gen.js +4 -4
- package/dist/core/params.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +312 -37
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +397 -55
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +232 -222
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +334 -324
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +952 -736
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1467 -1281
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +408 -278
- package/dist/zod.gen.js.map +1 -1
- package/package.json +8 -11
package/dist/zod.gen.js
CHANGED
|
@@ -177,11 +177,49 @@ export const zChartUpdateInput = z.object({
|
|
|
177
177
|
values: z.string(),
|
|
178
178
|
version_channel: z.string().regex(/^(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/)
|
|
179
179
|
});
|
|
180
|
+
/**
|
|
181
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
182
|
+
*/
|
|
180
183
|
export const zClusterCreateInput = z.object({
|
|
181
184
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
182
|
-
tier: z.enum([
|
|
185
|
+
tier: z.enum([
|
|
186
|
+
'basic',
|
|
187
|
+
'pro',
|
|
188
|
+
'enterprise'
|
|
189
|
+
]).optional().default('basic'),
|
|
190
|
+
version_channel: z.string().regex(/^(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/).optional().default('1.x.x-cfke.x'),
|
|
191
|
+
release_channel: z.enum([
|
|
192
|
+
'rapid',
|
|
193
|
+
'stable',
|
|
194
|
+
'extended'
|
|
195
|
+
]).optional().default('rapid'),
|
|
196
|
+
features: z.object({
|
|
197
|
+
gpu_sharing_strategy: z.enum([
|
|
198
|
+
'none',
|
|
199
|
+
'mps',
|
|
200
|
+
'time_slicing'
|
|
201
|
+
]).optional().default('none'),
|
|
202
|
+
gpu_max_shared_clients_per_gpu: z.int().gte(2).lte(48).optional().default(4),
|
|
203
|
+
cilium_socket_lb_host_namespace_only: z.boolean().optional()
|
|
204
|
+
}).optional().default({
|
|
205
|
+
gpu_sharing_strategy: 'none',
|
|
206
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
207
|
+
cilium_socket_lb_host_namespace_only: false
|
|
208
|
+
}),
|
|
183
209
|
region: z.string(),
|
|
184
|
-
|
|
210
|
+
networking: z.object({
|
|
211
|
+
pod_cidr: z.string().optional().default('10.244.0.0/16'),
|
|
212
|
+
service_cidr: z.string().optional().default('10.96.0.0/12'),
|
|
213
|
+
dual_stack: z.boolean().optional(),
|
|
214
|
+
pod_cidr_v6: z.string().optional().default('2001:db8:1:2::/48'),
|
|
215
|
+
service_cidr_v6: z.string().optional().default('2001:db8:1:1::/112')
|
|
216
|
+
}).optional().default({
|
|
217
|
+
pod_cidr: '10.244.0.0/16',
|
|
218
|
+
service_cidr: '10.96.0.0/12',
|
|
219
|
+
dual_stack: false,
|
|
220
|
+
pod_cidr_v6: '2001:db8:1:2::/48',
|
|
221
|
+
service_cidr_v6: '2001:db8:1:1::/112'
|
|
222
|
+
})
|
|
185
223
|
});
|
|
186
224
|
export const zClusterJoinInformation = z.object({
|
|
187
225
|
certificate_authority: z.string(),
|
|
@@ -202,19 +240,55 @@ export const zClusterJoinInformation = z.object({
|
|
|
202
240
|
gcp_workload_identity_provider: z.string()
|
|
203
241
|
})
|
|
204
242
|
});
|
|
243
|
+
/**
|
|
244
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
245
|
+
*/
|
|
205
246
|
export const zCluster = z.object({
|
|
206
247
|
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
207
|
-
tier: z.enum([
|
|
248
|
+
tier: z.enum([
|
|
249
|
+
'basic',
|
|
250
|
+
'pro',
|
|
251
|
+
'enterprise'
|
|
252
|
+
]).default('basic'),
|
|
253
|
+
version_channel: z.string().regex(/^(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/).default('1.x.x-cfke.x'),
|
|
254
|
+
release_channel: z.enum([
|
|
255
|
+
'rapid',
|
|
256
|
+
'stable',
|
|
257
|
+
'extended'
|
|
258
|
+
]).default('rapid'),
|
|
259
|
+
features: z.object({
|
|
260
|
+
gpu_sharing_strategy: z.enum([
|
|
261
|
+
'none',
|
|
262
|
+
'mps',
|
|
263
|
+
'time_slicing'
|
|
264
|
+
]).default('none'),
|
|
265
|
+
gpu_max_shared_clients_per_gpu: z.int().gte(2).lte(48).default(4),
|
|
266
|
+
cilium_socket_lb_host_namespace_only: z.boolean()
|
|
267
|
+
}).default({
|
|
268
|
+
gpu_sharing_strategy: 'none',
|
|
269
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
270
|
+
cilium_socket_lb_host_namespace_only: false
|
|
271
|
+
}),
|
|
208
272
|
region: z.string(),
|
|
273
|
+
networking: z.object({
|
|
274
|
+
pod_cidr: z.string().default('10.244.0.0/16'),
|
|
275
|
+
service_cidr: z.string().default('10.96.0.0/12'),
|
|
276
|
+
dual_stack: z.boolean(),
|
|
277
|
+
pod_cidr_v6: z.string().default('2001:db8:1:2::/48'),
|
|
278
|
+
service_cidr_v6: z.string().default('2001:db8:1:1::/112')
|
|
279
|
+
}).default({
|
|
280
|
+
pod_cidr: '10.244.0.0/16',
|
|
281
|
+
service_cidr: '10.96.0.0/12',
|
|
282
|
+
dual_stack: false,
|
|
283
|
+
pod_cidr_v6: '2001:db8:1:2::/48',
|
|
284
|
+
service_cidr_v6: '2001:db8:1:1::/112'
|
|
285
|
+
}),
|
|
209
286
|
id: z.uuid(),
|
|
210
287
|
status: z.enum([
|
|
211
|
-
'active',
|
|
212
|
-
'disabled',
|
|
213
|
-
'deleted',
|
|
214
288
|
'creating',
|
|
215
289
|
'deployed',
|
|
216
|
-
'
|
|
217
|
-
'
|
|
290
|
+
'updating',
|
|
291
|
+
'disabled'
|
|
218
292
|
]),
|
|
219
293
|
endpoint: z.union([
|
|
220
294
|
z.url(),
|
|
@@ -228,14 +302,41 @@ export const zCluster = z.object({
|
|
|
228
302
|
version_current: z.string().optional(),
|
|
229
303
|
created_at: z.string().optional(),
|
|
230
304
|
updated_at: z.string().optional(),
|
|
231
|
-
ready: z.boolean()
|
|
232
|
-
version_channel: z.string().regex(/^(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/).optional()
|
|
305
|
+
ready: z.boolean()
|
|
233
306
|
});
|
|
307
|
+
/**
|
|
308
|
+
* Mutable cluster configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
309
|
+
*/
|
|
234
310
|
export const zClusterUpdateInput = z.object({
|
|
235
|
-
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
236
|
-
tier: z.enum([
|
|
237
|
-
|
|
311
|
+
name: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
312
|
+
tier: z.enum([
|
|
313
|
+
'basic',
|
|
314
|
+
'pro',
|
|
315
|
+
'enterprise'
|
|
316
|
+
]).optional().default('basic'),
|
|
317
|
+
version_channel: z.string().regex(/^(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)\.(x|X|0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/).optional().default('1.x.x-cfke.x'),
|
|
318
|
+
release_channel: z.enum([
|
|
319
|
+
'rapid',
|
|
320
|
+
'stable',
|
|
321
|
+
'extended'
|
|
322
|
+
]).optional().default('rapid'),
|
|
323
|
+
features: z.object({
|
|
324
|
+
gpu_sharing_strategy: z.enum([
|
|
325
|
+
'none',
|
|
326
|
+
'mps',
|
|
327
|
+
'time_slicing'
|
|
328
|
+
]).optional().default('none'),
|
|
329
|
+
gpu_max_shared_clients_per_gpu: z.int().gte(2).lte(48).optional().default(4),
|
|
330
|
+
cilium_socket_lb_host_namespace_only: z.boolean().optional()
|
|
331
|
+
}).optional().default({
|
|
332
|
+
gpu_sharing_strategy: 'none',
|
|
333
|
+
gpu_max_shared_clients_per_gpu: 4,
|
|
334
|
+
cilium_socket_lb_host_namespace_only: false
|
|
335
|
+
})
|
|
238
336
|
});
|
|
337
|
+
/**
|
|
338
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
339
|
+
*/
|
|
239
340
|
export const zFleetCreateInput = z.object({
|
|
240
341
|
limits: z.object({
|
|
241
342
|
cpu: z.int().gte(0).lte(100000).optional()
|
|
@@ -246,7 +347,7 @@ export const zFleetCreateInput = z.object({
|
|
|
246
347
|
}).optional(),
|
|
247
348
|
hetzner: z.object({
|
|
248
349
|
enabled: z.boolean(),
|
|
249
|
-
apiKey: z.string().length(64).regex(/^[A-Za-z0-9]
|
|
350
|
+
apiKey: z.string().length(64).regex(/^([A-Za-z0-9]{64}|\*{64})$/).optional()
|
|
250
351
|
}).optional(),
|
|
251
352
|
aws: z.object({
|
|
252
353
|
enabled: z.boolean(),
|
|
@@ -414,7 +515,7 @@ export const zFleetCreateInput = z.object({
|
|
|
414
515
|
'x8g',
|
|
415
516
|
'z1d',
|
|
416
517
|
'z3'
|
|
417
|
-
])).optional(),
|
|
518
|
+
])).optional().default([]),
|
|
418
519
|
'topology.kubernetes.io/region': z.array(z.enum([
|
|
419
520
|
'africa-south1',
|
|
420
521
|
'ap-northeast-1',
|
|
@@ -480,11 +581,19 @@ export const zFleetCreateInput = z.object({
|
|
|
480
581
|
'us-west2',
|
|
481
582
|
'us-west3',
|
|
482
583
|
'us-west4'
|
|
483
|
-
])).optional()
|
|
484
|
-
}).optional()
|
|
584
|
+
])).optional().default([])
|
|
585
|
+
}).optional().default({
|
|
586
|
+
'karpenter.sh/capacity-type': ['on-demand', 'spot'],
|
|
587
|
+
'kubernetes.io/arch': ['amd64'],
|
|
588
|
+
'cfke.io/instance-family': [],
|
|
589
|
+
'topology.kubernetes.io/region': []
|
|
590
|
+
}),
|
|
485
591
|
scalingProfile: z.enum(['aggressive', 'conservative']).optional().default('conservative'),
|
|
486
592
|
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
487
593
|
});
|
|
594
|
+
/**
|
|
595
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
596
|
+
*/
|
|
488
597
|
export const zFleet = z.object({
|
|
489
598
|
limits: z.object({
|
|
490
599
|
cpu: z.int().gte(0).lte(100000).optional()
|
|
@@ -502,8 +611,8 @@ export const zFleet = z.object({
|
|
|
502
611
|
controllerRoleArn: z.string().regex(/^arn:aws(-[a-z]+)*:iam::\d{12}:role\/[\w+=,.@\/-]+$/).optional()
|
|
503
612
|
}).optional(),
|
|
504
613
|
constraints: z.object({
|
|
505
|
-
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).min(1).
|
|
506
|
-
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).min(1).
|
|
614
|
+
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).min(1).default(['on-demand', 'spot']),
|
|
615
|
+
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).min(1).default(['amd64']),
|
|
507
616
|
'cfke.io/instance-family': z.array(z.enum([
|
|
508
617
|
'a1',
|
|
509
618
|
'a2',
|
|
@@ -663,7 +772,7 @@ export const zFleet = z.object({
|
|
|
663
772
|
'x8g',
|
|
664
773
|
'z1d',
|
|
665
774
|
'z3'
|
|
666
|
-
])).optional(),
|
|
775
|
+
])).optional().default([]),
|
|
667
776
|
'topology.kubernetes.io/region': z.array(z.enum([
|
|
668
777
|
'africa-south1',
|
|
669
778
|
'ap-northeast-1',
|
|
@@ -729,11 +838,23 @@ export const zFleet = z.object({
|
|
|
729
838
|
'us-west2',
|
|
730
839
|
'us-west3',
|
|
731
840
|
'us-west4'
|
|
732
|
-
])).optional()
|
|
733
|
-
}).
|
|
841
|
+
])).optional().default([])
|
|
842
|
+
}).default({
|
|
843
|
+
'karpenter.sh/capacity-type': ['on-demand', 'spot'],
|
|
844
|
+
'kubernetes.io/arch': ['amd64'],
|
|
845
|
+
'cfke.io/instance-family': [],
|
|
846
|
+
'topology.kubernetes.io/region': []
|
|
847
|
+
}),
|
|
734
848
|
scalingProfile: z.enum(['aggressive', 'conservative']).default('conservative'),
|
|
735
|
-
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/)
|
|
849
|
+
id: z.string().min(1).max(63).regex(/^[a-z0-9]([-a-z0-9]*[a-z0-9])?$/),
|
|
850
|
+
ready: z.boolean(),
|
|
851
|
+
status_message: z.string().optional(),
|
|
852
|
+
created_at: z.string(),
|
|
853
|
+
updated_at: z.string()
|
|
736
854
|
});
|
|
855
|
+
/**
|
|
856
|
+
* Mutable fleet configuration. Applied as a full overwrite: any omitted field is reset to its default rather than left unchanged.
|
|
857
|
+
*/
|
|
737
858
|
export const zFleetUpdateInput = z.object({
|
|
738
859
|
limits: z.object({
|
|
739
860
|
cpu: z.int().gte(0).lte(100000).optional()
|
|
@@ -744,15 +865,15 @@ export const zFleetUpdateInput = z.object({
|
|
|
744
865
|
}).optional(),
|
|
745
866
|
hetzner: z.object({
|
|
746
867
|
enabled: z.boolean(),
|
|
747
|
-
apiKey: z.string().length(64).regex(/^[A-Za-z0-9]
|
|
868
|
+
apiKey: z.string().length(64).regex(/^([A-Za-z0-9]{64}|\*{64})$/).optional()
|
|
748
869
|
}).optional(),
|
|
749
870
|
aws: z.object({
|
|
750
871
|
enabled: z.boolean(),
|
|
751
872
|
controllerRoleArn: z.string().regex(/^arn:aws(-[a-z]+)*:iam::\d{12}:role\/[\w+=,.@\/-]+$/).optional()
|
|
752
873
|
}).optional(),
|
|
753
874
|
constraints: z.object({
|
|
754
|
-
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).min(1).optional(),
|
|
755
|
-
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).min(1).optional(),
|
|
875
|
+
'karpenter.sh/capacity-type': z.array(z.enum(['on-demand', 'spot'])).min(1).optional().default(['on-demand', 'spot']),
|
|
876
|
+
'kubernetes.io/arch': z.array(z.enum(['amd64', 'arm64'])).min(1).optional().default(['amd64']),
|
|
756
877
|
'cfke.io/instance-family': z.array(z.enum([
|
|
757
878
|
'a1',
|
|
758
879
|
'a2',
|
|
@@ -912,7 +1033,7 @@ export const zFleetUpdateInput = z.object({
|
|
|
912
1033
|
'x8g',
|
|
913
1034
|
'z1d',
|
|
914
1035
|
'z3'
|
|
915
|
-
])).optional(),
|
|
1036
|
+
])).optional().default([]),
|
|
916
1037
|
'topology.kubernetes.io/region': z.array(z.enum([
|
|
917
1038
|
'africa-south1',
|
|
918
1039
|
'ap-northeast-1',
|
|
@@ -978,9 +1099,14 @@ export const zFleetUpdateInput = z.object({
|
|
|
978
1099
|
'us-west2',
|
|
979
1100
|
'us-west3',
|
|
980
1101
|
'us-west4'
|
|
981
|
-
])).optional()
|
|
982
|
-
}).optional()
|
|
983
|
-
|
|
1102
|
+
])).optional().default([])
|
|
1103
|
+
}).optional().default({
|
|
1104
|
+
'karpenter.sh/capacity-type': ['on-demand', 'spot'],
|
|
1105
|
+
'kubernetes.io/arch': ['amd64'],
|
|
1106
|
+
'cfke.io/instance-family': [],
|
|
1107
|
+
'topology.kubernetes.io/region': []
|
|
1108
|
+
}),
|
|
1109
|
+
scalingProfile: z.enum(['aggressive', 'conservative']).optional().default('conservative')
|
|
984
1110
|
});
|
|
985
1111
|
export const zInviteCreateInput = z.object({
|
|
986
1112
|
email: z.email(),
|
|
@@ -1052,6 +1178,8 @@ export const zOrganization = z.object({
|
|
|
1052
1178
|
basic_clusters_available: z.int(),
|
|
1053
1179
|
pro_clusters_max: z.int().gte(0),
|
|
1054
1180
|
pro_clusters_available: z.int(),
|
|
1181
|
+
enterprise_clusters_max: z.int().gte(0),
|
|
1182
|
+
enterprise_clusters_available: z.int(),
|
|
1055
1183
|
fleets_max: z.int().gte(0),
|
|
1056
1184
|
cluster_tiers: z.array(z.string()).min(0),
|
|
1057
1185
|
regions: z.array(z.string()).min(1),
|
|
@@ -1093,6 +1221,8 @@ export const zPlatformQuota = z.object({
|
|
|
1093
1221
|
basic_clusters_available: z.int(),
|
|
1094
1222
|
pro_clusters_max: z.int().gte(0),
|
|
1095
1223
|
pro_clusters_available: z.int(),
|
|
1224
|
+
enterprise_clusters_max: z.int().gte(0),
|
|
1225
|
+
enterprise_clusters_available: z.int(),
|
|
1096
1226
|
fleets_max: z.int().gte(0),
|
|
1097
1227
|
cluster_tiers: z.array(z.string()).min(0),
|
|
1098
1228
|
regions: z.array(z.string()).min(1),
|
|
@@ -1308,219 +1438,164 @@ export const zUserUpdateInput = z.object({
|
|
|
1308
1438
|
role: z.enum(['Administrator', 'User']).optional(),
|
|
1309
1439
|
status: z.enum(['active', 'inactive']).optional()
|
|
1310
1440
|
});
|
|
1311
|
-
export const
|
|
1312
|
-
|
|
1313
|
-
'hourly',
|
|
1314
|
-
'daily',
|
|
1315
|
-
'monthly'
|
|
1316
|
-
]).optional().default('daily')
|
|
1441
|
+
export const zListUserOrganizationsPath = z.object({
|
|
1442
|
+
email: z.string()
|
|
1317
1443
|
});
|
|
1318
1444
|
/**
|
|
1319
|
-
*
|
|
1445
|
+
* An array of organizations the user belongs to.
|
|
1320
1446
|
*/
|
|
1321
|
-
export const
|
|
1447
|
+
export const zListUserOrganizationsResponse = z.array(z.object({
|
|
1448
|
+
realm: z.string().optional(),
|
|
1449
|
+
displayName: z.string().optional()
|
|
1450
|
+
}));
|
|
1322
1451
|
/**
|
|
1323
|
-
*
|
|
1324
|
-
*
|
|
1452
|
+
* An array of users
|
|
1325
1453
|
*/
|
|
1326
|
-
export const
|
|
1327
|
-
|
|
1328
|
-
});
|
|
1454
|
+
export const zListUsersResponse = z.array(zUser);
|
|
1455
|
+
export const zCreateUserBody = zUserCreateInput;
|
|
1329
1456
|
/**
|
|
1330
|
-
*
|
|
1457
|
+
* Successfully created. Returns created user details.
|
|
1331
1458
|
*/
|
|
1332
|
-
export const
|
|
1333
|
-
export const
|
|
1334
|
-
|
|
1459
|
+
export const zCreateUserResponse = zUser;
|
|
1460
|
+
export const zDeleteUserPath = z.object({
|
|
1461
|
+
user_id: z.string()
|
|
1335
1462
|
});
|
|
1336
1463
|
/**
|
|
1337
|
-
*
|
|
1464
|
+
* User profile information
|
|
1338
1465
|
*/
|
|
1339
|
-
export const
|
|
1340
|
-
export const
|
|
1341
|
-
|
|
1466
|
+
export const zDeleteUserResponse = zUser;
|
|
1467
|
+
export const zGetUserPath = z.object({
|
|
1468
|
+
user_id: z.string()
|
|
1342
1469
|
});
|
|
1343
1470
|
/**
|
|
1344
|
-
*
|
|
1345
|
-
*/
|
|
1346
|
-
export const zDeletePaymentMethodResponse = z.void();
|
|
1347
|
-
/**
|
|
1348
|
-
* An array of usage records.
|
|
1471
|
+
* User profile information
|
|
1349
1472
|
*/
|
|
1350
|
-
export const
|
|
1473
|
+
export const zGetUserResponse = zUser;
|
|
1474
|
+
export const zUpdateUserBody = zUserUpdateInput;
|
|
1475
|
+
export const zUpdateUserPath = z.object({
|
|
1476
|
+
user_id: z.string()
|
|
1477
|
+
});
|
|
1351
1478
|
/**
|
|
1352
|
-
*
|
|
1479
|
+
* Successfully created. Returns created user details.
|
|
1353
1480
|
*/
|
|
1354
|
-
export const
|
|
1355
|
-
export const zUpdateContactBody = zBillingContact;
|
|
1481
|
+
export const zUpdateUserResponse = zUser;
|
|
1356
1482
|
/**
|
|
1357
|
-
*
|
|
1483
|
+
* Returns a list of access token details with masked secrets.
|
|
1358
1484
|
*/
|
|
1359
|
-
export const
|
|
1485
|
+
export const zListTokensResponse = z.array(zToken);
|
|
1486
|
+
export const zCreateTokenBody = zTokenCreateInput;
|
|
1360
1487
|
/**
|
|
1361
|
-
*
|
|
1488
|
+
* Successfully created. Returns created token details with unmasked/raw secret.
|
|
1362
1489
|
*/
|
|
1363
|
-
export const
|
|
1364
|
-
export const
|
|
1365
|
-
|
|
1366
|
-
});
|
|
1367
|
-
export const zListChartsPath = z.object({
|
|
1368
|
-
cluster_id: z.string()
|
|
1490
|
+
export const zCreateTokenResponse = zToken;
|
|
1491
|
+
export const zDeleteTokenPath = z.object({
|
|
1492
|
+
token_id: z.string()
|
|
1369
1493
|
});
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
*/
|
|
1373
|
-
export const zListChartsResponse = z.array(zChart);
|
|
1374
|
-
export const zCreateChartBody = zChartCreateInput;
|
|
1375
|
-
export const zCreateChartPath = z.object({
|
|
1376
|
-
cluster_id: z.string()
|
|
1494
|
+
export const zGetTokenPath = z.object({
|
|
1495
|
+
token_id: z.string()
|
|
1377
1496
|
});
|
|
1378
1497
|
/**
|
|
1379
|
-
*
|
|
1498
|
+
* Returns access token details with masked secret.
|
|
1380
1499
|
*/
|
|
1381
|
-
export const
|
|
1382
|
-
export const
|
|
1383
|
-
|
|
1384
|
-
|
|
1500
|
+
export const zGetTokenResponse = zToken;
|
|
1501
|
+
export const zUpdateTokenBody = zTokenUpdateInput;
|
|
1502
|
+
export const zUpdateTokenPath = z.object({
|
|
1503
|
+
token_id: z.string()
|
|
1385
1504
|
});
|
|
1386
1505
|
/**
|
|
1387
|
-
* Successfully
|
|
1506
|
+
* Successfully updated. Returns updated token details with masked secret.
|
|
1388
1507
|
*/
|
|
1389
|
-
export const
|
|
1390
|
-
export const
|
|
1391
|
-
|
|
1392
|
-
chart_name: z.string()
|
|
1508
|
+
export const zUpdateTokenResponse = zToken;
|
|
1509
|
+
export const zRegenerateTokenPath = z.object({
|
|
1510
|
+
token_id: z.string()
|
|
1393
1511
|
});
|
|
1394
1512
|
/**
|
|
1395
|
-
* Returns
|
|
1513
|
+
* Successfully updated. Returns updated token details with unmasked / raw secret.
|
|
1396
1514
|
*/
|
|
1397
|
-
export const
|
|
1398
|
-
export const zUpdateChartBody = zChartUpdateInput;
|
|
1399
|
-
export const zUpdateChartPath = z.object({
|
|
1400
|
-
cluster_id: z.string(),
|
|
1401
|
-
chart_name: z.string()
|
|
1402
|
-
});
|
|
1515
|
+
export const zRegenerateTokenResponse = zToken;
|
|
1403
1516
|
/**
|
|
1404
|
-
*
|
|
1517
|
+
* Tickets for the organization.
|
|
1405
1518
|
*/
|
|
1406
|
-
export const
|
|
1407
|
-
export const
|
|
1408
|
-
|
|
1519
|
+
export const zListTicketsResponse = zTicketListResponse;
|
|
1520
|
+
export const zCreateTicketBody = z.object({
|
|
1521
|
+
payload: z.string().optional(),
|
|
1522
|
+
attachments: z.array(z.string()).optional()
|
|
1409
1523
|
});
|
|
1410
1524
|
/**
|
|
1411
|
-
*
|
|
1525
|
+
* Ticket created.
|
|
1412
1526
|
*/
|
|
1413
|
-
export const
|
|
1414
|
-
export const
|
|
1415
|
-
|
|
1416
|
-
cluster_id: z.string()
|
|
1527
|
+
export const zCreateTicketResponse = zTicket;
|
|
1528
|
+
export const zCloseTicketPath = z.object({
|
|
1529
|
+
ticket_id: z.string()
|
|
1417
1530
|
});
|
|
1418
1531
|
/**
|
|
1419
|
-
*
|
|
1532
|
+
* Ticket closed.
|
|
1420
1533
|
*/
|
|
1421
|
-
export const
|
|
1422
|
-
export const
|
|
1423
|
-
|
|
1424
|
-
fleet_name: z.string()
|
|
1534
|
+
export const zCloseTicketResponse = zTicket;
|
|
1535
|
+
export const zGetTicketPath = z.object({
|
|
1536
|
+
ticket_id: z.string()
|
|
1425
1537
|
});
|
|
1426
1538
|
/**
|
|
1427
|
-
*
|
|
1539
|
+
* Ticket with messages (internal notes excluded).
|
|
1428
1540
|
*/
|
|
1429
|
-
export const
|
|
1430
|
-
export const
|
|
1431
|
-
|
|
1432
|
-
|
|
1541
|
+
export const zGetTicketResponse = zTicket;
|
|
1542
|
+
export const zReplyTicketBody = z.object({
|
|
1543
|
+
payload: z.string().optional(),
|
|
1544
|
+
attachments: z.array(z.string()).optional()
|
|
1433
1545
|
});
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
*/
|
|
1437
|
-
export const zGetFleetResponse = zFleet;
|
|
1438
|
-
export const zUpdateFleetBody = zFleetUpdateInput;
|
|
1439
|
-
export const zUpdateFleetPath = z.object({
|
|
1440
|
-
cluster_id: z.string(),
|
|
1441
|
-
fleet_name: z.string()
|
|
1546
|
+
export const zReplyTicketPath = z.object({
|
|
1547
|
+
ticket_id: z.string()
|
|
1442
1548
|
});
|
|
1443
1549
|
/**
|
|
1444
|
-
*
|
|
1550
|
+
* Reply appended.
|
|
1445
1551
|
*/
|
|
1446
|
-
export const
|
|
1447
|
-
export const
|
|
1448
|
-
|
|
1552
|
+
export const zReplyTicketResponse = zTicketMessage;
|
|
1553
|
+
export const zGetTicketAttachmentPath = z.object({
|
|
1554
|
+
ticket_id: z.string(),
|
|
1555
|
+
attachment_id: z.string()
|
|
1449
1556
|
});
|
|
1450
1557
|
/**
|
|
1451
|
-
*
|
|
1558
|
+
* Attachment binary stream.
|
|
1452
1559
|
*/
|
|
1453
|
-
export const
|
|
1454
|
-
export const zCreateClusterBody = zClusterCreateInput;
|
|
1560
|
+
export const zGetTicketAttachmentResponse = z.string();
|
|
1455
1561
|
/**
|
|
1456
|
-
*
|
|
1562
|
+
* List of repositories
|
|
1457
1563
|
*/
|
|
1458
|
-
export const
|
|
1459
|
-
export const
|
|
1460
|
-
|
|
1564
|
+
export const zListRepositoriesResponse = z.array(zRegistryRepository);
|
|
1565
|
+
export const zListTagsPath = z.object({
|
|
1566
|
+
region: z.string(),
|
|
1567
|
+
repository: z.string()
|
|
1461
1568
|
});
|
|
1462
1569
|
/**
|
|
1463
|
-
*
|
|
1570
|
+
* Repository with tags
|
|
1464
1571
|
*/
|
|
1465
|
-
export const
|
|
1466
|
-
export const
|
|
1467
|
-
|
|
1572
|
+
export const zListTagsResponse = zRegistryRepositoryWithTags;
|
|
1573
|
+
export const zDeleteTagPath = z.object({
|
|
1574
|
+
region: z.string(),
|
|
1575
|
+
repository: z.string(),
|
|
1576
|
+
tag: z.string()
|
|
1468
1577
|
});
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
export const zUpdateClusterBody = zClusterUpdateInput;
|
|
1474
|
-
export const zUpdateClusterPath = z.object({
|
|
1475
|
-
cluster_id: z.string()
|
|
1578
|
+
export const zGetTagPath = z.object({
|
|
1579
|
+
region: z.string(),
|
|
1580
|
+
repository: z.string(),
|
|
1581
|
+
tag: z.string()
|
|
1476
1582
|
});
|
|
1477
1583
|
/**
|
|
1478
|
-
*
|
|
1584
|
+
* Tag details
|
|
1479
1585
|
*/
|
|
1480
|
-
export const
|
|
1481
|
-
export const zGetJoinInformationPath = z.object({
|
|
1482
|
-
cluster_id: z.string()
|
|
1483
|
-
});
|
|
1586
|
+
export const zGetTagResponse = zRegistryTag;
|
|
1484
1587
|
/**
|
|
1485
|
-
*
|
|
1588
|
+
* Returns a single object containing organization details.
|
|
1486
1589
|
*/
|
|
1487
|
-
export const
|
|
1590
|
+
export const zGetOrganizationResponse = zOrganization;
|
|
1591
|
+
export const zCreateOrganizationBody = zOrganizationCreateInput;
|
|
1488
1592
|
/**
|
|
1489
|
-
*
|
|
1593
|
+
* Organization signup accepted. Returns the generated organization id immediately; provisioning (billing, Keycloak realm, user) continues asynchronously in the background.
|
|
1594
|
+
*
|
|
1490
1595
|
*/
|
|
1491
|
-
export const
|
|
1492
|
-
export const zCreateInviteBody = zInviteCreateInput;
|
|
1596
|
+
export const zCreateOrganizationResponse = zOrganizationCreateOutput;
|
|
1493
1597
|
/**
|
|
1494
|
-
*
|
|
1495
|
-
*/
|
|
1496
|
-
export const zCreateInviteResponse = zInvite;
|
|
1497
|
-
export const zGetInvitePath = z.object({
|
|
1498
|
-
code: z.string()
|
|
1499
|
-
});
|
|
1500
|
-
/**
|
|
1501
|
-
* The invitation code is valid. Returns the invited email and organization.
|
|
1502
|
-
*/
|
|
1503
|
-
export const zGetInviteResponse = z.object({
|
|
1504
|
-
email: z.email().optional(),
|
|
1505
|
-
organization_id: z.string().optional()
|
|
1506
|
-
});
|
|
1507
|
-
export const zDeleteInvitePath = z.object({
|
|
1508
|
-
email: z.email()
|
|
1509
|
-
});
|
|
1510
|
-
/**
|
|
1511
|
-
* An array of chart listings in the marketplace.
|
|
1512
|
-
*/
|
|
1513
|
-
export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
|
|
1514
|
-
export const zGetMarketplaceChartFilesPath = z.object({
|
|
1515
|
-
chart_name: z.string(),
|
|
1516
|
-
version_channel: z.string()
|
|
1517
|
-
});
|
|
1518
|
-
/**
|
|
1519
|
-
* Returns an object containing the chart files for the latest matching version.
|
|
1520
|
-
*/
|
|
1521
|
-
export const zGetMarketplaceChartFilesResponse = zMarketplaceListingFiles;
|
|
1522
|
-
/**
|
|
1523
|
-
* JSON-RPC 2.0 request payload
|
|
1598
|
+
* JSON-RPC 2.0 request payload
|
|
1524
1599
|
*/
|
|
1525
1600
|
export const zPostMcpBody = z.object({
|
|
1526
1601
|
jsonrpc: z.string().optional(),
|
|
@@ -1547,159 +1622,214 @@ export const zPostMcpResponse = z.object({
|
|
|
1547
1622
|
}).optional()
|
|
1548
1623
|
});
|
|
1549
1624
|
/**
|
|
1550
|
-
*
|
|
1625
|
+
* An array of chart listings in the marketplace.
|
|
1551
1626
|
*/
|
|
1552
|
-
export const
|
|
1553
|
-
export const
|
|
1627
|
+
export const zListMarketplaceChartsResponse = z.array(zMarketplaceListing);
|
|
1628
|
+
export const zGetMarketplaceChartFilesPath = z.object({
|
|
1629
|
+
chart_name: z.string(),
|
|
1630
|
+
version_channel: z.string()
|
|
1631
|
+
});
|
|
1554
1632
|
/**
|
|
1555
|
-
*
|
|
1556
|
-
*
|
|
1633
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1557
1634
|
*/
|
|
1558
|
-
export const
|
|
1635
|
+
export const zGetMarketplaceChartFilesResponse = zMarketplaceListingFiles;
|
|
1559
1636
|
/**
|
|
1560
|
-
*
|
|
1637
|
+
* An array of invites
|
|
1561
1638
|
*/
|
|
1562
|
-
export const
|
|
1563
|
-
export const
|
|
1564
|
-
|
|
1565
|
-
|
|
1639
|
+
export const zListInvitesResponse = z.array(zInvite);
|
|
1640
|
+
export const zCreateInviteBody = zInviteCreateInput;
|
|
1641
|
+
/**
|
|
1642
|
+
* Successfully created. Returns created invite details.
|
|
1643
|
+
*/
|
|
1644
|
+
export const zCreateInviteResponse = zInvite;
|
|
1645
|
+
export const zGetInvitePath = z.object({
|
|
1646
|
+
code: z.string()
|
|
1566
1647
|
});
|
|
1567
1648
|
/**
|
|
1568
|
-
*
|
|
1649
|
+
* The invitation code is valid. Returns the invited email and organization.
|
|
1569
1650
|
*/
|
|
1570
|
-
export const
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
repository: z.string(),
|
|
1574
|
-
tag: z.string()
|
|
1651
|
+
export const zGetInviteResponse = z.object({
|
|
1652
|
+
email: z.email().optional(),
|
|
1653
|
+
organization_id: z.string().optional()
|
|
1575
1654
|
});
|
|
1576
|
-
export const
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1655
|
+
export const zDeleteInvitePath = z.object({
|
|
1656
|
+
email: z.email()
|
|
1657
|
+
});
|
|
1658
|
+
export const zQueryClusterPath = z.object({
|
|
1659
|
+
cluster_id: z.string()
|
|
1660
|
+
});
|
|
1661
|
+
export const zListFleetsPath = z.object({
|
|
1662
|
+
cluster_id: z.string()
|
|
1580
1663
|
});
|
|
1581
1664
|
/**
|
|
1582
|
-
*
|
|
1665
|
+
* An array of fleets
|
|
1583
1666
|
*/
|
|
1584
|
-
export const
|
|
1667
|
+
export const zListFleetsResponse = z.array(zFleet);
|
|
1668
|
+
export const zCreateFleetBody = zFleetCreateInput;
|
|
1669
|
+
export const zCreateFleetPath = z.object({
|
|
1670
|
+
cluster_id: z.string()
|
|
1671
|
+
});
|
|
1585
1672
|
/**
|
|
1586
|
-
*
|
|
1673
|
+
* Successfully created. Returns created Fleet ID.
|
|
1587
1674
|
*/
|
|
1588
|
-
export const
|
|
1589
|
-
export const
|
|
1590
|
-
|
|
1591
|
-
|
|
1675
|
+
export const zCreateFleetResponse = z.string();
|
|
1676
|
+
export const zDeleteFleetPath = z.object({
|
|
1677
|
+
cluster_id: z.string(),
|
|
1678
|
+
fleet_name: z.string()
|
|
1592
1679
|
});
|
|
1593
1680
|
/**
|
|
1594
|
-
*
|
|
1681
|
+
* Successfully deleted.
|
|
1595
1682
|
*/
|
|
1596
|
-
export const
|
|
1597
|
-
export const
|
|
1598
|
-
|
|
1683
|
+
export const zDeleteFleetResponse = z.string();
|
|
1684
|
+
export const zGetFleetPath = z.object({
|
|
1685
|
+
cluster_id: z.string(),
|
|
1686
|
+
fleet_name: z.string()
|
|
1599
1687
|
});
|
|
1600
1688
|
/**
|
|
1601
|
-
*
|
|
1689
|
+
* Returns a single object containing fleet details.
|
|
1602
1690
|
*/
|
|
1603
|
-
export const
|
|
1604
|
-
export const
|
|
1605
|
-
|
|
1691
|
+
export const zGetFleetResponse = zFleet;
|
|
1692
|
+
export const zUpdateFleetBody = zFleetUpdateInput;
|
|
1693
|
+
export const zUpdateFleetPath = z.object({
|
|
1694
|
+
cluster_id: z.string(),
|
|
1695
|
+
fleet_name: z.string()
|
|
1606
1696
|
});
|
|
1607
1697
|
/**
|
|
1608
|
-
*
|
|
1698
|
+
* Successfully updated.
|
|
1609
1699
|
*/
|
|
1610
|
-
export const
|
|
1611
|
-
export const
|
|
1612
|
-
|
|
1613
|
-
attachments: z.array(z.string()).optional()
|
|
1614
|
-
});
|
|
1615
|
-
export const zReplyTicketPath = z.object({
|
|
1616
|
-
ticket_id: z.string()
|
|
1700
|
+
export const zUpdateFleetResponse = z.string();
|
|
1701
|
+
export const zListChartsPath = z.object({
|
|
1702
|
+
cluster_id: z.string()
|
|
1617
1703
|
});
|
|
1618
1704
|
/**
|
|
1619
|
-
*
|
|
1705
|
+
* An array of charts
|
|
1620
1706
|
*/
|
|
1621
|
-
export const
|
|
1622
|
-
export const
|
|
1623
|
-
|
|
1624
|
-
|
|
1707
|
+
export const zListChartsResponse = z.array(zChart);
|
|
1708
|
+
export const zCreateChartBody = zChartCreateInput;
|
|
1709
|
+
export const zCreateChartPath = z.object({
|
|
1710
|
+
cluster_id: z.string()
|
|
1625
1711
|
});
|
|
1626
1712
|
/**
|
|
1627
|
-
*
|
|
1713
|
+
* Successfully created. Returns created Chart ID.
|
|
1628
1714
|
*/
|
|
1629
|
-
export const
|
|
1715
|
+
export const zCreateChartResponse = z.string();
|
|
1716
|
+
export const zDeleteChartPath = z.object({
|
|
1717
|
+
cluster_id: z.string(),
|
|
1718
|
+
chart_name: z.string()
|
|
1719
|
+
});
|
|
1630
1720
|
/**
|
|
1631
|
-
*
|
|
1721
|
+
* Successfully deleted.
|
|
1632
1722
|
*/
|
|
1633
|
-
export const
|
|
1634
|
-
export const
|
|
1723
|
+
export const zDeleteChartResponse = z.string();
|
|
1724
|
+
export const zGetChartPath = z.object({
|
|
1725
|
+
cluster_id: z.string(),
|
|
1726
|
+
chart_name: z.string()
|
|
1727
|
+
});
|
|
1635
1728
|
/**
|
|
1636
|
-
*
|
|
1729
|
+
* Returns a single object containing chart details.
|
|
1637
1730
|
*/
|
|
1638
|
-
export const
|
|
1639
|
-
export const
|
|
1640
|
-
|
|
1731
|
+
export const zGetChartResponse = zChart;
|
|
1732
|
+
export const zUpdateChartBody = zChartUpdateInput;
|
|
1733
|
+
export const zUpdateChartPath = z.object({
|
|
1734
|
+
cluster_id: z.string(),
|
|
1735
|
+
chart_name: z.string()
|
|
1641
1736
|
});
|
|
1642
|
-
|
|
1643
|
-
|
|
1737
|
+
/**
|
|
1738
|
+
* Successfully updated.
|
|
1739
|
+
*/
|
|
1740
|
+
export const zUpdateChartResponse = z.string();
|
|
1741
|
+
/**
|
|
1742
|
+
* An array of clusters
|
|
1743
|
+
*/
|
|
1744
|
+
export const zListClustersResponse = z.array(zCluster);
|
|
1745
|
+
export const zCreateClusterBody = zClusterCreateInput;
|
|
1746
|
+
/**
|
|
1747
|
+
* Successfully created. Returns created Cluster ID.
|
|
1748
|
+
*/
|
|
1749
|
+
export const zCreateClusterResponse = z.string();
|
|
1750
|
+
export const zDeleteClusterPath = z.object({
|
|
1751
|
+
cluster_id: z.string()
|
|
1644
1752
|
});
|
|
1645
1753
|
/**
|
|
1646
|
-
*
|
|
1754
|
+
* Successfully deleted. The cluster has been torn down.
|
|
1647
1755
|
*/
|
|
1648
|
-
export const
|
|
1649
|
-
export const
|
|
1650
|
-
|
|
1651
|
-
token_id: z.string()
|
|
1756
|
+
export const zDeleteClusterResponse = z.string();
|
|
1757
|
+
export const zGetClusterPath = z.object({
|
|
1758
|
+
cluster_id: z.string()
|
|
1652
1759
|
});
|
|
1653
1760
|
/**
|
|
1654
|
-
*
|
|
1761
|
+
* Returns a single object containing cluster details.
|
|
1655
1762
|
*/
|
|
1656
|
-
export const
|
|
1657
|
-
export const
|
|
1658
|
-
|
|
1763
|
+
export const zGetClusterResponse = zCluster;
|
|
1764
|
+
export const zUpdateClusterBody = zClusterUpdateInput;
|
|
1765
|
+
export const zUpdateClusterPath = z.object({
|
|
1766
|
+
cluster_id: z.string()
|
|
1659
1767
|
});
|
|
1660
1768
|
/**
|
|
1661
|
-
* Successfully updated. Returns updated
|
|
1769
|
+
* Successfully updated. Returns updated cluster details.
|
|
1662
1770
|
*/
|
|
1663
|
-
export const
|
|
1664
|
-
export const
|
|
1665
|
-
|
|
1771
|
+
export const zUpdateClusterResponse = zCluster;
|
|
1772
|
+
export const zGetJoinInformationPath = z.object({
|
|
1773
|
+
cluster_id: z.string()
|
|
1666
1774
|
});
|
|
1667
1775
|
/**
|
|
1668
|
-
* An
|
|
1776
|
+
* An object of cluster join information
|
|
1669
1777
|
*/
|
|
1670
|
-
export const
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1778
|
+
export const zGetJoinInformationResponse = zClusterJoinInformation;
|
|
1779
|
+
export const zGetUsageQuery = z.object({
|
|
1780
|
+
granularity: z.enum([
|
|
1781
|
+
'hourly',
|
|
1782
|
+
'daily',
|
|
1783
|
+
'monthly'
|
|
1784
|
+
]).optional().default('daily')
|
|
1785
|
+
});
|
|
1674
1786
|
/**
|
|
1675
|
-
*
|
|
1787
|
+
* Usage data with facets for filtering
|
|
1676
1788
|
*/
|
|
1677
|
-
export const
|
|
1678
|
-
export const zCreateUserBody = zUserCreateInput;
|
|
1789
|
+
export const zGetUsageResponse = zUsageResponse;
|
|
1679
1790
|
/**
|
|
1680
|
-
*
|
|
1791
|
+
* 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.
|
|
1792
|
+
*
|
|
1681
1793
|
*/
|
|
1682
|
-
export const
|
|
1683
|
-
|
|
1684
|
-
user_id: z.string()
|
|
1794
|
+
export const zGetPaymentMethodSecretResponse = z.object({
|
|
1795
|
+
id: z.string().optional()
|
|
1685
1796
|
});
|
|
1686
1797
|
/**
|
|
1687
|
-
*
|
|
1798
|
+
* An array of payment methods.
|
|
1688
1799
|
*/
|
|
1689
|
-
export const
|
|
1690
|
-
export const
|
|
1691
|
-
|
|
1800
|
+
export const zListPaymentMethodsResponse = z.array(zPaymentMethod);
|
|
1801
|
+
export const zSetDefaultPaymentMethodPath = z.object({
|
|
1802
|
+
paymentMethodId: z.string()
|
|
1692
1803
|
});
|
|
1693
1804
|
/**
|
|
1694
|
-
*
|
|
1805
|
+
* Default payment method updated.
|
|
1695
1806
|
*/
|
|
1696
|
-
export const
|
|
1697
|
-
export const
|
|
1698
|
-
|
|
1699
|
-
user_id: z.string()
|
|
1807
|
+
export const zSetDefaultPaymentMethodResponse = z.void();
|
|
1808
|
+
export const zDeletePaymentMethodPath = z.object({
|
|
1809
|
+
paymentMethodId: z.string()
|
|
1700
1810
|
});
|
|
1701
1811
|
/**
|
|
1702
|
-
*
|
|
1812
|
+
* Payment method deleted.
|
|
1703
1813
|
*/
|
|
1704
|
-
export const
|
|
1814
|
+
export const zDeletePaymentMethodResponse = z.void();
|
|
1815
|
+
/**
|
|
1816
|
+
* An array of usage records.
|
|
1817
|
+
*/
|
|
1818
|
+
export const zListInvoicesResponse = z.array(zInvoice);
|
|
1819
|
+
/**
|
|
1820
|
+
* Returns a single object containing organization contact and billing address details.
|
|
1821
|
+
*/
|
|
1822
|
+
export const zGetContactResponse = zBillingContact;
|
|
1823
|
+
export const zUpdateContactBody = zBillingContact;
|
|
1824
|
+
/**
|
|
1825
|
+
* Successfully updated. Returns updated organization details.
|
|
1826
|
+
*/
|
|
1827
|
+
export const zUpdateContactResponse = zBillingContact;
|
|
1828
|
+
/**
|
|
1829
|
+
* An array of the applied promotional credits records.
|
|
1830
|
+
*/
|
|
1831
|
+
export const zGetCreditsResponse = z.array(zBillingCredits);
|
|
1832
|
+
export const zRedeemCreditsBody = z.object({
|
|
1833
|
+
code: z.string().optional()
|
|
1834
|
+
});
|
|
1705
1835
|
//# sourceMappingURL=zod.gen.js.map
|