@cloudfleet/sdk 0.0.1-523e444 → 0.0.1-55a31fe
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 +972 -132
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +1633 -262
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +85 -7
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +158 -127
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +8 -8
- package/dist/types.gen.d.ts +904 -57
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +899 -617
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +495 -457
- 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.
|
|
247
|
-
*/
|
|
248
|
-
region?: 'staging' | 'northamerica-central-1' | 'europe-central-1a' | 'northamerica-central-1a';
|
|
249
|
-
/**
|
|
250
|
-
* Version of the kubernetes cluster.
|
|
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.
|
|
251
251
|
*/
|
|
252
|
-
|
|
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
|
/**
|
|
@@ -422,7 +427,7 @@ export type Invite = {
|
|
|
422
427
|
};
|
|
423
428
|
export type Invoice = {
|
|
424
429
|
/**
|
|
425
|
-
* Unique identifier of the invoice.
|
|
430
|
+
* Unique identifier of the invoice.
|
|
426
431
|
*/
|
|
427
432
|
id?: string;
|
|
428
433
|
number?: string;
|
|
@@ -452,50 +457,91 @@ export type Invoice = {
|
|
|
452
457
|
period_end: string;
|
|
453
458
|
invoice_pdf?: string;
|
|
454
459
|
};
|
|
455
|
-
export type
|
|
460
|
+
export type MarketplaceListingFiles = {
|
|
456
461
|
/**
|
|
457
|
-
*
|
|
462
|
+
* Raw Chart.yaml content from the Helm chart
|
|
458
463
|
*/
|
|
459
|
-
|
|
464
|
+
chartYaml?: string;
|
|
460
465
|
/**
|
|
461
|
-
*
|
|
466
|
+
* Raw values.yaml content from the Helm chart
|
|
462
467
|
*/
|
|
463
|
-
|
|
468
|
+
valuesYaml?: string;
|
|
464
469
|
/**
|
|
465
|
-
*
|
|
470
|
+
* JSON schema for values.yaml as a string
|
|
466
471
|
*/
|
|
467
|
-
|
|
472
|
+
valuesSchemaJson?: string;
|
|
473
|
+
};
|
|
474
|
+
export type MarketplaceListing = {
|
|
475
|
+
/**
|
|
476
|
+
* Name of the chart
|
|
477
|
+
*/
|
|
478
|
+
name: string;
|
|
468
479
|
/**
|
|
469
|
-
*
|
|
480
|
+
* Available versions of the chart
|
|
470
481
|
*/
|
|
471
|
-
|
|
482
|
+
versions: Array<string>;
|
|
472
483
|
/**
|
|
473
|
-
*
|
|
484
|
+
* Version channels for the chart
|
|
474
485
|
*/
|
|
475
|
-
|
|
486
|
+
version_channels: Array<string>;
|
|
476
487
|
/**
|
|
477
|
-
*
|
|
488
|
+
* Latest version of the chart
|
|
478
489
|
*/
|
|
479
|
-
|
|
490
|
+
latestVersion: string;
|
|
480
491
|
/**
|
|
481
|
-
*
|
|
492
|
+
* Chart metadata
|
|
482
493
|
*/
|
|
483
|
-
|
|
484
|
-
version_channels: Array<string>;
|
|
485
|
-
value_schemas: Array<{
|
|
494
|
+
metadata?: {
|
|
486
495
|
/**
|
|
487
|
-
*
|
|
496
|
+
* Chart name from metadata
|
|
497
|
+
*/
|
|
498
|
+
name: string;
|
|
499
|
+
/**
|
|
500
|
+
* Chart version from metadata
|
|
488
501
|
*/
|
|
489
502
|
version: string;
|
|
490
503
|
/**
|
|
491
|
-
*
|
|
504
|
+
* Chart description
|
|
492
505
|
*/
|
|
493
|
-
|
|
506
|
+
description?: string;
|
|
494
507
|
/**
|
|
495
|
-
*
|
|
508
|
+
* Application version
|
|
496
509
|
*/
|
|
497
|
-
|
|
498
|
-
|
|
510
|
+
appVersion?: string;
|
|
511
|
+
/**
|
|
512
|
+
* Helm API version
|
|
513
|
+
*/
|
|
514
|
+
apiVersion?: string;
|
|
515
|
+
/**
|
|
516
|
+
* Chart keywords
|
|
517
|
+
*/
|
|
518
|
+
keywords?: Array<string>;
|
|
519
|
+
/**
|
|
520
|
+
* Chart home URL
|
|
521
|
+
*/
|
|
522
|
+
home?: string;
|
|
523
|
+
/**
|
|
524
|
+
* A URL to an SVG or PNG image to be used as an icon
|
|
525
|
+
*/
|
|
526
|
+
icon?: string;
|
|
527
|
+
/**
|
|
528
|
+
* Chart source URLs
|
|
529
|
+
*/
|
|
530
|
+
sources?: Array<string>;
|
|
531
|
+
/**
|
|
532
|
+
* Chart maintainers
|
|
533
|
+
*/
|
|
534
|
+
maintainers?: Array<{
|
|
535
|
+
/**
|
|
536
|
+
* Maintainer name
|
|
537
|
+
*/
|
|
538
|
+
name: string;
|
|
539
|
+
/**
|
|
540
|
+
* Maintainer email
|
|
541
|
+
*/
|
|
542
|
+
email?: string;
|
|
543
|
+
}>;
|
|
544
|
+
};
|
|
499
545
|
};
|
|
500
546
|
export type OrganizationCreateInput = {
|
|
501
547
|
/**
|
|
@@ -577,6 +623,10 @@ export type Organization = {
|
|
|
577
623
|
*/
|
|
578
624
|
label: string;
|
|
579
625
|
}>;
|
|
626
|
+
/**
|
|
627
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
628
|
+
*/
|
|
629
|
+
cfcr_storage_gb: number;
|
|
580
630
|
};
|
|
581
631
|
/**
|
|
582
632
|
* Status of the organization. Can be `active` or `closed`, or `suspended`.
|
|
@@ -613,6 +663,453 @@ export type PaymentMethod = {
|
|
|
613
663
|
*/
|
|
614
664
|
brand: 'amex' | 'diners' | 'discover' | 'eftpos_au' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
615
665
|
};
|
|
666
|
+
export type PlatformQuota = {
|
|
667
|
+
/**
|
|
668
|
+
* Maximum number of Basic clusters that can be created.
|
|
669
|
+
*/
|
|
670
|
+
basic_clusters_max: number;
|
|
671
|
+
/**
|
|
672
|
+
* Available number of Basic clusters that can be created.
|
|
673
|
+
*/
|
|
674
|
+
basic_clusters_available: number;
|
|
675
|
+
/**
|
|
676
|
+
* Maximum number of Pro clusters that can be created.
|
|
677
|
+
*/
|
|
678
|
+
pro_clusters_max: number;
|
|
679
|
+
/**
|
|
680
|
+
* Available number of Pro clusters that can be created.
|
|
681
|
+
*/
|
|
682
|
+
pro_clusters_available: number;
|
|
683
|
+
/**
|
|
684
|
+
* Maximum number of fleets that can be created per cluster.
|
|
685
|
+
*/
|
|
686
|
+
fleets_max: number;
|
|
687
|
+
/**
|
|
688
|
+
* List of Cloudfleet cluster tiers available for the organization.
|
|
689
|
+
*/
|
|
690
|
+
cluster_tiers: Array<string>;
|
|
691
|
+
/**
|
|
692
|
+
* List of Cloudfleet control plane regions available for the organization.
|
|
693
|
+
*/
|
|
694
|
+
regions: Array<string>;
|
|
695
|
+
/**
|
|
696
|
+
* List of CFKE control plane versions available for the organization.
|
|
697
|
+
*/
|
|
698
|
+
versions: Array<{
|
|
699
|
+
/**
|
|
700
|
+
* Id of the control plane version. Used in API calls.
|
|
701
|
+
*/
|
|
702
|
+
id: string;
|
|
703
|
+
/**
|
|
704
|
+
* Label of the control plane version. Used in frontent UI.
|
|
705
|
+
*/
|
|
706
|
+
label: string;
|
|
707
|
+
}>;
|
|
708
|
+
/**
|
|
709
|
+
* Organization-level maximum CFCR storage volume in GB. -1 means no limit.
|
|
710
|
+
*/
|
|
711
|
+
cfcr_storage_gb: number;
|
|
712
|
+
};
|
|
713
|
+
export type RegistryRepository = {
|
|
714
|
+
/**
|
|
715
|
+
* Repository name.
|
|
716
|
+
*/
|
|
717
|
+
name: string;
|
|
718
|
+
/**
|
|
719
|
+
* Registry region.
|
|
720
|
+
*/
|
|
721
|
+
region: string;
|
|
722
|
+
/**
|
|
723
|
+
* Full URI of the repository.
|
|
724
|
+
*/
|
|
725
|
+
uri: string;
|
|
726
|
+
};
|
|
727
|
+
export type RegistryRepositoryWithTags = {
|
|
728
|
+
/**
|
|
729
|
+
* Repository name.
|
|
730
|
+
*/
|
|
731
|
+
name: string;
|
|
732
|
+
/**
|
|
733
|
+
* Registry region.
|
|
734
|
+
*/
|
|
735
|
+
region: string;
|
|
736
|
+
/**
|
|
737
|
+
* Full URI of the repository.
|
|
738
|
+
*/
|
|
739
|
+
uri: string;
|
|
740
|
+
/**
|
|
741
|
+
* Array of tags in the repository.
|
|
742
|
+
*/
|
|
743
|
+
tags: Array<{
|
|
744
|
+
/**
|
|
745
|
+
* Tag name.
|
|
746
|
+
*/
|
|
747
|
+
name: string;
|
|
748
|
+
/**
|
|
749
|
+
* Size of the tag in bytes.
|
|
750
|
+
*/
|
|
751
|
+
size: number;
|
|
752
|
+
/**
|
|
753
|
+
* Media type of the manifest.
|
|
754
|
+
*/
|
|
755
|
+
mediaType?: string;
|
|
756
|
+
/**
|
|
757
|
+
* Array of platform strings for multi-arch images (e.g., linux/amd64, linux/arm64).
|
|
758
|
+
*/
|
|
759
|
+
platforms?: Array<string>;
|
|
760
|
+
}>;
|
|
761
|
+
/**
|
|
762
|
+
* Total size of all tags in the repository in bytes.
|
|
763
|
+
*/
|
|
764
|
+
totalSize: number;
|
|
765
|
+
};
|
|
766
|
+
export type RegistryTag = {
|
|
767
|
+
/**
|
|
768
|
+
* Tag name.
|
|
769
|
+
*/
|
|
770
|
+
name: string;
|
|
771
|
+
/**
|
|
772
|
+
* Manifest digest for pulling by digest.
|
|
773
|
+
*/
|
|
774
|
+
digest: string;
|
|
775
|
+
/**
|
|
776
|
+
* Media type of the manifest.
|
|
777
|
+
*/
|
|
778
|
+
mediaType?: string;
|
|
779
|
+
/**
|
|
780
|
+
* Manifest config metadata.
|
|
781
|
+
*/
|
|
782
|
+
config?: {
|
|
783
|
+
/**
|
|
784
|
+
* Size of the config in bytes.
|
|
785
|
+
*/
|
|
786
|
+
size: number;
|
|
787
|
+
};
|
|
788
|
+
/**
|
|
789
|
+
* Array of layer metadata.
|
|
790
|
+
*/
|
|
791
|
+
layers?: Array<{
|
|
792
|
+
/**
|
|
793
|
+
* Digest of the layer.
|
|
794
|
+
*/
|
|
795
|
+
digest?: string;
|
|
796
|
+
/**
|
|
797
|
+
* Size of the layer in bytes.
|
|
798
|
+
*/
|
|
799
|
+
size: number;
|
|
800
|
+
}>;
|
|
801
|
+
/**
|
|
802
|
+
* Array of manifests for multi-arch images.
|
|
803
|
+
*/
|
|
804
|
+
manifests?: Array<{
|
|
805
|
+
/**
|
|
806
|
+
* Digest of the manifest.
|
|
807
|
+
*/
|
|
808
|
+
digest: string;
|
|
809
|
+
/**
|
|
810
|
+
* Platform information for the manifest.
|
|
811
|
+
*/
|
|
812
|
+
platform?: {
|
|
813
|
+
/**
|
|
814
|
+
* Architecture of the platform.
|
|
815
|
+
*/
|
|
816
|
+
architecture: string;
|
|
817
|
+
/**
|
|
818
|
+
* Operating system of the platform.
|
|
819
|
+
*/
|
|
820
|
+
os: string;
|
|
821
|
+
/**
|
|
822
|
+
* Variant of the platform (e.g., v7, v8 for ARM).
|
|
823
|
+
*/
|
|
824
|
+
variant?: string;
|
|
825
|
+
};
|
|
826
|
+
/**
|
|
827
|
+
* Layers for this platform.
|
|
828
|
+
*/
|
|
829
|
+
layers?: Array<{
|
|
830
|
+
/**
|
|
831
|
+
* Digest of the layer.
|
|
832
|
+
*/
|
|
833
|
+
digest?: string;
|
|
834
|
+
/**
|
|
835
|
+
* Size of the layer in bytes.
|
|
836
|
+
*/
|
|
837
|
+
size: number;
|
|
838
|
+
}>;
|
|
839
|
+
/**
|
|
840
|
+
* Total size of this platform manifest in bytes.
|
|
841
|
+
*/
|
|
842
|
+
size?: number;
|
|
843
|
+
}>;
|
|
844
|
+
/**
|
|
845
|
+
* Total size of the tag in bytes.
|
|
846
|
+
*/
|
|
847
|
+
size: number;
|
|
848
|
+
/**
|
|
849
|
+
* Registry region.
|
|
850
|
+
*/
|
|
851
|
+
region: string;
|
|
852
|
+
/**
|
|
853
|
+
* Repository name.
|
|
854
|
+
*/
|
|
855
|
+
repository: string;
|
|
856
|
+
/**
|
|
857
|
+
* Full URI of the tag.
|
|
858
|
+
*/
|
|
859
|
+
uri: string;
|
|
860
|
+
};
|
|
861
|
+
export type TicketAttachment = {
|
|
862
|
+
/**
|
|
863
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
864
|
+
*/
|
|
865
|
+
id: string;
|
|
866
|
+
/**
|
|
867
|
+
* Original filename as uploaded.
|
|
868
|
+
*/
|
|
869
|
+
filename: string;
|
|
870
|
+
/**
|
|
871
|
+
* MIME content type of the attachment.
|
|
872
|
+
*/
|
|
873
|
+
content_type: string;
|
|
874
|
+
/**
|
|
875
|
+
* Size of the attachment in bytes.
|
|
876
|
+
*/
|
|
877
|
+
size: number;
|
|
878
|
+
};
|
|
879
|
+
export type TicketCreateInput = {
|
|
880
|
+
/**
|
|
881
|
+
* Ticket category. Drives auto-assignment and may carry a subcategory in `properties`.
|
|
882
|
+
*/
|
|
883
|
+
category: 'billing' | 'technical' | 'general';
|
|
884
|
+
/**
|
|
885
|
+
* Initial message body in markdown. There is no separate subject — the first message body is the description.
|
|
886
|
+
*/
|
|
887
|
+
body: string;
|
|
888
|
+
/**
|
|
889
|
+
* Free-form key/value bag set by the UI (e.g. `subcategory`, `cluster_id`, `cluster_name`, `region`).
|
|
890
|
+
*/
|
|
891
|
+
properties?: {
|
|
892
|
+
[key: string]: unknown;
|
|
893
|
+
};
|
|
894
|
+
};
|
|
895
|
+
export type TicketListResponse = {
|
|
896
|
+
/**
|
|
897
|
+
* Tickets for the organization, ordered newest first. Messages are omitted from list responses.
|
|
898
|
+
*/
|
|
899
|
+
items: Array<{
|
|
900
|
+
/**
|
|
901
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
902
|
+
*/
|
|
903
|
+
id: string;
|
|
904
|
+
/**
|
|
905
|
+
* Current state of the ticket.
|
|
906
|
+
*/
|
|
907
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
908
|
+
/**
|
|
909
|
+
* Ticket category.
|
|
910
|
+
*/
|
|
911
|
+
category: 'billing' | 'technical' | 'general';
|
|
912
|
+
/**
|
|
913
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
914
|
+
*/
|
|
915
|
+
summary: string;
|
|
916
|
+
/**
|
|
917
|
+
* Closure timestamp. Null while the ticket is open.
|
|
918
|
+
*/
|
|
919
|
+
closed_at?: string;
|
|
920
|
+
/**
|
|
921
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
922
|
+
*/
|
|
923
|
+
date_created: string;
|
|
924
|
+
/**
|
|
925
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
926
|
+
*/
|
|
927
|
+
date_updated: string;
|
|
928
|
+
/**
|
|
929
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
930
|
+
*/
|
|
931
|
+
messages?: Array<{
|
|
932
|
+
/**
|
|
933
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
934
|
+
*/
|
|
935
|
+
id: string;
|
|
936
|
+
/**
|
|
937
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
938
|
+
*/
|
|
939
|
+
type: 'customer_reply' | 'agent_reply';
|
|
940
|
+
/**
|
|
941
|
+
* Message body in markdown.
|
|
942
|
+
*/
|
|
943
|
+
body: string;
|
|
944
|
+
/**
|
|
945
|
+
* First name of the author. Null when not provided.
|
|
946
|
+
*/
|
|
947
|
+
author_first_name?: string;
|
|
948
|
+
/**
|
|
949
|
+
* Last name of the author. Null when not provided.
|
|
950
|
+
*/
|
|
951
|
+
author_last_name?: string;
|
|
952
|
+
/**
|
|
953
|
+
* Attachments associated with this message.
|
|
954
|
+
*/
|
|
955
|
+
attachments?: Array<{
|
|
956
|
+
/**
|
|
957
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
958
|
+
*/
|
|
959
|
+
id: string;
|
|
960
|
+
/**
|
|
961
|
+
* Original filename as uploaded.
|
|
962
|
+
*/
|
|
963
|
+
filename: string;
|
|
964
|
+
/**
|
|
965
|
+
* MIME content type of the attachment.
|
|
966
|
+
*/
|
|
967
|
+
content_type: string;
|
|
968
|
+
/**
|
|
969
|
+
* Size of the attachment in bytes.
|
|
970
|
+
*/
|
|
971
|
+
size: number;
|
|
972
|
+
}>;
|
|
973
|
+
/**
|
|
974
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
975
|
+
*/
|
|
976
|
+
date_created: string;
|
|
977
|
+
}>;
|
|
978
|
+
}>;
|
|
979
|
+
};
|
|
980
|
+
export type TicketMessageInput = {
|
|
981
|
+
/**
|
|
982
|
+
* Reply body in markdown.
|
|
983
|
+
*/
|
|
984
|
+
body: string;
|
|
985
|
+
};
|
|
986
|
+
export type TicketMessage = {
|
|
987
|
+
/**
|
|
988
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
989
|
+
*/
|
|
990
|
+
id: string;
|
|
991
|
+
/**
|
|
992
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
993
|
+
*/
|
|
994
|
+
type: 'customer_reply' | 'agent_reply';
|
|
995
|
+
/**
|
|
996
|
+
* Message body in markdown.
|
|
997
|
+
*/
|
|
998
|
+
body: string;
|
|
999
|
+
/**
|
|
1000
|
+
* First name of the author. Null when not provided.
|
|
1001
|
+
*/
|
|
1002
|
+
author_first_name?: string;
|
|
1003
|
+
/**
|
|
1004
|
+
* Last name of the author. Null when not provided.
|
|
1005
|
+
*/
|
|
1006
|
+
author_last_name?: string;
|
|
1007
|
+
/**
|
|
1008
|
+
* Attachments associated with this message.
|
|
1009
|
+
*/
|
|
1010
|
+
attachments?: Array<{
|
|
1011
|
+
/**
|
|
1012
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1013
|
+
*/
|
|
1014
|
+
id: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* Original filename as uploaded.
|
|
1017
|
+
*/
|
|
1018
|
+
filename: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* MIME content type of the attachment.
|
|
1021
|
+
*/
|
|
1022
|
+
content_type: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* Size of the attachment in bytes.
|
|
1025
|
+
*/
|
|
1026
|
+
size: number;
|
|
1027
|
+
}>;
|
|
1028
|
+
/**
|
|
1029
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1030
|
+
*/
|
|
1031
|
+
date_created: string;
|
|
1032
|
+
};
|
|
1033
|
+
export type Ticket = {
|
|
1034
|
+
/**
|
|
1035
|
+
* Unique identifier of the ticket (Mongo ObjectId).
|
|
1036
|
+
*/
|
|
1037
|
+
id: string;
|
|
1038
|
+
/**
|
|
1039
|
+
* Current state of the ticket.
|
|
1040
|
+
*/
|
|
1041
|
+
status: 'waiting_on_us' | 'waiting_on_user' | 'closed';
|
|
1042
|
+
/**
|
|
1043
|
+
* Ticket category.
|
|
1044
|
+
*/
|
|
1045
|
+
category: 'billing' | 'technical' | 'general';
|
|
1046
|
+
/**
|
|
1047
|
+
* First 128 characters of the initial message body, with markdown formatting and newlines stripped. Used for ticket list previews.
|
|
1048
|
+
*/
|
|
1049
|
+
summary: string;
|
|
1050
|
+
/**
|
|
1051
|
+
* Closure timestamp. Null while the ticket is open.
|
|
1052
|
+
*/
|
|
1053
|
+
closed_at?: string;
|
|
1054
|
+
/**
|
|
1055
|
+
* Creation date of the ticket. ISO 8601 UTC.
|
|
1056
|
+
*/
|
|
1057
|
+
date_created: string;
|
|
1058
|
+
/**
|
|
1059
|
+
* Last update date of the ticket. ISO 8601 UTC.
|
|
1060
|
+
*/
|
|
1061
|
+
date_updated: string;
|
|
1062
|
+
/**
|
|
1063
|
+
* Messages on the ticket in chronological order. Internal notes are excluded. Returned by the detail endpoint only.
|
|
1064
|
+
*/
|
|
1065
|
+
messages?: Array<{
|
|
1066
|
+
/**
|
|
1067
|
+
* Unique identifier of the message (Mongo ObjectId).
|
|
1068
|
+
*/
|
|
1069
|
+
id: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* Message type. Internal notes are filtered out of customer-facing responses.
|
|
1072
|
+
*/
|
|
1073
|
+
type: 'customer_reply' | 'agent_reply';
|
|
1074
|
+
/**
|
|
1075
|
+
* Message body in markdown.
|
|
1076
|
+
*/
|
|
1077
|
+
body: string;
|
|
1078
|
+
/**
|
|
1079
|
+
* First name of the author. Null when not provided.
|
|
1080
|
+
*/
|
|
1081
|
+
author_first_name?: string;
|
|
1082
|
+
/**
|
|
1083
|
+
* Last name of the author. Null when not provided.
|
|
1084
|
+
*/
|
|
1085
|
+
author_last_name?: string;
|
|
1086
|
+
/**
|
|
1087
|
+
* Attachments associated with this message.
|
|
1088
|
+
*/
|
|
1089
|
+
attachments?: Array<{
|
|
1090
|
+
/**
|
|
1091
|
+
* Unique identifier of the attachment (Mongo ObjectId).
|
|
1092
|
+
*/
|
|
1093
|
+
id: string;
|
|
1094
|
+
/**
|
|
1095
|
+
* Original filename as uploaded.
|
|
1096
|
+
*/
|
|
1097
|
+
filename: string;
|
|
1098
|
+
/**
|
|
1099
|
+
* MIME content type of the attachment.
|
|
1100
|
+
*/
|
|
1101
|
+
content_type: string;
|
|
1102
|
+
/**
|
|
1103
|
+
* Size of the attachment in bytes.
|
|
1104
|
+
*/
|
|
1105
|
+
size: number;
|
|
1106
|
+
}>;
|
|
1107
|
+
/**
|
|
1108
|
+
* Creation date of the message. ISO 8601 UTC.
|
|
1109
|
+
*/
|
|
1110
|
+
date_created: string;
|
|
1111
|
+
}>;
|
|
1112
|
+
};
|
|
616
1113
|
export type TokenCreateInput = {
|
|
617
1114
|
/**
|
|
618
1115
|
* Human readable access token name.
|
|
@@ -655,35 +1152,85 @@ export type TokenUpdateInput = {
|
|
|
655
1152
|
*/
|
|
656
1153
|
role?: 'Administrator' | 'User';
|
|
657
1154
|
};
|
|
1155
|
+
export type UsageFacets = {
|
|
1156
|
+
/**
|
|
1157
|
+
* List of unique cluster IDs
|
|
1158
|
+
*/
|
|
1159
|
+
cluster_id?: Array<string>;
|
|
1160
|
+
/**
|
|
1161
|
+
* List of unique products
|
|
1162
|
+
*/
|
|
1163
|
+
product?: Array<string>;
|
|
1164
|
+
};
|
|
1165
|
+
export type UsageResponse = {
|
|
1166
|
+
/**
|
|
1167
|
+
* Usage data
|
|
1168
|
+
*/
|
|
1169
|
+
data: Array<{
|
|
1170
|
+
/**
|
|
1171
|
+
* Hour of the usage
|
|
1172
|
+
*/
|
|
1173
|
+
hour: string;
|
|
1174
|
+
/**
|
|
1175
|
+
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
1176
|
+
*/
|
|
1177
|
+
cluster_id: string;
|
|
1178
|
+
/**
|
|
1179
|
+
* The product the usage is associated with
|
|
1180
|
+
*/
|
|
1181
|
+
product: string;
|
|
1182
|
+
/**
|
|
1183
|
+
* Consumption
|
|
1184
|
+
*/
|
|
1185
|
+
value: number;
|
|
1186
|
+
/**
|
|
1187
|
+
* Price per unit
|
|
1188
|
+
*/
|
|
1189
|
+
price: number;
|
|
1190
|
+
/**
|
|
1191
|
+
* Total cost
|
|
1192
|
+
*/
|
|
1193
|
+
total: number;
|
|
1194
|
+
}>;
|
|
1195
|
+
/**
|
|
1196
|
+
* Facets for filtering
|
|
1197
|
+
*/
|
|
1198
|
+
facets: {
|
|
1199
|
+
/**
|
|
1200
|
+
* List of unique cluster IDs
|
|
1201
|
+
*/
|
|
1202
|
+
cluster_id?: Array<string>;
|
|
1203
|
+
/**
|
|
1204
|
+
* List of unique products
|
|
1205
|
+
*/
|
|
1206
|
+
product?: Array<string>;
|
|
1207
|
+
};
|
|
1208
|
+
};
|
|
658
1209
|
export type Usage = {
|
|
659
1210
|
/**
|
|
660
1211
|
* Hour of the usage
|
|
661
1212
|
*/
|
|
662
|
-
hour
|
|
1213
|
+
hour: string;
|
|
663
1214
|
/**
|
|
664
1215
|
* Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
|
|
665
1216
|
*/
|
|
666
1217
|
cluster_id: string;
|
|
667
1218
|
/**
|
|
668
|
-
*
|
|
1219
|
+
* The product the usage is associated with
|
|
669
1220
|
*/
|
|
670
|
-
|
|
1221
|
+
product: string;
|
|
671
1222
|
/**
|
|
672
|
-
*
|
|
1223
|
+
* Consumption
|
|
673
1224
|
*/
|
|
674
|
-
|
|
1225
|
+
value: number;
|
|
675
1226
|
/**
|
|
676
|
-
*
|
|
1227
|
+
* Price per unit
|
|
677
1228
|
*/
|
|
678
|
-
|
|
1229
|
+
price: number;
|
|
679
1230
|
/**
|
|
680
|
-
*
|
|
1231
|
+
* Total cost
|
|
681
1232
|
*/
|
|
682
|
-
|
|
683
|
-
cpu: number | '';
|
|
684
|
-
price: number | '';
|
|
685
|
-
value: number | '';
|
|
686
|
-
total: number | '';
|
|
1233
|
+
total: number;
|
|
687
1234
|
};
|
|
688
1235
|
export type UserCreateInput = {
|
|
689
1236
|
/**
|
|
@@ -770,7 +1317,12 @@ export type UserUpdateInput = {
|
|
|
770
1317
|
export type GetUsageData = {
|
|
771
1318
|
body?: never;
|
|
772
1319
|
path?: never;
|
|
773
|
-
query?:
|
|
1320
|
+
query?: {
|
|
1321
|
+
/**
|
|
1322
|
+
* Time granularity for usage aggregation - hourly (Past 48 hours aggregated by hour), daily (Past 30 days aggregated by day), monthly (Past 12 months aggregated by month)
|
|
1323
|
+
*/
|
|
1324
|
+
granularity?: 'hourly' | 'daily' | 'monthly';
|
|
1325
|
+
};
|
|
774
1326
|
url: '/billing/usage';
|
|
775
1327
|
};
|
|
776
1328
|
export type GetUsageErrors = {
|
|
@@ -781,9 +1333,9 @@ export type GetUsageErrors = {
|
|
|
781
1333
|
};
|
|
782
1334
|
export type GetUsageResponses = {
|
|
783
1335
|
/**
|
|
784
|
-
*
|
|
1336
|
+
* Usage data with facets for filtering
|
|
785
1337
|
*/
|
|
786
|
-
200:
|
|
1338
|
+
200: UsageResponse;
|
|
787
1339
|
};
|
|
788
1340
|
export type GetUsageResponse = GetUsageResponses[keyof GetUsageResponses];
|
|
789
1341
|
export type GetPaymentMethodData = {
|
|
@@ -1372,24 +1924,76 @@ export type ListMarketplaceChartsResponses = {
|
|
|
1372
1924
|
200: Array<MarketplaceListing>;
|
|
1373
1925
|
};
|
|
1374
1926
|
export type ListMarketplaceChartsResponse = ListMarketplaceChartsResponses[keyof ListMarketplaceChartsResponses];
|
|
1375
|
-
export type
|
|
1927
|
+
export type GetMarketplaceChartFilesData = {
|
|
1376
1928
|
body?: never;
|
|
1377
1929
|
path: {
|
|
1378
1930
|
/**
|
|
1379
|
-
*
|
|
1931
|
+
* Name of the chart in the marketplace.
|
|
1932
|
+
*/
|
|
1933
|
+
chart_name: string;
|
|
1934
|
+
/**
|
|
1935
|
+
* 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).
|
|
1936
|
+
*/
|
|
1937
|
+
version_channel: string;
|
|
1938
|
+
};
|
|
1939
|
+
query?: never;
|
|
1940
|
+
url: '/marketplace/{chart_name}/files/{version_channel}';
|
|
1941
|
+
};
|
|
1942
|
+
export type GetMarketplaceChartFilesErrors = {
|
|
1943
|
+
/**
|
|
1944
|
+
* Chart not found or no version matches the channel
|
|
1945
|
+
*/
|
|
1946
|
+
404: unknown;
|
|
1947
|
+
};
|
|
1948
|
+
export type GetMarketplaceChartFilesResponses = {
|
|
1949
|
+
/**
|
|
1950
|
+
* Returns an object containing the chart files for the latest matching version.
|
|
1951
|
+
*/
|
|
1952
|
+
200: MarketplaceListingFiles;
|
|
1953
|
+
};
|
|
1954
|
+
export type GetMarketplaceChartFilesResponse = GetMarketplaceChartFilesResponses[keyof GetMarketplaceChartFilesResponses];
|
|
1955
|
+
export type PostMcpData = {
|
|
1956
|
+
/**
|
|
1957
|
+
* JSON-RPC 2.0 request payload
|
|
1958
|
+
*/
|
|
1959
|
+
body: {
|
|
1960
|
+
jsonrpc?: string;
|
|
1961
|
+
method?: string;
|
|
1962
|
+
id?: string | number;
|
|
1963
|
+
/**
|
|
1964
|
+
* Method-specific parameters
|
|
1380
1965
|
*/
|
|
1381
|
-
|
|
1966
|
+
params?: {
|
|
1967
|
+
[key: string]: unknown;
|
|
1968
|
+
};
|
|
1382
1969
|
};
|
|
1970
|
+
path?: never;
|
|
1383
1971
|
query?: never;
|
|
1384
|
-
url: '/
|
|
1972
|
+
url: '/mcp';
|
|
1385
1973
|
};
|
|
1386
|
-
export type
|
|
1974
|
+
export type PostMcpErrors = {
|
|
1387
1975
|
/**
|
|
1388
|
-
*
|
|
1976
|
+
* Not authenticated
|
|
1389
1977
|
*/
|
|
1390
|
-
|
|
1978
|
+
401: unknown;
|
|
1391
1979
|
};
|
|
1392
|
-
export type
|
|
1980
|
+
export type PostMcpResponses = {
|
|
1981
|
+
/**
|
|
1982
|
+
* JSON-RPC 2.0 success or error response
|
|
1983
|
+
*/
|
|
1984
|
+
200: {
|
|
1985
|
+
jsonrpc?: string;
|
|
1986
|
+
id?: string | number;
|
|
1987
|
+
result?: {
|
|
1988
|
+
[key: string]: unknown;
|
|
1989
|
+
};
|
|
1990
|
+
error?: {
|
|
1991
|
+
code?: number;
|
|
1992
|
+
message?: string;
|
|
1993
|
+
};
|
|
1994
|
+
};
|
|
1995
|
+
};
|
|
1996
|
+
export type PostMcpResponse = PostMcpResponses[keyof PostMcpResponses];
|
|
1393
1997
|
export type GetOrganizationData = {
|
|
1394
1998
|
body?: never;
|
|
1395
1999
|
path?: never;
|
|
@@ -1415,6 +2019,249 @@ export type CreateOrganizationResponses = {
|
|
|
1415
2019
|
*/
|
|
1416
2020
|
200: unknown;
|
|
1417
2021
|
};
|
|
2022
|
+
export type ListRepositoriesData = {
|
|
2023
|
+
body?: never;
|
|
2024
|
+
path?: never;
|
|
2025
|
+
query?: never;
|
|
2026
|
+
url: '/registry';
|
|
2027
|
+
};
|
|
2028
|
+
export type ListRepositoriesErrors = {
|
|
2029
|
+
/**
|
|
2030
|
+
* Not authenticated
|
|
2031
|
+
*/
|
|
2032
|
+
401: unknown;
|
|
2033
|
+
/**
|
|
2034
|
+
* Internal server error
|
|
2035
|
+
*/
|
|
2036
|
+
500: unknown;
|
|
2037
|
+
};
|
|
2038
|
+
export type ListRepositoriesResponses = {
|
|
2039
|
+
/**
|
|
2040
|
+
* List of repositories
|
|
2041
|
+
*/
|
|
2042
|
+
200: Array<RegistryRepository>;
|
|
2043
|
+
};
|
|
2044
|
+
export type ListRepositoriesResponse = ListRepositoriesResponses[keyof ListRepositoriesResponses];
|
|
2045
|
+
export type ListTagsData = {
|
|
2046
|
+
body?: never;
|
|
2047
|
+
path: {
|
|
2048
|
+
/**
|
|
2049
|
+
* Region where the repository is located
|
|
2050
|
+
*/
|
|
2051
|
+
region: string;
|
|
2052
|
+
/**
|
|
2053
|
+
* Name of the repository
|
|
2054
|
+
*/
|
|
2055
|
+
repository: string;
|
|
2056
|
+
};
|
|
2057
|
+
query?: never;
|
|
2058
|
+
url: '/registry/{region}/{repository}';
|
|
2059
|
+
};
|
|
2060
|
+
export type ListTagsErrors = {
|
|
2061
|
+
/**
|
|
2062
|
+
* Not authenticated
|
|
2063
|
+
*/
|
|
2064
|
+
401: unknown;
|
|
2065
|
+
/**
|
|
2066
|
+
* Repository not found
|
|
2067
|
+
*/
|
|
2068
|
+
404: unknown;
|
|
2069
|
+
/**
|
|
2070
|
+
* Internal server error
|
|
2071
|
+
*/
|
|
2072
|
+
500: unknown;
|
|
2073
|
+
};
|
|
2074
|
+
export type ListTagsResponses = {
|
|
2075
|
+
/**
|
|
2076
|
+
* Repository with tags
|
|
2077
|
+
*/
|
|
2078
|
+
200: RegistryRepositoryWithTags;
|
|
2079
|
+
};
|
|
2080
|
+
export type ListTagsResponse = ListTagsResponses[keyof ListTagsResponses];
|
|
2081
|
+
export type DeleteTagData = {
|
|
2082
|
+
body?: never;
|
|
2083
|
+
path: {
|
|
2084
|
+
/**
|
|
2085
|
+
* Region where the repository is located
|
|
2086
|
+
*/
|
|
2087
|
+
region: string;
|
|
2088
|
+
/**
|
|
2089
|
+
* Name of the repository
|
|
2090
|
+
*/
|
|
2091
|
+
repository: string;
|
|
2092
|
+
/**
|
|
2093
|
+
* Name of the tag
|
|
2094
|
+
*/
|
|
2095
|
+
tag: string;
|
|
2096
|
+
};
|
|
2097
|
+
query?: never;
|
|
2098
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2099
|
+
};
|
|
2100
|
+
export type DeleteTagErrors = {
|
|
2101
|
+
/**
|
|
2102
|
+
* Not authenticated
|
|
2103
|
+
*/
|
|
2104
|
+
401: unknown;
|
|
2105
|
+
/**
|
|
2106
|
+
* Tag not found
|
|
2107
|
+
*/
|
|
2108
|
+
404: unknown;
|
|
2109
|
+
/**
|
|
2110
|
+
* Internal server error
|
|
2111
|
+
*/
|
|
2112
|
+
500: unknown;
|
|
2113
|
+
};
|
|
2114
|
+
export type DeleteTagResponses = {
|
|
2115
|
+
/**
|
|
2116
|
+
* Tag successfully deleted
|
|
2117
|
+
*/
|
|
2118
|
+
200: unknown;
|
|
2119
|
+
};
|
|
2120
|
+
export type GetTagData = {
|
|
2121
|
+
body?: never;
|
|
2122
|
+
path: {
|
|
2123
|
+
/**
|
|
2124
|
+
* Region where the repository is located
|
|
2125
|
+
*/
|
|
2126
|
+
region: string;
|
|
2127
|
+
/**
|
|
2128
|
+
* Name of the repository
|
|
2129
|
+
*/
|
|
2130
|
+
repository: string;
|
|
2131
|
+
/**
|
|
2132
|
+
* Name of the tag
|
|
2133
|
+
*/
|
|
2134
|
+
tag: string;
|
|
2135
|
+
};
|
|
2136
|
+
query?: never;
|
|
2137
|
+
url: '/registry/{region}/{repository}/{tag}';
|
|
2138
|
+
};
|
|
2139
|
+
export type GetTagErrors = {
|
|
2140
|
+
/**
|
|
2141
|
+
* Not authenticated
|
|
2142
|
+
*/
|
|
2143
|
+
401: unknown;
|
|
2144
|
+
/**
|
|
2145
|
+
* Tag not found
|
|
2146
|
+
*/
|
|
2147
|
+
404: unknown;
|
|
2148
|
+
/**
|
|
2149
|
+
* Internal server error
|
|
2150
|
+
*/
|
|
2151
|
+
500: unknown;
|
|
2152
|
+
};
|
|
2153
|
+
export type GetTagResponses = {
|
|
2154
|
+
/**
|
|
2155
|
+
* Tag details
|
|
2156
|
+
*/
|
|
2157
|
+
200: RegistryTag;
|
|
2158
|
+
};
|
|
2159
|
+
export type GetTagResponse = GetTagResponses[keyof GetTagResponses];
|
|
2160
|
+
export type ListTicketsData = {
|
|
2161
|
+
body?: never;
|
|
2162
|
+
path?: never;
|
|
2163
|
+
query?: never;
|
|
2164
|
+
url: '/tickets';
|
|
2165
|
+
};
|
|
2166
|
+
export type ListTicketsResponses = {
|
|
2167
|
+
/**
|
|
2168
|
+
* Tickets for the organization.
|
|
2169
|
+
*/
|
|
2170
|
+
200: TicketListResponse;
|
|
2171
|
+
};
|
|
2172
|
+
export type ListTicketsResponse = ListTicketsResponses[keyof ListTicketsResponses];
|
|
2173
|
+
export type CreateTicketData = {
|
|
2174
|
+
body: {
|
|
2175
|
+
/**
|
|
2176
|
+
* JSON-encoded TicketCreateInput.
|
|
2177
|
+
*/
|
|
2178
|
+
payload?: string;
|
|
2179
|
+
attachments?: Array<Blob | File>;
|
|
2180
|
+
};
|
|
2181
|
+
path?: never;
|
|
2182
|
+
query?: never;
|
|
2183
|
+
url: '/tickets';
|
|
2184
|
+
};
|
|
2185
|
+
export type CreateTicketResponses = {
|
|
2186
|
+
/**
|
|
2187
|
+
* Ticket created.
|
|
2188
|
+
*/
|
|
2189
|
+
200: Ticket;
|
|
2190
|
+
};
|
|
2191
|
+
export type CreateTicketResponse = CreateTicketResponses[keyof CreateTicketResponses];
|
|
2192
|
+
export type CloseTicketData = {
|
|
2193
|
+
body?: never;
|
|
2194
|
+
path: {
|
|
2195
|
+
ticket_id: string;
|
|
2196
|
+
};
|
|
2197
|
+
query?: never;
|
|
2198
|
+
url: '/tickets/{ticket_id}';
|
|
2199
|
+
};
|
|
2200
|
+
export type CloseTicketResponses = {
|
|
2201
|
+
/**
|
|
2202
|
+
* Ticket closed.
|
|
2203
|
+
*/
|
|
2204
|
+
200: Ticket;
|
|
2205
|
+
};
|
|
2206
|
+
export type CloseTicketResponse = CloseTicketResponses[keyof CloseTicketResponses];
|
|
2207
|
+
export type GetTicketData = {
|
|
2208
|
+
body?: never;
|
|
2209
|
+
path: {
|
|
2210
|
+
ticket_id: string;
|
|
2211
|
+
};
|
|
2212
|
+
query?: never;
|
|
2213
|
+
url: '/tickets/{ticket_id}';
|
|
2214
|
+
};
|
|
2215
|
+
export type GetTicketResponses = {
|
|
2216
|
+
/**
|
|
2217
|
+
* Ticket with messages (internal notes excluded).
|
|
2218
|
+
*/
|
|
2219
|
+
200: Ticket;
|
|
2220
|
+
};
|
|
2221
|
+
export type GetTicketResponse = GetTicketResponses[keyof GetTicketResponses];
|
|
2222
|
+
export type ReplyTicketData = {
|
|
2223
|
+
body: {
|
|
2224
|
+
/**
|
|
2225
|
+
* JSON-encoded TicketMessageInput.
|
|
2226
|
+
*/
|
|
2227
|
+
payload?: string;
|
|
2228
|
+
attachments?: Array<Blob | File>;
|
|
2229
|
+
};
|
|
2230
|
+
path: {
|
|
2231
|
+
ticket_id: string;
|
|
2232
|
+
};
|
|
2233
|
+
query?: never;
|
|
2234
|
+
url: '/tickets/{ticket_id}/messages';
|
|
2235
|
+
};
|
|
2236
|
+
export type ReplyTicketErrors = {
|
|
2237
|
+
/**
|
|
2238
|
+
* Ticket is closed. Open a new ticket instead.
|
|
2239
|
+
*/
|
|
2240
|
+
409: unknown;
|
|
2241
|
+
};
|
|
2242
|
+
export type ReplyTicketResponses = {
|
|
2243
|
+
/**
|
|
2244
|
+
* Reply appended.
|
|
2245
|
+
*/
|
|
2246
|
+
200: TicketMessage;
|
|
2247
|
+
};
|
|
2248
|
+
export type ReplyTicketResponse = ReplyTicketResponses[keyof ReplyTicketResponses];
|
|
2249
|
+
export type GetTicketAttachmentData = {
|
|
2250
|
+
body?: never;
|
|
2251
|
+
path: {
|
|
2252
|
+
ticket_id: string;
|
|
2253
|
+
attachment_id: string;
|
|
2254
|
+
};
|
|
2255
|
+
query?: never;
|
|
2256
|
+
url: '/tickets/{ticket_id}/attachments/{attachment_id}';
|
|
2257
|
+
};
|
|
2258
|
+
export type GetTicketAttachmentResponses = {
|
|
2259
|
+
/**
|
|
2260
|
+
* Attachment binary stream.
|
|
2261
|
+
*/
|
|
2262
|
+
200: Blob | File;
|
|
2263
|
+
};
|
|
2264
|
+
export type GetTicketAttachmentResponse = GetTicketAttachmentResponses[keyof GetTicketAttachmentResponses];
|
|
1418
2265
|
export type ListTokensData = {
|
|
1419
2266
|
body?: never;
|
|
1420
2267
|
path?: never;
|