@cloudfleet/sdk 0.0.1-48f3efe → 0.0.1-523e444

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.
Files changed (68) hide show
  1. package/dist/client/client.gen.d.ts +3 -0
  2. package/dist/client/client.gen.d.ts.map +1 -0
  3. package/dist/client/client.gen.js +205 -0
  4. package/dist/client/client.gen.js.map +1 -0
  5. package/dist/client/index.d.ts +9 -0
  6. package/dist/client/index.d.ts.map +1 -0
  7. package/dist/client/index.js +7 -0
  8. package/dist/client/index.js.map +1 -0
  9. package/dist/client/types.gen.d.ts +125 -0
  10. package/dist/client/types.gen.d.ts.map +1 -0
  11. package/dist/client/types.gen.js +3 -0
  12. package/dist/client/types.gen.js.map +1 -0
  13. package/dist/client/utils.gen.d.ts +34 -0
  14. package/dist/client/utils.gen.d.ts.map +1 -0
  15. package/dist/client/utils.gen.js +231 -0
  16. package/dist/client/utils.gen.js.map +1 -0
  17. package/dist/client.gen.d.ts +4 -4
  18. package/dist/client.gen.d.ts.map +1 -1
  19. package/dist/client.gen.js +1 -1
  20. package/dist/client.gen.js.map +1 -1
  21. package/dist/core/auth.gen.d.ts +19 -0
  22. package/dist/core/auth.gen.d.ts.map +1 -0
  23. package/dist/core/auth.gen.js +15 -0
  24. package/dist/core/auth.gen.js.map +1 -0
  25. package/dist/core/bodySerializer.gen.d.ts +18 -0
  26. package/dist/core/bodySerializer.gen.d.ts.map +1 -0
  27. package/dist/core/bodySerializer.gen.js +58 -0
  28. package/dist/core/bodySerializer.gen.js.map +1 -0
  29. package/dist/core/params.gen.d.ts +34 -0
  30. package/dist/core/params.gen.d.ts.map +1 -0
  31. package/dist/core/params.gen.js +89 -0
  32. package/dist/core/params.gen.js.map +1 -0
  33. package/dist/core/pathSerializer.gen.d.ts +34 -0
  34. package/dist/core/pathSerializer.gen.d.ts.map +1 -0
  35. package/dist/core/pathSerializer.gen.js +115 -0
  36. package/dist/core/pathSerializer.gen.js.map +1 -0
  37. package/dist/core/queryKeySerializer.gen.d.ts +19 -0
  38. package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
  39. package/dist/core/queryKeySerializer.gen.js +100 -0
  40. package/dist/core/queryKeySerializer.gen.js.map +1 -0
  41. package/dist/core/serverSentEvents.gen.d.ts +72 -0
  42. package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
  43. package/dist/core/serverSentEvents.gen.js +136 -0
  44. package/dist/core/serverSentEvents.gen.js.map +1 -0
  45. package/dist/core/types.gen.d.ts +79 -0
  46. package/dist/core/types.gen.d.ts.map +1 -0
  47. package/dist/core/types.gen.js +3 -0
  48. package/dist/core/types.gen.js.map +1 -0
  49. package/dist/core/utils.gen.d.ts +20 -0
  50. package/dist/core/utils.gen.d.ts.map +1 -0
  51. package/dist/core/utils.gen.js +88 -0
  52. package/dist/core/utils.gen.js.map +1 -0
  53. package/dist/schemas.gen.d.ts +69 -361
  54. package/dist/schemas.gen.d.ts.map +1 -1
  55. package/dist/schemas.gen.js +71 -375
  56. package/dist/schemas.gen.js.map +1 -1
  57. package/dist/sdk.gen.d.ts +92 -67
  58. package/dist/sdk.gen.d.ts.map +1 -1
  59. package/dist/sdk.gen.js +104 -82
  60. package/dist/sdk.gen.js.map +1 -1
  61. package/dist/services/kubernetes/api.d.ts +12 -12
  62. package/dist/types.gen.d.ts +48 -290
  63. package/dist/types.gen.d.ts.map +1 -1
  64. package/dist/zod.gen.d.ts +1596 -2065
  65. package/dist/zod.gen.d.ts.map +1 -1
  66. package/dist/zod.gen.js +546 -707
  67. package/dist/zod.gen.js.map +1 -1
  68. package/package.json +5 -6
@@ -57,15 +57,10 @@ export declare const BillingContactSchema: {
57
57
  readonly description: "Email address used for billing as a string.";
58
58
  readonly example: "email@example.com";
59
59
  };
60
- readonly first_name: {
61
- readonly type: "string";
62
- readonly description: "First name of the billing contact person.";
63
- readonly example: "John";
64
- };
65
- readonly last_name: {
60
+ readonly individual_name: {
66
61
  readonly type: "string";
67
- readonly description: "Last name of the billing contact person.";
68
- readonly example: "Doe";
62
+ readonly description: "Name of the billing contact person.";
63
+ readonly example: "John Doe";
69
64
  };
70
65
  readonly tax_id: {
71
66
  readonly type: "string";
@@ -81,7 +76,7 @@ export declare const BillingContactSchema: {
81
76
  readonly enum: readonly ["ad_nrt", "ae_trn", "al_tin", "am_tin", "ao_tin", "ar_cuit", "at_vat", "au_abn", "au_arn", "ba_tin", "bb_tin", "be_vat", "bg_uic", "bg_vat", "bh_vat", "bo_tin", "br_cnpj", "br_cpf", "bs_tin", "by_tin", "ca_bn", "ca_gst_hst", "ca_pst_bc", "ca_pst_mb", "ca_pst_sk", "ca_qst", "cd_nif", "ch_uid", "ch_vat", "cl_tin", "cn_tin", "co_nit", "cr_tin", "cy_vat", "cz_vat", "de_stn", "de_vat", "dk_vat", "do_rcn", "ec_ruc", "ee_vat", "eg_tin", "es_cif", "es_vat", "eu_oss_vat", "fi_vat", "fr_vat", "gb_vat", "ge_vat", "gn_nif", "gr_vat", "hk_br", "hr_oib", "hr_vat", "hu_tin", "hu_vat", "id_npwp", "ie_vat", "il_vat", "in_gst", "is_vat", "it_vat", "jp_cn", "jp_rn", "jp_trn", "ke_pin", "kh_tin", "kr_brn", "kz_bin", "li_uid", "li_vat", "lt_vat", "lu_vat", "lv_vat", "ma_vat", "md_vat", "me_pib", "mk_vat", "mr_nif", "mt_vat", "mx_rfc", "my_frp", "my_itn", "my_sst", "ng_tin", "nl_vat", "no_vat", "no_voec", "np_pan", "nz_gst", "om_vat", "pe_ruc", "ph_tin", "pl_vat", "pt_vat", "ro_tin", "ro_vat", "rs_pib", "ru_inn", "ru_kpp", "sa_vat", "se_vat", "sg_gst", "sg_uen", "si_tin", "si_vat", "sk_vat", "sn_ninea", "sr_fin", "sv_nit", "th_vat", "tj_tin", "tr_tin", "tw_vat", "tz_vat", "ua_vat", "ug_tin", "us_ein", "uy_ruc", "uz_tin", "uz_vat", "ve_rif", "vn_tin", "xi_vat", "za_vat", "zm_tin", "zw_tin", ""];
82
77
  };
83
78
  };
84
- readonly required: readonly ["email", "first_name", "last_name"];
79
+ readonly required: readonly ["email", "individual_name"];
85
80
  readonly additionalProperties: false;
86
81
  };
87
82
  export declare const BillingCreditsSchema: {
@@ -92,10 +87,22 @@ export declare const BillingCreditsSchema: {
92
87
  readonly description: "Generated unique identifier of the promotional code.";
93
88
  readonly example: "7kUZnH7nnKUFfvc4NK2KQF";
94
89
  };
95
- readonly date_created: {
90
+ readonly type: {
91
+ readonly type: "string";
92
+ readonly description: "Type of the promotional code.";
93
+ readonly example: "credit";
94
+ readonly enum: readonly ["credit", "discount"];
95
+ };
96
+ readonly date_start: {
96
97
  readonly type: "string";
97
98
  readonly format: "date-time";
98
- readonly description: "Date of the credit application. ISO 8601 date string in the UTC timezone.";
99
+ readonly description: "Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.";
100
+ readonly example: "2023-12-20T13:53:32.000Z";
101
+ };
102
+ readonly date_end: {
103
+ readonly type: "string";
104
+ readonly format: "date-time";
105
+ readonly description: "Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.";
99
106
  readonly example: "2023-12-20T13:53:32.000Z";
100
107
  };
101
108
  readonly code: {
@@ -108,40 +115,20 @@ export declare const BillingCreditsSchema: {
108
115
  readonly description: "Description of the promotional code.";
109
116
  readonly example: "10% off on all products";
110
117
  };
111
- readonly products: {
112
- readonly type: "array";
113
- readonly items: {
114
- readonly type: "string";
115
- };
116
- readonly description: "List of product SKUs that the promotional code can be used on.";
117
- readonly example: readonly ["cfke_controlplane", "cfke_connected_nodes", "infra_compute", "infra_storage", "infra_loadbalancing", "infra_traffic", "cfcr_storage"];
118
- };
119
- readonly type: {
120
- readonly type: "string";
121
- readonly description: "Type of the promotional code.";
122
- readonly example: "credit";
123
- readonly enum: readonly ["credit", "discount"];
124
- };
125
- readonly value: {
118
+ readonly value_total: {
126
119
  readonly type: "number";
127
120
  readonly format: "float";
128
- readonly description: "Value of the promotional code.";
121
+ readonly description: "Total value of the promotional code.";
129
122
  readonly example: 10;
130
123
  };
131
- readonly billing_period: {
132
- readonly type: "string";
133
- readonly format: "date-time";
134
- readonly description: "Date of the billing cycle. An ISO 8601 date string in the UTC timezone.";
135
- readonly example: "2023-12-20T13:53:32.000Z";
136
- };
137
124
  readonly value_remaining: {
138
125
  readonly type: "number";
139
126
  readonly format: "float";
140
- readonly description: "Value of the promotional code.";
141
- readonly example: 10;
127
+ readonly description: "Remaining value of the promotional code.";
128
+ readonly example: 8;
142
129
  };
143
130
  };
144
- readonly required: readonly ["date_created", "code", "type", "value", "billing_period"];
131
+ readonly required: readonly ["type", "date_start", "code", "value_total"];
145
132
  readonly additionalProperties: false;
146
133
  };
147
134
  export declare const ChartCreateInputSchema: {
@@ -280,19 +267,19 @@ export declare const ClusterCreateInputSchema: {
280
267
  readonly description: "Name of the cluster.";
281
268
  readonly example: "production-cluster";
282
269
  };
283
- readonly region: {
284
- readonly type: "string";
285
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
286
- readonly default: "staging";
287
- readonly example: "northamerica-central-1";
288
- readonly enum: readonly ["staging", "northamerica-central-1"];
289
- };
290
270
  readonly tier: {
291
271
  readonly type: "string";
292
272
  readonly description: "Tier of the cluster.";
293
273
  readonly example: "pro";
294
274
  readonly enum: readonly ["basic", "pro"];
295
275
  };
276
+ readonly region: {
277
+ readonly type: "string";
278
+ readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
279
+ readonly default: "staging";
280
+ readonly example: "northamerica-central-1a";
281
+ readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
282
+ };
296
283
  readonly version_channel: {
297
284
  readonly type: "string";
298
285
  readonly pattern: "^(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-]+)*))?$";
@@ -346,8 +333,13 @@ export declare const ClusterJoinInformationSchema: {
346
333
  readonly description: "Containerd version of the cluster.";
347
334
  readonly example: "1.7.19";
348
335
  };
336
+ readonly nvidia_driver: {
337
+ readonly type: "string";
338
+ readonly description: "NVIDIA driver version of the cluster.";
339
+ readonly example: "565.0.0";
340
+ };
349
341
  };
350
- readonly required: readonly ["kubernetes", "tailscale", "containerd"];
342
+ readonly required: readonly ["kubernetes", "tailscale", "containerd", "nvidia_driver"];
351
343
  readonly additionalProperties: false;
352
344
  readonly description: "Versions of the different components of the cluster.";
353
345
  };
@@ -389,19 +381,19 @@ export declare const ClusterSchema: {
389
381
  readonly description: "Name of the cluster.";
390
382
  readonly example: "production-cluster";
391
383
  };
392
- readonly region: {
393
- readonly type: "string";
394
- readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\". This field can not be updated after creation.";
395
- readonly default: "staging";
396
- readonly example: "northamerica-central-1";
397
- readonly enum: readonly ["staging", "northamerica-central-1"];
398
- };
399
384
  readonly tier: {
400
385
  readonly type: "string";
401
386
  readonly description: "Tier of the cluster.";
402
387
  readonly example: "pro";
403
388
  readonly enum: readonly ["basic", "pro"];
404
389
  };
390
+ readonly region: {
391
+ readonly type: "string";
392
+ readonly description: "Cloudfleet control plane region. One of \"staging\", \"northamerica-central-1\", \"europe-central-1a\", \"northamerica-central-1a\". This field can not be updated after creation.";
393
+ readonly default: "staging";
394
+ readonly example: "northamerica-central-1a";
395
+ readonly enum: readonly ["staging", "northamerica-central-1", "europe-central-1a", "northamerica-central-1a"];
396
+ };
405
397
  readonly version_channel: {
406
398
  readonly type: "string";
407
399
  readonly pattern: "^(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-]+)*))?$";
@@ -419,7 +411,7 @@ export declare const ClusterSchema: {
419
411
  readonly type: "string";
420
412
  readonly description: "Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.";
421
413
  readonly example: "active";
422
- readonly enum: readonly ["active", "deleted", "creating", "deployed", "failed", "updating"];
414
+ readonly enum: readonly ["active", "disabled", "deleted", "creating", "deployed", "failed", "updating"];
423
415
  };
424
416
  readonly endpoint: {
425
417
  readonly anyOf: readonly [{
@@ -472,6 +464,12 @@ export declare const ClusterUpdateInputSchema: {
472
464
  readonly description: "Name of the cluster.";
473
465
  readonly example: "production-cluster";
474
466
  };
467
+ readonly tier: {
468
+ readonly type: "string";
469
+ readonly description: "Tier of the cluster.";
470
+ readonly example: "pro";
471
+ readonly enum: readonly ["basic", "pro"];
472
+ };
475
473
  readonly version_channel: {
476
474
  readonly type: "string";
477
475
  readonly pattern: "^(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-]+)*))?$";
@@ -479,6 +477,7 @@ export declare const ClusterUpdateInputSchema: {
479
477
  readonly example: "1.29.x-cfke.x";
480
478
  };
481
479
  };
480
+ readonly required: readonly ["tier"];
482
481
  readonly additionalProperties: false;
483
482
  };
484
483
  export declare const FleetCreateInputSchema: {
@@ -738,19 +737,15 @@ export declare const InvoiceSchema: {
738
737
  readonly description: "Unique identifier of the invoice. UUID v4 string in canonical form";
739
738
  readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
740
739
  };
741
- readonly organizationId: {
740
+ readonly number: {
742
741
  readonly type: "string";
743
- readonly format: "uuid";
744
- readonly description: "Unique identifier of the organization. UUID v4 string in canonical form";
745
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
746
742
  };
747
743
  readonly status: {
748
744
  readonly type: "string";
749
745
  readonly description: "Status of the invoice";
750
- readonly example: "DRAFT";
751
- readonly enum: readonly ["DRAFT", "COMMITTED", "VOID"];
746
+ readonly example: "paid";
752
747
  };
753
- readonly amount: {
748
+ readonly total: {
754
749
  readonly type: "number";
755
750
  readonly format: "float";
756
751
  readonly description: "Total amount of the invoice";
@@ -759,318 +754,31 @@ export declare const InvoiceSchema: {
759
754
  readonly currency: {
760
755
  readonly type: "string";
761
756
  readonly description: "Currency of the invoice";
762
- readonly example: "USD";
763
- readonly enum: readonly ["AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SPL", "SRD", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TVD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "YER", "ZAR", "ZMW", "ZWD", "BTC"];
764
- };
765
- readonly creditAdj: {
766
- readonly type: "number";
767
- readonly format: "float";
768
- readonly description: "Total amount of credit adjustments";
769
- readonly example: 0;
757
+ readonly example: "usd";
770
758
  };
771
- readonly refundAdj: {
772
- readonly type: "number";
773
- readonly format: "float";
774
- readonly description: "Total amount of refund adjustments";
775
- readonly example: 0;
776
- };
777
- readonly invoiceDate: {
759
+ readonly created: {
778
760
  readonly type: "string";
779
- readonly description: "Date of the invoice";
780
- readonly example: "2019-01-01T00:00:00.000Z";
761
+ readonly format: "date-time";
762
+ readonly description: "Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.";
763
+ readonly example: "2023-12-20T13:53:32.000Z";
781
764
  };
782
- readonly targetDate: {
765
+ readonly period_start: {
783
766
  readonly type: "string";
784
- readonly description: "Target date of the invoice";
785
- readonly example: "2019-01-01T00:00:00.000Z";
767
+ readonly format: "date-time";
768
+ readonly description: "Billing period start timestamp. ISO 8601 date string in the UTC timezone.";
769
+ readonly example: "2023-12-20T13:53:32.000Z";
786
770
  };
787
- readonly invoiceNumber: {
771
+ readonly period_end: {
788
772
  readonly type: "string";
789
- readonly description: "Number of the invoice";
790
- readonly example: "INV-0001";
791
- };
792
- readonly balance: {
793
- readonly type: "number";
794
- readonly format: "float";
795
- readonly description: "Balance of the invoice";
796
- readonly example: 100;
773
+ readonly format: "date-time";
774
+ readonly description: "Billing period end timestamp. ISO 8601 date string in the UTC timezone.";
775
+ readonly example: "2023-12-20T13:53:32.000Z";
797
776
  };
798
- readonly bundleKeys: {
777
+ readonly invoice_pdf: {
799
778
  readonly type: "string";
800
- readonly description: "Bundle keys of the invoice";
801
- readonly example: "bundleKey1,bundleKey2";
802
- };
803
- readonly credits: {
804
- readonly type: "array";
805
- readonly items: {
806
- readonly type: "object";
807
- readonly properties: {
808
- readonly id: {
809
- readonly type: "string";
810
- readonly format: "uuid";
811
- readonly description: "Unique identifier of the invoice item. UUID v4 string in canonical form";
812
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
813
- };
814
- readonly linkedInvoiceItemId: {
815
- readonly type: "string";
816
- readonly format: "uuid";
817
- readonly description: "Unique identifier of the linked invoice item. UUID v4 string in canonical form";
818
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
819
- };
820
- readonly productName: {
821
- readonly type: "string";
822
- readonly description: "Name of the product";
823
- readonly example: "Research team";
824
- };
825
- readonly planName: {
826
- readonly type: "string";
827
- readonly description: "Name of the plan";
828
- readonly example: "Plan A";
829
- };
830
- readonly phaseName: {
831
- readonly type: "string";
832
- readonly description: "Name of the phase";
833
- readonly example: "Phase A";
834
- };
835
- readonly usageName: {
836
- readonly type: "string";
837
- readonly description: "Name of the usage";
838
- readonly example: "Usage A";
839
- };
840
- readonly prettyProductName: {
841
- readonly type: "string";
842
- readonly description: "Pretty name of the product";
843
- readonly example: "Research team";
844
- };
845
- readonly prettyPlanName: {
846
- readonly type: "string";
847
- readonly description: "Pretty name of the plan";
848
- readonly example: "Plan A";
849
- };
850
- readonly prettyPhaseName: {
851
- readonly type: "string";
852
- readonly description: "Pretty name of the phase";
853
- readonly example: "Phase A";
854
- };
855
- readonly prettyUsageName: {
856
- readonly type: "string";
857
- readonly description: "Pretty name of the usage";
858
- readonly example: "Usage A";
859
- };
860
- readonly itemType: {
861
- readonly type: "string";
862
- readonly description: "Type of the invoice item";
863
- readonly example: "EXTERNAL_CHARGE";
864
- readonly enum: readonly ["EXTERNAL_CHARGE", "FIXED", "RECURRING", "REPAIR_ADJ", "CBA_ADJ", "CREDIT_ADJ", "ITEM_ADJ", "USAGE", "TAX", "PARENT_SUMMARY"];
865
- };
866
- readonly description: {
867
- readonly type: "string";
868
- readonly description: "Description of the invoice item";
869
- readonly example: "Description of the invoice item";
870
- };
871
- readonly startDate: {
872
- readonly type: "string";
873
- readonly description: "Start date of the invoice item";
874
- readonly example: "2019-01-01T00:00:00.000Z";
875
- };
876
- readonly endDate: {
877
- readonly type: "string";
878
- readonly description: "End date of the invoice item";
879
- readonly example: "2019-01-01T00:00:00.000Z";
880
- };
881
- readonly amount: {
882
- readonly type: "number";
883
- readonly format: "float";
884
- readonly description: "Amount of the invoice item";
885
- readonly example: 100;
886
- };
887
- readonly rate: {
888
- readonly type: "number";
889
- readonly format: "float";
890
- readonly description: "Rate of the invoice item";
891
- readonly example: 100;
892
- };
893
- readonly currency: {
894
- readonly type: "string";
895
- readonly description: "Currency of the invoice item";
896
- readonly example: "USD";
897
- readonly enum: readonly ["AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SPL", "SRD", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TVD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "YER", "ZAR", "ZMW", "ZWD", "BTC"];
898
- };
899
- readonly quantity: {
900
- readonly type: "number";
901
- readonly format: "float";
902
- readonly description: "Quantity of the invoice item";
903
- readonly example: 1;
904
- };
905
- readonly itemDetails: {
906
- readonly type: "string";
907
- readonly description: "Details of the invoice item";
908
- readonly example: "Details of the invoice item";
909
- };
910
- readonly catalogEffectiveDate: {
911
- readonly type: "string";
912
- readonly description: "Effective date of the catalog";
913
- readonly example: "2019-01-01T00:00:00.000Z";
914
- };
915
- readonly childItems: {
916
- readonly type: "array";
917
- readonly items: {
918
- readonly oneOf: readonly [{
919
- readonly type: "array";
920
- }, {
921
- readonly type: "boolean";
922
- }, {
923
- readonly type: "number";
924
- }, {
925
- readonly type: "object";
926
- readonly additionalProperties: true;
927
- }, {
928
- readonly type: "string";
929
- }];
930
- };
931
- readonly description: "Child items of the invoice item";
932
- };
933
- };
934
- readonly additionalProperties: false;
935
- };
936
- readonly description: "Credits of the invoice";
937
- };
938
- readonly items: {
939
- readonly type: "array";
940
- readonly items: {
941
- readonly type: "object";
942
- readonly properties: {
943
- readonly id: {
944
- readonly type: "string";
945
- readonly format: "uuid";
946
- readonly description: "Unique identifier of the invoice item. UUID v4 string in canonical form";
947
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
948
- };
949
- readonly linkedInvoiceItemId: {
950
- readonly type: "string";
951
- readonly format: "uuid";
952
- readonly description: "Unique identifier of the linked invoice item. UUID v4 string in canonical form";
953
- readonly example: "415026b6-f00f-44f8-968d-fc6ef4d0fc6d";
954
- };
955
- readonly productName: {
956
- readonly type: "string";
957
- readonly description: "Name of the product";
958
- readonly example: "Research team";
959
- };
960
- readonly planName: {
961
- readonly type: "string";
962
- readonly description: "Name of the plan";
963
- readonly example: "Plan A";
964
- };
965
- readonly phaseName: {
966
- readonly type: "string";
967
- readonly description: "Name of the phase";
968
- readonly example: "Phase A";
969
- };
970
- readonly usageName: {
971
- readonly type: "string";
972
- readonly description: "Name of the usage";
973
- readonly example: "Usage A";
974
- };
975
- readonly prettyProductName: {
976
- readonly type: "string";
977
- readonly description: "Pretty name of the product";
978
- readonly example: "Research team";
979
- };
980
- readonly prettyPlanName: {
981
- readonly type: "string";
982
- readonly description: "Pretty name of the plan";
983
- readonly example: "Plan A";
984
- };
985
- readonly prettyPhaseName: {
986
- readonly type: "string";
987
- readonly description: "Pretty name of the phase";
988
- readonly example: "Phase A";
989
- };
990
- readonly prettyUsageName: {
991
- readonly type: "string";
992
- readonly description: "Pretty name of the usage";
993
- readonly example: "Usage A";
994
- };
995
- readonly itemType: {
996
- readonly type: "string";
997
- readonly description: "Type of the invoice item";
998
- readonly example: "EXTERNAL_CHARGE";
999
- readonly enum: readonly ["EXTERNAL_CHARGE", "FIXED", "RECURRING", "REPAIR_ADJ", "CBA_ADJ", "CREDIT_ADJ", "ITEM_ADJ", "USAGE", "TAX", "PARENT_SUMMARY"];
1000
- };
1001
- readonly description: {
1002
- readonly type: "string";
1003
- readonly description: "Description of the invoice item";
1004
- readonly example: "Description of the invoice item";
1005
- };
1006
- readonly startDate: {
1007
- readonly type: "string";
1008
- readonly description: "Start date of the invoice item";
1009
- readonly example: "2019-01-01T00:00:00.000Z";
1010
- };
1011
- readonly endDate: {
1012
- readonly type: "string";
1013
- readonly description: "End date of the invoice item";
1014
- readonly example: "2019-01-01T00:00:00.000Z";
1015
- };
1016
- readonly amount: {
1017
- readonly type: "number";
1018
- readonly format: "float";
1019
- readonly description: "Amount of the invoice item";
1020
- readonly example: 100;
1021
- };
1022
- readonly rate: {
1023
- readonly type: "number";
1024
- readonly format: "float";
1025
- readonly description: "Rate of the invoice item";
1026
- readonly example: 100;
1027
- };
1028
- readonly currency: {
1029
- readonly type: "string";
1030
- readonly description: "Currency of the invoice item";
1031
- readonly example: "USD";
1032
- readonly enum: readonly ["AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SPL", "SRD", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TVD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "YER", "ZAR", "ZMW", "ZWD", "BTC"];
1033
- };
1034
- readonly quantity: {
1035
- readonly type: "number";
1036
- readonly format: "float";
1037
- readonly description: "Quantity of the invoice item";
1038
- readonly example: 1;
1039
- };
1040
- readonly itemDetails: {
1041
- readonly type: "string";
1042
- readonly description: "Details of the invoice item";
1043
- readonly example: "Details of the invoice item";
1044
- };
1045
- readonly catalogEffectiveDate: {
1046
- readonly type: "string";
1047
- readonly description: "Effective date of the catalog";
1048
- readonly example: "2019-01-01T00:00:00.000Z";
1049
- };
1050
- readonly childItems: {
1051
- readonly type: "array";
1052
- readonly items: {
1053
- readonly oneOf: readonly [{
1054
- readonly type: "array";
1055
- }, {
1056
- readonly type: "boolean";
1057
- }, {
1058
- readonly type: "number";
1059
- }, {
1060
- readonly type: "object";
1061
- readonly additionalProperties: true;
1062
- }, {
1063
- readonly type: "string";
1064
- }];
1065
- };
1066
- readonly description: "Child items of the invoice item";
1067
- };
1068
- };
1069
- readonly additionalProperties: false;
1070
- };
1071
- readonly description: "Items of the invoice";
1072
779
  };
1073
780
  };
781
+ readonly required: readonly ["created", "period_start", "period_end"];
1074
782
  readonly additionalProperties: false;
1075
783
  };
1076
784
  export declare const MarketplaceListingSchema: {
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.gen.d.ts","sourceRoot":"","sources":["../src/schemas.gen.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFvB,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2DvB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCzB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkEd,CAAC;AAE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