@cloudfleet/sdk 0.4.0 → 0.5.0

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.
@@ -0,0 +1,13 @@
1
+ import type { ClientOptions } from './types.gen';
2
+ import { type Config, type ClientOptions as DefaultClientOptions } from '@hey-api/client-fetch';
3
+ /**
4
+ * The `createClientConfig()` function will be called on client initialization
5
+ * and the returned object will become the client's initial configuration.
6
+ *
7
+ * You may want to initialize your client this way instead of calling
8
+ * `setConfig()`. This is useful for example if you're using Next.js
9
+ * to ensure your client always has the correct values.
10
+ */
11
+ export type CreateClientConfig<T extends DefaultClientOptions = ClientOptions> = (override?: Config<DefaultClientOptions & T>) => Config<Required<DefaultClientOptions> & T>;
12
+ export declare const client: import("@hey-api/client-fetch").Client;
13
+ //# sourceMappingURL=client.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.gen.d.ts","sourceRoot":"","sources":["../src/client.gen.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,aAAa,IAAI,oBAAoB,EAA8B,MAAM,uBAAuB,CAAC;AAE5H;;;;;;;GAOG;AACH,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,oBAAoB,GAAG,aAAa,IAAI,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,oBAAoB,GAAG,CAAC,CAAC,KAAK,MAAM,CAAC,QAAQ,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAC;AAE7K,eAAO,MAAM,MAAM,wCAEhB,CAAC"}
@@ -0,0 +1,6 @@
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ import { createClient, createConfig } from '@hey-api/client-fetch';
3
+ export const client = createClient(createConfig({
4
+ baseUrl: 'https://api.cloudfleet.ai/v1'
5
+ }));
6
+ //# sourceMappingURL=client.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"client.gen.js","sourceRoot":"","sources":["../src/client.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAGrD,OAAO,EAA2D,YAAY,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAY5H,MAAM,CAAC,MAAM,MAAM,GAAG,YAAY,CAAC,YAAY,CAAgB;IAC3D,OAAO,EAAE,8BAA8B;CAC1C,CAAC,CAAC,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export * from "./client.gen";
1
2
  export * from "./schemas.gen";
2
3
  export * from "./sdk.gen";
3
4
  export * from "./types.gen";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ export * from "./client.gen";
1
2
  export * from "./schemas.gen";
2
3
  export * from "./sdk.gen";
3
4
  export * from "./types.gen";
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
@@ -542,276 +542,6 @@ export declare const FleetUpdateInputSchema: {
542
542
  };
543
543
  readonly additionalProperties: false;
544
544
  };
545
- export declare const InfrastructureFilterSchema: {
546
- readonly type: "object";
547
- readonly properties: {
548
- readonly version: {
549
- readonly type: "integer";
550
- readonly description: "Version of the infrastructure filter definition. Currently only version 1 is supported.";
551
- readonly default: 1;
552
- readonly example: 1;
553
- readonly enum: readonly [1];
554
- };
555
- readonly provider: {
556
- readonly type: "array";
557
- readonly items: {
558
- readonly type: "string";
559
- };
560
- readonly description: "Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)";
561
- readonly example: "AWS";
562
- };
563
- readonly region: {
564
- readonly type: "array";
565
- readonly items: {
566
- readonly type: "string";
567
- };
568
- readonly description: "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/)";
569
- readonly example: "northamerica";
570
- };
571
- readonly sub_region: {
572
- readonly type: "array";
573
- readonly items: {
574
- readonly type: "string";
575
- };
576
- readonly description: "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/)";
577
- readonly example: "west";
578
- };
579
- readonly csp_region: {
580
- readonly type: "array";
581
- readonly items: {
582
- readonly type: "string";
583
- };
584
- readonly description: "Limits selection of cloud regions to this list of canonical provider regions";
585
- readonly example: "eu-west-1";
586
- };
587
- readonly instance_type: {
588
- readonly type: "array";
589
- readonly items: {
590
- readonly type: "string";
591
- };
592
- readonly description: "Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider";
593
- readonly example: "p4d.24xlarge";
594
- };
595
- readonly accelerator_name: {
596
- readonly type: "array";
597
- readonly items: {
598
- readonly type: "string";
599
- };
600
- readonly description: "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";
601
- readonly example: "A100";
602
- };
603
- readonly accelerator_manufacturer: {
604
- readonly type: "array";
605
- readonly items: {
606
- readonly type: "string";
607
- };
608
- readonly description: "List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer";
609
- readonly example: "NVIDIA";
610
- };
611
- readonly accelerator_count_min: {
612
- readonly type: "integer";
613
- readonly minimum: 0;
614
- readonly description: "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.";
615
- readonly example: 1;
616
- };
617
- readonly accelerator_count_max: {
618
- readonly type: "integer";
619
- readonly minimum: 0;
620
- readonly description: "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.";
621
- readonly example: 8;
622
- };
623
- readonly accelerator_memory_min: {
624
- readonly type: "number";
625
- readonly format: "float";
626
- readonly description: "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";
627
- readonly example: 40;
628
- };
629
- readonly accelerator_memory_max: {
630
- readonly type: "number";
631
- readonly format: "float";
632
- readonly description: "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";
633
- readonly example: 80;
634
- };
635
- readonly memory_min: {
636
- readonly type: "integer";
637
- readonly minimum: 0;
638
- readonly description: "Minimum amount of RAM in gibibytes (GiB)";
639
- readonly example: 32;
640
- };
641
- readonly memory_max: {
642
- readonly type: "integer";
643
- readonly minimum: 0;
644
- readonly description: "Maximum amount of RAM in gibibytes (GiB)";
645
- readonly example: 64;
646
- };
647
- readonly vcpu_min: {
648
- readonly type: "integer";
649
- readonly minimum: 1;
650
- readonly description: "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.";
651
- readonly example: 32;
652
- };
653
- readonly vcpu_max: {
654
- readonly type: "integer";
655
- readonly minimum: 1;
656
- readonly description: "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.";
657
- readonly example: 128;
658
- };
659
- readonly storage_total_min: {
660
- readonly type: "number";
661
- readonly format: "float";
662
- readonly minimum: 10;
663
- readonly description: "Minimum total storage in GiB (attached and local)";
664
- readonly example: 128;
665
- };
666
- readonly storage_total_max: {
667
- readonly type: "number";
668
- readonly format: "float";
669
- readonly minimum: 10;
670
- readonly description: "Maximum total storage in GiB (attached and local)";
671
- readonly example: 256;
672
- };
673
- readonly storage_local_min: {
674
- readonly type: "number";
675
- readonly format: "float";
676
- readonly description: "Minimum volume of directly attached, block-device local storage in gibibytes (GiB)";
677
- readonly example: 24;
678
- };
679
- readonly storage_local_max: {
680
- readonly type: "number";
681
- readonly format: "float";
682
- readonly description: "Maximum volume of directly attached, block-device local storage in gibibytes (GiB)";
683
- readonly example: 128;
684
- };
685
- readonly price_min: {
686
- readonly type: "number";
687
- readonly format: "float";
688
- readonly description: "Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.";
689
- readonly example: 10;
690
- };
691
- readonly price_max: {
692
- readonly type: "number";
693
- readonly format: "float";
694
- readonly description: "Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.";
695
- readonly example: 50;
696
- };
697
- };
698
- readonly additionalProperties: false;
699
- };
700
- export declare const InfrastructureInstanceSchema: {
701
- readonly type: "object";
702
- readonly properties: {
703
- readonly sku: {
704
- readonly type: "string";
705
- readonly description: "Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.";
706
- readonly example: "AWS-EU-WEST-1C-P4D.24XLARGE";
707
- };
708
- readonly provider: {
709
- readonly type: "string";
710
- readonly description: "Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)";
711
- readonly example: "AWS";
712
- };
713
- readonly region: {
714
- readonly type: "string";
715
- readonly description: "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/)";
716
- readonly example: "europe";
717
- };
718
- readonly sub_region: {
719
- readonly type: "string";
720
- readonly description: "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/)";
721
- readonly example: "west";
722
- };
723
- readonly csp_region: {
724
- readonly type: "string";
725
- readonly description: "Region as defined by the cloud service provider";
726
- readonly example: "eu-west-1";
727
- };
728
- readonly csp_zone: {
729
- readonly type: "string";
730
- readonly description: "Availability zone as defined by the cloud service provider";
731
- readonly example: "eu-west-1a";
732
- };
733
- readonly instance_type: {
734
- readonly type: "string";
735
- readonly description: "Instance / VM type as defined by the cloud service provider";
736
- readonly example: "p4d.24xlarge";
737
- };
738
- readonly architecture: {
739
- readonly type: "string";
740
- readonly description: "Instance CPU architecture";
741
- readonly example: "amd64";
742
- };
743
- readonly os: {
744
- readonly type: "string";
745
- readonly description: "Instance operating system";
746
- readonly example: "linux";
747
- };
748
- readonly vcpu: {
749
- readonly type: "number";
750
- readonly format: "float";
751
- readonly minimum: 1;
752
- readonly description: "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.";
753
- readonly example: 96;
754
- };
755
- readonly memory: {
756
- readonly type: "number";
757
- readonly format: "float";
758
- readonly minimum: 1;
759
- readonly description: "Total amount of RAM in gibibytes (GiB)";
760
- readonly example: 1152;
761
- };
762
- readonly local_storage: {
763
- readonly type: "number";
764
- readonly format: "float";
765
- readonly description: "Volume of directly attached, block-device local storage in gibibytes (GiB)";
766
- readonly example: 8000;
767
- };
768
- readonly accelerator_name: {
769
- readonly type: "string";
770
- readonly description: "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";
771
- readonly example: "A100";
772
- };
773
- readonly accelerator_manufacturer: {
774
- readonly type: "string";
775
- readonly description: "Normalized manufacturer name of accelerator. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer";
776
- readonly example: "NVIDIA";
777
- };
778
- readonly accelerator_count: {
779
- readonly type: "integer";
780
- readonly description: "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.";
781
- readonly example: 8;
782
- };
783
- readonly accelerator_memory: {
784
- readonly type: "number";
785
- readonly format: "float";
786
- readonly description: "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";
787
- readonly example: 40;
788
- };
789
- readonly pods_capacity: {
790
- readonly type: "number";
791
- readonly format: "float";
792
- readonly description: "Maximum number of pods that can be run on this instance type.";
793
- readonly example: 110;
794
- };
795
- readonly capacity_type: {
796
- readonly type: "string";
797
- readonly description: "Capacity type of the instance. E.g. `on-demand`, `spot`.";
798
- readonly example: "on-demand";
799
- };
800
- readonly price: {
801
- readonly type: "number";
802
- readonly format: "float";
803
- readonly description: "Price of running the inctance per hour in USD as defined by the cloud service provider";
804
- readonly example: 35.39655;
805
- };
806
- readonly available: {
807
- readonly type: "boolean";
808
- readonly description: "Whether this instance type is available.";
809
- readonly example: true;
810
- };
811
- };
812
- readonly required: readonly ["sku", "provider", "region", "sub_region", "csp_region", "csp_zone", "instance_type", "architecture", "os", "vcpu", "memory", "local_storage", "price"];
813
- readonly additionalProperties: false;
814
- };
815
545
  export declare const InviteSchema: {
816
546
  readonly type: "object";
817
547
  readonly properties: {
@@ -1587,7 +1317,7 @@ export declare const UserCreateInputSchema: {
1587
1317
  readonly password: {
1588
1318
  readonly type: "string";
1589
1319
  readonly minLength: 8;
1590
- readonly description: "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.";
1320
+ readonly description: "User password. Must be at least 8 characters long.";
1591
1321
  };
1592
1322
  readonly status: {
1593
1323
  readonly type: "string";
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.gen.d.ts","sourceRoot":"","sources":["../src/schemas.gen.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwEvB,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkC3B,CAAC;AAEX,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0E/B,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsFhB,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;CAmB3B,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6FzB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6Fd,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+EzB,CAAC;AAEX,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDtB,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;CAoBzB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCd,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;CAmBzB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+Fd,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDxB,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwEb,CAAC;AAEX,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqCxB,CAAC"}
@@ -557,276 +557,6 @@ export const FleetUpdateInputSchema = {
557
557
  },
558
558
  additionalProperties: false
559
559
  };
560
- export const InfrastructureFilterSchema = {
561
- type: 'object',
562
- properties: {
563
- version: {
564
- type: 'integer',
565
- description: 'Version of the infrastructure filter definition. Currently only version 1 is supported.',
566
- default: 1,
567
- example: 1,
568
- enum: [1]
569
- },
570
- provider: {
571
- type: 'array',
572
- items: {
573
- type: 'string'
574
- },
575
- description: 'Limit selection of cloud providers to this list. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)',
576
- example: 'AWS'
577
- },
578
- region: {
579
- type: 'array',
580
- items: {
581
- type: 'string'
582
- },
583
- description: '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/)',
584
- example: 'northamerica'
585
- },
586
- sub_region: {
587
- type: 'array',
588
- items: {
589
- type: 'string'
590
- },
591
- description: '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/)',
592
- example: 'west'
593
- },
594
- csp_region: {
595
- type: 'array',
596
- items: {
597
- type: 'string'
598
- },
599
- description: 'Limits selection of cloud regions to this list of canonical provider regions',
600
- example: 'eu-west-1'
601
- },
602
- instance_type: {
603
- type: 'array',
604
- items: {
605
- type: 'string'
606
- },
607
- description: 'Limits selection of instance types to this list. Instance / VM type as defined by the cloud service provider',
608
- example: 'p4d.24xlarge'
609
- },
610
- accelerator_name: {
611
- type: 'array',
612
- items: {
613
- type: 'string'
614
- },
615
- description: "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",
616
- example: 'A100'
617
- },
618
- accelerator_manufacturer: {
619
- type: 'array',
620
- items: {
621
- type: 'string'
622
- },
623
- description: "List of normalized accelerator manufacturer names. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer",
624
- example: 'NVIDIA'
625
- },
626
- accelerator_count_min: {
627
- type: 'integer',
628
- minimum: 0,
629
- description: '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.',
630
- example: 1
631
- },
632
- accelerator_count_max: {
633
- type: 'integer',
634
- minimum: 0,
635
- description: '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.',
636
- example: 8
637
- },
638
- accelerator_memory_min: {
639
- type: 'number',
640
- format: 'float',
641
- description: "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",
642
- example: 40
643
- },
644
- accelerator_memory_max: {
645
- type: 'number',
646
- format: 'float',
647
- description: "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",
648
- example: 80
649
- },
650
- memory_min: {
651
- type: 'integer',
652
- minimum: 0,
653
- description: 'Minimum amount of RAM in gibibytes (GiB)',
654
- example: 32
655
- },
656
- memory_max: {
657
- type: 'integer',
658
- minimum: 0,
659
- description: 'Maximum amount of RAM in gibibytes (GiB)',
660
- example: 64
661
- },
662
- vcpu_min: {
663
- type: 'integer',
664
- minimum: 1,
665
- description: '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.',
666
- example: 32
667
- },
668
- vcpu_max: {
669
- type: 'integer',
670
- minimum: 1,
671
- description: '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.',
672
- example: 128
673
- },
674
- storage_total_min: {
675
- type: 'number',
676
- format: 'float',
677
- minimum: 10,
678
- description: 'Minimum total storage in GiB (attached and local)',
679
- example: 128
680
- },
681
- storage_total_max: {
682
- type: 'number',
683
- format: 'float',
684
- minimum: 10,
685
- description: 'Maximum total storage in GiB (attached and local)',
686
- example: 256
687
- },
688
- storage_local_min: {
689
- type: 'number',
690
- format: 'float',
691
- description: 'Minimum volume of directly attached, block-device local storage in gibibytes (GiB)',
692
- example: 24
693
- },
694
- storage_local_max: {
695
- type: 'number',
696
- format: 'float',
697
- description: 'Maximum volume of directly attached, block-device local storage in gibibytes (GiB)',
698
- example: 128
699
- },
700
- price_min: {
701
- type: 'number',
702
- format: 'float',
703
- description: 'Minimum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.',
704
- example: 10
705
- },
706
- price_max: {
707
- type: 'number',
708
- format: 'float',
709
- description: 'Maximum price of running the inctance per hour in USD as defined by the cloud service provider. The cheapest instance will be selected.',
710
- example: 50
711
- }
712
- },
713
- additionalProperties: false
714
- };
715
- export const InfrastructureInstanceSchema = {
716
- type: 'object',
717
- properties: {
718
- sku: {
719
- type: 'string',
720
- description: 'Cloudfleet instance SKU. Has a format of <provider>-<csp_region>-<instance_type>.',
721
- example: 'AWS-EU-WEST-1C-P4D.24XLARGE'
722
- },
723
- provider: {
724
- type: 'string',
725
- description: 'Normalized cloud service provider name. For the full list of supported providers, see [Providers](https://cloudfleet.ai/docs/cloud-infrastructure/providers/)',
726
- example: 'AWS'
727
- },
728
- region: {
729
- type: 'string',
730
- description: '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/)',
731
- example: 'europe'
732
- },
733
- sub_region: {
734
- type: 'string',
735
- description: '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/)',
736
- example: 'west'
737
- },
738
- csp_region: {
739
- type: 'string',
740
- description: 'Region as defined by the cloud service provider',
741
- example: 'eu-west-1'
742
- },
743
- csp_zone: {
744
- type: 'string',
745
- description: 'Availability zone as defined by the cloud service provider',
746
- example: 'eu-west-1a'
747
- },
748
- instance_type: {
749
- type: 'string',
750
- description: 'Instance / VM type as defined by the cloud service provider',
751
- example: 'p4d.24xlarge'
752
- },
753
- architecture: {
754
- type: 'string',
755
- description: 'Instance CPU architecture',
756
- example: 'amd64'
757
- },
758
- os: {
759
- type: 'string',
760
- description: 'Instance operating system',
761
- example: 'linux'
762
- },
763
- vcpu: {
764
- type: 'number',
765
- format: 'float',
766
- minimum: 1,
767
- description: '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.',
768
- example: 96
769
- },
770
- memory: {
771
- type: 'number',
772
- format: 'float',
773
- minimum: 1,
774
- description: 'Total amount of RAM in gibibytes (GiB)',
775
- example: 1152
776
- },
777
- local_storage: {
778
- type: 'number',
779
- format: 'float',
780
- description: 'Volume of directly attached, block-device local storage in gibibytes (GiB)',
781
- example: 8000
782
- },
783
- accelerator_name: {
784
- type: 'string',
785
- description: "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",
786
- example: 'A100'
787
- },
788
- accelerator_manufacturer: {
789
- type: 'string',
790
- description: "Normalized manufacturer name of accelerator. For example, all Nvidia GPUs will have 'NVIDIA' as accelerator manufacturer",
791
- example: 'NVIDIA'
792
- },
793
- accelerator_count: {
794
- type: 'integer',
795
- description: '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.',
796
- example: 8
797
- },
798
- accelerator_memory: {
799
- type: 'number',
800
- format: 'float',
801
- description: "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",
802
- example: 40
803
- },
804
- pods_capacity: {
805
- type: 'number',
806
- format: 'float',
807
- description: 'Maximum number of pods that can be run on this instance type.',
808
- example: 110
809
- },
810
- capacity_type: {
811
- type: 'string',
812
- description: 'Capacity type of the instance. E.g. `on-demand`, `spot`.',
813
- example: 'on-demand'
814
- },
815
- price: {
816
- type: 'number',
817
- format: 'float',
818
- description: 'Price of running the inctance per hour in USD as defined by the cloud service provider',
819
- example: 35.39655
820
- },
821
- available: {
822
- type: 'boolean',
823
- description: 'Whether this instance type is available.',
824
- example: true
825
- }
826
- },
827
- required: ['sku', 'provider', 'region', 'sub_region', 'csp_region', 'csp_zone', 'instance_type', 'architecture', 'os', 'vcpu', 'memory', 'local_storage', 'price'],
828
- additionalProperties: false
829
- };
830
560
  export const InviteSchema = {
831
561
  type: 'object',
832
562
  properties: {
@@ -1626,7 +1356,7 @@ export const UserCreateInputSchema = {
1626
1356
  password: {
1627
1357
  type: 'string',
1628
1358
  minLength: 8,
1629
- description: '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.'
1359
+ description: 'User password. Must be at least 8 characters long.'
1630
1360
  },
1631
1361
  status: {
1632
1362
  type: 'string',