@gpuai/sdk 0.1.0 → 0.1.1

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 CHANGED
@@ -1,4 +1,4 @@
1
- # @gpuai/sdk@0.1.0
1
+ # @gpuai/sdk@0.1.1
2
2
 
3
3
  A TypeScript SDK client for the api.gpu.ai API.
4
4
 
@@ -202,7 +202,7 @@ and is automatically generated by the
202
202
  [OpenAPI Generator](https://openapi-generator.tech) project:
203
203
 
204
204
  - API version: `1.0.0`
205
- - Package version: `0.1.0`
205
+ - Package version: `0.1.1`
206
206
  - Generator version: `7.24.0`
207
207
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
208
208
 
@@ -36,6 +36,8 @@ export declare const CreateWebhookEndpointRequestEventTypesEnum: {
36
36
  readonly InstanceRunning: "instance.running";
37
37
  readonly InstanceTerminated: "instance.terminated";
38
38
  readonly InstanceFailed: "instance.failed";
39
+ readonly VideoCompleted: "video.completed";
40
+ readonly VideoFailed: "video.failed";
39
41
  };
40
42
  export type CreateWebhookEndpointRequestEventTypesEnum = typeof CreateWebhookEndpointRequestEventTypesEnum[keyof typeof CreateWebhookEndpointRequestEventTypesEnum];
41
43
  /**
@@ -18,7 +18,9 @@ export const CreateWebhookEndpointRequestEventTypesEnum = {
18
18
  InstanceCreating: 'instance.creating',
19
19
  InstanceRunning: 'instance.running',
20
20
  InstanceTerminated: 'instance.terminated',
21
- InstanceFailed: 'instance.failed'
21
+ InstanceFailed: 'instance.failed',
22
+ VideoCompleted: 'video.completed',
23
+ VideoFailed: 'video.failed'
22
24
  };
23
25
  /**
24
26
  * Check if a given object implements the CreateWebhookEndpointRequest interface.
@@ -60,6 +60,8 @@ export declare const WebhookEndpointEventTypesEnum: {
60
60
  readonly InstanceRunning: "instance.running";
61
61
  readonly InstanceTerminated: "instance.terminated";
62
62
  readonly InstanceFailed: "instance.failed";
63
+ readonly VideoCompleted: "video.completed";
64
+ readonly VideoFailed: "video.failed";
63
65
  };
64
66
  export type WebhookEndpointEventTypesEnum = typeof WebhookEndpointEventTypesEnum[keyof typeof WebhookEndpointEventTypesEnum];
65
67
  /**
@@ -18,7 +18,9 @@ export const WebhookEndpointEventTypesEnum = {
18
18
  InstanceCreating: 'instance.creating',
19
19
  InstanceRunning: 'instance.running',
20
20
  InstanceTerminated: 'instance.terminated',
21
- InstanceFailed: 'instance.failed'
21
+ InstanceFailed: 'instance.failed',
22
+ VideoCompleted: 'video.completed',
23
+ VideoFailed: 'video.failed'
22
24
  };
23
25
  /**
24
26
  * Check if a given object implements the WebhookEndpoint interface.
@@ -36,6 +36,8 @@ export declare const CreateWebhookEndpointRequestEventTypesEnum: {
36
36
  readonly InstanceRunning: "instance.running";
37
37
  readonly InstanceTerminated: "instance.terminated";
38
38
  readonly InstanceFailed: "instance.failed";
39
+ readonly VideoCompleted: "video.completed";
40
+ readonly VideoFailed: "video.failed";
39
41
  };
40
42
  export type CreateWebhookEndpointRequestEventTypesEnum = typeof CreateWebhookEndpointRequestEventTypesEnum[keyof typeof CreateWebhookEndpointRequestEventTypesEnum];
41
43
  /**
@@ -26,7 +26,9 @@ exports.CreateWebhookEndpointRequestEventTypesEnum = {
26
26
  InstanceCreating: 'instance.creating',
27
27
  InstanceRunning: 'instance.running',
28
28
  InstanceTerminated: 'instance.terminated',
29
- InstanceFailed: 'instance.failed'
29
+ InstanceFailed: 'instance.failed',
30
+ VideoCompleted: 'video.completed',
31
+ VideoFailed: 'video.failed'
30
32
  };
31
33
  /**
32
34
  * Check if a given object implements the CreateWebhookEndpointRequest interface.
@@ -60,6 +60,8 @@ export declare const WebhookEndpointEventTypesEnum: {
60
60
  readonly InstanceRunning: "instance.running";
61
61
  readonly InstanceTerminated: "instance.terminated";
62
62
  readonly InstanceFailed: "instance.failed";
63
+ readonly VideoCompleted: "video.completed";
64
+ readonly VideoFailed: "video.failed";
63
65
  };
64
66
  export type WebhookEndpointEventTypesEnum = typeof WebhookEndpointEventTypesEnum[keyof typeof WebhookEndpointEventTypesEnum];
65
67
  /**
@@ -26,7 +26,9 @@ exports.WebhookEndpointEventTypesEnum = {
26
26
  InstanceCreating: 'instance.creating',
27
27
  InstanceRunning: 'instance.running',
28
28
  InstanceTerminated: 'instance.terminated',
29
- InstanceFailed: 'instance.failed'
29
+ InstanceFailed: 'instance.failed',
30
+ VideoCompleted: 'video.completed',
31
+ VideoFailed: 'video.failed'
30
32
  };
31
33
  /**
32
34
  * Check if a given object implements the WebhookEndpoint interface.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gpuai/sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "TypeScript SDK for the GPU.ai Public Developer API",
5
5
  "author": "GPU.ai Support <support@gpu.ai>",
6
6
  "repository": {
@@ -41,7 +41,9 @@ export const CreateWebhookEndpointRequestEventTypesEnum = {
41
41
  InstanceCreating: 'instance.creating',
42
42
  InstanceRunning: 'instance.running',
43
43
  InstanceTerminated: 'instance.terminated',
44
- InstanceFailed: 'instance.failed'
44
+ InstanceFailed: 'instance.failed',
45
+ VideoCompleted: 'video.completed',
46
+ VideoFailed: 'video.failed'
45
47
  } as const;
46
48
  export type CreateWebhookEndpointRequestEventTypesEnum = typeof CreateWebhookEndpointRequestEventTypesEnum[keyof typeof CreateWebhookEndpointRequestEventTypesEnum];
47
49
 
@@ -65,7 +65,9 @@ export const WebhookEndpointEventTypesEnum = {
65
65
  InstanceCreating: 'instance.creating',
66
66
  InstanceRunning: 'instance.running',
67
67
  InstanceTerminated: 'instance.terminated',
68
- InstanceFailed: 'instance.failed'
68
+ InstanceFailed: 'instance.failed',
69
+ VideoCompleted: 'video.completed',
70
+ VideoFailed: 'video.failed'
69
71
  } as const;
70
72
  export type WebhookEndpointEventTypesEnum = typeof WebhookEndpointEventTypesEnum[keyof typeof WebhookEndpointEventTypesEnum];
71
73