@gpuai/sdk 0.4.2 → 0.5.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/.openapi-generator/FILES +24 -0
- package/README.md +14 -2
- package/dist/apis/InstancesApi.d.ts +2 -0
- package/dist/apis/InstancesApi.js +2 -0
- package/dist/esm/apis/InstancesApi.d.ts +2 -0
- package/dist/esm/apis/InstancesApi.js +2 -0
- package/dist/esm/models/ChatCompletionRequest.d.ts +27 -0
- package/dist/esm/models/ChatCompletionRequest.js +11 -0
- package/dist/esm/models/ChatCompletionRequestToolChoice.d.ts +22 -0
- package/dist/esm/models/ChatCompletionRequestToolChoice.js +50 -0
- package/dist/esm/models/ChatJSONSchemaFormat.d.ts +52 -0
- package/dist/esm/models/ChatJSONSchemaFormat.js +51 -0
- package/dist/esm/models/ChatMessage.d.ts +21 -1
- package/dist/esm/models/ChatMessage.js +10 -4
- package/dist/esm/models/ChatNamedToolChoice.d.ts +46 -0
- package/dist/esm/models/ChatNamedToolChoice.js +56 -0
- package/dist/esm/models/ChatNamedToolChoiceFunction.d.ts +32 -0
- package/dist/esm/models/ChatNamedToolChoiceFunction.js +43 -0
- package/dist/esm/models/ChatResponseFormat.d.ts +48 -0
- package/dist/esm/models/ChatResponseFormat.js +54 -0
- package/dist/esm/models/ChatTool.d.ts +46 -0
- package/dist/esm/models/ChatTool.js +56 -0
- package/dist/esm/models/ChatToolCall.d.ts +52 -0
- package/dist/esm/models/ChatToolCall.js +60 -0
- package/dist/esm/models/ChatToolCallFunction.d.ts +38 -0
- package/dist/esm/models/ChatToolCallFunction.js +47 -0
- package/dist/esm/models/ChatToolFunction.d.ts +52 -0
- package/dist/esm/models/ChatToolFunction.js +49 -0
- package/dist/esm/models/CreateFunctionVersionRequest.d.ts +6 -0
- package/dist/esm/models/CreateFunctionVersionRequest.js +2 -0
- package/dist/esm/models/CreateInstanceRequest.d.ts +13 -0
- package/dist/esm/models/CreateInstanceRequest.js +5 -0
- package/dist/esm/models/DedicatedIPRequest.d.ts +32 -0
- package/dist/esm/models/DedicatedIPRequest.js +41 -0
- package/dist/esm/models/FunctionVersion.d.ts +6 -0
- package/dist/esm/models/FunctionVersion.js +4 -0
- package/dist/esm/models/Instance.d.ts +7 -0
- package/dist/esm/models/Instance.js +3 -0
- package/dist/esm/models/InstanceDedicatedIP.d.ts +83 -0
- package/dist/esm/models/InstanceDedicatedIP.js +77 -0
- package/dist/esm/models/Model.d.ts +12 -0
- package/dist/esm/models/Model.js +4 -0
- package/dist/esm/models/OfferingAlternative.d.ts +68 -0
- package/dist/esm/models/OfferingAlternative.js +67 -0
- package/dist/esm/models/OperationError.d.ts +20 -1
- package/dist/esm/models/OperationError.js +7 -0
- package/dist/esm/models/Problem.d.ts +3 -0
- package/dist/esm/models/Problem.js +3 -0
- package/dist/esm/models/index.d.ts +12 -0
- package/dist/esm/models/index.js +12 -0
- package/dist/esm/runtime.js +1 -1
- package/dist/models/ChatCompletionRequest.d.ts +27 -0
- package/dist/models/ChatCompletionRequest.js +11 -0
- package/dist/models/ChatCompletionRequestToolChoice.d.ts +22 -0
- package/dist/models/ChatCompletionRequestToolChoice.js +56 -0
- package/dist/models/ChatJSONSchemaFormat.d.ts +52 -0
- package/dist/models/ChatJSONSchemaFormat.js +58 -0
- package/dist/models/ChatMessage.d.ts +21 -1
- package/dist/models/ChatMessage.js +10 -4
- package/dist/models/ChatNamedToolChoice.d.ts +46 -0
- package/dist/models/ChatNamedToolChoice.js +64 -0
- package/dist/models/ChatNamedToolChoiceFunction.d.ts +32 -0
- package/dist/models/ChatNamedToolChoiceFunction.js +50 -0
- package/dist/models/ChatResponseFormat.d.ts +48 -0
- package/dist/models/ChatResponseFormat.js +62 -0
- package/dist/models/ChatTool.d.ts +46 -0
- package/dist/models/ChatTool.js +64 -0
- package/dist/models/ChatToolCall.d.ts +52 -0
- package/dist/models/ChatToolCall.js +68 -0
- package/dist/models/ChatToolCallFunction.d.ts +38 -0
- package/dist/models/ChatToolCallFunction.js +54 -0
- package/dist/models/ChatToolFunction.d.ts +52 -0
- package/dist/models/ChatToolFunction.js +56 -0
- package/dist/models/CreateFunctionVersionRequest.d.ts +6 -0
- package/dist/models/CreateFunctionVersionRequest.js +2 -0
- package/dist/models/CreateInstanceRequest.d.ts +13 -0
- package/dist/models/CreateInstanceRequest.js +5 -0
- package/dist/models/DedicatedIPRequest.d.ts +32 -0
- package/dist/models/DedicatedIPRequest.js +48 -0
- package/dist/models/FunctionVersion.d.ts +6 -0
- package/dist/models/FunctionVersion.js +4 -0
- package/dist/models/Instance.d.ts +7 -0
- package/dist/models/Instance.js +3 -0
- package/dist/models/InstanceDedicatedIP.d.ts +83 -0
- package/dist/models/InstanceDedicatedIP.js +85 -0
- package/dist/models/Model.d.ts +12 -0
- package/dist/models/Model.js +4 -0
- package/dist/models/OfferingAlternative.d.ts +68 -0
- package/dist/models/OfferingAlternative.js +74 -0
- package/dist/models/OperationError.d.ts +20 -1
- package/dist/models/OperationError.js +7 -0
- package/dist/models/Problem.d.ts +3 -0
- package/dist/models/Problem.js +3 -0
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +12 -0
- package/dist/runtime.js +1 -1
- package/docs/ChatCompletionRequest.md +8 -0
- package/docs/ChatCompletionRequestToolChoice.md +37 -0
- package/docs/ChatJSONSchemaFormat.md +40 -0
- package/docs/ChatMessage.md +6 -0
- package/docs/ChatNamedToolChoice.md +36 -0
- package/docs/ChatNamedToolChoiceFunction.md +34 -0
- package/docs/ChatResponseFormat.md +37 -0
- package/docs/ChatTool.md +36 -0
- package/docs/ChatToolCall.md +38 -0
- package/docs/ChatToolCallFunction.md +36 -0
- package/docs/ChatToolFunction.md +40 -0
- package/docs/CreateFunctionVersionRequest.md +2 -0
- package/docs/CreateInstanceRequest.md +4 -0
- package/docs/DedicatedIPRequest.md +35 -0
- package/docs/FunctionVersion.md +2 -0
- package/docs/Instance.md +2 -0
- package/docs/InstanceDedicatedIP.md +49 -0
- package/docs/InstancesApi.md +3 -1
- package/docs/Model.md +4 -0
- package/docs/OfferingAlternative.md +47 -0
- package/docs/OperationError.md +6 -0
- package/package.json +1 -1
- package/src/apis/InstancesApi.ts +2 -0
- package/src/models/ChatCompletionRequest.ts +53 -0
- package/src/models/ChatCompletionRequestToolChoice.ts +69 -0
- package/src/models/ChatJSONSchemaFormat.ts +91 -0
- package/src/models/ChatMessage.ts +36 -4
- package/src/models/ChatNamedToolChoice.ts +95 -0
- package/src/models/ChatNamedToolChoiceFunction.ts +66 -0
- package/src/models/ChatResponseFormat.ts +94 -0
- package/src/models/ChatTool.ts +95 -0
- package/src/models/ChatToolCall.ts +104 -0
- package/src/models/ChatToolCallFunction.ts +75 -0
- package/src/models/ChatToolFunction.ts +90 -0
- package/src/models/CreateFunctionVersionRequest.ts +8 -0
- package/src/models/CreateInstanceRequest.ts +23 -0
- package/src/models/DedicatedIPRequest.ts +65 -0
- package/src/models/FunctionVersion.ts +9 -0
- package/src/models/Instance.ts +15 -0
- package/src/models/InstanceDedicatedIP.ts +140 -0
- package/src/models/Model.ts +16 -0
- package/src/models/OfferingAlternative.ts +120 -0
- package/src/models/OperationError.ts +33 -1
- package/src/models/Problem.ts +3 -0
- package/src/models/index.ts +12 -0
- package/src/runtime.ts +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GPU.ai Public Developer API
|
|
3
|
+
* Programmatic API for GPU.ai. Authenticate with API keys minted from the dashboard. See https://gpu.ai/docs for details.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@gpu.ai
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Requests a dedicated public IPv4 address for the instance. Send an empty object for the default ports (80 and 443).
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DedicatedIPRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface DedicatedIPRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Inbound TCP ports to forward. Each must be in the deployment's allowed set (see GET /dedicated-ip). Port 22 and the gateway's own ports are never allowed; SSH stays on the instance's SSH command. Omit for the defaults.
|
|
20
|
+
* @type {Array<number>}
|
|
21
|
+
* @memberof DedicatedIPRequest
|
|
22
|
+
*/
|
|
23
|
+
ports?: Array<number>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the DedicatedIPRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfDedicatedIPRequest(value: object): value is DedicatedIPRequest;
|
|
29
|
+
export declare function DedicatedIPRequestFromJSON(json: any): DedicatedIPRequest;
|
|
30
|
+
export declare function DedicatedIPRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DedicatedIPRequest;
|
|
31
|
+
export declare function DedicatedIPRequestToJSON(json: any): DedicatedIPRequest;
|
|
32
|
+
export declare function DedicatedIPRequestToJSONTyped(value?: DedicatedIPRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* GPU.ai Public Developer API
|
|
5
|
+
* Programmatic API for GPU.ai. Authenticate with API keys minted from the dashboard. See https://gpu.ai/docs for details.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@gpu.ai
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the DedicatedIPRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfDedicatedIPRequest(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function DedicatedIPRequestFromJSON(json) {
|
|
21
|
+
return DedicatedIPRequestFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function DedicatedIPRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'ports': json['ports'] == null ? undefined : json['ports'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function DedicatedIPRequestToJSON(json) {
|
|
32
|
+
return DedicatedIPRequestToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function DedicatedIPRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'ports': value['ports'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -112,6 +112,12 @@ export interface FunctionVersion {
|
|
|
112
112
|
* @memberof FunctionVersion
|
|
113
113
|
*/
|
|
114
114
|
maxConcurrency: number;
|
|
115
|
+
/**
|
|
116
|
+
* Names of the organization secrets each run receives. Empty when none.
|
|
117
|
+
* @type {Array<string>}
|
|
118
|
+
* @memberof FunctionVersion
|
|
119
|
+
*/
|
|
120
|
+
secrets: Array<string>;
|
|
115
121
|
/**
|
|
116
122
|
*
|
|
117
123
|
* @type {Date}
|
|
@@ -49,6 +49,8 @@ export function instanceOfFunctionVersion(value) {
|
|
|
49
49
|
return false;
|
|
50
50
|
if ((!('maxConcurrency' in value) && !('max_concurrency' in value)) || (value['maxConcurrency'] === undefined && value['max_concurrency'] === undefined))
|
|
51
51
|
return false;
|
|
52
|
+
if (!('secrets' in value) || value['secrets'] === undefined)
|
|
53
|
+
return false;
|
|
52
54
|
if ((!('createdAt' in value) && !('created_at' in value)) || (value['createdAt'] === undefined && value['created_at'] === undefined))
|
|
53
55
|
return false;
|
|
54
56
|
return true;
|
|
@@ -77,6 +79,7 @@ export function FunctionVersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
77
79
|
'timeout': json['timeout'],
|
|
78
80
|
'idleTimeout': json['idle_timeout'],
|
|
79
81
|
'maxConcurrency': json['max_concurrency'],
|
|
82
|
+
'secrets': json['secrets'],
|
|
80
83
|
'createdAt': (new Date(json['created_at'])),
|
|
81
84
|
};
|
|
82
85
|
}
|
|
@@ -104,6 +107,7 @@ export function FunctionVersionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
104
107
|
'timeout': value['timeout'],
|
|
105
108
|
'idle_timeout': value['idleTimeout'],
|
|
106
109
|
'max_concurrency': value['maxConcurrency'],
|
|
110
|
+
'secrets': value['secrets'],
|
|
107
111
|
'created_at': value['createdAt'].toISOString(),
|
|
108
112
|
};
|
|
109
113
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { InstanceConnection } from './InstanceConnection';
|
|
13
13
|
import type { InstanceGpuMemory } from './InstanceGpuMemory';
|
|
14
|
+
import type { InstanceDedicatedIP } from './InstanceDedicatedIP';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -143,6 +144,12 @@ export interface Instance {
|
|
|
143
144
|
* @memberof Instance
|
|
144
145
|
*/
|
|
145
146
|
bootPhase?: InstanceBootPhaseEnum;
|
|
147
|
+
/**
|
|
148
|
+
*
|
|
149
|
+
* @type {InstanceDedicatedIP}
|
|
150
|
+
* @memberof Instance
|
|
151
|
+
*/
|
|
152
|
+
dedicatedIp?: InstanceDedicatedIP;
|
|
146
153
|
}
|
|
147
154
|
/**
|
|
148
155
|
* @export
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { InstanceConnectionFromJSON, InstanceConnectionToJSON, } from './InstanceConnection';
|
|
15
15
|
import { InstanceGpuMemoryFromJSON, InstanceGpuMemoryToJSON, } from './InstanceGpuMemory';
|
|
16
|
+
import { InstanceDedicatedIPFromJSON, InstanceDedicatedIPToJSON, } from './InstanceDedicatedIP';
|
|
16
17
|
/**
|
|
17
18
|
* @export
|
|
18
19
|
*/
|
|
@@ -92,6 +93,7 @@ export function InstanceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
92
93
|
'lastReachableAt': json['last_reachable_at'] == null ? undefined : (new Date(json['last_reachable_at'])),
|
|
93
94
|
'unreachableSince': json['unreachable_since'] == null ? undefined : (new Date(json['unreachable_since'])),
|
|
94
95
|
'bootPhase': json['boot_phase'] == null ? undefined : json['boot_phase'],
|
|
96
|
+
'dedicatedIp': json['dedicated_ip'] == null ? undefined : InstanceDedicatedIPFromJSON(json['dedicated_ip']),
|
|
95
97
|
};
|
|
96
98
|
}
|
|
97
99
|
export function InstanceToJSON(json) {
|
|
@@ -123,5 +125,6 @@ export function InstanceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
123
125
|
'last_reachable_at': value['lastReachableAt'] == null ? value['lastReachableAt'] : value['lastReachableAt'].toISOString(),
|
|
124
126
|
'unreachable_since': value['unreachableSince'] == null ? value['unreachableSince'] : value['unreachableSince'].toISOString(),
|
|
125
127
|
'boot_phase': value['bootPhase'],
|
|
128
|
+
'dedicated_ip': InstanceDedicatedIPToJSON(value['dedicatedIp']),
|
|
126
129
|
};
|
|
127
130
|
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GPU.ai Public Developer API
|
|
3
|
+
* Programmatic API for GPU.ai. Authenticate with API keys minted from the dashboard. See https://gpu.ai/docs for details.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@gpu.ai
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The instance's dedicated public IPv4 add-on. Present only on instances launched with `dedicated_ip`, and only on deployments where the add-on is enabled.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InstanceDedicatedIP
|
|
16
|
+
*/
|
|
17
|
+
export interface InstanceDedicatedIP {
|
|
18
|
+
/**
|
|
19
|
+
* The GPU.ai-owned public IPv4 address. Point your DNS A record here.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InstanceDedicatedIP
|
|
22
|
+
*/
|
|
23
|
+
address: string;
|
|
24
|
+
/**
|
|
25
|
+
* Inbound TCP ports forwarded to the same port on the instance's loopback.
|
|
26
|
+
* @type {Array<number>}
|
|
27
|
+
* @memberof InstanceDedicatedIP
|
|
28
|
+
*/
|
|
29
|
+
ports: Array<number>;
|
|
30
|
+
/**
|
|
31
|
+
* active means traffic is forwarded. suspended means forwarding has stopped (see suspend_reason), for example after the transfer cap was reached. released means the address was returned because the instance terminated or failed.
|
|
32
|
+
* @type {InstanceDedicatedIPStatusEnum}
|
|
33
|
+
* @memberof InstanceDedicatedIP
|
|
34
|
+
*/
|
|
35
|
+
status: InstanceDedicatedIPStatusEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Why forwarding is suspended, e.g. `transfer_cap`. Present only while suspended.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof InstanceDedicatedIP
|
|
40
|
+
*/
|
|
41
|
+
suspendReason?: string;
|
|
42
|
+
/**
|
|
43
|
+
* USD per hour charged while the address is attached, locked at launch.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof InstanceDedicatedIP
|
|
46
|
+
*/
|
|
47
|
+
hourlyFee: number;
|
|
48
|
+
/**
|
|
49
|
+
* USD per GB of traffic through the address, both directions, locked at launch.
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof InstanceDedicatedIP
|
|
52
|
+
*/
|
|
53
|
+
transferPricePerGb: number;
|
|
54
|
+
/**
|
|
55
|
+
* GB transferred through the address so far, both directions.
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof InstanceDedicatedIP
|
|
58
|
+
*/
|
|
59
|
+
transferGb: number;
|
|
60
|
+
/**
|
|
61
|
+
* Total charged for this address so far (hourly fee plus transfer), in USD.
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof InstanceDedicatedIP
|
|
64
|
+
*/
|
|
65
|
+
chargedUsd: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export declare const InstanceDedicatedIPStatusEnum: {
|
|
71
|
+
readonly Active: "active";
|
|
72
|
+
readonly Suspended: "suspended";
|
|
73
|
+
readonly Released: "released";
|
|
74
|
+
};
|
|
75
|
+
export type InstanceDedicatedIPStatusEnum = typeof InstanceDedicatedIPStatusEnum[keyof typeof InstanceDedicatedIPStatusEnum];
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the InstanceDedicatedIP interface.
|
|
78
|
+
*/
|
|
79
|
+
export declare function instanceOfInstanceDedicatedIP(value: object): value is InstanceDedicatedIP;
|
|
80
|
+
export declare function InstanceDedicatedIPFromJSON(json: any): InstanceDedicatedIP;
|
|
81
|
+
export declare function InstanceDedicatedIPFromJSONTyped(json: any, ignoreDiscriminator: boolean): InstanceDedicatedIP;
|
|
82
|
+
export declare function InstanceDedicatedIPToJSON(json: any): InstanceDedicatedIP;
|
|
83
|
+
export declare function InstanceDedicatedIPToJSONTyped(value?: InstanceDedicatedIP | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* GPU.ai Public Developer API
|
|
5
|
+
* Programmatic API for GPU.ai. Authenticate with API keys minted from the dashboard. See https://gpu.ai/docs for details.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@gpu.ai
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const InstanceDedicatedIPStatusEnum = {
|
|
18
|
+
Active: 'active',
|
|
19
|
+
Suspended: 'suspended',
|
|
20
|
+
Released: 'released'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the InstanceDedicatedIP interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfInstanceDedicatedIP(value) {
|
|
26
|
+
if (!('address' in value) || value['address'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('ports' in value) || value['ports'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if ((!('hourlyFee' in value) && !('hourly_fee' in value)) || (value['hourlyFee'] === undefined && value['hourly_fee'] === undefined))
|
|
33
|
+
return false;
|
|
34
|
+
if ((!('transferPricePerGb' in value) && !('transfer_price_per_gb' in value)) || (value['transferPricePerGb'] === undefined && value['transfer_price_per_gb'] === undefined))
|
|
35
|
+
return false;
|
|
36
|
+
if ((!('transferGb' in value) && !('transfer_gb' in value)) || (value['transferGb'] === undefined && value['transfer_gb'] === undefined))
|
|
37
|
+
return false;
|
|
38
|
+
if ((!('chargedUsd' in value) && !('charged_usd' in value)) || (value['chargedUsd'] === undefined && value['charged_usd'] === undefined))
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
export function InstanceDedicatedIPFromJSON(json) {
|
|
43
|
+
return InstanceDedicatedIPFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function InstanceDedicatedIPFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'address': json['address'],
|
|
51
|
+
'ports': json['ports'],
|
|
52
|
+
'status': json['status'],
|
|
53
|
+
'suspendReason': json['suspend_reason'] == null ? undefined : json['suspend_reason'],
|
|
54
|
+
'hourlyFee': json['hourly_fee'],
|
|
55
|
+
'transferPricePerGb': json['transfer_price_per_gb'],
|
|
56
|
+
'transferGb': json['transfer_gb'],
|
|
57
|
+
'chargedUsd': json['charged_usd'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
export function InstanceDedicatedIPToJSON(json) {
|
|
61
|
+
return InstanceDedicatedIPToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
export function InstanceDedicatedIPToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'address': value['address'],
|
|
69
|
+
'ports': value['ports'],
|
|
70
|
+
'status': value['status'],
|
|
71
|
+
'suspend_reason': value['suspendReason'],
|
|
72
|
+
'hourly_fee': value['hourlyFee'],
|
|
73
|
+
'transfer_price_per_gb': value['transferPricePerGb'],
|
|
74
|
+
'transfer_gb': value['transferGb'],
|
|
75
|
+
'charged_usd': value['chargedUsd'],
|
|
76
|
+
};
|
|
77
|
+
}
|
|
@@ -71,6 +71,18 @@ export interface Model {
|
|
|
71
71
|
* @memberof Model
|
|
72
72
|
*/
|
|
73
73
|
supportedParameters?: Array<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Chat models only. True when POST /v1/chat/completions accepts tools / tool_choice / parallel_tool_calls for this model and tier.
|
|
76
|
+
* @type {boolean}
|
|
77
|
+
* @memberof Model
|
|
78
|
+
*/
|
|
79
|
+
supportsTools?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Chat models only. True when POST /v1/chat/completions accepts response_format json_object / json_schema for this model and tier.
|
|
82
|
+
* @type {boolean}
|
|
83
|
+
* @memberof Model
|
|
84
|
+
*/
|
|
85
|
+
supportsStructuredOutputs?: boolean;
|
|
74
86
|
/**
|
|
75
87
|
* Typed parameter descriptors for media (image/video) models — name, type, enum/bounds/default. Playgrounds render input forms from these.
|
|
76
88
|
* @type {Array<ModelParametersInner>}
|
package/dist/esm/models/Model.js
CHANGED
|
@@ -73,6 +73,8 @@ export function ModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
73
73
|
'category': json['category'] == null ? undefined : json['category'],
|
|
74
74
|
'contextLength': json['context_length'] == null ? undefined : json['context_length'],
|
|
75
75
|
'supportedParameters': json['supported_parameters'] == null ? undefined : json['supported_parameters'],
|
|
76
|
+
'supportsTools': json['supports_tools'] == null ? undefined : json['supports_tools'],
|
|
77
|
+
'supportsStructuredOutputs': json['supports_structured_outputs'] == null ? undefined : json['supports_structured_outputs'],
|
|
76
78
|
'parameters': json['parameters'] == null ? undefined : (json['parameters'].map(ModelParametersInnerFromJSON)),
|
|
77
79
|
'pricing': ModelPricingFromJSON(json['pricing']),
|
|
78
80
|
'aliases': json['aliases'] == null ? undefined : json['aliases'],
|
|
@@ -98,6 +100,8 @@ export function ModelToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
98
100
|
'category': value['category'],
|
|
99
101
|
'context_length': value['contextLength'],
|
|
100
102
|
'supported_parameters': value['supportedParameters'],
|
|
103
|
+
'supports_tools': value['supportsTools'],
|
|
104
|
+
'supports_structured_outputs': value['supportsStructuredOutputs'],
|
|
101
105
|
'parameters': value['parameters'] == null ? undefined : (value['parameters'].map(ModelParametersInnerToJSON)),
|
|
102
106
|
'pricing': ModelPricingToJSON(value['pricing']),
|
|
103
107
|
'aliases': value['aliases'],
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GPU.ai Public Developer API
|
|
3
|
+
* Programmatic API for GPU.ai. Authenticate with API keys minted from the dashboard. See https://gpu.ai/docs for details.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@gpu.ai
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* A live catalog row a launch whose pinned offering was gone could take instead. Same fields and meaning as the matching GET /pricing row.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OfferingAlternative
|
|
16
|
+
*/
|
|
17
|
+
export interface OfferingAlternative {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OfferingAlternative
|
|
22
|
+
*/
|
|
23
|
+
offeringId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OfferingAlternative
|
|
28
|
+
*/
|
|
29
|
+
gpuType: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof OfferingAlternative
|
|
34
|
+
*/
|
|
35
|
+
gpuCount: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof OfferingAlternative
|
|
40
|
+
*/
|
|
41
|
+
region: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof OfferingAlternative
|
|
46
|
+
*/
|
|
47
|
+
tier: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof OfferingAlternative
|
|
52
|
+
*/
|
|
53
|
+
pricePerHour: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof OfferingAlternative
|
|
58
|
+
*/
|
|
59
|
+
available: number;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the OfferingAlternative interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfOfferingAlternative(value: object): value is OfferingAlternative;
|
|
65
|
+
export declare function OfferingAlternativeFromJSON(json: any): OfferingAlternative;
|
|
66
|
+
export declare function OfferingAlternativeFromJSONTyped(json: any, ignoreDiscriminator: boolean): OfferingAlternative;
|
|
67
|
+
export declare function OfferingAlternativeToJSON(json: any): OfferingAlternative;
|
|
68
|
+
export declare function OfferingAlternativeToJSONTyped(value?: OfferingAlternative | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* GPU.ai Public Developer API
|
|
5
|
+
* Programmatic API for GPU.ai. Authenticate with API keys minted from the dashboard. See https://gpu.ai/docs for details.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
* Contact: support@gpu.ai
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the OfferingAlternative interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfOfferingAlternative(value) {
|
|
18
|
+
if ((!('offeringId' in value) && !('offering_id' in value)) || (value['offeringId'] === undefined && value['offering_id'] === undefined))
|
|
19
|
+
return false;
|
|
20
|
+
if ((!('gpuType' in value) && !('gpu_type' in value)) || (value['gpuType'] === undefined && value['gpu_type'] === undefined))
|
|
21
|
+
return false;
|
|
22
|
+
if ((!('gpuCount' in value) && !('gpu_count' in value)) || (value['gpuCount'] === undefined && value['gpu_count'] === undefined))
|
|
23
|
+
return false;
|
|
24
|
+
if (!('region' in value) || value['region'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('tier' in value) || value['tier'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if ((!('pricePerHour' in value) && !('price_per_hour' in value)) || (value['pricePerHour'] === undefined && value['price_per_hour'] === undefined))
|
|
29
|
+
return false;
|
|
30
|
+
if (!('available' in value) || value['available'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
export function OfferingAlternativeFromJSON(json) {
|
|
35
|
+
return OfferingAlternativeFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function OfferingAlternativeFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'offeringId': json['offering_id'],
|
|
43
|
+
'gpuType': json['gpu_type'],
|
|
44
|
+
'gpuCount': json['gpu_count'],
|
|
45
|
+
'region': json['region'],
|
|
46
|
+
'tier': json['tier'],
|
|
47
|
+
'pricePerHour': json['price_per_hour'],
|
|
48
|
+
'available': json['available'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export function OfferingAlternativeToJSON(json) {
|
|
52
|
+
return OfferingAlternativeToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
export function OfferingAlternativeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'offering_id': value['offeringId'],
|
|
60
|
+
'gpu_type': value['gpuType'],
|
|
61
|
+
'gpu_count': value['gpuCount'],
|
|
62
|
+
'region': value['region'],
|
|
63
|
+
'tier': value['tier'],
|
|
64
|
+
'price_per_hour': value['pricePerHour'],
|
|
65
|
+
'available': value['available'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { OfferingAlternative } from './OfferingAlternative';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -16,7 +17,7 @@
|
|
|
16
17
|
*/
|
|
17
18
|
export interface OperationError {
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
+
* Stable machine-readable failure code (see Problem.code), for example operation_failed (retryable after a backoff), price_changed or offering_unavailable (not retryable as sent).
|
|
20
21
|
* @type {string}
|
|
21
22
|
* @memberof OperationError
|
|
22
23
|
*/
|
|
@@ -27,6 +28,24 @@ export interface OperationError {
|
|
|
27
28
|
* @memberof OperationError
|
|
28
29
|
*/
|
|
29
30
|
detail?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Present only when code is offering_unavailable: up to three live catalog rows of the same GPU type, count and tier, cheapest first. Pass one's offering_id as the new pin.
|
|
33
|
+
* @type {Array<OfferingAlternative>}
|
|
34
|
+
* @memberof OperationError
|
|
35
|
+
*/
|
|
36
|
+
alternatives?: Array<OfferingAlternative>;
|
|
37
|
+
/**
|
|
38
|
+
* Present only when code is price_changed: the live hourly price the launch found.
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof OperationError
|
|
41
|
+
*/
|
|
42
|
+
currentPricePerHour?: number;
|
|
43
|
+
/**
|
|
44
|
+
* Present only when code is price_changed: the hourly price the launch was approved at (max_price_per_hour, or the viewed price). Relaunch with max_price_per_hour of at least current_price_per_hour to accept the new price.
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof OperationError
|
|
47
|
+
*/
|
|
48
|
+
maxPricePerHour?: number;
|
|
30
49
|
}
|
|
31
50
|
/**
|
|
32
51
|
* Check if a given object implements the OperationError interface.
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { OfferingAlternativeFromJSON, OfferingAlternativeToJSON, } from './OfferingAlternative';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the OperationError interface.
|
|
16
17
|
*/
|
|
@@ -27,6 +28,9 @@ export function OperationErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
28
|
return {
|
|
28
29
|
'code': json['code'] == null ? undefined : json['code'],
|
|
29
30
|
'detail': json['detail'] == null ? undefined : json['detail'],
|
|
31
|
+
'alternatives': json['alternatives'] == null ? undefined : (json['alternatives'].map(OfferingAlternativeFromJSON)),
|
|
32
|
+
'currentPricePerHour': json['current_price_per_hour'] == null ? undefined : json['current_price_per_hour'],
|
|
33
|
+
'maxPricePerHour': json['max_price_per_hour'] == null ? undefined : json['max_price_per_hour'],
|
|
30
34
|
};
|
|
31
35
|
}
|
|
32
36
|
export function OperationErrorToJSON(json) {
|
|
@@ -39,5 +43,8 @@ export function OperationErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
39
43
|
return {
|
|
40
44
|
'code': value['code'],
|
|
41
45
|
'detail': value['detail'],
|
|
46
|
+
'alternatives': value['alternatives'] == null ? undefined : (value['alternatives'].map(OfferingAlternativeToJSON)),
|
|
47
|
+
'current_price_per_hour': value['currentPricePerHour'],
|
|
48
|
+
'max_price_per_hour': value['maxPricePerHour'],
|
|
42
49
|
};
|
|
43
50
|
}
|
|
@@ -69,6 +69,9 @@ export declare const ProblemCodeEnum: {
|
|
|
69
69
|
readonly ModelTooLarge: "model_too_large";
|
|
70
70
|
readonly GpuVramTooSmall: "gpu_vram_too_small";
|
|
71
71
|
readonly PriceChanged: "price_changed";
|
|
72
|
+
readonly OfferingUnavailable: "offering_unavailable";
|
|
73
|
+
readonly DedicatedIpLimit: "dedicated_ip_limit";
|
|
74
|
+
readonly DedicatedIpUnavailable: "dedicated_ip_unavailable";
|
|
72
75
|
readonly InsufficientBalance: "insufficient_balance";
|
|
73
76
|
readonly QuotaExceeded: "quota_exceeded";
|
|
74
77
|
readonly RateLimited: "rate_limited";
|
|
@@ -28,6 +28,9 @@ export const ProblemCodeEnum = {
|
|
|
28
28
|
ModelTooLarge: 'model_too_large',
|
|
29
29
|
GpuVramTooSmall: 'gpu_vram_too_small',
|
|
30
30
|
PriceChanged: 'price_changed',
|
|
31
|
+
OfferingUnavailable: 'offering_unavailable',
|
|
32
|
+
DedicatedIpLimit: 'dedicated_ip_limit',
|
|
33
|
+
DedicatedIpUnavailable: 'dedicated_ip_unavailable',
|
|
31
34
|
InsufficientBalance: 'insufficient_balance',
|
|
32
35
|
QuotaExceeded: 'quota_exceeded',
|
|
33
36
|
RateLimited: 'rate_limited',
|
|
@@ -6,8 +6,17 @@ export * from './Balance';
|
|
|
6
6
|
export * from './BillingDetails';
|
|
7
7
|
export * from './ChatChoice';
|
|
8
8
|
export * from './ChatCompletionRequest';
|
|
9
|
+
export * from './ChatCompletionRequestToolChoice';
|
|
9
10
|
export * from './ChatCompletionResponse';
|
|
11
|
+
export * from './ChatJSONSchemaFormat';
|
|
10
12
|
export * from './ChatMessage';
|
|
13
|
+
export * from './ChatNamedToolChoice';
|
|
14
|
+
export * from './ChatNamedToolChoiceFunction';
|
|
15
|
+
export * from './ChatResponseFormat';
|
|
16
|
+
export * from './ChatTool';
|
|
17
|
+
export * from './ChatToolCall';
|
|
18
|
+
export * from './ChatToolCallFunction';
|
|
19
|
+
export * from './ChatToolFunction';
|
|
11
20
|
export * from './CommunityMachine';
|
|
12
21
|
export * from './CommunityMachineDelistResult';
|
|
13
22
|
export * from './CommunityMachineRegistration';
|
|
@@ -26,6 +35,7 @@ export * from './CreateRegistryCredentialRequest';
|
|
|
26
35
|
export * from './CreateSshKeyRequest';
|
|
27
36
|
export * from './CreateWebhookEndpointRequest';
|
|
28
37
|
export * from './CryptoDeposit';
|
|
38
|
+
export * from './DedicatedIPRequest';
|
|
29
39
|
export * from './Embedding';
|
|
30
40
|
export * from './EmbeddingsRequest';
|
|
31
41
|
export * from './EmbeddingsRequestInput';
|
|
@@ -63,6 +73,7 @@ export * from './ImagesResponseUsage';
|
|
|
63
73
|
export * from './IncludeItem';
|
|
64
74
|
export * from './Instance';
|
|
65
75
|
export * from './InstanceConnection';
|
|
76
|
+
export * from './InstanceDedicatedIP';
|
|
66
77
|
export * from './InstanceGpuMemory';
|
|
67
78
|
export * from './InstancePage';
|
|
68
79
|
export * from './Invoice';
|
|
@@ -77,6 +88,7 @@ export * from './ModelList';
|
|
|
77
88
|
export * from './ModelParametersInner';
|
|
78
89
|
export * from './ModelPricing';
|
|
79
90
|
export * from './ModelRate';
|
|
91
|
+
export * from './OfferingAlternative';
|
|
80
92
|
export * from './OpenAIErrorEnvelope';
|
|
81
93
|
export * from './OpenAIErrorEnvelopeError';
|
|
82
94
|
export * from './Operation';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -8,8 +8,17 @@ export * from './Balance';
|
|
|
8
8
|
export * from './BillingDetails';
|
|
9
9
|
export * from './ChatChoice';
|
|
10
10
|
export * from './ChatCompletionRequest';
|
|
11
|
+
export * from './ChatCompletionRequestToolChoice';
|
|
11
12
|
export * from './ChatCompletionResponse';
|
|
13
|
+
export * from './ChatJSONSchemaFormat';
|
|
12
14
|
export * from './ChatMessage';
|
|
15
|
+
export * from './ChatNamedToolChoice';
|
|
16
|
+
export * from './ChatNamedToolChoiceFunction';
|
|
17
|
+
export * from './ChatResponseFormat';
|
|
18
|
+
export * from './ChatTool';
|
|
19
|
+
export * from './ChatToolCall';
|
|
20
|
+
export * from './ChatToolCallFunction';
|
|
21
|
+
export * from './ChatToolFunction';
|
|
13
22
|
export * from './CommunityMachine';
|
|
14
23
|
export * from './CommunityMachineDelistResult';
|
|
15
24
|
export * from './CommunityMachineRegistration';
|
|
@@ -28,6 +37,7 @@ export * from './CreateRegistryCredentialRequest';
|
|
|
28
37
|
export * from './CreateSshKeyRequest';
|
|
29
38
|
export * from './CreateWebhookEndpointRequest';
|
|
30
39
|
export * from './CryptoDeposit';
|
|
40
|
+
export * from './DedicatedIPRequest';
|
|
31
41
|
export * from './Embedding';
|
|
32
42
|
export * from './EmbeddingsRequest';
|
|
33
43
|
export * from './EmbeddingsRequestInput';
|
|
@@ -65,6 +75,7 @@ export * from './ImagesResponseUsage';
|
|
|
65
75
|
export * from './IncludeItem';
|
|
66
76
|
export * from './Instance';
|
|
67
77
|
export * from './InstanceConnection';
|
|
78
|
+
export * from './InstanceDedicatedIP';
|
|
68
79
|
export * from './InstanceGpuMemory';
|
|
69
80
|
export * from './InstancePage';
|
|
70
81
|
export * from './Invoice';
|
|
@@ -79,6 +90,7 @@ export * from './ModelList';
|
|
|
79
90
|
export * from './ModelParametersInner';
|
|
80
91
|
export * from './ModelPricing';
|
|
81
92
|
export * from './ModelRate';
|
|
93
|
+
export * from './OfferingAlternative';
|
|
82
94
|
export * from './OpenAIErrorEnvelope';
|
|
83
95
|
export * from './OpenAIErrorEnvelopeError';
|
|
84
96
|
export * from './Operation';
|