@gpuai/sdk 0.3.11 → 0.3.12
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/README.md +2 -2
- package/dist/esm/models/CreateInstanceRequest.d.ts +1 -1
- package/dist/esm/models/Instance.d.ts +1 -1
- package/dist/esm/models/Pricing.d.ts +1 -1
- package/dist/models/CreateInstanceRequest.d.ts +1 -1
- package/dist/models/Instance.d.ts +1 -1
- package/dist/models/Pricing.d.ts +1 -1
- package/docs/PricingApi.md +2 -2
- package/package.json +1 -1
- package/src/models/CreateInstanceRequest.ts +1 -1
- package/src/models/Instance.ts +1 -1
- package/src/models/Pricing.ts +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @gpuai/sdk@0.3.
|
|
1
|
+
# @gpuai/sdk@0.3.12
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the api.gpu.ai API.
|
|
4
4
|
|
|
@@ -204,7 +204,7 @@ and is automatically generated by the
|
|
|
204
204
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
205
205
|
|
|
206
206
|
- API version: `1.0.0`
|
|
207
|
-
- Package version: `0.3.
|
|
207
|
+
- Package version: `0.3.12`
|
|
208
208
|
- Generator version: `7.24.0`
|
|
209
209
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
210
210
|
|
|
@@ -35,7 +35,7 @@ export interface CreateInstanceRequest {
|
|
|
35
35
|
*/
|
|
36
36
|
region?: string;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* `spot` is soft-deprecated: spot capacity is currently unavailable sitewide (requests with tier=spot return no offerings); use on_demand.
|
|
39
39
|
* @type {CreateInstanceRequestTierEnum}
|
|
40
40
|
* @memberof CreateInstanceRequest
|
|
41
41
|
*/
|
|
@@ -53,7 +53,7 @@ export interface Instance {
|
|
|
53
53
|
*/
|
|
54
54
|
region: string;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* `spot` is soft-deprecated: spot capacity is currently unavailable sitewide (requests with tier=spot return no offerings); use on_demand.
|
|
57
57
|
* @type {InstanceTierEnum}
|
|
58
58
|
* @memberof Instance
|
|
59
59
|
*/
|
|
@@ -52,7 +52,7 @@ export interface Pricing {
|
|
|
52
52
|
*/
|
|
53
53
|
region: string;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* `spot` is soft-deprecated: spot capacity is currently unavailable sitewide (requests with tier=spot return no offerings); use on_demand.
|
|
56
56
|
* @type {PricingTierEnum}
|
|
57
57
|
* @memberof Pricing
|
|
58
58
|
*/
|
|
@@ -35,7 +35,7 @@ export interface CreateInstanceRequest {
|
|
|
35
35
|
*/
|
|
36
36
|
region?: string;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* `spot` is soft-deprecated: spot capacity is currently unavailable sitewide (requests with tier=spot return no offerings); use on_demand.
|
|
39
39
|
* @type {CreateInstanceRequestTierEnum}
|
|
40
40
|
* @memberof CreateInstanceRequest
|
|
41
41
|
*/
|
|
@@ -53,7 +53,7 @@ export interface Instance {
|
|
|
53
53
|
*/
|
|
54
54
|
region: string;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* `spot` is soft-deprecated: spot capacity is currently unavailable sitewide (requests with tier=spot return no offerings); use on_demand.
|
|
57
57
|
* @type {InstanceTierEnum}
|
|
58
58
|
* @memberof Instance
|
|
59
59
|
*/
|
package/dist/models/Pricing.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export interface Pricing {
|
|
|
52
52
|
*/
|
|
53
53
|
region: string;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* `spot` is soft-deprecated: spot capacity is currently unavailable sitewide (requests with tier=spot return no offerings); use on_demand.
|
|
56
56
|
* @type {PricingTierEnum}
|
|
57
57
|
* @memberof Pricing
|
|
58
58
|
*/
|
package/docs/PricingApi.md
CHANGED
|
@@ -38,7 +38,7 @@ async function example() {
|
|
|
38
38
|
gpuType: gpuType_example,
|
|
39
39
|
// string | Exact-match filter on canonical region code (optional)
|
|
40
40
|
region: region_example,
|
|
41
|
-
// 'spot' | 'on_demand' | Exact-match filter on tier (optional)
|
|
41
|
+
// 'spot' | 'on_demand' | Exact-match filter on tier. `spot` is soft-deprecated: spot capacity is currently unavailable sitewide (requests with tier=spot return no offerings); use on_demand. (optional)
|
|
42
42
|
tier: tier_example,
|
|
43
43
|
// boolean | Include offers whose current availability is zero (optional)
|
|
44
44
|
includeUnavailable: true,
|
|
@@ -65,7 +65,7 @@ example().catch(console.error);
|
|
|
65
65
|
| **limit** | `number` | | [Optional] [Defaults to `50`] |
|
|
66
66
|
| **gpuType** | `string` | Exact-match filter on gpu_type | [Optional] [Defaults to `undefined`] |
|
|
67
67
|
| **region** | `string` | Exact-match filter on canonical region code | [Optional] [Defaults to `undefined`] |
|
|
68
|
-
| **tier** | `spot`, `on_demand` | Exact-match filter on tier | [Optional] [Defaults to `undefined`] [Enum: spot, on_demand] |
|
|
68
|
+
| **tier** | `spot`, `on_demand` | Exact-match filter on tier. `spot` is soft-deprecated: spot capacity is currently unavailable sitewide (requests with tier=spot return no offerings); use on_demand. | [Optional] [Defaults to `undefined`] [Enum: spot, on_demand] |
|
|
69
69
|
| **includeUnavailable** | `boolean` | Include offers whose current availability is zero | [Optional] [Defaults to `false`] |
|
|
70
70
|
|
|
71
71
|
### Return type
|
package/package.json
CHANGED
|
@@ -46,7 +46,7 @@ export interface CreateInstanceRequest {
|
|
|
46
46
|
*/
|
|
47
47
|
region?: string;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* `spot` is soft-deprecated: spot capacity is currently unavailable sitewide (requests with tier=spot return no offerings); use on_demand.
|
|
50
50
|
* @type {CreateInstanceRequestTierEnum}
|
|
51
51
|
* @memberof CreateInstanceRequest
|
|
52
52
|
*/
|
package/src/models/Instance.ts
CHANGED
|
@@ -64,7 +64,7 @@ export interface Instance {
|
|
|
64
64
|
*/
|
|
65
65
|
region: string;
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* `spot` is soft-deprecated: spot capacity is currently unavailable sitewide (requests with tier=spot return no offerings); use on_demand.
|
|
68
68
|
* @type {InstanceTierEnum}
|
|
69
69
|
* @memberof Instance
|
|
70
70
|
*/
|
package/src/models/Pricing.ts
CHANGED
|
@@ -56,7 +56,7 @@ export interface Pricing {
|
|
|
56
56
|
*/
|
|
57
57
|
region: string;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* `spot` is soft-deprecated: spot capacity is currently unavailable sitewide (requests with tier=spot return no offerings); use on_demand.
|
|
60
60
|
* @type {PricingTierEnum}
|
|
61
61
|
* @memberof Pricing
|
|
62
62
|
*/
|