@cloudfleet/sdk 0.0.1-f1ad1a5 → 0.0.1-f55e163

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.
@@ -1,3 +1,49 @@
1
+ export type BillingContact = {
2
+ /**
3
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
4
+ */
5
+ company?: string;
6
+ /**
7
+ * Street address, P.O. box, c/o
8
+ */
9
+ address1?: string;
10
+ /**
11
+ * Apartment, suite, unit, building, floor, etc.
12
+ */
13
+ address2?: string;
14
+ /**
15
+ * Postal code as a string.
16
+ */
17
+ postalCode?: string;
18
+ /**
19
+ * City or town name.
20
+ */
21
+ city?: string;
22
+ /**
23
+ * State, province, or region name.
24
+ */
25
+ state?: string;
26
+ /**
27
+ * Country as a ISO 3166-1 alpha-2 country code.
28
+ */
29
+ country?: string;
30
+ /**
31
+ * Phone number as a string.
32
+ */
33
+ phone?: string;
34
+ /**
35
+ * Email address used for billing as a string.
36
+ */
37
+ email: string;
38
+ /**
39
+ * First name of the billing contact person.
40
+ */
41
+ first_name: string;
42
+ /**
43
+ * Last name of the billing contact person.
44
+ */
45
+ last_name: string;
46
+ };
1
47
  export type ClusterCreateInput = {
2
48
  /**
3
49
  * Name of the cluster.
@@ -50,6 +96,23 @@ export type ClusterJoinInformation = {
50
96
  */
51
97
  containerd: string;
52
98
  };
99
+ /**
100
+ * OIDC Information for hosts to access to third party API's.
101
+ */
102
+ third_party_api_access_config: {
103
+ /**
104
+ * Kubernetes metadata server.
105
+ */
106
+ metadata_url: string;
107
+ /**
108
+ * AWS Role ARN.
109
+ */
110
+ aws_role_arn: string;
111
+ /**
112
+ * GCP Workload Identity provider.
113
+ */
114
+ gcp_workload_identity_provider: string;
115
+ };
53
116
  };
54
117
  export type Cluster = {
55
118
  /**
@@ -220,178 +283,6 @@ export type FleetUpdateInput = {
220
283
  controllerRoleArn: string;
221
284
  };
222
285
  };
223
- export type InfrastructureFilter = {
224
- /**
225
- * Version of the infrastructure filter definition. Currently only version 1 is supported.
226
- */
227
- version?: 1;
228
- /**
229
- * Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
230
- */
231
- provider?: Array<string>;
232
- /**
233
- * Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
234
- */
235
- region?: Array<string>;
236
- /**
237
- * Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
238
- */
239
- sub_region?: Array<string>;
240
- /**
241
- * Limits selection of cloud regions to this list of canonical provider regions
242
- */
243
- csp_region?: Array<string>;
244
- /**
245
- * Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
246
- */
247
- instance_type?: Array<string>;
248
- /**
249
- * List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
250
- */
251
- accelerator_name?: Array<string>;
252
- /**
253
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
254
- */
255
- accelerator_manufacturer?: Array<string>;
256
- /**
257
- * Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
258
- */
259
- accelerator_count_min?: number;
260
- /**
261
- * Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
262
- */
263
- accelerator_count_max?: number;
264
- /**
265
- * Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
266
- */
267
- accelerator_memory_min?: number;
268
- /**
269
- * Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
270
- */
271
- accelerator_memory_max?: number;
272
- /**
273
- * Minimum amount of RAM in gibibytes (GiB)
274
- */
275
- memory_min?: number;
276
- /**
277
- * Maximum amount of RAM in gibibytes (GiB)
278
- */
279
- memory_max?: number;
280
- /**
281
- * Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
282
- */
283
- vcpu_min?: number;
284
- /**
285
- * Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
286
- */
287
- vcpu_max?: number;
288
- /**
289
- * Minimum total storage in GiB (attached and local)
290
- */
291
- storage_total_min?: number;
292
- /**
293
- * Maximum total storage in GiB (attached and local)
294
- */
295
- storage_total_max?: number;
296
- /**
297
- * Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
298
- */
299
- storage_local_min?: number;
300
- /**
301
- * Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
302
- */
303
- storage_local_max?: number;
304
- /**
305
- * Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
306
- */
307
- price_min?: number;
308
- /**
309
- * Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
310
- */
311
- price_max?: number;
312
- };
313
- export type InfrastructureInstance = {
314
- /**
315
- * Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.
316
- */
317
- sku: string;
318
- /**
319
- * Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
320
- */
321
- provider: string;
322
- /**
323
- * Normalized region. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
324
- */
325
- region: string;
326
- /**
327
- * Normalized sub-region. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
328
- */
329
- sub_region: string;
330
- /**
331
- * Region as defined by the cloud service provider
332
- */
333
- csp_region: string;
334
- /**
335
- * Availability zone as defined by the cloud service provider
336
- */
337
- csp_zone: string;
338
- /**
339
- * Instance / VM type as defined by the cloud service provider
340
- */
341
- instance_type: string;
342
- /**
343
- * Instance CPU architecture
344
- */
345
- architecture: string;
346
- /**
347
- * Instance operating system
348
- */
349
- os: string;
350
- /**
351
- * CPU count as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
352
- */
353
- vcpu: number;
354
- /**
355
- * Total amount of RAM in gibibytes (GiB)
356
- */
357
- memory: number;
358
- /**
359
- * Volume of directly attached, block-device local storage in gibibytes (GiB)
360
- */
361
- local_storage: number;
362
- /**
363
- * Normalized model name of accelerator. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
364
- */
365
- accelerator_name?: string;
366
- /**
367
- * Normalized manufacturer name of accelerator. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
368
- */
369
- accelerator_manufacturer?: string;
370
- /**
371
- * Number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
372
- */
373
- accelerator_count?: number;
374
- /**
375
- * Ammount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
376
- */
377
- accelerator_memory?: number;
378
- /**
379
- * Maximum number of pods that can be run on this instance type.
380
- */
381
- pods_capacity?: number;
382
- /**
383
- * Capacity type of the instance. E.g. `on-demand`, `spot`.
384
- */
385
- capacity_type?: string;
386
- /**
387
- * Price of running the inctance per hour in USD as defined by the cloud service provider
388
- */
389
- price: number;
390
- /**
391
- * Whether this instance type is available.
392
- */
393
- available?: boolean;
394
- };
395
286
  export type Invite = {
396
287
  /**
397
288
  * Unique identifier of the invitation.
@@ -646,35 +537,7 @@ export type Invoice = {
646
537
  } | string>;
647
538
  }>;
648
539
  };
649
- export type OrganizationContactInfo = {
650
- /**
651
- * Street address, P.O. box, c/o
652
- */
653
- address1?: string;
654
- /**
655
- * Apartment, suite, unit, building, floor, etc.
656
- */
657
- address2?: string;
658
- /**
659
- * Postal code as a string.
660
- */
661
- postalCode?: string;
662
- /**
663
- * City or town name.
664
- */
665
- city?: string;
666
- /**
667
- * State, province, or region name.
668
- */
669
- state?: string;
670
- /**
671
- * Country as a ISO 3166-1 alpha-2 country code.
672
- */
673
- country?: string;
674
- /**
675
- * Phone number as a string.
676
- */
677
- phone?: string;
540
+ export type OrganizationCreateInput = {
678
541
  /**
679
542
  * Email address used for billing as a string.
680
543
  */
@@ -687,116 +550,24 @@ export type OrganizationContactInfo = {
687
550
  * Last name of the billing contact person.
688
551
  */
689
552
  last_name: string;
690
- };
691
- export type OrganizationCreateInput = {
692
553
  /**
693
554
  * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
694
555
  */
695
- name: string;
696
- /**
697
- * Organization contact information and billing address.
698
- */
699
- contactInfo: {
700
- /**
701
- * Street address, P.O. box, c/o
702
- */
703
- address1?: string;
704
- /**
705
- * Apartment, suite, unit, building, floor, etc.
706
- */
707
- address2?: string;
708
- /**
709
- * Postal code as a string.
710
- */
711
- postalCode?: string;
712
- /**
713
- * City or town name.
714
- */
715
- city?: string;
716
- /**
717
- * State, province, or region name.
718
- */
719
- state?: string;
720
- /**
721
- * Country as a ISO 3166-1 alpha-2 country code.
722
- */
723
- country?: string;
724
- /**
725
- * Phone number as a string.
726
- */
727
- phone?: string;
728
- /**
729
- * Email address used for billing as a string.
730
- */
731
- email: string;
732
- /**
733
- * First name of the billing contact person.
734
- */
735
- first_name: string;
736
- /**
737
- * Last name of the billing contact person.
738
- */
739
- last_name: string;
740
- };
556
+ company_name: string;
741
557
  /**
742
558
  * Password for the root account. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
743
559
  */
744
560
  password: string;
745
561
  };
746
562
  export type Organization = {
747
- /**
748
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
749
- */
750
- name: string;
751
- /**
752
- * Organization contact information and billing address.
753
- */
754
- contactInfo: {
755
- /**
756
- * Street address, P.O. box, c/o
757
- */
758
- address1?: string;
759
- /**
760
- * Apartment, suite, unit, building, floor, etc.
761
- */
762
- address2?: string;
763
- /**
764
- * Postal code as a string.
765
- */
766
- postalCode?: string;
767
- /**
768
- * City or town name.
769
- */
770
- city?: string;
771
- /**
772
- * State, province, or region name.
773
- */
774
- state?: string;
775
- /**
776
- * Country as a ISO 3166-1 alpha-2 country code.
777
- */
778
- country?: string;
779
- /**
780
- * Phone number as a string.
781
- */
782
- phone?: string;
783
- /**
784
- * Email address used for billing as a string.
785
- */
786
- email: string;
787
- /**
788
- * First name of the billing contact person.
789
- */
790
- first_name: string;
791
- /**
792
- * Last name of the billing contact person.
793
- */
794
- last_name: string;
795
- };
796
563
  /**
797
564
  * Unique identifier of the organization. UUID v4 string in canonical form
798
565
  */
799
566
  id: string;
567
+ /**
568
+ * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
569
+ */
570
+ name?: string;
800
571
  /**
801
572
  * Creation date of the organization. ISO 8601 date string in UTC timezone
802
573
  */
@@ -851,66 +622,11 @@ export type Organization = {
851
622
  label: string;
852
623
  }>;
853
624
  };
854
- /**
855
- * List of pending actions that the user needs to complete. Used in Cloudfleet console to guide the user through the onboarding process.
856
- */
857
- pending_actions: Array<'signup-billing-address' | 'signup-payment-method' | 'signup-invite-team' | 'signup-create-cluster'>;
858
625
  /**
859
626
  * Status of the organization. Can be `active` or `closed`, or `suspended`.
860
627
  */
861
628
  status: 'active' | 'closed' | 'suspended';
862
629
  };
863
- export type OrganizationUpdateInput = {
864
- /**
865
- * Name of the legal entity. This name will be used in invoices. Use your first and last name for individual accounts.
866
- */
867
- name?: string;
868
- /**
869
- * Organization contact information and billing address.
870
- */
871
- contactInfo: {
872
- /**
873
- * Street address, P.O. box, c/o
874
- */
875
- address1?: string;
876
- /**
877
- * Apartment, suite, unit, building, floor, etc.
878
- */
879
- address2?: string;
880
- /**
881
- * Postal code as a string.
882
- */
883
- postalCode?: string;
884
- /**
885
- * City or town name.
886
- */
887
- city?: string;
888
- /**
889
- * State, province, or region name.
890
- */
891
- state?: string;
892
- /**
893
- * Country as a ISO 3166-1 alpha-2 country code.
894
- */
895
- country?: string;
896
- /**
897
- * Phone number as a string.
898
- */
899
- phone?: string;
900
- /**
901
- * Email address used for billing as a string.
902
- */
903
- email: string;
904
- /**
905
- * First name of the billing contact person.
906
- */
907
- first_name: string;
908
- /**
909
- * Last name of the billing contact person.
910
- */
911
- last_name: string;
912
- };
913
- };
914
630
  export type PaymentMethod = {
915
631
  /**
916
632
  * Unique identifier of the organization. UUID v4 string in canonical form.
@@ -985,18 +701,33 @@ export type TokenUpdateInput = {
985
701
  };
986
702
  export type Usage = {
987
703
  /**
988
- * Unique identifier of the Usage object, equal to subscription id of the task . UUID v4 string in canonical form
704
+ * Hour of the usage
989
705
  */
990
- id: string;
706
+ hour?: string;
991
707
  /**
992
- * Unique identifier of the project. UUID v4 string in canonical form
708
+ * Unique identifier of the kubernetes cluster. UUID v4 string in canonical form
709
+ */
710
+ cluster_id: string;
711
+ /**
712
+ * Tier of the cluster.
993
713
  */
994
- task_id: string;
714
+ cluster_tier: '';
995
715
  /**
996
- * Unit of measurement. E.g. GiB, seconds, etc
716
+ * The product the usage is associated with
997
717
  */
998
- unit: string;
999
- amount: number;
718
+ product: 'cfke_infra_compute' | 'cfke_nodes' | 'cfke_controlplane';
719
+ /**
720
+ * Name of the Kubernetes node
721
+ */
722
+ node_name: string;
723
+ /**
724
+ * SKU of the Kubernetes node
725
+ */
726
+ sku: string;
727
+ cpu: number | '';
728
+ price: number | '';
729
+ value: number | '';
730
+ total: number | '';
1000
731
  };
1001
732
  export type UserCreateInput = {
1002
733
  /**
@@ -1016,7 +747,7 @@ export type UserCreateInput = {
1016
747
  */
1017
748
  code: string;
1018
749
  /**
1019
- * User password. Must be at least 8 characters long and contain at least one uppercase letter, one lowercase letter, one number and one special character.
750
+ * User password. Must be at least 8 characters long.
1020
751
  */
1021
752
  password: string;
1022
753
  /**
@@ -1093,16 +824,7 @@ export type UserUpdateInput = {
1093
824
  export type GetUsageData = {
1094
825
  body?: never;
1095
826
  path?: never;
1096
- query: {
1097
- /**
1098
- * Start date for the usage. Date of oldest data point to retrieve.
1099
- */
1100
- start_date: string;
1101
- /**
1102
- * End date for the usage. Date of newest data point to retrieve.
1103
- */
1104
- end_date: string;
1105
- };
827
+ query?: never;
1106
828
  url: '/billing/usage';
1107
829
  };
1108
830
  export type GetUsageErrors = {
@@ -1217,6 +939,32 @@ export type GetInvoiceResponses = {
1217
939
  };
1218
940
  };
1219
941
  export type GetInvoiceResponse = GetInvoiceResponses[keyof GetInvoiceResponses];
942
+ export type GetContactData = {
943
+ body?: never;
944
+ path?: never;
945
+ query?: never;
946
+ url: '/billing/contact';
947
+ };
948
+ export type GetContactResponses = {
949
+ /**
950
+ * Returns a single object containing organization contact and billing address details.
951
+ */
952
+ 200: BillingContact;
953
+ };
954
+ export type GetContactResponse = GetContactResponses[keyof GetContactResponses];
955
+ export type UpdateContactData = {
956
+ body: BillingContact;
957
+ path?: never;
958
+ query?: never;
959
+ url: '/billing/contact';
960
+ };
961
+ export type UpdateContactResponses = {
962
+ /**
963
+ * Successfully updated. Returns updated organization details.
964
+ */
965
+ 200: BillingContact;
966
+ };
967
+ export type UpdateContactResponse = UpdateContactResponses[keyof UpdateContactResponses];
1220
968
  export type ListFleetsData = {
1221
969
  body?: never;
1222
970
  path: {
@@ -1479,252 +1227,6 @@ export type GetJoinInformationResponses = {
1479
1227
  200: Cluster;
1480
1228
  };
1481
1229
  export type GetJoinInformationResponse = GetJoinInformationResponses[keyof GetJoinInformationResponses];
1482
- export type GetInfrastructureData = {
1483
- body?: never;
1484
- path?: never;
1485
- query?: {
1486
- /**
1487
- * Version of the task definition. Currently only version 1 is supported.
1488
- */
1489
- version?: 1;
1490
- /**
1491
- * Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
1492
- */
1493
- provider?: Array<string>;
1494
- /**
1495
- * Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
1496
- */
1497
- region?: Array<string>;
1498
- /**
1499
- * Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
1500
- */
1501
- sub_region?: Array<string>;
1502
- /**
1503
- * Limits selection of cloud regions to this list of canonical provider regions
1504
- */
1505
- csp_region?: Array<string>;
1506
- /**
1507
- * Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider
1508
- */
1509
- instance_type?: Array<string>;
1510
- /**
1511
- * List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
1512
- */
1513
- accelerator_name?: Array<string>;
1514
- /**
1515
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
1516
- */
1517
- accelerator_manufacturer?: Array<string>;
1518
- /**
1519
- * Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
1520
- */
1521
- accelerator_count_min?: number;
1522
- /**
1523
- * Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
1524
- */
1525
- accelerator_count_max?: number;
1526
- /**
1527
- * Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
1528
- */
1529
- accelerator_memory_min?: number;
1530
- /**
1531
- * Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
1532
- */
1533
- accelerator_memory_max?: number;
1534
- /**
1535
- * Minimum amount of RAM in gibibytes (GiB)
1536
- */
1537
- memory_min?: number;
1538
- /**
1539
- * Maximum amount of RAM in gibibytes (GiB)
1540
- */
1541
- memory_max?: number;
1542
- /**
1543
- * Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
1544
- */
1545
- vcpu_min?: number;
1546
- /**
1547
- * Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
1548
- */
1549
- vcpu_max?: number;
1550
- /**
1551
- * Minimum total storage in GiB (attached and local)
1552
- */
1553
- storage_total_min?: number;
1554
- /**
1555
- * Maximum total storage in GiB (attached and local)
1556
- */
1557
- storage_total_max?: number;
1558
- /**
1559
- * Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
1560
- */
1561
- storage_local_min?: number;
1562
- /**
1563
- * Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
1564
- */
1565
- storage_local_max?: number;
1566
- /**
1567
- * Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1568
- */
1569
- price_min?: number;
1570
- /**
1571
- * Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1572
- */
1573
- price_max?: number;
1574
- };
1575
- url: '/infrastructure';
1576
- };
1577
- export type GetInfrastructureErrors = {
1578
- /**
1579
- * Returns a validation error if any of the search parameters in the request are invalid
1580
- */
1581
- 400: Blob | File;
1582
- };
1583
- export type GetInfrastructureError = GetInfrastructureErrors[keyof GetInfrastructureErrors];
1584
- export type GetInfrastructureResponses = {
1585
- /**
1586
- * An array of instances returned by the search
1587
- */
1588
- 200: Array<InfrastructureInstance>;
1589
- };
1590
- export type GetInfrastructureResponse = GetInfrastructureResponses[keyof GetInfrastructureResponses];
1591
- export type GetFacetsData = {
1592
- body?: never;
1593
- path?: never;
1594
- query?: never;
1595
- url: '/infrastructure/facets';
1596
- };
1597
- export type GetFacetsResponses = {
1598
- /**
1599
- * Calculates search facets of the infrastructure catalog
1600
- */
1601
- 200: Array<{
1602
- /**
1603
- * Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)
1604
- */
1605
- provider?: Array<string>;
1606
- /**
1607
- * Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
1608
- */
1609
- region?: Array<string>;
1610
- /**
1611
- * Limits selection of cloud sub-regions to this list of Cloudfleet sub-regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
1612
- */
1613
- sub_region?: Array<string>;
1614
- /**
1615
- * Limits selection of cloud regions to this list of canonical provider regions
1616
- */
1617
- csp_region?: Array<string>;
1618
- /**
1619
- * Minimum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
1620
- */
1621
- vcpu_min?: number;
1622
- /**
1623
- * Maximum number of vCPUs as defined by the cloud service provider. Some cloud providers use hyperthreading, so the number of vCPUs may be twice as high as the number of physical cores.
1624
- */
1625
- vcpu_max?: number;
1626
- /**
1627
- * Minimum amount of RAM in gibibytes (GiB)
1628
- */
1629
- memory_min?: number;
1630
- /**
1631
- * Maximum amount of RAM in gibibytes (GiB)
1632
- */
1633
- memory_max?: number;
1634
- /**
1635
- * Minimum volume of directly attached, block-device local storage in gibibytes (GiB)
1636
- */
1637
- storage_local_min?: number;
1638
- /**
1639
- * Maximum volume of directly attached, block-device local storage in gibibytes (GiB)
1640
- */
1641
- storage_local_max?: number;
1642
- /**
1643
- * List of Normalized accelerator model names. For example, all variations of Nvidia A100 GPUs will have 'A100' as accelerator name with various memory configurations set in accelerator_memory field
1644
- */
1645
- accelerator_name?: Array<string>;
1646
- /**
1647
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
1648
- */
1649
- accelerator_manufacturer?: Array<string>;
1650
- /**
1651
- * Minimum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
1652
- */
1653
- accelerator_count_min?: number;
1654
- /**
1655
- * Maximum number of accelerators available on the instance. Some cloud providers support shared accelerators, so the number of accelerators may be a fraction of the number of physical accelerators.
1656
- */
1657
- accelerator_count_max?: number;
1658
- /**
1659
- * Minimum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
1660
- */
1661
- accelerator_memory_min?: number;
1662
- /**
1663
- * Maximum amount of accelerator memory available to each accelerator. For example, Nvidia A100 GPUs will typically have '40.0' gibibytes (GiB) of memory, while A100 GPUs with HBM2E memory will have '80.0' gibibytes (GiB) of memory
1664
- */
1665
- accelerator_memory_max?: number;
1666
- /**
1667
- * Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1668
- */
1669
- price_min?: number;
1670
- /**
1671
- * Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.
1672
- */
1673
- price_max?: number;
1674
- /**
1675
- * Structured array of regions and sub-regions
1676
- */
1677
- regions_struct?: Array<{
1678
- /**
1679
- * Limits selection of cloud regions to this list of Cloudfleet regions. For the full list of normalized regions and their mapping to CSP regions, see [Regions](https://cloudfleet.ai/docs/cloud-infrastructure/node-regions/)
1680
- */
1681
- region?: string;
1682
- sub_region?: Array<string>;
1683
- }>;
1684
- /**
1685
- * Structured array of regions and sub-regions
1686
- */
1687
- accelerators_struct?: Array<{
1688
- /**
1689
- * List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer
1690
- */
1691
- accelerator_manufacturer?: string;
1692
- accelerator_name?: Array<string>;
1693
- }>;
1694
- /**
1695
- * Total number of instances in the catalog
1696
- */
1697
- count_total?: number;
1698
- /**
1699
- * Total number of instances in the catalog with at least 1 accelerator
1700
- */
1701
- count_accelerators?: number;
1702
- /**
1703
- * Total number of unique instances types in the catalog
1704
- */
1705
- count_instance_types?: number;
1706
- /**
1707
- * Total number of unique instances types in the catalog with at least 1 accelerator
1708
- */
1709
- count_accelerators_instance_types?: number;
1710
- }>;
1711
- };
1712
- export type GetFacetsResponse = GetFacetsResponses[keyof GetFacetsResponses];
1713
- export type GetRegionsData = {
1714
- body?: never;
1715
- path?: never;
1716
- query?: never;
1717
- url: '/infrastructure/regions';
1718
- };
1719
- export type GetRegionsResponses = {
1720
- /**
1721
- * Available Cloudfleet regions and Kubernetes versions.
1722
- */
1723
- 200: {
1724
- [key: string]: unknown;
1725
- };
1726
- };
1727
- export type GetRegionsResponse = GetRegionsResponses[keyof GetRegionsResponses];
1728
1230
  export type ListInvitesData = {
1729
1231
  body?: never;
1730
1232
  path?: never;
@@ -1818,24 +1320,10 @@ export type CreateOrganizationData = {
1818
1320
  };
1819
1321
  export type CreateOrganizationResponses = {
1820
1322
  /**
1821
- * Successfully created a new organization. Returns organization details.
1323
+ * Successfully created a new organization.
1822
1324
  */
1823
- 200: Organization;
1824
- };
1825
- export type CreateOrganizationResponse = CreateOrganizationResponses[keyof CreateOrganizationResponses];
1826
- export type UpdateOrganizationData = {
1827
- body: OrganizationUpdateInput;
1828
- path?: never;
1829
- query?: never;
1830
- url: '/organization';
1831
- };
1832
- export type UpdateOrganizationResponses = {
1833
- /**
1834
- * Successfully updated. Returns updated organization details.
1835
- */
1836
- 200: Organization;
1325
+ 200: unknown;
1837
1326
  };
1838
- export type UpdateOrganizationResponse = UpdateOrganizationResponses[keyof UpdateOrganizationResponses];
1839
1327
  export type ListTokensData = {
1840
1328
  body?: never;
1841
1329
  path?: never;
@@ -2141,4 +1629,7 @@ export type SetClusterPermissionsResponses = {
2141
1629
  200: User;
2142
1630
  };
2143
1631
  export type SetClusterPermissionsResponse = SetClusterPermissionsResponses[keyof SetClusterPermissionsResponses];
1632
+ export type ClientOptions = {
1633
+ baseUrl: 'https://api.cloudfleet.ai/v1' | (string & {});
1634
+ };
2144
1635
  //# sourceMappingURL=types.gen.d.ts.map