@cloudfleet/sdk 0.0.1-fd8cadf → 0.0.1-ff9267b
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/@tanstack/react-query.gen.d.ts +1125 -0
- package/dist/@tanstack/react-query.gen.d.ts.map +1 -0
- package/dist/@tanstack/react-query.gen.js +1129 -0
- package/dist/@tanstack/react-query.gen.js.map +1 -0
- package/dist/client/client.gen.d.ts.map +1 -1
- package/dist/client/client.gen.js +113 -98
- package/dist/client/client.gen.js.map +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/types.gen.d.ts +9 -13
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.d.ts +6 -2
- package/dist/client/utils.gen.d.ts.map +1 -1
- package/dist/client/utils.gen.js +10 -12
- package/dist/client/utils.gen.js.map +1 -1
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +1 -3
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.gen.d.ts.map +1 -1
- package/dist/core/auth.gen.js.map +1 -1
- package/dist/core/bodySerializer.gen.d.ts +16 -8
- package/dist/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/core/bodySerializer.gen.js +1 -1
- package/dist/core/bodySerializer.gen.js.map +1 -1
- package/dist/core/params.gen.d.ts +10 -0
- package/dist/core/params.gen.d.ts.map +1 -1
- package/dist/core/params.gen.js +18 -6
- package/dist/core/params.gen.js.map +1 -1
- package/dist/core/pathSerializer.gen.d.ts.map +1 -1
- package/dist/core/pathSerializer.gen.js +3 -11
- package/dist/core/pathSerializer.gen.js.map +1 -1
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -1
- package/dist/core/queryKeySerializer.gen.js +4 -11
- package/dist/core/queryKeySerializer.gen.js.map +1 -1
- package/dist/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/core/serverSentEvents.gen.js +6 -9
- package/dist/core/serverSentEvents.gen.js.map +1 -1
- package/dist/core/types.gen.d.ts +1 -1
- package/dist/core/types.gen.d.ts.map +1 -1
- package/dist/core/utils.gen.d.ts.map +1 -1
- package/dist/core/utils.gen.js +1 -1
- package/dist/core/utils.gen.js.map +1 -1
- package/dist/schemas.gen.d.ts +704 -65
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +2036 -153
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +45 -5
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +105 -141
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +8 -8
- package/dist/types.gen.d.ts +530 -48
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +2429 -604
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +1113 -502
- package/dist/zod.gen.js.map +1 -1
- package/package.json +28 -5
package/dist/types.gen.d.ts
CHANGED
|
@@ -169,13 +169,13 @@ export type ClusterCreateInput = {
|
|
|
169
169
|
*/
|
|
170
170
|
tier: 'basic' | 'pro';
|
|
171
171
|
/**
|
|
172
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
172
|
+
* Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
173
173
|
*/
|
|
174
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
174
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
175
175
|
/**
|
|
176
176
|
* Version of the kubernetes cluster.
|
|
177
177
|
*/
|
|
178
|
-
version_channel?:
|
|
178
|
+
version_channel?: '1.x.x-cfke.x' | '1.31.x-cfke.x' | '1.32.x-cfke.x' | '1.33.x-cfke.x';
|
|
179
179
|
};
|
|
180
180
|
export type ClusterJoinInformation = {
|
|
181
181
|
/**
|
|
@@ -186,6 +186,10 @@ export type ClusterJoinInformation = {
|
|
|
186
186
|
* Internal URL of the Kubernetes cluster control plane. This is the endpoint that kubelet uses to connect to the cluster.
|
|
187
187
|
*/
|
|
188
188
|
endpoint: string;
|
|
189
|
+
/**
|
|
190
|
+
* Cluster DNS IP address. This is the IP address of the kube-dns service in the cluster.
|
|
191
|
+
*/
|
|
192
|
+
cluster_dns: string;
|
|
189
193
|
/**
|
|
190
194
|
* Authentication key for the cluster.
|
|
191
195
|
*/
|
|
@@ -243,13 +247,9 @@ export type Cluster = {
|
|
|
243
247
|
*/
|
|
244
248
|
tier: 'basic' | 'pro';
|
|
245
249
|
/**
|
|
246
|
-
* Cloudfleet control plane region. One of "staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
250
|
+
* Cloudfleet control plane region. One of "staging-1a", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a". This field can not be updated after creation.
|
|
247
251
|
*/
|
|
248
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
249
|
-
/**
|
|
250
|
-
* Version of the kubernetes cluster.
|
|
251
|
-
*/
|
|
252
|
-
version_channel?: string;
|
|
252
|
+
region?: 'staging-1a' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
253
253
|
/**
|
|
254
254
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
255
255
|
*/
|
|
@@ -259,6 +259,7 @@ export type Cluster = {
|
|
|
259
259
|
*/
|
|
260
260
|
status: 'active' | 'disabled' | 'deleted' | 'creating' | 'deployed' | 'failed' | 'updating';
|
|
261
261
|
endpoint?: string | '';
|
|
262
|
+
endpoint_public?: string | '';
|
|
262
263
|
/**
|
|
263
264
|
* Certificate authority data for the kubernetes cluster. This is the root certificate authority for the cluster.
|
|
264
265
|
*/
|
|
@@ -279,6 +280,10 @@ export type Cluster = {
|
|
|
279
280
|
* Indicates if the cluster is ready to be used.
|
|
280
281
|
*/
|
|
281
282
|
ready?: boolean;
|
|
283
|
+
/**
|
|
284
|
+
* Version of the kubernetes cluster.
|
|
285
|
+
*/
|
|
286
|
+
version_channel?: string;
|
|
282
287
|
};
|
|
283
288
|
export type ClusterUpdateInput = {
|
|
284
289
|
/**
|
|
@@ -300,31 +305,56 @@ export type FleetCreateInput = {
|
|
|
300
305
|
*/
|
|
301
306
|
limits?: {
|
|
302
307
|
/**
|
|
303
|
-
* CPU limit in cores.
|
|
308
|
+
* CPU limit in cores. Maximum 100,000.
|
|
304
309
|
*/
|
|
305
|
-
cpu
|
|
310
|
+
cpu?: number;
|
|
306
311
|
};
|
|
307
312
|
gcp?: {
|
|
308
|
-
enabled
|
|
313
|
+
enabled: boolean;
|
|
309
314
|
/**
|
|
310
|
-
*
|
|
315
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
311
316
|
*/
|
|
312
|
-
project
|
|
317
|
+
project?: string;
|
|
313
318
|
};
|
|
314
319
|
hetzner?: {
|
|
315
|
-
enabled
|
|
320
|
+
enabled: boolean;
|
|
316
321
|
/**
|
|
317
|
-
* Hetzner Cloud API
|
|
322
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
318
323
|
*/
|
|
319
|
-
apiKey
|
|
324
|
+
apiKey?: string;
|
|
320
325
|
};
|
|
321
326
|
aws?: {
|
|
322
|
-
enabled
|
|
327
|
+
enabled: boolean;
|
|
323
328
|
/**
|
|
324
|
-
*
|
|
329
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
325
330
|
*/
|
|
326
|
-
controllerRoleArn
|
|
331
|
+
controllerRoleArn?: string;
|
|
327
332
|
};
|
|
333
|
+
/**
|
|
334
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
|
|
335
|
+
*/
|
|
336
|
+
constraints?: {
|
|
337
|
+
/**
|
|
338
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
339
|
+
*/
|
|
340
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
341
|
+
/**
|
|
342
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
343
|
+
*/
|
|
344
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
345
|
+
/**
|
|
346
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
347
|
+
*/
|
|
348
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
349
|
+
/**
|
|
350
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
351
|
+
*/
|
|
352
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
353
|
+
};
|
|
354
|
+
/**
|
|
355
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
356
|
+
*/
|
|
357
|
+
scalingProfile?: 'aggressive' | 'conservative';
|
|
328
358
|
/**
|
|
329
359
|
* Unique identifier of the kubernetes fleet.
|
|
330
360
|
*/
|
|
@@ -336,31 +366,56 @@ export type Fleet = {
|
|
|
336
366
|
*/
|
|
337
367
|
limits?: {
|
|
338
368
|
/**
|
|
339
|
-
* CPU limit in cores.
|
|
369
|
+
* CPU limit in cores. Maximum 100,000.
|
|
340
370
|
*/
|
|
341
|
-
cpu
|
|
371
|
+
cpu?: number;
|
|
342
372
|
};
|
|
343
373
|
gcp?: {
|
|
344
|
-
enabled
|
|
374
|
+
enabled: boolean;
|
|
345
375
|
/**
|
|
346
|
-
*
|
|
376
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
347
377
|
*/
|
|
348
|
-
project
|
|
378
|
+
project?: string;
|
|
349
379
|
};
|
|
350
380
|
hetzner?: {
|
|
351
|
-
enabled
|
|
381
|
+
enabled: boolean;
|
|
352
382
|
/**
|
|
353
|
-
* Hetzner
|
|
383
|
+
* Redacted Hetzner API token. Returned as 64 asterisks when a token is configured; omitted otherwise. The real value is never echoed by the API.
|
|
354
384
|
*/
|
|
355
|
-
apiKey
|
|
385
|
+
apiKey?: string;
|
|
356
386
|
};
|
|
357
387
|
aws?: {
|
|
358
|
-
enabled
|
|
388
|
+
enabled: boolean;
|
|
389
|
+
/**
|
|
390
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
391
|
+
*/
|
|
392
|
+
controllerRoleArn?: string;
|
|
393
|
+
};
|
|
394
|
+
/**
|
|
395
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
|
|
396
|
+
*/
|
|
397
|
+
constraints?: {
|
|
398
|
+
/**
|
|
399
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
400
|
+
*/
|
|
401
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
402
|
+
/**
|
|
403
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
404
|
+
*/
|
|
405
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
359
406
|
/**
|
|
360
|
-
*
|
|
407
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
361
408
|
*/
|
|
362
|
-
|
|
409
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
410
|
+
/**
|
|
411
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
412
|
+
*/
|
|
413
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
363
414
|
};
|
|
415
|
+
/**
|
|
416
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
417
|
+
*/
|
|
418
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
364
419
|
/**
|
|
365
420
|
* Unique identifier of the kubernetes fleet.
|
|
366
421
|
*/
|
|
@@ -372,31 +427,56 @@ export type FleetUpdateInput = {
|
|
|
372
427
|
*/
|
|
373
428
|
limits?: {
|
|
374
429
|
/**
|
|
375
|
-
* CPU limit in cores.
|
|
430
|
+
* CPU limit in cores. Maximum 100,000.
|
|
376
431
|
*/
|
|
377
|
-
cpu
|
|
432
|
+
cpu?: number;
|
|
378
433
|
};
|
|
379
434
|
gcp?: {
|
|
380
|
-
enabled
|
|
435
|
+
enabled: boolean;
|
|
381
436
|
/**
|
|
382
|
-
*
|
|
437
|
+
* GCP project ID to deploy instances into. 6-30 chars, lowercase letters/digits/hyphens, must start with a letter and not end with a hyphen. Omit when GCP is disabled.
|
|
383
438
|
*/
|
|
384
|
-
project
|
|
439
|
+
project?: string;
|
|
385
440
|
};
|
|
386
441
|
hetzner?: {
|
|
387
|
-
enabled
|
|
442
|
+
enabled: boolean;
|
|
388
443
|
/**
|
|
389
|
-
* Hetzner Cloud API
|
|
444
|
+
* Hetzner Cloud API token with read / write access (64 alphanumeric characters). Omit this field to keep the existing value.
|
|
390
445
|
*/
|
|
391
|
-
apiKey
|
|
446
|
+
apiKey?: string;
|
|
392
447
|
};
|
|
393
448
|
aws?: {
|
|
394
|
-
enabled
|
|
449
|
+
enabled: boolean;
|
|
395
450
|
/**
|
|
396
|
-
*
|
|
451
|
+
* AWS IAM role ARN that Karpenter uses to manage resources. Omit when AWS is disabled.
|
|
397
452
|
*/
|
|
398
|
-
controllerRoleArn
|
|
453
|
+
controllerRoleArn?: string;
|
|
399
454
|
};
|
|
455
|
+
/**
|
|
456
|
+
* Constraints define scheduling and provisioning requirements for the fleet. Each field restricts the values allowed for a given Kubernetes label key. Multiple constraints are ANDed together. Omit a field to place no restriction on that key.
|
|
457
|
+
*/
|
|
458
|
+
constraints?: {
|
|
459
|
+
/**
|
|
460
|
+
* Allowed values for `karpenter.sh/capacity-type`.
|
|
461
|
+
*/
|
|
462
|
+
'karpenter.sh/capacity-type'?: Array<'on-demand' | 'spot'>;
|
|
463
|
+
/**
|
|
464
|
+
* Allowed values for `kubernetes.io/arch`.
|
|
465
|
+
*/
|
|
466
|
+
'kubernetes.io/arch'?: Array<'amd64' | 'arm64'>;
|
|
467
|
+
/**
|
|
468
|
+
* Allowed values for `cfke.io/instance-family`.
|
|
469
|
+
*/
|
|
470
|
+
'cfke.io/instance-family'?: Array<'a1' | 'a2' | 'a3' | 'a4' | 'c1' | 'c2' | 'c2d' | 'c3' | 'c3d' | 'c4' | 'c4a' | 'c4d' | 'c5' | 'c5a' | 'c5ad' | 'c5d' | 'c5n' | 'c6a' | 'c6g' | 'c6gd' | 'c6gn' | 'c6i' | 'c6id' | 'c6in' | 'c7a' | 'c7g' | 'c7gd' | 'c7gn' | 'c7i' | 'c7i-flex' | 'c8g' | 'c8gd' | 'cax' | 'ccx' | 'cpx' | 'cx' | 'd2' | 'd3' | 'd3en' | 'dl1' | 'dl2q' | 'e2' | 'f1' | 'f2' | 'g1' | 'g2' | 'g4ad' | 'g4dn' | 'g5' | 'g5g' | 'g6' | 'g6e' | 'gr6' | 'h1' | 'h3' | 'hpc6a' | 'hpc6id' | 'hpc7a' | 'hpc7g' | 'i2' | 'i3' | 'i3en' | 'i4g' | 'i4i' | 'i7i' | 'i7ie' | 'i8g' | 'im4gn' | 'inf1' | 'inf2' | 'is4gen' | 'm1' | 'm2' | 'm3' | 'm4' | 'm5' | 'm5a' | 'm5ad' | 'm5d' | 'm5dn' | 'm5n' | 'm5zn' | 'm6a' | 'm6g' | 'm6gd' | 'm6i' | 'm6id' | 'm6idn' | 'm6in' | 'm7a' | 'm7g' | 'm7gd' | 'm7i' | 'm7i-flex' | 'm8g' | 'm8gd' | 'n1' | 'n2' | 'n2d' | 'n4' | 'p3' | 'p3dn' | 'p4d' | 'p4de' | 'p5' | 'p5e' | 'p5en' | 'p6-b200' | 'r3' | 'r4' | 'r5' | 'r5a' | 'r5ad' | 'r5b' | 'r5d' | 'r5dn' | 'r5n' | 'r6a' | 'r6g' | 'r6gd' | 'r6i' | 'r6id' | 'r6idn' | 'r6in' | 'r7a' | 'r7g' | 'r7gd' | 'r7i' | 'r7iz' | 'r8g' | 'r8gd' | 't2' | 't2a' | 't2d' | 't3' | 't3a' | 't4g' | 'trn1' | 'trn1n' | 'u-3tb1' | 'u-6tb1' | 'u7i-12tb' | 'u7i-6tb' | 'u7i-8tb' | 'u7in-16tb' | 'u7in-24tb' | 'u7in-32tb' | 'vt1' | 'x1' | 'x1e' | 'x2gd' | 'x2idn' | 'x2iedn' | 'x2iezn' | 'x4' | 'x8g' | 'z1d' | 'z3'>;
|
|
471
|
+
/**
|
|
472
|
+
* Allowed values for `topology.kubernetes.io/region`.
|
|
473
|
+
*/
|
|
474
|
+
'topology.kubernetes.io/region'?: Array<'africa-south1' | 'ap-northeast-1' | 'ap-northeast-2' | 'ap-northeast-3' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ash' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-south2' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'australia-southeast2' | 'ca-central-1' | 'eu-central-1' | 'eu-central-2' | 'eu-north-1' | 'eu-west-1' | 'eu-west-2' | 'eu-west-3' | 'europe-central2' | 'europe-north1' | 'europe-southwest1' | 'europe-west1' | 'europe-west10' | 'europe-west12' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'europe-west8' | 'europe-west9' | 'fsn1' | 'hel1' | 'hil' | 'me-central1' | 'me-central2' | 'me-west1' | 'nbg1' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'sa-east-1' | 'sin' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east-1' | 'us-east-2' | 'us-east1' | 'us-east4' | 'us-east5' | 'us-south1' | 'us-west-1' | 'us-west-2' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4'>;
|
|
475
|
+
};
|
|
476
|
+
/**
|
|
477
|
+
* Controls scale-up / scale-down responsiveness. `aggressive` prioritizes cost-optimization. `conservative` prioritizes stability of the fleet.
|
|
478
|
+
*/
|
|
479
|
+
scalingProfile: 'aggressive' | 'conservative';
|
|
400
480
|
};
|
|
401
481
|
export type Invite = {
|
|
402
482
|
/**
|
|
@@ -422,7 +502,7 @@ export type Invite = {
|
|
|
422
502
|
};
|
|
423
503
|
export type Invoice = {
|
|
424
504
|
/**
|
|
425
|
-
* Unique identifier of the invoice.
|
|
505
|
+
* Unique identifier of the invoice.
|
|
426
506
|
*/
|
|
427
507
|
id?: string;
|
|
428
508
|
number?: string;
|
|
@@ -515,6 +595,10 @@ export type MarketplaceListing = {
|
|
|
515
595
|
* Chart home URL
|
|
516
596
|
*/
|
|
517
597
|
home?: string;
|
|
598
|
+
/**
|
|
599
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
600
|
+
*/
|
|
601
|
+
icon?: string;
|
|
518
602
|
/**
|
|
519
603
|
* Chart source URLs
|
|
520
604
|
*/
|
|
@@ -614,6 +698,10 @@ export type Organization = {
|
|
|
614
698
|
*/
|
|
615
699
|
label: string;
|
|
616
700
|
}>;
|
|
701
|
+
/**
|
|
702
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
703
|
+
*/
|
|
704
|
+
cfcr_storage_gb: number;
|
|
617
705
|
};
|
|
618
706
|
/**
|
|
619
707
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
@@ -692,6 +780,10 @@ export type PlatformQuota = {
|
|
|
692
780
|
*/
|
|
693
781
|
label: string;
|
|
694
782
|
}>;
|
|
783
|
+
/**
|
|
784
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
785
|
+
*/
|
|
786
|
+
cfcr_storage_gb: number;
|
|
695
787
|
};
|
|
696
788
|
export type RegistryRepository = {
|
|
697
789
|
/**
|
|
@@ -736,6 +828,10 @@ export type RegistryRepositoryWithTags = {
|
|
|
736
828
|
* Media type of the manifest.
|
|
737
829
|
*/
|
|
738
830
|
mediaType?: string;
|
|
831
|
+
/**
|
|
832
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
833
|
+
*/
|
|
834
|
+
platforms?: Array<string>;
|
|
739
835
|
}>;
|
|
740
836
|
/**
|
|
741
837
|
* Total size of all tags in the repository in bytes.
|
|
@@ -747,6 +843,10 @@ export type RegistryTag = {
|
|
|
747
843
|
* Tag name.
|
|
748
844
|
*/
|
|
749
845
|
name: string;
|
|
846
|
+
/**
|
|
847
|
+
* Manifest digest for pulling by digest.
|
|
848
|
+
*/
|
|
849
|
+
digest: string;
|
|
750
850
|
/**
|
|
751
851
|
* Media type of the manifest.
|
|
752
852
|
*/
|
|
@@ -764,6 +864,10 @@ export type RegistryTag = {
|
|
|
764
864
|
* Array of layer metadata.
|
|
765
865
|
*/
|
|
766
866
|
layers?: Array<{
|
|
867
|
+
/**
|
|
868
|
+
* Digest of the layer.
|
|
869
|
+
*/
|
|
870
|
+
digest?: string;
|
|
767
871
|
/**
|
|
768
872
|
* Size of the layer in bytes.
|
|
769
873
|
*/
|
|
@@ -789,7 +893,28 @@ export type RegistryTag = {
|
|
|
789
893
|
* Operating system of the platform.
|
|
790
894
|
*/
|
|
791
895
|
os: string;
|
|
896
|
+
/**
|
|
897
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
898
|
+
*/
|
|
899
|
+
variant?: string;
|
|
792
900
|
};
|
|
901
|
+
/**
|
|
902
|
+
* Layers for this platform.
|
|
903
|
+
*/
|
|
904
|
+
layers?: Array<{
|
|
905
|
+
/**
|
|
906
|
+
* Digest of the layer.
|
|
907
|
+
*/
|
|
908
|
+
digest?: string;
|
|
909
|
+
/**
|
|
910
|
+
* Size of the layer in bytes.
|
|
911
|
+
*/
|
|
912
|
+
size: number;
|
|
913
|
+
}>;
|
|
914
|
+
/**
|
|
915
|
+
* Total size of this platform manifest in bytes.
|
|
916
|
+
*/
|
|
917
|
+
size?: number;
|
|
793
918
|
}>;
|
|
794
919
|
/**
|
|
795
920
|
* Total size of the tag in bytes.
|
|
@@ -808,6 +933,258 @@ export type RegistryTag = {
|
|
|
808
933
|
*/
|
|
809
934
|
uri: string;
|
|
810
935
|
};
|
|
936
|
+
export type TicketAttachment = {
|
|
937
|
+
/**
|
|
938
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
939
|
+
*/
|
|
940
|
+
id: string;
|
|
941
|
+
/**
|
|
942
|
+
* Original filename as uploaded.
|
|
943
|
+
*/
|
|
944
|
+
filename: string;
|
|
945
|
+
/**
|
|
946
|
+
* MIME content type of the attachment.
|
|
947
|
+
*/
|
|
948
|
+
content_type: string;
|
|
949
|
+
/**
|
|
950
|
+
* Size of the attachment in bytes.
|
|
951
|
+
*/
|
|
952
|
+
size: number;
|
|
953
|
+
};
|
|
954
|
+
export type TicketCreateInput = {
|
|
955
|
+
/**
|
|
956
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
957
|
+
*/
|
|
958
|
+
category: 'billing' | 'technical' | 'general';
|
|
959
|
+
/**
|
|
960
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
961
|
+
*/
|
|
962
|
+
body: string;
|
|
963
|
+
/**
|
|
964
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
965
|
+
*/
|
|
966
|
+
properties?: {
|
|
967
|
+
[key: string]: unknown;
|
|
968
|
+
};
|
|
969
|
+
};
|
|
970
|
+
export type TicketListResponse = {
|
|
971
|
+
/**
|
|
972
|
+
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
973
|
+
*/
|
|
974
|
+
items: Array<{
|
|
975
|
+
/**
|
|
976
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
977
|
+
*/
|
|
978
|
+
id: string;
|
|
979
|
+
/**
|
|
980
|
+
* Current state of the ticket.
|
|
981
|
+
*/
|
|
982
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
983
|
+
/**
|
|
984
|
+
* Ticket category.
|
|
985
|
+
*/
|
|
986
|
+
category: 'billing' | 'technical' | 'general';
|
|
987
|
+
/**
|
|
988
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
989
|
+
*/
|
|
990
|
+
summary: string;
|
|
991
|
+
/**
|
|
992
|
+
* Closure timestamp. Null while the ticket is open.
|
|
993
|
+
*/
|
|
994
|
+
closed_at?: string;
|
|
995
|
+
/**
|
|
996
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
997
|
+
*/
|
|
998
|
+
date_created: string;
|
|
999
|
+
/**
|
|
1000
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
1001
|
+
*/
|
|
1002
|
+
date_updated: string;
|
|
1003
|
+
/**
|
|
1004
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1005
|
+
*/
|
|
1006
|
+
messages?: Array<{
|
|
1007
|
+
/**
|
|
1008
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1009
|
+
*/
|
|
1010
|
+
id: string;
|
|
1011
|
+
/**
|
|
1012
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1013
|
+
*/
|
|
1014
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1015
|
+
/**
|
|
1016
|
+
* Message body in markdown.
|
|
1017
|
+
*/
|
|
1018
|
+
body: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* First name of the author. Null when not provided.
|
|
1021
|
+
*/
|
|
1022
|
+
author_first_name?: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* Last name of the author. Null when not provided.
|
|
1025
|
+
*/
|
|
1026
|
+
author_last_name?: string;
|
|
1027
|
+
/**
|
|
1028
|
+
* Attachments associated with this message.
|
|
1029
|
+
*/
|
|
1030
|
+
attachments?: Array<{
|
|
1031
|
+
/**
|
|
1032
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1033
|
+
*/
|
|
1034
|
+
id: string;
|
|
1035
|
+
/**
|
|
1036
|
+
* Original filename as uploaded.
|
|
1037
|
+
*/
|
|
1038
|
+
filename: string;
|
|
1039
|
+
/**
|
|
1040
|
+
* MIME content type of the attachment.
|
|
1041
|
+
*/
|
|
1042
|
+
content_type: string;
|
|
1043
|
+
/**
|
|
1044
|
+
* Size of the attachment in bytes.
|
|
1045
|
+
*/
|
|
1046
|
+
size: number;
|
|
1047
|
+
}>;
|
|
1048
|
+
/**
|
|
1049
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1050
|
+
*/
|
|
1051
|
+
date_created: string;
|
|
1052
|
+
}>;
|
|
1053
|
+
}>;
|
|
1054
|
+
};
|
|
1055
|
+
export type TicketMessageInput = {
|
|
1056
|
+
/**
|
|
1057
|
+
* Reply body in markdown.
|
|
1058
|
+
*/
|
|
1059
|
+
body: string;
|
|
1060
|
+
};
|
|
1061
|
+
export type TicketMessage = {
|
|
1062
|
+
/**
|
|
1063
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1064
|
+
*/
|
|
1065
|
+
id: string;
|
|
1066
|
+
/**
|
|
1067
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1068
|
+
*/
|
|
1069
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1070
|
+
/**
|
|
1071
|
+
* Message body in markdown.
|
|
1072
|
+
*/
|
|
1073
|
+
body: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* First name of the author. Null when not provided.
|
|
1076
|
+
*/
|
|
1077
|
+
author_first_name?: string;
|
|
1078
|
+
/**
|
|
1079
|
+
* Last name of the author. Null when not provided.
|
|
1080
|
+
*/
|
|
1081
|
+
author_last_name?: string;
|
|
1082
|
+
/**
|
|
1083
|
+
* Attachments associated with this message.
|
|
1084
|
+
*/
|
|
1085
|
+
attachments?: Array<{
|
|
1086
|
+
/**
|
|
1087
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1088
|
+
*/
|
|
1089
|
+
id: string;
|
|
1090
|
+
/**
|
|
1091
|
+
* Original filename as uploaded.
|
|
1092
|
+
*/
|
|
1093
|
+
filename: string;
|
|
1094
|
+
/**
|
|
1095
|
+
* MIME content type of the attachment.
|
|
1096
|
+
*/
|
|
1097
|
+
content_type: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* Size of the attachment in bytes.
|
|
1100
|
+
*/
|
|
1101
|
+
size: number;
|
|
1102
|
+
}>;
|
|
1103
|
+
/**
|
|
1104
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1105
|
+
*/
|
|
1106
|
+
date_created: string;
|
|
1107
|
+
};
|
|
1108
|
+
export type Ticket = {
|
|
1109
|
+
/**
|
|
1110
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
1111
|
+
*/
|
|
1112
|
+
id: string;
|
|
1113
|
+
/**
|
|
1114
|
+
* Current state of the ticket.
|
|
1115
|
+
*/
|
|
1116
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
1117
|
+
/**
|
|
1118
|
+
* Ticket category.
|
|
1119
|
+
*/
|
|
1120
|
+
category: 'billing' | 'technical' | 'general';
|
|
1121
|
+
/**
|
|
1122
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
1123
|
+
*/
|
|
1124
|
+
summary: string;
|
|
1125
|
+
/**
|
|
1126
|
+
* Closure timestamp. Null while the ticket is open.
|
|
1127
|
+
*/
|
|
1128
|
+
closed_at?: string;
|
|
1129
|
+
/**
|
|
1130
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
1131
|
+
*/
|
|
1132
|
+
date_created: string;
|
|
1133
|
+
/**
|
|
1134
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
1135
|
+
*/
|
|
1136
|
+
date_updated: string;
|
|
1137
|
+
/**
|
|
1138
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1139
|
+
*/
|
|
1140
|
+
messages?: Array<{
|
|
1141
|
+
/**
|
|
1142
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1143
|
+
*/
|
|
1144
|
+
id: string;
|
|
1145
|
+
/**
|
|
1146
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1147
|
+
*/
|
|
1148
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1149
|
+
/**
|
|
1150
|
+
* Message body in markdown.
|
|
1151
|
+
*/
|
|
1152
|
+
body: string;
|
|
1153
|
+
/**
|
|
1154
|
+
* First name of the author. Null when not provided.
|
|
1155
|
+
*/
|
|
1156
|
+
author_first_name?: string;
|
|
1157
|
+
/**
|
|
1158
|
+
* Last name of the author. Null when not provided.
|
|
1159
|
+
*/
|
|
1160
|
+
author_last_name?: string;
|
|
1161
|
+
/**
|
|
1162
|
+
* Attachments associated with this message.
|
|
1163
|
+
*/
|
|
1164
|
+
attachments?: Array<{
|
|
1165
|
+
/**
|
|
1166
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1167
|
+
*/
|
|
1168
|
+
id: string;
|
|
1169
|
+
/**
|
|
1170
|
+
* Original filename as uploaded.
|
|
1171
|
+
*/
|
|
1172
|
+
filename: string;
|
|
1173
|
+
/**
|
|
1174
|
+
* MIME content type of the attachment.
|
|
1175
|
+
*/
|
|
1176
|
+
content_type: string;
|
|
1177
|
+
/**
|
|
1178
|
+
* Size of the attachment in bytes.
|
|
1179
|
+
*/
|
|
1180
|
+
size: number;
|
|
1181
|
+
}>;
|
|
1182
|
+
/**
|
|
1183
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1184
|
+
*/
|
|
1185
|
+
date_created: string;
|
|
1186
|
+
}>;
|
|
1187
|
+
};
|
|
811
1188
|
export type TokenCreateInput = {
|
|
812
1189
|
/**
|
|
813
1190
|
* Human readable access token name.
|
|
@@ -1630,22 +2007,22 @@ export type GetMarketplaceChartFilesData = {
|
|
|
1630
2007
|
*/
|
|
1631
2008
|
chart_name: string;
|
|
1632
2009
|
/**
|
|
1633
|
-
* Version
|
|
2010
|
+
* Version channel pattern to match (e.g., "1.31.x-cfke.x" for latest 1.31 patch, "1.x.x-cfke.x" for latest 1.x minor).
|
|
1634
2011
|
*/
|
|
1635
|
-
|
|
2012
|
+
version_channel: string;
|
|
1636
2013
|
};
|
|
1637
2014
|
query?: never;
|
|
1638
|
-
url: '/marketplace/{chart_name}/files/{
|
|
2015
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1639
2016
|
};
|
|
1640
2017
|
export type GetMarketplaceChartFilesErrors = {
|
|
1641
2018
|
/**
|
|
1642
|
-
* Chart or version
|
|
2019
|
+
* Chart not found or no version matches the channel
|
|
1643
2020
|
*/
|
|
1644
2021
|
404: unknown;
|
|
1645
2022
|
};
|
|
1646
2023
|
export type GetMarketplaceChartFilesResponses = {
|
|
1647
2024
|
/**
|
|
1648
|
-
* Returns an object containing the chart files.
|
|
2025
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1649
2026
|
*/
|
|
1650
2027
|
200: MarketplaceListingFiles;
|
|
1651
2028
|
};
|
|
@@ -1855,6 +2232,111 @@ export type GetTagResponses = {
|
|
|
1855
2232
|
200: RegistryTag;
|
|
1856
2233
|
};
|
|
1857
2234
|
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2235
|
+
export type ListTicketsData = {
|
|
2236
|
+
body?: never;
|
|
2237
|
+
path?: never;
|
|
2238
|
+
query?: never;
|
|
2239
|
+
url: '/tickets';
|
|
2240
|
+
};
|
|
2241
|
+
export type ListTicketsResponses = {
|
|
2242
|
+
/**
|
|
2243
|
+
* Tickets for the organization.
|
|
2244
|
+
*/
|
|
2245
|
+
200: TicketListResponse;
|
|
2246
|
+
};
|
|
2247
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
2248
|
+
export type CreateTicketData = {
|
|
2249
|
+
body: {
|
|
2250
|
+
/**
|
|
2251
|
+
* JSON-encoded TicketCreateInput.
|
|
2252
|
+
*/
|
|
2253
|
+
payload?: string;
|
|
2254
|
+
attachments?: Array<Blob | File>;
|
|
2255
|
+
};
|
|
2256
|
+
path?: never;
|
|
2257
|
+
query?: never;
|
|
2258
|
+
url: '/tickets';
|
|
2259
|
+
};
|
|
2260
|
+
export type CreateTicketResponses = {
|
|
2261
|
+
/**
|
|
2262
|
+
* Ticket created.
|
|
2263
|
+
*/
|
|
2264
|
+
200: Ticket;
|
|
2265
|
+
};
|
|
2266
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
2267
|
+
export type CloseTicketData = {
|
|
2268
|
+
body?: never;
|
|
2269
|
+
path: {
|
|
2270
|
+
ticket_id: string;
|
|
2271
|
+
};
|
|
2272
|
+
query?: never;
|
|
2273
|
+
url: '/tickets/{ticket_id}';
|
|
2274
|
+
};
|
|
2275
|
+
export type CloseTicketResponses = {
|
|
2276
|
+
/**
|
|
2277
|
+
* Ticket closed.
|
|
2278
|
+
*/
|
|
2279
|
+
200: Ticket;
|
|
2280
|
+
};
|
|
2281
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
2282
|
+
export type GetTicketData = {
|
|
2283
|
+
body?: never;
|
|
2284
|
+
path: {
|
|
2285
|
+
ticket_id: string;
|
|
2286
|
+
};
|
|
2287
|
+
query?: never;
|
|
2288
|
+
url: '/tickets/{ticket_id}';
|
|
2289
|
+
};
|
|
2290
|
+
export type GetTicketResponses = {
|
|
2291
|
+
/**
|
|
2292
|
+
* Ticket with messages (internal notes excluded).
|
|
2293
|
+
*/
|
|
2294
|
+
200: Ticket;
|
|
2295
|
+
};
|
|
2296
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
2297
|
+
export type ReplyTicketData = {
|
|
2298
|
+
body: {
|
|
2299
|
+
/**
|
|
2300
|
+
* JSON-encoded TicketMessageInput.
|
|
2301
|
+
*/
|
|
2302
|
+
payload?: string;
|
|
2303
|
+
attachments?: Array<Blob | File>;
|
|
2304
|
+
};
|
|
2305
|
+
path: {
|
|
2306
|
+
ticket_id: string;
|
|
2307
|
+
};
|
|
2308
|
+
query?: never;
|
|
2309
|
+
url: '/tickets/{ticket_id}/messages';
|
|
2310
|
+
};
|
|
2311
|
+
export type ReplyTicketErrors = {
|
|
2312
|
+
/**
|
|
2313
|
+
* Ticket is closed. Open a new ticket instead.
|
|
2314
|
+
*/
|
|
2315
|
+
409: unknown;
|
|
2316
|
+
};
|
|
2317
|
+
export type ReplyTicketResponses = {
|
|
2318
|
+
/**
|
|
2319
|
+
* Reply appended.
|
|
2320
|
+
*/
|
|
2321
|
+
200: TicketMessage;
|
|
2322
|
+
};
|
|
2323
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
2324
|
+
export type GetTicketAttachmentData = {
|
|
2325
|
+
body?: never;
|
|
2326
|
+
path: {
|
|
2327
|
+
ticket_id: string;
|
|
2328
|
+
attachment_id: string;
|
|
2329
|
+
};
|
|
2330
|
+
query?: never;
|
|
2331
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
2332
|
+
};
|
|
2333
|
+
export type GetTicketAttachmentResponses = {
|
|
2334
|
+
/**
|
|
2335
|
+
* Attachment binary stream.
|
|
2336
|
+
*/
|
|
2337
|
+
200: Blob | File;
|
|
2338
|
+
};
|
|
2339
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1858
2340
|
export type ListTokensData = {
|
|
1859
2341
|
body?: never;
|
|
1860
2342
|
path?: never;
|