@cloudfleet/sdk 0.0.1-11060fb → 0.0.1-13073f9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/client.gen.d.ts +3 -0
- package/dist/client/client.gen.d.ts.map +1 -0
- package/dist/client/client.gen.js +205 -0
- package/dist/client/client.gen.js.map +1 -0
- package/dist/client/index.d.ts +9 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +7 -0
- package/dist/client/index.js.map +1 -0
- package/dist/client/types.gen.d.ts +125 -0
- package/dist/client/types.gen.d.ts.map +1 -0
- package/dist/client/types.gen.js +3 -0
- package/dist/client/types.gen.js.map +1 -0
- package/dist/client/utils.gen.d.ts +34 -0
- package/dist/client/utils.gen.d.ts.map +1 -0
- package/dist/client/utils.gen.js +231 -0
- package/dist/client/utils.gen.js.map +1 -0
- package/dist/client.gen.d.ts +4 -4
- package/dist/client.gen.d.ts.map +1 -1
- package/dist/client.gen.js +1 -1
- package/dist/client.gen.js.map +1 -1
- package/dist/core/auth.gen.d.ts +19 -0
- package/dist/core/auth.gen.d.ts.map +1 -0
- package/dist/core/auth.gen.js +15 -0
- package/dist/core/auth.gen.js.map +1 -0
- package/dist/core/bodySerializer.gen.d.ts +18 -0
- package/dist/core/bodySerializer.gen.d.ts.map +1 -0
- package/dist/core/bodySerializer.gen.js +58 -0
- package/dist/core/bodySerializer.gen.js.map +1 -0
- package/dist/core/params.gen.d.ts +34 -0
- package/dist/core/params.gen.d.ts.map +1 -0
- package/dist/core/params.gen.js +89 -0
- package/dist/core/params.gen.js.map +1 -0
- package/dist/core/pathSerializer.gen.d.ts +34 -0
- package/dist/core/pathSerializer.gen.d.ts.map +1 -0
- package/dist/core/pathSerializer.gen.js +115 -0
- package/dist/core/pathSerializer.gen.js.map +1 -0
- package/dist/core/queryKeySerializer.gen.d.ts +19 -0
- package/dist/core/queryKeySerializer.gen.d.ts.map +1 -0
- package/dist/core/queryKeySerializer.gen.js +100 -0
- package/dist/core/queryKeySerializer.gen.js.map +1 -0
- package/dist/core/serverSentEvents.gen.d.ts +72 -0
- package/dist/core/serverSentEvents.gen.d.ts.map +1 -0
- package/dist/core/serverSentEvents.gen.js +136 -0
- package/dist/core/serverSentEvents.gen.js.map +1 -0
- package/dist/core/types.gen.d.ts +79 -0
- package/dist/core/types.gen.d.ts.map +1 -0
- package/dist/core/types.gen.js +3 -0
- package/dist/core/types.gen.js.map +1 -0
- package/dist/core/utils.gen.d.ts +20 -0
- package/dist/core/utils.gen.d.ts.map +1 -0
- package/dist/core/utils.gen.js +88 -0
- package/dist/core/utils.gen.js.map +1 -0
- package/dist/schemas.gen.d.ts +538 -577
- package/dist/schemas.gen.d.ts.map +1 -1
- package/dist/schemas.gen.js +478 -550
- package/dist/schemas.gen.js.map +1 -1
- package/dist/sdk.gen.d.ts +137 -74
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +179 -90
- package/dist/sdk.gen.js.map +1 -1
- package/dist/services/kubernetes/api.d.ts +12 -12
- package/dist/types.gen.d.ts +469 -330
- package/dist/types.gen.d.ts.map +1 -1
- package/dist/zod.gen.d.ts +1743 -2178
- package/dist/zod.gen.d.ts.map +1 -1
- package/dist/zod.gen.js +701 -780
- package/dist/zod.gen.js.map +1 -1
- package/package.json +5 -6
package/dist/schemas.gen.js
CHANGED
|
@@ -58,15 +58,10 @@ export const BillingContactSchema = {
|
|
|
58
58
|
description: 'Email address used for billing as a string.',
|
|
59
59
|
example: 'email@example.com'
|
|
60
60
|
},
|
|
61
|
-
|
|
62
|
-
type: 'string',
|
|
63
|
-
description: 'First name of the billing contact person.',
|
|
64
|
-
example: 'John'
|
|
65
|
-
},
|
|
66
|
-
last_name: {
|
|
61
|
+
individual_name: {
|
|
67
62
|
type: 'string',
|
|
68
|
-
description: '
|
|
69
|
-
example: 'Doe'
|
|
63
|
+
description: 'Name of the billing contact person.',
|
|
64
|
+
example: 'John Doe'
|
|
70
65
|
},
|
|
71
66
|
tax_id: {
|
|
72
67
|
type: 'string',
|
|
@@ -82,7 +77,7 @@ export const BillingContactSchema = {
|
|
|
82
77
|
enum: ['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', '']
|
|
83
78
|
}
|
|
84
79
|
},
|
|
85
|
-
required: ['email', '
|
|
80
|
+
required: ['email', 'individual_name'],
|
|
86
81
|
additionalProperties: false
|
|
87
82
|
};
|
|
88
83
|
export const BillingCreditsSchema = {
|
|
@@ -93,10 +88,22 @@ export const BillingCreditsSchema = {
|
|
|
93
88
|
description: 'Generated unique identifier of the promotional code.',
|
|
94
89
|
example: '7kUZnH7nnKUFfvc4NK2KQF'
|
|
95
90
|
},
|
|
96
|
-
|
|
91
|
+
type: {
|
|
92
|
+
type: 'string',
|
|
93
|
+
description: 'Type of the promotional code.',
|
|
94
|
+
example: 'credit',
|
|
95
|
+
enum: ['credit', 'discount']
|
|
96
|
+
},
|
|
97
|
+
date_start: {
|
|
98
|
+
type: 'string',
|
|
99
|
+
format: 'date-time',
|
|
100
|
+
description: 'Timestamp when the credit becomes active. ISO 8601 date string in the UTC timezone.',
|
|
101
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
102
|
+
},
|
|
103
|
+
date_end: {
|
|
97
104
|
type: 'string',
|
|
98
105
|
format: 'date-time',
|
|
99
|
-
description: '
|
|
106
|
+
description: 'Timestamp when the credit expires or becomes inactive. ISO 8601 date string in the UTC timezone.',
|
|
100
107
|
example: '2023-12-20T13:53:32.000Z'
|
|
101
108
|
},
|
|
102
109
|
code: {
|
|
@@ -109,40 +116,20 @@ export const BillingCreditsSchema = {
|
|
|
109
116
|
description: 'Description of the promotional code.',
|
|
110
117
|
example: '10% off on all products'
|
|
111
118
|
},
|
|
112
|
-
|
|
113
|
-
type: 'array',
|
|
114
|
-
items: {
|
|
115
|
-
type: 'string'
|
|
116
|
-
},
|
|
117
|
-
description: 'List of product SKUs that the promotional code can be used on.',
|
|
118
|
-
example: ['cfke_controlplane', 'cfke_connected_nodes', 'infra_compute', 'infra_storage', 'infra_loadbalancing', 'infra_traffic', 'cfcr_storage']
|
|
119
|
-
},
|
|
120
|
-
type: {
|
|
121
|
-
type: 'string',
|
|
122
|
-
description: 'Type of the promotional code.',
|
|
123
|
-
example: 'credit',
|
|
124
|
-
enum: ['credit', 'discount']
|
|
125
|
-
},
|
|
126
|
-
value: {
|
|
119
|
+
value_total: {
|
|
127
120
|
type: 'number',
|
|
128
121
|
format: 'float',
|
|
129
|
-
description: '
|
|
122
|
+
description: 'Total value of the promotional code.',
|
|
130
123
|
example: 10
|
|
131
124
|
},
|
|
132
|
-
billing_period: {
|
|
133
|
-
type: 'string',
|
|
134
|
-
format: 'date-time',
|
|
135
|
-
description: 'Date of the billing cycle. An ISO 8601 date string in the UTC timezone.',
|
|
136
|
-
example: '2023-12-20T13:53:32.000Z'
|
|
137
|
-
},
|
|
138
125
|
value_remaining: {
|
|
139
126
|
type: 'number',
|
|
140
127
|
format: 'float',
|
|
141
|
-
description: '
|
|
142
|
-
example:
|
|
128
|
+
description: 'Remaining value of the promotional code.',
|
|
129
|
+
example: 8
|
|
143
130
|
}
|
|
144
131
|
},
|
|
145
|
-
required: ['
|
|
132
|
+
required: ['type', 'date_start', 'code', 'value_total'],
|
|
146
133
|
additionalProperties: false
|
|
147
134
|
};
|
|
148
135
|
export const ChartCreateInputSchema = {
|
|
@@ -281,25 +268,25 @@ export const ClusterCreateInputSchema = {
|
|
|
281
268
|
description: 'Name of the cluster.',
|
|
282
269
|
example: 'production-cluster'
|
|
283
270
|
},
|
|
284
|
-
region: {
|
|
285
|
-
type: 'string',
|
|
286
|
-
description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.',
|
|
287
|
-
default: 'staging',
|
|
288
|
-
example: 'northamerica-central-1',
|
|
289
|
-
enum: ['staging', 'northamerica-central-1']
|
|
290
|
-
},
|
|
291
271
|
tier: {
|
|
292
272
|
type: 'string',
|
|
293
273
|
description: 'Tier of the cluster.',
|
|
294
274
|
example: 'pro',
|
|
295
275
|
enum: ['basic', 'pro']
|
|
296
276
|
},
|
|
277
|
+
region: {
|
|
278
|
+
type: 'string',
|
|
279
|
+
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.',
|
|
280
|
+
default: 'staging',
|
|
281
|
+
example: 'northamerica-central-1a',
|
|
282
|
+
enum: ['staging', 'northamerica-central-1', 'europe-central-1a', 'northamerica-central-1a']
|
|
283
|
+
},
|
|
297
284
|
version_channel: {
|
|
298
285
|
type: 'string',
|
|
299
286
|
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-]+)*))?$',
|
|
300
287
|
description: 'Version of the kubernetes cluster.',
|
|
301
288
|
default: '1.x.x-cfke.x',
|
|
302
|
-
example: '1.
|
|
289
|
+
example: '1.33.x-cfke.x'
|
|
303
290
|
}
|
|
304
291
|
},
|
|
305
292
|
required: ['name', 'tier'],
|
|
@@ -336,7 +323,7 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
336
323
|
kubernetes: {
|
|
337
324
|
type: 'string',
|
|
338
325
|
description: 'Kubernetes version of the cluster.',
|
|
339
|
-
example: '1.
|
|
326
|
+
example: '1.33.7'
|
|
340
327
|
},
|
|
341
328
|
tailscale: {
|
|
342
329
|
type: 'string',
|
|
@@ -347,9 +334,14 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
347
334
|
type: 'string',
|
|
348
335
|
description: 'Containerd version of the cluster.',
|
|
349
336
|
example: '1.7.19'
|
|
337
|
+
},
|
|
338
|
+
nvidia_driver: {
|
|
339
|
+
type: 'string',
|
|
340
|
+
description: 'NVIDIA driver version of the cluster.',
|
|
341
|
+
example: '565.0.0'
|
|
350
342
|
}
|
|
351
343
|
},
|
|
352
|
-
required: ['kubernetes', 'tailscale', 'containerd'],
|
|
344
|
+
required: ['kubernetes', 'tailscale', 'containerd', 'nvidia_driver'],
|
|
353
345
|
additionalProperties: false,
|
|
354
346
|
description: 'Versions of the different components of the cluster.'
|
|
355
347
|
},
|
|
@@ -391,25 +383,25 @@ export const ClusterSchema = {
|
|
|
391
383
|
description: 'Name of the cluster.',
|
|
392
384
|
example: 'production-cluster'
|
|
393
385
|
},
|
|
394
|
-
region: {
|
|
395
|
-
type: 'string',
|
|
396
|
-
description: 'Cloudfleet control plane region. One of "staging", "northamerica-central-1". This field can not be updated after creation.',
|
|
397
|
-
default: 'staging',
|
|
398
|
-
example: 'northamerica-central-1',
|
|
399
|
-
enum: ['staging', 'northamerica-central-1']
|
|
400
|
-
},
|
|
401
386
|
tier: {
|
|
402
387
|
type: 'string',
|
|
403
388
|
description: 'Tier of the cluster.',
|
|
404
389
|
example: 'pro',
|
|
405
390
|
enum: ['basic', 'pro']
|
|
406
391
|
},
|
|
392
|
+
region: {
|
|
393
|
+
type: 'string',
|
|
394
|
+
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.',
|
|
395
|
+
default: 'staging',
|
|
396
|
+
example: 'northamerica-central-1a',
|
|
397
|
+
enum: ['staging', 'northamerica-central-1', 'europe-central-1a', 'northamerica-central-1a']
|
|
398
|
+
},
|
|
407
399
|
version_channel: {
|
|
408
400
|
type: 'string',
|
|
409
401
|
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-]+)*))?$',
|
|
410
402
|
description: 'Version of the kubernetes cluster.',
|
|
411
403
|
default: '1.x.x-cfke.x',
|
|
412
|
-
example: '1.
|
|
404
|
+
example: '1.33.x-cfke.x'
|
|
413
405
|
},
|
|
414
406
|
id: {
|
|
415
407
|
type: 'string',
|
|
@@ -421,7 +413,7 @@ export const ClusterSchema = {
|
|
|
421
413
|
type: 'string',
|
|
422
414
|
description: 'Status of the cluster. When creating a new cluster, set to `active`. When deleting a clusters, set to `deleted`.',
|
|
423
415
|
example: 'active',
|
|
424
|
-
enum: ['active', 'deleted', 'creating', 'deployed', 'failed', 'updating']
|
|
416
|
+
enum: ['active', 'disabled', 'deleted', 'creating', 'deployed', 'failed', 'updating']
|
|
425
417
|
},
|
|
426
418
|
endpoint: {
|
|
427
419
|
anyOf: [
|
|
@@ -446,7 +438,7 @@ MIIC0DCCAbigAwIBAgI...`
|
|
|
446
438
|
version_current: {
|
|
447
439
|
type: 'string',
|
|
448
440
|
description: 'Current version of the cluster.',
|
|
449
|
-
example: '1.
|
|
441
|
+
example: '1.33.7-cfke.264'
|
|
450
442
|
},
|
|
451
443
|
created_at: {
|
|
452
444
|
type: 'string',
|
|
@@ -478,13 +470,20 @@ export const ClusterUpdateInputSchema = {
|
|
|
478
470
|
description: 'Name of the cluster.',
|
|
479
471
|
example: 'production-cluster'
|
|
480
472
|
},
|
|
473
|
+
tier: {
|
|
474
|
+
type: 'string',
|
|
475
|
+
description: 'Tier of the cluster.',
|
|
476
|
+
example: 'pro',
|
|
477
|
+
enum: ['basic', 'pro']
|
|
478
|
+
},
|
|
481
479
|
version_channel: {
|
|
482
480
|
type: 'string',
|
|
483
481
|
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-]+)*))?$',
|
|
484
482
|
description: 'Version of the kubernetes cluster.',
|
|
485
|
-
example: '1.
|
|
483
|
+
example: '1.33.x-cfke.x'
|
|
486
484
|
}
|
|
487
485
|
},
|
|
486
|
+
required: ['tier'],
|
|
488
487
|
additionalProperties: false
|
|
489
488
|
};
|
|
490
489
|
export const FleetCreateInputSchema = {
|
|
@@ -520,34 +519,19 @@ export const FleetCreateInputSchema = {
|
|
|
520
519
|
additionalProperties: false
|
|
521
520
|
},
|
|
522
521
|
hetzner: {
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
type: 'boolean',
|
|
529
|
-
default: true
|
|
530
|
-
},
|
|
531
|
-
apiKey: {
|
|
532
|
-
type: 'string'
|
|
533
|
-
}
|
|
534
|
-
},
|
|
535
|
-
additionalProperties: false
|
|
522
|
+
type: 'object',
|
|
523
|
+
properties: {
|
|
524
|
+
enabled: {
|
|
525
|
+
type: 'boolean',
|
|
526
|
+
default: true
|
|
536
527
|
},
|
|
537
|
-
{
|
|
538
|
-
type: '
|
|
539
|
-
|
|
540
|
-
apiKey: {
|
|
541
|
-
type: 'string'
|
|
542
|
-
},
|
|
543
|
-
enabled: {
|
|
544
|
-
type: 'boolean',
|
|
545
|
-
default: true
|
|
546
|
-
}
|
|
547
|
-
},
|
|
548
|
-
additionalProperties: false
|
|
528
|
+
apiKey: {
|
|
529
|
+
type: 'string',
|
|
530
|
+
description: 'Hetzner Cloud API key with read / write access'
|
|
549
531
|
}
|
|
550
|
-
|
|
532
|
+
},
|
|
533
|
+
required: ['apiKey'],
|
|
534
|
+
additionalProperties: false
|
|
551
535
|
},
|
|
552
536
|
aws: {
|
|
553
537
|
type: 'object',
|
|
@@ -571,14 +555,9 @@ export const FleetCreateInputSchema = {
|
|
|
571
555
|
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
572
556
|
description: 'Unique identifier of the kubernetes fleet.',
|
|
573
557
|
example: 'new-clouds-fleet'
|
|
574
|
-
},
|
|
575
|
-
type: {
|
|
576
|
-
type: 'string',
|
|
577
|
-
description: 'Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.',
|
|
578
|
-
enum: ['managed', 'connected']
|
|
579
558
|
}
|
|
580
559
|
},
|
|
581
|
-
required: ['id'
|
|
560
|
+
required: ['id'],
|
|
582
561
|
additionalProperties: false
|
|
583
562
|
};
|
|
584
563
|
export const FleetSchema = {
|
|
@@ -614,34 +593,19 @@ export const FleetSchema = {
|
|
|
614
593
|
additionalProperties: false
|
|
615
594
|
},
|
|
616
595
|
hetzner: {
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
type: 'boolean',
|
|
623
|
-
default: true
|
|
624
|
-
},
|
|
625
|
-
apiKey: {
|
|
626
|
-
type: 'string'
|
|
627
|
-
}
|
|
628
|
-
},
|
|
629
|
-
additionalProperties: false
|
|
596
|
+
type: 'object',
|
|
597
|
+
properties: {
|
|
598
|
+
enabled: {
|
|
599
|
+
type: 'boolean',
|
|
600
|
+
default: true
|
|
630
601
|
},
|
|
631
|
-
{
|
|
632
|
-
type: '
|
|
633
|
-
|
|
634
|
-
apiKey: {
|
|
635
|
-
type: 'string'
|
|
636
|
-
},
|
|
637
|
-
enabled: {
|
|
638
|
-
type: 'boolean',
|
|
639
|
-
default: true
|
|
640
|
-
}
|
|
641
|
-
},
|
|
642
|
-
additionalProperties: false
|
|
602
|
+
apiKey: {
|
|
603
|
+
type: 'string',
|
|
604
|
+
description: 'Hetzner Cloud API key with read / write access'
|
|
643
605
|
}
|
|
644
|
-
|
|
606
|
+
},
|
|
607
|
+
required: ['apiKey'],
|
|
608
|
+
additionalProperties: false
|
|
645
609
|
},
|
|
646
610
|
aws: {
|
|
647
611
|
type: 'object',
|
|
@@ -665,14 +629,9 @@ export const FleetSchema = {
|
|
|
665
629
|
pattern: '^[a-z0-9]([-a-z0-9]*[a-z0-9])?$',
|
|
666
630
|
description: 'Unique identifier of the kubernetes fleet.',
|
|
667
631
|
example: 'new-clouds-fleet'
|
|
668
|
-
},
|
|
669
|
-
type: {
|
|
670
|
-
type: 'string',
|
|
671
|
-
description: 'Specifies the fleet type: infrastructure managed by Cloudfleet or Connected Fleets.',
|
|
672
|
-
enum: ['managed', 'connected']
|
|
673
632
|
}
|
|
674
633
|
},
|
|
675
|
-
required: ['id'
|
|
634
|
+
required: ['id'],
|
|
676
635
|
additionalProperties: false
|
|
677
636
|
};
|
|
678
637
|
export const FleetUpdateInputSchema = {
|
|
@@ -708,34 +667,19 @@ export const FleetUpdateInputSchema = {
|
|
|
708
667
|
additionalProperties: false
|
|
709
668
|
},
|
|
710
669
|
hetzner: {
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
type: 'boolean',
|
|
717
|
-
default: true
|
|
718
|
-
},
|
|
719
|
-
apiKey: {
|
|
720
|
-
type: 'string'
|
|
721
|
-
}
|
|
722
|
-
},
|
|
723
|
-
additionalProperties: false
|
|
670
|
+
type: 'object',
|
|
671
|
+
properties: {
|
|
672
|
+
enabled: {
|
|
673
|
+
type: 'boolean',
|
|
674
|
+
default: true
|
|
724
675
|
},
|
|
725
|
-
{
|
|
726
|
-
type: '
|
|
727
|
-
|
|
728
|
-
apiKey: {
|
|
729
|
-
type: 'string'
|
|
730
|
-
},
|
|
731
|
-
enabled: {
|
|
732
|
-
type: 'boolean',
|
|
733
|
-
default: true
|
|
734
|
-
}
|
|
735
|
-
},
|
|
736
|
-
additionalProperties: false
|
|
676
|
+
apiKey: {
|
|
677
|
+
type: 'string',
|
|
678
|
+
description: 'Hetzner Cloud API key with read / write access'
|
|
737
679
|
}
|
|
738
|
-
|
|
680
|
+
},
|
|
681
|
+
required: ['apiKey'],
|
|
682
|
+
additionalProperties: false
|
|
739
683
|
},
|
|
740
684
|
aws: {
|
|
741
685
|
type: 'object',
|
|
@@ -799,19 +743,15 @@ export const InvoiceSchema = {
|
|
|
799
743
|
description: 'Unique identifier of the invoice. UUID v4 string in canonical form',
|
|
800
744
|
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
801
745
|
},
|
|
802
|
-
|
|
803
|
-
type: 'string'
|
|
804
|
-
format: 'uuid',
|
|
805
|
-
description: 'Unique identifier of the organization. UUID v4 string in canonical form',
|
|
806
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
746
|
+
number: {
|
|
747
|
+
type: 'string'
|
|
807
748
|
},
|
|
808
749
|
status: {
|
|
809
750
|
type: 'string',
|
|
810
751
|
description: 'Status of the invoice',
|
|
811
|
-
example: '
|
|
812
|
-
enum: ['DRAFT', 'COMMITTED', 'VOID']
|
|
752
|
+
example: 'paid'
|
|
813
753
|
},
|
|
814
|
-
|
|
754
|
+
total: {
|
|
815
755
|
type: 'number',
|
|
816
756
|
format: 'float',
|
|
817
757
|
description: 'Total amount of the invoice',
|
|
@@ -820,330 +760,31 @@ export const InvoiceSchema = {
|
|
|
820
760
|
currency: {
|
|
821
761
|
type: 'string',
|
|
822
762
|
description: 'Currency of the invoice',
|
|
823
|
-
example: '
|
|
824
|
-
enum: ['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']
|
|
825
|
-
},
|
|
826
|
-
creditAdj: {
|
|
827
|
-
type: 'number',
|
|
828
|
-
format: 'float',
|
|
829
|
-
description: 'Total amount of credit adjustments',
|
|
830
|
-
example: 0
|
|
831
|
-
},
|
|
832
|
-
refundAdj: {
|
|
833
|
-
type: 'number',
|
|
834
|
-
format: 'float',
|
|
835
|
-
description: 'Total amount of refund adjustments',
|
|
836
|
-
example: 0
|
|
837
|
-
},
|
|
838
|
-
invoiceDate: {
|
|
839
|
-
type: 'string',
|
|
840
|
-
description: 'Date of the invoice',
|
|
841
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
763
|
+
example: 'usd'
|
|
842
764
|
},
|
|
843
|
-
|
|
765
|
+
created: {
|
|
844
766
|
type: 'string',
|
|
845
|
-
|
|
846
|
-
|
|
767
|
+
format: 'date-time',
|
|
768
|
+
description: 'Timestamp when the invoice was issued. ISO 8601 date string in the UTC timezone.',
|
|
769
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
847
770
|
},
|
|
848
|
-
|
|
771
|
+
period_start: {
|
|
849
772
|
type: 'string',
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
balance: {
|
|
854
|
-
type: 'number',
|
|
855
|
-
format: 'float',
|
|
856
|
-
description: 'Balance of the invoice',
|
|
857
|
-
example: 100
|
|
773
|
+
format: 'date-time',
|
|
774
|
+
description: 'Billing period start timestamp. ISO 8601 date string in the UTC timezone.',
|
|
775
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
858
776
|
},
|
|
859
|
-
|
|
777
|
+
period_end: {
|
|
860
778
|
type: 'string',
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
credits: {
|
|
865
|
-
type: 'array',
|
|
866
|
-
items: {
|
|
867
|
-
type: 'object',
|
|
868
|
-
properties: {
|
|
869
|
-
id: {
|
|
870
|
-
type: 'string',
|
|
871
|
-
format: 'uuid',
|
|
872
|
-
description: 'Unique identifier of the invoice item. UUID v4 string in canonical form',
|
|
873
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
874
|
-
},
|
|
875
|
-
linkedInvoiceItemId: {
|
|
876
|
-
type: 'string',
|
|
877
|
-
format: 'uuid',
|
|
878
|
-
description: 'Unique identifier of the linked invoice item. UUID v4 string in canonical form',
|
|
879
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
880
|
-
},
|
|
881
|
-
productName: {
|
|
882
|
-
type: 'string',
|
|
883
|
-
description: 'Name of the product',
|
|
884
|
-
example: 'Research team'
|
|
885
|
-
},
|
|
886
|
-
planName: {
|
|
887
|
-
type: 'string',
|
|
888
|
-
description: 'Name of the plan',
|
|
889
|
-
example: 'Plan A'
|
|
890
|
-
},
|
|
891
|
-
phaseName: {
|
|
892
|
-
type: 'string',
|
|
893
|
-
description: 'Name of the phase',
|
|
894
|
-
example: 'Phase A'
|
|
895
|
-
},
|
|
896
|
-
usageName: {
|
|
897
|
-
type: 'string',
|
|
898
|
-
description: 'Name of the usage',
|
|
899
|
-
example: 'Usage A'
|
|
900
|
-
},
|
|
901
|
-
prettyProductName: {
|
|
902
|
-
type: 'string',
|
|
903
|
-
description: 'Pretty name of the product',
|
|
904
|
-
example: 'Research team'
|
|
905
|
-
},
|
|
906
|
-
prettyPlanName: {
|
|
907
|
-
type: 'string',
|
|
908
|
-
description: 'Pretty name of the plan',
|
|
909
|
-
example: 'Plan A'
|
|
910
|
-
},
|
|
911
|
-
prettyPhaseName: {
|
|
912
|
-
type: 'string',
|
|
913
|
-
description: 'Pretty name of the phase',
|
|
914
|
-
example: 'Phase A'
|
|
915
|
-
},
|
|
916
|
-
prettyUsageName: {
|
|
917
|
-
type: 'string',
|
|
918
|
-
description: 'Pretty name of the usage',
|
|
919
|
-
example: 'Usage A'
|
|
920
|
-
},
|
|
921
|
-
itemType: {
|
|
922
|
-
type: 'string',
|
|
923
|
-
description: 'Type of the invoice item',
|
|
924
|
-
example: 'EXTERNAL_CHARGE',
|
|
925
|
-
enum: ['EXTERNAL_CHARGE', 'FIXED', 'RECURRING', 'REPAIR_ADJ', 'CBA_ADJ', 'CREDIT_ADJ', 'ITEM_ADJ', 'USAGE', 'TAX', 'PARENT_SUMMARY']
|
|
926
|
-
},
|
|
927
|
-
description: {
|
|
928
|
-
type: 'string',
|
|
929
|
-
description: 'Description of the invoice item',
|
|
930
|
-
example: 'Description of the invoice item'
|
|
931
|
-
},
|
|
932
|
-
startDate: {
|
|
933
|
-
type: 'string',
|
|
934
|
-
description: 'Start date of the invoice item',
|
|
935
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
936
|
-
},
|
|
937
|
-
endDate: {
|
|
938
|
-
type: 'string',
|
|
939
|
-
description: 'End date of the invoice item',
|
|
940
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
941
|
-
},
|
|
942
|
-
amount: {
|
|
943
|
-
type: 'number',
|
|
944
|
-
format: 'float',
|
|
945
|
-
description: 'Amount of the invoice item',
|
|
946
|
-
example: 100
|
|
947
|
-
},
|
|
948
|
-
rate: {
|
|
949
|
-
type: 'number',
|
|
950
|
-
format: 'float',
|
|
951
|
-
description: 'Rate of the invoice item',
|
|
952
|
-
example: 100
|
|
953
|
-
},
|
|
954
|
-
currency: {
|
|
955
|
-
type: 'string',
|
|
956
|
-
description: 'Currency of the invoice item',
|
|
957
|
-
example: 'USD',
|
|
958
|
-
enum: ['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']
|
|
959
|
-
},
|
|
960
|
-
quantity: {
|
|
961
|
-
type: 'number',
|
|
962
|
-
format: 'float',
|
|
963
|
-
description: 'Quantity of the invoice item',
|
|
964
|
-
example: 1
|
|
965
|
-
},
|
|
966
|
-
itemDetails: {
|
|
967
|
-
type: 'string',
|
|
968
|
-
description: 'Details of the invoice item',
|
|
969
|
-
example: 'Details of the invoice item'
|
|
970
|
-
},
|
|
971
|
-
catalogEffectiveDate: {
|
|
972
|
-
type: 'string',
|
|
973
|
-
description: 'Effective date of the catalog',
|
|
974
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
975
|
-
},
|
|
976
|
-
childItems: {
|
|
977
|
-
type: 'array',
|
|
978
|
-
items: {
|
|
979
|
-
oneOf: [
|
|
980
|
-
{
|
|
981
|
-
type: 'array'
|
|
982
|
-
},
|
|
983
|
-
{
|
|
984
|
-
type: 'boolean'
|
|
985
|
-
},
|
|
986
|
-
{
|
|
987
|
-
type: 'number'
|
|
988
|
-
},
|
|
989
|
-
{
|
|
990
|
-
type: 'object',
|
|
991
|
-
additionalProperties: true
|
|
992
|
-
},
|
|
993
|
-
{
|
|
994
|
-
type: 'string'
|
|
995
|
-
}
|
|
996
|
-
]
|
|
997
|
-
},
|
|
998
|
-
description: 'Child items of the invoice item'
|
|
999
|
-
}
|
|
1000
|
-
},
|
|
1001
|
-
additionalProperties: false
|
|
1002
|
-
},
|
|
1003
|
-
description: 'Credits of the invoice'
|
|
779
|
+
format: 'date-time',
|
|
780
|
+
description: 'Billing period end timestamp. ISO 8601 date string in the UTC timezone.',
|
|
781
|
+
example: '2023-12-20T13:53:32.000Z'
|
|
1004
782
|
},
|
|
1005
|
-
|
|
1006
|
-
type: '
|
|
1007
|
-
items: {
|
|
1008
|
-
type: 'object',
|
|
1009
|
-
properties: {
|
|
1010
|
-
id: {
|
|
1011
|
-
type: 'string',
|
|
1012
|
-
format: 'uuid',
|
|
1013
|
-
description: 'Unique identifier of the invoice item. UUID v4 string in canonical form',
|
|
1014
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
1015
|
-
},
|
|
1016
|
-
linkedInvoiceItemId: {
|
|
1017
|
-
type: 'string',
|
|
1018
|
-
format: 'uuid',
|
|
1019
|
-
description: 'Unique identifier of the linked invoice item. UUID v4 string in canonical form',
|
|
1020
|
-
example: '415026b6-f00f-44f8-968d-fc6ef4d0fc6d'
|
|
1021
|
-
},
|
|
1022
|
-
productName: {
|
|
1023
|
-
type: 'string',
|
|
1024
|
-
description: 'Name of the product',
|
|
1025
|
-
example: 'Research team'
|
|
1026
|
-
},
|
|
1027
|
-
planName: {
|
|
1028
|
-
type: 'string',
|
|
1029
|
-
description: 'Name of the plan',
|
|
1030
|
-
example: 'Plan A'
|
|
1031
|
-
},
|
|
1032
|
-
phaseName: {
|
|
1033
|
-
type: 'string',
|
|
1034
|
-
description: 'Name of the phase',
|
|
1035
|
-
example: 'Phase A'
|
|
1036
|
-
},
|
|
1037
|
-
usageName: {
|
|
1038
|
-
type: 'string',
|
|
1039
|
-
description: 'Name of the usage',
|
|
1040
|
-
example: 'Usage A'
|
|
1041
|
-
},
|
|
1042
|
-
prettyProductName: {
|
|
1043
|
-
type: 'string',
|
|
1044
|
-
description: 'Pretty name of the product',
|
|
1045
|
-
example: 'Research team'
|
|
1046
|
-
},
|
|
1047
|
-
prettyPlanName: {
|
|
1048
|
-
type: 'string',
|
|
1049
|
-
description: 'Pretty name of the plan',
|
|
1050
|
-
example: 'Plan A'
|
|
1051
|
-
},
|
|
1052
|
-
prettyPhaseName: {
|
|
1053
|
-
type: 'string',
|
|
1054
|
-
description: 'Pretty name of the phase',
|
|
1055
|
-
example: 'Phase A'
|
|
1056
|
-
},
|
|
1057
|
-
prettyUsageName: {
|
|
1058
|
-
type: 'string',
|
|
1059
|
-
description: 'Pretty name of the usage',
|
|
1060
|
-
example: 'Usage A'
|
|
1061
|
-
},
|
|
1062
|
-
itemType: {
|
|
1063
|
-
type: 'string',
|
|
1064
|
-
description: 'Type of the invoice item',
|
|
1065
|
-
example: 'EXTERNAL_CHARGE',
|
|
1066
|
-
enum: ['EXTERNAL_CHARGE', 'FIXED', 'RECURRING', 'REPAIR_ADJ', 'CBA_ADJ', 'CREDIT_ADJ', 'ITEM_ADJ', 'USAGE', 'TAX', 'PARENT_SUMMARY']
|
|
1067
|
-
},
|
|
1068
|
-
description: {
|
|
1069
|
-
type: 'string',
|
|
1070
|
-
description: 'Description of the invoice item',
|
|
1071
|
-
example: 'Description of the invoice item'
|
|
1072
|
-
},
|
|
1073
|
-
startDate: {
|
|
1074
|
-
type: 'string',
|
|
1075
|
-
description: 'Start date of the invoice item',
|
|
1076
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
1077
|
-
},
|
|
1078
|
-
endDate: {
|
|
1079
|
-
type: 'string',
|
|
1080
|
-
description: 'End date of the invoice item',
|
|
1081
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
1082
|
-
},
|
|
1083
|
-
amount: {
|
|
1084
|
-
type: 'number',
|
|
1085
|
-
format: 'float',
|
|
1086
|
-
description: 'Amount of the invoice item',
|
|
1087
|
-
example: 100
|
|
1088
|
-
},
|
|
1089
|
-
rate: {
|
|
1090
|
-
type: 'number',
|
|
1091
|
-
format: 'float',
|
|
1092
|
-
description: 'Rate of the invoice item',
|
|
1093
|
-
example: 100
|
|
1094
|
-
},
|
|
1095
|
-
currency: {
|
|
1096
|
-
type: 'string',
|
|
1097
|
-
description: 'Currency of the invoice item',
|
|
1098
|
-
example: 'USD',
|
|
1099
|
-
enum: ['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']
|
|
1100
|
-
},
|
|
1101
|
-
quantity: {
|
|
1102
|
-
type: 'number',
|
|
1103
|
-
format: 'float',
|
|
1104
|
-
description: 'Quantity of the invoice item',
|
|
1105
|
-
example: 1
|
|
1106
|
-
},
|
|
1107
|
-
itemDetails: {
|
|
1108
|
-
type: 'string',
|
|
1109
|
-
description: 'Details of the invoice item',
|
|
1110
|
-
example: 'Details of the invoice item'
|
|
1111
|
-
},
|
|
1112
|
-
catalogEffectiveDate: {
|
|
1113
|
-
type: 'string',
|
|
1114
|
-
description: 'Effective date of the catalog',
|
|
1115
|
-
example: '2019-01-01T00:00:00.000Z'
|
|
1116
|
-
},
|
|
1117
|
-
childItems: {
|
|
1118
|
-
type: 'array',
|
|
1119
|
-
items: {
|
|
1120
|
-
oneOf: [
|
|
1121
|
-
{
|
|
1122
|
-
type: 'array'
|
|
1123
|
-
},
|
|
1124
|
-
{
|
|
1125
|
-
type: 'boolean'
|
|
1126
|
-
},
|
|
1127
|
-
{
|
|
1128
|
-
type: 'number'
|
|
1129
|
-
},
|
|
1130
|
-
{
|
|
1131
|
-
type: 'object',
|
|
1132
|
-
additionalProperties: true
|
|
1133
|
-
},
|
|
1134
|
-
{
|
|
1135
|
-
type: 'string'
|
|
1136
|
-
}
|
|
1137
|
-
]
|
|
1138
|
-
},
|
|
1139
|
-
description: 'Child items of the invoice item'
|
|
1140
|
-
}
|
|
1141
|
-
},
|
|
1142
|
-
additionalProperties: false
|
|
1143
|
-
},
|
|
1144
|
-
description: 'Items of the invoice'
|
|
783
|
+
invoice_pdf: {
|
|
784
|
+
type: 'string'
|
|
1145
785
|
}
|
|
1146
786
|
},
|
|
787
|
+
required: ['created', 'period_start', 'period_end'],
|
|
1147
788
|
additionalProperties: false
|
|
1148
789
|
};
|
|
1149
790
|
export const MarketplaceListingSchema = {
|
|
@@ -1318,12 +959,6 @@ export const OrganizationSchema = {
|
|
|
1318
959
|
description: 'Maximum number of fleets that can be created per cluster.',
|
|
1319
960
|
example: 999
|
|
1320
961
|
},
|
|
1321
|
-
managed_fleets_cpu_max: {
|
|
1322
|
-
type: 'integer',
|
|
1323
|
-
minimum: 0,
|
|
1324
|
-
description: 'Maximum number of CPU cores per managed fleet.',
|
|
1325
|
-
example: 999
|
|
1326
|
-
},
|
|
1327
962
|
cluster_tiers: {
|
|
1328
963
|
type: 'array',
|
|
1329
964
|
items: {
|
|
@@ -1350,12 +985,12 @@ export const OrganizationSchema = {
|
|
|
1350
985
|
id: {
|
|
1351
986
|
type: 'string',
|
|
1352
987
|
description: 'Id of the control plane version. Used in API calls.',
|
|
1353
|
-
example: '1.
|
|
988
|
+
example: '1.33.x-cfke.x'
|
|
1354
989
|
},
|
|
1355
990
|
label: {
|
|
1356
991
|
type: 'string',
|
|
1357
992
|
description: 'Label of the control plane version. Used in frontent UI.',
|
|
1358
|
-
example: '1.
|
|
993
|
+
example: '1.33.x (Always latest 1.33 patch version)'
|
|
1359
994
|
}
|
|
1360
995
|
},
|
|
1361
996
|
required: ['id', 'label'],
|
|
@@ -1365,7 +1000,7 @@ export const OrganizationSchema = {
|
|
|
1365
1000
|
description: 'List of CFKE control plane versions available for the organization.'
|
|
1366
1001
|
}
|
|
1367
1002
|
},
|
|
1368
|
-
required: ['basic_clusters_max', 'basic_clusters_available', 'pro_clusters_max', 'pro_clusters_available', 'fleets_max', '
|
|
1003
|
+
required: ['basic_clusters_max', 'basic_clusters_available', 'pro_clusters_max', 'pro_clusters_available', 'fleets_max', 'cluster_tiers', 'regions', 'versions'],
|
|
1369
1004
|
additionalProperties: false,
|
|
1370
1005
|
description: 'For security reasons, platform quota is controlled by Cloudfleet and can be updated only by Cloudfleet administrators. Please open a support ticket if you need to change the platform quota.'
|
|
1371
1006
|
},
|
|
@@ -1431,6 +1066,261 @@ export const PaymentMethodSchema = {
|
|
|
1431
1066
|
required: ['id', 'setup', 'type', 'last4', 'exp_month', 'exp_year', 'brand'],
|
|
1432
1067
|
additionalProperties: false
|
|
1433
1068
|
};
|
|
1069
|
+
export const PlatformQuotaSchema = {
|
|
1070
|
+
type: 'object',
|
|
1071
|
+
properties: {
|
|
1072
|
+
basic_clusters_max: {
|
|
1073
|
+
type: 'integer',
|
|
1074
|
+
minimum: 0,
|
|
1075
|
+
description: 'Maximum number of Basic clusters that can be created.',
|
|
1076
|
+
example: 999
|
|
1077
|
+
},
|
|
1078
|
+
basic_clusters_available: {
|
|
1079
|
+
type: 'integer',
|
|
1080
|
+
description: 'Available number of Basic clusters that can be created.',
|
|
1081
|
+
example: 999
|
|
1082
|
+
},
|
|
1083
|
+
pro_clusters_max: {
|
|
1084
|
+
type: 'integer',
|
|
1085
|
+
minimum: 0,
|
|
1086
|
+
description: 'Maximum number of Pro clusters that can be created.',
|
|
1087
|
+
example: 999
|
|
1088
|
+
},
|
|
1089
|
+
pro_clusters_available: {
|
|
1090
|
+
type: 'integer',
|
|
1091
|
+
description: 'Available number of Pro clusters that can be created.',
|
|
1092
|
+
example: 999
|
|
1093
|
+
},
|
|
1094
|
+
fleets_max: {
|
|
1095
|
+
type: 'integer',
|
|
1096
|
+
minimum: 0,
|
|
1097
|
+
description: 'Maximum number of fleets that can be created per cluster.',
|
|
1098
|
+
example: 999
|
|
1099
|
+
},
|
|
1100
|
+
cluster_tiers: {
|
|
1101
|
+
type: 'array',
|
|
1102
|
+
items: {
|
|
1103
|
+
type: 'string',
|
|
1104
|
+
example: 'basic'
|
|
1105
|
+
},
|
|
1106
|
+
minItems: 0,
|
|
1107
|
+
description: 'List of Cloudfleet cluster tiers available for the organization.'
|
|
1108
|
+
},
|
|
1109
|
+
regions: {
|
|
1110
|
+
type: 'array',
|
|
1111
|
+
items: {
|
|
1112
|
+
type: 'string',
|
|
1113
|
+
example: 'northamerica-central-1'
|
|
1114
|
+
},
|
|
1115
|
+
minItems: 1,
|
|
1116
|
+
description: 'List of Cloudfleet control plane regions available for the organization.'
|
|
1117
|
+
},
|
|
1118
|
+
versions: {
|
|
1119
|
+
type: 'array',
|
|
1120
|
+
items: {
|
|
1121
|
+
type: 'object',
|
|
1122
|
+
properties: {
|
|
1123
|
+
id: {
|
|
1124
|
+
type: 'string',
|
|
1125
|
+
description: 'Id of the control plane version. Used in API calls.',
|
|
1126
|
+
example: '1.33.x-cfke.x'
|
|
1127
|
+
},
|
|
1128
|
+
label: {
|
|
1129
|
+
type: 'string',
|
|
1130
|
+
description: 'Label of the control plane version. Used in frontent UI.',
|
|
1131
|
+
example: '1.33.x (Always latest 1.33 patch version)'
|
|
1132
|
+
}
|
|
1133
|
+
},
|
|
1134
|
+
required: ['id', 'label'],
|
|
1135
|
+
additionalProperties: false
|
|
1136
|
+
},
|
|
1137
|
+
minItems: 1,
|
|
1138
|
+
description: 'List of CFKE control plane versions available for the organization.'
|
|
1139
|
+
}
|
|
1140
|
+
},
|
|
1141
|
+
required: ['basic_clusters_max', 'basic_clusters_available', 'pro_clusters_max', 'pro_clusters_available', 'fleets_max', 'cluster_tiers', 'regions', 'versions'],
|
|
1142
|
+
additionalProperties: false
|
|
1143
|
+
};
|
|
1144
|
+
export const RegistryRepositorySchema = {
|
|
1145
|
+
type: 'object',
|
|
1146
|
+
properties: {
|
|
1147
|
+
name: {
|
|
1148
|
+
type: 'string',
|
|
1149
|
+
description: 'Repository name.',
|
|
1150
|
+
example: 'my-app'
|
|
1151
|
+
},
|
|
1152
|
+
region: {
|
|
1153
|
+
type: 'string',
|
|
1154
|
+
description: 'Registry region.',
|
|
1155
|
+
example: 'northamerica'
|
|
1156
|
+
},
|
|
1157
|
+
uri: {
|
|
1158
|
+
type: 'string',
|
|
1159
|
+
description: 'Full URI of the repository.',
|
|
1160
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/v2/my-app'
|
|
1161
|
+
}
|
|
1162
|
+
},
|
|
1163
|
+
required: ['name', 'region', 'uri'],
|
|
1164
|
+
additionalProperties: false
|
|
1165
|
+
};
|
|
1166
|
+
export const RegistryRepositoryWithTagsSchema = {
|
|
1167
|
+
type: 'object',
|
|
1168
|
+
properties: {
|
|
1169
|
+
name: {
|
|
1170
|
+
type: 'string',
|
|
1171
|
+
description: 'Repository name.',
|
|
1172
|
+
example: 'my-app'
|
|
1173
|
+
},
|
|
1174
|
+
region: {
|
|
1175
|
+
type: 'string',
|
|
1176
|
+
description: 'Registry region.',
|
|
1177
|
+
example: 'northamerica'
|
|
1178
|
+
},
|
|
1179
|
+
uri: {
|
|
1180
|
+
type: 'string',
|
|
1181
|
+
description: 'Full URI of the repository.',
|
|
1182
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/v2/my-app'
|
|
1183
|
+
},
|
|
1184
|
+
tags: {
|
|
1185
|
+
type: 'array',
|
|
1186
|
+
items: {
|
|
1187
|
+
type: 'object',
|
|
1188
|
+
properties: {
|
|
1189
|
+
name: {
|
|
1190
|
+
type: 'string',
|
|
1191
|
+
description: 'Tag name.',
|
|
1192
|
+
example: 'latest'
|
|
1193
|
+
},
|
|
1194
|
+
size: {
|
|
1195
|
+
type: 'number',
|
|
1196
|
+
format: 'float',
|
|
1197
|
+
description: 'Size of the tag in bytes.',
|
|
1198
|
+
example: 123456789
|
|
1199
|
+
},
|
|
1200
|
+
mediaType: {
|
|
1201
|
+
type: 'string',
|
|
1202
|
+
description: 'Media type of the manifest.',
|
|
1203
|
+
example: 'application/vnd.docker.distribution.manifest.v2+json'
|
|
1204
|
+
}
|
|
1205
|
+
},
|
|
1206
|
+
required: ['name', 'size'],
|
|
1207
|
+
additionalProperties: false
|
|
1208
|
+
},
|
|
1209
|
+
description: 'Array of tags in the repository.'
|
|
1210
|
+
},
|
|
1211
|
+
totalSize: {
|
|
1212
|
+
type: 'number',
|
|
1213
|
+
format: 'float',
|
|
1214
|
+
description: 'Total size of all tags in the repository in bytes.',
|
|
1215
|
+
example: 987654321
|
|
1216
|
+
}
|
|
1217
|
+
},
|
|
1218
|
+
required: ['name', 'region', 'uri', 'tags', 'totalSize'],
|
|
1219
|
+
additionalProperties: false
|
|
1220
|
+
};
|
|
1221
|
+
export const RegistryTagSchema = {
|
|
1222
|
+
type: 'object',
|
|
1223
|
+
properties: {
|
|
1224
|
+
name: {
|
|
1225
|
+
type: 'string',
|
|
1226
|
+
description: 'Tag name.',
|
|
1227
|
+
example: 'latest'
|
|
1228
|
+
},
|
|
1229
|
+
mediaType: {
|
|
1230
|
+
type: 'string',
|
|
1231
|
+
description: 'Media type of the manifest.',
|
|
1232
|
+
example: 'application/vnd.docker.distribution.manifest.v2+json'
|
|
1233
|
+
},
|
|
1234
|
+
config: {
|
|
1235
|
+
type: 'object',
|
|
1236
|
+
properties: {
|
|
1237
|
+
size: {
|
|
1238
|
+
type: 'number',
|
|
1239
|
+
format: 'float',
|
|
1240
|
+
description: 'Size of the config in bytes.',
|
|
1241
|
+
example: 1234
|
|
1242
|
+
}
|
|
1243
|
+
},
|
|
1244
|
+
required: ['size'],
|
|
1245
|
+
additionalProperties: false,
|
|
1246
|
+
description: 'Manifest config metadata.'
|
|
1247
|
+
},
|
|
1248
|
+
layers: {
|
|
1249
|
+
type: 'array',
|
|
1250
|
+
items: {
|
|
1251
|
+
type: 'object',
|
|
1252
|
+
properties: {
|
|
1253
|
+
size: {
|
|
1254
|
+
type: 'number',
|
|
1255
|
+
format: 'float',
|
|
1256
|
+
description: 'Size of the layer in bytes.',
|
|
1257
|
+
example: 5678
|
|
1258
|
+
}
|
|
1259
|
+
},
|
|
1260
|
+
required: ['size'],
|
|
1261
|
+
additionalProperties: false
|
|
1262
|
+
},
|
|
1263
|
+
description: 'Array of layer metadata.'
|
|
1264
|
+
},
|
|
1265
|
+
manifests: {
|
|
1266
|
+
type: 'array',
|
|
1267
|
+
items: {
|
|
1268
|
+
type: 'object',
|
|
1269
|
+
properties: {
|
|
1270
|
+
digest: {
|
|
1271
|
+
type: 'string',
|
|
1272
|
+
description: 'Digest of the manifest.',
|
|
1273
|
+
example: 'sha256:abcd1234ef567890abcd1234ef567890abcd1234ef567890abcd1234ef567890'
|
|
1274
|
+
},
|
|
1275
|
+
platform: {
|
|
1276
|
+
type: 'object',
|
|
1277
|
+
properties: {
|
|
1278
|
+
architecture: {
|
|
1279
|
+
type: 'string',
|
|
1280
|
+
description: 'Architecture of the platform.',
|
|
1281
|
+
example: 'amd64'
|
|
1282
|
+
},
|
|
1283
|
+
os: {
|
|
1284
|
+
type: 'string',
|
|
1285
|
+
description: 'Operating system of the platform.',
|
|
1286
|
+
example: 'linux'
|
|
1287
|
+
}
|
|
1288
|
+
},
|
|
1289
|
+
required: ['architecture', 'os'],
|
|
1290
|
+
additionalProperties: false,
|
|
1291
|
+
description: 'Platform information for the manifest.'
|
|
1292
|
+
}
|
|
1293
|
+
},
|
|
1294
|
+
required: ['digest'],
|
|
1295
|
+
additionalProperties: false
|
|
1296
|
+
},
|
|
1297
|
+
description: 'Array of manifests for multi-arch images.'
|
|
1298
|
+
},
|
|
1299
|
+
size: {
|
|
1300
|
+
type: 'number',
|
|
1301
|
+
format: 'float',
|
|
1302
|
+
description: 'Total size of the tag in bytes.',
|
|
1303
|
+
example: 123456789
|
|
1304
|
+
},
|
|
1305
|
+
region: {
|
|
1306
|
+
type: 'string',
|
|
1307
|
+
description: 'Registry region.',
|
|
1308
|
+
example: 'northamerica'
|
|
1309
|
+
},
|
|
1310
|
+
repository: {
|
|
1311
|
+
type: 'string',
|
|
1312
|
+
description: 'Repository name.',
|
|
1313
|
+
example: 'my-app'
|
|
1314
|
+
},
|
|
1315
|
+
uri: {
|
|
1316
|
+
type: 'string',
|
|
1317
|
+
description: 'Full URI of the tag.',
|
|
1318
|
+
example: 'ssds123e-6651-4e5d-9c04-079f6532989b.northamerica.registry.cloudfleet.dev/my-app:latest'
|
|
1319
|
+
}
|
|
1320
|
+
},
|
|
1321
|
+
required: ['name', 'size', 'region', 'repository', 'uri'],
|
|
1322
|
+
additionalProperties: false
|
|
1323
|
+
};
|
|
1434
1324
|
export const TokenCreateInputSchema = {
|
|
1435
1325
|
type: 'object',
|
|
1436
1326
|
properties: {
|
|
@@ -1509,6 +1399,101 @@ export const TokenUpdateInputSchema = {
|
|
|
1509
1399
|
},
|
|
1510
1400
|
additionalProperties: false
|
|
1511
1401
|
};
|
|
1402
|
+
export const UsageFacetsSchema = {
|
|
1403
|
+
type: 'object',
|
|
1404
|
+
properties: {
|
|
1405
|
+
cluster_id: {
|
|
1406
|
+
type: 'array',
|
|
1407
|
+
items: {
|
|
1408
|
+
type: 'string'
|
|
1409
|
+
},
|
|
1410
|
+
description: 'List of unique cluster IDs',
|
|
1411
|
+
example: ['6b5439b1-923a-4f2b-a371-d554e5ea23fa']
|
|
1412
|
+
},
|
|
1413
|
+
product: {
|
|
1414
|
+
type: 'array',
|
|
1415
|
+
items: {
|
|
1416
|
+
type: 'string'
|
|
1417
|
+
},
|
|
1418
|
+
description: 'List of unique products',
|
|
1419
|
+
example: ['cfke_controlplane', 'cfke_connected_nodes']
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1422
|
+
additionalProperties: false
|
|
1423
|
+
};
|
|
1424
|
+
export const UsageResponseSchema = {
|
|
1425
|
+
type: 'object',
|
|
1426
|
+
properties: {
|
|
1427
|
+
data: {
|
|
1428
|
+
type: 'array',
|
|
1429
|
+
items: {
|
|
1430
|
+
type: 'object',
|
|
1431
|
+
properties: {
|
|
1432
|
+
hour: {
|
|
1433
|
+
type: 'string',
|
|
1434
|
+
description: 'Hour of the usage',
|
|
1435
|
+
example: '2019-01-01T00:00:00.000Z'
|
|
1436
|
+
},
|
|
1437
|
+
cluster_id: {
|
|
1438
|
+
type: 'string',
|
|
1439
|
+
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
1440
|
+
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
1441
|
+
},
|
|
1442
|
+
product: {
|
|
1443
|
+
type: 'string',
|
|
1444
|
+
description: 'The product the usage is associated with',
|
|
1445
|
+
example: 'cfke_controlplane'
|
|
1446
|
+
},
|
|
1447
|
+
value: {
|
|
1448
|
+
type: 'number',
|
|
1449
|
+
format: 'float',
|
|
1450
|
+
description: 'Consumption',
|
|
1451
|
+
example: 4
|
|
1452
|
+
},
|
|
1453
|
+
price: {
|
|
1454
|
+
type: 'number',
|
|
1455
|
+
format: 'float',
|
|
1456
|
+
description: 'Price per unit',
|
|
1457
|
+
example: 0.01
|
|
1458
|
+
},
|
|
1459
|
+
total: {
|
|
1460
|
+
type: 'number',
|
|
1461
|
+
format: 'float',
|
|
1462
|
+
description: 'Total cost'
|
|
1463
|
+
}
|
|
1464
|
+
},
|
|
1465
|
+
required: ['hour', 'cluster_id', 'product', 'value', 'price', 'total'],
|
|
1466
|
+
additionalProperties: false
|
|
1467
|
+
},
|
|
1468
|
+
description: 'Usage data'
|
|
1469
|
+
},
|
|
1470
|
+
facets: {
|
|
1471
|
+
type: 'object',
|
|
1472
|
+
properties: {
|
|
1473
|
+
cluster_id: {
|
|
1474
|
+
type: 'array',
|
|
1475
|
+
items: {
|
|
1476
|
+
type: 'string'
|
|
1477
|
+
},
|
|
1478
|
+
description: 'List of unique cluster IDs',
|
|
1479
|
+
example: ['6b5439b1-923a-4f2b-a371-d554e5ea23fa']
|
|
1480
|
+
},
|
|
1481
|
+
product: {
|
|
1482
|
+
type: 'array',
|
|
1483
|
+
items: {
|
|
1484
|
+
type: 'string'
|
|
1485
|
+
},
|
|
1486
|
+
description: 'List of unique products',
|
|
1487
|
+
example: ['cfke_controlplane', 'cfke_connected_nodes']
|
|
1488
|
+
}
|
|
1489
|
+
},
|
|
1490
|
+
additionalProperties: false,
|
|
1491
|
+
description: 'Facets for filtering'
|
|
1492
|
+
}
|
|
1493
|
+
},
|
|
1494
|
+
required: ['data', 'facets'],
|
|
1495
|
+
additionalProperties: false
|
|
1496
|
+
};
|
|
1512
1497
|
export const UsageSchema = {
|
|
1513
1498
|
type: 'object',
|
|
1514
1499
|
properties: {
|
|
@@ -1519,90 +1504,33 @@ export const UsageSchema = {
|
|
|
1519
1504
|
},
|
|
1520
1505
|
cluster_id: {
|
|
1521
1506
|
type: 'string',
|
|
1522
|
-
format: 'uuid',
|
|
1523
1507
|
description: 'Unique identifier of the kubernetes cluster. UUID v4 string in canonical form',
|
|
1524
1508
|
example: '6b5439b1-923a-4f2b-a371-d554e5ea23fa'
|
|
1525
1509
|
},
|
|
1526
|
-
cluster_tier: {
|
|
1527
|
-
type: 'string',
|
|
1528
|
-
description: 'Tier of the cluster.',
|
|
1529
|
-
example: 'pro',
|
|
1530
|
-
enum: ['basic', 'pro', '']
|
|
1531
|
-
},
|
|
1532
1510
|
product: {
|
|
1533
1511
|
type: 'string',
|
|
1534
1512
|
description: 'The product the usage is associated with',
|
|
1535
|
-
example: 'cfke_controlplane'
|
|
1536
|
-
enum: ['cfke_controlplane', 'cfke_connected_nodes', 'infra_compute', 'infra_storage', 'infra_loadbalancing', 'infra_traffic', 'cfcr_storage']
|
|
1537
|
-
},
|
|
1538
|
-
node_name: {
|
|
1539
|
-
type: 'string',
|
|
1540
|
-
description: 'Name of the Kubernetes node',
|
|
1541
|
-
example: 'flexible-moth-956037384'
|
|
1513
|
+
example: 'cfke_controlplane'
|
|
1542
1514
|
},
|
|
1543
|
-
|
|
1544
|
-
type: '
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
cpu: {
|
|
1549
|
-
anyOf: [
|
|
1550
|
-
{
|
|
1551
|
-
type: 'number',
|
|
1552
|
-
format: 'float',
|
|
1553
|
-
description: 'CPU core count of the node',
|
|
1554
|
-
example: 4
|
|
1555
|
-
},
|
|
1556
|
-
{
|
|
1557
|
-
type: 'string',
|
|
1558
|
-
enum: ['']
|
|
1559
|
-
}
|
|
1560
|
-
]
|
|
1515
|
+
value: {
|
|
1516
|
+
type: 'number',
|
|
1517
|
+
format: 'float',
|
|
1518
|
+
description: 'Consumption',
|
|
1519
|
+
example: 4
|
|
1561
1520
|
},
|
|
1562
1521
|
price: {
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
description: 'Price',
|
|
1568
|
-
example: 4
|
|
1569
|
-
},
|
|
1570
|
-
{
|
|
1571
|
-
type: 'string',
|
|
1572
|
-
enum: ['']
|
|
1573
|
-
}
|
|
1574
|
-
]
|
|
1575
|
-
},
|
|
1576
|
-
value: {
|
|
1577
|
-
anyOf: [
|
|
1578
|
-
{
|
|
1579
|
-
type: 'number',
|
|
1580
|
-
format: 'float',
|
|
1581
|
-
description: 'Value',
|
|
1582
|
-
example: 4
|
|
1583
|
-
},
|
|
1584
|
-
{
|
|
1585
|
-
type: 'string',
|
|
1586
|
-
enum: ['']
|
|
1587
|
-
}
|
|
1588
|
-
]
|
|
1522
|
+
type: 'number',
|
|
1523
|
+
format: 'float',
|
|
1524
|
+
description: 'Price per unit',
|
|
1525
|
+
example: 0.01
|
|
1589
1526
|
},
|
|
1590
1527
|
total: {
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
format: 'float',
|
|
1595
|
-
description: 'Total',
|
|
1596
|
-
example: 4
|
|
1597
|
-
},
|
|
1598
|
-
{
|
|
1599
|
-
type: 'string',
|
|
1600
|
-
enum: ['']
|
|
1601
|
-
}
|
|
1602
|
-
]
|
|
1528
|
+
type: 'number',
|
|
1529
|
+
format: 'float',
|
|
1530
|
+
description: 'Total cost'
|
|
1603
1531
|
}
|
|
1604
1532
|
},
|
|
1605
|
-
required: ['
|
|
1533
|
+
required: ['hour', 'cluster_id', 'product', 'value', 'price', 'total'],
|
|
1606
1534
|
additionalProperties: false
|
|
1607
1535
|
};
|
|
1608
1536
|
export const UserCreateInputSchema = {
|