@blaxel/core 0.2.0-dev9 → 0.2.0-preview2
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/client/client.gen.d.ts +1 -1
- package/dist/client/sdk.gen.d.ts +49 -2
- package/dist/client/sdk.gen.js +231 -83
- package/dist/client/types.gen.d.ts +293 -0
- package/dist/common/logger.d.ts +25 -1
- package/dist/common/logger.js +58 -1
- package/dist/mcp/client.js +1 -1
- package/dist/sandbox/client/client.gen.d.ts +1 -1
- package/dist/sandbox/client/index.d.ts +1 -1
- package/dist/sandbox/client/index.js +1 -1
- package/dist/sandbox/client/sdk.gen.d.ts +21 -14
- package/dist/sandbox/client/sdk.gen.js +25 -14
- package/dist/sandbox/client/types.gen.d.ts +55 -2
- package/dist/sandbox/client/types.gen.js +1 -0
- package/dist/sandbox/index.d.ts +1 -0
- package/dist/sandbox/index.js +17 -0
- package/dist/sandbox/preview.d.ts +17 -0
- package/dist/sandbox/preview.js +69 -0
- package/dist/sandbox/sandbox.d.ts +2 -0
- package/dist/sandbox/sandbox.js +3 -0
- package/package.json +1 -1
package/dist/client/sdk.gen.js
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.listSandboxHubDefinitions = exports.listAllPendingInvitations = exports.updatePrivateClusterHealth = exports.getPrivateClusterHealth = exports.updatePrivateCluster = exports.getPrivateCluster = exports.deletePrivateCluster = exports.createPrivateCluster = exports.listPrivateClusters = exports.updatePolicy = exports.getPolicy = exports.deletePolicy = exports.createPolicy = exports.listPolicies = exports.listModelRevisions = exports.updateModel = exports.getModel = exports.deleteModel = exports.createModel = exports.listModels = exports.listMcpHubDefinitions = exports.listLocations = exports.listKnowledgebaseRevisions = exports.updateKnowledgebase = exports.getKnowledgebase = exports.deleteKnowledgebase = exports.createKnowledgebase = exports.listKnowledgebases = exports.getIntegrationConnectionModel = exports.listIntegrationConnectionModels = exports.getIntegrationConnectionModelEndpointConfigurations = exports.updateIntegrationConnection = exports.getIntegrationConnection = exports.deleteIntegrationConnection = exports.createIntegrationConnection = exports.listIntegrationConnections = exports.getIntegration = exports.listFunctionRevisions = exports.updateFunction = exports.getFunction = exports.deleteFunction = exports.createFunction = exports.listFunctions = exports.getConfiguration = exports.listAgentRevisions = exports.updateAgent = exports.getAgent = exports.deleteAgent = exports.createAgent = exports.listAgents = void 0;
|
|
5
|
-
exports.checkWorkspaceAvailability = exports.leaveWorkspace = exports.acceptWorkspaceInvitation = exports.declineWorkspaceInvitation = exports.updateWorkspace = exports.getWorkspace = exports.deleteWorkspace = exports.createWorspace = exports.listWorkspaces = exports.updateWorkspaceUserRole = exports.removeWorkspaceUser = exports.inviteWorkspaceUser = exports.listWorkspaceUsers = exports.getTemplateFileContents = exports.getTemplateContents = exports.getTemplate = exports.listTemplates = exports.deleteApiKeyForServiceAccount = exports.createApiKeyForServiceAccount = exports.listApiKeysForServiceAccount = exports.updateWorkspaceServiceAccount = exports.deleteWorkspaceServiceAccount = exports.createWorkspaceServiceAccount = exports.getWorkspaceServiceAccounts = exports.stopSandbox = exports.startSandbox = exports.updateSandbox = exports.getSandbox = exports.deleteSandbox = exports.createSandbox = exports.listSandboxes = void 0;
|
|
6
|
-
const
|
|
5
|
+
exports.checkWorkspaceAvailability = exports.leaveWorkspace = exports.acceptWorkspaceInvitation = exports.declineWorkspaceInvitation = exports.updateWorkspace = exports.getWorkspace = exports.deleteWorkspace = exports.createWorspace = exports.listWorkspaces = exports.updateWorkspaceUserRole = exports.removeWorkspaceUser = exports.inviteWorkspaceUser = exports.listWorkspaceUsers = exports.getTemplateFileContents = exports.getTemplateContents = exports.getTemplate = exports.listTemplates = exports.deleteApiKeyForServiceAccount = exports.createApiKeyForServiceAccount = exports.listApiKeysForServiceAccount = exports.updateWorkspaceServiceAccount = exports.deleteWorkspaceServiceAccount = exports.createWorkspaceServiceAccount = exports.getWorkspaceServiceAccounts = exports.stopSandbox = exports.startSandbox = exports.deleteSandboxPreviewToken = exports.createSandboxPreviewToken = exports.getSandboxPreviewTokens = exports.updateSandboxPreview = exports.getSandboxPreview = exports.deleteSandboxPreview = exports.createSandboxPreview = exports.listSandboxPreviews = exports.updateSandbox = exports.getSandbox = exports.deleteSandbox = exports.createSandbox = exports.listSandboxes = void 0;
|
|
6
|
+
const client_gen_1 = require("./client.gen");
|
|
7
7
|
/**
|
|
8
8
|
* List all agents
|
|
9
9
|
*/
|
|
10
10
|
const listAgents = (options) => {
|
|
11
|
-
return (options?.client ??
|
|
11
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
12
12
|
security: [
|
|
13
13
|
{
|
|
14
14
|
scheme: 'bearer',
|
|
@@ -24,7 +24,7 @@ exports.listAgents = listAgents;
|
|
|
24
24
|
* Create agent by name
|
|
25
25
|
*/
|
|
26
26
|
const createAgent = (options) => {
|
|
27
|
-
return (options.client ??
|
|
27
|
+
return (options.client ?? client_gen_1.client).post({
|
|
28
28
|
security: [
|
|
29
29
|
{
|
|
30
30
|
scheme: 'bearer',
|
|
@@ -44,7 +44,7 @@ exports.createAgent = createAgent;
|
|
|
44
44
|
* Delete agent by name
|
|
45
45
|
*/
|
|
46
46
|
const deleteAgent = (options) => {
|
|
47
|
-
return (options.client ??
|
|
47
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
48
48
|
security: [
|
|
49
49
|
{
|
|
50
50
|
scheme: 'bearer',
|
|
@@ -60,7 +60,7 @@ exports.deleteAgent = deleteAgent;
|
|
|
60
60
|
* Get agent by name
|
|
61
61
|
*/
|
|
62
62
|
const getAgent = (options) => {
|
|
63
|
-
return (options.client ??
|
|
63
|
+
return (options.client ?? client_gen_1.client).get({
|
|
64
64
|
security: [
|
|
65
65
|
{
|
|
66
66
|
scheme: 'bearer',
|
|
@@ -76,7 +76,7 @@ exports.getAgent = getAgent;
|
|
|
76
76
|
* Update agent by name
|
|
77
77
|
*/
|
|
78
78
|
const updateAgent = (options) => {
|
|
79
|
-
return (options.client ??
|
|
79
|
+
return (options.client ?? client_gen_1.client).put({
|
|
80
80
|
security: [
|
|
81
81
|
{
|
|
82
82
|
scheme: 'bearer',
|
|
@@ -96,7 +96,7 @@ exports.updateAgent = updateAgent;
|
|
|
96
96
|
* List all agent revisions
|
|
97
97
|
*/
|
|
98
98
|
const listAgentRevisions = (options) => {
|
|
99
|
-
return (options.client ??
|
|
99
|
+
return (options.client ?? client_gen_1.client).get({
|
|
100
100
|
security: [
|
|
101
101
|
{
|
|
102
102
|
scheme: 'bearer',
|
|
@@ -112,7 +112,7 @@ exports.listAgentRevisions = listAgentRevisions;
|
|
|
112
112
|
* List all configurations
|
|
113
113
|
*/
|
|
114
114
|
const getConfiguration = (options) => {
|
|
115
|
-
return (options?.client ??
|
|
115
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
116
116
|
security: [
|
|
117
117
|
{
|
|
118
118
|
scheme: 'bearer',
|
|
@@ -128,7 +128,7 @@ exports.getConfiguration = getConfiguration;
|
|
|
128
128
|
* List all functions
|
|
129
129
|
*/
|
|
130
130
|
const listFunctions = (options) => {
|
|
131
|
-
return (options?.client ??
|
|
131
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
132
132
|
security: [
|
|
133
133
|
{
|
|
134
134
|
scheme: 'bearer',
|
|
@@ -144,7 +144,7 @@ exports.listFunctions = listFunctions;
|
|
|
144
144
|
* Create function
|
|
145
145
|
*/
|
|
146
146
|
const createFunction = (options) => {
|
|
147
|
-
return (options.client ??
|
|
147
|
+
return (options.client ?? client_gen_1.client).post({
|
|
148
148
|
security: [
|
|
149
149
|
{
|
|
150
150
|
scheme: 'bearer',
|
|
@@ -164,7 +164,7 @@ exports.createFunction = createFunction;
|
|
|
164
164
|
* Delete function by name
|
|
165
165
|
*/
|
|
166
166
|
const deleteFunction = (options) => {
|
|
167
|
-
return (options.client ??
|
|
167
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
168
168
|
security: [
|
|
169
169
|
{
|
|
170
170
|
scheme: 'bearer',
|
|
@@ -180,7 +180,7 @@ exports.deleteFunction = deleteFunction;
|
|
|
180
180
|
* Get function by name
|
|
181
181
|
*/
|
|
182
182
|
const getFunction = (options) => {
|
|
183
|
-
return (options.client ??
|
|
183
|
+
return (options.client ?? client_gen_1.client).get({
|
|
184
184
|
security: [
|
|
185
185
|
{
|
|
186
186
|
scheme: 'bearer',
|
|
@@ -196,7 +196,7 @@ exports.getFunction = getFunction;
|
|
|
196
196
|
* Update function by name
|
|
197
197
|
*/
|
|
198
198
|
const updateFunction = (options) => {
|
|
199
|
-
return (options.client ??
|
|
199
|
+
return (options.client ?? client_gen_1.client).put({
|
|
200
200
|
security: [
|
|
201
201
|
{
|
|
202
202
|
scheme: 'bearer',
|
|
@@ -217,7 +217,7 @@ exports.updateFunction = updateFunction;
|
|
|
217
217
|
* Returns revisions for a function by name.
|
|
218
218
|
*/
|
|
219
219
|
const listFunctionRevisions = (options) => {
|
|
220
|
-
return (options.client ??
|
|
220
|
+
return (options.client ?? client_gen_1.client).get({
|
|
221
221
|
security: [
|
|
222
222
|
{
|
|
223
223
|
scheme: 'bearer',
|
|
@@ -234,7 +234,7 @@ exports.listFunctionRevisions = listFunctionRevisions;
|
|
|
234
234
|
* Returns integration information by name.
|
|
235
235
|
*/
|
|
236
236
|
const getIntegration = (options) => {
|
|
237
|
-
return (options.client ??
|
|
237
|
+
return (options.client ?? client_gen_1.client).get({
|
|
238
238
|
security: [
|
|
239
239
|
{
|
|
240
240
|
scheme: 'bearer',
|
|
@@ -251,7 +251,7 @@ exports.getIntegration = getIntegration;
|
|
|
251
251
|
* Returns a list of all connections integrations in the workspace.
|
|
252
252
|
*/
|
|
253
253
|
const listIntegrationConnections = (options) => {
|
|
254
|
-
return (options?.client ??
|
|
254
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
255
255
|
security: [
|
|
256
256
|
{
|
|
257
257
|
scheme: 'bearer',
|
|
@@ -268,7 +268,7 @@ exports.listIntegrationConnections = listIntegrationConnections;
|
|
|
268
268
|
* Create a connection for an integration.
|
|
269
269
|
*/
|
|
270
270
|
const createIntegrationConnection = (options) => {
|
|
271
|
-
return (options.client ??
|
|
271
|
+
return (options.client ?? client_gen_1.client).post({
|
|
272
272
|
security: [
|
|
273
273
|
{
|
|
274
274
|
scheme: 'bearer',
|
|
@@ -289,7 +289,7 @@ exports.createIntegrationConnection = createIntegrationConnection;
|
|
|
289
289
|
* Deletes an integration connection by integration name and connection name.
|
|
290
290
|
*/
|
|
291
291
|
const deleteIntegrationConnection = (options) => {
|
|
292
|
-
return (options.client ??
|
|
292
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
293
293
|
security: [
|
|
294
294
|
{
|
|
295
295
|
scheme: 'bearer',
|
|
@@ -306,7 +306,7 @@ exports.deleteIntegrationConnection = deleteIntegrationConnection;
|
|
|
306
306
|
* Returns an integration connection by integration name and connection name.
|
|
307
307
|
*/
|
|
308
308
|
const getIntegrationConnection = (options) => {
|
|
309
|
-
return (options.client ??
|
|
309
|
+
return (options.client ?? client_gen_1.client).get({
|
|
310
310
|
security: [
|
|
311
311
|
{
|
|
312
312
|
scheme: 'bearer',
|
|
@@ -323,7 +323,7 @@ exports.getIntegrationConnection = getIntegrationConnection;
|
|
|
323
323
|
* Update an integration connection by integration name and connection name.
|
|
324
324
|
*/
|
|
325
325
|
const updateIntegrationConnection = (options) => {
|
|
326
|
-
return (options.client ??
|
|
326
|
+
return (options.client ?? client_gen_1.client).put({
|
|
327
327
|
security: [
|
|
328
328
|
{
|
|
329
329
|
scheme: 'bearer',
|
|
@@ -344,7 +344,7 @@ exports.updateIntegrationConnection = updateIntegrationConnection;
|
|
|
344
344
|
* Returns a list of all endpoint configurations for a model.
|
|
345
345
|
*/
|
|
346
346
|
const getIntegrationConnectionModelEndpointConfigurations = (options) => {
|
|
347
|
-
return (options.client ??
|
|
347
|
+
return (options.client ?? client_gen_1.client).get({
|
|
348
348
|
security: [
|
|
349
349
|
{
|
|
350
350
|
scheme: 'bearer',
|
|
@@ -361,7 +361,7 @@ exports.getIntegrationConnectionModelEndpointConfigurations = getIntegrationConn
|
|
|
361
361
|
* Returns a list of all models for an integration connection.
|
|
362
362
|
*/
|
|
363
363
|
const listIntegrationConnectionModels = (options) => {
|
|
364
|
-
return (options.client ??
|
|
364
|
+
return (options.client ?? client_gen_1.client).get({
|
|
365
365
|
security: [
|
|
366
366
|
{
|
|
367
367
|
scheme: 'bearer',
|
|
@@ -378,7 +378,7 @@ exports.listIntegrationConnectionModels = listIntegrationConnectionModels;
|
|
|
378
378
|
* Returns a model for an integration connection by ID.
|
|
379
379
|
*/
|
|
380
380
|
const getIntegrationConnectionModel = (options) => {
|
|
381
|
-
return (options.client ??
|
|
381
|
+
return (options.client ?? client_gen_1.client).get({
|
|
382
382
|
security: [
|
|
383
383
|
{
|
|
384
384
|
scheme: 'bearer',
|
|
@@ -395,7 +395,7 @@ exports.getIntegrationConnectionModel = getIntegrationConnectionModel;
|
|
|
395
395
|
* Returns a list of all knowledgebases in the workspace.
|
|
396
396
|
*/
|
|
397
397
|
const listKnowledgebases = (options) => {
|
|
398
|
-
return (options?.client ??
|
|
398
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
399
399
|
security: [
|
|
400
400
|
{
|
|
401
401
|
scheme: 'bearer',
|
|
@@ -412,7 +412,7 @@ exports.listKnowledgebases = listKnowledgebases;
|
|
|
412
412
|
* Creates an knowledgebase.
|
|
413
413
|
*/
|
|
414
414
|
const createKnowledgebase = (options) => {
|
|
415
|
-
return (options.client ??
|
|
415
|
+
return (options.client ?? client_gen_1.client).post({
|
|
416
416
|
security: [
|
|
417
417
|
{
|
|
418
418
|
scheme: 'bearer',
|
|
@@ -433,7 +433,7 @@ exports.createKnowledgebase = createKnowledgebase;
|
|
|
433
433
|
* Deletes an knowledgebase by Name.
|
|
434
434
|
*/
|
|
435
435
|
const deleteKnowledgebase = (options) => {
|
|
436
|
-
return (options.client ??
|
|
436
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
437
437
|
security: [
|
|
438
438
|
{
|
|
439
439
|
scheme: 'bearer',
|
|
@@ -450,7 +450,7 @@ exports.deleteKnowledgebase = deleteKnowledgebase;
|
|
|
450
450
|
* Returns an knowledgebase by Name.
|
|
451
451
|
*/
|
|
452
452
|
const getKnowledgebase = (options) => {
|
|
453
|
-
return (options.client ??
|
|
453
|
+
return (options.client ?? client_gen_1.client).get({
|
|
454
454
|
security: [
|
|
455
455
|
{
|
|
456
456
|
scheme: 'bearer',
|
|
@@ -467,7 +467,7 @@ exports.getKnowledgebase = getKnowledgebase;
|
|
|
467
467
|
* Updates an knowledgebase.
|
|
468
468
|
*/
|
|
469
469
|
const updateKnowledgebase = (options) => {
|
|
470
|
-
return (options.client ??
|
|
470
|
+
return (options.client ?? client_gen_1.client).put({
|
|
471
471
|
security: [
|
|
472
472
|
{
|
|
473
473
|
scheme: 'bearer',
|
|
@@ -488,7 +488,7 @@ exports.updateKnowledgebase = updateKnowledgebase;
|
|
|
488
488
|
* Returns revisions for a knowledgebase by name.
|
|
489
489
|
*/
|
|
490
490
|
const listKnowledgebaseRevisions = (options) => {
|
|
491
|
-
return (options.client ??
|
|
491
|
+
return (options.client ?? client_gen_1.client).get({
|
|
492
492
|
security: [
|
|
493
493
|
{
|
|
494
494
|
scheme: 'bearer',
|
|
@@ -505,7 +505,7 @@ exports.listKnowledgebaseRevisions = listKnowledgebaseRevisions;
|
|
|
505
505
|
* Returns a list of all locations available with status.
|
|
506
506
|
*/
|
|
507
507
|
const listLocations = (options) => {
|
|
508
|
-
return (options?.client ??
|
|
508
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
509
509
|
security: [
|
|
510
510
|
{
|
|
511
511
|
scheme: 'bearer',
|
|
@@ -518,7 +518,7 @@ const listLocations = (options) => {
|
|
|
518
518
|
};
|
|
519
519
|
exports.listLocations = listLocations;
|
|
520
520
|
const listMcpHubDefinitions = (options) => {
|
|
521
|
-
return (options?.client ??
|
|
521
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
522
522
|
security: [
|
|
523
523
|
{
|
|
524
524
|
scheme: 'bearer',
|
|
@@ -535,7 +535,7 @@ exports.listMcpHubDefinitions = listMcpHubDefinitions;
|
|
|
535
535
|
* Returns a list of all models in the workspace.
|
|
536
536
|
*/
|
|
537
537
|
const listModels = (options) => {
|
|
538
|
-
return (options?.client ??
|
|
538
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
539
539
|
security: [
|
|
540
540
|
{
|
|
541
541
|
scheme: 'bearer',
|
|
@@ -552,7 +552,7 @@ exports.listModels = listModels;
|
|
|
552
552
|
* Creates a model.
|
|
553
553
|
*/
|
|
554
554
|
const createModel = (options) => {
|
|
555
|
-
return (options.client ??
|
|
555
|
+
return (options.client ?? client_gen_1.client).post({
|
|
556
556
|
security: [
|
|
557
557
|
{
|
|
558
558
|
scheme: 'bearer',
|
|
@@ -573,7 +573,7 @@ exports.createModel = createModel;
|
|
|
573
573
|
* Deletes a model by name.
|
|
574
574
|
*/
|
|
575
575
|
const deleteModel = (options) => {
|
|
576
|
-
return (options.client ??
|
|
576
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
577
577
|
security: [
|
|
578
578
|
{
|
|
579
579
|
scheme: 'bearer',
|
|
@@ -590,7 +590,7 @@ exports.deleteModel = deleteModel;
|
|
|
590
590
|
* Returns a model by name.
|
|
591
591
|
*/
|
|
592
592
|
const getModel = (options) => {
|
|
593
|
-
return (options.client ??
|
|
593
|
+
return (options.client ?? client_gen_1.client).get({
|
|
594
594
|
security: [
|
|
595
595
|
{
|
|
596
596
|
scheme: 'bearer',
|
|
@@ -607,7 +607,7 @@ exports.getModel = getModel;
|
|
|
607
607
|
* Update a model by name.
|
|
608
608
|
*/
|
|
609
609
|
const updateModel = (options) => {
|
|
610
|
-
return (options.client ??
|
|
610
|
+
return (options.client ?? client_gen_1.client).put({
|
|
611
611
|
security: [
|
|
612
612
|
{
|
|
613
613
|
scheme: 'bearer',
|
|
@@ -628,7 +628,7 @@ exports.updateModel = updateModel;
|
|
|
628
628
|
* Returns revisions for a model by name.
|
|
629
629
|
*/
|
|
630
630
|
const listModelRevisions = (options) => {
|
|
631
|
-
return (options.client ??
|
|
631
|
+
return (options.client ?? client_gen_1.client).get({
|
|
632
632
|
security: [
|
|
633
633
|
{
|
|
634
634
|
scheme: 'bearer',
|
|
@@ -645,7 +645,7 @@ exports.listModelRevisions = listModelRevisions;
|
|
|
645
645
|
* Returns a list of all policies in the workspace.
|
|
646
646
|
*/
|
|
647
647
|
const listPolicies = (options) => {
|
|
648
|
-
return (options?.client ??
|
|
648
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
649
649
|
security: [
|
|
650
650
|
{
|
|
651
651
|
scheme: 'bearer',
|
|
@@ -662,7 +662,7 @@ exports.listPolicies = listPolicies;
|
|
|
662
662
|
* Creates a policy.
|
|
663
663
|
*/
|
|
664
664
|
const createPolicy = (options) => {
|
|
665
|
-
return (options.client ??
|
|
665
|
+
return (options.client ?? client_gen_1.client).post({
|
|
666
666
|
security: [
|
|
667
667
|
{
|
|
668
668
|
scheme: 'bearer',
|
|
@@ -683,7 +683,7 @@ exports.createPolicy = createPolicy;
|
|
|
683
683
|
* Deletes a policy by name.
|
|
684
684
|
*/
|
|
685
685
|
const deletePolicy = (options) => {
|
|
686
|
-
return (options.client ??
|
|
686
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
687
687
|
security: [
|
|
688
688
|
{
|
|
689
689
|
scheme: 'bearer',
|
|
@@ -700,7 +700,7 @@ exports.deletePolicy = deletePolicy;
|
|
|
700
700
|
* Returns a policy by name.
|
|
701
701
|
*/
|
|
702
702
|
const getPolicy = (options) => {
|
|
703
|
-
return (options.client ??
|
|
703
|
+
return (options.client ?? client_gen_1.client).get({
|
|
704
704
|
security: [
|
|
705
705
|
{
|
|
706
706
|
scheme: 'bearer',
|
|
@@ -717,7 +717,7 @@ exports.getPolicy = getPolicy;
|
|
|
717
717
|
* Updates a policy.
|
|
718
718
|
*/
|
|
719
719
|
const updatePolicy = (options) => {
|
|
720
|
-
return (options.client ??
|
|
720
|
+
return (options.client ?? client_gen_1.client).put({
|
|
721
721
|
security: [
|
|
722
722
|
{
|
|
723
723
|
scheme: 'bearer',
|
|
@@ -737,7 +737,7 @@ exports.updatePolicy = updatePolicy;
|
|
|
737
737
|
* List all private clusters
|
|
738
738
|
*/
|
|
739
739
|
const listPrivateClusters = (options) => {
|
|
740
|
-
return (options?.client ??
|
|
740
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
741
741
|
security: [
|
|
742
742
|
{
|
|
743
743
|
scheme: 'bearer',
|
|
@@ -753,7 +753,7 @@ exports.listPrivateClusters = listPrivateClusters;
|
|
|
753
753
|
* Create private cluster
|
|
754
754
|
*/
|
|
755
755
|
const createPrivateCluster = (options) => {
|
|
756
|
-
return (options?.client ??
|
|
756
|
+
return (options?.client ?? client_gen_1.client).post({
|
|
757
757
|
security: [
|
|
758
758
|
{
|
|
759
759
|
scheme: 'bearer',
|
|
@@ -769,7 +769,7 @@ exports.createPrivateCluster = createPrivateCluster;
|
|
|
769
769
|
* Delete private cluster
|
|
770
770
|
*/
|
|
771
771
|
const deletePrivateCluster = (options) => {
|
|
772
|
-
return (options.client ??
|
|
772
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
773
773
|
security: [
|
|
774
774
|
{
|
|
775
775
|
scheme: 'bearer',
|
|
@@ -785,7 +785,7 @@ exports.deletePrivateCluster = deletePrivateCluster;
|
|
|
785
785
|
* Get private cluster by name
|
|
786
786
|
*/
|
|
787
787
|
const getPrivateCluster = (options) => {
|
|
788
|
-
return (options.client ??
|
|
788
|
+
return (options.client ?? client_gen_1.client).get({
|
|
789
789
|
security: [
|
|
790
790
|
{
|
|
791
791
|
scheme: 'bearer',
|
|
@@ -801,7 +801,7 @@ exports.getPrivateCluster = getPrivateCluster;
|
|
|
801
801
|
* Update private cluster
|
|
802
802
|
*/
|
|
803
803
|
const updatePrivateCluster = (options) => {
|
|
804
|
-
return (options.client ??
|
|
804
|
+
return (options.client ?? client_gen_1.client).put({
|
|
805
805
|
security: [
|
|
806
806
|
{
|
|
807
807
|
scheme: 'bearer',
|
|
@@ -817,7 +817,7 @@ exports.updatePrivateCluster = updatePrivateCluster;
|
|
|
817
817
|
* Get private cluster health
|
|
818
818
|
*/
|
|
819
819
|
const getPrivateClusterHealth = (options) => {
|
|
820
|
-
return (options.client ??
|
|
820
|
+
return (options.client ?? client_gen_1.client).get({
|
|
821
821
|
security: [
|
|
822
822
|
{
|
|
823
823
|
scheme: 'bearer',
|
|
@@ -833,7 +833,7 @@ exports.getPrivateClusterHealth = getPrivateClusterHealth;
|
|
|
833
833
|
* Update private cluster health
|
|
834
834
|
*/
|
|
835
835
|
const updatePrivateClusterHealth = (options) => {
|
|
836
|
-
return (options.client ??
|
|
836
|
+
return (options.client ?? client_gen_1.client).post({
|
|
837
837
|
security: [
|
|
838
838
|
{
|
|
839
839
|
scheme: 'bearer',
|
|
@@ -850,7 +850,7 @@ exports.updatePrivateClusterHealth = updatePrivateClusterHealth;
|
|
|
850
850
|
* Returns a list of all pending invitations in the workspace.
|
|
851
851
|
*/
|
|
852
852
|
const listAllPendingInvitations = (options) => {
|
|
853
|
-
return (options?.client ??
|
|
853
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
854
854
|
security: [
|
|
855
855
|
{
|
|
856
856
|
scheme: 'bearer',
|
|
@@ -863,7 +863,7 @@ const listAllPendingInvitations = (options) => {
|
|
|
863
863
|
};
|
|
864
864
|
exports.listAllPendingInvitations = listAllPendingInvitations;
|
|
865
865
|
const listSandboxHubDefinitions = (options) => {
|
|
866
|
-
return (options?.client ??
|
|
866
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
867
867
|
security: [
|
|
868
868
|
{
|
|
869
869
|
scheme: 'bearer',
|
|
@@ -880,7 +880,7 @@ exports.listSandboxHubDefinitions = listSandboxHubDefinitions;
|
|
|
880
880
|
* Returns a list of all Sandboxes in the workspace.
|
|
881
881
|
*/
|
|
882
882
|
const listSandboxes = (options) => {
|
|
883
|
-
return (options?.client ??
|
|
883
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
884
884
|
security: [
|
|
885
885
|
{
|
|
886
886
|
scheme: 'bearer',
|
|
@@ -897,7 +897,7 @@ exports.listSandboxes = listSandboxes;
|
|
|
897
897
|
* Creates a Sandbox.
|
|
898
898
|
*/
|
|
899
899
|
const createSandbox = (options) => {
|
|
900
|
-
return (options.client ??
|
|
900
|
+
return (options.client ?? client_gen_1.client).post({
|
|
901
901
|
security: [
|
|
902
902
|
{
|
|
903
903
|
scheme: 'bearer',
|
|
@@ -918,7 +918,7 @@ exports.createSandbox = createSandbox;
|
|
|
918
918
|
* Deletes a Sandbox by name.
|
|
919
919
|
*/
|
|
920
920
|
const deleteSandbox = (options) => {
|
|
921
|
-
return (options.client ??
|
|
921
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
922
922
|
security: [
|
|
923
923
|
{
|
|
924
924
|
scheme: 'bearer',
|
|
@@ -935,7 +935,7 @@ exports.deleteSandbox = deleteSandbox;
|
|
|
935
935
|
* Returns a Sandbox by name.
|
|
936
936
|
*/
|
|
937
937
|
const getSandbox = (options) => {
|
|
938
|
-
return (options.client ??
|
|
938
|
+
return (options.client ?? client_gen_1.client).get({
|
|
939
939
|
security: [
|
|
940
940
|
{
|
|
941
941
|
scheme: 'bearer',
|
|
@@ -952,7 +952,7 @@ exports.getSandbox = getSandbox;
|
|
|
952
952
|
* Update a Sandbox by name.
|
|
953
953
|
*/
|
|
954
954
|
const updateSandbox = (options) => {
|
|
955
|
-
return (options.client ??
|
|
955
|
+
return (options.client ?? client_gen_1.client).put({
|
|
956
956
|
security: [
|
|
957
957
|
{
|
|
958
958
|
scheme: 'bearer',
|
|
@@ -968,12 +968,160 @@ const updateSandbox = (options) => {
|
|
|
968
968
|
});
|
|
969
969
|
};
|
|
970
970
|
exports.updateSandbox = updateSandbox;
|
|
971
|
+
/**
|
|
972
|
+
* List Sandboxes
|
|
973
|
+
* Returns a list of Sandbox Previews in the workspace.
|
|
974
|
+
*/
|
|
975
|
+
const listSandboxPreviews = (options) => {
|
|
976
|
+
return (options.client ?? client_gen_1.client).get({
|
|
977
|
+
security: [
|
|
978
|
+
{
|
|
979
|
+
scheme: 'bearer',
|
|
980
|
+
type: 'http'
|
|
981
|
+
}
|
|
982
|
+
],
|
|
983
|
+
url: '/sandboxes/{sandboxName}/previews',
|
|
984
|
+
...options
|
|
985
|
+
});
|
|
986
|
+
};
|
|
987
|
+
exports.listSandboxPreviews = listSandboxPreviews;
|
|
988
|
+
/**
|
|
989
|
+
* Create Sandbox Preview
|
|
990
|
+
* Create a preview
|
|
991
|
+
*/
|
|
992
|
+
const createSandboxPreview = (options) => {
|
|
993
|
+
return (options.client ?? client_gen_1.client).post({
|
|
994
|
+
security: [
|
|
995
|
+
{
|
|
996
|
+
scheme: 'bearer',
|
|
997
|
+
type: 'http'
|
|
998
|
+
}
|
|
999
|
+
],
|
|
1000
|
+
url: '/sandboxes/{sandboxName}/previews',
|
|
1001
|
+
...options,
|
|
1002
|
+
headers: {
|
|
1003
|
+
'Content-Type': 'application/json',
|
|
1004
|
+
...options?.headers
|
|
1005
|
+
}
|
|
1006
|
+
});
|
|
1007
|
+
};
|
|
1008
|
+
exports.createSandboxPreview = createSandboxPreview;
|
|
1009
|
+
/**
|
|
1010
|
+
* Delete Sandbox Preview
|
|
1011
|
+
* Deletes a Sandbox Preview by name.
|
|
1012
|
+
*/
|
|
1013
|
+
const deleteSandboxPreview = (options) => {
|
|
1014
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
1015
|
+
security: [
|
|
1016
|
+
{
|
|
1017
|
+
scheme: 'bearer',
|
|
1018
|
+
type: 'http'
|
|
1019
|
+
}
|
|
1020
|
+
],
|
|
1021
|
+
url: '/sandboxes/{sandboxName}/previews/{previewName}',
|
|
1022
|
+
...options
|
|
1023
|
+
});
|
|
1024
|
+
};
|
|
1025
|
+
exports.deleteSandboxPreview = deleteSandboxPreview;
|
|
1026
|
+
/**
|
|
1027
|
+
* Get Sandbox Preview
|
|
1028
|
+
* Returns a Sandbox Preview by name.
|
|
1029
|
+
*/
|
|
1030
|
+
const getSandboxPreview = (options) => {
|
|
1031
|
+
return (options.client ?? client_gen_1.client).get({
|
|
1032
|
+
security: [
|
|
1033
|
+
{
|
|
1034
|
+
scheme: 'bearer',
|
|
1035
|
+
type: 'http'
|
|
1036
|
+
}
|
|
1037
|
+
],
|
|
1038
|
+
url: '/sandboxes/{sandboxName}/previews/{previewName}',
|
|
1039
|
+
...options
|
|
1040
|
+
});
|
|
1041
|
+
};
|
|
1042
|
+
exports.getSandboxPreview = getSandboxPreview;
|
|
1043
|
+
/**
|
|
1044
|
+
* Update Sandbox Preview
|
|
1045
|
+
* Updates a Sandbox Preview by name.
|
|
1046
|
+
*/
|
|
1047
|
+
const updateSandboxPreview = (options) => {
|
|
1048
|
+
return (options.client ?? client_gen_1.client).put({
|
|
1049
|
+
security: [
|
|
1050
|
+
{
|
|
1051
|
+
scheme: 'bearer',
|
|
1052
|
+
type: 'http'
|
|
1053
|
+
}
|
|
1054
|
+
],
|
|
1055
|
+
url: '/sandboxes/{sandboxName}/previews/{previewName}',
|
|
1056
|
+
...options,
|
|
1057
|
+
headers: {
|
|
1058
|
+
'Content-Type': 'application/json',
|
|
1059
|
+
...options?.headers
|
|
1060
|
+
}
|
|
1061
|
+
});
|
|
1062
|
+
};
|
|
1063
|
+
exports.updateSandboxPreview = updateSandboxPreview;
|
|
1064
|
+
/**
|
|
1065
|
+
* Get tokens for Sandbox Preview
|
|
1066
|
+
* Gets tokens for a Sandbox Preview.
|
|
1067
|
+
*/
|
|
1068
|
+
const getSandboxPreviewTokens = (options) => {
|
|
1069
|
+
return (options.client ?? client_gen_1.client).get({
|
|
1070
|
+
security: [
|
|
1071
|
+
{
|
|
1072
|
+
scheme: 'bearer',
|
|
1073
|
+
type: 'http'
|
|
1074
|
+
}
|
|
1075
|
+
],
|
|
1076
|
+
url: '/sandboxes/{sandboxName}/previews/{previewName}/tokens',
|
|
1077
|
+
...options
|
|
1078
|
+
});
|
|
1079
|
+
};
|
|
1080
|
+
exports.getSandboxPreviewTokens = getSandboxPreviewTokens;
|
|
1081
|
+
/**
|
|
1082
|
+
* Create token for Sandbox Preview
|
|
1083
|
+
* Creates a token for a Sandbox Preview.
|
|
1084
|
+
*/
|
|
1085
|
+
const createSandboxPreviewToken = (options) => {
|
|
1086
|
+
return (options.client ?? client_gen_1.client).post({
|
|
1087
|
+
security: [
|
|
1088
|
+
{
|
|
1089
|
+
scheme: 'bearer',
|
|
1090
|
+
type: 'http'
|
|
1091
|
+
}
|
|
1092
|
+
],
|
|
1093
|
+
url: '/sandboxes/{sandboxName}/previews/{previewName}/tokens',
|
|
1094
|
+
...options,
|
|
1095
|
+
headers: {
|
|
1096
|
+
'Content-Type': 'application/json',
|
|
1097
|
+
...options?.headers
|
|
1098
|
+
}
|
|
1099
|
+
});
|
|
1100
|
+
};
|
|
1101
|
+
exports.createSandboxPreviewToken = createSandboxPreviewToken;
|
|
1102
|
+
/**
|
|
1103
|
+
* Delete token for Sandbox Preview
|
|
1104
|
+
* Deletes a token for a Sandbox Preview by name.
|
|
1105
|
+
*/
|
|
1106
|
+
const deleteSandboxPreviewToken = (options) => {
|
|
1107
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
1108
|
+
security: [
|
|
1109
|
+
{
|
|
1110
|
+
scheme: 'bearer',
|
|
1111
|
+
type: 'http'
|
|
1112
|
+
}
|
|
1113
|
+
],
|
|
1114
|
+
url: '/sandboxes/{sandboxName}/previews/{previewName}/tokens/{tokenName}',
|
|
1115
|
+
...options
|
|
1116
|
+
});
|
|
1117
|
+
};
|
|
1118
|
+
exports.deleteSandboxPreviewToken = deleteSandboxPreviewToken;
|
|
971
1119
|
/**
|
|
972
1120
|
* Start Sandbox
|
|
973
1121
|
* Starts a Sandbox by name.
|
|
974
1122
|
*/
|
|
975
1123
|
const startSandbox = (options) => {
|
|
976
|
-
return (options.client ??
|
|
1124
|
+
return (options.client ?? client_gen_1.client).put({
|
|
977
1125
|
security: [
|
|
978
1126
|
{
|
|
979
1127
|
scheme: 'bearer',
|
|
@@ -990,7 +1138,7 @@ exports.startSandbox = startSandbox;
|
|
|
990
1138
|
* Stops a Sandbox by name.
|
|
991
1139
|
*/
|
|
992
1140
|
const stopSandbox = (options) => {
|
|
993
|
-
return (options.client ??
|
|
1141
|
+
return (options.client ?? client_gen_1.client).put({
|
|
994
1142
|
security: [
|
|
995
1143
|
{
|
|
996
1144
|
scheme: 'bearer',
|
|
@@ -1007,7 +1155,7 @@ exports.stopSandbox = stopSandbox;
|
|
|
1007
1155
|
* Returns a list of all service accounts in the workspace.
|
|
1008
1156
|
*/
|
|
1009
1157
|
const getWorkspaceServiceAccounts = (options) => {
|
|
1010
|
-
return (options?.client ??
|
|
1158
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
1011
1159
|
security: [
|
|
1012
1160
|
{
|
|
1013
1161
|
scheme: 'bearer',
|
|
@@ -1024,7 +1172,7 @@ exports.getWorkspaceServiceAccounts = getWorkspaceServiceAccounts;
|
|
|
1024
1172
|
* Creates a service account in the workspace.
|
|
1025
1173
|
*/
|
|
1026
1174
|
const createWorkspaceServiceAccount = (options) => {
|
|
1027
|
-
return (options.client ??
|
|
1175
|
+
return (options.client ?? client_gen_1.client).post({
|
|
1028
1176
|
security: [
|
|
1029
1177
|
{
|
|
1030
1178
|
scheme: 'bearer',
|
|
@@ -1045,7 +1193,7 @@ exports.createWorkspaceServiceAccount = createWorkspaceServiceAccount;
|
|
|
1045
1193
|
* Deletes a service account.
|
|
1046
1194
|
*/
|
|
1047
1195
|
const deleteWorkspaceServiceAccount = (options) => {
|
|
1048
|
-
return (options.client ??
|
|
1196
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
1049
1197
|
security: [
|
|
1050
1198
|
{
|
|
1051
1199
|
scheme: 'bearer',
|
|
@@ -1062,7 +1210,7 @@ exports.deleteWorkspaceServiceAccount = deleteWorkspaceServiceAccount;
|
|
|
1062
1210
|
* Updates a service account.
|
|
1063
1211
|
*/
|
|
1064
1212
|
const updateWorkspaceServiceAccount = (options) => {
|
|
1065
|
-
return (options.client ??
|
|
1213
|
+
return (options.client ?? client_gen_1.client).put({
|
|
1066
1214
|
security: [
|
|
1067
1215
|
{
|
|
1068
1216
|
scheme: 'bearer',
|
|
@@ -1083,7 +1231,7 @@ exports.updateWorkspaceServiceAccount = updateWorkspaceServiceAccount;
|
|
|
1083
1231
|
* Returns a list of all API keys for a service account.
|
|
1084
1232
|
*/
|
|
1085
1233
|
const listApiKeysForServiceAccount = (options) => {
|
|
1086
|
-
return (options.client ??
|
|
1234
|
+
return (options.client ?? client_gen_1.client).get({
|
|
1087
1235
|
security: [
|
|
1088
1236
|
{
|
|
1089
1237
|
scheme: 'bearer',
|
|
@@ -1100,7 +1248,7 @@ exports.listApiKeysForServiceAccount = listApiKeysForServiceAccount;
|
|
|
1100
1248
|
* Creates an API key for a service account.
|
|
1101
1249
|
*/
|
|
1102
1250
|
const createApiKeyForServiceAccount = (options) => {
|
|
1103
|
-
return (options.client ??
|
|
1251
|
+
return (options.client ?? client_gen_1.client).post({
|
|
1104
1252
|
security: [
|
|
1105
1253
|
{
|
|
1106
1254
|
scheme: 'bearer',
|
|
@@ -1121,7 +1269,7 @@ exports.createApiKeyForServiceAccount = createApiKeyForServiceAccount;
|
|
|
1121
1269
|
* Deletes an API key for a service account.
|
|
1122
1270
|
*/
|
|
1123
1271
|
const deleteApiKeyForServiceAccount = (options) => {
|
|
1124
|
-
return (options.client ??
|
|
1272
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
1125
1273
|
security: [
|
|
1126
1274
|
{
|
|
1127
1275
|
scheme: 'bearer',
|
|
@@ -1138,7 +1286,7 @@ exports.deleteApiKeyForServiceAccount = deleteApiKeyForServiceAccount;
|
|
|
1138
1286
|
* Returns a list of all templates.
|
|
1139
1287
|
*/
|
|
1140
1288
|
const listTemplates = (options) => {
|
|
1141
|
-
return (options?.client ??
|
|
1289
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
1142
1290
|
security: [
|
|
1143
1291
|
{
|
|
1144
1292
|
scheme: 'bearer',
|
|
@@ -1155,7 +1303,7 @@ exports.listTemplates = listTemplates;
|
|
|
1155
1303
|
* Returns a template by name.
|
|
1156
1304
|
*/
|
|
1157
1305
|
const getTemplate = (options) => {
|
|
1158
|
-
return (options.client ??
|
|
1306
|
+
return (options.client ?? client_gen_1.client).get({
|
|
1159
1307
|
security: [
|
|
1160
1308
|
{
|
|
1161
1309
|
scheme: 'bearer',
|
|
@@ -1168,7 +1316,7 @@ const getTemplate = (options) => {
|
|
|
1168
1316
|
};
|
|
1169
1317
|
exports.getTemplate = getTemplate;
|
|
1170
1318
|
const getTemplateContents = (options) => {
|
|
1171
|
-
return (options.client ??
|
|
1319
|
+
return (options.client ?? client_gen_1.client).get({
|
|
1172
1320
|
security: [
|
|
1173
1321
|
{
|
|
1174
1322
|
scheme: 'bearer',
|
|
@@ -1181,7 +1329,7 @@ const getTemplateContents = (options) => {
|
|
|
1181
1329
|
};
|
|
1182
1330
|
exports.getTemplateContents = getTemplateContents;
|
|
1183
1331
|
const getTemplateFileContents = (options) => {
|
|
1184
|
-
return (options.client ??
|
|
1332
|
+
return (options.client ?? client_gen_1.client).get({
|
|
1185
1333
|
security: [
|
|
1186
1334
|
{
|
|
1187
1335
|
scheme: 'bearer',
|
|
@@ -1198,7 +1346,7 @@ exports.getTemplateFileContents = getTemplateFileContents;
|
|
|
1198
1346
|
* Returns a list of all users in the workspace.
|
|
1199
1347
|
*/
|
|
1200
1348
|
const listWorkspaceUsers = (options) => {
|
|
1201
|
-
return (options?.client ??
|
|
1349
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
1202
1350
|
security: [
|
|
1203
1351
|
{
|
|
1204
1352
|
scheme: 'bearer',
|
|
@@ -1215,7 +1363,7 @@ exports.listWorkspaceUsers = listWorkspaceUsers;
|
|
|
1215
1363
|
* Invites a user to the workspace by email.
|
|
1216
1364
|
*/
|
|
1217
1365
|
const inviteWorkspaceUser = (options) => {
|
|
1218
|
-
return (options.client ??
|
|
1366
|
+
return (options.client ?? client_gen_1.client).post({
|
|
1219
1367
|
security: [
|
|
1220
1368
|
{
|
|
1221
1369
|
scheme: 'bearer',
|
|
@@ -1236,7 +1384,7 @@ exports.inviteWorkspaceUser = inviteWorkspaceUser;
|
|
|
1236
1384
|
* Removes a user from the workspace (or revokes an invitation if the user has not accepted the invitation yet).
|
|
1237
1385
|
*/
|
|
1238
1386
|
const removeWorkspaceUser = (options) => {
|
|
1239
|
-
return (options.client ??
|
|
1387
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
1240
1388
|
security: [
|
|
1241
1389
|
{
|
|
1242
1390
|
scheme: 'bearer',
|
|
@@ -1253,7 +1401,7 @@ exports.removeWorkspaceUser = removeWorkspaceUser;
|
|
|
1253
1401
|
* Updates the role of a user in the workspace.
|
|
1254
1402
|
*/
|
|
1255
1403
|
const updateWorkspaceUserRole = (options) => {
|
|
1256
|
-
return (options.client ??
|
|
1404
|
+
return (options.client ?? client_gen_1.client).put({
|
|
1257
1405
|
security: [
|
|
1258
1406
|
{
|
|
1259
1407
|
scheme: 'bearer',
|
|
@@ -1274,7 +1422,7 @@ exports.updateWorkspaceUserRole = updateWorkspaceUserRole;
|
|
|
1274
1422
|
* Returns a list of all workspaces.
|
|
1275
1423
|
*/
|
|
1276
1424
|
const listWorkspaces = (options) => {
|
|
1277
|
-
return (options?.client ??
|
|
1425
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
1278
1426
|
security: [
|
|
1279
1427
|
{
|
|
1280
1428
|
scheme: 'bearer',
|
|
@@ -1291,7 +1439,7 @@ exports.listWorkspaces = listWorkspaces;
|
|
|
1291
1439
|
* Creates a workspace.
|
|
1292
1440
|
*/
|
|
1293
1441
|
const createWorspace = (options) => {
|
|
1294
|
-
return (options.client ??
|
|
1442
|
+
return (options.client ?? client_gen_1.client).post({
|
|
1295
1443
|
security: [
|
|
1296
1444
|
{
|
|
1297
1445
|
scheme: 'bearer',
|
|
@@ -1312,7 +1460,7 @@ exports.createWorspace = createWorspace;
|
|
|
1312
1460
|
* Deletes a workspace by name.
|
|
1313
1461
|
*/
|
|
1314
1462
|
const deleteWorkspace = (options) => {
|
|
1315
|
-
return (options.client ??
|
|
1463
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
1316
1464
|
security: [
|
|
1317
1465
|
{
|
|
1318
1466
|
scheme: 'bearer',
|
|
@@ -1329,7 +1477,7 @@ exports.deleteWorkspace = deleteWorkspace;
|
|
|
1329
1477
|
* Returns a workspace by name.
|
|
1330
1478
|
*/
|
|
1331
1479
|
const getWorkspace = (options) => {
|
|
1332
|
-
return (options.client ??
|
|
1480
|
+
return (options.client ?? client_gen_1.client).get({
|
|
1333
1481
|
security: [
|
|
1334
1482
|
{
|
|
1335
1483
|
scheme: 'bearer',
|
|
@@ -1346,7 +1494,7 @@ exports.getWorkspace = getWorkspace;
|
|
|
1346
1494
|
* Updates a workspace by name.
|
|
1347
1495
|
*/
|
|
1348
1496
|
const updateWorkspace = (options) => {
|
|
1349
|
-
return (options.client ??
|
|
1497
|
+
return (options.client ?? client_gen_1.client).put({
|
|
1350
1498
|
security: [
|
|
1351
1499
|
{
|
|
1352
1500
|
scheme: 'bearer',
|
|
@@ -1367,7 +1515,7 @@ exports.updateWorkspace = updateWorkspace;
|
|
|
1367
1515
|
* Declines an invitation to a workspace.
|
|
1368
1516
|
*/
|
|
1369
1517
|
const declineWorkspaceInvitation = (options) => {
|
|
1370
|
-
return (options.client ??
|
|
1518
|
+
return (options.client ?? client_gen_1.client).post({
|
|
1371
1519
|
security: [
|
|
1372
1520
|
{
|
|
1373
1521
|
scheme: 'bearer',
|
|
@@ -1384,7 +1532,7 @@ exports.declineWorkspaceInvitation = declineWorkspaceInvitation;
|
|
|
1384
1532
|
* Accepts an invitation to a workspace.
|
|
1385
1533
|
*/
|
|
1386
1534
|
const acceptWorkspaceInvitation = (options) => {
|
|
1387
|
-
return (options.client ??
|
|
1535
|
+
return (options.client ?? client_gen_1.client).post({
|
|
1388
1536
|
security: [
|
|
1389
1537
|
{
|
|
1390
1538
|
scheme: 'bearer',
|
|
@@ -1401,7 +1549,7 @@ exports.acceptWorkspaceInvitation = acceptWorkspaceInvitation;
|
|
|
1401
1549
|
* Leaves a workspace.
|
|
1402
1550
|
*/
|
|
1403
1551
|
const leaveWorkspace = (options) => {
|
|
1404
|
-
return (options.client ??
|
|
1552
|
+
return (options.client ?? client_gen_1.client).delete({
|
|
1405
1553
|
security: [
|
|
1406
1554
|
{
|
|
1407
1555
|
scheme: 'bearer',
|
|
@@ -1418,7 +1566,7 @@ exports.leaveWorkspace = leaveWorkspace;
|
|
|
1418
1566
|
* Check if a workspace is available.
|
|
1419
1567
|
*/
|
|
1420
1568
|
const checkWorkspaceAvailability = (options) => {
|
|
1421
|
-
return (options.client ??
|
|
1569
|
+
return (options.client ?? client_gen_1.client).post({
|
|
1422
1570
|
security: [
|
|
1423
1571
|
{
|
|
1424
1572
|
scheme: 'bearer',
|