@gpuai/sdk 0.3.18 → 0.4.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.
Files changed (187) hide show
  1. package/.openapi-generator/FILES +48 -0
  2. package/README.md +41 -2
  3. package/dist/apis/BillingApi.d.ts +70 -0
  4. package/dist/apis/BillingApi.js +197 -0
  5. package/dist/apis/FunctionsApi.d.ts +228 -0
  6. package/dist/apis/FunctionsApi.js +627 -0
  7. package/dist/apis/InstancesApi.d.ts +18 -0
  8. package/dist/apis/InstancesApi.js +49 -0
  9. package/dist/apis/index.d.ts +1 -0
  10. package/dist/apis/index.js +1 -0
  11. package/dist/esm/apis/BillingApi.d.ts +70 -0
  12. package/dist/esm/apis/BillingApi.js +197 -0
  13. package/dist/esm/apis/FunctionsApi.d.ts +228 -0
  14. package/dist/esm/apis/FunctionsApi.js +623 -0
  15. package/dist/esm/apis/InstancesApi.d.ts +18 -0
  16. package/dist/esm/apis/InstancesApi.js +49 -0
  17. package/dist/esm/apis/index.d.ts +1 -0
  18. package/dist/esm/apis/index.js +1 -0
  19. package/dist/esm/models/AutolaunchRule.d.ts +2 -1
  20. package/dist/esm/models/BillingDetails.d.ts +98 -0
  21. package/dist/esm/models/BillingDetails.js +85 -0
  22. package/dist/esm/models/CreateFunctionRequest.d.ts +32 -0
  23. package/dist/esm/models/CreateFunctionRequest.js +43 -0
  24. package/dist/esm/models/CreateFunctionRunRequest.d.ts +38 -0
  25. package/dist/esm/models/CreateFunctionRunRequest.js +45 -0
  26. package/dist/esm/models/CreateFunctionVersionRequest.d.ts +110 -0
  27. package/dist/esm/models/CreateFunctionVersionRequest.js +79 -0
  28. package/dist/esm/models/Function.d.ts +163 -0
  29. package/dist/esm/models/Function.js +109 -0
  30. package/dist/esm/models/FunctionList.d.ts +33 -0
  31. package/dist/esm/models/FunctionList.js +44 -0
  32. package/dist/esm/models/FunctionReplicaCounts.d.ts +44 -0
  33. package/dist/esm/models/FunctionReplicaCounts.js +51 -0
  34. package/dist/esm/models/FunctionRun.d.ts +130 -0
  35. package/dist/esm/models/FunctionRun.js +94 -0
  36. package/dist/esm/models/FunctionRunError.d.ts +44 -0
  37. package/dist/esm/models/FunctionRunError.js +49 -0
  38. package/dist/esm/models/FunctionRunList.d.ts +39 -0
  39. package/dist/esm/models/FunctionRunList.js +48 -0
  40. package/dist/esm/models/FunctionRunLogChunk.d.ts +59 -0
  41. package/dist/esm/models/FunctionRunLogChunk.js +63 -0
  42. package/dist/esm/models/FunctionRunLogs.d.ts +45 -0
  43. package/dist/esm/models/FunctionRunLogs.js +52 -0
  44. package/dist/esm/models/FunctionUpload.d.ts +51 -0
  45. package/dist/esm/models/FunctionUpload.js +59 -0
  46. package/dist/esm/models/FunctionVersion.d.ts +137 -0
  47. package/dist/esm/models/FunctionVersion.js +109 -0
  48. package/dist/esm/models/GpuSuggestion.d.ts +82 -0
  49. package/dist/esm/models/GpuSuggestion.js +77 -0
  50. package/dist/esm/models/GpuSuggestionCheaper.d.ts +62 -0
  51. package/dist/esm/models/GpuSuggestionCheaper.js +63 -0
  52. package/dist/esm/models/GpuSuggestionGpu.d.ts +50 -0
  53. package/dist/esm/models/GpuSuggestionGpu.js +55 -0
  54. package/dist/esm/models/Instance.d.ts +7 -0
  55. package/dist/esm/models/Instance.js +3 -0
  56. package/dist/esm/models/InstanceGpuMemory.d.ts +51 -0
  57. package/dist/esm/models/InstanceGpuMemory.js +55 -0
  58. package/dist/esm/models/Invoice.d.ts +68 -0
  59. package/dist/esm/models/Invoice.js +67 -0
  60. package/dist/esm/models/InvoiceList.d.ts +45 -0
  61. package/dist/esm/models/InvoiceList.js +50 -0
  62. package/dist/esm/models/ModelPricing.d.ts +46 -0
  63. package/dist/esm/models/ModelPricing.js +21 -0
  64. package/dist/esm/models/ModelRate.d.ts +62 -0
  65. package/dist/esm/models/ModelRate.js +51 -0
  66. package/dist/esm/models/PeakWindow.d.ts +38 -0
  67. package/dist/esm/models/PeakWindow.js +47 -0
  68. package/dist/esm/models/UpdateBillingDetailsRequest.d.ts +80 -0
  69. package/dist/esm/models/UpdateBillingDetailsRequest.js +57 -0
  70. package/dist/esm/models/index.d.ts +23 -0
  71. package/dist/esm/models/index.js +23 -0
  72. package/dist/esm/runtime.js +1 -1
  73. package/dist/models/AutolaunchRule.d.ts +2 -1
  74. package/dist/models/BillingDetails.d.ts +98 -0
  75. package/dist/models/BillingDetails.js +92 -0
  76. package/dist/models/CreateFunctionRequest.d.ts +32 -0
  77. package/dist/models/CreateFunctionRequest.js +50 -0
  78. package/dist/models/CreateFunctionRunRequest.d.ts +38 -0
  79. package/dist/models/CreateFunctionRunRequest.js +52 -0
  80. package/dist/models/CreateFunctionVersionRequest.d.ts +110 -0
  81. package/dist/models/CreateFunctionVersionRequest.js +86 -0
  82. package/dist/models/Function.d.ts +163 -0
  83. package/dist/models/Function.js +117 -0
  84. package/dist/models/FunctionList.d.ts +33 -0
  85. package/dist/models/FunctionList.js +51 -0
  86. package/dist/models/FunctionReplicaCounts.d.ts +44 -0
  87. package/dist/models/FunctionReplicaCounts.js +58 -0
  88. package/dist/models/FunctionRun.d.ts +130 -0
  89. package/dist/models/FunctionRun.js +102 -0
  90. package/dist/models/FunctionRunError.d.ts +44 -0
  91. package/dist/models/FunctionRunError.js +56 -0
  92. package/dist/models/FunctionRunList.d.ts +39 -0
  93. package/dist/models/FunctionRunList.js +55 -0
  94. package/dist/models/FunctionRunLogChunk.d.ts +59 -0
  95. package/dist/models/FunctionRunLogChunk.js +71 -0
  96. package/dist/models/FunctionRunLogs.d.ts +45 -0
  97. package/dist/models/FunctionRunLogs.js +59 -0
  98. package/dist/models/FunctionUpload.d.ts +51 -0
  99. package/dist/models/FunctionUpload.js +67 -0
  100. package/dist/models/FunctionVersion.d.ts +137 -0
  101. package/dist/models/FunctionVersion.js +117 -0
  102. package/dist/models/GpuSuggestion.d.ts +82 -0
  103. package/dist/models/GpuSuggestion.js +85 -0
  104. package/dist/models/GpuSuggestionCheaper.d.ts +62 -0
  105. package/dist/models/GpuSuggestionCheaper.js +70 -0
  106. package/dist/models/GpuSuggestionGpu.d.ts +50 -0
  107. package/dist/models/GpuSuggestionGpu.js +62 -0
  108. package/dist/models/Instance.d.ts +7 -0
  109. package/dist/models/Instance.js +3 -0
  110. package/dist/models/InstanceGpuMemory.d.ts +51 -0
  111. package/dist/models/InstanceGpuMemory.js +62 -0
  112. package/dist/models/Invoice.d.ts +68 -0
  113. package/dist/models/Invoice.js +74 -0
  114. package/dist/models/InvoiceList.d.ts +45 -0
  115. package/dist/models/InvoiceList.js +57 -0
  116. package/dist/models/ModelPricing.d.ts +46 -0
  117. package/dist/models/ModelPricing.js +22 -0
  118. package/dist/models/ModelRate.d.ts +62 -0
  119. package/dist/models/ModelRate.js +58 -0
  120. package/dist/models/PeakWindow.d.ts +38 -0
  121. package/dist/models/PeakWindow.js +54 -0
  122. package/dist/models/UpdateBillingDetailsRequest.d.ts +80 -0
  123. package/dist/models/UpdateBillingDetailsRequest.js +64 -0
  124. package/dist/models/index.d.ts +23 -0
  125. package/dist/models/index.js +23 -0
  126. package/dist/runtime.js +1 -1
  127. package/docs/BillingApi.md +299 -0
  128. package/docs/BillingDetails.md +56 -0
  129. package/docs/CreateFunctionRequest.md +34 -0
  130. package/docs/CreateFunctionRunRequest.md +36 -0
  131. package/docs/CreateFunctionVersionRequest.md +60 -0
  132. package/docs/Function.md +75 -0
  133. package/docs/FunctionList.md +34 -0
  134. package/docs/FunctionReplicaCounts.md +39 -0
  135. package/docs/FunctionRun.md +63 -0
  136. package/docs/FunctionRunError.md +38 -0
  137. package/docs/FunctionRunList.md +36 -0
  138. package/docs/FunctionRunLogChunk.md +40 -0
  139. package/docs/FunctionRunLogs.md +38 -0
  140. package/docs/FunctionUpload.md +38 -0
  141. package/docs/FunctionVersion.md +66 -0
  142. package/docs/FunctionsApi.md +880 -0
  143. package/docs/GpuSuggestion.md +47 -0
  144. package/docs/GpuSuggestionCheaper.md +45 -0
  145. package/docs/GpuSuggestionGpu.md +41 -0
  146. package/docs/Instance.md +2 -0
  147. package/docs/InstanceGpuMemory.md +41 -0
  148. package/docs/InstancesApi.md +75 -0
  149. package/docs/Invoice.md +46 -0
  150. package/docs/InvoiceList.md +38 -0
  151. package/docs/ModelPricing.md +12 -0
  152. package/docs/ModelRate.md +45 -0
  153. package/docs/PeakWindow.md +37 -0
  154. package/docs/UpdateBillingDetailsRequest.md +50 -0
  155. package/package.json +1 -1
  156. package/src/apis/BillingApi.ts +247 -0
  157. package/src/apis/FunctionsApi.ts +828 -0
  158. package/src/apis/InstancesApi.ts +64 -0
  159. package/src/apis/index.ts +1 -0
  160. package/src/models/AutolaunchRule.ts +2 -1
  161. package/src/models/BillingDetails.ts +164 -0
  162. package/src/models/CreateFunctionRequest.ts +66 -0
  163. package/src/models/CreateFunctionRunRequest.ts +74 -0
  164. package/src/models/CreateFunctionVersionRequest.ts +175 -0
  165. package/src/models/Function.ts +255 -0
  166. package/src/models/FunctionList.ts +74 -0
  167. package/src/models/FunctionReplicaCounts.ts +84 -0
  168. package/src/models/FunctionRun.ts +207 -0
  169. package/src/models/FunctionRunError.ts +83 -0
  170. package/src/models/FunctionRunList.ts +83 -0
  171. package/src/models/FunctionRunLogChunk.ts +105 -0
  172. package/src/models/FunctionRunLogs.ts +92 -0
  173. package/src/models/FunctionUpload.ts +96 -0
  174. package/src/models/FunctionVersion.ts +226 -0
  175. package/src/models/GpuSuggestion.ts +150 -0
  176. package/src/models/GpuSuggestionCheaper.ts +111 -0
  177. package/src/models/GpuSuggestionGpu.ts +93 -0
  178. package/src/models/Instance.ts +15 -0
  179. package/src/models/InstanceGpuMemory.ts +94 -0
  180. package/src/models/Invoice.ts +120 -0
  181. package/src/models/InvoiceList.ts +91 -0
  182. package/src/models/ModelPricing.ts +74 -0
  183. package/src/models/ModelRate.ts +105 -0
  184. package/src/models/PeakWindow.ts +75 -0
  185. package/src/models/UpdateBillingDetailsRequest.ts +129 -0
  186. package/src/models/index.ts +23 -0
  187. 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
+ }