@gpuai/sdk 0.3.17 → 0.4.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.
- package/.openapi-generator/FILES +40 -0
- package/README.md +36 -2
- package/dist/apis/BillingApi.d.ts +70 -0
- package/dist/apis/BillingApi.js +197 -0
- package/dist/apis/FunctionsApi.d.ts +228 -0
- package/dist/apis/FunctionsApi.js +627 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/BillingApi.d.ts +70 -0
- package/dist/esm/apis/BillingApi.js +197 -0
- package/dist/esm/apis/FunctionsApi.d.ts +228 -0
- package/dist/esm/apis/FunctionsApi.js +623 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AutolaunchRule.d.ts +4 -2
- package/dist/esm/models/BillingDetails.d.ts +98 -0
- package/dist/esm/models/BillingDetails.js +85 -0
- package/dist/esm/models/CreateFunctionRequest.d.ts +32 -0
- package/dist/esm/models/CreateFunctionRequest.js +43 -0
- package/dist/esm/models/CreateFunctionRunRequest.d.ts +38 -0
- package/dist/esm/models/CreateFunctionRunRequest.js +45 -0
- package/dist/esm/models/CreateFunctionVersionRequest.d.ts +110 -0
- package/dist/esm/models/CreateFunctionVersionRequest.js +79 -0
- package/dist/esm/models/Function.d.ts +163 -0
- package/dist/esm/models/Function.js +109 -0
- package/dist/esm/models/FunctionList.d.ts +33 -0
- package/dist/esm/models/FunctionList.js +44 -0
- package/dist/esm/models/FunctionReplicaCounts.d.ts +44 -0
- package/dist/esm/models/FunctionReplicaCounts.js +51 -0
- package/dist/esm/models/FunctionRun.d.ts +130 -0
- package/dist/esm/models/FunctionRun.js +94 -0
- package/dist/esm/models/FunctionRunError.d.ts +44 -0
- package/dist/esm/models/FunctionRunError.js +49 -0
- package/dist/esm/models/FunctionRunList.d.ts +39 -0
- package/dist/esm/models/FunctionRunList.js +48 -0
- package/dist/esm/models/FunctionRunLogChunk.d.ts +59 -0
- package/dist/esm/models/FunctionRunLogChunk.js +63 -0
- package/dist/esm/models/FunctionRunLogs.d.ts +45 -0
- package/dist/esm/models/FunctionRunLogs.js +52 -0
- package/dist/esm/models/FunctionUpload.d.ts +51 -0
- package/dist/esm/models/FunctionUpload.js +59 -0
- package/dist/esm/models/FunctionVersion.d.ts +137 -0
- package/dist/esm/models/FunctionVersion.js +109 -0
- package/dist/esm/models/Invoice.d.ts +68 -0
- package/dist/esm/models/Invoice.js +67 -0
- package/dist/esm/models/InvoiceList.d.ts +45 -0
- package/dist/esm/models/InvoiceList.js +50 -0
- package/dist/esm/models/ModelPricing.d.ts +46 -0
- package/dist/esm/models/ModelPricing.js +21 -0
- package/dist/esm/models/ModelRate.d.ts +62 -0
- package/dist/esm/models/ModelRate.js +51 -0
- package/dist/esm/models/PeakWindow.d.ts +38 -0
- package/dist/esm/models/PeakWindow.js +47 -0
- package/dist/esm/models/UpdateBillingDetailsRequest.d.ts +80 -0
- package/dist/esm/models/UpdateBillingDetailsRequest.js +57 -0
- package/dist/esm/models/index.d.ts +19 -0
- package/dist/esm/models/index.js +19 -0
- package/dist/esm/runtime.js +1 -1
- package/dist/models/AutolaunchRule.d.ts +4 -2
- package/dist/models/BillingDetails.d.ts +98 -0
- package/dist/models/BillingDetails.js +92 -0
- package/dist/models/CreateFunctionRequest.d.ts +32 -0
- package/dist/models/CreateFunctionRequest.js +50 -0
- package/dist/models/CreateFunctionRunRequest.d.ts +38 -0
- package/dist/models/CreateFunctionRunRequest.js +52 -0
- package/dist/models/CreateFunctionVersionRequest.d.ts +110 -0
- package/dist/models/CreateFunctionVersionRequest.js +86 -0
- package/dist/models/Function.d.ts +163 -0
- package/dist/models/Function.js +117 -0
- package/dist/models/FunctionList.d.ts +33 -0
- package/dist/models/FunctionList.js +51 -0
- package/dist/models/FunctionReplicaCounts.d.ts +44 -0
- package/dist/models/FunctionReplicaCounts.js +58 -0
- package/dist/models/FunctionRun.d.ts +130 -0
- package/dist/models/FunctionRun.js +102 -0
- package/dist/models/FunctionRunError.d.ts +44 -0
- package/dist/models/FunctionRunError.js +56 -0
- package/dist/models/FunctionRunList.d.ts +39 -0
- package/dist/models/FunctionRunList.js +55 -0
- package/dist/models/FunctionRunLogChunk.d.ts +59 -0
- package/dist/models/FunctionRunLogChunk.js +71 -0
- package/dist/models/FunctionRunLogs.d.ts +45 -0
- package/dist/models/FunctionRunLogs.js +59 -0
- package/dist/models/FunctionUpload.d.ts +51 -0
- package/dist/models/FunctionUpload.js +67 -0
- package/dist/models/FunctionVersion.d.ts +137 -0
- package/dist/models/FunctionVersion.js +117 -0
- package/dist/models/Invoice.d.ts +68 -0
- package/dist/models/Invoice.js +74 -0
- package/dist/models/InvoiceList.d.ts +45 -0
- package/dist/models/InvoiceList.js +57 -0
- package/dist/models/ModelPricing.d.ts +46 -0
- package/dist/models/ModelPricing.js +22 -0
- package/dist/models/ModelRate.d.ts +62 -0
- package/dist/models/ModelRate.js +58 -0
- package/dist/models/PeakWindow.d.ts +38 -0
- package/dist/models/PeakWindow.js +54 -0
- package/dist/models/UpdateBillingDetailsRequest.d.ts +80 -0
- package/dist/models/UpdateBillingDetailsRequest.js +64 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +19 -0
- package/dist/runtime.js +1 -1
- package/docs/AutolaunchApi.md +1 -1
- package/docs/BillingApi.md +299 -0
- package/docs/BillingDetails.md +56 -0
- package/docs/CreateFunctionRequest.md +34 -0
- package/docs/CreateFunctionRunRequest.md +36 -0
- package/docs/CreateFunctionVersionRequest.md +60 -0
- package/docs/Function.md +75 -0
- package/docs/FunctionList.md +34 -0
- package/docs/FunctionReplicaCounts.md +39 -0
- package/docs/FunctionRun.md +63 -0
- package/docs/FunctionRunError.md +38 -0
- package/docs/FunctionRunList.md +36 -0
- package/docs/FunctionRunLogChunk.md +40 -0
- package/docs/FunctionRunLogs.md +38 -0
- package/docs/FunctionUpload.md +38 -0
- package/docs/FunctionVersion.md +66 -0
- package/docs/FunctionsApi.md +880 -0
- package/docs/Invoice.md +46 -0
- package/docs/InvoiceList.md +38 -0
- package/docs/ModelPricing.md +12 -0
- package/docs/ModelRate.md +45 -0
- package/docs/PeakWindow.md +37 -0
- package/docs/UpdateBillingDetailsRequest.md +50 -0
- package/package.json +1 -1
- package/src/apis/BillingApi.ts +247 -0
- package/src/apis/FunctionsApi.ts +828 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AutolaunchRule.ts +4 -2
- package/src/models/BillingDetails.ts +164 -0
- package/src/models/CreateFunctionRequest.ts +66 -0
- package/src/models/CreateFunctionRunRequest.ts +74 -0
- package/src/models/CreateFunctionVersionRequest.ts +175 -0
- package/src/models/Function.ts +255 -0
- package/src/models/FunctionList.ts +74 -0
- package/src/models/FunctionReplicaCounts.ts +84 -0
- package/src/models/FunctionRun.ts +207 -0
- package/src/models/FunctionRunError.ts +83 -0
- package/src/models/FunctionRunList.ts +83 -0
- package/src/models/FunctionRunLogChunk.ts +105 -0
- package/src/models/FunctionRunLogs.ts +92 -0
- package/src/models/FunctionUpload.ts +96 -0
- package/src/models/FunctionVersion.ts +226 -0
- package/src/models/Invoice.ts +120 -0
- package/src/models/InvoiceList.ts +91 -0
- package/src/models/ModelPricing.ts +74 -0
- package/src/models/ModelRate.ts +105 -0
- package/src/models/PeakWindow.ts +75 -0
- package/src/models/UpdateBillingDetailsRequest.ts +129 -0
- package/src/models/index.ts +19 -0
- package/src/runtime.ts +1 -1
|
@@ -0,0 +1,228 @@
|
|
|
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
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import { type CreateFunctionRequest } from '../models/CreateFunctionRequest';
|
|
14
|
+
import { type CreateFunctionRunRequest } from '../models/CreateFunctionRunRequest';
|
|
15
|
+
import { type CreateFunctionVersionRequest } from '../models/CreateFunctionVersionRequest';
|
|
16
|
+
import { type Function } from '../models/Function';
|
|
17
|
+
import { type FunctionList } from '../models/FunctionList';
|
|
18
|
+
import { type FunctionRun } from '../models/FunctionRun';
|
|
19
|
+
import { type FunctionRunList } from '../models/FunctionRunList';
|
|
20
|
+
import { type FunctionRunLogs } from '../models/FunctionRunLogs';
|
|
21
|
+
import { type FunctionVersion } from '../models/FunctionVersion';
|
|
22
|
+
export interface ActivateFunctionVersionRequest {
|
|
23
|
+
id: string;
|
|
24
|
+
versionId: string;
|
|
25
|
+
idempotencyKey?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface CancelFunctionRunRequest {
|
|
28
|
+
id: string;
|
|
29
|
+
runId: string;
|
|
30
|
+
idempotencyKey?: string;
|
|
31
|
+
}
|
|
32
|
+
export interface CreateFunctionOperationRequest {
|
|
33
|
+
createFunctionRequest: CreateFunctionRequest;
|
|
34
|
+
idempotencyKey?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface CreateFunctionRunOperationRequest {
|
|
37
|
+
id: string;
|
|
38
|
+
createFunctionRunRequest: CreateFunctionRunRequest;
|
|
39
|
+
idempotencyKey?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface CreateFunctionVersionOperationRequest {
|
|
42
|
+
id: string;
|
|
43
|
+
createFunctionVersionRequest: CreateFunctionVersionRequest;
|
|
44
|
+
idempotencyKey?: string;
|
|
45
|
+
}
|
|
46
|
+
export interface DeleteFunctionRequest {
|
|
47
|
+
id: string;
|
|
48
|
+
}
|
|
49
|
+
export interface GetFunctionRequest {
|
|
50
|
+
id: string;
|
|
51
|
+
}
|
|
52
|
+
export interface GetFunctionRunRequest {
|
|
53
|
+
id: string;
|
|
54
|
+
runId: string;
|
|
55
|
+
wait?: number;
|
|
56
|
+
includeResult?: boolean;
|
|
57
|
+
}
|
|
58
|
+
export interface GetFunctionRunLogsRequest {
|
|
59
|
+
id: string;
|
|
60
|
+
runId: string;
|
|
61
|
+
after?: number;
|
|
62
|
+
limit?: number;
|
|
63
|
+
wait?: number;
|
|
64
|
+
}
|
|
65
|
+
export interface ListFunctionRunsRequest {
|
|
66
|
+
id: string;
|
|
67
|
+
cursor?: string;
|
|
68
|
+
limit?: number;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare class FunctionsApi extends runtime.BaseAPI {
|
|
74
|
+
/**
|
|
75
|
+
* Creates request options for activateFunctionVersion without sending the request
|
|
76
|
+
*/
|
|
77
|
+
activateFunctionVersionRequestOpts(requestParameters: ActivateFunctionVersionRequest): Promise<runtime.RequestOpts>;
|
|
78
|
+
/**
|
|
79
|
+
* Reads the uploaded bundle back, checks it against the declared size and SHA-256 (422 on a mismatch or a missing upload), and makes the version the one the function\'s next call runs. Safe to repeat. Requires the `functions:write` scope.
|
|
80
|
+
* Confirm a version\'s upload and make it current
|
|
81
|
+
*/
|
|
82
|
+
activateFunctionVersionRaw(requestParameters: ActivateFunctionVersionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FunctionVersion>>;
|
|
83
|
+
/**
|
|
84
|
+
* Reads the uploaded bundle back, checks it against the declared size and SHA-256 (422 on a mismatch or a missing upload), and makes the version the one the function\'s next call runs. Safe to repeat. Requires the `functions:write` scope.
|
|
85
|
+
* Confirm a version\'s upload and make it current
|
|
86
|
+
*/
|
|
87
|
+
activateFunctionVersion(requestParameters: ActivateFunctionVersionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FunctionVersion>;
|
|
88
|
+
/**
|
|
89
|
+
* Creates request options for cancelFunctionRun without sending the request
|
|
90
|
+
*/
|
|
91
|
+
cancelFunctionRunRequestOpts(requestParameters: CancelFunctionRunRequest): Promise<runtime.RequestOpts>;
|
|
92
|
+
/**
|
|
93
|
+
* A queued run is cancelled at once; a running one is stopped on its machine within seconds, and the machine stays ready for the next call. Cancelling a finished run changes nothing and returns it, so the request is safe to repeat. Requires the `functions:write` scope.
|
|
94
|
+
* Cancel a run
|
|
95
|
+
*/
|
|
96
|
+
cancelFunctionRunRaw(requestParameters: CancelFunctionRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FunctionRun>>;
|
|
97
|
+
/**
|
|
98
|
+
* A queued run is cancelled at once; a running one is stopped on its machine within seconds, and the machine stays ready for the next call. Cancelling a finished run changes nothing and returns it, so the request is safe to repeat. Requires the `functions:write` scope.
|
|
99
|
+
* Cancel a run
|
|
100
|
+
*/
|
|
101
|
+
cancelFunctionRun(requestParameters: CancelFunctionRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FunctionRun>;
|
|
102
|
+
/**
|
|
103
|
+
* Creates request options for createFunction without sending the request
|
|
104
|
+
*/
|
|
105
|
+
createFunctionRequestOpts(requestParameters: CreateFunctionOperationRequest): Promise<runtime.RequestOpts>;
|
|
106
|
+
/**
|
|
107
|
+
* Returns the organization\'s function with this name, creating it on first use (201) or returning the existing one (200). Creating a function starts no machine and costs nothing. Requires the `functions:write` scope. The key must belong to a user, because the function\'s machines are launched as that user.
|
|
108
|
+
* Get or create a function by name
|
|
109
|
+
*/
|
|
110
|
+
createFunctionRaw(requestParameters: CreateFunctionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Function>>;
|
|
111
|
+
/**
|
|
112
|
+
* Returns the organization\'s function with this name, creating it on first use (201) or returning the existing one (200). Creating a function starts no machine and costs nothing. Requires the `functions:write` scope. The key must belong to a user, because the function\'s machines are launched as that user.
|
|
113
|
+
* Get or create a function by name
|
|
114
|
+
*/
|
|
115
|
+
createFunction(requestParameters: CreateFunctionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Function>;
|
|
116
|
+
/**
|
|
117
|
+
* Creates request options for createFunctionRun without sending the request
|
|
118
|
+
*/
|
|
119
|
+
createFunctionRunRequestOpts(requestParameters: CreateFunctionRunOperationRequest): Promise<runtime.RequestOpts>;
|
|
120
|
+
/**
|
|
121
|
+
* Queues one call and returns at once (202). A warm machine takes it within moments; otherwise a machine is started for it, up to the function\'s `max_concurrency`, beyond which calls wait in the queue. Read the run with `wait` for the outcome. Send an `Idempotency-Key` so a retried request does not run the function twice. Calling a function can start a billed machine: an organization with no balance is refused with 402, and the organization\'s spending limits apply when the machine is requested. Requires the `functions:write` scope.
|
|
122
|
+
* Call a function
|
|
123
|
+
*/
|
|
124
|
+
createFunctionRunRaw(requestParameters: CreateFunctionRunOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FunctionRun>>;
|
|
125
|
+
/**
|
|
126
|
+
* Queues one call and returns at once (202). A warm machine takes it within moments; otherwise a machine is started for it, up to the function\'s `max_concurrency`, beyond which calls wait in the queue. Read the run with `wait` for the outcome. Send an `Idempotency-Key` so a retried request does not run the function twice. Calling a function can start a billed machine: an organization with no balance is refused with 402, and the organization\'s spending limits apply when the machine is requested. Requires the `functions:write` scope.
|
|
127
|
+
* Call a function
|
|
128
|
+
*/
|
|
129
|
+
createFunctionRun(requestParameters: CreateFunctionRunOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FunctionRun>;
|
|
130
|
+
/**
|
|
131
|
+
* Creates request options for createFunctionVersion without sending the request
|
|
132
|
+
*/
|
|
133
|
+
createFunctionVersionRequestOpts(requestParameters: CreateFunctionVersionOperationRequest): Promise<runtime.RequestOpts>;
|
|
134
|
+
/**
|
|
135
|
+
* Declares one version of the function: the digest of its pickled code, its Python dependencies and its settings. Idempotent on `content_hash`: the same hash returns the existing version (200) instead of a new one (201). A version whose code is not uploaded yet carries an `upload` URL; PUT the bundle there, then activate the version. Requires the `functions:write` scope.
|
|
136
|
+
* Register a version of a function
|
|
137
|
+
*/
|
|
138
|
+
createFunctionVersionRaw(requestParameters: CreateFunctionVersionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FunctionVersion>>;
|
|
139
|
+
/**
|
|
140
|
+
* Declares one version of the function: the digest of its pickled code, its Python dependencies and its settings. Idempotent on `content_hash`: the same hash returns the existing version (200) instead of a new one (201). A version whose code is not uploaded yet carries an `upload` URL; PUT the bundle there, then activate the version. Requires the `functions:write` scope.
|
|
141
|
+
* Register a version of a function
|
|
142
|
+
*/
|
|
143
|
+
createFunctionVersion(requestParameters: CreateFunctionVersionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FunctionVersion>;
|
|
144
|
+
/**
|
|
145
|
+
* Creates request options for deleteFunction without sending the request
|
|
146
|
+
*/
|
|
147
|
+
deleteFunctionRequestOpts(requestParameters: DeleteFunctionRequest): Promise<runtime.RequestOpts>;
|
|
148
|
+
/**
|
|
149
|
+
* The function stops taking calls, its queued calls are cancelled, a call that is executing is stopped, and its machines are released, which ends their billing. The name can be reused afterwards. Requires the `functions:write` scope.
|
|
150
|
+
* Delete a function
|
|
151
|
+
*/
|
|
152
|
+
deleteFunctionRaw(requestParameters: DeleteFunctionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
153
|
+
/**
|
|
154
|
+
* The function stops taking calls, its queued calls are cancelled, a call that is executing is stopped, and its machines are released, which ends their billing. The name can be reused afterwards. Requires the `functions:write` scope.
|
|
155
|
+
* Delete a function
|
|
156
|
+
*/
|
|
157
|
+
deleteFunction(requestParameters: DeleteFunctionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
158
|
+
/**
|
|
159
|
+
* Creates request options for getFunction without sending the request
|
|
160
|
+
*/
|
|
161
|
+
getFunctionRequestOpts(requestParameters: GetFunctionRequest): Promise<runtime.RequestOpts>;
|
|
162
|
+
/**
|
|
163
|
+
* Requires the `functions:read` scope.
|
|
164
|
+
* Get a function
|
|
165
|
+
*/
|
|
166
|
+
getFunctionRaw(requestParameters: GetFunctionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Function>>;
|
|
167
|
+
/**
|
|
168
|
+
* Requires the `functions:read` scope.
|
|
169
|
+
* Get a function
|
|
170
|
+
*/
|
|
171
|
+
getFunction(requestParameters: GetFunctionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Function>;
|
|
172
|
+
/**
|
|
173
|
+
* Creates request options for getFunctionRun without sending the request
|
|
174
|
+
*/
|
|
175
|
+
getFunctionRunRequestOpts(requestParameters: GetFunctionRunRequest): Promise<runtime.RequestOpts>;
|
|
176
|
+
/**
|
|
177
|
+
* Returns one call. With `wait`, the request is held until the run finishes or the wait elapses, so a caller blocks on one request instead of polling. Requires the `functions:read` scope.
|
|
178
|
+
* Get a run
|
|
179
|
+
*/
|
|
180
|
+
getFunctionRunRaw(requestParameters: GetFunctionRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FunctionRun>>;
|
|
181
|
+
/**
|
|
182
|
+
* Returns one call. With `wait`, the request is held until the run finishes or the wait elapses, so a caller blocks on one request instead of polling. Requires the `functions:read` scope.
|
|
183
|
+
* Get a run
|
|
184
|
+
*/
|
|
185
|
+
getFunctionRun(requestParameters: GetFunctionRunRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FunctionRun>;
|
|
186
|
+
/**
|
|
187
|
+
* Creates request options for getFunctionRunLogs without sending the request
|
|
188
|
+
*/
|
|
189
|
+
getFunctionRunLogsRequestOpts(requestParameters: GetFunctionRunLogsRequest): Promise<runtime.RequestOpts>;
|
|
190
|
+
/**
|
|
191
|
+
* Returns the run\'s stdout and stderr after `after`, oldest first. With `wait`, the request is held until there is new output or the run finishes, which is how a client follows a live run. Up to 4 MB of output is kept per run. Requires the `functions:read` scope.
|
|
192
|
+
* Read a run\'s output
|
|
193
|
+
*/
|
|
194
|
+
getFunctionRunLogsRaw(requestParameters: GetFunctionRunLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FunctionRunLogs>>;
|
|
195
|
+
/**
|
|
196
|
+
* Returns the run\'s stdout and stderr after `after`, oldest first. With `wait`, the request is held until there is new output or the run finishes, which is how a client follows a live run. Up to 4 MB of output is kept per run. Requires the `functions:read` scope.
|
|
197
|
+
* Read a run\'s output
|
|
198
|
+
*/
|
|
199
|
+
getFunctionRunLogs(requestParameters: GetFunctionRunLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FunctionRunLogs>;
|
|
200
|
+
/**
|
|
201
|
+
* Creates request options for listFunctionRuns without sending the request
|
|
202
|
+
*/
|
|
203
|
+
listFunctionRunsRequestOpts(requestParameters: ListFunctionRunsRequest): Promise<runtime.RequestOpts>;
|
|
204
|
+
/**
|
|
205
|
+
* Newest first. Requires the `functions:read` scope.
|
|
206
|
+
* List a function\'s runs
|
|
207
|
+
*/
|
|
208
|
+
listFunctionRunsRaw(requestParameters: ListFunctionRunsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FunctionRunList>>;
|
|
209
|
+
/**
|
|
210
|
+
* Newest first. Requires the `functions:read` scope.
|
|
211
|
+
* List a function\'s runs
|
|
212
|
+
*/
|
|
213
|
+
listFunctionRuns(requestParameters: ListFunctionRunsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FunctionRunList>;
|
|
214
|
+
/**
|
|
215
|
+
* Creates request options for listFunctions without sending the request
|
|
216
|
+
*/
|
|
217
|
+
listFunctionsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
218
|
+
/**
|
|
219
|
+
* Returns the organization\'s functions, newest first, each with the settings of its current version, what its machines are doing and what it cost in the last 24 hours. Requires the `functions:read` scope.
|
|
220
|
+
* List functions
|
|
221
|
+
*/
|
|
222
|
+
listFunctionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FunctionList>>;
|
|
223
|
+
/**
|
|
224
|
+
* Returns the organization\'s functions, newest first, each with the settings of its current version, what its machines are doing and what it cost in the last 24 hours. Requires the `functions:read` scope.
|
|
225
|
+
* List functions
|
|
226
|
+
*/
|
|
227
|
+
listFunctions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FunctionList>;
|
|
228
|
+
}
|