@blaxel/core 0.2.95-preview.199 → 0.2.95-preview.200
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/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/client/sdk.gen.js +955 -140
- package/dist/cjs/common/settings.js +2 -2
- package/dist/cjs/drive/index.js +9 -1
- package/dist/cjs/types/client/sdk.gen.d.ts +35 -1
- package/dist/cjs/types/client/types.gen.d.ts +421 -34
- package/dist/cjs/types/drive/index.d.ts +3 -0
- package/dist/cjs-browser/.tsbuildinfo +1 -1
- package/dist/cjs-browser/client/sdk.gen.js +955 -140
- package/dist/cjs-browser/common/settings.js +2 -2
- package/dist/cjs-browser/drive/index.js +9 -1
- package/dist/cjs-browser/types/client/sdk.gen.d.ts +35 -1
- package/dist/cjs-browser/types/client/types.gen.d.ts +421 -34
- package/dist/cjs-browser/types/drive/index.d.ts +3 -0
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/client/sdk.gen.js +945 -137
- package/dist/esm/common/settings.js +2 -2
- package/dist/esm/drive/index.js +9 -1
- package/dist/esm-browser/.tsbuildinfo +1 -1
- package/dist/esm-browser/client/sdk.gen.js +945 -137
- package/dist/esm-browser/common/settings.js +2 -2
- package/dist/esm-browser/drive/index.js +9 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.checkWorkspaceAvailability = exports.leaveWorkspace = exports.acceptWorkspaceInvitation = exports.declineWorkspaceInvitation = exports.updateWorkspace = exports.getWorkspace = exports.deleteWorkspace = exports.createWorkspace = exports.listWorkspaces = exports.getEgressIp = exports.deleteEgressIp = exports.createEgressIp = exports.listEgressIps = exports.getEgressGateway = exports.deleteEgressGateway = exports.createEgressGateway = exports.listEgressGateways = exports.getVpc = exports.deleteVpc = exports.createVpc = exports.listVpcs = exports.updateVolume = exports.getVolume = exports.deleteVolume = exports.createVolume = exports.listVolumes = exports.deleteVolumeTemplateVersion = exports.updateVolumeTemplate = exports.getVolumeTemplate = exports.deleteVolumeTemplate = exports.createVolumeTemplate = exports.listVolumeTemplates = exports.updateWorkspaceUserRole = exports.removeWorkspaceUser = exports.inviteWorkspaceUser = exports.listWorkspaceUsers = exports.getTemplate = exports.listTemplates = void 0;
|
|
4
|
+
exports.createIntegrationConnection = exports.listIntegrationConnections = exports.getIntegration = exports.deleteImageTag = exports.unshareImage = exports.shareImage = exports.listImageShares = exports.getImage = exports.deleteImage = exports.createImage = exports.listImages = exports.cleanupImages = exports.listFunctionRevisions = exports.updateFunction = exports.getFunction = exports.deleteFunction = exports.createFunction = exports.listFunctions = exports.testFeatureFlag = exports.getWorkspaceFeatures = exports.listAllEgressIps = exports.getEgressGatewayUsage = exports.listAllEgressGateways = exports.getDriveJwks = exports.createDriveAccessToken = exports.updateDrive = exports.getDrive = exports.deleteDrive = exports.createDrive = exports.listDrives = exports.verifyCustomDomain = exports.updateCustomDomain = exports.getCustomDomain = exports.deleteCustomDomain = exports.createCustomDomain = exports.listCustomDomains = exports.getConfiguration = exports.listApplicationRevisions = exports.createApplicationCustomDomain = exports.updateApplication = exports.getApplication = exports.deleteApplication = exports.createApplication = exports.listApplications = exports.listAgentRevisions = exports.updateAgent = exports.getAgent = exports.deleteAgent = exports.createAgent = exports.listAgents = void 0;
|
|
5
|
+
exports.getSandboxByExternalId = exports.deleteSandboxPreviewToken = exports.createSandboxPreviewToken = exports.listSandboxPreviewTokens = exports.updateSandboxPreview = exports.getSandboxPreview = exports.deleteSandboxPreview = exports.createSandboxPreview = exports.listSandboxPreviews = exports.updateSandbox = exports.getSandbox = exports.deleteSandbox = exports.createSandbox = exports.listSandboxes = exports.listSandboxHubDefinitions = exports.listPublicIps = exports.getPolicyUsages = exports.updatePolicy = exports.getPolicy = exports.deletePolicy = exports.createPolicy = exports.listPolicies = exports.declineImageShare = exports.acceptImageShare = exports.listPendingImageShares = exports.listModelRevisions = exports.updateModel = exports.getModel = exports.deleteModel = exports.createModel = exports.listModels = exports.listMcpHubDefinitions = exports.listLocations = exports.listJobRevisions = exports.listJobExecutionTasks = exports.getJobExecution = exports.deleteJobExecution = exports.createJobExecution = exports.listJobExecutions = exports.updateJob = exports.getJob = exports.deleteJob = exports.createJob = exports.listJobs = exports.getIntegrationConnectionModel = exports.listIntegrationConnectionModels = exports.getIntegrationConnectionModelEndpointConfigurations = exports.updateIntegrationConnection = exports.getIntegrationConnection = exports.deleteIntegrationConnection = void 0;
|
|
6
|
+
exports.checkWorkspaceAvailability = exports.leaveWorkspace = exports.acceptWorkspaceInvitation = exports.declineWorkspaceInvitation = exports.updateWorkspace = exports.getWorkspace = exports.deleteWorkspace = exports.createWorkspace = exports.listWorkspaces = exports.getEgressIp = exports.deleteEgressIp = exports.createEgressIp = exports.listEgressIps = exports.getEgressGateway = exports.deleteEgressGateway = exports.createEgressGateway = exports.listEgressGateways = exports.getVpc = exports.deleteVpc = exports.createVpc = exports.listVpcs = exports.updateVolume = exports.getVolume = exports.deleteVolume = exports.createVolume = exports.listVolumes = exports.deleteVolumeTemplateVersion = exports.updateVolumeTemplate = exports.getVolumeTemplate = exports.deleteVolumeTemplate = exports.createVolumeTemplate = exports.listVolumeTemplates = exports.updateWorkspaceUserRole = exports.removeWorkspaceUser = exports.inviteWorkspaceUser = exports.listWorkspaceUsers = exports.getTemplate = exports.listTemplates = exports.deleteApiKeyForServiceAccount = exports.createApiKeyForServiceAccount = exports.listApiKeysForServiceAccount = exports.updateWorkspaceServiceAccount = exports.deleteWorkspaceServiceAccount = exports.createWorkspaceServiceAccount = exports.getWorkspaceServiceAccounts = void 0;
|
|
7
7
|
const client_gen_1 = require("./client.gen");
|
|
8
8
|
/**
|
|
9
9
|
* List all agents
|
|
@@ -11,7 +11,12 @@ const client_gen_1 = require("./client.gen");
|
|
|
11
11
|
*/
|
|
12
12
|
const listAgents = (options) => {
|
|
13
13
|
return (options?.client ?? client_gen_1.client).get({
|
|
14
|
-
security: [
|
|
14
|
+
security: [
|
|
15
|
+
{
|
|
16
|
+
scheme: 'bearer',
|
|
17
|
+
type: 'http'
|
|
18
|
+
}
|
|
19
|
+
],
|
|
15
20
|
url: '/agents',
|
|
16
21
|
...options
|
|
17
22
|
});
|
|
@@ -23,7 +28,12 @@ exports.listAgents = listAgents;
|
|
|
23
28
|
*/
|
|
24
29
|
const createAgent = (options) => {
|
|
25
30
|
return (options.client ?? client_gen_1.client).post({
|
|
26
|
-
security: [
|
|
31
|
+
security: [
|
|
32
|
+
{
|
|
33
|
+
scheme: 'bearer',
|
|
34
|
+
type: 'http'
|
|
35
|
+
}
|
|
36
|
+
],
|
|
27
37
|
url: '/agents',
|
|
28
38
|
...options,
|
|
29
39
|
headers: {
|
|
@@ -39,7 +49,12 @@ exports.createAgent = createAgent;
|
|
|
39
49
|
*/
|
|
40
50
|
const deleteAgent = (options) => {
|
|
41
51
|
return (options.client ?? client_gen_1.client).delete({
|
|
42
|
-
security: [
|
|
52
|
+
security: [
|
|
53
|
+
{
|
|
54
|
+
scheme: 'bearer',
|
|
55
|
+
type: 'http'
|
|
56
|
+
}
|
|
57
|
+
],
|
|
43
58
|
url: '/agents/{agentName}',
|
|
44
59
|
...options
|
|
45
60
|
});
|
|
@@ -51,7 +66,12 @@ exports.deleteAgent = deleteAgent;
|
|
|
51
66
|
*/
|
|
52
67
|
const getAgent = (options) => {
|
|
53
68
|
return (options.client ?? client_gen_1.client).get({
|
|
54
|
-
security: [
|
|
69
|
+
security: [
|
|
70
|
+
{
|
|
71
|
+
scheme: 'bearer',
|
|
72
|
+
type: 'http'
|
|
73
|
+
}
|
|
74
|
+
],
|
|
55
75
|
url: '/agents/{agentName}',
|
|
56
76
|
...options
|
|
57
77
|
});
|
|
@@ -63,7 +83,12 @@ exports.getAgent = getAgent;
|
|
|
63
83
|
*/
|
|
64
84
|
const updateAgent = (options) => {
|
|
65
85
|
return (options.client ?? client_gen_1.client).put({
|
|
66
|
-
security: [
|
|
86
|
+
security: [
|
|
87
|
+
{
|
|
88
|
+
scheme: 'bearer',
|
|
89
|
+
type: 'http'
|
|
90
|
+
}
|
|
91
|
+
],
|
|
67
92
|
url: '/agents/{agentName}',
|
|
68
93
|
...options,
|
|
69
94
|
headers: {
|
|
@@ -78,19 +103,159 @@ exports.updateAgent = updateAgent;
|
|
|
78
103
|
*/
|
|
79
104
|
const listAgentRevisions = (options) => {
|
|
80
105
|
return (options.client ?? client_gen_1.client).get({
|
|
81
|
-
security: [
|
|
106
|
+
security: [
|
|
107
|
+
{
|
|
108
|
+
scheme: 'bearer',
|
|
109
|
+
type: 'http'
|
|
110
|
+
}
|
|
111
|
+
],
|
|
82
112
|
url: '/agents/{agentName}/revisions',
|
|
83
113
|
...options
|
|
84
114
|
});
|
|
85
115
|
};
|
|
86
116
|
exports.listAgentRevisions = listAgentRevisions;
|
|
117
|
+
/**
|
|
118
|
+
* List all applications
|
|
119
|
+
* Returns applications deployed in the workspace. Each application includes its deployment status, runtime configuration, and endpoint URL. Starting with API version 2026-04-28 the response is wrapped in `{data, meta}` and supports cursor pagination via the `cursor` and `limit` query parameters; older versions keep returning a bare array with all applications.
|
|
120
|
+
*/
|
|
121
|
+
const listApplications = (options) => {
|
|
122
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
123
|
+
security: [
|
|
124
|
+
{
|
|
125
|
+
scheme: 'bearer',
|
|
126
|
+
type: 'http'
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
url: '/applications',
|
|
130
|
+
...options
|
|
131
|
+
});
|
|
132
|
+
};
|
|
133
|
+
exports.listApplications = listApplications;
|
|
134
|
+
/**
|
|
135
|
+
* Create application
|
|
136
|
+
* Creates a new application deployment. Applications are long-running workloads that default to public access and mk3 generation.
|
|
137
|
+
*/
|
|
138
|
+
const createApplication = (options) => {
|
|
139
|
+
return (options.client ?? client_gen_1.client).post({
|
|
140
|
+
security: [
|
|
141
|
+
{
|
|
142
|
+
scheme: 'bearer',
|
|
143
|
+
type: 'http'
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
url: '/applications',
|
|
147
|
+
...options,
|
|
148
|
+
headers: {
|
|
149
|
+
'Content-Type': 'application/json',
|
|
150
|
+
...options?.headers
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
};
|
|
154
|
+
exports.createApplication = createApplication;
|
|
155
|
+
/**
|
|
156
|
+
* Delete application
|
|
157
|
+
* Permanently deletes an application and all its deployment history. The application endpoint will immediately stop responding. This action cannot be undone.
|
|
158
|
+
*/
|
|
159
|
+
const deleteApplication = (options) => {
|
|
160
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
161
|
+
security: [
|
|
162
|
+
{
|
|
163
|
+
scheme: 'bearer',
|
|
164
|
+
type: 'http'
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
url: '/applications/{applicationName}',
|
|
168
|
+
...options
|
|
169
|
+
});
|
|
170
|
+
};
|
|
171
|
+
exports.deleteApplication = deleteApplication;
|
|
172
|
+
/**
|
|
173
|
+
* Get application
|
|
174
|
+
* Returns detailed information about an application including its current deployment status, configuration, events history, and endpoint URL.
|
|
175
|
+
*/
|
|
176
|
+
const getApplication = (options) => {
|
|
177
|
+
return (options.client ?? client_gen_1.client).get({
|
|
178
|
+
security: [
|
|
179
|
+
{
|
|
180
|
+
scheme: 'bearer',
|
|
181
|
+
type: 'http'
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
url: '/applications/{applicationName}',
|
|
185
|
+
...options
|
|
186
|
+
});
|
|
187
|
+
};
|
|
188
|
+
exports.getApplication = getApplication;
|
|
189
|
+
/**
|
|
190
|
+
* Update application
|
|
191
|
+
* Updates an application's configuration and triggers a new deployment. Changes to runtime settings, environment variables, or scaling parameters will be applied on the next deployment.
|
|
192
|
+
*/
|
|
193
|
+
const updateApplication = (options) => {
|
|
194
|
+
return (options.client ?? client_gen_1.client).put({
|
|
195
|
+
security: [
|
|
196
|
+
{
|
|
197
|
+
scheme: 'bearer',
|
|
198
|
+
type: 'http'
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
url: '/applications/{applicationName}',
|
|
202
|
+
...options,
|
|
203
|
+
headers: {
|
|
204
|
+
'Content-Type': 'application/json',
|
|
205
|
+
...options?.headers
|
|
206
|
+
}
|
|
207
|
+
});
|
|
208
|
+
};
|
|
209
|
+
exports.updateApplication = updateApplication;
|
|
210
|
+
/**
|
|
211
|
+
* Create application custom domain
|
|
212
|
+
* Creates a new custom domain scoped to a specific application. After creation, you must configure DNS records and verify domain ownership before it becomes active.
|
|
213
|
+
*/
|
|
214
|
+
const createApplicationCustomDomain = (options) => {
|
|
215
|
+
return (options.client ?? client_gen_1.client).post({
|
|
216
|
+
security: [
|
|
217
|
+
{
|
|
218
|
+
scheme: 'bearer',
|
|
219
|
+
type: 'http'
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
url: '/applications/{applicationName}/customdomains',
|
|
223
|
+
...options,
|
|
224
|
+
headers: {
|
|
225
|
+
'Content-Type': 'application/json',
|
|
226
|
+
...options?.headers
|
|
227
|
+
}
|
|
228
|
+
});
|
|
229
|
+
};
|
|
230
|
+
exports.createApplicationCustomDomain = createApplicationCustomDomain;
|
|
231
|
+
/**
|
|
232
|
+
* List all application revisions
|
|
233
|
+
*/
|
|
234
|
+
const listApplicationRevisions = (options) => {
|
|
235
|
+
return (options.client ?? client_gen_1.client).get({
|
|
236
|
+
security: [
|
|
237
|
+
{
|
|
238
|
+
scheme: 'bearer',
|
|
239
|
+
type: 'http'
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
url: '/applications/{applicationName}/revisions',
|
|
243
|
+
...options
|
|
244
|
+
});
|
|
245
|
+
};
|
|
246
|
+
exports.listApplicationRevisions = listApplicationRevisions;
|
|
87
247
|
/**
|
|
88
248
|
* Get platform configuration
|
|
89
249
|
* Returns global platform configuration including available regions, countries, continents, and private locations for deployment policies.
|
|
90
250
|
*/
|
|
91
251
|
const getConfiguration = (options) => {
|
|
92
252
|
return (options?.client ?? client_gen_1.client).get({
|
|
93
|
-
security: [
|
|
253
|
+
security: [
|
|
254
|
+
{
|
|
255
|
+
scheme: 'bearer',
|
|
256
|
+
type: 'http'
|
|
257
|
+
}
|
|
258
|
+
],
|
|
94
259
|
url: '/configuration',
|
|
95
260
|
...options
|
|
96
261
|
});
|
|
@@ -102,7 +267,12 @@ exports.getConfiguration = getConfiguration;
|
|
|
102
267
|
*/
|
|
103
268
|
const listCustomDomains = (options) => {
|
|
104
269
|
return (options?.client ?? client_gen_1.client).get({
|
|
105
|
-
security: [
|
|
270
|
+
security: [
|
|
271
|
+
{
|
|
272
|
+
scheme: 'bearer',
|
|
273
|
+
type: 'http'
|
|
274
|
+
}
|
|
275
|
+
],
|
|
106
276
|
url: '/customdomains',
|
|
107
277
|
...options
|
|
108
278
|
});
|
|
@@ -114,7 +284,12 @@ exports.listCustomDomains = listCustomDomains;
|
|
|
114
284
|
*/
|
|
115
285
|
const createCustomDomain = (options) => {
|
|
116
286
|
return (options.client ?? client_gen_1.client).post({
|
|
117
|
-
security: [
|
|
287
|
+
security: [
|
|
288
|
+
{
|
|
289
|
+
scheme: 'bearer',
|
|
290
|
+
type: 'http'
|
|
291
|
+
}
|
|
292
|
+
],
|
|
118
293
|
url: '/customdomains',
|
|
119
294
|
...options,
|
|
120
295
|
headers: {
|
|
@@ -129,7 +304,12 @@ exports.createCustomDomain = createCustomDomain;
|
|
|
129
304
|
*/
|
|
130
305
|
const deleteCustomDomain = (options) => {
|
|
131
306
|
return (options.client ?? client_gen_1.client).delete({
|
|
132
|
-
security: [
|
|
307
|
+
security: [
|
|
308
|
+
{
|
|
309
|
+
scheme: 'bearer',
|
|
310
|
+
type: 'http'
|
|
311
|
+
}
|
|
312
|
+
],
|
|
133
313
|
url: '/customdomains/{domainName}',
|
|
134
314
|
...options
|
|
135
315
|
});
|
|
@@ -140,7 +320,12 @@ exports.deleteCustomDomain = deleteCustomDomain;
|
|
|
140
320
|
*/
|
|
141
321
|
const getCustomDomain = (options) => {
|
|
142
322
|
return (options.client ?? client_gen_1.client).get({
|
|
143
|
-
security: [
|
|
323
|
+
security: [
|
|
324
|
+
{
|
|
325
|
+
scheme: 'bearer',
|
|
326
|
+
type: 'http'
|
|
327
|
+
}
|
|
328
|
+
],
|
|
144
329
|
url: '/customdomains/{domainName}',
|
|
145
330
|
...options
|
|
146
331
|
});
|
|
@@ -151,7 +336,12 @@ exports.getCustomDomain = getCustomDomain;
|
|
|
151
336
|
*/
|
|
152
337
|
const updateCustomDomain = (options) => {
|
|
153
338
|
return (options.client ?? client_gen_1.client).put({
|
|
154
|
-
security: [
|
|
339
|
+
security: [
|
|
340
|
+
{
|
|
341
|
+
scheme: 'bearer',
|
|
342
|
+
type: 'http'
|
|
343
|
+
}
|
|
344
|
+
],
|
|
155
345
|
url: '/customdomains/{domainName}',
|
|
156
346
|
...options,
|
|
157
347
|
headers: {
|
|
@@ -166,7 +356,12 @@ exports.updateCustomDomain = updateCustomDomain;
|
|
|
166
356
|
*/
|
|
167
357
|
const verifyCustomDomain = (options) => {
|
|
168
358
|
return (options.client ?? client_gen_1.client).post({
|
|
169
|
-
security: [
|
|
359
|
+
security: [
|
|
360
|
+
{
|
|
361
|
+
scheme: 'bearer',
|
|
362
|
+
type: 'http'
|
|
363
|
+
}
|
|
364
|
+
],
|
|
170
365
|
url: '/customdomains/{domainName}/verify',
|
|
171
366
|
...options
|
|
172
367
|
});
|
|
@@ -178,7 +373,12 @@ exports.verifyCustomDomain = verifyCustomDomain;
|
|
|
178
373
|
*/
|
|
179
374
|
const listDrives = (options) => {
|
|
180
375
|
return (options?.client ?? client_gen_1.client).get({
|
|
181
|
-
security: [
|
|
376
|
+
security: [
|
|
377
|
+
{
|
|
378
|
+
scheme: 'bearer',
|
|
379
|
+
type: 'http'
|
|
380
|
+
}
|
|
381
|
+
],
|
|
182
382
|
url: '/drives',
|
|
183
383
|
...options
|
|
184
384
|
});
|
|
@@ -190,7 +390,12 @@ exports.listDrives = listDrives;
|
|
|
190
390
|
*/
|
|
191
391
|
const createDrive = (options) => {
|
|
192
392
|
return (options.client ?? client_gen_1.client).post({
|
|
193
|
-
security: [
|
|
393
|
+
security: [
|
|
394
|
+
{
|
|
395
|
+
scheme: 'bearer',
|
|
396
|
+
type: 'http'
|
|
397
|
+
}
|
|
398
|
+
],
|
|
194
399
|
url: '/drives',
|
|
195
400
|
...options,
|
|
196
401
|
headers: {
|
|
@@ -206,7 +411,12 @@ exports.createDrive = createDrive;
|
|
|
206
411
|
*/
|
|
207
412
|
const deleteDrive = (options) => {
|
|
208
413
|
return (options.client ?? client_gen_1.client).delete({
|
|
209
|
-
security: [
|
|
414
|
+
security: [
|
|
415
|
+
{
|
|
416
|
+
scheme: 'bearer',
|
|
417
|
+
type: 'http'
|
|
418
|
+
}
|
|
419
|
+
],
|
|
210
420
|
url: '/drives/{driveName}',
|
|
211
421
|
...options
|
|
212
422
|
});
|
|
@@ -218,7 +428,12 @@ exports.deleteDrive = deleteDrive;
|
|
|
218
428
|
*/
|
|
219
429
|
const getDrive = (options) => {
|
|
220
430
|
return (options.client ?? client_gen_1.client).get({
|
|
221
|
-
security: [
|
|
431
|
+
security: [
|
|
432
|
+
{
|
|
433
|
+
scheme: 'bearer',
|
|
434
|
+
type: 'http'
|
|
435
|
+
}
|
|
436
|
+
],
|
|
222
437
|
url: '/drives/{driveName}',
|
|
223
438
|
...options
|
|
224
439
|
});
|
|
@@ -230,7 +445,12 @@ exports.getDrive = getDrive;
|
|
|
230
445
|
*/
|
|
231
446
|
const updateDrive = (options) => {
|
|
232
447
|
return (options.client ?? client_gen_1.client).put({
|
|
233
|
-
security: [
|
|
448
|
+
security: [
|
|
449
|
+
{
|
|
450
|
+
scheme: 'bearer',
|
|
451
|
+
type: 'http'
|
|
452
|
+
}
|
|
453
|
+
],
|
|
234
454
|
url: '/drives/{driveName}',
|
|
235
455
|
...options,
|
|
236
456
|
headers: {
|
|
@@ -246,7 +466,12 @@ exports.updateDrive = updateDrive;
|
|
|
246
466
|
*/
|
|
247
467
|
const createDriveAccessToken = (options) => {
|
|
248
468
|
return (options.client ?? client_gen_1.client).post({
|
|
249
|
-
security: [
|
|
469
|
+
security: [
|
|
470
|
+
{
|
|
471
|
+
scheme: 'bearer',
|
|
472
|
+
type: 'http'
|
|
473
|
+
}
|
|
474
|
+
],
|
|
250
475
|
url: '/drives/{driveName}/access-token',
|
|
251
476
|
...options
|
|
252
477
|
});
|
|
@@ -268,7 +493,12 @@ exports.getDriveJwks = getDriveJwks;
|
|
|
268
493
|
*/
|
|
269
494
|
const listAllEgressGateways = (options) => {
|
|
270
495
|
return (options?.client ?? client_gen_1.client).get({
|
|
271
|
-
security: [
|
|
496
|
+
security: [
|
|
497
|
+
{
|
|
498
|
+
scheme: 'bearer',
|
|
499
|
+
type: 'http'
|
|
500
|
+
}
|
|
501
|
+
],
|
|
272
502
|
url: '/egressgateways',
|
|
273
503
|
...options
|
|
274
504
|
});
|
|
@@ -280,7 +510,12 @@ exports.listAllEgressGateways = listAllEgressGateways;
|
|
|
280
510
|
*/
|
|
281
511
|
const getEgressGatewayUsage = (options) => {
|
|
282
512
|
return (options?.client ?? client_gen_1.client).get({
|
|
283
|
-
security: [
|
|
513
|
+
security: [
|
|
514
|
+
{
|
|
515
|
+
scheme: 'bearer',
|
|
516
|
+
type: 'http'
|
|
517
|
+
}
|
|
518
|
+
],
|
|
284
519
|
url: '/egressgateways/usage',
|
|
285
520
|
...options
|
|
286
521
|
});
|
|
@@ -291,7 +526,12 @@ exports.getEgressGatewayUsage = getEgressGatewayUsage;
|
|
|
291
526
|
*/
|
|
292
527
|
const listAllEgressIps = (options) => {
|
|
293
528
|
return (options?.client ?? client_gen_1.client).get({
|
|
294
|
-
security: [
|
|
529
|
+
security: [
|
|
530
|
+
{
|
|
531
|
+
scheme: 'bearer',
|
|
532
|
+
type: 'http'
|
|
533
|
+
}
|
|
534
|
+
],
|
|
295
535
|
url: '/egressips',
|
|
296
536
|
...options
|
|
297
537
|
});
|
|
@@ -303,7 +543,12 @@ exports.listAllEgressIps = listAllEgressIps;
|
|
|
303
543
|
*/
|
|
304
544
|
const getWorkspaceFeatures = (options) => {
|
|
305
545
|
return (options?.client ?? client_gen_1.client).get({
|
|
306
|
-
security: [
|
|
546
|
+
security: [
|
|
547
|
+
{
|
|
548
|
+
scheme: 'bearer',
|
|
549
|
+
type: 'http'
|
|
550
|
+
}
|
|
551
|
+
],
|
|
307
552
|
url: '/features',
|
|
308
553
|
...options
|
|
309
554
|
});
|
|
@@ -315,7 +560,12 @@ exports.getWorkspaceFeatures = getWorkspaceFeatures;
|
|
|
315
560
|
*/
|
|
316
561
|
const testFeatureFlag = (options) => {
|
|
317
562
|
return (options.client ?? client_gen_1.client).get({
|
|
318
|
-
security: [
|
|
563
|
+
security: [
|
|
564
|
+
{
|
|
565
|
+
scheme: 'bearer',
|
|
566
|
+
type: 'http'
|
|
567
|
+
}
|
|
568
|
+
],
|
|
319
569
|
url: '/features/{featureKey}',
|
|
320
570
|
...options
|
|
321
571
|
});
|
|
@@ -327,7 +577,12 @@ exports.testFeatureFlag = testFeatureFlag;
|
|
|
327
577
|
*/
|
|
328
578
|
const listFunctions = (options) => {
|
|
329
579
|
return (options?.client ?? client_gen_1.client).get({
|
|
330
|
-
security: [
|
|
580
|
+
security: [
|
|
581
|
+
{
|
|
582
|
+
scheme: 'bearer',
|
|
583
|
+
type: 'http'
|
|
584
|
+
}
|
|
585
|
+
],
|
|
331
586
|
url: '/functions',
|
|
332
587
|
...options
|
|
333
588
|
});
|
|
@@ -339,7 +594,12 @@ exports.listFunctions = listFunctions;
|
|
|
339
594
|
*/
|
|
340
595
|
const createFunction = (options) => {
|
|
341
596
|
return (options.client ?? client_gen_1.client).post({
|
|
342
|
-
security: [
|
|
597
|
+
security: [
|
|
598
|
+
{
|
|
599
|
+
scheme: 'bearer',
|
|
600
|
+
type: 'http'
|
|
601
|
+
}
|
|
602
|
+
],
|
|
343
603
|
url: '/functions',
|
|
344
604
|
...options,
|
|
345
605
|
headers: {
|
|
@@ -355,7 +615,12 @@ exports.createFunction = createFunction;
|
|
|
355
615
|
*/
|
|
356
616
|
const deleteFunction = (options) => {
|
|
357
617
|
return (options.client ?? client_gen_1.client).delete({
|
|
358
|
-
security: [
|
|
618
|
+
security: [
|
|
619
|
+
{
|
|
620
|
+
scheme: 'bearer',
|
|
621
|
+
type: 'http'
|
|
622
|
+
}
|
|
623
|
+
],
|
|
359
624
|
url: '/functions/{functionName}',
|
|
360
625
|
...options
|
|
361
626
|
});
|
|
@@ -367,7 +632,12 @@ exports.deleteFunction = deleteFunction;
|
|
|
367
632
|
*/
|
|
368
633
|
const getFunction = (options) => {
|
|
369
634
|
return (options.client ?? client_gen_1.client).get({
|
|
370
|
-
security: [
|
|
635
|
+
security: [
|
|
636
|
+
{
|
|
637
|
+
scheme: 'bearer',
|
|
638
|
+
type: 'http'
|
|
639
|
+
}
|
|
640
|
+
],
|
|
371
641
|
url: '/functions/{functionName}',
|
|
372
642
|
...options
|
|
373
643
|
});
|
|
@@ -379,7 +649,12 @@ exports.getFunction = getFunction;
|
|
|
379
649
|
*/
|
|
380
650
|
const updateFunction = (options) => {
|
|
381
651
|
return (options.client ?? client_gen_1.client).put({
|
|
382
|
-
security: [
|
|
652
|
+
security: [
|
|
653
|
+
{
|
|
654
|
+
scheme: 'bearer',
|
|
655
|
+
type: 'http'
|
|
656
|
+
}
|
|
657
|
+
],
|
|
383
658
|
url: '/functions/{functionName}',
|
|
384
659
|
...options,
|
|
385
660
|
headers: {
|
|
@@ -395,7 +670,12 @@ exports.updateFunction = updateFunction;
|
|
|
395
670
|
*/
|
|
396
671
|
const listFunctionRevisions = (options) => {
|
|
397
672
|
return (options.client ?? client_gen_1.client).get({
|
|
398
|
-
security: [
|
|
673
|
+
security: [
|
|
674
|
+
{
|
|
675
|
+
scheme: 'bearer',
|
|
676
|
+
type: 'http'
|
|
677
|
+
}
|
|
678
|
+
],
|
|
399
679
|
url: '/functions/{functionName}/revisions',
|
|
400
680
|
...options
|
|
401
681
|
});
|
|
@@ -407,7 +687,12 @@ exports.listFunctionRevisions = listFunctionRevisions;
|
|
|
407
687
|
*/
|
|
408
688
|
const cleanupImages = (options) => {
|
|
409
689
|
return (options?.client ?? client_gen_1.client).delete({
|
|
410
|
-
security: [
|
|
690
|
+
security: [
|
|
691
|
+
{
|
|
692
|
+
scheme: 'bearer',
|
|
693
|
+
type: 'http'
|
|
694
|
+
}
|
|
695
|
+
],
|
|
411
696
|
url: '/images',
|
|
412
697
|
...options
|
|
413
698
|
});
|
|
@@ -419,7 +704,12 @@ exports.cleanupImages = cleanupImages;
|
|
|
419
704
|
*/
|
|
420
705
|
const listImages = (options) => {
|
|
421
706
|
return (options?.client ?? client_gen_1.client).get({
|
|
422
|
-
security: [
|
|
707
|
+
security: [
|
|
708
|
+
{
|
|
709
|
+
scheme: 'bearer',
|
|
710
|
+
type: 'http'
|
|
711
|
+
}
|
|
712
|
+
],
|
|
423
713
|
url: '/images',
|
|
424
714
|
...options
|
|
425
715
|
});
|
|
@@ -431,7 +721,12 @@ exports.listImages = listImages;
|
|
|
431
721
|
*/
|
|
432
722
|
const createImage = (options) => {
|
|
433
723
|
return (options.client ?? client_gen_1.client).post({
|
|
434
|
-
security: [
|
|
724
|
+
security: [
|
|
725
|
+
{
|
|
726
|
+
scheme: 'bearer',
|
|
727
|
+
type: 'http'
|
|
728
|
+
}
|
|
729
|
+
],
|
|
435
730
|
url: '/images',
|
|
436
731
|
...options,
|
|
437
732
|
headers: {
|
|
@@ -447,7 +742,12 @@ exports.createImage = createImage;
|
|
|
447
742
|
*/
|
|
448
743
|
const deleteImage = (options) => {
|
|
449
744
|
return (options.client ?? client_gen_1.client).delete({
|
|
450
|
-
security: [
|
|
745
|
+
security: [
|
|
746
|
+
{
|
|
747
|
+
scheme: 'bearer',
|
|
748
|
+
type: 'http'
|
|
749
|
+
}
|
|
750
|
+
],
|
|
451
751
|
url: '/images/{resourceType}/{imageName}',
|
|
452
752
|
...options
|
|
453
753
|
});
|
|
@@ -459,7 +759,12 @@ exports.deleteImage = deleteImage;
|
|
|
459
759
|
*/
|
|
460
760
|
const getImage = (options) => {
|
|
461
761
|
return (options.client ?? client_gen_1.client).get({
|
|
462
|
-
security: [
|
|
762
|
+
security: [
|
|
763
|
+
{
|
|
764
|
+
scheme: 'bearer',
|
|
765
|
+
type: 'http'
|
|
766
|
+
}
|
|
767
|
+
],
|
|
463
768
|
url: '/images/{resourceType}/{imageName}',
|
|
464
769
|
...options
|
|
465
770
|
});
|
|
@@ -471,7 +776,12 @@ exports.getImage = getImage;
|
|
|
471
776
|
*/
|
|
472
777
|
const listImageShares = (options) => {
|
|
473
778
|
return (options.client ?? client_gen_1.client).get({
|
|
474
|
-
security: [
|
|
779
|
+
security: [
|
|
780
|
+
{
|
|
781
|
+
scheme: 'bearer',
|
|
782
|
+
type: 'http'
|
|
783
|
+
}
|
|
784
|
+
],
|
|
475
785
|
url: '/images/{resourceType}/{imageName}/share',
|
|
476
786
|
...options
|
|
477
787
|
});
|
|
@@ -483,7 +793,12 @@ exports.listImageShares = listImageShares;
|
|
|
483
793
|
*/
|
|
484
794
|
const shareImage = (options) => {
|
|
485
795
|
return (options.client ?? client_gen_1.client).post({
|
|
486
|
-
security: [
|
|
796
|
+
security: [
|
|
797
|
+
{
|
|
798
|
+
scheme: 'bearer',
|
|
799
|
+
type: 'http'
|
|
800
|
+
}
|
|
801
|
+
],
|
|
487
802
|
url: '/images/{resourceType}/{imageName}/share',
|
|
488
803
|
...options,
|
|
489
804
|
headers: {
|
|
@@ -499,7 +814,12 @@ exports.shareImage = shareImage;
|
|
|
499
814
|
*/
|
|
500
815
|
const unshareImage = (options) => {
|
|
501
816
|
return (options.client ?? client_gen_1.client).delete({
|
|
502
|
-
security: [
|
|
817
|
+
security: [
|
|
818
|
+
{
|
|
819
|
+
scheme: 'bearer',
|
|
820
|
+
type: 'http'
|
|
821
|
+
}
|
|
822
|
+
],
|
|
503
823
|
url: '/images/{resourceType}/{imageName}/share/{targetWorkspace}',
|
|
504
824
|
...options
|
|
505
825
|
});
|
|
@@ -511,7 +831,12 @@ exports.unshareImage = unshareImage;
|
|
|
511
831
|
*/
|
|
512
832
|
const deleteImageTag = (options) => {
|
|
513
833
|
return (options.client ?? client_gen_1.client).delete({
|
|
514
|
-
security: [
|
|
834
|
+
security: [
|
|
835
|
+
{
|
|
836
|
+
scheme: 'bearer',
|
|
837
|
+
type: 'http'
|
|
838
|
+
}
|
|
839
|
+
],
|
|
515
840
|
url: '/images/{resourceType}/{imageName}/tags/{tagName}',
|
|
516
841
|
...options
|
|
517
842
|
});
|
|
@@ -523,7 +848,12 @@ exports.deleteImageTag = deleteImageTag;
|
|
|
523
848
|
*/
|
|
524
849
|
const getIntegration = (options) => {
|
|
525
850
|
return (options.client ?? client_gen_1.client).get({
|
|
526
|
-
security: [
|
|
851
|
+
security: [
|
|
852
|
+
{
|
|
853
|
+
scheme: 'bearer',
|
|
854
|
+
type: 'http'
|
|
855
|
+
}
|
|
856
|
+
],
|
|
527
857
|
url: '/integrations/{integrationName}',
|
|
528
858
|
...options
|
|
529
859
|
});
|
|
@@ -535,7 +865,12 @@ exports.getIntegration = getIntegration;
|
|
|
535
865
|
*/
|
|
536
866
|
const listIntegrationConnections = (options) => {
|
|
537
867
|
return (options?.client ?? client_gen_1.client).get({
|
|
538
|
-
security: [
|
|
868
|
+
security: [
|
|
869
|
+
{
|
|
870
|
+
scheme: 'bearer',
|
|
871
|
+
type: 'http'
|
|
872
|
+
}
|
|
873
|
+
],
|
|
539
874
|
url: '/integrations/connections',
|
|
540
875
|
...options
|
|
541
876
|
});
|
|
@@ -547,7 +882,12 @@ exports.listIntegrationConnections = listIntegrationConnections;
|
|
|
547
882
|
*/
|
|
548
883
|
const createIntegrationConnection = (options) => {
|
|
549
884
|
return (options.client ?? client_gen_1.client).post({
|
|
550
|
-
security: [
|
|
885
|
+
security: [
|
|
886
|
+
{
|
|
887
|
+
scheme: 'bearer',
|
|
888
|
+
type: 'http'
|
|
889
|
+
}
|
|
890
|
+
],
|
|
551
891
|
url: '/integrations/connections',
|
|
552
892
|
...options,
|
|
553
893
|
headers: {
|
|
@@ -563,7 +903,12 @@ exports.createIntegrationConnection = createIntegrationConnection;
|
|
|
563
903
|
*/
|
|
564
904
|
const deleteIntegrationConnection = (options) => {
|
|
565
905
|
return (options.client ?? client_gen_1.client).delete({
|
|
566
|
-
security: [
|
|
906
|
+
security: [
|
|
907
|
+
{
|
|
908
|
+
scheme: 'bearer',
|
|
909
|
+
type: 'http'
|
|
910
|
+
}
|
|
911
|
+
],
|
|
567
912
|
url: '/integrations/connections/{connectionName}',
|
|
568
913
|
...options
|
|
569
914
|
});
|
|
@@ -575,7 +920,12 @@ exports.deleteIntegrationConnection = deleteIntegrationConnection;
|
|
|
575
920
|
*/
|
|
576
921
|
const getIntegrationConnection = (options) => {
|
|
577
922
|
return (options.client ?? client_gen_1.client).get({
|
|
578
|
-
security: [
|
|
923
|
+
security: [
|
|
924
|
+
{
|
|
925
|
+
scheme: 'bearer',
|
|
926
|
+
type: 'http'
|
|
927
|
+
}
|
|
928
|
+
],
|
|
579
929
|
url: '/integrations/connections/{connectionName}',
|
|
580
930
|
...options
|
|
581
931
|
});
|
|
@@ -587,7 +937,12 @@ exports.getIntegrationConnection = getIntegrationConnection;
|
|
|
587
937
|
*/
|
|
588
938
|
const updateIntegrationConnection = (options) => {
|
|
589
939
|
return (options.client ?? client_gen_1.client).put({
|
|
590
|
-
security: [
|
|
940
|
+
security: [
|
|
941
|
+
{
|
|
942
|
+
scheme: 'bearer',
|
|
943
|
+
type: 'http'
|
|
944
|
+
}
|
|
945
|
+
],
|
|
591
946
|
url: '/integrations/connections/{connectionName}',
|
|
592
947
|
...options,
|
|
593
948
|
headers: {
|
|
@@ -603,7 +958,12 @@ exports.updateIntegrationConnection = updateIntegrationConnection;
|
|
|
603
958
|
*/
|
|
604
959
|
const getIntegrationConnectionModelEndpointConfigurations = (options) => {
|
|
605
960
|
return (options.client ?? client_gen_1.client).get({
|
|
606
|
-
security: [
|
|
961
|
+
security: [
|
|
962
|
+
{
|
|
963
|
+
scheme: 'bearer',
|
|
964
|
+
type: 'http'
|
|
965
|
+
}
|
|
966
|
+
],
|
|
607
967
|
url: '/integrations/connections/{connectionName}/endpointConfigurations',
|
|
608
968
|
...options
|
|
609
969
|
});
|
|
@@ -615,7 +975,12 @@ exports.getIntegrationConnectionModelEndpointConfigurations = getIntegrationConn
|
|
|
615
975
|
*/
|
|
616
976
|
const listIntegrationConnectionModels = (options) => {
|
|
617
977
|
return (options.client ?? client_gen_1.client).get({
|
|
618
|
-
security: [
|
|
978
|
+
security: [
|
|
979
|
+
{
|
|
980
|
+
scheme: 'bearer',
|
|
981
|
+
type: 'http'
|
|
982
|
+
}
|
|
983
|
+
],
|
|
619
984
|
url: '/integrations/connections/{connectionName}/models',
|
|
620
985
|
...options
|
|
621
986
|
});
|
|
@@ -627,7 +992,12 @@ exports.listIntegrationConnectionModels = listIntegrationConnectionModels;
|
|
|
627
992
|
*/
|
|
628
993
|
const getIntegrationConnectionModel = (options) => {
|
|
629
994
|
return (options.client ?? client_gen_1.client).get({
|
|
630
|
-
security: [
|
|
995
|
+
security: [
|
|
996
|
+
{
|
|
997
|
+
scheme: 'bearer',
|
|
998
|
+
type: 'http'
|
|
999
|
+
}
|
|
1000
|
+
],
|
|
631
1001
|
url: '/integrations/connections/{connectionName}/models/{modelId}',
|
|
632
1002
|
...options
|
|
633
1003
|
});
|
|
@@ -639,7 +1009,12 @@ exports.getIntegrationConnectionModel = getIntegrationConnectionModel;
|
|
|
639
1009
|
*/
|
|
640
1010
|
const listJobs = (options) => {
|
|
641
1011
|
return (options?.client ?? client_gen_1.client).get({
|
|
642
|
-
security: [
|
|
1012
|
+
security: [
|
|
1013
|
+
{
|
|
1014
|
+
scheme: 'bearer',
|
|
1015
|
+
type: 'http'
|
|
1016
|
+
}
|
|
1017
|
+
],
|
|
643
1018
|
url: '/jobs',
|
|
644
1019
|
...options
|
|
645
1020
|
});
|
|
@@ -651,7 +1026,12 @@ exports.listJobs = listJobs;
|
|
|
651
1026
|
*/
|
|
652
1027
|
const createJob = (options) => {
|
|
653
1028
|
return (options.client ?? client_gen_1.client).post({
|
|
654
|
-
security: [
|
|
1029
|
+
security: [
|
|
1030
|
+
{
|
|
1031
|
+
scheme: 'bearer',
|
|
1032
|
+
type: 'http'
|
|
1033
|
+
}
|
|
1034
|
+
],
|
|
655
1035
|
url: '/jobs',
|
|
656
1036
|
...options,
|
|
657
1037
|
headers: {
|
|
@@ -667,7 +1047,12 @@ exports.createJob = createJob;
|
|
|
667
1047
|
*/
|
|
668
1048
|
const deleteJob = (options) => {
|
|
669
1049
|
return (options.client ?? client_gen_1.client).delete({
|
|
670
|
-
security: [
|
|
1050
|
+
security: [
|
|
1051
|
+
{
|
|
1052
|
+
scheme: 'bearer',
|
|
1053
|
+
type: 'http'
|
|
1054
|
+
}
|
|
1055
|
+
],
|
|
671
1056
|
url: '/jobs/{jobId}',
|
|
672
1057
|
...options
|
|
673
1058
|
});
|
|
@@ -679,7 +1064,12 @@ exports.deleteJob = deleteJob;
|
|
|
679
1064
|
*/
|
|
680
1065
|
const getJob = (options) => {
|
|
681
1066
|
return (options.client ?? client_gen_1.client).get({
|
|
682
|
-
security: [
|
|
1067
|
+
security: [
|
|
1068
|
+
{
|
|
1069
|
+
scheme: 'bearer',
|
|
1070
|
+
type: 'http'
|
|
1071
|
+
}
|
|
1072
|
+
],
|
|
683
1073
|
url: '/jobs/{jobId}',
|
|
684
1074
|
...options
|
|
685
1075
|
});
|
|
@@ -691,7 +1081,12 @@ exports.getJob = getJob;
|
|
|
691
1081
|
*/
|
|
692
1082
|
const updateJob = (options) => {
|
|
693
1083
|
return (options.client ?? client_gen_1.client).put({
|
|
694
|
-
security: [
|
|
1084
|
+
security: [
|
|
1085
|
+
{
|
|
1086
|
+
scheme: 'bearer',
|
|
1087
|
+
type: 'http'
|
|
1088
|
+
}
|
|
1089
|
+
],
|
|
695
1090
|
url: '/jobs/{jobId}',
|
|
696
1091
|
...options,
|
|
697
1092
|
headers: {
|
|
@@ -707,7 +1102,12 @@ exports.updateJob = updateJob;
|
|
|
707
1102
|
*/
|
|
708
1103
|
const listJobExecutions = (options) => {
|
|
709
1104
|
return (options.client ?? client_gen_1.client).get({
|
|
710
|
-
security: [
|
|
1105
|
+
security: [
|
|
1106
|
+
{
|
|
1107
|
+
scheme: 'bearer',
|
|
1108
|
+
type: 'http'
|
|
1109
|
+
}
|
|
1110
|
+
],
|
|
711
1111
|
url: '/jobs/{jobId}/executions',
|
|
712
1112
|
...options
|
|
713
1113
|
});
|
|
@@ -719,7 +1119,12 @@ exports.listJobExecutions = listJobExecutions;
|
|
|
719
1119
|
*/
|
|
720
1120
|
const createJobExecution = (options) => {
|
|
721
1121
|
return (options.client ?? client_gen_1.client).post({
|
|
722
|
-
security: [
|
|
1122
|
+
security: [
|
|
1123
|
+
{
|
|
1124
|
+
scheme: 'bearer',
|
|
1125
|
+
type: 'http'
|
|
1126
|
+
}
|
|
1127
|
+
],
|
|
723
1128
|
url: '/jobs/{jobId}/executions',
|
|
724
1129
|
...options,
|
|
725
1130
|
headers: {
|
|
@@ -735,7 +1140,12 @@ exports.createJobExecution = createJobExecution;
|
|
|
735
1140
|
*/
|
|
736
1141
|
const deleteJobExecution = (options) => {
|
|
737
1142
|
return (options.client ?? client_gen_1.client).delete({
|
|
738
|
-
security: [
|
|
1143
|
+
security: [
|
|
1144
|
+
{
|
|
1145
|
+
scheme: 'bearer',
|
|
1146
|
+
type: 'http'
|
|
1147
|
+
}
|
|
1148
|
+
],
|
|
739
1149
|
url: '/jobs/{jobId}/executions/{executionId}',
|
|
740
1150
|
...options
|
|
741
1151
|
});
|
|
@@ -747,7 +1157,12 @@ exports.deleteJobExecution = deleteJobExecution;
|
|
|
747
1157
|
*/
|
|
748
1158
|
const getJobExecution = (options) => {
|
|
749
1159
|
return (options.client ?? client_gen_1.client).get({
|
|
750
|
-
security: [
|
|
1160
|
+
security: [
|
|
1161
|
+
{
|
|
1162
|
+
scheme: 'bearer',
|
|
1163
|
+
type: 'http'
|
|
1164
|
+
}
|
|
1165
|
+
],
|
|
751
1166
|
url: '/jobs/{jobId}/executions/{executionId}',
|
|
752
1167
|
...options
|
|
753
1168
|
});
|
|
@@ -759,7 +1174,12 @@ exports.getJobExecution = getJobExecution;
|
|
|
759
1174
|
*/
|
|
760
1175
|
const listJobExecutionTasks = (options) => {
|
|
761
1176
|
return (options.client ?? client_gen_1.client).get({
|
|
762
|
-
security: [
|
|
1177
|
+
security: [
|
|
1178
|
+
{
|
|
1179
|
+
scheme: 'bearer',
|
|
1180
|
+
type: 'http'
|
|
1181
|
+
}
|
|
1182
|
+
],
|
|
763
1183
|
url: '/jobs/{jobId}/executions/{executionId}/tasks',
|
|
764
1184
|
...options
|
|
765
1185
|
});
|
|
@@ -771,7 +1191,12 @@ exports.listJobExecutionTasks = listJobExecutionTasks;
|
|
|
771
1191
|
*/
|
|
772
1192
|
const listJobRevisions = (options) => {
|
|
773
1193
|
return (options.client ?? client_gen_1.client).get({
|
|
774
|
-
security: [
|
|
1194
|
+
security: [
|
|
1195
|
+
{
|
|
1196
|
+
scheme: 'bearer',
|
|
1197
|
+
type: 'http'
|
|
1198
|
+
}
|
|
1199
|
+
],
|
|
775
1200
|
url: '/jobs/{jobId}/revisions',
|
|
776
1201
|
...options
|
|
777
1202
|
});
|
|
@@ -783,7 +1208,12 @@ exports.listJobRevisions = listJobRevisions;
|
|
|
783
1208
|
*/
|
|
784
1209
|
const listLocations = (options) => {
|
|
785
1210
|
return (options?.client ?? client_gen_1.client).get({
|
|
786
|
-
security: [
|
|
1211
|
+
security: [
|
|
1212
|
+
{
|
|
1213
|
+
scheme: 'bearer',
|
|
1214
|
+
type: 'http'
|
|
1215
|
+
}
|
|
1216
|
+
],
|
|
787
1217
|
url: '/locations',
|
|
788
1218
|
...options
|
|
789
1219
|
});
|
|
@@ -795,7 +1225,12 @@ exports.listLocations = listLocations;
|
|
|
795
1225
|
*/
|
|
796
1226
|
const listMcpHubDefinitions = (options) => {
|
|
797
1227
|
return (options?.client ?? client_gen_1.client).get({
|
|
798
|
-
security: [
|
|
1228
|
+
security: [
|
|
1229
|
+
{
|
|
1230
|
+
scheme: 'bearer',
|
|
1231
|
+
type: 'http'
|
|
1232
|
+
}
|
|
1233
|
+
],
|
|
799
1234
|
url: '/mcp/hub',
|
|
800
1235
|
...options
|
|
801
1236
|
});
|
|
@@ -807,7 +1242,12 @@ exports.listMcpHubDefinitions = listMcpHubDefinitions;
|
|
|
807
1242
|
*/
|
|
808
1243
|
const listModels = (options) => {
|
|
809
1244
|
return (options?.client ?? client_gen_1.client).get({
|
|
810
|
-
security: [
|
|
1245
|
+
security: [
|
|
1246
|
+
{
|
|
1247
|
+
scheme: 'bearer',
|
|
1248
|
+
type: 'http'
|
|
1249
|
+
}
|
|
1250
|
+
],
|
|
811
1251
|
url: '/models',
|
|
812
1252
|
...options
|
|
813
1253
|
});
|
|
@@ -819,7 +1259,12 @@ exports.listModels = listModels;
|
|
|
819
1259
|
*/
|
|
820
1260
|
const createModel = (options) => {
|
|
821
1261
|
return (options.client ?? client_gen_1.client).post({
|
|
822
|
-
security: [
|
|
1262
|
+
security: [
|
|
1263
|
+
{
|
|
1264
|
+
scheme: 'bearer',
|
|
1265
|
+
type: 'http'
|
|
1266
|
+
}
|
|
1267
|
+
],
|
|
823
1268
|
url: '/models',
|
|
824
1269
|
...options,
|
|
825
1270
|
headers: {
|
|
@@ -835,7 +1280,12 @@ exports.createModel = createModel;
|
|
|
835
1280
|
*/
|
|
836
1281
|
const deleteModel = (options) => {
|
|
837
1282
|
return (options.client ?? client_gen_1.client).delete({
|
|
838
|
-
security: [
|
|
1283
|
+
security: [
|
|
1284
|
+
{
|
|
1285
|
+
scheme: 'bearer',
|
|
1286
|
+
type: 'http'
|
|
1287
|
+
}
|
|
1288
|
+
],
|
|
839
1289
|
url: '/models/{modelName}',
|
|
840
1290
|
...options
|
|
841
1291
|
});
|
|
@@ -847,7 +1297,12 @@ exports.deleteModel = deleteModel;
|
|
|
847
1297
|
*/
|
|
848
1298
|
const getModel = (options) => {
|
|
849
1299
|
return (options.client ?? client_gen_1.client).get({
|
|
850
|
-
security: [
|
|
1300
|
+
security: [
|
|
1301
|
+
{
|
|
1302
|
+
scheme: 'bearer',
|
|
1303
|
+
type: 'http'
|
|
1304
|
+
}
|
|
1305
|
+
],
|
|
851
1306
|
url: '/models/{modelName}',
|
|
852
1307
|
...options
|
|
853
1308
|
});
|
|
@@ -859,7 +1314,12 @@ exports.getModel = getModel;
|
|
|
859
1314
|
*/
|
|
860
1315
|
const updateModel = (options) => {
|
|
861
1316
|
return (options.client ?? client_gen_1.client).put({
|
|
862
|
-
security: [
|
|
1317
|
+
security: [
|
|
1318
|
+
{
|
|
1319
|
+
scheme: 'bearer',
|
|
1320
|
+
type: 'http'
|
|
1321
|
+
}
|
|
1322
|
+
],
|
|
863
1323
|
url: '/models/{modelName}',
|
|
864
1324
|
...options,
|
|
865
1325
|
headers: {
|
|
@@ -875,7 +1335,12 @@ exports.updateModel = updateModel;
|
|
|
875
1335
|
*/
|
|
876
1336
|
const listModelRevisions = (options) => {
|
|
877
1337
|
return (options.client ?? client_gen_1.client).get({
|
|
878
|
-
security: [
|
|
1338
|
+
security: [
|
|
1339
|
+
{
|
|
1340
|
+
scheme: 'bearer',
|
|
1341
|
+
type: 'http'
|
|
1342
|
+
}
|
|
1343
|
+
],
|
|
879
1344
|
url: '/models/{modelName}/revisions',
|
|
880
1345
|
...options
|
|
881
1346
|
});
|
|
@@ -887,7 +1352,12 @@ exports.listModelRevisions = listModelRevisions;
|
|
|
887
1352
|
*/
|
|
888
1353
|
const listPendingImageShares = (options) => {
|
|
889
1354
|
return (options?.client ?? client_gen_1.client).get({
|
|
890
|
-
security: [
|
|
1355
|
+
security: [
|
|
1356
|
+
{
|
|
1357
|
+
scheme: 'bearer',
|
|
1358
|
+
type: 'http'
|
|
1359
|
+
}
|
|
1360
|
+
],
|
|
891
1361
|
url: '/pending-image-shares',
|
|
892
1362
|
...options
|
|
893
1363
|
});
|
|
@@ -899,7 +1369,12 @@ exports.listPendingImageShares = listPendingImageShares;
|
|
|
899
1369
|
*/
|
|
900
1370
|
const acceptImageShare = (options) => {
|
|
901
1371
|
return (options.client ?? client_gen_1.client).post({
|
|
902
|
-
security: [
|
|
1372
|
+
security: [
|
|
1373
|
+
{
|
|
1374
|
+
scheme: 'bearer',
|
|
1375
|
+
type: 'http'
|
|
1376
|
+
}
|
|
1377
|
+
],
|
|
903
1378
|
url: '/pending-image-shares/{pendingShareId}/accept',
|
|
904
1379
|
...options
|
|
905
1380
|
});
|
|
@@ -911,7 +1386,12 @@ exports.acceptImageShare = acceptImageShare;
|
|
|
911
1386
|
*/
|
|
912
1387
|
const declineImageShare = (options) => {
|
|
913
1388
|
return (options.client ?? client_gen_1.client).post({
|
|
914
|
-
security: [
|
|
1389
|
+
security: [
|
|
1390
|
+
{
|
|
1391
|
+
scheme: 'bearer',
|
|
1392
|
+
type: 'http'
|
|
1393
|
+
}
|
|
1394
|
+
],
|
|
915
1395
|
url: '/pending-image-shares/{pendingShareId}/decline',
|
|
916
1396
|
...options
|
|
917
1397
|
});
|
|
@@ -923,7 +1403,12 @@ exports.declineImageShare = declineImageShare;
|
|
|
923
1403
|
*/
|
|
924
1404
|
const listPolicies = (options) => {
|
|
925
1405
|
return (options?.client ?? client_gen_1.client).get({
|
|
926
|
-
security: [
|
|
1406
|
+
security: [
|
|
1407
|
+
{
|
|
1408
|
+
scheme: 'bearer',
|
|
1409
|
+
type: 'http'
|
|
1410
|
+
}
|
|
1411
|
+
],
|
|
927
1412
|
url: '/policies',
|
|
928
1413
|
...options
|
|
929
1414
|
});
|
|
@@ -935,7 +1420,12 @@ exports.listPolicies = listPolicies;
|
|
|
935
1420
|
*/
|
|
936
1421
|
const createPolicy = (options) => {
|
|
937
1422
|
return (options.client ?? client_gen_1.client).post({
|
|
938
|
-
security: [
|
|
1423
|
+
security: [
|
|
1424
|
+
{
|
|
1425
|
+
scheme: 'bearer',
|
|
1426
|
+
type: 'http'
|
|
1427
|
+
}
|
|
1428
|
+
],
|
|
939
1429
|
url: '/policies',
|
|
940
1430
|
...options,
|
|
941
1431
|
headers: {
|
|
@@ -951,7 +1441,12 @@ exports.createPolicy = createPolicy;
|
|
|
951
1441
|
*/
|
|
952
1442
|
const deletePolicy = (options) => {
|
|
953
1443
|
return (options.client ?? client_gen_1.client).delete({
|
|
954
|
-
security: [
|
|
1444
|
+
security: [
|
|
1445
|
+
{
|
|
1446
|
+
scheme: 'bearer',
|
|
1447
|
+
type: 'http'
|
|
1448
|
+
}
|
|
1449
|
+
],
|
|
955
1450
|
url: '/policies/{policyName}',
|
|
956
1451
|
...options
|
|
957
1452
|
});
|
|
@@ -963,7 +1458,12 @@ exports.deletePolicy = deletePolicy;
|
|
|
963
1458
|
*/
|
|
964
1459
|
const getPolicy = (options) => {
|
|
965
1460
|
return (options.client ?? client_gen_1.client).get({
|
|
966
|
-
security: [
|
|
1461
|
+
security: [
|
|
1462
|
+
{
|
|
1463
|
+
scheme: 'bearer',
|
|
1464
|
+
type: 'http'
|
|
1465
|
+
}
|
|
1466
|
+
],
|
|
967
1467
|
url: '/policies/{policyName}',
|
|
968
1468
|
...options
|
|
969
1469
|
});
|
|
@@ -975,7 +1475,12 @@ exports.getPolicy = getPolicy;
|
|
|
975
1475
|
*/
|
|
976
1476
|
const updatePolicy = (options) => {
|
|
977
1477
|
return (options.client ?? client_gen_1.client).put({
|
|
978
|
-
security: [
|
|
1478
|
+
security: [
|
|
1479
|
+
{
|
|
1480
|
+
scheme: 'bearer',
|
|
1481
|
+
type: 'http'
|
|
1482
|
+
}
|
|
1483
|
+
],
|
|
979
1484
|
url: '/policies/{policyName}',
|
|
980
1485
|
...options,
|
|
981
1486
|
headers: {
|
|
@@ -991,7 +1496,12 @@ exports.updatePolicy = updatePolicy;
|
|
|
991
1496
|
*/
|
|
992
1497
|
const getPolicyUsages = (options) => {
|
|
993
1498
|
return (options.client ?? client_gen_1.client).get({
|
|
994
|
-
security: [
|
|
1499
|
+
security: [
|
|
1500
|
+
{
|
|
1501
|
+
scheme: 'bearer',
|
|
1502
|
+
type: 'http'
|
|
1503
|
+
}
|
|
1504
|
+
],
|
|
995
1505
|
url: '/policies/{policyName}/usages',
|
|
996
1506
|
...options
|
|
997
1507
|
});
|
|
@@ -1003,7 +1513,12 @@ exports.getPolicyUsages = getPolicyUsages;
|
|
|
1003
1513
|
*/
|
|
1004
1514
|
const listPublicIps = (options) => {
|
|
1005
1515
|
return (options?.client ?? client_gen_1.client).get({
|
|
1006
|
-
security: [
|
|
1516
|
+
security: [
|
|
1517
|
+
{
|
|
1518
|
+
scheme: 'bearer',
|
|
1519
|
+
type: 'http'
|
|
1520
|
+
}
|
|
1521
|
+
],
|
|
1007
1522
|
url: '/publicIps',
|
|
1008
1523
|
...options
|
|
1009
1524
|
});
|
|
@@ -1015,7 +1530,12 @@ exports.listPublicIps = listPublicIps;
|
|
|
1015
1530
|
*/
|
|
1016
1531
|
const listSandboxHubDefinitions = (options) => {
|
|
1017
1532
|
return (options?.client ?? client_gen_1.client).get({
|
|
1018
|
-
security: [
|
|
1533
|
+
security: [
|
|
1534
|
+
{
|
|
1535
|
+
scheme: 'bearer',
|
|
1536
|
+
type: 'http'
|
|
1537
|
+
}
|
|
1538
|
+
],
|
|
1019
1539
|
url: '/sandbox/hub',
|
|
1020
1540
|
...options
|
|
1021
1541
|
});
|
|
@@ -1027,7 +1547,12 @@ exports.listSandboxHubDefinitions = listSandboxHubDefinitions;
|
|
|
1027
1547
|
*/
|
|
1028
1548
|
const listSandboxes = (options) => {
|
|
1029
1549
|
return (options?.client ?? client_gen_1.client).get({
|
|
1030
|
-
security: [
|
|
1550
|
+
security: [
|
|
1551
|
+
{
|
|
1552
|
+
scheme: 'bearer',
|
|
1553
|
+
type: 'http'
|
|
1554
|
+
}
|
|
1555
|
+
],
|
|
1031
1556
|
url: '/sandboxes',
|
|
1032
1557
|
...options
|
|
1033
1558
|
});
|
|
@@ -1039,7 +1564,12 @@ exports.listSandboxes = listSandboxes;
|
|
|
1039
1564
|
*/
|
|
1040
1565
|
const createSandbox = (options) => {
|
|
1041
1566
|
return (options.client ?? client_gen_1.client).post({
|
|
1042
|
-
security: [
|
|
1567
|
+
security: [
|
|
1568
|
+
{
|
|
1569
|
+
scheme: 'bearer',
|
|
1570
|
+
type: 'http'
|
|
1571
|
+
}
|
|
1572
|
+
],
|
|
1043
1573
|
url: '/sandboxes',
|
|
1044
1574
|
...options,
|
|
1045
1575
|
headers: {
|
|
@@ -1055,7 +1585,12 @@ exports.createSandbox = createSandbox;
|
|
|
1055
1585
|
*/
|
|
1056
1586
|
const deleteSandbox = (options) => {
|
|
1057
1587
|
return (options.client ?? client_gen_1.client).delete({
|
|
1058
|
-
security: [
|
|
1588
|
+
security: [
|
|
1589
|
+
{
|
|
1590
|
+
scheme: 'bearer',
|
|
1591
|
+
type: 'http'
|
|
1592
|
+
}
|
|
1593
|
+
],
|
|
1059
1594
|
url: '/sandboxes/{sandboxName}',
|
|
1060
1595
|
...options
|
|
1061
1596
|
});
|
|
@@ -1067,7 +1602,12 @@ exports.deleteSandbox = deleteSandbox;
|
|
|
1067
1602
|
*/
|
|
1068
1603
|
const getSandbox = (options) => {
|
|
1069
1604
|
return (options.client ?? client_gen_1.client).get({
|
|
1070
|
-
security: [
|
|
1605
|
+
security: [
|
|
1606
|
+
{
|
|
1607
|
+
scheme: 'bearer',
|
|
1608
|
+
type: 'http'
|
|
1609
|
+
}
|
|
1610
|
+
],
|
|
1071
1611
|
url: '/sandboxes/{sandboxName}',
|
|
1072
1612
|
...options
|
|
1073
1613
|
});
|
|
@@ -1079,7 +1619,12 @@ exports.getSandbox = getSandbox;
|
|
|
1079
1619
|
*/
|
|
1080
1620
|
const updateSandbox = (options) => {
|
|
1081
1621
|
return (options.client ?? client_gen_1.client).put({
|
|
1082
|
-
security: [
|
|
1622
|
+
security: [
|
|
1623
|
+
{
|
|
1624
|
+
scheme: 'bearer',
|
|
1625
|
+
type: 'http'
|
|
1626
|
+
}
|
|
1627
|
+
],
|
|
1083
1628
|
url: '/sandboxes/{sandboxName}',
|
|
1084
1629
|
...options,
|
|
1085
1630
|
headers: {
|
|
@@ -1095,7 +1640,12 @@ exports.updateSandbox = updateSandbox;
|
|
|
1095
1640
|
*/
|
|
1096
1641
|
const listSandboxPreviews = (options) => {
|
|
1097
1642
|
return (options.client ?? client_gen_1.client).get({
|
|
1098
|
-
security: [
|
|
1643
|
+
security: [
|
|
1644
|
+
{
|
|
1645
|
+
scheme: 'bearer',
|
|
1646
|
+
type: 'http'
|
|
1647
|
+
}
|
|
1648
|
+
],
|
|
1099
1649
|
url: '/sandboxes/{sandboxName}/previews',
|
|
1100
1650
|
...options
|
|
1101
1651
|
});
|
|
@@ -1107,7 +1657,12 @@ exports.listSandboxPreviews = listSandboxPreviews;
|
|
|
1107
1657
|
*/
|
|
1108
1658
|
const createSandboxPreview = (options) => {
|
|
1109
1659
|
return (options.client ?? client_gen_1.client).post({
|
|
1110
|
-
security: [
|
|
1660
|
+
security: [
|
|
1661
|
+
{
|
|
1662
|
+
scheme: 'bearer',
|
|
1663
|
+
type: 'http'
|
|
1664
|
+
}
|
|
1665
|
+
],
|
|
1111
1666
|
url: '/sandboxes/{sandboxName}/previews',
|
|
1112
1667
|
...options,
|
|
1113
1668
|
headers: {
|
|
@@ -1123,7 +1678,12 @@ exports.createSandboxPreview = createSandboxPreview;
|
|
|
1123
1678
|
*/
|
|
1124
1679
|
const deleteSandboxPreview = (options) => {
|
|
1125
1680
|
return (options.client ?? client_gen_1.client).delete({
|
|
1126
|
-
security: [
|
|
1681
|
+
security: [
|
|
1682
|
+
{
|
|
1683
|
+
scheme: 'bearer',
|
|
1684
|
+
type: 'http'
|
|
1685
|
+
}
|
|
1686
|
+
],
|
|
1127
1687
|
url: '/sandboxes/{sandboxName}/previews/{previewName}',
|
|
1128
1688
|
...options
|
|
1129
1689
|
});
|
|
@@ -1135,7 +1695,12 @@ exports.deleteSandboxPreview = deleteSandboxPreview;
|
|
|
1135
1695
|
*/
|
|
1136
1696
|
const getSandboxPreview = (options) => {
|
|
1137
1697
|
return (options.client ?? client_gen_1.client).get({
|
|
1138
|
-
security: [
|
|
1698
|
+
security: [
|
|
1699
|
+
{
|
|
1700
|
+
scheme: 'bearer',
|
|
1701
|
+
type: 'http'
|
|
1702
|
+
}
|
|
1703
|
+
],
|
|
1139
1704
|
url: '/sandboxes/{sandboxName}/previews/{previewName}',
|
|
1140
1705
|
...options
|
|
1141
1706
|
});
|
|
@@ -1147,7 +1712,12 @@ exports.getSandboxPreview = getSandboxPreview;
|
|
|
1147
1712
|
*/
|
|
1148
1713
|
const updateSandboxPreview = (options) => {
|
|
1149
1714
|
return (options.client ?? client_gen_1.client).put({
|
|
1150
|
-
security: [
|
|
1715
|
+
security: [
|
|
1716
|
+
{
|
|
1717
|
+
scheme: 'bearer',
|
|
1718
|
+
type: 'http'
|
|
1719
|
+
}
|
|
1720
|
+
],
|
|
1151
1721
|
url: '/sandboxes/{sandboxName}/previews/{previewName}',
|
|
1152
1722
|
...options,
|
|
1153
1723
|
headers: {
|
|
@@ -1163,7 +1733,12 @@ exports.updateSandboxPreview = updateSandboxPreview;
|
|
|
1163
1733
|
*/
|
|
1164
1734
|
const listSandboxPreviewTokens = (options) => {
|
|
1165
1735
|
return (options.client ?? client_gen_1.client).get({
|
|
1166
|
-
security: [
|
|
1736
|
+
security: [
|
|
1737
|
+
{
|
|
1738
|
+
scheme: 'bearer',
|
|
1739
|
+
type: 'http'
|
|
1740
|
+
}
|
|
1741
|
+
],
|
|
1167
1742
|
url: '/sandboxes/{sandboxName}/previews/{previewName}/tokens',
|
|
1168
1743
|
...options
|
|
1169
1744
|
});
|
|
@@ -1175,7 +1750,12 @@ exports.listSandboxPreviewTokens = listSandboxPreviewTokens;
|
|
|
1175
1750
|
*/
|
|
1176
1751
|
const createSandboxPreviewToken = (options) => {
|
|
1177
1752
|
return (options.client ?? client_gen_1.client).post({
|
|
1178
|
-
security: [
|
|
1753
|
+
security: [
|
|
1754
|
+
{
|
|
1755
|
+
scheme: 'bearer',
|
|
1756
|
+
type: 'http'
|
|
1757
|
+
}
|
|
1758
|
+
],
|
|
1179
1759
|
url: '/sandboxes/{sandboxName}/previews/{previewName}/tokens',
|
|
1180
1760
|
...options,
|
|
1181
1761
|
headers: {
|
|
@@ -1191,7 +1771,12 @@ exports.createSandboxPreviewToken = createSandboxPreviewToken;
|
|
|
1191
1771
|
*/
|
|
1192
1772
|
const deleteSandboxPreviewToken = (options) => {
|
|
1193
1773
|
return (options.client ?? client_gen_1.client).delete({
|
|
1194
|
-
security: [
|
|
1774
|
+
security: [
|
|
1775
|
+
{
|
|
1776
|
+
scheme: 'bearer',
|
|
1777
|
+
type: 'http'
|
|
1778
|
+
}
|
|
1779
|
+
],
|
|
1195
1780
|
url: '/sandboxes/{sandboxName}/previews/{previewName}/tokens/{tokenName}',
|
|
1196
1781
|
...options
|
|
1197
1782
|
});
|
|
@@ -1203,7 +1788,12 @@ exports.deleteSandboxPreviewToken = deleteSandboxPreviewToken;
|
|
|
1203
1788
|
*/
|
|
1204
1789
|
const getSandboxByExternalId = (options) => {
|
|
1205
1790
|
return (options.client ?? client_gen_1.client).get({
|
|
1206
|
-
security: [
|
|
1791
|
+
security: [
|
|
1792
|
+
{
|
|
1793
|
+
scheme: 'bearer',
|
|
1794
|
+
type: 'http'
|
|
1795
|
+
}
|
|
1796
|
+
],
|
|
1207
1797
|
url: '/sandboxes/by-external-id/{externalId}',
|
|
1208
1798
|
...options
|
|
1209
1799
|
});
|
|
@@ -1215,7 +1805,12 @@ exports.getSandboxByExternalId = getSandboxByExternalId;
|
|
|
1215
1805
|
*/
|
|
1216
1806
|
const getWorkspaceServiceAccounts = (options) => {
|
|
1217
1807
|
return (options?.client ?? client_gen_1.client).get({
|
|
1218
|
-
security: [
|
|
1808
|
+
security: [
|
|
1809
|
+
{
|
|
1810
|
+
scheme: 'bearer',
|
|
1811
|
+
type: 'http'
|
|
1812
|
+
}
|
|
1813
|
+
],
|
|
1219
1814
|
url: '/service_accounts',
|
|
1220
1815
|
...options
|
|
1221
1816
|
});
|
|
@@ -1227,7 +1822,12 @@ exports.getWorkspaceServiceAccounts = getWorkspaceServiceAccounts;
|
|
|
1227
1822
|
*/
|
|
1228
1823
|
const createWorkspaceServiceAccount = (options) => {
|
|
1229
1824
|
return (options.client ?? client_gen_1.client).post({
|
|
1230
|
-
security: [
|
|
1825
|
+
security: [
|
|
1826
|
+
{
|
|
1827
|
+
scheme: 'bearer',
|
|
1828
|
+
type: 'http'
|
|
1829
|
+
}
|
|
1830
|
+
],
|
|
1231
1831
|
url: '/service_accounts',
|
|
1232
1832
|
...options,
|
|
1233
1833
|
headers: {
|
|
@@ -1243,7 +1843,12 @@ exports.createWorkspaceServiceAccount = createWorkspaceServiceAccount;
|
|
|
1243
1843
|
*/
|
|
1244
1844
|
const deleteWorkspaceServiceAccount = (options) => {
|
|
1245
1845
|
return (options.client ?? client_gen_1.client).delete({
|
|
1246
|
-
security: [
|
|
1846
|
+
security: [
|
|
1847
|
+
{
|
|
1848
|
+
scheme: 'bearer',
|
|
1849
|
+
type: 'http'
|
|
1850
|
+
}
|
|
1851
|
+
],
|
|
1247
1852
|
url: '/service_accounts/{clientId}',
|
|
1248
1853
|
...options
|
|
1249
1854
|
});
|
|
@@ -1255,7 +1860,12 @@ exports.deleteWorkspaceServiceAccount = deleteWorkspaceServiceAccount;
|
|
|
1255
1860
|
*/
|
|
1256
1861
|
const updateWorkspaceServiceAccount = (options) => {
|
|
1257
1862
|
return (options.client ?? client_gen_1.client).put({
|
|
1258
|
-
security: [
|
|
1863
|
+
security: [
|
|
1864
|
+
{
|
|
1865
|
+
scheme: 'bearer',
|
|
1866
|
+
type: 'http'
|
|
1867
|
+
}
|
|
1868
|
+
],
|
|
1259
1869
|
url: '/service_accounts/{clientId}',
|
|
1260
1870
|
...options,
|
|
1261
1871
|
headers: {
|
|
@@ -1271,7 +1881,12 @@ exports.updateWorkspaceServiceAccount = updateWorkspaceServiceAccount;
|
|
|
1271
1881
|
*/
|
|
1272
1882
|
const listApiKeysForServiceAccount = (options) => {
|
|
1273
1883
|
return (options.client ?? client_gen_1.client).get({
|
|
1274
|
-
security: [
|
|
1884
|
+
security: [
|
|
1885
|
+
{
|
|
1886
|
+
scheme: 'bearer',
|
|
1887
|
+
type: 'http'
|
|
1888
|
+
}
|
|
1889
|
+
],
|
|
1275
1890
|
url: '/service_accounts/{clientId}/api_keys',
|
|
1276
1891
|
...options
|
|
1277
1892
|
});
|
|
@@ -1283,7 +1898,12 @@ exports.listApiKeysForServiceAccount = listApiKeysForServiceAccount;
|
|
|
1283
1898
|
*/
|
|
1284
1899
|
const createApiKeyForServiceAccount = (options) => {
|
|
1285
1900
|
return (options.client ?? client_gen_1.client).post({
|
|
1286
|
-
security: [
|
|
1901
|
+
security: [
|
|
1902
|
+
{
|
|
1903
|
+
scheme: 'bearer',
|
|
1904
|
+
type: 'http'
|
|
1905
|
+
}
|
|
1906
|
+
],
|
|
1287
1907
|
url: '/service_accounts/{clientId}/api_keys',
|
|
1288
1908
|
...options,
|
|
1289
1909
|
headers: {
|
|
@@ -1299,7 +1919,12 @@ exports.createApiKeyForServiceAccount = createApiKeyForServiceAccount;
|
|
|
1299
1919
|
*/
|
|
1300
1920
|
const deleteApiKeyForServiceAccount = (options) => {
|
|
1301
1921
|
return (options.client ?? client_gen_1.client).delete({
|
|
1302
|
-
security: [
|
|
1922
|
+
security: [
|
|
1923
|
+
{
|
|
1924
|
+
scheme: 'bearer',
|
|
1925
|
+
type: 'http'
|
|
1926
|
+
}
|
|
1927
|
+
],
|
|
1303
1928
|
url: '/service_accounts/{clientId}/api_keys/{apiKeyId}',
|
|
1304
1929
|
...options
|
|
1305
1930
|
});
|
|
@@ -1311,7 +1936,12 @@ exports.deleteApiKeyForServiceAccount = deleteApiKeyForServiceAccount;
|
|
|
1311
1936
|
*/
|
|
1312
1937
|
const listTemplates = (options) => {
|
|
1313
1938
|
return (options?.client ?? client_gen_1.client).get({
|
|
1314
|
-
security: [
|
|
1939
|
+
security: [
|
|
1940
|
+
{
|
|
1941
|
+
scheme: 'bearer',
|
|
1942
|
+
type: 'http'
|
|
1943
|
+
}
|
|
1944
|
+
],
|
|
1315
1945
|
url: '/templates',
|
|
1316
1946
|
...options
|
|
1317
1947
|
});
|
|
@@ -1323,7 +1953,12 @@ exports.listTemplates = listTemplates;
|
|
|
1323
1953
|
*/
|
|
1324
1954
|
const getTemplate = (options) => {
|
|
1325
1955
|
return (options.client ?? client_gen_1.client).get({
|
|
1326
|
-
security: [
|
|
1956
|
+
security: [
|
|
1957
|
+
{
|
|
1958
|
+
scheme: 'bearer',
|
|
1959
|
+
type: 'http'
|
|
1960
|
+
}
|
|
1961
|
+
],
|
|
1327
1962
|
url: '/templates/{templateName}',
|
|
1328
1963
|
...options
|
|
1329
1964
|
});
|
|
@@ -1335,7 +1970,12 @@ exports.getTemplate = getTemplate;
|
|
|
1335
1970
|
*/
|
|
1336
1971
|
const listWorkspaceUsers = (options) => {
|
|
1337
1972
|
return (options?.client ?? client_gen_1.client).get({
|
|
1338
|
-
security: [
|
|
1973
|
+
security: [
|
|
1974
|
+
{
|
|
1975
|
+
scheme: 'bearer',
|
|
1976
|
+
type: 'http'
|
|
1977
|
+
}
|
|
1978
|
+
],
|
|
1339
1979
|
url: '/users',
|
|
1340
1980
|
...options
|
|
1341
1981
|
});
|
|
@@ -1347,7 +1987,12 @@ exports.listWorkspaceUsers = listWorkspaceUsers;
|
|
|
1347
1987
|
*/
|
|
1348
1988
|
const inviteWorkspaceUser = (options) => {
|
|
1349
1989
|
return (options.client ?? client_gen_1.client).post({
|
|
1350
|
-
security: [
|
|
1990
|
+
security: [
|
|
1991
|
+
{
|
|
1992
|
+
scheme: 'bearer',
|
|
1993
|
+
type: 'http'
|
|
1994
|
+
}
|
|
1995
|
+
],
|
|
1351
1996
|
url: '/users',
|
|
1352
1997
|
...options,
|
|
1353
1998
|
headers: {
|
|
@@ -1363,7 +2008,12 @@ exports.inviteWorkspaceUser = inviteWorkspaceUser;
|
|
|
1363
2008
|
*/
|
|
1364
2009
|
const removeWorkspaceUser = (options) => {
|
|
1365
2010
|
return (options.client ?? client_gen_1.client).delete({
|
|
1366
|
-
security: [
|
|
2011
|
+
security: [
|
|
2012
|
+
{
|
|
2013
|
+
scheme: 'bearer',
|
|
2014
|
+
type: 'http'
|
|
2015
|
+
}
|
|
2016
|
+
],
|
|
1367
2017
|
url: '/users/{subOrEmail}',
|
|
1368
2018
|
...options
|
|
1369
2019
|
});
|
|
@@ -1375,7 +2025,12 @@ exports.removeWorkspaceUser = removeWorkspaceUser;
|
|
|
1375
2025
|
*/
|
|
1376
2026
|
const updateWorkspaceUserRole = (options) => {
|
|
1377
2027
|
return (options.client ?? client_gen_1.client).put({
|
|
1378
|
-
security: [
|
|
2028
|
+
security: [
|
|
2029
|
+
{
|
|
2030
|
+
scheme: 'bearer',
|
|
2031
|
+
type: 'http'
|
|
2032
|
+
}
|
|
2033
|
+
],
|
|
1379
2034
|
url: '/users/{subOrEmail}',
|
|
1380
2035
|
...options,
|
|
1381
2036
|
headers: {
|
|
@@ -1391,7 +2046,12 @@ exports.updateWorkspaceUserRole = updateWorkspaceUserRole;
|
|
|
1391
2046
|
*/
|
|
1392
2047
|
const listVolumeTemplates = (options) => {
|
|
1393
2048
|
return (options?.client ?? client_gen_1.client).get({
|
|
1394
|
-
security: [
|
|
2049
|
+
security: [
|
|
2050
|
+
{
|
|
2051
|
+
scheme: 'bearer',
|
|
2052
|
+
type: 'http'
|
|
2053
|
+
}
|
|
2054
|
+
],
|
|
1395
2055
|
url: '/volume_templates',
|
|
1396
2056
|
...options
|
|
1397
2057
|
});
|
|
@@ -1403,7 +2063,12 @@ exports.listVolumeTemplates = listVolumeTemplates;
|
|
|
1403
2063
|
*/
|
|
1404
2064
|
const createVolumeTemplate = (options) => {
|
|
1405
2065
|
return (options.client ?? client_gen_1.client).post({
|
|
1406
|
-
security: [
|
|
2066
|
+
security: [
|
|
2067
|
+
{
|
|
2068
|
+
scheme: 'bearer',
|
|
2069
|
+
type: 'http'
|
|
2070
|
+
}
|
|
2071
|
+
],
|
|
1407
2072
|
url: '/volume_templates',
|
|
1408
2073
|
...options,
|
|
1409
2074
|
headers: {
|
|
@@ -1419,7 +2084,12 @@ exports.createVolumeTemplate = createVolumeTemplate;
|
|
|
1419
2084
|
*/
|
|
1420
2085
|
const deleteVolumeTemplate = (options) => {
|
|
1421
2086
|
return (options.client ?? client_gen_1.client).delete({
|
|
1422
|
-
security: [
|
|
2087
|
+
security: [
|
|
2088
|
+
{
|
|
2089
|
+
scheme: 'bearer',
|
|
2090
|
+
type: 'http'
|
|
2091
|
+
}
|
|
2092
|
+
],
|
|
1423
2093
|
url: '/volume_templates/{volumeTemplateName}',
|
|
1424
2094
|
...options
|
|
1425
2095
|
});
|
|
@@ -1431,7 +2101,12 @@ exports.deleteVolumeTemplate = deleteVolumeTemplate;
|
|
|
1431
2101
|
*/
|
|
1432
2102
|
const getVolumeTemplate = (options) => {
|
|
1433
2103
|
return (options.client ?? client_gen_1.client).get({
|
|
1434
|
-
security: [
|
|
2104
|
+
security: [
|
|
2105
|
+
{
|
|
2106
|
+
scheme: 'bearer',
|
|
2107
|
+
type: 'http'
|
|
2108
|
+
}
|
|
2109
|
+
],
|
|
1435
2110
|
url: '/volume_templates/{volumeTemplateName}',
|
|
1436
2111
|
...options
|
|
1437
2112
|
});
|
|
@@ -1443,7 +2118,12 @@ exports.getVolumeTemplate = getVolumeTemplate;
|
|
|
1443
2118
|
*/
|
|
1444
2119
|
const updateVolumeTemplate = (options) => {
|
|
1445
2120
|
return (options.client ?? client_gen_1.client).put({
|
|
1446
|
-
security: [
|
|
2121
|
+
security: [
|
|
2122
|
+
{
|
|
2123
|
+
scheme: 'bearer',
|
|
2124
|
+
type: 'http'
|
|
2125
|
+
}
|
|
2126
|
+
],
|
|
1447
2127
|
url: '/volume_templates/{volumeTemplateName}',
|
|
1448
2128
|
...options,
|
|
1449
2129
|
headers: {
|
|
@@ -1459,7 +2139,12 @@ exports.updateVolumeTemplate = updateVolumeTemplate;
|
|
|
1459
2139
|
*/
|
|
1460
2140
|
const deleteVolumeTemplateVersion = (options) => {
|
|
1461
2141
|
return (options.client ?? client_gen_1.client).delete({
|
|
1462
|
-
security: [
|
|
2142
|
+
security: [
|
|
2143
|
+
{
|
|
2144
|
+
scheme: 'bearer',
|
|
2145
|
+
type: 'http'
|
|
2146
|
+
}
|
|
2147
|
+
],
|
|
1463
2148
|
url: '/volume_templates/{volumeTemplateName}/versions/{versionName}',
|
|
1464
2149
|
...options
|
|
1465
2150
|
});
|
|
@@ -1471,7 +2156,12 @@ exports.deleteVolumeTemplateVersion = deleteVolumeTemplateVersion;
|
|
|
1471
2156
|
*/
|
|
1472
2157
|
const listVolumes = (options) => {
|
|
1473
2158
|
return (options?.client ?? client_gen_1.client).get({
|
|
1474
|
-
security: [
|
|
2159
|
+
security: [
|
|
2160
|
+
{
|
|
2161
|
+
scheme: 'bearer',
|
|
2162
|
+
type: 'http'
|
|
2163
|
+
}
|
|
2164
|
+
],
|
|
1475
2165
|
url: '/volumes',
|
|
1476
2166
|
...options
|
|
1477
2167
|
});
|
|
@@ -1483,7 +2173,12 @@ exports.listVolumes = listVolumes;
|
|
|
1483
2173
|
*/
|
|
1484
2174
|
const createVolume = (options) => {
|
|
1485
2175
|
return (options.client ?? client_gen_1.client).post({
|
|
1486
|
-
security: [
|
|
2176
|
+
security: [
|
|
2177
|
+
{
|
|
2178
|
+
scheme: 'bearer',
|
|
2179
|
+
type: 'http'
|
|
2180
|
+
}
|
|
2181
|
+
],
|
|
1487
2182
|
url: '/volumes',
|
|
1488
2183
|
...options,
|
|
1489
2184
|
headers: {
|
|
@@ -1499,7 +2194,12 @@ exports.createVolume = createVolume;
|
|
|
1499
2194
|
*/
|
|
1500
2195
|
const deleteVolume = (options) => {
|
|
1501
2196
|
return (options.client ?? client_gen_1.client).delete({
|
|
1502
|
-
security: [
|
|
2197
|
+
security: [
|
|
2198
|
+
{
|
|
2199
|
+
scheme: 'bearer',
|
|
2200
|
+
type: 'http'
|
|
2201
|
+
}
|
|
2202
|
+
],
|
|
1503
2203
|
url: '/volumes/{volumeName}',
|
|
1504
2204
|
...options
|
|
1505
2205
|
});
|
|
@@ -1511,7 +2211,12 @@ exports.deleteVolume = deleteVolume;
|
|
|
1511
2211
|
*/
|
|
1512
2212
|
const getVolume = (options) => {
|
|
1513
2213
|
return (options.client ?? client_gen_1.client).get({
|
|
1514
|
-
security: [
|
|
2214
|
+
security: [
|
|
2215
|
+
{
|
|
2216
|
+
scheme: 'bearer',
|
|
2217
|
+
type: 'http'
|
|
2218
|
+
}
|
|
2219
|
+
],
|
|
1515
2220
|
url: '/volumes/{volumeName}',
|
|
1516
2221
|
...options
|
|
1517
2222
|
});
|
|
@@ -1523,7 +2228,12 @@ exports.getVolume = getVolume;
|
|
|
1523
2228
|
*/
|
|
1524
2229
|
const updateVolume = (options) => {
|
|
1525
2230
|
return (options.client ?? client_gen_1.client).put({
|
|
1526
|
-
security: [
|
|
2231
|
+
security: [
|
|
2232
|
+
{
|
|
2233
|
+
scheme: 'bearer',
|
|
2234
|
+
type: 'http'
|
|
2235
|
+
}
|
|
2236
|
+
],
|
|
1527
2237
|
url: '/volumes/{volumeName}',
|
|
1528
2238
|
...options,
|
|
1529
2239
|
headers: {
|
|
@@ -1538,7 +2248,12 @@ exports.updateVolume = updateVolume;
|
|
|
1538
2248
|
*/
|
|
1539
2249
|
const listVpcs = (options) => {
|
|
1540
2250
|
return (options?.client ?? client_gen_1.client).get({
|
|
1541
|
-
security: [
|
|
2251
|
+
security: [
|
|
2252
|
+
{
|
|
2253
|
+
scheme: 'bearer',
|
|
2254
|
+
type: 'http'
|
|
2255
|
+
}
|
|
2256
|
+
],
|
|
1542
2257
|
url: '/vpcs',
|
|
1543
2258
|
...options
|
|
1544
2259
|
});
|
|
@@ -1549,7 +2264,12 @@ exports.listVpcs = listVpcs;
|
|
|
1549
2264
|
*/
|
|
1550
2265
|
const createVpc = (options) => {
|
|
1551
2266
|
return (options.client ?? client_gen_1.client).post({
|
|
1552
|
-
security: [
|
|
2267
|
+
security: [
|
|
2268
|
+
{
|
|
2269
|
+
scheme: 'bearer',
|
|
2270
|
+
type: 'http'
|
|
2271
|
+
}
|
|
2272
|
+
],
|
|
1553
2273
|
url: '/vpcs',
|
|
1554
2274
|
...options,
|
|
1555
2275
|
headers: {
|
|
@@ -1564,7 +2284,12 @@ exports.createVpc = createVpc;
|
|
|
1564
2284
|
*/
|
|
1565
2285
|
const deleteVpc = (options) => {
|
|
1566
2286
|
return (options.client ?? client_gen_1.client).delete({
|
|
1567
|
-
security: [
|
|
2287
|
+
security: [
|
|
2288
|
+
{
|
|
2289
|
+
scheme: 'bearer',
|
|
2290
|
+
type: 'http'
|
|
2291
|
+
}
|
|
2292
|
+
],
|
|
1568
2293
|
url: '/vpcs/{vpcName}',
|
|
1569
2294
|
...options
|
|
1570
2295
|
});
|
|
@@ -1575,7 +2300,12 @@ exports.deleteVpc = deleteVpc;
|
|
|
1575
2300
|
*/
|
|
1576
2301
|
const getVpc = (options) => {
|
|
1577
2302
|
return (options.client ?? client_gen_1.client).get({
|
|
1578
|
-
security: [
|
|
2303
|
+
security: [
|
|
2304
|
+
{
|
|
2305
|
+
scheme: 'bearer',
|
|
2306
|
+
type: 'http'
|
|
2307
|
+
}
|
|
2308
|
+
],
|
|
1579
2309
|
url: '/vpcs/{vpcName}',
|
|
1580
2310
|
...options
|
|
1581
2311
|
});
|
|
@@ -1586,7 +2316,12 @@ exports.getVpc = getVpc;
|
|
|
1586
2316
|
*/
|
|
1587
2317
|
const listEgressGateways = (options) => {
|
|
1588
2318
|
return (options.client ?? client_gen_1.client).get({
|
|
1589
|
-
security: [
|
|
2319
|
+
security: [
|
|
2320
|
+
{
|
|
2321
|
+
scheme: 'bearer',
|
|
2322
|
+
type: 'http'
|
|
2323
|
+
}
|
|
2324
|
+
],
|
|
1590
2325
|
url: '/vpcs/{vpcName}/egressgateways',
|
|
1591
2326
|
...options
|
|
1592
2327
|
});
|
|
@@ -1597,7 +2332,12 @@ exports.listEgressGateways = listEgressGateways;
|
|
|
1597
2332
|
*/
|
|
1598
2333
|
const createEgressGateway = (options) => {
|
|
1599
2334
|
return (options.client ?? client_gen_1.client).post({
|
|
1600
|
-
security: [
|
|
2335
|
+
security: [
|
|
2336
|
+
{
|
|
2337
|
+
scheme: 'bearer',
|
|
2338
|
+
type: 'http'
|
|
2339
|
+
}
|
|
2340
|
+
],
|
|
1601
2341
|
url: '/vpcs/{vpcName}/egressgateways',
|
|
1602
2342
|
...options,
|
|
1603
2343
|
headers: {
|
|
@@ -1612,7 +2352,12 @@ exports.createEgressGateway = createEgressGateway;
|
|
|
1612
2352
|
*/
|
|
1613
2353
|
const deleteEgressGateway = (options) => {
|
|
1614
2354
|
return (options.client ?? client_gen_1.client).delete({
|
|
1615
|
-
security: [
|
|
2355
|
+
security: [
|
|
2356
|
+
{
|
|
2357
|
+
scheme: 'bearer',
|
|
2358
|
+
type: 'http'
|
|
2359
|
+
}
|
|
2360
|
+
],
|
|
1616
2361
|
url: '/vpcs/{vpcName}/egressgateways/{gatewayName}',
|
|
1617
2362
|
...options
|
|
1618
2363
|
});
|
|
@@ -1623,7 +2368,12 @@ exports.deleteEgressGateway = deleteEgressGateway;
|
|
|
1623
2368
|
*/
|
|
1624
2369
|
const getEgressGateway = (options) => {
|
|
1625
2370
|
return (options.client ?? client_gen_1.client).get({
|
|
1626
|
-
security: [
|
|
2371
|
+
security: [
|
|
2372
|
+
{
|
|
2373
|
+
scheme: 'bearer',
|
|
2374
|
+
type: 'http'
|
|
2375
|
+
}
|
|
2376
|
+
],
|
|
1627
2377
|
url: '/vpcs/{vpcName}/egressgateways/{gatewayName}',
|
|
1628
2378
|
...options
|
|
1629
2379
|
});
|
|
@@ -1634,7 +2384,12 @@ exports.getEgressGateway = getEgressGateway;
|
|
|
1634
2384
|
*/
|
|
1635
2385
|
const listEgressIps = (options) => {
|
|
1636
2386
|
return (options.client ?? client_gen_1.client).get({
|
|
1637
|
-
security: [
|
|
2387
|
+
security: [
|
|
2388
|
+
{
|
|
2389
|
+
scheme: 'bearer',
|
|
2390
|
+
type: 'http'
|
|
2391
|
+
}
|
|
2392
|
+
],
|
|
1638
2393
|
url: '/vpcs/{vpcName}/egressgateways/{gatewayName}/ips',
|
|
1639
2394
|
...options
|
|
1640
2395
|
});
|
|
@@ -1645,7 +2400,12 @@ exports.listEgressIps = listEgressIps;
|
|
|
1645
2400
|
*/
|
|
1646
2401
|
const createEgressIp = (options) => {
|
|
1647
2402
|
return (options.client ?? client_gen_1.client).post({
|
|
1648
|
-
security: [
|
|
2403
|
+
security: [
|
|
2404
|
+
{
|
|
2405
|
+
scheme: 'bearer',
|
|
2406
|
+
type: 'http'
|
|
2407
|
+
}
|
|
2408
|
+
],
|
|
1649
2409
|
url: '/vpcs/{vpcName}/egressgateways/{gatewayName}/ips',
|
|
1650
2410
|
...options,
|
|
1651
2411
|
headers: {
|
|
@@ -1660,7 +2420,12 @@ exports.createEgressIp = createEgressIp;
|
|
|
1660
2420
|
*/
|
|
1661
2421
|
const deleteEgressIp = (options) => {
|
|
1662
2422
|
return (options.client ?? client_gen_1.client).delete({
|
|
1663
|
-
security: [
|
|
2423
|
+
security: [
|
|
2424
|
+
{
|
|
2425
|
+
scheme: 'bearer',
|
|
2426
|
+
type: 'http'
|
|
2427
|
+
}
|
|
2428
|
+
],
|
|
1664
2429
|
url: '/vpcs/{vpcName}/egressgateways/{gatewayName}/ips/{ipName}',
|
|
1665
2430
|
...options
|
|
1666
2431
|
});
|
|
@@ -1671,7 +2436,12 @@ exports.deleteEgressIp = deleteEgressIp;
|
|
|
1671
2436
|
*/
|
|
1672
2437
|
const getEgressIp = (options) => {
|
|
1673
2438
|
return (options.client ?? client_gen_1.client).get({
|
|
1674
|
-
security: [
|
|
2439
|
+
security: [
|
|
2440
|
+
{
|
|
2441
|
+
scheme: 'bearer',
|
|
2442
|
+
type: 'http'
|
|
2443
|
+
}
|
|
2444
|
+
],
|
|
1675
2445
|
url: '/vpcs/{vpcName}/egressgateways/{gatewayName}/ips/{ipName}',
|
|
1676
2446
|
...options
|
|
1677
2447
|
});
|
|
@@ -1683,7 +2453,12 @@ exports.getEgressIp = getEgressIp;
|
|
|
1683
2453
|
*/
|
|
1684
2454
|
const listWorkspaces = (options) => {
|
|
1685
2455
|
return (options?.client ?? client_gen_1.client).get({
|
|
1686
|
-
security: [
|
|
2456
|
+
security: [
|
|
2457
|
+
{
|
|
2458
|
+
scheme: 'bearer',
|
|
2459
|
+
type: 'http'
|
|
2460
|
+
}
|
|
2461
|
+
],
|
|
1687
2462
|
url: '/workspaces',
|
|
1688
2463
|
...options
|
|
1689
2464
|
});
|
|
@@ -1695,7 +2470,12 @@ exports.listWorkspaces = listWorkspaces;
|
|
|
1695
2470
|
*/
|
|
1696
2471
|
const createWorkspace = (options) => {
|
|
1697
2472
|
return (options.client ?? client_gen_1.client).post({
|
|
1698
|
-
security: [
|
|
2473
|
+
security: [
|
|
2474
|
+
{
|
|
2475
|
+
scheme: 'bearer',
|
|
2476
|
+
type: 'http'
|
|
2477
|
+
}
|
|
2478
|
+
],
|
|
1699
2479
|
url: '/workspaces',
|
|
1700
2480
|
...options,
|
|
1701
2481
|
headers: {
|
|
@@ -1711,7 +2491,12 @@ exports.createWorkspace = createWorkspace;
|
|
|
1711
2491
|
*/
|
|
1712
2492
|
const deleteWorkspace = (options) => {
|
|
1713
2493
|
return (options.client ?? client_gen_1.client).delete({
|
|
1714
|
-
security: [
|
|
2494
|
+
security: [
|
|
2495
|
+
{
|
|
2496
|
+
scheme: 'bearer',
|
|
2497
|
+
type: 'http'
|
|
2498
|
+
}
|
|
2499
|
+
],
|
|
1715
2500
|
url: '/workspaces/{workspaceName}',
|
|
1716
2501
|
...options
|
|
1717
2502
|
});
|
|
@@ -1723,7 +2508,12 @@ exports.deleteWorkspace = deleteWorkspace;
|
|
|
1723
2508
|
*/
|
|
1724
2509
|
const getWorkspace = (options) => {
|
|
1725
2510
|
return (options.client ?? client_gen_1.client).get({
|
|
1726
|
-
security: [
|
|
2511
|
+
security: [
|
|
2512
|
+
{
|
|
2513
|
+
scheme: 'bearer',
|
|
2514
|
+
type: 'http'
|
|
2515
|
+
}
|
|
2516
|
+
],
|
|
1727
2517
|
url: '/workspaces/{workspaceName}',
|
|
1728
2518
|
...options
|
|
1729
2519
|
});
|
|
@@ -1735,7 +2525,12 @@ exports.getWorkspace = getWorkspace;
|
|
|
1735
2525
|
*/
|
|
1736
2526
|
const updateWorkspace = (options) => {
|
|
1737
2527
|
return (options.client ?? client_gen_1.client).put({
|
|
1738
|
-
security: [
|
|
2528
|
+
security: [
|
|
2529
|
+
{
|
|
2530
|
+
scheme: 'bearer',
|
|
2531
|
+
type: 'http'
|
|
2532
|
+
}
|
|
2533
|
+
],
|
|
1739
2534
|
url: '/workspaces/{workspaceName}',
|
|
1740
2535
|
...options,
|
|
1741
2536
|
headers: {
|
|
@@ -1751,7 +2546,12 @@ exports.updateWorkspace = updateWorkspace;
|
|
|
1751
2546
|
*/
|
|
1752
2547
|
const declineWorkspaceInvitation = (options) => {
|
|
1753
2548
|
return (options.client ?? client_gen_1.client).post({
|
|
1754
|
-
security: [
|
|
2549
|
+
security: [
|
|
2550
|
+
{
|
|
2551
|
+
scheme: 'bearer',
|
|
2552
|
+
type: 'http'
|
|
2553
|
+
}
|
|
2554
|
+
],
|
|
1755
2555
|
url: '/workspaces/{workspaceName}/decline',
|
|
1756
2556
|
...options
|
|
1757
2557
|
});
|
|
@@ -1763,7 +2563,12 @@ exports.declineWorkspaceInvitation = declineWorkspaceInvitation;
|
|
|
1763
2563
|
*/
|
|
1764
2564
|
const acceptWorkspaceInvitation = (options) => {
|
|
1765
2565
|
return (options.client ?? client_gen_1.client).post({
|
|
1766
|
-
security: [
|
|
2566
|
+
security: [
|
|
2567
|
+
{
|
|
2568
|
+
scheme: 'bearer',
|
|
2569
|
+
type: 'http'
|
|
2570
|
+
}
|
|
2571
|
+
],
|
|
1767
2572
|
url: '/workspaces/{workspaceName}/join',
|
|
1768
2573
|
...options
|
|
1769
2574
|
});
|
|
@@ -1775,7 +2580,12 @@ exports.acceptWorkspaceInvitation = acceptWorkspaceInvitation;
|
|
|
1775
2580
|
*/
|
|
1776
2581
|
const leaveWorkspace = (options) => {
|
|
1777
2582
|
return (options.client ?? client_gen_1.client).delete({
|
|
1778
|
-
security: [
|
|
2583
|
+
security: [
|
|
2584
|
+
{
|
|
2585
|
+
scheme: 'bearer',
|
|
2586
|
+
type: 'http'
|
|
2587
|
+
}
|
|
2588
|
+
],
|
|
1779
2589
|
url: '/workspaces/{workspaceName}/leave',
|
|
1780
2590
|
...options
|
|
1781
2591
|
});
|
|
@@ -1787,7 +2597,12 @@ exports.leaveWorkspace = leaveWorkspace;
|
|
|
1787
2597
|
*/
|
|
1788
2598
|
const checkWorkspaceAvailability = (options) => {
|
|
1789
2599
|
return (options.client ?? client_gen_1.client).post({
|
|
1790
|
-
security: [
|
|
2600
|
+
security: [
|
|
2601
|
+
{
|
|
2602
|
+
scheme: 'bearer',
|
|
2603
|
+
type: 'http'
|
|
2604
|
+
}
|
|
2605
|
+
],
|
|
1791
2606
|
url: '/workspaces/availability',
|
|
1792
2607
|
...options,
|
|
1793
2608
|
headers: {
|