@stack-spot/portal-network 0.28.0-beta → 0.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { accountVariableControllercreate, accountVariableControllerdelete, accountVariableControllerfindAll, accountVariableControllerfindByName, accountVariableControllerupdate, accountVariableControllerusage, applicationControllergetApplication, applicationControllergetApplications, applicationControllergetDependencyTree, applicationControllerupdate, applicationEmbeddedLinkControllerdelete, applicationEmbeddedLinkControllergetEmbeddedLink, applicationEmbeddedLinkControllergetEmbeddedLinks, applicationEmbeddedLinkControllersave, applicationEmbeddedLinkControllerupdate, applicationEmbeddedLinkControllerupsertBatch, applicationLinkControllerdelete, applicationLinkControllergetApplicationLink, applicationLinkControllersave, applicationLinkControllerupdate, applicationLinkControllerupdateLinksVisibility, availableConnectionInterfaceV2ControllergetAvailableConnectionInterfaceForAnApplication, availableConnectionInterfaceV2ControllergetAvailableConnectionInterfaceForAWorkspace, checkConnectionSlugAvailabilityControllercheckConnectionSlugAvailability, connectionInterfaceControllerdeleteConnectionInterfaceAttributesFromEnvironment, connectionInterfaceControllerdeleteConnectionInterfaceFromAllEnvironments, connectionInterfaceControllergetConnectionInterface, connectionInterfaceControllergetConnectionInterfaces, connectionInterfaceControllerupdateConnectionInterfaceAttributes, connectionInterfaceControllerupdateConnectionInterfaceVisibility, contextControlleraddTypedContextInAccount, contextControlleraddTypedContextInWorkspace, contextControllerlistAccountContext, contextControllerlistConsolidatedContext, defaults, environmentControllergetEnvironment, environmentControllergetEnvironments, environmentControllersave, environmentControllerupdate, sharedInfraLinkControllerdelete, sharedInfraLinkControllergetSharedInfraLink, sharedInfraLinkControllersave, sharedInfraLinkControllerupdate, sharedInfraLinkControllerupdateLinksVisibility, sharedInfrastructureControllergetAllSharedInfrastructure, sharedInfrastructureControllergetDependencyTree, sharedInfrastructureControllergetSharedInfrastructure, sharedInfrastructureControllerupdate, workflowAccountControllerdeleteAccountWorkflow, workflowAccountControllerlistAccountWorkflows, workflowWorkspaceControllerlistWorkflowByStackIdAndWorkflowType, workspaceControllergetWorkspaceForId, workspaceControllergetWorkspaces, workspaceControllergetWorkspacesFromUserPermission, workspaceControllersave, workspaceControllerupdate, workspaceEmbeddedLinkControllerdelete, workspaceEmbeddedLinkControllergetEmbeddedLink, workspaceEmbeddedLinkControllergetEmbeddedLinks, workspaceEmbeddedLinkControllersave, workspaceEmbeddedLinkControllerupdate, workspaceEmbeddedLinkControllerupsertBatch, workspaceLinkControllerdelete, workspaceLinkControllergetWorkspaceLinks, workspaceLinkControllersave, workspaceStackControllergetStacks, workspaceVariableV2ControllerfindAll, workspaceVariableV2ControllerfindByName, workspaceVariableV2Controllerupsert, } from '../api/workspace.js';
1
+ import { checkConnectionSlugAvailability, save5 as createEmbeddedLink, defaults, delete1, delete2, delete3, delete5, deleteAccountWorkflow, delete6 as deleteApplicationEmbeddedLinks, deleteConnectionInterfaceAttributesFromEnvironment, deleteConnectionInterfaceFromAllEnvironments, delete4 as deleteEmbeddedLink, findAll, getEmbeddedLinks1 as getAllApplicationEmbeddedLinks, getAllSharedInfrastructure, getApplication, getEmbeddedLink1 as getApplicationEmbeddedLinks, getApplicationLink, getApplications, getAvailableConnectionInterfaceForAnApplication, getAvailableConnectionInterfaceForAWorkspace, getConnectionInterface, getConnectionInterfaces, getDependencyTree, getDependencyTree1, getEmbeddedLink, getEmbeddedLinks, getEnvironment, getEnvironments, getSharedInfraLink, getSharedInfrastructure, getStacks, getV1WorkspacesByWorkspaceIdVariablesAndName, getWorkspaceForId, getWorkspaceLinks, getWorkspaces, getWorkspacesFromUserPermission, listAccountContext, listAccountWorkflows, listConsolidatedContext, listWorkflowByStackIdAndWorkflowType, save, save1, save3, save4, save7, save8 as saveApplicationEmbeddedLinks, save9 as saveEnvironment, update, update1, update2, update3, update6, update7, upsertBatch2 as updateAllApplicationEmbeddedLinks, upsertBatch1 as updateAllEmbeddedLink, update8 as updateApplicationEmbeddedLinks, updateConnectionInterfaceAttributes, updateConnectionInterfaceVisibility, update5 as updateEmbeddedLink, update9 as updateEnvironment, updateLinksVisibility, updateLinksVisibility1, addTypedContextInWorkspace, addTypedContextInAccount, } from '../api/workspace.js';
2
2
  import apis from '../apis.json';
3
3
  import { DefaultAPIError } from '../error/DefaultAPIError.js';
4
4
  import { workspaceDictionary } from '../error/dictionary/workspace.js';
@@ -13,7 +13,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
13
13
  enumerable: true,
14
14
  configurable: true,
15
15
  writable: true,
16
- value: this.query(connectionInterfaceControllergetConnectionInterfaces)
16
+ value: this.query(getConnectionInterfaces)
17
17
  });
18
18
  /**
19
19
  * Gets a connection interface from a workspace
@@ -22,7 +22,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
22
22
  enumerable: true,
23
23
  configurable: true,
24
24
  writable: true,
25
- value: this.query(connectionInterfaceControllergetConnectionInterface)
25
+ value: this.query(getConnectionInterface)
26
26
  });
27
27
  /**
28
28
  * Get available connection interface for a workspace by connection interface slug
@@ -31,7 +31,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
31
31
  enumerable: true,
32
32
  configurable: true,
33
33
  writable: true,
34
- value: this.query(availableConnectionInterfaceV2ControllergetAvailableConnectionInterfaceForAWorkspace)
34
+ value: this.query(getAvailableConnectionInterfaceForAWorkspace)
35
35
  });
36
36
  /**
37
37
  * Get available connection interface for an application by connection interface slug
@@ -40,7 +40,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
40
40
  enumerable: true,
41
41
  configurable: true,
42
42
  writable: true,
43
- value: this.query(availableConnectionInterfaceV2ControllergetAvailableConnectionInterfaceForAnApplication)
43
+ value: this.query(getAvailableConnectionInterfaceForAnApplication)
44
44
  });
45
45
  /**
46
46
  * Updates the visibility of a connection interface
@@ -49,7 +49,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
49
49
  enumerable: true,
50
50
  configurable: true,
51
51
  writable: true,
52
- value: this.mutation(connectionInterfaceControllerupdateConnectionInterfaceVisibility)
52
+ value: this.mutation(updateConnectionInterfaceVisibility)
53
53
  });
54
54
  /**
55
55
  * Removes a connection interface
@@ -58,7 +58,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
58
58
  enumerable: true,
59
59
  configurable: true,
60
60
  writable: true,
61
- value: this.mutation(connectionInterfaceControllerdeleteConnectionInterfaceFromAllEnvironments)
61
+ value: this.mutation(deleteConnectionInterfaceFromAllEnvironments)
62
62
  });
63
63
  /**
64
64
  * Removes connection interface attributes by environment
@@ -67,7 +67,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
67
67
  enumerable: true,
68
68
  configurable: true,
69
69
  writable: true,
70
- value: this.mutation(connectionInterfaceControllerdeleteConnectionInterfaceAttributesFromEnvironment)
70
+ value: this.mutation(deleteConnectionInterfaceAttributesFromEnvironment)
71
71
  });
72
72
  /**
73
73
  * Updates the attributes of a connection interface
@@ -76,7 +76,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
76
76
  enumerable: true,
77
77
  configurable: true,
78
78
  writable: true,
79
- value: this.mutation(connectionInterfaceControllerupdateConnectionInterfaceAttributes)
79
+ value: this.mutation(updateConnectionInterfaceAttributes)
80
80
  });
81
81
  /**
82
82
  * Checks the availability of a connection interface slug.
@@ -85,7 +85,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
85
85
  enumerable: true,
86
86
  configurable: true,
87
87
  writable: true,
88
- value: this.query(checkConnectionSlugAvailabilityControllercheckConnectionSlugAvailability)
88
+ value: this.query(checkConnectionSlugAvailability)
89
89
  });
90
90
  /**
91
91
  * Gets all environments
@@ -94,7 +94,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
94
94
  enumerable: true,
95
95
  configurable: true,
96
96
  writable: true,
97
- value: this.query(environmentControllergetEnvironments)
97
+ value: this.query(getEnvironments)
98
98
  });
99
99
  /**
100
100
  * Gets environment by Id
@@ -103,7 +103,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
103
103
  enumerable: true,
104
104
  configurable: true,
105
105
  writable: true,
106
- value: this.query(environmentControllergetEnvironment)
106
+ value: this.query(getEnvironment)
107
107
  });
108
108
  /**
109
109
  * Creates an environment
@@ -112,7 +112,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
112
112
  enumerable: true,
113
113
  configurable: true,
114
114
  writable: true,
115
- value: this.mutation(environmentControllersave)
115
+ value: this.mutation(saveEnvironment)
116
116
  });
117
117
  /**
118
118
  * Updates environment data
@@ -121,7 +121,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
121
121
  enumerable: true,
122
122
  configurable: true,
123
123
  writable: true,
124
- value: this.mutation(environmentControllerupdate)
124
+ value: this.mutation(updateEnvironment)
125
125
  });
126
126
  /**
127
127
  * Gets embedded link by id
@@ -130,7 +130,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
130
130
  enumerable: true,
131
131
  configurable: true,
132
132
  writable: true,
133
- value: this.query(workspaceEmbeddedLinkControllergetEmbeddedLink)
133
+ value: this.query(getEmbeddedLink)
134
134
  });
135
135
  /**
136
136
  * Gets all embedded links from a workspace
@@ -139,7 +139,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
139
139
  enumerable: true,
140
140
  configurable: true,
141
141
  writable: true,
142
- value: this.query(workspaceEmbeddedLinkControllergetEmbeddedLinks)
142
+ value: this.query(getEmbeddedLinks)
143
143
  });
144
144
  /**
145
145
  * Creates an embedded link in a workspace
@@ -148,7 +148,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
148
148
  enumerable: true,
149
149
  configurable: true,
150
150
  writable: true,
151
- value: this.mutation(workspaceEmbeddedLinkControllersave)
151
+ value: this.mutation(createEmbeddedLink)
152
152
  });
153
153
  /**
154
154
  * Deletes an embedded link from a workspace
@@ -157,7 +157,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
157
157
  enumerable: true,
158
158
  configurable: true,
159
159
  writable: true,
160
- value: this.mutation(workspaceEmbeddedLinkControllerdelete)
160
+ value: this.mutation(deleteEmbeddedLink)
161
161
  });
162
162
  /**
163
163
  * Updates an embedded link from a workspace
@@ -166,7 +166,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
166
166
  enumerable: true,
167
167
  configurable: true,
168
168
  writable: true,
169
- value: this.mutation(workspaceEmbeddedLinkControllerupdate)
169
+ value: this.mutation(updateEmbeddedLink)
170
170
  });
171
171
  /**
172
172
  * Updates all embedded links from a workspace
@@ -175,7 +175,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
175
175
  enumerable: true,
176
176
  configurable: true,
177
177
  writable: true,
178
- value: this.mutation(workspaceEmbeddedLinkControllerupsertBatch)
178
+ value: this.mutation(updateAllEmbeddedLink)
179
179
  });
180
180
  /**
181
181
  * Gets an embedded link from an application
@@ -184,7 +184,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
184
184
  enumerable: true,
185
185
  configurable: true,
186
186
  writable: true,
187
- value: this.query(applicationEmbeddedLinkControllergetEmbeddedLink)
187
+ value: this.query(getApplicationEmbeddedLinks)
188
188
  });
189
189
  /**
190
190
  * Gets all embedded links from an application
@@ -193,7 +193,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
193
193
  enumerable: true,
194
194
  configurable: true,
195
195
  writable: true,
196
- value: this.query(applicationEmbeddedLinkControllergetEmbeddedLinks)
196
+ value: this.query(getAllApplicationEmbeddedLinks)
197
197
  });
198
198
  /**
199
199
  * Creates an embedded link in an application
@@ -202,7 +202,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
202
202
  enumerable: true,
203
203
  configurable: true,
204
204
  writable: true,
205
- value: this.mutation(applicationEmbeddedLinkControllersave)
205
+ value: this.mutation(saveApplicationEmbeddedLinks)
206
206
  });
207
207
  /**
208
208
  * Deletes an embedded link from an application
@@ -211,7 +211,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
211
211
  enumerable: true,
212
212
  configurable: true,
213
213
  writable: true,
214
- value: this.mutation(applicationEmbeddedLinkControllerdelete)
214
+ value: this.mutation(deleteApplicationEmbeddedLinks)
215
215
  });
216
216
  /**
217
217
  * Updates an embedded link in an application
@@ -220,7 +220,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
220
220
  enumerable: true,
221
221
  configurable: true,
222
222
  writable: true,
223
- value: this.mutation(applicationEmbeddedLinkControllerupdate)
223
+ value: this.mutation(updateApplicationEmbeddedLinks)
224
224
  });
225
225
  /**
226
226
  * Updates all embedded links in an application
@@ -229,7 +229,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
229
229
  enumerable: true,
230
230
  configurable: true,
231
231
  writable: true,
232
- value: this.mutation(applicationEmbeddedLinkControllerupsertBatch)
232
+ value: this.mutation(updateAllApplicationEmbeddedLinks)
233
233
  });
234
234
  /**
235
235
  * Gets all workspaces
@@ -238,7 +238,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
238
238
  enumerable: true,
239
239
  configurable: true,
240
240
  writable: true,
241
- value: this.query(workspaceControllergetWorkspaces)
241
+ value: this.query(getWorkspaces)
242
242
  });
243
243
  /**
244
244
  * Gets a workspace
@@ -247,7 +247,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
247
247
  enumerable: true,
248
248
  configurable: true,
249
249
  writable: true,
250
- value: this.query(workspaceControllergetWorkspaceForId)
250
+ value: this.query(getWorkspaceForId)
251
251
  });
252
252
  /**
253
253
  * Get workspaces within user permission
@@ -256,7 +256,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
256
256
  enumerable: true,
257
257
  configurable: true,
258
258
  writable: true,
259
- value: this.query(workspaceControllergetWorkspacesFromUserPermission)
259
+ value: this.query(getWorkspacesFromUserPermission)
260
260
  });
261
261
  /**
262
262
  * Creates a workspace
@@ -265,7 +265,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
265
265
  enumerable: true,
266
266
  configurable: true,
267
267
  writable: true,
268
- value: this.mutation(workspaceControllersave)
268
+ value: this.mutation(save)
269
269
  });
270
270
  /**
271
271
  * Updates a workspace
@@ -274,7 +274,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
274
274
  enumerable: true,
275
275
  configurable: true,
276
276
  writable: true,
277
- value: this.mutation(workspaceControllerupdate)
277
+ value: this.mutation(update1)
278
278
  });
279
279
  //App and infra
280
280
  /**
@@ -284,7 +284,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
284
284
  enumerable: true,
285
285
  configurable: true,
286
286
  writable: true,
287
- value: this.query(applicationControllergetApplications)
287
+ value: this.query(getApplications)
288
288
  });
289
289
  /**
290
290
  * Gets an application
@@ -293,7 +293,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
293
293
  enumerable: true,
294
294
  configurable: true,
295
295
  writable: true,
296
- value: this.query(applicationControllergetApplication)
296
+ value: this.query(getApplication)
297
297
  });
298
298
  /**
299
299
  * Gets the dependencies of an application
@@ -302,7 +302,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
302
302
  enumerable: true,
303
303
  configurable: true,
304
304
  writable: true,
305
- value: this.query(applicationControllergetDependencyTree)
305
+ value: this.query(getDependencyTree1)
306
306
  });
307
307
  /**
308
308
  * Gets all shared infra in a Workspace
@@ -311,7 +311,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
311
311
  enumerable: true,
312
312
  configurable: true,
313
313
  writable: true,
314
- value: this.query(sharedInfrastructureControllergetAllSharedInfrastructure)
314
+ value: this.query(getAllSharedInfrastructure)
315
315
  });
316
316
  /**
317
317
  * Gets a shared infra
@@ -320,7 +320,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
320
320
  enumerable: true,
321
321
  configurable: true,
322
322
  writable: true,
323
- value: this.query(sharedInfrastructureControllergetSharedInfrastructure)
323
+ value: this.query(getSharedInfrastructure)
324
324
  });
325
325
  /**
326
326
  * Gets the dependencies of a shared infra
@@ -329,7 +329,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
329
329
  enumerable: true,
330
330
  configurable: true,
331
331
  writable: true,
332
- value: this.query(sharedInfrastructureControllergetDependencyTree)
332
+ value: this.query(getDependencyTree)
333
333
  });
334
334
  /**
335
335
  * Updates an application
@@ -338,7 +338,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
338
338
  enumerable: true,
339
339
  configurable: true,
340
340
  writable: true,
341
- value: this.mutation(applicationControllerupdate)
341
+ value: this.mutation(update6)
342
342
  });
343
343
  /**
344
344
  * Updates a shared infra
@@ -347,7 +347,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
347
347
  enumerable: true,
348
348
  configurable: true,
349
349
  writable: true,
350
- value: this.mutation(sharedInfrastructureControllerupdate)
350
+ value: this.mutation(update2)
351
351
  });
352
352
  // Workflow
353
353
  /**
@@ -357,7 +357,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
357
357
  enumerable: true,
358
358
  configurable: true,
359
359
  writable: true,
360
- value: this.query(workflowWorkspaceControllerlistWorkflowByStackIdAndWorkflowType)
360
+ value: this.query(listWorkflowByStackIdAndWorkflowType)
361
361
  });
362
362
  /**
363
363
  * Gets account workflows
@@ -366,7 +366,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
366
366
  enumerable: true,
367
367
  configurable: true,
368
368
  writable: true,
369
- value: this.query(workflowAccountControllerlistAccountWorkflows)
369
+ value: this.query(listAccountWorkflows)
370
370
  });
371
371
  /**
372
372
  * Gets workflows from a stack
@@ -375,7 +375,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
375
375
  enumerable: true,
376
376
  configurable: true,
377
377
  writable: true,
378
- value: this.query(workflowWorkspaceControllerlistWorkflowByStackIdAndWorkflowType)
378
+ value: this.query(listWorkflowByStackIdAndWorkflowType)
379
379
  });
380
380
  /**
381
381
  * Removes account workflow
@@ -384,90 +384,53 @@ class WorkspaceClient extends ReactQueryNetworkClient {
384
384
  enumerable: true,
385
385
  configurable: true,
386
386
  writable: true,
387
- value: this.mutation(workflowAccountControllerdeleteAccountWorkflow)
387
+ value: this.mutation(deleteAccountWorkflow)
388
388
  });
389
- // Variables Account
389
+ // Variable
390
390
  /**
391
- * Find all account variables
391
+ * Gets all workspace variables
392
392
  */
393
- Object.defineProperty(this, "accountVariables", {
393
+ Object.defineProperty(this, "variables", {
394
394
  enumerable: true,
395
395
  configurable: true,
396
396
  writable: true,
397
- value: this.query(accountVariableControllerfindAll)
397
+ value: this.query(findAll)
398
398
  });
399
399
  /**
400
- * Get an account variable by name
400
+ * Creates a workspace variable
401
401
  */
402
- Object.defineProperty(this, "getAccountVariable", {
402
+ Object.defineProperty(this, "createVariable", {
403
403
  enumerable: true,
404
404
  configurable: true,
405
405
  writable: true,
406
- value: this.query(accountVariableControllerfindByName)
406
+ value: this.mutation(save1)
407
407
  });
408
408
  /**
409
- * Get account variable usage
409
+ * Gets a variable by name
410
410
  */
411
- Object.defineProperty(this, "accountVariableUsage", {
411
+ Object.defineProperty(this, "variable", {
412
412
  enumerable: true,
413
413
  configurable: true,
414
414
  writable: true,
415
- value: this.query(accountVariableControllerusage)
415
+ value: this.query(getV1WorkspacesByWorkspaceIdVariablesAndName)
416
416
  });
417
417
  /**
418
- * Create account variable
418
+ * Updates a workspace variable
419
419
  */
420
- Object.defineProperty(this, "createAccountVariable", {
420
+ Object.defineProperty(this, "updateVariable", {
421
421
  enumerable: true,
422
422
  configurable: true,
423
423
  writable: true,
424
- value: this.mutation(accountVariableControllercreate)
424
+ value: this.mutation(update)
425
425
  });
426
426
  /**
427
- * Update account variable
427
+ * Deletes a workspace variable
428
428
  */
429
- Object.defineProperty(this, "updateAccountVariable", {
429
+ Object.defineProperty(this, "deleteVariable", {
430
430
  enumerable: true,
431
431
  configurable: true,
432
432
  writable: true,
433
- value: this.mutation(accountVariableControllerupdate)
434
- });
435
- /**
436
- * Delete account variable
437
- */
438
- Object.defineProperty(this, "deleteAccountVariable", {
439
- enumerable: true,
440
- configurable: true,
441
- writable: true,
442
- value: this.mutation(accountVariableControllerdelete)
443
- });
444
- // Variables Workspace
445
- /**
446
- * Find all workspace variables
447
- */
448
- Object.defineProperty(this, "workspaceVariables", {
449
- enumerable: true,
450
- configurable: true,
451
- writable: true,
452
- value: this.query(workspaceVariableV2ControllerfindAll)
453
- });
454
- /**
455
- * Get a workspace variable by name
456
- */
457
- Object.defineProperty(this, "getWorkspaceVariable", {
458
- enumerable: true,
459
- configurable: true,
460
- writable: true,
461
- value: this.query(workspaceVariableV2ControllerfindByName)
462
- });
463
- /**
464
- * Upsert workspace variable based on existing account variable
465
- */
466
- Object.defineProperty(this, "updateWorkspaceVariable", {
467
- enumerable: true,
468
- configurable: true,
469
- writable: true,
470
- value: this.mutation(workspaceVariableV2Controllerupsert)
433
+ value: this.mutation(delete1)
471
434
  });
472
435
  //Links
473
436
  /**
@@ -477,7 +440,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
477
440
  enumerable: true,
478
441
  configurable: true,
479
442
  writable: true,
480
- value: this.query(workspaceLinkControllergetWorkspaceLinks)
443
+ value: this.query(getWorkspaceLinks)
481
444
  });
482
445
  /**
483
446
  * Adds a link to a workspace
@@ -486,7 +449,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
486
449
  enumerable: true,
487
450
  configurable: true,
488
451
  writable: true,
489
- value: this.mutation(workspaceLinkControllersave)
452
+ value: this.mutation(save4)
490
453
  });
491
454
  /**
492
455
  * Deletes a link from a workspace
@@ -495,7 +458,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
495
458
  enumerable: true,
496
459
  configurable: true,
497
460
  writable: true,
498
- value: this.mutation(workspaceLinkControllerdelete)
461
+ value: this.mutation(delete3)
499
462
  });
500
463
  /**
501
464
  * Gets application link
@@ -504,7 +467,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
504
467
  enumerable: true,
505
468
  configurable: true,
506
469
  writable: true,
507
- value: this.query(applicationLinkControllergetApplicationLink)
470
+ value: this.query(getApplicationLink)
508
471
  });
509
472
  /**
510
473
  * Adds a link to an application
@@ -513,7 +476,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
513
476
  enumerable: true,
514
477
  configurable: true,
515
478
  writable: true,
516
- value: this.mutation(applicationLinkControllersave)
479
+ value: this.mutation(save7)
517
480
  });
518
481
  /**
519
482
  * Deletes a link from an application
@@ -522,7 +485,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
522
485
  enumerable: true,
523
486
  configurable: true,
524
487
  writable: true,
525
- value: this.mutation(applicationLinkControllerdelete)
488
+ value: this.mutation(delete5)
526
489
  });
527
490
  /**
528
491
  * Updates a link from an application
@@ -531,7 +494,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
531
494
  enumerable: true,
532
495
  configurable: true,
533
496
  writable: true,
534
- value: this.mutation(applicationLinkControllerupdate)
497
+ value: this.mutation(update7)
535
498
  });
536
499
  /**
537
500
  * Updates application links visibility
@@ -540,7 +503,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
540
503
  enumerable: true,
541
504
  configurable: true,
542
505
  writable: true,
543
- value: this.mutation(applicationLinkControllerupdateLinksVisibility)
506
+ value: this.mutation(updateLinksVisibility1)
544
507
  });
545
508
  /**
546
509
  * Gets shared infra link
@@ -549,7 +512,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
549
512
  enumerable: true,
550
513
  configurable: true,
551
514
  writable: true,
552
- value: this.query(sharedInfraLinkControllergetSharedInfraLink)
515
+ value: this.query(getSharedInfraLink)
553
516
  });
554
517
  /**
555
518
  * Adds a link to an infra
@@ -558,7 +521,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
558
521
  enumerable: true,
559
522
  configurable: true,
560
523
  writable: true,
561
- value: this.mutation(sharedInfraLinkControllersave)
524
+ value: this.mutation(save3)
562
525
  });
563
526
  /**
564
527
  * Deletes a link from an infra
@@ -567,7 +530,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
567
530
  enumerable: true,
568
531
  configurable: true,
569
532
  writable: true,
570
- value: this.mutation(sharedInfraLinkControllerdelete)
533
+ value: this.mutation(delete2)
571
534
  });
572
535
  /**
573
536
  * Updates a link from an infra
@@ -576,16 +539,16 @@ class WorkspaceClient extends ReactQueryNetworkClient {
576
539
  enumerable: true,
577
540
  configurable: true,
578
541
  writable: true,
579
- value: this.mutation(sharedInfraLinkControllerupdate)
542
+ value: this.mutation(update3)
580
543
  });
581
544
  /**
582
- * Updates infra links visibility
583
- */
545
+ * Updates infra links visibility
546
+ */
584
547
  Object.defineProperty(this, "updateLinkVisibilityInInfra", {
585
548
  enumerable: true,
586
549
  configurable: true,
587
550
  writable: true,
588
- value: this.mutation(sharedInfraLinkControllerupdateLinksVisibility)
551
+ value: this.mutation(updateLinksVisibility)
589
552
  });
590
553
  /**
591
554
  * Gets stacks in a workspace. This fn is only used for permission purposes.
@@ -594,7 +557,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
594
557
  enumerable: true,
595
558
  configurable: true,
596
559
  writable: true,
597
- value: this.query(workspaceStackControllergetStacks)
560
+ value: this.query(getStacks)
598
561
  });
599
562
  /**
600
563
  * List workspace context inputs for a plugin or action in a stack. This fn is only used for permission purposes.
@@ -603,7 +566,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
603
566
  enumerable: true,
604
567
  configurable: true,
605
568
  writable: true,
606
- value: this.query(contextControllerlistConsolidatedContext)
569
+ value: this.query(listConsolidatedContext)
607
570
  });
608
571
  /**
609
572
  * List account context inputs for a plugin or action in a stack. This fn is only used for permission purposes.
@@ -612,7 +575,7 @@ class WorkspaceClient extends ReactQueryNetworkClient {
612
575
  enumerable: true,
613
576
  configurable: true,
614
577
  writable: true,
615
- value: this.query(contextControllerlistAccountContext)
578
+ value: this.query(listAccountContext)
616
579
  });
617
580
  /**
618
581
  * Save workspace context inputs for a plugin or action in a stack. This fn is only used for permission purposes.
@@ -621,16 +584,16 @@ class WorkspaceClient extends ReactQueryNetworkClient {
621
584
  enumerable: true,
622
585
  configurable: true,
623
586
  writable: true,
624
- value: this.query(contextControlleraddTypedContextInWorkspace)
587
+ value: this.query(addTypedContextInWorkspace)
625
588
  });
626
589
  /**
627
- * Save workspace context inputs for a plugin or action in a stack. This fn is only used for permission purposes.
628
- */
590
+ * Save workspace context inputs for a plugin or action in a stack. This fn is only used for permission purposes.
591
+ */
629
592
  Object.defineProperty(this, "saveContextInAccount", {
630
593
  enumerable: true,
631
594
  configurable: true,
632
595
  writable: true,
633
- value: this.query(contextControlleraddTypedContextInAccount)
596
+ value: this.query(addTypedContextInAccount)
634
597
  });
635
598
  }
636
599
  buildStackSpotError(error) {