@gpuai/sdk 0.3.15 → 0.3.16
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/WatchRule.d.ts +2 -1
- package/dist/esm/models/WatchRuleCreate.d.ts +1 -0
- package/dist/models/WatchRule.d.ts +2 -1
- package/dist/models/WatchRuleCreate.d.ts +1 -0
- package/docs/WatchApi.md +2 -2
- package/package.json +1 -1
- package/src/models/WatchRule.ts +2 -1
- package/src/models/WatchRuleCreate.ts +1 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @gpuai/sdk@0.3.
|
|
1
|
+
# @gpuai/sdk@0.3.16
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the api.gpu.ai API.
|
|
4
4
|
|
|
@@ -235,7 +235,7 @@ and is automatically generated by the
|
|
|
235
235
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
236
236
|
|
|
237
237
|
- API version: `1.0.0`
|
|
238
|
-
- Package version: `0.3.
|
|
238
|
+
- Package version: `0.3.16`
|
|
239
239
|
- Generator version: `7.24.0`
|
|
240
240
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
241
241
|
|
|
@@ -23,7 +23,8 @@ export interface WatchRule {
|
|
|
23
23
|
*/
|
|
24
24
|
id: string;
|
|
25
25
|
/**
|
|
26
|
-
* The GPU model the rule watches, e.g. "H100".
|
|
26
|
+
* The canonical GPU model id the rule watches, e.g. "h100_sxm" — a MODEL, not a generation. Alerts match the live catalog exactly, so a rule for a model we do not list could never fire and is refused rather than stored. Case and punctuation are forgiving ("H100-SXM" resolves to "h100_sxm"), and the canonical id is what is stored and returned. GET /v1/gpu-types lists the models currently on offer; a model with no stock right now is still watchable, which is the point of watching it.
|
|
27
|
+
*
|
|
27
28
|
* @type {string}
|
|
28
29
|
* @memberof WatchRule
|
|
29
30
|
*/
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface WatchRuleCreate {
|
|
18
18
|
/**
|
|
19
|
+
* The canonical GPU model id the rule watches, e.g. "h100_sxm" — a MODEL, not a generation. Alerts match the live catalog exactly, so a rule for a model we do not list could never fire and is refused rather than stored. Case and punctuation are forgiving ("H100-SXM" resolves to "h100_sxm"), and the canonical id is what is stored and returned. GET /v1/gpu-types lists the models currently on offer; a model with no stock right now is still watchable, which is the point of watching it.
|
|
19
20
|
*
|
|
20
21
|
* @type {string}
|
|
21
22
|
* @memberof WatchRuleCreate
|
|
@@ -23,7 +23,8 @@ export interface WatchRule {
|
|
|
23
23
|
*/
|
|
24
24
|
id: string;
|
|
25
25
|
/**
|
|
26
|
-
* The GPU model the rule watches, e.g. "H100".
|
|
26
|
+
* The canonical GPU model id the rule watches, e.g. "h100_sxm" — a MODEL, not a generation. Alerts match the live catalog exactly, so a rule for a model we do not list could never fire and is refused rather than stored. Case and punctuation are forgiving ("H100-SXM" resolves to "h100_sxm"), and the canonical id is what is stored and returned. GET /v1/gpu-types lists the models currently on offer; a model with no stock right now is still watchable, which is the point of watching it.
|
|
27
|
+
*
|
|
27
28
|
* @type {string}
|
|
28
29
|
* @memberof WatchRule
|
|
29
30
|
*/
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface WatchRuleCreate {
|
|
18
18
|
/**
|
|
19
|
+
* The canonical GPU model id the rule watches, e.g. "h100_sxm" — a MODEL, not a generation. Alerts match the live catalog exactly, so a rule for a model we do not list could never fire and is refused rather than stored. Case and punctuation are forgiving ("H100-SXM" resolves to "h100_sxm"), and the canonical id is what is stored and returned. GET /v1/gpu-types lists the models currently on offer; a model with no stock right now is still watchable, which is the point of watching it.
|
|
19
20
|
*
|
|
20
21
|
* @type {string}
|
|
21
22
|
* @memberof WatchRuleCreate
|
package/docs/WatchApi.md
CHANGED
|
@@ -82,7 +82,7 @@ example().catch(console.error);
|
|
|
82
82
|
| Status code | Description | Response headers |
|
|
83
83
|
|-------------|-------------|------------------|
|
|
84
84
|
| **201** | Created | - |
|
|
85
|
-
| **422** | Validation failed — an unknown condition kind, a non-canonical region, a missing threshold on a threshold condition, an override id that is not an endpoint registered by this organization, a field naming a catalog listing or a delivery address, or the enabled-rule limit already reached. | - |
|
|
85
|
+
| **422** | Validation failed — a gpu_model that is not a GPU model we list (the detail names the closest ids when there are any), an unknown condition kind, a non-canonical region, a missing threshold on a threshold condition, an override id that is not an endpoint registered by this organization, a field naming a catalog listing or a delivery address, or the enabled-rule limit already reached. | - |
|
|
86
86
|
| **429** | Rate limit exceeded (RFC 7807). Retry-After header indicates seconds to wait. | * Retry-After - Seconds the client should wait before retrying. <br> |
|
|
87
87
|
| **0** | Error response (RFC 7807) | - |
|
|
88
88
|
|
|
@@ -381,7 +381,7 @@ example().catch(console.error);
|
|
|
381
381
|
| Status code | Description | Response headers |
|
|
382
382
|
|-------------|-------------|------------------|
|
|
383
383
|
| **200** | OK | - |
|
|
384
|
-
| **422** | Validation failed against the MERGED rule — for example switching to a threshold condition on a rule that has no stored threshold. | - |
|
|
384
|
+
| **422** | Validation failed against the MERGED rule — for example switching to a threshold condition on a rule that has no stored threshold, or re-targeting the rule at a gpu_model we do not list. A gpu_model already stored is only re-checked when the key is SENT, so a rule can always be parked or deleted whatever it holds. | - |
|
|
385
385
|
| **429** | Rate limit exceeded (RFC 7807). Retry-After header indicates seconds to wait. | * Retry-After - Seconds the client should wait before retrying. <br> |
|
|
386
386
|
| **0** | Error response (RFC 7807) | - |
|
|
387
387
|
|
package/package.json
CHANGED
package/src/models/WatchRule.ts
CHANGED
|
@@ -27,7 +27,8 @@ export interface WatchRule {
|
|
|
27
27
|
*/
|
|
28
28
|
id: string;
|
|
29
29
|
/**
|
|
30
|
-
* The GPU model the rule watches, e.g. "H100".
|
|
30
|
+
* The canonical GPU model id the rule watches, e.g. "h100_sxm" — a MODEL, not a generation. Alerts match the live catalog exactly, so a rule for a model we do not list could never fire and is refused rather than stored. Case and punctuation are forgiving ("H100-SXM" resolves to "h100_sxm"), and the canonical id is what is stored and returned. GET /v1/gpu-types lists the models currently on offer; a model with no stock right now is still watchable, which is the point of watching it.
|
|
31
|
+
*
|
|
31
32
|
* @type {string}
|
|
32
33
|
* @memberof WatchRule
|
|
33
34
|
*/
|
|
@@ -20,6 +20,7 @@ import { mapValues } from '../runtime';
|
|
|
20
20
|
*/
|
|
21
21
|
export interface WatchRuleCreate {
|
|
22
22
|
/**
|
|
23
|
+
* The canonical GPU model id the rule watches, e.g. "h100_sxm" — a MODEL, not a generation. Alerts match the live catalog exactly, so a rule for a model we do not list could never fire and is refused rather than stored. Case and punctuation are forgiving ("H100-SXM" resolves to "h100_sxm"), and the canonical id is what is stored and returned. GET /v1/gpu-types lists the models currently on offer; a model with no stock right now is still watchable, which is the point of watching it.
|
|
23
24
|
*
|
|
24
25
|
* @type {string}
|
|
25
26
|
* @memberof WatchRuleCreate
|