@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.
@@ -15,48 +15,54 @@ export const servers = {
15
15
  generatedServerUrl: "https://workspace-workspace-api.dev.stackspot.com"
16
16
  };
17
17
  /**
18
- * Get a workspace variable by name
18
+ * List all configured context of an workflow by workspace and stack.
19
19
  */
20
- export function workspaceVariableV2ControllerfindByName({ accountId, workspaceId, name }, opts) {
21
- return oazapfts.ok(oazapfts.fetchJson(`/v2/workspaces/${encodeURIComponent(workspaceId)}/variables/${encodeURIComponent(name)}`, {
22
- ...opts,
23
- headers: oazapfts.mergeHeaders(opts?.headers, {
24
- accountId
25
- })
20
+ export function listContextByWorkspaceStack({ workspaceId, workflowId, stackId }, opts) {
21
+ return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/workflows/${encodeURIComponent(workflowId)}/stacks/${encodeURIComponent(stackId)}/context`, {
22
+ ...opts
26
23
  }));
27
24
  }
28
25
  /**
29
- * Upsert workspace variable based on existing account variable
26
+ * Save workspace workflow context
30
27
  */
31
- export function workspaceVariableV2Controllerupsert({ workspaceId, name, upsertWorkspaceVariableRequest }, opts) {
32
- return oazapfts.ok(oazapfts.fetchJson(`/v2/workspaces/${encodeURIComponent(workspaceId)}/variables/${encodeURIComponent(name)}`, oazapfts.json({
28
+ export function saveWorkspaceWorkflowContext({ workspaceId, workflowId, stackId, workspaceWorkflowCreateRequest }, opts) {
29
+ return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/workflows/${encodeURIComponent(workflowId)}/stacks/${encodeURIComponent(stackId)}/context`, oazapfts.json({
33
30
  ...opts,
34
31
  method: "PUT",
35
- body: upsertWorkspaceVariableRequest
32
+ body: workspaceWorkflowCreateRequest
36
33
  })));
37
34
  }
38
35
  /**
39
- * List all configured context of an workflow by workspace and stack.
36
+ * Get a workspace's variable
40
37
  */
41
- export function workflowWorkspaceControllerlistContextByWorkspaceStack({ workspaceId, workflowId, stackId }, opts) {
42
- return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/workflows/${encodeURIComponent(workflowId)}/stacks/${encodeURIComponent(stackId)}/context`, {
38
+ export function getV1WorkspacesByWorkspaceIdVariablesAndName({ workspaceId, name }, opts) {
39
+ return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/variables/${encodeURIComponent(name)}`, {
43
40
  ...opts
44
41
  }));
45
42
  }
46
43
  /**
47
- * Save workspace workflow context
44
+ * Update a workspace's variable
48
45
  */
49
- export function workflowWorkspaceControllersaveWorkspaceWorkflowContext({ workspaceId, workflowId, stackId, workspaceWorkflowCreateRequest }, opts) {
50
- return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/workflows/${encodeURIComponent(workflowId)}/stacks/${encodeURIComponent(stackId)}/context`, oazapfts.json({
46
+ export function update({ workspaceId, name, updateWorkspaceVariableRequest }, opts) {
47
+ return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/variables/${encodeURIComponent(name)}`, oazapfts.json({
51
48
  ...opts,
52
49
  method: "PUT",
53
- body: workspaceWorkflowCreateRequest
50
+ body: updateWorkspaceVariableRequest
54
51
  })));
55
52
  }
53
+ /**
54
+ * Delete a workspace's variable
55
+ */
56
+ export function delete1({ workspaceId, name }, opts) {
57
+ return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/variables/${encodeURIComponent(name)}`, {
58
+ ...opts,
59
+ method: "DELETE"
60
+ }));
61
+ }
56
62
  /**
57
63
  * Add context to a typed element in a workspace's stack.
58
64
  */
59
- export function contextControlleraddTypedContextInWorkspace({ workspaceId, stackVersionId, externalId, $type, addTypedContextRequest }, opts) {
65
+ export function addTypedContextInWorkspace({ workspaceId, stackVersionId, externalId, $type, addTypedContextRequest }, opts) {
60
66
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/stacks/${encodeURIComponent(stackVersionId)}/${encodeURIComponent($type)}s/${encodeURIComponent(externalId)}/input-context`, oazapfts.json({
61
67
  ...opts,
62
68
  method: "PUT",
@@ -66,7 +72,7 @@ export function contextControlleraddTypedContextInWorkspace({ workspaceId, stack
66
72
  /**
67
73
  * Get Workflow of a stack in a workspace.
68
74
  */
69
- export function workflowControllergetWorkspaceWorkflow({ workspaceId, stackVersionId, identifier }, opts) {
75
+ export function getWorkspaceWorkflow({ workspaceId, stackVersionId, identifier }, opts) {
70
76
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/stacks/${encodeURIComponent(stackVersionId)}/workflows${QS.query(QS.explode({
71
77
  identifier
72
78
  }))}`, {
@@ -76,7 +82,7 @@ export function workflowControllergetWorkspaceWorkflow({ workspaceId, stackVersi
76
82
  /**
77
83
  * Add step to a workflow belonging to a workspace.
78
84
  */
79
- export function workflowControlleraddWorkflowStepInWorkspace({ workspaceId, stackVersionId, addWorkspaceWorkflowStepRequest }, opts) {
85
+ export function addWorkflowStepInWorkspace({ workspaceId, stackVersionId, addWorkspaceWorkflowStepRequest }, opts) {
80
86
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/stacks/${encodeURIComponent(stackVersionId)}/workflows`, oazapfts.json({
81
87
  ...opts,
82
88
  method: "PUT",
@@ -86,7 +92,7 @@ export function workflowControlleraddWorkflowStepInWorkspace({ workspaceId, stac
86
92
  /**
87
93
  * Import context in a workspace's stack.
88
94
  */
89
- export function contextControllerimportContextInWorkspace({ workspaceId, stackVersionId, body }, opts) {
95
+ export function importContextInWorkspace({ workspaceId, stackVersionId, body }, opts) {
90
96
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/stacks/${encodeURIComponent(stackVersionId)}/input-context`, oazapfts.json({
91
97
  ...opts,
92
98
  method: "PUT",
@@ -96,7 +102,7 @@ export function contextControllerimportContextInWorkspace({ workspaceId, stackVe
96
102
  /**
97
103
  * Update shared infrastructure status.
98
104
  */
99
- export function sharedInfrastructureControllerupdateStatus({ workspaceId, sharedInfraId, updateSharedInfraStatusRequest }, opts) {
105
+ export function updateStatus({ workspaceId, sharedInfraId, updateSharedInfraStatusRequest }, opts) {
100
106
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra/${encodeURIComponent(sharedInfraId)}/status`, oazapfts.json({
101
107
  ...opts,
102
108
  method: "PUT",
@@ -106,7 +112,7 @@ export function sharedInfrastructureControllerupdateStatus({ workspaceId, shared
106
112
  /**
107
113
  * Get shared infra links visibility
108
114
  */
109
- export function sharedInfraLinkControllergetVisibleLinks({ workspaceId, sharedInfraId }, opts) {
115
+ export function getVisibleLinks({ workspaceId, sharedInfraId }, opts) {
110
116
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra/${encodeURIComponent(sharedInfraId)}/links/visibility-management`, {
111
117
  ...opts
112
118
  }));
@@ -114,7 +120,7 @@ export function sharedInfraLinkControllergetVisibleLinks({ workspaceId, sharedIn
114
120
  /**
115
121
  * Update application links visibility
116
122
  */
117
- export function sharedInfraLinkControllerupdateLinksVisibility({ workspaceId, sharedInfraId, body }, opts) {
123
+ export function updateLinksVisibility({ workspaceId, sharedInfraId, body }, opts) {
118
124
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra/${encodeURIComponent(sharedInfraId)}/links/visibility-management`, oazapfts.json({
119
125
  ...opts,
120
126
  method: "PUT",
@@ -124,7 +130,7 @@ export function sharedInfraLinkControllerupdateLinksVisibility({ workspaceId, sh
124
130
  /**
125
131
  * Update activity status by workspace.
126
132
  */
127
- export function managerRunControllerupdateRun({ accountId, workspaceId, runId, updateRunRequest }, opts) {
133
+ export function updateRun({ accountId, workspaceId, runId, updateRunRequest }, opts) {
128
134
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/run/${encodeURIComponent(runId)}`, oazapfts.json({
129
135
  ...opts,
130
136
  method: "PUT",
@@ -137,7 +143,7 @@ export function managerRunControllerupdateRun({ accountId, workspaceId, runId, u
137
143
  /**
138
144
  * Update plugin status by workspace.
139
145
  */
140
- export function managerRunControllerrunTask({ accountId, workspaceId, runId, runTaskRequest }, opts) {
146
+ export function runTask({ accountId, workspaceId, runId, runTaskRequest }, opts) {
141
147
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/run/${encodeURIComponent(runId)}/plugin`, oazapfts.json({
142
148
  ...opts,
143
149
  method: "PUT",
@@ -150,7 +156,7 @@ export function managerRunControllerrunTask({ accountId, workspaceId, runId, run
150
156
  /**
151
157
  * Deployment tag register.
152
158
  */
153
- export function managerRunControllerdeploymentTag({ accountId, workspaceId, runId, deploymentTagRequest }, opts) {
159
+ export function deploymentTag({ accountId, workspaceId, runId, deploymentTagRequest }, opts) {
154
160
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/run/${encodeURIComponent(runId)}/deploy-tag`, oazapfts.json({
155
161
  ...opts,
156
162
  method: "PUT",
@@ -163,7 +169,7 @@ export function managerRunControllerdeploymentTag({ accountId, workspaceId, runI
163
169
  /**
164
170
  * Request to upsert connection interfaces attributes.
165
171
  */
166
- export function connectionInterfaceControllerupdateConnectionInterfaceAttributes({ workspaceId, connectionInterfaceId, updateConnectionInterfaceAttributesRequest }, opts) {
172
+ export function updateConnectionInterfaceAttributes({ workspaceId, connectionInterfaceId, updateConnectionInterfaceAttributesRequest }, opts) {
167
173
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/connection-interfaces/${encodeURIComponent(connectionInterfaceId)}/attributes`, oazapfts.json({
168
174
  ...opts,
169
175
  method: "PUT",
@@ -173,7 +179,7 @@ export function connectionInterfaceControllerupdateConnectionInterfaceAttributes
173
179
  /**
174
180
  * Request to upsert connection interfaces.
175
181
  */
176
- export function connectionInterfaceControllerupsertBatch({ workspaceId, body }, opts) {
182
+ export function upsertBatch({ workspaceId, body }, opts) {
177
183
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/connection-interfaces/batch`, oazapfts.json({
178
184
  ...opts,
179
185
  method: "PUT",
@@ -183,7 +189,7 @@ export function connectionInterfaceControllerupsertBatch({ workspaceId, body },
183
189
  /**
184
190
  * Update application status.
185
191
  */
186
- export function applicationControllerupdateStatus({ workspaceId, applicationId, accountId, updateApplicationStatusRequest }, opts) {
192
+ export function updateStatus1({ workspaceId, applicationId, accountId, updateApplicationStatusRequest }, opts) {
187
193
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/status`, oazapfts.json({
188
194
  ...opts,
189
195
  method: "PUT",
@@ -196,7 +202,7 @@ export function applicationControllerupdateStatus({ workspaceId, applicationId,
196
202
  /**
197
203
  * Get application links visibility
198
204
  */
199
- export function applicationLinkControllergetVisibleLinks({ workspaceId, applicationId }, opts) {
205
+ export function getVisibleLinks1({ workspaceId, applicationId }, opts) {
200
206
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/links/visibility-management`, {
201
207
  ...opts
202
208
  }));
@@ -204,7 +210,7 @@ export function applicationLinkControllergetVisibleLinks({ workspaceId, applicat
204
210
  /**
205
211
  * Update application links visibility
206
212
  */
207
- export function applicationLinkControllerupdateLinksVisibility({ workspaceId, applicationId, body }, opts) {
213
+ export function updateLinksVisibility1({ workspaceId, applicationId, body }, opts) {
208
214
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/links/visibility-management`, oazapfts.json({
209
215
  ...opts,
210
216
  method: "PUT",
@@ -214,7 +220,7 @@ export function applicationLinkControllerupdateLinksVisibility({ workspaceId, ap
214
220
  /**
215
221
  * Get workflow settings with associated stacks.
216
222
  */
217
- export function workflowAccountControllerlistSettingsByAccountWorkflow({ workflowId }, opts) {
223
+ export function listSettingsByAccountWorkflow({ workflowId }, opts) {
218
224
  return oazapfts.ok(oazapfts.fetchJson(`/v1/account/workflows/${encodeURIComponent(workflowId)}/settings`, {
219
225
  ...opts
220
226
  }));
@@ -222,7 +228,7 @@ export function workflowAccountControllerlistSettingsByAccountWorkflow({ workflo
222
228
  /**
223
229
  * Update settings information of a workflow account.
224
230
  */
225
- export function workflowAccountControllerupdateSettingsByAccountWorkflow({ workflowId, settingsWorkflowSaveRequest }, opts) {
231
+ export function updateSettingsByAccountWorkflow({ workflowId, settingsWorkflowSaveRequest }, opts) {
226
232
  return oazapfts.ok(oazapfts.fetchJson(`/v1/account/workflows/${encodeURIComponent(workflowId)}/settings`, oazapfts.json({
227
233
  ...opts,
228
234
  method: "PUT",
@@ -232,7 +238,7 @@ export function workflowAccountControllerupdateSettingsByAccountWorkflow({ workf
232
238
  /**
233
239
  * List all configured context of an workflow account.
234
240
  */
235
- export function workflowAccountControllerlistContextByAccountWorkflow({ workflowId }, opts) {
241
+ export function listContextByAccountWorkflow({ workflowId }, opts) {
236
242
  return oazapfts.ok(oazapfts.fetchJson(`/v1/account/workflows/${encodeURIComponent(workflowId)}/context`, {
237
243
  ...opts
238
244
  }));
@@ -240,7 +246,7 @@ export function workflowAccountControllerlistContextByAccountWorkflow({ workflow
240
246
  /**
241
247
  * Update all context configurations of a workflow account.
242
248
  */
243
- export function workflowAccountControllerupdateContextsByAccountWorkflow({ workflowId, contextsWorkflowSaveRequest }, opts) {
249
+ export function updateContextsByAccountWorkflow({ workflowId, contextsWorkflowSaveRequest }, opts) {
244
250
  return oazapfts.ok(oazapfts.fetchJson(`/v1/account/workflows/${encodeURIComponent(workflowId)}/context`, oazapfts.json({
245
251
  ...opts,
246
252
  method: "PUT",
@@ -250,7 +256,7 @@ export function workflowAccountControllerupdateContextsByAccountWorkflow({ workf
250
256
  /**
251
257
  * List all actions of an workflow account.
252
258
  */
253
- export function workflowAccountControllerlistActionsByAccountWorkflow({ workflowId }, opts) {
259
+ export function listActionsByAccountWorkflow({ workflowId }, opts) {
254
260
  return oazapfts.ok(oazapfts.fetchJson(`/v1/account/workflows/${encodeURIComponent(workflowId)}/actions`, {
255
261
  ...opts
256
262
  }));
@@ -258,47 +264,17 @@ export function workflowAccountControllerlistActionsByAccountWorkflow({ workflow
258
264
  /**
259
265
  * Update all actions associations with a workflow account.
260
266
  */
261
- export function workflowAccountControllerupdateActionsByAccountWorkflow({ workflowId, actionsWorkflowSaveRequest }, opts) {
267
+ export function updateActionsByAccountWorkflow({ workflowId, actionsWorkflowSaveRequest }, opts) {
262
268
  return oazapfts.ok(oazapfts.fetchJson(`/v1/account/workflows/${encodeURIComponent(workflowId)}/actions`, oazapfts.json({
263
269
  ...opts,
264
270
  method: "PUT",
265
271
  body: actionsWorkflowSaveRequest
266
272
  })));
267
273
  }
268
- /**
269
- * Get an account variable by name
270
- */
271
- export function accountVariableControllerfindByName({ accountId, name }, opts) {
272
- return oazapfts.ok(oazapfts.fetchJson(`/v1/account/variables/${encodeURIComponent(name)}`, {
273
- ...opts,
274
- headers: oazapfts.mergeHeaders(opts?.headers, {
275
- accountId
276
- })
277
- }));
278
- }
279
- /**
280
- * Update account variable
281
- */
282
- export function accountVariableControllerupdate({ name, updateAccountVariableRequest }, opts) {
283
- return oazapfts.ok(oazapfts.fetchJson(`/v1/account/variables/${encodeURIComponent(name)}`, oazapfts.json({
284
- ...opts,
285
- method: "PUT",
286
- body: updateAccountVariableRequest
287
- })));
288
- }
289
- /**
290
- * Delete account variable
291
- */
292
- export function accountVariableControllerdelete({ name }, opts) {
293
- return oazapfts.ok(oazapfts.fetchJson(`/v1/account/variables/${encodeURIComponent(name)}`, {
294
- ...opts,
295
- method: "DELETE"
296
- }));
297
- }
298
274
  /**
299
275
  * Add context to a typed element in an account's stack.
300
276
  */
301
- export function contextControlleraddTypedContextInAccount({ stackVersionId, externalId, $type, addTypedContextRequest }, opts) {
277
+ export function addTypedContextInAccount({ stackVersionId, externalId, $type, addTypedContextRequest }, opts) {
302
278
  return oazapfts.ok(oazapfts.fetchJson(`/v1/account/stacks/${encodeURIComponent(stackVersionId)}/${encodeURIComponent($type)}s/${encodeURIComponent(externalId)}/input-context`, oazapfts.json({
303
279
  ...opts,
304
280
  method: "PUT",
@@ -308,7 +284,7 @@ export function contextControlleraddTypedContextInAccount({ stackVersionId, exte
308
284
  /**
309
285
  * Get Workflow of a stack in an account.
310
286
  */
311
- export function workflowControllergetAccountWorkflow({ stackVersionId, identifier }, opts) {
287
+ export function getAccountWorkflow({ stackVersionId, identifier }, opts) {
312
288
  return oazapfts.ok(oazapfts.fetchJson(`/v1/account/stacks/${encodeURIComponent(stackVersionId)}/workflows${QS.query(QS.explode({
313
289
  identifier
314
290
  }))}`, {
@@ -318,7 +294,7 @@ export function workflowControllergetAccountWorkflow({ stackVersionId, identifie
318
294
  /**
319
295
  * Add step to a workflow belonging to an account.
320
296
  */
321
- export function workflowControlleraddWorkflowStepInAccount({ stackVersionId, addAccountWorkflowStepRequest }, opts) {
297
+ export function addWorkflowStepInAccount({ stackVersionId, addAccountWorkflowStepRequest }, opts) {
322
298
  return oazapfts.ok(oazapfts.fetchJson(`/v1/account/stacks/${encodeURIComponent(stackVersionId)}/workflows`, oazapfts.json({
323
299
  ...opts,
324
300
  method: "PUT",
@@ -328,7 +304,7 @@ export function workflowControlleraddWorkflowStepInAccount({ stackVersionId, add
328
304
  /**
329
305
  * Import context in an account's stack.
330
306
  */
331
- export function contextControllerimportContextInAccount({ stackVersionId, body }, opts) {
307
+ export function importContextInAccount({ stackVersionId, body }, opts) {
332
308
  return oazapfts.ok(oazapfts.fetchJson(`/v1/account/stacks/${encodeURIComponent(stackVersionId)}/input-context`, oazapfts.json({
333
309
  ...opts,
334
310
  method: "PUT",
@@ -338,7 +314,7 @@ export function contextControllerimportContextInAccount({ stackVersionId, body }
338
314
  /**
339
315
  * Save stack workflow context
340
316
  */
341
- export function workflowStackControllersaveStackWorkflowContext({ stackId, workflowId, stackWorkflowCreateRequest }, opts) {
317
+ export function saveStackWorkflowContext({ stackId, workflowId, stackWorkflowCreateRequest }, opts) {
342
318
  return oazapfts.ok(oazapfts.fetchJson(`/v1/account/stacks/${encodeURIComponent(stackId)}/workflows/${encodeURIComponent(workflowId)}/context`, oazapfts.json({
343
319
  ...opts,
344
320
  method: "PUT",
@@ -348,7 +324,7 @@ export function workflowStackControllersaveStackWorkflowContext({ stackId, workf
348
324
  /**
349
325
  * List specific shared infra or application usage by plugin list.
350
326
  */
351
- export function usageInsightsControllerlistPluginUsageByTargetId({ accountId, targetType, targetId, body }, opts) {
327
+ export function listPluginUsageByTargetId({ accountId, targetType, targetId, body }, opts) {
352
328
  return oazapfts.ok(oazapfts.fetchJson(`/v1/${encodeURIComponent(targetType)}/${encodeURIComponent(targetId)}/plugins/usage`, oazapfts.json({
353
329
  ...opts,
354
330
  method: "POST",
@@ -361,7 +337,7 @@ export function usageInsightsControllerlistPluginUsageByTargetId({ accountId, ta
361
337
  /**
362
338
  * List all shared infras or applications usage by plugin list.
363
339
  */
364
- export function usageInsightsControllerlistAllPluginUsage({ accountId, targetType, body }, opts) {
340
+ export function listAllPluginUsage({ accountId, targetType, body }, opts) {
365
341
  return oazapfts.ok(oazapfts.fetchJson(`/v1/${encodeURIComponent(targetType)}/plugins/usage`, oazapfts.json({
366
342
  ...opts,
367
343
  method: "POST",
@@ -374,7 +350,7 @@ export function usageInsightsControllerlistAllPluginUsage({ accountId, targetTyp
374
350
  /**
375
351
  * Get all workspaces
376
352
  */
377
- export function workspaceControllergetWorkspaces({ name, aclOnly, accountId }, opts) {
353
+ export function getWorkspaces({ name, aclOnly, accountId }, opts) {
378
354
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces${QS.query(QS.explode({
379
355
  name,
380
356
  aclOnly
@@ -388,17 +364,37 @@ export function workspaceControllergetWorkspaces({ name, aclOnly, accountId }, o
388
364
  /**
389
365
  * Create workspace
390
366
  */
391
- export function workspaceControllersave({ newWorkspaceRequest }, opts) {
367
+ export function save({ newWorkspaceRequest }, opts) {
392
368
  return oazapfts.ok(oazapfts.fetchJson("/v1/workspaces", oazapfts.json({
393
369
  ...opts,
394
370
  method: "POST",
395
371
  body: newWorkspaceRequest
396
372
  })));
397
373
  }
374
+ /**
375
+ * Get all workspace's variables
376
+ */
377
+ export function findAll({ workspaceId, filter }, opts) {
378
+ return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/variables${QS.query(QS.explode({
379
+ filter
380
+ }))}`, {
381
+ ...opts
382
+ }));
383
+ }
384
+ /**
385
+ * Create a workspace's variable
386
+ */
387
+ export function save1({ workspaceId, newWorkspaceVariableRequest }, opts) {
388
+ return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/variables`, oazapfts.json({
389
+ ...opts,
390
+ method: "POST",
391
+ body: newWorkspaceVariableRequest
392
+ })));
393
+ }
398
394
  /**
399
395
  * Get all stacks in a workspace.
400
396
  */
401
- export function workspaceStackControllergetStacks({ workspaceId }, opts) {
397
+ export function getStacks({ workspaceId }, opts) {
402
398
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/stacks`, {
403
399
  ...opts
404
400
  }));
@@ -406,7 +402,7 @@ export function workspaceStackControllergetStacks({ workspaceId }, opts) {
406
402
  /**
407
403
  * Add a stack in a workspace.
408
404
  */
409
- export function workspaceStackControlleraddStack({ workspaceId, addStackInWorkspaceRequest }, opts) {
405
+ export function addStack({ workspaceId, addStackInWorkspaceRequest }, opts) {
410
406
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/stacks`, oazapfts.json({
411
407
  ...opts,
412
408
  method: "POST",
@@ -416,7 +412,7 @@ export function workspaceStackControlleraddStack({ workspaceId, addStackInWorksp
416
412
  /**
417
413
  * Get all stacks with context in a workspace.
418
414
  */
419
- export function workspaceStackControllergetStacksWithContext({ workspaceId, body }, opts) {
415
+ export function getStacksWithContext({ workspaceId, body }, opts) {
420
416
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/stacks/with-context`, oazapfts.json({
421
417
  ...opts,
422
418
  method: "POST",
@@ -426,7 +422,7 @@ export function workspaceStackControllergetStacksWithContext({ workspaceId, body
426
422
  /**
427
423
  * Get all shared infrastructure of a workspace.
428
424
  */
429
- export function sharedInfrastructureControllergetAllSharedInfrastructure({ workspaceId, name, stackVersionId }, opts) {
425
+ export function getAllSharedInfrastructure({ workspaceId, name, stackVersionId }, opts) {
430
426
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra${QS.query(QS.explode({
431
427
  name,
432
428
  stackVersionId
@@ -437,7 +433,7 @@ export function sharedInfrastructureControllergetAllSharedInfrastructure({ works
437
433
  /**
438
434
  * Create shared infrastructure in a workspace.
439
435
  */
440
- export function sharedInfrastructureControllersave({ workspaceId, fromPortal, createSharedInfraRequest }, opts) {
436
+ export function save2({ workspaceId, fromPortal, createSharedInfraRequest }, opts) {
441
437
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra${QS.query(QS.explode({
442
438
  fromPortal
443
439
  }))}`, oazapfts.json({
@@ -449,7 +445,7 @@ export function sharedInfrastructureControllersave({ workspaceId, fromPortal, cr
449
445
  /**
450
446
  * Get shared infrastructure of a workspace.
451
447
  */
452
- export function sharedInfrastructureControllergetSharedInfrastructure({ workspaceId, sharedInfraId }, opts) {
448
+ export function getSharedInfrastructure({ workspaceId, sharedInfraId }, opts) {
453
449
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra/${encodeURIComponent(sharedInfraId)}`, {
454
450
  ...opts
455
451
  }));
@@ -457,7 +453,7 @@ export function sharedInfrastructureControllergetSharedInfrastructure({ workspac
457
453
  /**
458
454
  * Recreate a shared infrastructure in a workspace.
459
455
  */
460
- export function sharedInfrastructureControllerrecreate({ workspaceId, sharedInfraId, recreateSharedInfraRequest }, opts) {
456
+ export function recreate({ workspaceId, sharedInfraId, recreateSharedInfraRequest }, opts) {
461
457
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra/${encodeURIComponent(sharedInfraId)}`, oazapfts.json({
462
458
  ...opts,
463
459
  method: "POST",
@@ -467,7 +463,7 @@ export function sharedInfrastructureControllerrecreate({ workspaceId, sharedInfr
467
463
  /**
468
464
  * Delete infrastructure in a workspace.
469
465
  */
470
- export function sharedInfrastructureControllerdeleteSharedInfra({ workspaceId, sharedInfraId }, opts) {
466
+ export function deleteSharedInfra({ workspaceId, sharedInfraId }, opts) {
471
467
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra/${encodeURIComponent(sharedInfraId)}`, {
472
468
  ...opts,
473
469
  method: "DELETE"
@@ -476,7 +472,7 @@ export function sharedInfrastructureControllerdeleteSharedInfra({ workspaceId, s
476
472
  /**
477
473
  * Update shared infrastructure in a workspace.
478
474
  */
479
- export function sharedInfrastructureControllerupdate({ workspaceId, sharedInfraId, updateSharedInfraRequest }, opts) {
475
+ export function update2({ workspaceId, sharedInfraId, updateSharedInfraRequest }, opts) {
480
476
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra/${encodeURIComponent(sharedInfraId)}`, oazapfts.json({
481
477
  ...opts,
482
478
  method: "PATCH",
@@ -486,7 +482,7 @@ export function sharedInfrastructureControllerupdate({ workspaceId, sharedInfraI
486
482
  /**
487
483
  * Get all shared infra links
488
484
  */
489
- export function sharedInfraLinkControllergetSharedInfraLinks({ workspaceId, sharedInfraId, name }, opts) {
485
+ export function getSharedInfraLinks({ workspaceId, sharedInfraId, name }, opts) {
490
486
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra/${encodeURIComponent(sharedInfraId)}/links${QS.query(QS.explode({
491
487
  name
492
488
  }))}`, {
@@ -496,7 +492,7 @@ export function sharedInfraLinkControllergetSharedInfraLinks({ workspaceId, shar
496
492
  /**
497
493
  * Create shared infra link
498
494
  */
499
- export function sharedInfraLinkControllersave({ workspaceId, sharedInfraId, createSharedInfraLinkRequest }, opts) {
495
+ export function save3({ workspaceId, sharedInfraId, createSharedInfraLinkRequest }, opts) {
500
496
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra/${encodeURIComponent(sharedInfraId)}/links`, oazapfts.json({
501
497
  ...opts,
502
498
  method: "POST",
@@ -506,7 +502,7 @@ export function sharedInfraLinkControllersave({ workspaceId, sharedInfraId, crea
506
502
  /**
507
503
  * Has active deploy with type self hosted?
508
504
  */
509
- export function sharedInfrastructureControllerhasActiveDeployWithTypeSelfHosted({ workspaceId, sharedInfraId }, opts) {
505
+ export function hasActiveDeployWithTypeSelfHosted({ workspaceId, sharedInfraId }, opts) {
510
506
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra/${encodeURIComponent(sharedInfraId)}/has-self-hosted-deploy`, {
511
507
  ...opts,
512
508
  method: "POST"
@@ -515,7 +511,7 @@ export function sharedInfrastructureControllerhasActiveDeployWithTypeSelfHosted(
515
511
  /**
516
512
  * Can the shared infra be destroyed?
517
513
  */
518
- export function sharedInfrastructureControllercanBeDestroyed({ workspaceId, sharedInfraId, environmentId, accountId }, opts) {
514
+ export function canBeDestroyed({ workspaceId, sharedInfraId, environmentId, accountId }, opts) {
519
515
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra/${encodeURIComponent(sharedInfraId)}/environments/${encodeURIComponent(environmentId)}/can-be-destroyed`, {
520
516
  ...opts,
521
517
  method: "POST",
@@ -527,7 +523,7 @@ export function sharedInfrastructureControllercanBeDestroyed({ workspaceId, shar
527
523
  /**
528
524
  * Register the snapshot of a shared infrastructure's deploy.
529
525
  */
530
- export function sharedInfrastructureControllerprocessDeploySnapshot({ workspaceId, sharedInfraId, sharedInfraDeploySnapshotRequest }, opts) {
526
+ export function processDeploySnapshot({ workspaceId, sharedInfraId, sharedInfraDeploySnapshotRequest }, opts) {
531
527
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra/${encodeURIComponent(sharedInfraId)}/deploy`, oazapfts.json({
532
528
  ...opts,
533
529
  method: "POST",
@@ -537,7 +533,7 @@ export function sharedInfrastructureControllerprocessDeploySnapshot({ workspaceI
537
533
  /**
538
534
  * Runs an orchestration in a workspace.
539
535
  */
540
- export function managerRunControllerstartRun({ accountId, workspaceId, startRunRequest }, opts) {
536
+ export function startRun({ accountId, workspaceId, startRunRequest }, opts) {
541
537
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/run`, oazapfts.json({
542
538
  ...opts,
543
539
  method: "POST",
@@ -550,7 +546,7 @@ export function managerRunControllerstartRun({ accountId, workspaceId, startRunR
550
546
  /**
551
547
  * Get all workspace links
552
548
  */
553
- export function workspaceLinkControllergetWorkspaceLinks({ workspaceId, name }, opts) {
549
+ export function getWorkspaceLinks({ workspaceId, name }, opts) {
554
550
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/links${QS.query(QS.explode({
555
551
  name
556
552
  }))}`, {
@@ -560,7 +556,7 @@ export function workspaceLinkControllergetWorkspaceLinks({ workspaceId, name },
560
556
  /**
561
557
  * Create workspace
562
558
  */
563
- export function workspaceLinkControllersave({ workspaceId, createWorkspaceLinkRequest }, opts) {
559
+ export function save4({ workspaceId, createWorkspaceLinkRequest }, opts) {
564
560
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/links`, oazapfts.json({
565
561
  ...opts,
566
562
  method: "POST",
@@ -570,7 +566,7 @@ export function workspaceLinkControllersave({ workspaceId, createWorkspaceLinkRe
570
566
  /**
571
567
  * Get all workspace embedded links
572
568
  */
573
- export function workspaceEmbeddedLinkControllergetEmbeddedLinks({ workspaceId, name }, opts) {
569
+ export function getEmbeddedLinks({ workspaceId, name }, opts) {
574
570
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/embedded-links${QS.query(QS.explode({
575
571
  name
576
572
  }))}`, {
@@ -580,7 +576,7 @@ export function workspaceEmbeddedLinkControllergetEmbeddedLinks({ workspaceId, n
580
576
  /**
581
577
  * Create workspace embedded link
582
578
  */
583
- export function workspaceEmbeddedLinkControllersave({ workspaceId, createWorkspaceEmbeddedLinkRequest }, opts) {
579
+ export function save5({ workspaceId, createWorkspaceEmbeddedLinkRequest }, opts) {
584
580
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/embedded-links`, oazapfts.json({
585
581
  ...opts,
586
582
  method: "POST",
@@ -590,7 +586,7 @@ export function workspaceEmbeddedLinkControllersave({ workspaceId, createWorkspa
590
586
  /**
591
587
  * List all connection interfaces of a workspace.
592
588
  */
593
- export function connectionInterfaceControllergetConnectionInterfaces({ workspaceId, typeId }, opts) {
589
+ export function getConnectionInterfaces({ workspaceId, typeId }, opts) {
594
590
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/connection-interfaces${QS.query(QS.explode({
595
591
  typeId
596
592
  }))}`, {
@@ -600,7 +596,7 @@ export function connectionInterfaceControllergetConnectionInterfaces({ workspace
600
596
  /**
601
597
  * Create a connection interface in a workspace.
602
598
  */
603
- export function connectionInterfaceControlleradd({ workspaceId, createConnectionInterfaceRequest }, opts) {
599
+ export function add({ workspaceId, createConnectionInterfaceRequest }, opts) {
604
600
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/connection-interfaces`, oazapfts.json({
605
601
  ...opts,
606
602
  method: "POST",
@@ -610,7 +606,7 @@ export function connectionInterfaceControlleradd({ workspaceId, createConnection
610
606
  /**
611
607
  * Update the visibility of a connection interface.
612
608
  */
613
- export function connectionInterfaceControllerupdateConnectionInterfaceVisibility({ workspaceId, connectionInterfaceId, updateConnectionInterfaceVisibilityRequest }, opts) {
609
+ export function updateConnectionInterfaceVisibility({ workspaceId, connectionInterfaceId, updateConnectionInterfaceVisibilityRequest }, opts) {
614
610
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/connection-interfaces/${encodeURIComponent(connectionInterfaceId)}/visibility/batch`, oazapfts.json({
615
611
  ...opts,
616
612
  method: "POST",
@@ -620,7 +616,7 @@ export function connectionInterfaceControllerupdateConnectionInterfaceVisibility
620
616
  /**
621
617
  * Get all application of a workspace.
622
618
  */
623
- export function applicationControllergetApplications({ workspaceId, name, stackVersionId }, opts) {
619
+ export function getApplications({ workspaceId, name, stackVersionId }, opts) {
624
620
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications${QS.query(QS.explode({
625
621
  name,
626
622
  stackVersionId
@@ -631,7 +627,7 @@ export function applicationControllergetApplications({ workspaceId, name, stackV
631
627
  /**
632
628
  * Create application on workspace.
633
629
  */
634
- export function applicationControllersave({ workspaceId, fromPortal, createApplicationRequest }, opts) {
630
+ export function save6({ workspaceId, fromPortal, createApplicationRequest }, opts) {
635
631
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications${QS.query(QS.explode({
636
632
  fromPortal
637
633
  }))}`, oazapfts.json({
@@ -643,7 +639,7 @@ export function applicationControllersave({ workspaceId, fromPortal, createAppli
643
639
  /**
644
640
  * Get application of a workspace.
645
641
  */
646
- export function applicationControllergetApplication({ workspaceId, applicationId }, opts) {
642
+ export function getApplication({ workspaceId, applicationId }, opts) {
647
643
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}`, {
648
644
  ...opts
649
645
  }));
@@ -651,7 +647,7 @@ export function applicationControllergetApplication({ workspaceId, applicationId
651
647
  /**
652
648
  * Recreate an application in a workspace.
653
649
  */
654
- export function applicationControllerrecreate({ workspaceId, applicationId, recreateApplicationRequest }, opts) {
650
+ export function recreate1({ workspaceId, applicationId, recreateApplicationRequest }, opts) {
655
651
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}`, oazapfts.json({
656
652
  ...opts,
657
653
  method: "POST",
@@ -661,7 +657,7 @@ export function applicationControllerrecreate({ workspaceId, applicationId, recr
661
657
  /**
662
658
  * Delete application of a workspace.
663
659
  */
664
- export function applicationControllerdeleteApplication({ workspaceId, applicationId, accountId }, opts) {
660
+ export function deleteApplication({ workspaceId, applicationId, accountId }, opts) {
665
661
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}`, {
666
662
  ...opts,
667
663
  method: "DELETE",
@@ -673,7 +669,7 @@ export function applicationControllerdeleteApplication({ workspaceId, applicatio
673
669
  /**
674
670
  * Update an application of a workspace.
675
671
  */
676
- export function applicationControllerupdate({ workspaceId, applicationId, updateApplicationRequest }, opts) {
672
+ export function update6({ workspaceId, applicationId, updateApplicationRequest }, opts) {
677
673
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}`, oazapfts.json({
678
674
  ...opts,
679
675
  method: "PATCH",
@@ -683,7 +679,7 @@ export function applicationControllerupdate({ workspaceId, applicationId, update
683
679
  /**
684
680
  * Get all application links
685
681
  */
686
- export function applicationLinkControllergetApplicationLinks({ workspaceId, applicationId, name }, opts) {
682
+ export function getApplicationLinks({ workspaceId, applicationId, name }, opts) {
687
683
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/links${QS.query(QS.explode({
688
684
  name
689
685
  }))}`, {
@@ -693,7 +689,7 @@ export function applicationLinkControllergetApplicationLinks({ workspaceId, appl
693
689
  /**
694
690
  * Create application link
695
691
  */
696
- export function applicationLinkControllersave({ workspaceId, applicationId, createApplicationLinkRequest }, opts) {
692
+ export function save7({ workspaceId, applicationId, createApplicationLinkRequest }, opts) {
697
693
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/links`, oazapfts.json({
698
694
  ...opts,
699
695
  method: "POST",
@@ -703,7 +699,7 @@ export function applicationLinkControllersave({ workspaceId, applicationId, crea
703
699
  /**
704
700
  * Has active deploy with type self hosted?
705
701
  */
706
- export function applicationControllerhasActiveDeployWithTypeSelfHosted({ workspaceId, applicationId }, opts) {
702
+ export function hasActiveDeployWithTypeSelfHosted1({ workspaceId, applicationId }, opts) {
707
703
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/has-self-hosted-deploy`, {
708
704
  ...opts,
709
705
  method: "POST"
@@ -712,7 +708,7 @@ export function applicationControllerhasActiveDeployWithTypeSelfHosted({ workspa
712
708
  /**
713
709
  * Can the application be destroyed?
714
710
  */
715
- export function applicationControllercanBeDestroyed({ workspaceId, applicationId, environmentId, accountId }, opts) {
711
+ export function canBeDestroyed1({ workspaceId, applicationId, environmentId, accountId }, opts) {
716
712
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/environments/${encodeURIComponent(environmentId)}/can-be-destroyed`, {
717
713
  ...opts,
718
714
  method: "POST",
@@ -721,14 +717,14 @@ export function applicationControllercanBeDestroyed({ workspaceId, applicationId
721
717
  })
722
718
  }));
723
719
  }
724
- export function applicationControllerregistryAppDestroy({ workspaceId, applicationId, environmentId, applicationDestroyRequest }, opts) {
720
+ export function registryAppDestroy({ workspaceId, applicationId, environmentId, applicationDestroyRequest }, opts) {
725
721
  return oazapfts.ok(oazapfts.fetchText(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/environments/${encodeURIComponent(environmentId)}/app-destroy`, oazapfts.json({
726
722
  ...opts,
727
723
  method: "POST",
728
724
  body: applicationDestroyRequest
729
725
  })));
730
726
  }
731
- export function applicationControllerregistryAppDeploy({ workspaceId, applicationId, environmentId, applicationDeployRequest }, opts) {
727
+ export function registryAppDeploy({ workspaceId, applicationId, environmentId, applicationDeployRequest }, opts) {
732
728
  return oazapfts.ok(oazapfts.fetchText(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/environments/${encodeURIComponent(environmentId)}/app-deploy`, oazapfts.json({
733
729
  ...opts,
734
730
  method: "POST",
@@ -738,7 +734,7 @@ export function applicationControllerregistryAppDeploy({ workspaceId, applicatio
738
734
  /**
739
735
  * Get all application embedded links
740
736
  */
741
- export function applicationEmbeddedLinkControllergetEmbeddedLinks({ workspaceId, applicationId, name }, opts) {
737
+ export function getEmbeddedLinks1({ workspaceId, applicationId, name }, opts) {
742
738
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/embedded-links${QS.query(QS.explode({
743
739
  name
744
740
  }))}`, {
@@ -748,7 +744,7 @@ export function applicationEmbeddedLinkControllergetEmbeddedLinks({ workspaceId,
748
744
  /**
749
745
  * Create application embedded link
750
746
  */
751
- export function applicationEmbeddedLinkControllersave({ workspaceId, applicationId, createApplicationEmbeddedLinkRequest }, opts) {
747
+ export function save8({ workspaceId, applicationId, createApplicationEmbeddedLinkRequest }, opts) {
752
748
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/embedded-links`, oazapfts.json({
753
749
  ...opts,
754
750
  method: "POST",
@@ -758,7 +754,7 @@ export function applicationEmbeddedLinkControllersave({ workspaceId, application
758
754
  /**
759
755
  * Register the snapshot of an application's deploy.
760
756
  */
761
- export function applicationControllerprocessDeploySnapshot({ workspaceId, applicationId, applicationDeploySnapshotRequest }, opts) {
757
+ export function processDeploySnapshot1({ workspaceId, applicationId, applicationDeploySnapshotRequest }, opts) {
762
758
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/deploy`, oazapfts.json({
763
759
  ...opts,
764
760
  method: "POST",
@@ -768,7 +764,7 @@ export function applicationControllerprocessDeploySnapshot({ workspaceId, applic
768
764
  /**
769
765
  * List all workspaces usage by stack version list.
770
766
  */
771
- export function usageInsightsControllerlistAllStackUsage({ accountId, body }, opts) {
767
+ export function listAllStackUsage({ accountId, body }, opts) {
772
768
  return oazapfts.ok(oazapfts.fetchJson("/v1/workspaces/stacks/usage", oazapfts.json({
773
769
  ...opts,
774
770
  method: "POST",
@@ -781,7 +777,7 @@ export function usageInsightsControllerlistAllStackUsage({ accountId, body }, op
781
777
  /**
782
778
  * Retrieve the amount of apps and shared infras that use the given plugin version id list
783
779
  */
784
- export function usageInsightsControllerfindPluginUsageAmount({ accountId, body }, opts) {
780
+ export function findPluginUsageAmount({ accountId, body }, opts) {
785
781
  return oazapfts.ok(oazapfts.fetchJson("/v1/plugin-usage", oazapfts.json({
786
782
  ...opts,
787
783
  method: "POST",
@@ -794,7 +790,7 @@ export function usageInsightsControllerfindPluginUsageAmount({ accountId, body }
794
790
  /**
795
791
  * Get environments
796
792
  */
797
- export function environmentControllergetEnvironments({ accountId }, opts) {
793
+ export function getEnvironments({ accountId }, opts) {
798
794
  return oazapfts.ok(oazapfts.fetchJson("/v1/environments", {
799
795
  ...opts,
800
796
  headers: oazapfts.mergeHeaders(opts?.headers, {
@@ -805,7 +801,7 @@ export function environmentControllergetEnvironments({ accountId }, opts) {
805
801
  /**
806
802
  * Save environment
807
803
  */
808
- export function environmentControllersave({ environmentSaveRequest }, opts) {
804
+ export function save9({ environmentSaveRequest }, opts) {
809
805
  return oazapfts.ok(oazapfts.fetchJson("/v1/environments", oazapfts.json({
810
806
  ...opts,
811
807
  method: "POST",
@@ -815,7 +811,7 @@ export function environmentControllersave({ environmentSaveRequest }, opts) {
815
811
  /**
816
812
  * Batch save environment
817
813
  */
818
- export function environmentControllersaveBatch({ accountId, body }, opts) {
814
+ export function saveBatch({ accountId, body }, opts) {
819
815
  return oazapfts.ok(oazapfts.fetchJson("/v1/environments/batch", oazapfts.json({
820
816
  ...opts,
821
817
  method: "POST",
@@ -828,7 +824,7 @@ export function environmentControllersaveBatch({ accountId, body }, opts) {
828
824
  /**
829
825
  * List all workflows of an account.
830
826
  */
831
- export function workflowAccountControllerlistAccountWorkflows({ $type, name }, opts) {
827
+ export function listAccountWorkflows({ $type, name }, opts) {
832
828
  return oazapfts.ok(oazapfts.fetchJson(`/v1/account/workflows${QS.query(QS.explode({
833
829
  "type": $type,
834
830
  name
@@ -839,44 +835,17 @@ export function workflowAccountControllerlistAccountWorkflows({ $type, name }, o
839
835
  /**
840
836
  * Create an account workflow
841
837
  */
842
- export function workflowAccountControllersaveAccountWorkflow({ accountWorkflowCreateRequest }, opts) {
838
+ export function saveAccountWorkflow({ accountWorkflowCreateRequest }, opts) {
843
839
  return oazapfts.ok(oazapfts.fetchJson("/v1/account/workflows", oazapfts.json({
844
840
  ...opts,
845
841
  method: "POST",
846
842
  body: accountWorkflowCreateRequest
847
843
  })));
848
844
  }
849
- /**
850
- * Find all account variables
851
- */
852
- export function accountVariableControllerfindAll({ accountId, name, page, size, sortBy, sortDir }, opts) {
853
- return oazapfts.ok(oazapfts.fetchJson(`/v1/account/variables${QS.query(QS.explode({
854
- name,
855
- page,
856
- size,
857
- sortBy,
858
- sortDir
859
- }))}`, {
860
- ...opts,
861
- headers: oazapfts.mergeHeaders(opts?.headers, {
862
- accountId
863
- })
864
- }));
865
- }
866
- /**
867
- * Create account variable
868
- */
869
- export function accountVariableControllercreate({ createAccountVariableRequest }, opts) {
870
- return oazapfts.ok(oazapfts.fetchJson("/v1/account/variables", oazapfts.json({
871
- ...opts,
872
- method: "POST",
873
- body: createAccountVariableRequest
874
- })));
875
- }
876
845
  /**
877
846
  * List all stacks with context for given account and given stackVersionId list.
878
847
  */
879
- export function contextControllerlistStackVersionsWithAccountContext({ body }, opts) {
848
+ export function listStackVersionsWithAccountContext({ body }, opts) {
880
849
  return oazapfts.ok(oazapfts.fetchJson("/v1/account/stacks-with-context", oazapfts.json({
881
850
  ...opts,
882
851
  method: "POST",
@@ -886,7 +855,7 @@ export function contextControllerlistStackVersionsWithAccountContext({ body }, o
886
855
  /**
887
856
  * Get workspace by id
888
857
  */
889
- export function workspaceControllergetWorkspaceForId({ workspaceId }, opts) {
858
+ export function getWorkspaceForId({ workspaceId }, opts) {
890
859
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}`, {
891
860
  ...opts
892
861
  }));
@@ -894,7 +863,7 @@ export function workspaceControllergetWorkspaceForId({ workspaceId }, opts) {
894
863
  /**
895
864
  * Delete workspace.
896
865
  */
897
- export function workspaceControllerdelete({ workspaceId }, opts) {
866
+ export function deleteV1WorkspacesByWorkspaceId({ workspaceId }, opts) {
898
867
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}`, {
899
868
  ...opts,
900
869
  method: "DELETE"
@@ -903,7 +872,7 @@ export function workspaceControllerdelete({ workspaceId }, opts) {
903
872
  /**
904
873
  * Update workspace
905
874
  */
906
- export function workspaceControllerupdate({ workspaceId, updateWorkspaceRequest }, opts) {
875
+ export function update1({ workspaceId, updateWorkspaceRequest }, opts) {
907
876
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}`, oazapfts.json({
908
877
  ...opts,
909
878
  method: "PATCH",
@@ -913,7 +882,7 @@ export function workspaceControllerupdate({ workspaceId, updateWorkspaceRequest
913
882
  /**
914
883
  * Get shared infra links by id
915
884
  */
916
- export function sharedInfraLinkControllergetSharedInfraLink({ workspaceId, sharedInfraId, linkId }, opts) {
885
+ export function getSharedInfraLink({ workspaceId, sharedInfraId, linkId }, opts) {
917
886
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra/${encodeURIComponent(sharedInfraId)}/links/${encodeURIComponent(linkId)}`, {
918
887
  ...opts
919
888
  }));
@@ -921,7 +890,7 @@ export function sharedInfraLinkControllergetSharedInfraLink({ workspaceId, share
921
890
  /**
922
891
  * Delete shared infra links
923
892
  */
924
- export function sharedInfraLinkControllerdelete({ workspaceId, sharedInfraId, linkId }, opts) {
893
+ export function delete2({ workspaceId, sharedInfraId, linkId }, opts) {
925
894
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra/${encodeURIComponent(sharedInfraId)}/links/${encodeURIComponent(linkId)}`, {
926
895
  ...opts,
927
896
  method: "DELETE"
@@ -930,7 +899,7 @@ export function sharedInfraLinkControllerdelete({ workspaceId, sharedInfraId, li
930
899
  /**
931
900
  * Update shared infra links
932
901
  */
933
- export function sharedInfraLinkControllerupdate({ workspaceId, sharedInfraId, linkId, updateSharedInfraLinkRequest }, opts) {
902
+ export function update3({ workspaceId, sharedInfraId, linkId, updateSharedInfraLinkRequest }, opts) {
934
903
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra/${encodeURIComponent(sharedInfraId)}/links/${encodeURIComponent(linkId)}`, oazapfts.json({
935
904
  ...opts,
936
905
  method: "PATCH",
@@ -940,7 +909,7 @@ export function sharedInfraLinkControllerupdate({ workspaceId, sharedInfraId, li
940
909
  /**
941
910
  * Get workspace link by id
942
911
  */
943
- export function workspaceLinkControllergetWorkspaceLink({ workspaceId, linkId }, opts) {
912
+ export function getWorkspaceLink({ workspaceId, linkId }, opts) {
944
913
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/links/${encodeURIComponent(linkId)}`, {
945
914
  ...opts
946
915
  }));
@@ -948,7 +917,7 @@ export function workspaceLinkControllergetWorkspaceLink({ workspaceId, linkId },
948
917
  /**
949
918
  * Delete workspace links
950
919
  */
951
- export function workspaceLinkControllerdelete({ workspaceId, linkId }, opts) {
920
+ export function delete3({ workspaceId, linkId }, opts) {
952
921
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/links/${encodeURIComponent(linkId)}`, {
953
922
  ...opts,
954
923
  method: "DELETE"
@@ -957,7 +926,7 @@ export function workspaceLinkControllerdelete({ workspaceId, linkId }, opts) {
957
926
  /**
958
927
  * Update workspace links
959
928
  */
960
- export function workspaceLinkControllerupdate({ workspaceId, linkId, updateWorkspaceLinkRequest }, opts) {
929
+ export function update4({ workspaceId, linkId, updateWorkspaceLinkRequest }, opts) {
961
930
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/links/${encodeURIComponent(linkId)}`, oazapfts.json({
962
931
  ...opts,
963
932
  method: "PATCH",
@@ -967,7 +936,7 @@ export function workspaceLinkControllerupdate({ workspaceId, linkId, updateWorks
967
936
  /**
968
937
  * Get workspace embedded link by id
969
938
  */
970
- export function workspaceEmbeddedLinkControllergetEmbeddedLink({ workspaceId, embeddedLinkId }, opts) {
939
+ export function getEmbeddedLink({ workspaceId, embeddedLinkId }, opts) {
971
940
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/embedded-links/${encodeURIComponent(embeddedLinkId)}`, {
972
941
  ...opts
973
942
  }));
@@ -975,7 +944,7 @@ export function workspaceEmbeddedLinkControllergetEmbeddedLink({ workspaceId, em
975
944
  /**
976
945
  * Delete workspace embedded link
977
946
  */
978
- export function workspaceEmbeddedLinkControllerdelete({ workspaceId, embeddedLinkId }, opts) {
947
+ export function delete4({ workspaceId, embeddedLinkId }, opts) {
979
948
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/embedded-links/${encodeURIComponent(embeddedLinkId)}`, {
980
949
  ...opts,
981
950
  method: "DELETE"
@@ -984,7 +953,7 @@ export function workspaceEmbeddedLinkControllerdelete({ workspaceId, embeddedLin
984
953
  /**
985
954
  * Update workspace embedded link
986
955
  */
987
- export function workspaceEmbeddedLinkControllerupdate({ workspaceId, embeddedLinkId, updateWorkspaceEmbeddedLinkRequest }, opts) {
956
+ export function update5({ workspaceId, embeddedLinkId, updateWorkspaceEmbeddedLinkRequest }, opts) {
988
957
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/embedded-links/${encodeURIComponent(embeddedLinkId)}`, oazapfts.json({
989
958
  ...opts,
990
959
  method: "PATCH",
@@ -994,7 +963,7 @@ export function workspaceEmbeddedLinkControllerupdate({ workspaceId, embeddedLin
994
963
  /**
995
964
  * Upsert workspace embedded link
996
965
  */
997
- export function workspaceEmbeddedLinkControllerupsertBatch({ workspaceId, body }, opts) {
966
+ export function upsertBatch1({ workspaceId, body }, opts) {
998
967
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/embedded-links/batch`, oazapfts.json({
999
968
  ...opts,
1000
969
  method: "PATCH",
@@ -1004,7 +973,7 @@ export function workspaceEmbeddedLinkControllerupsertBatch({ workspaceId, body }
1004
973
  /**
1005
974
  * Get application link by id
1006
975
  */
1007
- export function applicationLinkControllergetApplicationLink({ workspaceId, applicationId, linkId }, opts) {
976
+ export function getApplicationLink({ workspaceId, applicationId, linkId }, opts) {
1008
977
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/links/${encodeURIComponent(linkId)}`, {
1009
978
  ...opts
1010
979
  }));
@@ -1012,7 +981,7 @@ export function applicationLinkControllergetApplicationLink({ workspaceId, appli
1012
981
  /**
1013
982
  * Delete workspace links
1014
983
  */
1015
- export function applicationLinkControllerdelete({ workspaceId, applicationId, linkId }, opts) {
984
+ export function delete5({ workspaceId, applicationId, linkId }, opts) {
1016
985
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/links/${encodeURIComponent(linkId)}`, {
1017
986
  ...opts,
1018
987
  method: "DELETE"
@@ -1021,7 +990,7 @@ export function applicationLinkControllerdelete({ workspaceId, applicationId, li
1021
990
  /**
1022
991
  * Update application links
1023
992
  */
1024
- export function applicationLinkControllerupdate({ workspaceId, applicationId, linkId, updateApplicationLinkRequest }, opts) {
993
+ export function update7({ workspaceId, applicationId, linkId, updateApplicationLinkRequest }, opts) {
1025
994
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/links/${encodeURIComponent(linkId)}`, oazapfts.json({
1026
995
  ...opts,
1027
996
  method: "PATCH",
@@ -1031,7 +1000,7 @@ export function applicationLinkControllerupdate({ workspaceId, applicationId, li
1031
1000
  /**
1032
1001
  * Get application embedded link by id
1033
1002
  */
1034
- export function applicationEmbeddedLinkControllergetEmbeddedLink({ workspaceId, applicationId, embeddedLinkId }, opts) {
1003
+ export function getEmbeddedLink1({ workspaceId, applicationId, embeddedLinkId }, opts) {
1035
1004
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/embedded-links/${encodeURIComponent(embeddedLinkId)}`, {
1036
1005
  ...opts
1037
1006
  }));
@@ -1039,7 +1008,7 @@ export function applicationEmbeddedLinkControllergetEmbeddedLink({ workspaceId,
1039
1008
  /**
1040
1009
  * Delete application embedded link
1041
1010
  */
1042
- export function applicationEmbeddedLinkControllerdelete({ workspaceId, applicationId, embeddedLinkId }, opts) {
1011
+ export function delete6({ workspaceId, applicationId, embeddedLinkId }, opts) {
1043
1012
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/embedded-links/${encodeURIComponent(embeddedLinkId)}`, {
1044
1013
  ...opts,
1045
1014
  method: "DELETE"
@@ -1048,7 +1017,7 @@ export function applicationEmbeddedLinkControllerdelete({ workspaceId, applicati
1048
1017
  /**
1049
1018
  * Update application embedded link
1050
1019
  */
1051
- export function applicationEmbeddedLinkControllerupdate({ workspaceId, applicationId, embeddedLinkId, updateApplicationEmbeddedLinkRequest }, opts) {
1020
+ export function update8({ workspaceId, applicationId, embeddedLinkId, updateApplicationEmbeddedLinkRequest }, opts) {
1052
1021
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/embedded-links/${encodeURIComponent(embeddedLinkId)}`, oazapfts.json({
1053
1022
  ...opts,
1054
1023
  method: "PATCH",
@@ -1058,7 +1027,7 @@ export function applicationEmbeddedLinkControllerupdate({ workspaceId, applicati
1058
1027
  /**
1059
1028
  * Upsert application embedded link
1060
1029
  */
1061
- export function applicationEmbeddedLinkControllerupsertBatch({ workspaceId, applicationId, body }, opts) {
1030
+ export function upsertBatch2({ workspaceId, applicationId, body }, opts) {
1062
1031
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/embedded-links/batch`, oazapfts.json({
1063
1032
  ...opts,
1064
1033
  method: "PATCH",
@@ -1068,7 +1037,7 @@ export function applicationEmbeddedLinkControllerupsertBatch({ workspaceId, appl
1068
1037
  /**
1069
1038
  * Archive application from a workspace.
1070
1039
  */
1071
- export function applicationControllerarchiveApplication({ workspaceId, applicationId }, opts) {
1040
+ export function archiveApplication({ workspaceId, applicationId }, opts) {
1072
1041
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/archive`, {
1073
1042
  ...opts,
1074
1043
  method: "PATCH"
@@ -1077,7 +1046,7 @@ export function applicationControllerarchiveApplication({ workspaceId, applicati
1077
1046
  /**
1078
1047
  * Get environment by id
1079
1048
  */
1080
- export function environmentControllergetEnvironment({ id }, opts) {
1049
+ export function getEnvironment({ id }, opts) {
1081
1050
  return oazapfts.ok(oazapfts.fetchJson(`/v1/environments/${encodeURIComponent(id)}`, {
1082
1051
  ...opts
1083
1052
  }));
@@ -1085,36 +1054,17 @@ export function environmentControllergetEnvironment({ id }, opts) {
1085
1054
  /**
1086
1055
  * Update environment
1087
1056
  */
1088
- export function environmentControllerupdate({ id, environmentUpdateRequest }, opts) {
1057
+ export function update9({ id, environmentUpdateRequest }, opts) {
1089
1058
  return oazapfts.ok(oazapfts.fetchJson(`/v1/environments/${encodeURIComponent(id)}`, oazapfts.json({
1090
1059
  ...opts,
1091
1060
  method: "PATCH",
1092
1061
  body: environmentUpdateRequest
1093
1062
  })));
1094
1063
  }
1095
- /**
1096
- * Find all workspace variables
1097
- */
1098
- export function workspaceVariableV2ControllerfindAll({ workspaceId, accountId, page, size, sortBy, sortDir, mandate, name, showEmptyValues }, opts) {
1099
- return oazapfts.ok(oazapfts.fetchJson(`/v2/workspaces/${encodeURIComponent(workspaceId)}/variables${QS.query(QS.explode({
1100
- page,
1101
- size,
1102
- sortBy,
1103
- sortDir,
1104
- mandate,
1105
- name,
1106
- showEmptyValues
1107
- }))}`, {
1108
- ...opts,
1109
- headers: oazapfts.mergeHeaders(opts?.headers, {
1110
- accountId
1111
- })
1112
- }));
1113
- }
1114
1064
  /**
1115
1065
  * Get plugins applied to a workspace's shared infrastructure.
1116
1066
  */
1117
- export function sharedInfrastructureV2ControllergetAppliedPlugins({ workspaceId, sharedInfraId, environmentId }, opts) {
1067
+ export function getAppliedPlugins({ workspaceId, sharedInfraId, environmentId }, opts) {
1118
1068
  return oazapfts.ok(oazapfts.fetchJson(`/v2/workspaces/${encodeURIComponent(workspaceId)}/shared-infra/${encodeURIComponent(sharedInfraId)}/environments/${encodeURIComponent(environmentId)}/plugins`, {
1119
1069
  ...opts
1120
1070
  }));
@@ -1122,7 +1072,7 @@ export function sharedInfrastructureV2ControllergetAppliedPlugins({ workspaceId,
1122
1072
  /**
1123
1073
  * List all available connection interfaces for a workspace.
1124
1074
  */
1125
- export function availableConnectionInterfaceV2ControllergetAvailableConnectionInterfacesForAWorkspace({ workspaceId, typeId, automaticallyGenerated }, opts) {
1075
+ export function getAvailableConnectionInterfacesForAWorkspace({ workspaceId, typeId, automaticallyGenerated }, opts) {
1126
1076
  return oazapfts.ok(oazapfts.fetchJson(`/v2/workspaces/${encodeURIComponent(workspaceId)}/available-connection-interfaces${QS.query(QS.explode({
1127
1077
  typeId,
1128
1078
  automaticallyGenerated
@@ -1133,7 +1083,7 @@ export function availableConnectionInterfaceV2ControllergetAvailableConnectionIn
1133
1083
  /**
1134
1084
  * Get available connection interface for a workspace by its slug.
1135
1085
  */
1136
- export function availableConnectionInterfaceV2ControllergetAvailableConnectionInterfaceForAWorkspace({ workspaceId, slug, environmentId, accountId }, opts) {
1086
+ export function getAvailableConnectionInterfaceForAWorkspace({ workspaceId, slug, environmentId, accountId }, opts) {
1137
1087
  return oazapfts.ok(oazapfts.fetchJson(`/v2/workspaces/${encodeURIComponent(workspaceId)}/available-connection-interfaces/${encodeURIComponent(slug)}${QS.query(QS.explode({
1138
1088
  environmentId
1139
1089
  }))}`, {
@@ -1146,7 +1096,7 @@ export function availableConnectionInterfaceV2ControllergetAvailableConnectionIn
1146
1096
  /**
1147
1097
  * Get plugins applied to a workspace's application.
1148
1098
  */
1149
- export function applicationV2ControllergetAppliedPlugins({ workspaceId, applicationId, environmentId }, opts) {
1099
+ export function getAppliedPlugins1({ workspaceId, applicationId, environmentId }, opts) {
1150
1100
  return oazapfts.ok(oazapfts.fetchJson(`/v2/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/environments/${encodeURIComponent(environmentId)}/plugins`, {
1151
1101
  ...opts
1152
1102
  }));
@@ -1154,7 +1104,7 @@ export function applicationV2ControllergetAppliedPlugins({ workspaceId, applicat
1154
1104
  /**
1155
1105
  * List all available connection interfaces for an application.
1156
1106
  */
1157
- export function availableConnectionInterfaceV2ControllergetAvailableConnectionInterfacesForAnApplication({ applicationId, typeId, automaticallyGenerated }, opts) {
1107
+ export function getAvailableConnectionInterfacesForAnApplication({ applicationId, typeId, automaticallyGenerated }, opts) {
1158
1108
  return oazapfts.ok(oazapfts.fetchJson(`/v2/applications/${encodeURIComponent(applicationId)}/available-connection-interfaces${QS.query(QS.explode({
1159
1109
  typeId,
1160
1110
  automaticallyGenerated
@@ -1165,7 +1115,7 @@ export function availableConnectionInterfaceV2ControllergetAvailableConnectionIn
1165
1115
  /**
1166
1116
  * Get available connection interface for an application by its slug.
1167
1117
  */
1168
- export function availableConnectionInterfaceV2ControllergetAvailableConnectionInterfaceForAnApplication({ applicationId, slug, environmentId }, opts) {
1118
+ export function getAvailableConnectionInterfaceForAnApplication({ applicationId, slug, environmentId }, opts) {
1169
1119
  return oazapfts.ok(oazapfts.fetchJson(`/v2/applications/${encodeURIComponent(applicationId)}/available-connection-interfaces/${encodeURIComponent(slug)}${QS.query(QS.explode({
1170
1120
  environmentId
1171
1121
  }))}`, {
@@ -1175,7 +1125,7 @@ export function availableConnectionInterfaceV2ControllergetAvailableConnectionIn
1175
1125
  /**
1176
1126
  * Get connection interface in use by applicationId or sharedInfraId.
1177
1127
  */
1178
- export function connectionInterfaceInUseControllergetConnectionInterfaceInUseTargetId({ workspaceId, targetId, targetType, slug, accountId, environmentId }, opts) {
1128
+ export function getConnectionInterfaceInUseTargetId({ workspaceId, targetId, targetType, slug, accountId, environmentId }, opts) {
1179
1129
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/${encodeURIComponent(targetType)}/${encodeURIComponent(targetId)}/connection-interfaces-in-use/${encodeURIComponent(slug)}/plugins${QS.query(QS.explode({
1180
1130
  environmentId
1181
1131
  }))}`, {
@@ -1185,20 +1135,10 @@ export function connectionInterfaceInUseControllergetConnectionInterfaceInUseTar
1185
1135
  })
1186
1136
  }));
1187
1137
  }
1188
- /**
1189
- * Get all workspace's variables v1
1190
- */
1191
- export function workspaceVariableV1ControllerfindAll({ workspaceId, filter }, opts) {
1192
- return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/variables${QS.query(QS.explode({
1193
- filter
1194
- }))}`, {
1195
- ...opts
1196
- }));
1197
- }
1198
1138
  /**
1199
1139
  * Get stack in a workspace by stack version id.
1200
1140
  */
1201
- export function workspaceStackControllergetStackById({ workspaceId, stackVersionId }, opts) {
1141
+ export function getStackById({ workspaceId, stackVersionId }, opts) {
1202
1142
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/stacks/${encodeURIComponent(stackVersionId)}`, {
1203
1143
  ...opts
1204
1144
  }));
@@ -1206,7 +1146,7 @@ export function workspaceStackControllergetStackById({ workspaceId, stackVersion
1206
1146
  /**
1207
1147
  * Delete a stack from a workspace.
1208
1148
  */
1209
- export function workspaceStackControllerdeleteStack({ workspaceId, stackVersionId }, opts) {
1149
+ export function deleteStack({ workspaceId, stackVersionId }, opts) {
1210
1150
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/stacks/${encodeURIComponent(stackVersionId)}`, {
1211
1151
  ...opts,
1212
1152
  method: "DELETE"
@@ -1215,7 +1155,7 @@ export function workspaceStackControllerdeleteStack({ workspaceId, stackVersionI
1215
1155
  /**
1216
1156
  * List the consolidated input context of all stack elements for given type in a workspace.
1217
1157
  */
1218
- export function contextControllerlistConsolidatedContext({ workspaceId, stackVersionId, $type, environmentId, externalId }, opts) {
1158
+ export function listConsolidatedContext({ workspaceId, stackVersionId, $type, environmentId, externalId }, opts) {
1219
1159
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/stacks/${encodeURIComponent(stackVersionId)}/${encodeURIComponent($type)}-context${QS.query(QS.explode({
1220
1160
  environmentId,
1221
1161
  externalId
@@ -1226,7 +1166,7 @@ export function contextControllerlistConsolidatedContext({ workspaceId, stackVer
1226
1166
  /**
1227
1167
  * Get workflow settings with context by stack and workflowType
1228
1168
  */
1229
- export function workflowWorkspaceControllerlistWorkflowByStackIdAndWorkflowType({ workspaceId, stackId, workflowType }, opts) {
1169
+ export function listWorkflowByStackIdAndWorkflowType({ workspaceId, stackId, workflowType }, opts) {
1230
1170
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/stacks/${encodeURIComponent(stackId)}/workflows/${encodeURIComponent(workflowType)}`, {
1231
1171
  ...opts
1232
1172
  }));
@@ -1234,7 +1174,7 @@ export function workflowWorkspaceControllerlistWorkflowByStackIdAndWorkflowType(
1234
1174
  /**
1235
1175
  * Get plugins applied to a workspace's shared infrastructure.
1236
1176
  */
1237
- export function sharedInfrastructureControllergetAppliedPlugins({ workspaceId, sharedInfraId, environmentId, $type }, opts) {
1177
+ export function getAppliedPlugins2({ workspaceId, sharedInfraId, environmentId, $type }, opts) {
1238
1178
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra/${encodeURIComponent(sharedInfraId)}/environments/${encodeURIComponent(environmentId)}/plugins${QS.query(QS.explode({
1239
1179
  "type": $type
1240
1180
  }))}`, {
@@ -1244,7 +1184,7 @@ export function sharedInfrastructureControllergetAppliedPlugins({ workspaceId, s
1244
1184
  /**
1245
1185
  * List shared infrastructure's activities.
1246
1186
  */
1247
- export function sharedInfrastructureControllerlistActivities({ workspaceId, sharedInfraId, environmentId, $type, page, size }, opts) {
1187
+ export function listActivities({ workspaceId, sharedInfraId, environmentId, $type, page, size }, opts) {
1248
1188
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra/${encodeURIComponent(sharedInfraId)}/environments/${encodeURIComponent(environmentId)}/activities${QS.query(QS.explode({
1249
1189
  "type": $type,
1250
1190
  page,
@@ -1256,7 +1196,7 @@ export function sharedInfrastructureControllerlistActivities({ workspaceId, shar
1256
1196
  /**
1257
1197
  * Get all in use connection interface dependencies from the shared infra.
1258
1198
  */
1259
- export function sharedInfrastructureControllergetDependencyTree({ workspaceId, sharedInfraId }, opts) {
1199
+ export function getDependencyTree({ workspaceId, sharedInfraId }, opts) {
1260
1200
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/shared-infra/${encodeURIComponent(sharedInfraId)}/dependencies`, {
1261
1201
  ...opts
1262
1202
  }));
@@ -1264,7 +1204,7 @@ export function sharedInfrastructureControllergetDependencyTree({ workspaceId, s
1264
1204
  /**
1265
1205
  * Get a connection interface by connection interface id.
1266
1206
  */
1267
- export function connectionInterfaceControllergetConnectionInterface({ workspaceId, connectionInterfaceId, environmentId }, opts) {
1207
+ export function getConnectionInterface({ workspaceId, connectionInterfaceId, environmentId }, opts) {
1268
1208
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/connection-interfaces/${encodeURIComponent(connectionInterfaceId)}${QS.query(QS.explode({
1269
1209
  environmentId
1270
1210
  }))}`, {
@@ -1274,7 +1214,7 @@ export function connectionInterfaceControllergetConnectionInterface({ workspaceI
1274
1214
  /**
1275
1215
  * Get all connection interface in use.
1276
1216
  */
1277
- export function connectionInterfaceInUseControllergetAllConnectionInterfaceInUse({ workspaceId, accountId }, opts) {
1217
+ export function getAllConnectionInterfaceInUse({ workspaceId, accountId }, opts) {
1278
1218
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/connection-interfaces-in-use`, {
1279
1219
  ...opts,
1280
1220
  headers: oazapfts.mergeHeaders(opts?.headers, {
@@ -1285,7 +1225,7 @@ export function connectionInterfaceInUseControllergetAllConnectionInterfaceInUse
1285
1225
  /**
1286
1226
  * Get connection interface in use by slug.
1287
1227
  */
1288
- export function connectionInterfaceInUseControllergetConnectionInterfaceInUseBySlug({ workspaceId, slug, accountId }, opts) {
1228
+ export function getConnectionInterfaceInUseBySlug({ workspaceId, slug, accountId }, opts) {
1289
1229
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/connection-interfaces-in-use/${encodeURIComponent(slug)}`, {
1290
1230
  ...opts,
1291
1231
  headers: oazapfts.mergeHeaders(opts?.headers, {
@@ -1296,7 +1236,7 @@ export function connectionInterfaceInUseControllergetConnectionInterfaceInUseByS
1296
1236
  /**
1297
1237
  * List all available connection interfaces for a workspace.
1298
1238
  */
1299
- export function availableConnectionInterfaceControllergetAvailableConnectionInterfacesForAWorkspace({ workspaceId, typeId }, opts) {
1239
+ export function getAvailableConnectionInterfacesForAWorkspace1({ workspaceId, typeId }, opts) {
1300
1240
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/available-connection-interfaces${QS.query(QS.explode({
1301
1241
  typeId
1302
1242
  }))}`, {
@@ -1306,7 +1246,7 @@ export function availableConnectionInterfaceControllergetAvailableConnectionInte
1306
1246
  /**
1307
1247
  * Get available connection interface for a workspace by its id.
1308
1248
  */
1309
- export function availableConnectionInterfaceControllergetAvailableConnectionInterfaceForAWorkspace({ workspaceId, connectionInterfaceId, environmentId }, opts) {
1249
+ export function getAvailableConnectionInterfaceForAWorkspace1({ workspaceId, connectionInterfaceId, environmentId }, opts) {
1310
1250
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/available-connection-interfaces/${encodeURIComponent(connectionInterfaceId)}${QS.query(QS.explode({
1311
1251
  environmentId
1312
1252
  }))}`, {
@@ -1316,14 +1256,14 @@ export function availableConnectionInterfaceControllergetAvailableConnectionInte
1316
1256
  /**
1317
1257
  * Get plugins applied to a workspace's application.
1318
1258
  */
1319
- export function applicationControllergetAppliedPlugins({ workspaceId, applicationId, environmentId, $type }, opts) {
1259
+ export function getAppliedPlugins3({ workspaceId, applicationId, environmentId, $type }, opts) {
1320
1260
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/environments/${encodeURIComponent(environmentId)}/plugins${QS.query(QS.explode({
1321
1261
  "type": $type
1322
1262
  }))}`, {
1323
1263
  ...opts
1324
1264
  }));
1325
1265
  }
1326
- export function applicationControllergetAppDeployInfo({ workspaceId, applicationId, environmentId, accountId, tenant }, opts) {
1266
+ export function getAppDeployInfo({ workspaceId, applicationId, environmentId, accountId, tenant }, opts) {
1327
1267
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/environments/${encodeURIComponent(environmentId)}/deploy-info`, {
1328
1268
  ...opts,
1329
1269
  headers: oazapfts.mergeHeaders(opts?.headers, {
@@ -1335,7 +1275,7 @@ export function applicationControllergetAppDeployInfo({ workspaceId, application
1335
1275
  /**
1336
1276
  * List application's activities.
1337
1277
  */
1338
- export function applicationControllerlistActivities({ workspaceId, applicationId, environmentId, $type, page, size }, opts) {
1278
+ export function listActivities1({ workspaceId, applicationId, environmentId, $type, page, size }, opts) {
1339
1279
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/environments/${encodeURIComponent(environmentId)}/activities${QS.query(QS.explode({
1340
1280
  "type": $type,
1341
1281
  page,
@@ -1347,7 +1287,7 @@ export function applicationControllerlistActivities({ workspaceId, applicationId
1347
1287
  /**
1348
1288
  * Get all in use connection interface dependencies from the application.
1349
1289
  */
1350
- export function applicationControllergetDependencyTree({ workspaceId, applicationId }, opts) {
1290
+ export function getDependencyTree1({ workspaceId, applicationId }, opts) {
1351
1291
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/dependencies`, {
1352
1292
  ...opts
1353
1293
  }));
@@ -1355,7 +1295,7 @@ export function applicationControllergetDependencyTree({ workspaceId, applicatio
1355
1295
  /**
1356
1296
  * Can the application be destroyed?
1357
1297
  */
1358
- export function applicationControllercanBeDeleted({ workspaceId, applicationId, accountId, tenant }, opts) {
1298
+ export function canBeDeleted({ workspaceId, applicationId, accountId, tenant }, opts) {
1359
1299
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/applications/${encodeURIComponent(applicationId)}/can-be-deleted`, {
1360
1300
  ...opts,
1361
1301
  headers: oazapfts.mergeHeaders(opts?.headers, {
@@ -1367,7 +1307,7 @@ export function applicationControllercanBeDeleted({ workspaceId, applicationId,
1367
1307
  /**
1368
1308
  * Get all workspaces within user permission
1369
1309
  */
1370
- export function workspaceControllergetWorkspacesFromUserPermission({ resource, action }, opts) {
1310
+ export function getWorkspacesFromUserPermission({ resource, action }, opts) {
1371
1311
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/from-user-permission/${encodeURIComponent(resource)}/${encodeURIComponent(action)}`, {
1372
1312
  ...opts
1373
1313
  }));
@@ -1375,7 +1315,7 @@ export function workspaceControllergetWorkspacesFromUserPermission({ resource, a
1375
1315
  /**
1376
1316
  * Get shared infrastructure information by id.
1377
1317
  */
1378
- export function getSharedInfraControllergetSharedInfra({ id }, opts) {
1318
+ export function getSharedInfra({ id }, opts) {
1379
1319
  return oazapfts.ok(oazapfts.fetchJson(`/v1/shared-infra/${encodeURIComponent(id)}`, {
1380
1320
  ...opts
1381
1321
  }));
@@ -1383,7 +1323,7 @@ export function getSharedInfraControllergetSharedInfra({ id }, opts) {
1383
1323
  /**
1384
1324
  * Check if there is/are any deployment active for the provided plugin
1385
1325
  */
1386
- export function pluginInUseControllercheckPluginInUse({ pluginVersionId }, opts) {
1326
+ export function checkPluginInUse({ pluginVersionId }, opts) {
1387
1327
  return oazapfts.ok(oazapfts.fetchJson(`/v1/plugin-in-use/${encodeURIComponent(pluginVersionId)}`, {
1388
1328
  ...opts
1389
1329
  }));
@@ -1391,7 +1331,7 @@ export function pluginInUseControllercheckPluginInUse({ pluginVersionId }, opts)
1391
1331
  /**
1392
1332
  * Check availability of connection slug in account.
1393
1333
  */
1394
- export function checkConnectionSlugAvailabilityControllercheckConnectionSlugAvailability({ slug }, opts) {
1334
+ export function checkConnectionSlugAvailability({ slug }, opts) {
1395
1335
  return oazapfts.ok(oazapfts.fetchJson(`/v1/connection-interfaces/${encodeURIComponent(slug)}/availability`, {
1396
1336
  ...opts
1397
1337
  }));
@@ -1399,7 +1339,7 @@ export function checkConnectionSlugAvailabilityControllercheckConnectionSlugAvai
1399
1339
  /**
1400
1340
  * Get an application list by repo url.
1401
1341
  */
1402
- export function getApplicationControllergetApplicationsByUrl({ accountId, repoUrl }, opts) {
1342
+ export function getApplicationsByUrl({ accountId, repoUrl }, opts) {
1403
1343
  return oazapfts.ok(oazapfts.fetchJson(`/v1/applications${QS.query(QS.explode({
1404
1344
  repoUrl
1405
1345
  }))}`, {
@@ -1412,7 +1352,7 @@ export function getApplicationControllergetApplicationsByUrl({ accountId, repoUr
1412
1352
  /**
1413
1353
  * Get application information by id.
1414
1354
  */
1415
- export function getApplicationControllergetApplication({ id }, opts) {
1355
+ export function getApplication1({ id }, opts) {
1416
1356
  return oazapfts.ok(oazapfts.fetchJson(`/v1/applications/${encodeURIComponent(id)}`, {
1417
1357
  ...opts
1418
1358
  }));
@@ -1420,7 +1360,7 @@ export function getApplicationControllergetApplication({ id }, opts) {
1420
1360
  /**
1421
1361
  * List all available connection interfaces for an application.
1422
1362
  */
1423
- export function availableConnectionInterfaceControllergetAvailableConnectionInterfacesForAnApplication({ applicationId, typeId }, opts) {
1363
+ export function getAvailableConnectionInterfacesForAnApplication1({ applicationId, typeId }, opts) {
1424
1364
  return oazapfts.ok(oazapfts.fetchJson(`/v1/applications/${encodeURIComponent(applicationId)}/available-connection-interfaces${QS.query(QS.explode({
1425
1365
  typeId
1426
1366
  }))}`, {
@@ -1430,7 +1370,7 @@ export function availableConnectionInterfaceControllergetAvailableConnectionInte
1430
1370
  /**
1431
1371
  * Get available connection interface for an application by its id.
1432
1372
  */
1433
- export function availableConnectionInterfaceControllergetAvailableConnectionInterfaceForAnApplication({ applicationId, connectionInterfaceId, environmentId }, opts) {
1373
+ export function getAvailableConnectionInterfaceForAnApplication1({ applicationId, connectionInterfaceId, environmentId }, opts) {
1434
1374
  return oazapfts.ok(oazapfts.fetchJson(`/v1/applications/${encodeURIComponent(applicationId)}/available-connection-interfaces/${encodeURIComponent(connectionInterfaceId)}${QS.query(QS.explode({
1435
1375
  environmentId
1436
1376
  }))}`, {
@@ -1440,7 +1380,7 @@ export function availableConnectionInterfaceControllergetAvailableConnectionInte
1440
1380
  /**
1441
1381
  * Get action version ranges used in workflows given an actionId.
1442
1382
  */
1443
- export function workflowAccountControllerlistActionVersionRangesUsage({ accountId, actionId }, opts) {
1383
+ export function listActionVersionRangesUsage({ accountId, actionId }, opts) {
1444
1384
  return oazapfts.ok(oazapfts.fetchJson(`/v1/account/workflows/actions/${encodeURIComponent(actionId)}/versions`, {
1445
1385
  ...opts,
1446
1386
  headers: oazapfts.mergeHeaders(opts?.headers, {
@@ -1448,21 +1388,10 @@ export function workflowAccountControllerlistActionVersionRangesUsage({ accountI
1448
1388
  })
1449
1389
  }));
1450
1390
  }
1451
- /**
1452
- * Get account variable usage
1453
- */
1454
- export function accountVariableControllerusage({ accountId, name }, opts) {
1455
- return oazapfts.ok(oazapfts.fetchJson(`/v1/account/variables/${encodeURIComponent(name)}/usage`, {
1456
- ...opts,
1457
- headers: oazapfts.mergeHeaders(opts?.headers, {
1458
- accountId
1459
- })
1460
- }));
1461
- }
1462
1391
  /**
1463
1392
  * List the input context of all stack elements for given type in account.
1464
1393
  */
1465
- export function contextControllerlistAccountContext({ stackVersionId, $type, environmentId, externalId }, opts) {
1394
+ export function listAccountContext({ stackVersionId, $type, environmentId, externalId }, opts) {
1466
1395
  return oazapfts.ok(oazapfts.fetchJson(`/v1/account/stacks/${encodeURIComponent(stackVersionId)}/${encodeURIComponent($type)}-context${QS.query(QS.explode({
1467
1396
  environmentId,
1468
1397
  externalId
@@ -1473,7 +1402,7 @@ export function contextControllerlistAccountContext({ stackVersionId, $type, env
1473
1402
  /**
1474
1403
  * Get workflow of a stackId by workflow type.
1475
1404
  */
1476
- export function workflowStackControllerlistWorkflowByStackIdAndType({ stackId, workflowType }, opts) {
1405
+ export function listWorkflowByStackIdAndType({ stackId, workflowType }, opts) {
1477
1406
  return oazapfts.ok(oazapfts.fetchJson(`/v1/account/stacks/${encodeURIComponent(stackId)}/workflows/${encodeURIComponent(workflowType)}`, {
1478
1407
  ...opts
1479
1408
  }));
@@ -1481,7 +1410,7 @@ export function workflowStackControllerlistWorkflowByStackIdAndType({ stackId, w
1481
1410
  /**
1482
1411
  * Get workflows by a stackId.
1483
1412
  */
1484
- export function workflowStackControllerlistWorkflowsByStackId({ stackId }, opts) {
1413
+ export function listWorkflowsByStackId({ stackId }, opts) {
1485
1414
  return oazapfts.ok(oazapfts.fetchJson(`/v1/account/stacks/${encodeURIComponent(stackId)}/all-workflows`, {
1486
1415
  ...opts
1487
1416
  }));
@@ -1489,7 +1418,7 @@ export function workflowStackControllerlistWorkflowsByStackId({ stackId }, opts)
1489
1418
  /**
1490
1419
  * List all stacks with workflow by account.
1491
1420
  */
1492
- export function accountStackControllerlistStacksWithWorkflow(opts) {
1421
+ export function listStacksWithWorkflow(opts) {
1493
1422
  return oazapfts.ok(oazapfts.fetchJson("/v1/account/stacks/with-workflow", {
1494
1423
  ...opts
1495
1424
  }));
@@ -1497,7 +1426,7 @@ export function accountStackControllerlistStacksWithWorkflow(opts) {
1497
1426
  /**
1498
1427
  * List all default workflows of an account.
1499
1428
  */
1500
- export function workflowAccountControllerlistDefaultAccountWorkflows(opts) {
1429
+ export function listDefaultAccountWorkflows(opts) {
1501
1430
  return oazapfts.ok(oazapfts.fetchJson("/v1/account/default-workflows", {
1502
1431
  ...opts
1503
1432
  }));
@@ -1505,7 +1434,7 @@ export function workflowAccountControllerlistDefaultAccountWorkflows(opts) {
1505
1434
  /**
1506
1435
  * Delete completely connection interfaces from all environments.
1507
1436
  */
1508
- export function connectionInterfaceControllerdeleteConnectionInterfaceFromAllEnvironments({ workspaceId, slug }, opts) {
1437
+ export function deleteConnectionInterfaceFromAllEnvironments({ workspaceId, slug }, opts) {
1509
1438
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/connection-interfaces/${encodeURIComponent(slug)}`, {
1510
1439
  ...opts,
1511
1440
  method: "DELETE"
@@ -1514,7 +1443,7 @@ export function connectionInterfaceControllerdeleteConnectionInterfaceFromAllEnv
1514
1443
  /**
1515
1444
  * Delete connection interfaces.
1516
1445
  */
1517
- export function connectionInterfaceControllerdeleteConnectionInterface({ workspaceId, slug, environmentId, accountId }, opts) {
1446
+ export function deleteConnectionInterface({ workspaceId, slug, environmentId, accountId }, opts) {
1518
1447
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/connection-interfaces/${encodeURIComponent(slug)}/environment/${encodeURIComponent(environmentId)}`, {
1519
1448
  ...opts,
1520
1449
  method: "DELETE",
@@ -1526,7 +1455,7 @@ export function connectionInterfaceControllerdeleteConnectionInterface({ workspa
1526
1455
  /**
1527
1456
  * Delete connection interface attributes by environment.
1528
1457
  */
1529
- export function connectionInterfaceControllerdeleteConnectionInterfaceAttributesFromEnvironment({ workspaceId, slug, environmentId }, opts) {
1458
+ export function deleteConnectionInterfaceAttributesFromEnvironment({ workspaceId, slug, environmentId }, opts) {
1530
1459
  return oazapfts.ok(oazapfts.fetchJson(`/v1/workspaces/${encodeURIComponent(workspaceId)}/connection-interfaces/${encodeURIComponent(slug)}/attributes${QS.query(QS.explode({
1531
1460
  environmentId
1532
1461
  }))}`, {
@@ -1537,7 +1466,7 @@ export function connectionInterfaceControllerdeleteConnectionInterfaceAttributes
1537
1466
  /**
1538
1467
  * Delete an account workflow.
1539
1468
  */
1540
- export function workflowAccountControllerdeleteAccountWorkflow({ workflowId }, opts) {
1469
+ export function deleteAccountWorkflow({ workflowId }, opts) {
1541
1470
  return oazapfts.ok(oazapfts.fetchJson(`/v1/account/workflows/${encodeURIComponent(workflowId)}`, {
1542
1471
  ...opts,
1543
1472
  method: "DELETE"