@stack-spot/portal-network 0.157.1-beta.2 → 0.158.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.
Files changed (77) hide show
  1. package/CHANGELOG.md +12 -58
  2. package/dist/api/account.d.ts +40 -5
  3. package/dist/api/account.d.ts.map +1 -1
  4. package/dist/api/account.js +34 -2
  5. package/dist/api/account.js.map +1 -1
  6. package/dist/api/codeShift.d.ts +196 -110
  7. package/dist/api/codeShift.d.ts.map +1 -1
  8. package/dist/api/codeShift.js +94 -37
  9. package/dist/api/codeShift.js.map +1 -1
  10. package/dist/api/discovery.d.ts +222 -33
  11. package/dist/api/discovery.d.ts.map +1 -1
  12. package/dist/api/discovery.js +78 -27
  13. package/dist/api/discovery.js.map +1 -1
  14. package/dist/api/workspaceManager.d.ts +387 -48
  15. package/dist/api/workspaceManager.d.ts.map +1 -1
  16. package/dist/api/workspaceManager.js +334 -2
  17. package/dist/api/workspaceManager.js.map +1 -1
  18. package/dist/apis.json +1 -1
  19. package/dist/client/account.d.ts +1 -1
  20. package/dist/client/agent-tools.d.ts +3 -89
  21. package/dist/client/agent-tools.d.ts.map +1 -1
  22. package/dist/client/agent-tools.js +2 -133
  23. package/dist/client/agent-tools.js.map +1 -1
  24. package/dist/client/agent.d.ts +50 -5
  25. package/dist/client/agent.d.ts.map +1 -1
  26. package/dist/client/agent.js +64 -0
  27. package/dist/client/agent.js.map +1 -1
  28. package/dist/client/ai.d.ts +0 -7
  29. package/dist/client/ai.d.ts.map +1 -1
  30. package/dist/client/ai.js +1 -10
  31. package/dist/client/ai.js.map +1 -1
  32. package/dist/client/code-shift.d.ts +67 -25
  33. package/dist/client/code-shift.d.ts.map +1 -1
  34. package/dist/client/code-shift.js +73 -30
  35. package/dist/client/code-shift.js.map +1 -1
  36. package/dist/client/discovery.d.ts +6 -12
  37. package/dist/client/discovery.d.ts.map +1 -1
  38. package/dist/client/discovery.js +5 -14
  39. package/dist/client/discovery.js.map +1 -1
  40. package/dist/client/gen-ai-inference.d.ts +0 -9
  41. package/dist/client/gen-ai-inference.d.ts.map +1 -1
  42. package/dist/client/gen-ai-inference.js +1 -10
  43. package/dist/client/gen-ai-inference.js.map +1 -1
  44. package/dist/client/types.d.ts +4 -5
  45. package/dist/client/types.d.ts.map +1 -1
  46. package/dist/client/workspace-manager.d.ts +6 -0
  47. package/dist/client/workspace-manager.d.ts.map +1 -1
  48. package/dist/client/workspace-manager.js +10 -1
  49. package/dist/client/workspace-manager.js.map +1 -1
  50. package/dist/error/DefaultAPIError.d.ts +1 -1
  51. package/dist/error/DefaultAPIError.d.ts.map +1 -1
  52. package/dist/error/DefaultAPIError.js +0 -7
  53. package/dist/error/DefaultAPIError.js.map +1 -1
  54. package/package.json +1 -1
  55. package/readme.md +1 -1
  56. package/src/api/account.ts +79 -7
  57. package/src/api/agent-tools.ts +0 -3
  58. package/src/api/agent.ts +0 -2
  59. package/src/api/codeShift.ts +481 -257
  60. package/src/api/discovery.ts +309 -49
  61. package/src/api/notification.ts +0 -2
  62. package/src/api/workspaceManager.ts +409 -50
  63. package/src/apis.json +1 -1
  64. package/src/client/agent-tools.ts +3 -102
  65. package/src/client/agent.ts +68 -0
  66. package/src/client/ai.ts +0 -6
  67. package/src/client/code-shift.ts +57 -19
  68. package/src/client/discovery.ts +5 -9
  69. package/src/client/gen-ai-inference.ts +1 -6
  70. package/src/client/types.ts +5 -7
  71. package/src/client/workspace-manager.ts +5 -0
  72. package/src/error/DefaultAPIError.ts +1 -9
  73. package/dist/error/types.d.ts +0 -18
  74. package/dist/error/types.d.ts.map +0 -1
  75. package/dist/error/types.js +0 -2
  76. package/dist/error/types.js.map +0 -1
  77. package/src/error/types.ts +0 -20
@@ -8,11 +8,11 @@ import * as Oazapfts from "@oazapfts/runtime";
8
8
  import * as QS from "@oazapfts/runtime/query";
9
9
  export const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders> = {
10
10
  headers: {},
11
- baseUrl: "https://workspace-workspace-manager.dev.stackspot.com",
11
+ baseUrl: "https://workspace-workspace-manager.stg.stackspot.com",
12
12
  };
13
13
  const oazapfts = Oazapfts.runtime(defaults);
14
14
  export const servers = {
15
- generatedServerUrl: "https://workspace-workspace-manager.dev.stackspot.com"
15
+ generatedServerUrl: "https://workspace-workspace-manager.stg.stackspot.com"
16
16
  };
17
17
  export type WorkspaceVariableResponse = {
18
18
  /** Workspace variable name. */
@@ -40,18 +40,18 @@ export type ExternalItemsResponse = {
40
40
  export type InputConditionResponse = {
41
41
  variable: string;
42
42
  operator: string;
43
- value?: object;
43
+ value?: any;
44
44
  };
45
45
  export type ActionConsolidatedAttributeResponse = {
46
46
  key?: string;
47
- value?: object;
47
+ value?: any;
48
48
  final: boolean;
49
49
  label: string;
50
50
  "type": string;
51
51
  required: boolean;
52
52
  help?: string;
53
53
  pattern?: string;
54
- "default"?: object;
54
+ "default"?: any;
55
55
  items?: string[];
56
56
  externalItems?: ExternalItemsResponse;
57
57
  condition?: InputConditionResponse;
@@ -59,8 +59,8 @@ export type ActionConsolidatedAttributeResponse = {
59
59
  readOnly: boolean;
60
60
  connectionInterfaceType?: string;
61
61
  addQuestion?: string;
62
- input?: object;
63
- inputs: object[];
62
+ input?: any;
63
+ inputs: any[];
64
64
  };
65
65
  export type ComputedInputResponse = {
66
66
  name: string;
@@ -81,7 +81,7 @@ export type WorkflowAccountContextResponse = {
81
81
  };
82
82
  export type ContextAttribute = {
83
83
  key: string;
84
- value: object;
84
+ value: any;
85
85
  final: boolean;
86
86
  sourceType?: "ACCOUNT" | "STACK" | "WORKSPACE";
87
87
  };
@@ -102,7 +102,7 @@ export type ConnectionInterfaceAttribute = {
102
102
  /** Attribute key. */
103
103
  key: string;
104
104
  /** Attribute value. */
105
- value: object;
105
+ value: any;
106
106
  /** Indicates if this attribute value is sensitive or not. */
107
107
  sensitive: boolean;
108
108
  /** Indicates the outuput id for the respective attribute and is used for validation. */
@@ -116,7 +116,7 @@ export type ConnectionInterfaceAttributesByEnv = {
116
116
  };
117
117
  export type ValueByEnvResponse = {
118
118
  envName: string;
119
- value: object;
119
+ value: any;
120
120
  mandate: boolean;
121
121
  source: string;
122
122
  };
@@ -127,15 +127,15 @@ export type InputValuesContextResponse = {
127
127
  items?: string[];
128
128
  externalItems?: ExternalItemsResponse;
129
129
  inputEnv: boolean;
130
- "default"?: object;
130
+ "default"?: any;
131
131
  required?: boolean;
132
132
  pattern?: string;
133
133
  help?: string;
134
134
  valuesByEnv: ValueByEnvResponse[];
135
135
  connectionInterfaceType?: string;
136
136
  addQuestion?: string;
137
- input?: object;
138
- inputs: object[];
137
+ input?: any;
138
+ inputs: any[];
139
139
  condition?: InputConditionResponse;
140
140
  isGlobal?: boolean;
141
141
  scope?: string;
@@ -149,12 +149,12 @@ export type UpsertInputContextRequest = {
149
149
  /** Context's environment (omit or null for all in account) */
150
150
  envName?: string;
151
151
  key: string;
152
- value: object;
152
+ value: any;
153
153
  mandate?: boolean;
154
154
  };
155
155
  export type ValueByEnvWorkspaceResponse = {
156
156
  envName: string;
157
- value: object;
157
+ value: any;
158
158
  mandate: boolean;
159
159
  source: string;
160
160
  };
@@ -164,7 +164,7 @@ export type PluginInputValuesInConsolidatedContextResponse = {
164
164
  "type": string;
165
165
  inputEnv: boolean;
166
166
  required?: boolean;
167
- "default"?: object;
167
+ "default"?: any;
168
168
  pattern?: string;
169
169
  help?: string;
170
170
  items?: string[];
@@ -175,26 +175,26 @@ export type PluginInputValuesInConsolidatedContextResponse = {
175
175
  isGlobal?: boolean;
176
176
  connectionInterfaceType?: string;
177
177
  addQuestion?: string;
178
- input?: object;
179
- inputs: object[];
178
+ input?: any;
179
+ inputs: any[];
180
180
  };
181
181
  export type UpsertPluginInputContextRequest = {
182
182
  /** Context's environment (omit or null for all in account) */
183
183
  envName?: string;
184
184
  key: string;
185
- value: object;
185
+ value: any;
186
186
  mandate?: boolean;
187
187
  };
188
188
  export type UpsertActionInputContextRequest = {
189
189
  /** Context's environment (omit or null for all in account) */
190
190
  envName?: string;
191
191
  key: string;
192
- value: object;
192
+ value: any;
193
193
  mandate?: boolean;
194
194
  };
195
195
  export type ValueByEnvAccountResponse = {
196
196
  envName: string;
197
- value: object;
197
+ value: any;
198
198
  mandate: boolean;
199
199
  };
200
200
  export type PluginInputValuesInAccountContextResponse = {
@@ -203,7 +203,7 @@ export type PluginInputValuesInAccountContextResponse = {
203
203
  "type": string;
204
204
  inputEnv: boolean;
205
205
  required?: boolean;
206
- "default"?: object;
206
+ "default"?: any;
207
207
  pattern?: string;
208
208
  help?: string;
209
209
  items?: string[];
@@ -213,8 +213,8 @@ export type PluginInputValuesInAccountContextResponse = {
213
213
  isGlobal?: boolean;
214
214
  connectionInterfaceType?: string;
215
215
  addQuestion?: string;
216
- input?: object;
217
- inputs: object[];
216
+ input?: any;
217
+ inputs: any[];
218
218
  };
219
219
  export type StudioResponse = {
220
220
  slug: string;
@@ -313,14 +313,14 @@ export type PluginRequest = {
313
313
  pluginVersionId?: string;
314
314
  /** Inputs used in workflow. */
315
315
  inputs: {
316
- [key: string]: object;
316
+ [key: string]: any;
317
317
  };
318
318
  /** Inputs sensitives used in workflow. */
319
319
  inputsSensitive?: string[];
320
320
  /** Inputs Env used in workflow. */
321
321
  inputsEnv: {
322
322
  [key: string]: {
323
- [key: string]: object;
323
+ [key: string]: any;
324
324
  };
325
325
  };
326
326
  /** Connections used in workflow. */
@@ -355,7 +355,7 @@ export type ActionsBeforeRequest = {
355
355
  name: string;
356
356
  /** Actions before inputs. */
357
357
  inputs: {
358
- [key: string]: object;
358
+ [key: string]: any;
359
359
  };
360
360
  /** Actions before inputs sensitive. */
361
361
  inputsSensitive?: string[];
@@ -369,7 +369,7 @@ export type ActionsAfterRequest = {
369
369
  name: string;
370
370
  /** Actions after inputs. */
371
371
  inputs: {
372
- [key: string]: object;
372
+ [key: string]: any;
373
373
  };
374
374
  /** Actions after inputs sensitive. */
375
375
  inputsSensitive?: string[];
@@ -383,7 +383,7 @@ export type CreateSharedRequest = {
383
383
  actionsBefore?: ActionsBeforeRequest[];
384
384
  actionsAfter?: ActionsAfterRequest[];
385
385
  /** Data that will be used in case of retry. */
386
- frontData?: object;
386
+ frontData?: any;
387
387
  };
388
388
  export type CreateShareInfraResponse = {
389
389
  sharedInfraId: string;
@@ -433,7 +433,7 @@ export type CreateAppRequest = {
433
433
  /** Information for create api. */
434
434
  api?: ApiRequest;
435
435
  /** Data that will be used in case of retry. */
436
- frontData?: object;
436
+ frontData?: any;
437
437
  };
438
438
  export type CreateApplicationResponse = {
439
439
  applicationId: string;
@@ -447,9 +447,9 @@ export type ContentWorkflowSaveRequest = {
447
447
  targetId?: string;
448
448
  stackVersionId: string;
449
449
  inputs: {
450
- [key: string]: object;
450
+ [key: string]: any;
451
451
  };
452
- frontData?: object;
452
+ frontData?: any;
453
453
  };
454
454
  export type ContentWorkflowSaveResponse = {
455
455
  targetId: string;
@@ -497,11 +497,11 @@ export type InfraPluginRequest = {
497
497
  stackVersionId: string;
498
498
  alias: string;
499
499
  inputs: {
500
- [key: string]: object;
500
+ [key: string]: any;
501
501
  };
502
502
  inputsEnv: {
503
503
  [key: string]: {
504
- [key: string]: object;
504
+ [key: string]: any;
505
505
  };
506
506
  };
507
507
  connections: PluginsConnectionsRequest;
@@ -587,9 +587,9 @@ export type ManagerRunResponse = {
587
587
  export type ConnectionInterfaceAttributeResponse = {
588
588
  id?: string;
589
589
  key: string;
590
- value: object;
590
+ value: any;
591
591
  sensitive: boolean;
592
- schema?: object;
592
+ schema?: any;
593
593
  };
594
594
  export type AppliedPluginResponseConnectionInterfacesIdResponse = {
595
595
  id: string;
@@ -638,7 +638,7 @@ export type AppliedPluginResponse = {
638
638
  iacPath?: string;
639
639
  singleUse?: boolean;
640
640
  attributes?: {
641
- [key: string]: object;
641
+ [key: string]: any;
642
642
  };
643
643
  connectionInterfaces?: AppliedPluginResponseConnectionInterfacesIdResponse[];
644
644
  actions?: AppliedPluginResponseActionsResponse[];
@@ -659,7 +659,7 @@ export type ActivityResponse = {
659
659
  time: number;
660
660
  version: string;
661
661
  detail: {
662
- [key: string]: object;
662
+ [key: string]: any;
663
663
  };
664
664
  jobsCount: number;
665
665
  };
@@ -676,7 +676,7 @@ export type WorkspaceContextV2ResponseWorkspacePluginAttributeContext = {
676
676
  /** Key identifier of an input */
677
677
  key: string;
678
678
  /** Value of an input */
679
- value: object;
679
+ value: any;
680
680
  /** Identifies whether this attribute can be overwritten or not */
681
681
  mandate: boolean;
682
682
  /** Source */
@@ -723,7 +723,7 @@ export type WorkspaceContextV2ResponseConnectionInterface = {
723
723
  };
724
724
  export type WorkspaceContextV2Response = {
725
725
  /** Cloud accounts information */
726
- cloudAccounts: object[];
726
+ cloudAccounts: any[];
727
727
  /** Context information for each environment and plugin in stack */
728
728
  context: WorkspaceContextV2ResponsePlugin[];
729
729
  /** Workspace Connection Interfaces information */
@@ -865,11 +865,11 @@ export type InfraPluginResponse = {
865
865
  displayName: string;
866
866
  alias: string;
867
867
  inputs: {
868
- [key: string]: object;
868
+ [key: string]: any;
869
869
  };
870
870
  inputsEnvs: {
871
871
  [key: string]: {
872
- [key: string]: object;
872
+ [key: string]: any;
873
873
  };
874
874
  };
875
875
  connections: Connections;
@@ -904,10 +904,10 @@ export type UpdateInfraPluginResponse = {
904
904
  plugins: InfraPluginWithStacksResponse[];
905
905
  stkFilePath: string;
906
906
  globalInputs: {
907
- [key: string]: object;
907
+ [key: string]: any;
908
908
  };
909
909
  globalComputedInputs: {
910
- [key: string]: object;
910
+ [key: string]: any;
911
911
  };
912
912
  };
913
913
  export type LinksConsolidateResponse = {
@@ -1115,6 +1115,12 @@ export type AccountSharedInfraPageResponse = {
1115
1115
  totalPages: number;
1116
1116
  items: AccountSharedInfraSimpleResponse[];
1117
1117
  };
1118
+ export type EnvironmentResponse = {
1119
+ id: string;
1120
+ name: string;
1121
+ description: string;
1122
+ isProductive: boolean;
1123
+ };
1118
1124
  export type WorkflowVersionInfoResponse = {
1119
1125
  id: string;
1120
1126
  displayName: string;
@@ -1123,8 +1129,14 @@ export type WorkflowVersionInfoResponse = {
1123
1129
  semanticVersion: string;
1124
1130
  targetApp: boolean;
1125
1131
  targetInfra: boolean;
1132
+ hasPortalExtension: boolean;
1126
1133
  createdAt: string;
1127
1134
  };
1135
+ export type ExtensionsResponse = {
1136
+ id: string;
1137
+ name: string;
1138
+ slug: string;
1139
+ };
1128
1140
  export type WorkflowForCreationResponse = {
1129
1141
  id: string;
1130
1142
  slug: string;
@@ -1133,6 +1145,7 @@ export type WorkflowForCreationResponse = {
1133
1145
  computedInputs: ComputedInputResponse[];
1134
1146
  globalComputedInputs: ComputedInputResponse[];
1135
1147
  versionInfo?: WorkflowVersionInfoResponse;
1148
+ portalExtensions: ExtensionsResponse[];
1136
1149
  };
1137
1150
  export type StackActionInputValuesByEnvInWorkspaceContextResponse = {
1138
1151
  name: string;
@@ -1141,15 +1154,16 @@ export type StackActionInputValuesByEnvInWorkspaceContextResponse = {
1141
1154
  items?: string[];
1142
1155
  externalItems?: ExternalItemsResponse;
1143
1156
  inputEnv: boolean;
1144
- "default"?: object;
1157
+ "default"?: any;
1145
1158
  required?: boolean;
1146
1159
  pattern?: string;
1147
1160
  help?: string;
1148
1161
  valuesByEnv: ValueByEnvWorkspaceResponse[];
1162
+ condition?: InputConditionResponse;
1149
1163
  connectionInterfaceType?: string;
1150
1164
  addQuestion?: string;
1151
- input?: object;
1152
- inputs: object[];
1165
+ input?: any;
1166
+ inputs: any[];
1153
1167
  };
1154
1168
  export type StackActionInputValuesByEnvInAccountContextResponse = {
1155
1169
  name: string;
@@ -1158,15 +1172,16 @@ export type StackActionInputValuesByEnvInAccountContextResponse = {
1158
1172
  items?: string[];
1159
1173
  externalItems?: ExternalItemsResponse;
1160
1174
  inputEnv: boolean;
1161
- "default"?: object;
1175
+ "default"?: any;
1162
1176
  required?: boolean;
1163
1177
  pattern?: string;
1164
1178
  help?: string;
1165
1179
  valuesByEnv: ValueByEnvAccountResponse[];
1180
+ condition?: InputConditionResponse;
1166
1181
  connectionInterfaceType?: string;
1167
1182
  addQuestion?: string;
1168
- input?: object;
1169
- inputs: object[];
1183
+ input?: any;
1184
+ inputs: any[];
1170
1185
  };
1171
1186
  export type AccountApplicationSimpleResponse = {
1172
1187
  id: string;
@@ -1255,6 +1270,9 @@ export type AccountContextStackResponse = {
1255
1270
  hasVersionsWithContext: boolean;
1256
1271
  versions: StackVersionWksResponse[];
1257
1272
  };
1273
+ /**
1274
+ * Get workspace variable by name
1275
+ */
1258
1276
  export function workspaceVariableControllerfindByName({ accountId, workspaceId, name }: {
1259
1277
  accountId?: string;
1260
1278
  workspaceId: string;
@@ -1270,6 +1288,9 @@ export function workspaceVariableControllerfindByName({ accountId, workspaceId,
1270
1288
  })
1271
1289
  }));
1272
1290
  }
1291
+ /**
1292
+ * Update workspace variable
1293
+ */
1273
1294
  export function workspaceVariableControllerupsert({ workspaceId, name, upsertWorkspaceVariableRequest }: {
1274
1295
  workspaceId: string;
1275
1296
  name: string;
@@ -1281,6 +1302,9 @@ export function workspaceVariableControllerupsert({ workspaceId, name, upsertWor
1281
1302
  body: upsertWorkspaceVariableRequest
1282
1303
  })));
1283
1304
  }
1305
+ /**
1306
+ * Get workspace stack workflow context
1307
+ */
1284
1308
  export function workflowWorkspaceControllerfindWorkflowStackContext({ workspaceId, stackId, workflowId }: {
1285
1309
  workspaceId: string;
1286
1310
  stackId: string;
@@ -1293,6 +1317,9 @@ export function workflowWorkspaceControllerfindWorkflowStackContext({ workspaceI
1293
1317
  ...opts
1294
1318
  }));
1295
1319
  }
1320
+ /**
1321
+ * Save workspace stack workflow context
1322
+ */
1296
1323
  export function workflowWorkspaceControllersaveWorkflowWorkspaceContext({ workspaceId, stackId, workflowId, workflowContextSaveRequest }: {
1297
1324
  workspaceId: string;
1298
1325
  stackId: string;
@@ -1305,6 +1332,9 @@ export function workflowWorkspaceControllersaveWorkflowWorkspaceContext({ worksp
1305
1332
  body: workflowContextSaveRequest
1306
1333
  })));
1307
1334
  }
1335
+ /**
1336
+ * Update stacks in a workspace
1337
+ */
1308
1338
  export function workspaceStackControllerrefreshStacksInWorkspace({ workspaceId, addStackInWorkspaceRequest }: {
1309
1339
  workspaceId: string;
1310
1340
  addStackInWorkspaceRequest: AddStackInWorkspaceRequest;
@@ -1315,6 +1345,9 @@ export function workspaceStackControllerrefreshStacksInWorkspace({ workspaceId,
1315
1345
  body: addStackInWorkspaceRequest
1316
1346
  })));
1317
1347
  }
1348
+ /**
1349
+ * Update workspace connection interface attributes
1350
+ */
1318
1351
  export function connectionInterfaceControllerupdateConnectionInterfaceAttributes({ workspaceId, connectionInterfaceId, connectionInterfaceAttributesByEnv }: {
1319
1352
  workspaceId: string;
1320
1353
  connectionInterfaceId: string;
@@ -1326,6 +1359,9 @@ export function connectionInterfaceControllerupdateConnectionInterfaceAttributes
1326
1359
  body: connectionInterfaceAttributesByEnv
1327
1360
  })));
1328
1361
  }
1362
+ /**
1363
+ * List stack workflow inputs in workspace context
1364
+ */
1329
1365
  export function contextWorkflowControllergetWorkspaceWorkflowInputs({ workspaceId, stackVersionId, workflowVersionId, envName }: {
1330
1366
  workspaceId: string;
1331
1367
  stackVersionId: string;
@@ -1341,6 +1377,9 @@ export function contextWorkflowControllergetWorkspaceWorkflowInputs({ workspaceI
1341
1377
  ...opts
1342
1378
  }));
1343
1379
  }
1380
+ /**
1381
+ * Update stack workflow inputs in workspace context
1382
+ */
1344
1383
  export function contextControllerupsertWorkflowWorkspaceContext({ workspaceId, stackVersionId, workflowVersionId, body }: {
1345
1384
  workspaceId: string;
1346
1385
  stackVersionId: string;
@@ -1353,6 +1392,9 @@ export function contextControllerupsertWorkflowWorkspaceContext({ workspaceId, s
1353
1392
  body
1354
1393
  })));
1355
1394
  }
1395
+ /**
1396
+ * List stack plugin inputs in workspace context
1397
+ */
1356
1398
  export function contextControllergetConsolidatedPluginInputs({ workspaceId, stackVersionId, pluginVersionId, envName }: {
1357
1399
  workspaceId: string;
1358
1400
  stackVersionId: string;
@@ -1368,6 +1410,9 @@ export function contextControllergetConsolidatedPluginInputs({ workspaceId, stac
1368
1410
  ...opts
1369
1411
  }));
1370
1412
  }
1413
+ /**
1414
+ * Update stack plugin inputs in workspace context
1415
+ */
1371
1416
  export function contextControllerupsertPluginWorkspaceContext({ workspaceId, stackVersionId, pluginVersionId, body }: {
1372
1417
  workspaceId: string;
1373
1418
  stackVersionId: string;
@@ -1380,6 +1425,9 @@ export function contextControllerupsertPluginWorkspaceContext({ workspaceId, sta
1380
1425
  body
1381
1426
  })));
1382
1427
  }
1428
+ /**
1429
+ * Update stack action inputs in workspace context
1430
+ */
1383
1431
  export function contextControllerupsertWorkspaceActionsInputContext({ workspaceId, stackVersionId, actionVersionId, body }: {
1384
1432
  workspaceId: string;
1385
1433
  stackVersionId: string;
@@ -1392,6 +1440,9 @@ export function contextControllerupsertWorkspaceActionsInputContext({ workspaceI
1392
1440
  body
1393
1441
  })));
1394
1442
  }
1443
+ /**
1444
+ * List stack workflow inputs in account context
1445
+ */
1395
1446
  export function contextWorkflowControllergetAccountWorkflowInputs({ stackVersionId, workflowVersionId, envName }: {
1396
1447
  stackVersionId: string;
1397
1448
  workflowVersionId: string;
@@ -1406,6 +1457,9 @@ export function contextWorkflowControllergetAccountWorkflowInputs({ stackVersion
1406
1457
  ...opts
1407
1458
  }));
1408
1459
  }
1460
+ /**
1461
+ * Update stack workflow inputs in account context
1462
+ */
1409
1463
  export function contextControllerupsertWorkflowAccountContext({ stackVersionId, workflowVersionId, body }: {
1410
1464
  stackVersionId: string;
1411
1465
  workflowVersionId: string;
@@ -1417,6 +1471,9 @@ export function contextControllerupsertWorkflowAccountContext({ stackVersionId,
1417
1471
  body
1418
1472
  })));
1419
1473
  }
1474
+ /**
1475
+ * List stack plugin inputs in account context
1476
+ */
1420
1477
  export function contextControllergetAccountPluginInputs({ stackVersionId, pluginVersionId, envName }: {
1421
1478
  stackVersionId: string;
1422
1479
  pluginVersionId: string;
@@ -1431,6 +1488,9 @@ export function contextControllergetAccountPluginInputs({ stackVersionId, plugin
1431
1488
  ...opts
1432
1489
  }));
1433
1490
  }
1491
+ /**
1492
+ * Update stack plugin inputs in account context
1493
+ */
1434
1494
  export function contextControllerupsertPluginAccountContext({ stackVersionId, pluginVersionId, body }: {
1435
1495
  stackVersionId: string;
1436
1496
  pluginVersionId: string;
@@ -1442,6 +1502,9 @@ export function contextControllerupsertPluginAccountContext({ stackVersionId, pl
1442
1502
  body
1443
1503
  })));
1444
1504
  }
1505
+ /**
1506
+ * Update stack action inputs in account context
1507
+ */
1445
1508
  export function contextControllerupsertAccountActionsInputContext({ stackVersionId, actionVersionId, body }: {
1446
1509
  stackVersionId: string;
1447
1510
  actionVersionId: string;
@@ -1453,6 +1516,9 @@ export function contextControllerupsertAccountActionsInputContext({ stackVersion
1453
1516
  body
1454
1517
  })));
1455
1518
  }
1519
+ /**
1520
+ * Get account workflow settings
1521
+ */
1456
1522
  export function workflowAccountControllerfindWorkflowSettings({ workflowId }: {
1457
1523
  workflowId: string;
1458
1524
  }, opts?: Oazapfts.RequestOpts) {
@@ -1463,6 +1529,9 @@ export function workflowAccountControllerfindWorkflowSettings({ workflowId }: {
1463
1529
  ...opts
1464
1530
  }));
1465
1531
  }
1532
+ /**
1533
+ * Update account workflow settings
1534
+ */
1466
1535
  export function workflowAccountControllersaveWorkflowSettings({ workflowId, workflowSettingsSaveRequest }: {
1467
1536
  workflowId: string;
1468
1537
  workflowSettingsSaveRequest: WorkflowSettingsSaveRequest;
@@ -1473,6 +1542,9 @@ export function workflowAccountControllersaveWorkflowSettings({ workflowId, work
1473
1542
  body: workflowSettingsSaveRequest
1474
1543
  })));
1475
1544
  }
1545
+ /**
1546
+ * List account workflow context
1547
+ */
1476
1548
  export function workflowAccountControllerfindWorkflowContext({ workflowId }: {
1477
1549
  workflowId: string;
1478
1550
  }, opts?: Oazapfts.RequestOpts) {
@@ -1483,6 +1555,9 @@ export function workflowAccountControllerfindWorkflowContext({ workflowId }: {
1483
1555
  ...opts
1484
1556
  }));
1485
1557
  }
1558
+ /**
1559
+ * Update account workflow context
1560
+ */
1486
1561
  export function workflowAccountControllersaveWorkflowContext({ workflowId, workflowContextSaveRequest }: {
1487
1562
  workflowId: string;
1488
1563
  workflowContextSaveRequest: WorkflowContextSaveRequest;
@@ -1493,6 +1568,9 @@ export function workflowAccountControllersaveWorkflowContext({ workflowId, workf
1493
1568
  body: workflowContextSaveRequest
1494
1569
  })));
1495
1570
  }
1571
+ /**
1572
+ * List account workflow actions
1573
+ */
1496
1574
  export function workflowAccountControllergetWorkflowActions({ workflowId }: {
1497
1575
  workflowId: string;
1498
1576
  }, opts?: Oazapfts.RequestOpts) {
@@ -1503,6 +1581,9 @@ export function workflowAccountControllergetWorkflowActions({ workflowId }: {
1503
1581
  ...opts
1504
1582
  }));
1505
1583
  }
1584
+ /**
1585
+ * Update account workflow actions
1586
+ */
1506
1587
  export function workflowAccountControllerupdateWorkflowActions({ workflowId, workflowActionsRequest }: {
1507
1588
  workflowId: string;
1508
1589
  workflowActionsRequest: WorkflowActionsRequest;
@@ -1513,6 +1594,9 @@ export function workflowAccountControllerupdateWorkflowActions({ workflowId, wor
1513
1594
  body: workflowActionsRequest
1514
1595
  })));
1515
1596
  }
1597
+ /**
1598
+ * Get account variable by name
1599
+ */
1516
1600
  export function accountVariableControllerfindByName({ accountId, name }: {
1517
1601
  accountId?: string;
1518
1602
  name: string;
@@ -1527,6 +1611,9 @@ export function accountVariableControllerfindByName({ accountId, name }: {
1527
1611
  })
1528
1612
  }));
1529
1613
  }
1614
+ /**
1615
+ * Update account variable
1616
+ */
1530
1617
  export function accountVariableControllerupdate({ name, updateAccountVariableRequest }: {
1531
1618
  name: string;
1532
1619
  updateAccountVariableRequest: UpdateAccountVariableRequest;
@@ -1537,6 +1624,9 @@ export function accountVariableControllerupdate({ name, updateAccountVariableReq
1537
1624
  body: updateAccountVariableRequest
1538
1625
  })));
1539
1626
  }
1627
+ /**
1628
+ * Delete account variable
1629
+ */
1540
1630
  export function accountVariableControllerdelete({ name }: {
1541
1631
  name: string;
1542
1632
  }, opts?: Oazapfts.RequestOpts) {
@@ -1545,6 +1635,9 @@ export function accountVariableControllerdelete({ name }: {
1545
1635
  method: "DELETE"
1546
1636
  }));
1547
1637
  }
1638
+ /**
1639
+ * Get account stack workflow context
1640
+ */
1548
1641
  export function workflowStackControllerfindWorkflowStackContext({ stackId, workflowId }: {
1549
1642
  stackId: string;
1550
1643
  workflowId: string;
@@ -1556,6 +1649,9 @@ export function workflowStackControllerfindWorkflowStackContext({ stackId, workf
1556
1649
  ...opts
1557
1650
  }));
1558
1651
  }
1652
+ /**
1653
+ * Save account stack workflow context
1654
+ */
1559
1655
  export function workflowStackControllersaveWorkflowStackContext({ stackId, workflowId, workflowContextSaveRequest }: {
1560
1656
  stackId: string;
1561
1657
  workflowId: string;
@@ -1567,6 +1663,9 @@ export function workflowStackControllersaveWorkflowStackContext({ stackId, workf
1567
1663
  body: workflowContextSaveRequest
1568
1664
  })));
1569
1665
  }
1666
+ /**
1667
+ * Create shared infrastructure in a workspace
1668
+ */
1570
1669
  export function sharedInfraControllerV2CreateSharedInfra({ workspaceId, createSharedRequest }: {
1571
1670
  workspaceId: string;
1572
1671
  createSharedRequest: CreateSharedRequest;
@@ -1580,6 +1679,9 @@ export function sharedInfraControllerV2CreateSharedInfra({ workspaceId, createSh
1580
1679
  body: createSharedRequest
1581
1680
  })));
1582
1681
  }
1682
+ /**
1683
+ * Create application in a workspace
1684
+ */
1583
1685
  export function applicationControllerV2CreateApp({ workspaceId, createAppRequest }: {
1584
1686
  workspaceId: string;
1585
1687
  createAppRequest: CreateAppRequest;
@@ -1593,6 +1695,9 @@ export function applicationControllerV2CreateApp({ workspaceId, createAppRequest
1593
1695
  body: createAppRequest
1594
1696
  })));
1595
1697
  }
1698
+ /**
1699
+ * Create workspace shared infrastructure through workflow
1700
+ */
1596
1701
  export function contentWorkflowControllercreateSharedInfraThroughWorkflow({ workspaceId, workflowVersionId, contentWorkflowSaveRequest }: {
1597
1702
  workspaceId: string;
1598
1703
  workflowVersionId: string;
@@ -1607,6 +1712,9 @@ export function contentWorkflowControllercreateSharedInfraThroughWorkflow({ work
1607
1712
  body: contentWorkflowSaveRequest
1608
1713
  })));
1609
1714
  }
1715
+ /**
1716
+ * Create workspace application through workflow
1717
+ */
1610
1718
  export function contentWorkflowControllercreateApplicationThroughWorkflow({ workspaceId, workflowVersionId, contentWorkflowSaveRequest }: {
1611
1719
  workspaceId: string;
1612
1720
  workflowVersionId: string;
@@ -1621,6 +1729,9 @@ export function contentWorkflowControllercreateApplicationThroughWorkflow({ work
1621
1729
  body: contentWorkflowSaveRequest
1622
1730
  })));
1623
1731
  }
1732
+ /**
1733
+ * List workspace stacks
1734
+ */
1624
1735
  export function workspaceStackControllerlistStacks({ workspaceId }: {
1625
1736
  workspaceId: string;
1626
1737
  }, opts?: Oazapfts.RequestOpts) {
@@ -1631,6 +1742,9 @@ export function workspaceStackControllerlistStacks({ workspaceId }: {
1631
1742
  ...opts
1632
1743
  }));
1633
1744
  }
1745
+ /**
1746
+ * Add a stack in a workspace
1747
+ */
1634
1748
  export function workspaceStackControlleraddStacksInWorkspace({ workspaceId, addStackInWorkspaceRequest }: {
1635
1749
  workspaceId: string;
1636
1750
  addStackInWorkspaceRequest: AddStackInWorkspaceRequest;
@@ -1641,6 +1755,9 @@ export function workspaceStackControlleraddStacksInWorkspace({ workspaceId, addS
1641
1755
  body: addStackInWorkspaceRequest
1642
1756
  })));
1643
1757
  }
1758
+ /**
1759
+ * Remove workspace shared infrastructure infra plugins and create pull request
1760
+ */
1644
1761
  export function updateInfrastructureControllerremoveInfraPluginsAndCreatePullRequestBySharedInfra({ workspaceId, sharedInfraId, removePluginAndCreatePrRequest }: {
1645
1762
  workspaceId: string;
1646
1763
  sharedInfraId: string;
@@ -1655,6 +1772,9 @@ export function updateInfrastructureControllerremoveInfraPluginsAndCreatePullReq
1655
1772
  body: removePluginAndCreatePrRequest
1656
1773
  })));
1657
1774
  }
1775
+ /**
1776
+ * List workspace shared infrastructure extra links by environment
1777
+ */
1658
1778
  export function sharedInfraControllergetSharedInfraExtraLinks({ workspaceId, sharedInfraId, envName }: {
1659
1779
  workspaceId: string;
1660
1780
  sharedInfraId: string;
@@ -1669,6 +1789,9 @@ export function sharedInfraControllergetSharedInfraExtraLinks({ workspaceId, sha
1669
1789
  ...opts
1670
1790
  }));
1671
1791
  }
1792
+ /**
1793
+ * Update workspace shared infrastructure extra links by environment
1794
+ */
1672
1795
  export function sharedInfraControllerupdateSharedInfraExtraLinks({ workspaceId, sharedInfraId, envName, body }: {
1673
1796
  workspaceId: string;
1674
1797
  sharedInfraId: string;
@@ -1683,6 +1806,9 @@ export function sharedInfraControllerupdateSharedInfraExtraLinks({ workspaceId,
1683
1806
  body
1684
1807
  })));
1685
1808
  }
1809
+ /**
1810
+ * Update workspace shared infrastructure infra plugins and create pull request
1811
+ */
1686
1812
  export function updateInfrastructureControllerupdateInfraPluginsAndCreatePullRequestBySharedInfra({ workspaceId, sharedInfraId, updatePluginAndCreatePrRequest }: {
1687
1813
  workspaceId: string;
1688
1814
  sharedInfraId: string;
@@ -1697,6 +1823,9 @@ export function updateInfrastructureControllerupdateInfraPluginsAndCreatePullReq
1697
1823
  body: updatePluginAndCreatePrRequest
1698
1824
  })));
1699
1825
  }
1826
+ /**
1827
+ * Create workspace connection interface
1828
+ */
1700
1829
  export function connectionInterfaceControllercreateConnectionInterface({ workspaceId, createConnectionInterfaceRequest }: {
1701
1830
  workspaceId: string;
1702
1831
  createConnectionInterfaceRequest: CreateConnectionInterfaceRequest;
@@ -1710,6 +1839,9 @@ export function connectionInterfaceControllercreateConnectionInterface({ workspa
1710
1839
  body: createConnectionInterfaceRequest
1711
1840
  })));
1712
1841
  }
1842
+ /**
1843
+ * Remove workspace application infra plugins and create pull request
1844
+ */
1713
1845
  export function updateInfrastructureControllerremoveInfraPluginsAndCreatePullRequestByApplication({ workspaceId, applicationId, removePluginAndCreatePrRequest }: {
1714
1846
  workspaceId: string;
1715
1847
  applicationId: string;
@@ -1724,6 +1856,9 @@ export function updateInfrastructureControllerremoveInfraPluginsAndCreatePullReq
1724
1856
  body: removePluginAndCreatePrRequest
1725
1857
  })));
1726
1858
  }
1859
+ /**
1860
+ * List workspace application extra links by environment
1861
+ */
1727
1862
  export function applicationControllergetApplicationExtraLinks({ workspaceId, applicationId, envName }: {
1728
1863
  workspaceId: string;
1729
1864
  applicationId: string;
@@ -1738,6 +1873,9 @@ export function applicationControllergetApplicationExtraLinks({ workspaceId, app
1738
1873
  ...opts
1739
1874
  }));
1740
1875
  }
1876
+ /**
1877
+ * Update workspace application extra links by environment
1878
+ */
1741
1879
  export function applicationControllerupdateSharedInfraExtraLinks({ workspaceId, applicationId, envName, body }: {
1742
1880
  workspaceId: string;
1743
1881
  applicationId: string;
@@ -1752,6 +1890,9 @@ export function applicationControllerupdateSharedInfraExtraLinks({ workspaceId,
1752
1890
  body
1753
1891
  })));
1754
1892
  }
1893
+ /**
1894
+ * Register workspace application destroy
1895
+ */
1755
1896
  export function applicationControllerregistryAppDestroy({ workspaceId, applicationId, environmentId, applicationDestroyRequest }: {
1756
1897
  workspaceId: string;
1757
1898
  applicationId: string;
@@ -1764,6 +1905,9 @@ export function applicationControllerregistryAppDestroy({ workspaceId, applicati
1764
1905
  body: applicationDestroyRequest
1765
1906
  })));
1766
1907
  }
1908
+ /**
1909
+ * Update workspace application infra plugins and create pull request
1910
+ */
1767
1911
  export function updateInfrastructureControllerupdateInfraPluginsAndCreatePullRequestByApplication({ workspaceId, applicationId, updatePluginAndCreatePrRequest }: {
1768
1912
  workspaceId: string;
1769
1913
  applicationId: string;
@@ -1778,6 +1922,9 @@ export function updateInfrastructureControllerupdateInfraPluginsAndCreatePullReq
1778
1922
  body: updatePluginAndCreatePrRequest
1779
1923
  })));
1780
1924
  }
1925
+ /**
1926
+ * Import stack context in workspace
1927
+ */
1781
1928
  export function contextControllerimportContextInWorkspace({ workspaceId, body }: {
1782
1929
  workspaceId: string;
1783
1930
  body: ImportContextRequest[];
@@ -1788,6 +1935,9 @@ export function contextControllerimportContextInWorkspace({ workspaceId, body }:
1788
1935
  body
1789
1936
  })));
1790
1937
  }
1938
+ /**
1939
+ * Import stack context in account
1940
+ */
1791
1941
  export function contextControllerimportContextInAccount({ body }: {
1792
1942
  body: ImportContextRequest[];
1793
1943
  }, opts?: Oazapfts.RequestOpts) {
@@ -1797,6 +1947,9 @@ export function contextControllerimportContextInAccount({ body }: {
1797
1947
  body
1798
1948
  })));
1799
1949
  }
1950
+ /**
1951
+ * Create workflow in an account
1952
+ */
1800
1953
  export function workflowAccountControllercreateAccountWorkflow({ accountWorkflowCreateRequest }: {
1801
1954
  accountWorkflowCreateRequest: AccountWorkflowCreateRequest;
1802
1955
  }, opts?: Oazapfts.RequestOpts) {
@@ -1809,6 +1962,9 @@ export function workflowAccountControllercreateAccountWorkflow({ accountWorkflow
1809
1962
  body: accountWorkflowCreateRequest
1810
1963
  })));
1811
1964
  }
1965
+ /**
1966
+ * List account variables
1967
+ */
1812
1968
  export function accountVariableControllerfindAll({ accountId, name, page, size, sortBy, sortDir }: {
1813
1969
  accountId?: string;
1814
1970
  name?: string;
@@ -1833,6 +1989,9 @@ export function accountVariableControllerfindAll({ accountId, name, page, size,
1833
1989
  })
1834
1990
  }));
1835
1991
  }
1992
+ /**
1993
+ * Create account variable
1994
+ */
1836
1995
  export function accountVariableControllercreate({ createAccountVariableRequest }: {
1837
1996
  createAccountVariableRequest: CreateAccountVariableRequest;
1838
1997
  }, opts?: Oazapfts.RequestOpts) {
@@ -1842,6 +2001,9 @@ export function accountVariableControllercreate({ createAccountVariableRequest }
1842
2001
  body: createAccountVariableRequest
1843
2002
  })));
1844
2003
  }
2004
+ /**
2005
+ * Archive application from a workspace
2006
+ */
1845
2007
  export function managerRunControllerarchiveApplication({ workspaceId, applicationId }: {
1846
2008
  workspaceId: string;
1847
2009
  applicationId: string;
@@ -1854,6 +2016,9 @@ export function managerRunControllerarchiveApplication({ workspaceId, applicatio
1854
2016
  method: "PATCH"
1855
2017
  }));
1856
2018
  }
2019
+ /**
2020
+ * List workspace shared infrastructure plugins by environment
2021
+ */
1857
2022
  export function sharedInfraControllerV2GetSharedInfraAppliedPlugins({ workspaceId, sharedInfraId, envName, pluginType, containsLinks }: {
1858
2023
  workspaceId: string;
1859
2024
  sharedInfraId: string;
@@ -1871,6 +2036,9 @@ export function sharedInfraControllerV2GetSharedInfraAppliedPlugins({ workspaceI
1871
2036
  ...opts
1872
2037
  }));
1873
2038
  }
2039
+ /**
2040
+ * List workspace shared infrastructure activities by environment
2041
+ */
1874
2042
  export function sharedInfraControllerV2GetSharedInfraActivities({ workspaceId, sharedInfraId, envName, $type, page, size }: {
1875
2043
  workspaceId: string;
1876
2044
  sharedInfraId: string;
@@ -1890,6 +2058,9 @@ export function sharedInfraControllerV2GetSharedInfraActivities({ workspaceId, s
1890
2058
  ...opts
1891
2059
  }));
1892
2060
  }
2061
+ /**
2062
+ * List workspace application plugins by environment
2063
+ */
1893
2064
  export function applicationControllerV2GetApplicationAppliedPlugins({ workspaceId, applicationId, envName, pluginType, containsLinks }: {
1894
2065
  workspaceId: string;
1895
2066
  applicationId: string;
@@ -1907,6 +2078,9 @@ export function applicationControllerV2GetApplicationAppliedPlugins({ workspaceI
1907
2078
  ...opts
1908
2079
  }));
1909
2080
  }
2081
+ /**
2082
+ * List workspace application activities by environment
2083
+ */
1910
2084
  export function applicationControllerV2GetApplicationActivities({ workspaceId, applicationId, envName, $type, page, size }: {
1911
2085
  workspaceId: string;
1912
2086
  applicationId: string;
@@ -1926,6 +2100,9 @@ export function applicationControllerV2GetApplicationActivities({ workspaceId, a
1926
2100
  ...opts
1927
2101
  }));
1928
2102
  }
2103
+ /**
2104
+ * Get workspace stack context
2105
+ */
1929
2106
  export function contextStackControllergetWorkspaceContext({ workspaceId, stackVersionId, envName }: {
1930
2107
  workspaceId: string;
1931
2108
  stackVersionId: string;
@@ -1940,6 +2117,9 @@ export function contextStackControllergetWorkspaceContext({ workspaceId, stackVe
1940
2117
  ...opts
1941
2118
  }));
1942
2119
  }
2120
+ /**
2121
+ * List stack plugin inputs with connection interfaces in workspace context
2122
+ */
1943
2123
  export function contextgetConsolidatedPluginInputsWithConnectionInterfaces({ workspaceId, stackVersionId, pluginVersionId }: {
1944
2124
  workspaceId: string;
1945
2125
  stackVersionId: string;
@@ -1952,6 +2132,9 @@ export function contextgetConsolidatedPluginInputsWithConnectionInterfaces({ wor
1952
2132
  ...opts
1953
2133
  }));
1954
2134
  }
2135
+ /**
2136
+ * List stack plugin inputs in workspace context
2137
+ */
1955
2138
  export function contextgetConsolidatedPluginInputs({ workspaceId, stackVersionId, pluginVersionId, envName }: {
1956
2139
  workspaceId: string;
1957
2140
  stackVersionId: string;
@@ -1967,6 +2150,9 @@ export function contextgetConsolidatedPluginInputs({ workspaceId, stackVersionId
1967
2150
  ...opts
1968
2151
  }));
1969
2152
  }
2153
+ /**
2154
+ * List stack action inputs in workspace context
2155
+ */
1970
2156
  export function contextActionControllergetStackActionInputsInWorkspaceContext({ workspaceId, stackVersionId, actionsVersionId, envName }: {
1971
2157
  workspaceId: string;
1972
2158
  stackVersionId: string;
@@ -1982,6 +2168,9 @@ export function contextActionControllergetStackActionInputsInWorkspaceContext({
1982
2168
  ...opts
1983
2169
  }));
1984
2170
  }
2171
+ /**
2172
+ * List stack plugin inputs in account context
2173
+ */
1985
2174
  export function contextgetAccountPluginInputs({ stackVersionId, pluginVersionId, envName }: {
1986
2175
  stackVersionId: string;
1987
2176
  pluginVersionId: string;
@@ -1996,6 +2185,9 @@ export function contextgetAccountPluginInputs({ stackVersionId, pluginVersionId,
1996
2185
  ...opts
1997
2186
  }));
1998
2187
  }
2188
+ /**
2189
+ * List stack action inputs in account context
2190
+ */
1999
2191
  export function contextActionControllergetStackActionInputsInAccountContext({ stackVersionId, actionsVersionId, envName }: {
2000
2192
  stackVersionId: string;
2001
2193
  actionsVersionId: string;
@@ -2010,6 +2202,9 @@ export function contextActionControllergetStackActionInputsInAccountContext({ st
2010
2202
  ...opts
2011
2203
  }));
2012
2204
  }
2205
+ /**
2206
+ * List workspaces
2207
+ */
2013
2208
  export function workspaceControllergetWorkspaces({ name, aclOnly, accountId, page, size, sortBy, sortDir, tabFilter }: {
2014
2209
  name?: string;
2015
2210
  aclOnly?: boolean;
@@ -2038,6 +2233,9 @@ export function workspaceControllergetWorkspaces({ name, aclOnly, accountId, pag
2038
2233
  })
2039
2234
  }));
2040
2235
  }
2236
+ /**
2237
+ * List workspace workflow stacks
2238
+ */
2041
2239
  export function workflowWorkspaceControllerlistStacks({ workspaceId, workflowId }: {
2042
2240
  workspaceId: string;
2043
2241
  workflowId: string;
@@ -2049,6 +2247,9 @@ export function workflowWorkspaceControllerlistStacks({ workspaceId, workflowId
2049
2247
  ...opts
2050
2248
  }));
2051
2249
  }
2250
+ /**
2251
+ * List workspace variables
2252
+ */
2052
2253
  export function workspaceVariableControllerfindAll({ workspaceId, accountId, page, size, sortBy, sortDir, mandate, name, showEmptyValues }: {
2053
2254
  workspaceId: string;
2054
2255
  accountId?: string;
@@ -2078,6 +2279,9 @@ export function workspaceVariableControllerfindAll({ workspaceId, accountId, pag
2078
2279
  })
2079
2280
  }));
2080
2281
  }
2282
+ /**
2283
+ * Get workspace workflow by stack id and workflow type
2284
+ */
2081
2285
  export function workflowWorkspaceControllerlistWorkflowByStackIdAndWorkflowType({ workspaceId, stackId, workflowType }: {
2082
2286
  workspaceId: string;
2083
2287
  stackId: string;
@@ -2090,6 +2294,9 @@ export function workflowWorkspaceControllerlistWorkflowByStackIdAndWorkflowType(
2090
2294
  ...opts
2091
2295
  }));
2092
2296
  }
2297
+ /**
2298
+ * List workspace stacks with context
2299
+ */
2093
2300
  export function workspaceStackControllerlistStacksContext({ workspaceId }: {
2094
2301
  workspaceId: string;
2095
2302
  }, opts?: Oazapfts.RequestOpts) {
@@ -2100,6 +2307,9 @@ export function workspaceStackControllerlistStacksContext({ workspaceId }: {
2100
2307
  ...opts
2101
2308
  }));
2102
2309
  }
2310
+ /**
2311
+ * List workspace shared infrastructures
2312
+ */
2103
2313
  export function sharedInfraControllergetSharedInfra({ workspaceId, stackId, stackVersionId, name, page, size, sortBy, sortDir }: {
2104
2314
  workspaceId: string;
2105
2315
  stackId?: string;
@@ -2125,6 +2335,9 @@ export function sharedInfraControllergetSharedInfra({ workspaceId, stackId, stac
2125
2335
  ...opts
2126
2336
  }));
2127
2337
  }
2338
+ /**
2339
+ * List workspace shared infrastructure infra plugins
2340
+ */
2128
2341
  export function updateInfrastructureControllergetSharedInfraInfraPlugins({ workspaceId, sharedInfraId, branchName }: {
2129
2342
  workspaceId: string;
2130
2343
  sharedInfraId: string;
@@ -2139,6 +2352,9 @@ export function updateInfrastructureControllergetSharedInfraInfraPlugins({ works
2139
2352
  ...opts
2140
2353
  }));
2141
2354
  }
2355
+ /**
2356
+ * List workspace shared infrastructure links by environment
2357
+ */
2142
2358
  export function sharedInfraControllergetApplicationLinks({ workspaceId, sharedInfraId, envName }: {
2143
2359
  workspaceId: string;
2144
2360
  sharedInfraId: string;
@@ -2151,6 +2367,9 @@ export function sharedInfraControllergetApplicationLinks({ workspaceId, sharedIn
2151
2367
  ...opts
2152
2368
  }));
2153
2369
  }
2370
+ /**
2371
+ * Get workspace shared infrastructure details by environment
2372
+ */
2154
2373
  export function sharedInfraControllergetSharedInfraAppliedPlugins({ workspaceId, sharedInfraId, envName }: {
2155
2374
  workspaceId: string;
2156
2375
  sharedInfraId: string;
@@ -2163,6 +2382,9 @@ export function sharedInfraControllergetSharedInfraAppliedPlugins({ workspaceId,
2163
2382
  ...opts
2164
2383
  }));
2165
2384
  }
2385
+ /**
2386
+ * Get workspace shared infrastructure dependencies
2387
+ */
2166
2388
  export function sharedInfraControllergetSharedInfraDependencies({ workspaceId, sharedInfraId }: {
2167
2389
  workspaceId: string;
2168
2390
  sharedInfraId: string;
@@ -2174,6 +2396,9 @@ export function sharedInfraControllergetSharedInfraDependencies({ workspaceId, s
2174
2396
  ...opts
2175
2397
  }));
2176
2398
  }
2399
+ /**
2400
+ * List workspace shared infrastructure branches
2401
+ */
2177
2402
  export function updateInfrastructureControllergetSharedInfraBranches({ workspaceId, sharedInfraId }: {
2178
2403
  workspaceId: string;
2179
2404
  sharedInfraId: string;
@@ -2185,6 +2410,9 @@ export function updateInfrastructureControllergetSharedInfraBranches({ workspace
2185
2410
  ...opts
2186
2411
  }));
2187
2412
  }
2413
+ /**
2414
+ * List workspace shared infrastructure filters
2415
+ */
2188
2416
  export function sharedInfraControllergetSharedInfraFilters({ workspaceId }: {
2189
2417
  workspaceId: string;
2190
2418
  }, opts?: Oazapfts.RequestOpts) {
@@ -2195,6 +2423,9 @@ export function sharedInfraControllergetSharedInfraFilters({ workspaceId }: {
2195
2423
  ...opts
2196
2424
  }));
2197
2425
  }
2426
+ /**
2427
+ * List workspace plugins
2428
+ */
2198
2429
  export function workspacePluginControllerlistPluginsFromWorkspace({ workspaceId, typePlugin }: {
2199
2430
  workspaceId: string;
2200
2431
  typePlugin?: "INFRA" | "APP";
@@ -2208,6 +2439,9 @@ export function workspacePluginControllerlistPluginsFromWorkspace({ workspaceId,
2208
2439
  ...opts
2209
2440
  }));
2210
2441
  }
2442
+ /**
2443
+ * Get workspace connection interface details
2444
+ */
2211
2445
  export function connectionInterfaceControllergetConnectionInterfaceDetails({ workspaceId, connectionInterfaceId }: {
2212
2446
  workspaceId: string;
2213
2447
  connectionInterfaceId: string;
@@ -2219,6 +2453,9 @@ export function connectionInterfaceControllergetConnectionInterfaceDetails({ wor
2219
2453
  ...opts
2220
2454
  }));
2221
2455
  }
2456
+ /**
2457
+ * List workspace available connection interfaces
2458
+ */
2222
2459
  export function availableConnectionInterfaceControllergetAvailableConnectionInterfaces({ workspaceId, applicationId, typeName, automaticallyGenerated }: {
2223
2460
  workspaceId: string;
2224
2461
  applicationId?: string;
@@ -2236,6 +2473,9 @@ export function availableConnectionInterfaceControllergetAvailableConnectionInte
2236
2473
  ...opts
2237
2474
  }));
2238
2475
  }
2476
+ /**
2477
+ * List workspace applications
2478
+ */
2239
2479
  export function applicationControllergetApplications({ workspaceId, stackVersionId, stackId, name, page, size, sortBy, sortDir }: {
2240
2480
  workspaceId: string;
2241
2481
  stackVersionId?: string;
@@ -2261,6 +2501,9 @@ export function applicationControllergetApplications({ workspaceId, stackVersion
2261
2501
  ...opts
2262
2502
  }));
2263
2503
  }
2504
+ /**
2505
+ * List workspace application infra plugins
2506
+ */
2264
2507
  export function updateInfrastructureControllergetApplicationInfraPlugins({ workspaceId, applicationId, branchName }: {
2265
2508
  workspaceId: string;
2266
2509
  applicationId: string;
@@ -2275,6 +2518,9 @@ export function updateInfrastructureControllergetApplicationInfraPlugins({ works
2275
2518
  ...opts
2276
2519
  }));
2277
2520
  }
2521
+ /**
2522
+ * List workspace application links by environment
2523
+ */
2278
2524
  export function applicationControllergetApplicationLinks({ workspaceId, applicationId, envName }: {
2279
2525
  workspaceId: string;
2280
2526
  applicationId: string;
@@ -2287,6 +2533,9 @@ export function applicationControllergetApplicationLinks({ workspaceId, applicat
2287
2533
  ...opts
2288
2534
  }));
2289
2535
  }
2536
+ /**
2537
+ * Get workspace application details by environment
2538
+ */
2290
2539
  export function applicationControllergetApplicationDetails({ workspaceId, applicationId, envName }: {
2291
2540
  workspaceId: string;
2292
2541
  applicationId: string;
@@ -2299,6 +2548,9 @@ export function applicationControllergetApplicationDetails({ workspaceId, applic
2299
2548
  ...opts
2300
2549
  }));
2301
2550
  }
2551
+ /**
2552
+ * Get workspace application dependencies
2553
+ */
2302
2554
  export function applicationControllergetApplicationDependencies({ workspaceId, applicationId }: {
2303
2555
  workspaceId: string;
2304
2556
  applicationId: string;
@@ -2310,6 +2562,9 @@ export function applicationControllergetApplicationDependencies({ workspaceId, a
2310
2562
  ...opts
2311
2563
  }));
2312
2564
  }
2565
+ /**
2566
+ * List workspace application branches
2567
+ */
2313
2568
  export function updateInfrastructureControllergetApplicationBranches({ workspaceId, applicationId }: {
2314
2569
  workspaceId: string;
2315
2570
  applicationId: string;
@@ -2321,6 +2576,9 @@ export function updateInfrastructureControllergetApplicationBranches({ workspace
2321
2576
  ...opts
2322
2577
  }));
2323
2578
  }
2579
+ /**
2580
+ * List workspace application filters
2581
+ */
2324
2582
  export function applicationControllergetApplicationFilters({ workspaceId }: {
2325
2583
  workspaceId: string;
2326
2584
  }, opts?: Oazapfts.RequestOpts) {
@@ -2331,6 +2589,9 @@ export function applicationControllergetApplicationFilters({ workspaceId }: {
2331
2589
  ...opts
2332
2590
  }));
2333
2591
  }
2592
+ /**
2593
+ * List account shared infrastructures
2594
+ */
2334
2595
  export function accountSharedInfraControllergetAccountSharedInfraPage({ page, size, sortBy, sortDir, name, tab, stackVersionId, stackId }: {
2335
2596
  page?: number;
2336
2597
  size?: number;
@@ -2357,6 +2618,9 @@ export function accountSharedInfraControllergetAccountSharedInfraPage({ page, si
2357
2618
  ...opts
2358
2619
  }));
2359
2620
  }
2621
+ /**
2622
+ * List account shared infrastructure filters
2623
+ */
2360
2624
  export function accountSharedInfraControllergetAccountSharedInfraFilters(opts?: Oazapfts.RequestOpts) {
2361
2625
  return oazapfts.ok(oazapfts.fetchJson<{
2362
2626
  status: 200;
@@ -2365,6 +2629,25 @@ export function accountSharedInfraControllergetAccountSharedInfraFilters(opts?:
2365
2629
  ...opts
2366
2630
  }));
2367
2631
  }
2632
+ /**
2633
+ * List environments by account
2634
+ */
2635
+ export function environmentControllergetEnvironments({ accountId }: {
2636
+ accountId?: string;
2637
+ }, opts?: Oazapfts.RequestOpts) {
2638
+ return oazapfts.ok(oazapfts.fetchJson<{
2639
+ status: 200;
2640
+ data: EnvironmentResponse[];
2641
+ }>("/v1/environments", {
2642
+ ...opts,
2643
+ headers: oazapfts.mergeHeaders(opts?.headers, {
2644
+ accountId
2645
+ })
2646
+ }));
2647
+ }
2648
+ /**
2649
+ * Get stack workflow consolidated inputs in workspace context
2650
+ */
2368
2651
  export function contextWorkflowControllergetConsolidatedWorkflowInputs({ workspaceId, stackVersionId, workflowVersionId }: {
2369
2652
  workspaceId: string;
2370
2653
  stackVersionId: string;
@@ -2377,6 +2660,22 @@ export function contextWorkflowControllergetConsolidatedWorkflowInputs({ workspa
2377
2660
  ...opts
2378
2661
  }));
2379
2662
  }
2663
+ /**
2664
+ * Clear stack workflow context in workspace
2665
+ */
2666
+ export function contextControllerclearWorkflowContextInWorkspace({ workspaceId, stackVersionId, workflowVersionId }: {
2667
+ workspaceId: string;
2668
+ stackVersionId: string;
2669
+ workflowVersionId: string;
2670
+ }, opts?: Oazapfts.RequestOpts) {
2671
+ return oazapfts.ok(oazapfts.fetchText(`/v1/contexts/workspaces/${encodeURIComponent(workspaceId)}/stacks/${encodeURIComponent(stackVersionId)}/workflows/${encodeURIComponent(workflowVersionId)}`, {
2672
+ ...opts,
2673
+ method: "DELETE"
2674
+ }));
2675
+ }
2676
+ /**
2677
+ * List stack action inputs in workspace context
2678
+ */
2380
2679
  export function contextControllergetStackActionInputsInWorkspaceContext({ workspaceId, stackVersionId, actionsVersionId, envName }: {
2381
2680
  workspaceId: string;
2382
2681
  stackVersionId: string;
@@ -2392,6 +2691,9 @@ export function contextControllergetStackActionInputsInWorkspaceContext({ worksp
2392
2691
  ...opts
2393
2692
  }));
2394
2693
  }
2694
+ /**
2695
+ * List stack action inputs in account context
2696
+ */
2395
2697
  export function contextControllergetStackActionInputsInAccountContext({ stackVersionId, actionsVersionId, envName }: {
2396
2698
  stackVersionId: string;
2397
2699
  actionsVersionId: string;
@@ -2406,6 +2708,9 @@ export function contextControllergetStackActionInputsInAccountContext({ stackVer
2406
2708
  ...opts
2407
2709
  }));
2408
2710
  }
2711
+ /**
2712
+ * List account applications
2713
+ */
2409
2714
  export function accountApplicationControllergetAccountApplicationPage({ page, size, sortBy, sortDir, tab, name, stackVersionId, stackId }: {
2410
2715
  page?: number;
2411
2716
  size?: number;
@@ -2432,6 +2737,9 @@ export function accountApplicationControllergetAccountApplicationPage({ page, si
2432
2737
  ...opts
2433
2738
  }));
2434
2739
  }
2740
+ /**
2741
+ * List account application filters
2742
+ */
2435
2743
  export function accountApplicationControllergetAccountApplicationsFilters(opts?: Oazapfts.RequestOpts) {
2436
2744
  return oazapfts.ok(oazapfts.fetchJson<{
2437
2745
  status: 200;
@@ -2440,6 +2748,9 @@ export function accountApplicationControllergetAccountApplicationsFilters(opts?:
2440
2748
  ...opts
2441
2749
  }));
2442
2750
  }
2751
+ /**
2752
+ * Get account variable usage by name
2753
+ */
2443
2754
  export function accountVariableControllerusage({ accountId, name }: {
2444
2755
  accountId?: string;
2445
2756
  name: string;
@@ -2454,6 +2765,9 @@ export function accountVariableControllerusage({ accountId, name }: {
2454
2765
  })
2455
2766
  }));
2456
2767
  }
2768
+ /**
2769
+ * List account stacks with workflows
2770
+ */
2457
2771
  export function accountStackControllerlistStacksByAccountWithWorkflow({ workspaceId }: {
2458
2772
  workspaceId?: string;
2459
2773
  }, opts?: Oazapfts.RequestOpts) {
@@ -2466,6 +2780,9 @@ export function accountStackControllerlistStacksByAccountWithWorkflow({ workspac
2466
2780
  ...opts
2467
2781
  }));
2468
2782
  }
2783
+ /**
2784
+ * List account workflows by stack id
2785
+ */
2469
2786
  export function accountStackControllerlistWorkflowsByStack({ stackId }: {
2470
2787
  stackId: string;
2471
2788
  }, opts?: Oazapfts.RequestOpts) {
@@ -2476,6 +2793,9 @@ export function accountStackControllerlistWorkflowsByStack({ stackId }: {
2476
2793
  ...opts
2477
2794
  }));
2478
2795
  }
2796
+ /**
2797
+ * List account most-used stacks in applications and shared infrastructures
2798
+ */
2479
2799
  export function accountStackControllerlistMostUsedStacksInAppsAndSharedInfras({ accountId }: {
2480
2800
  accountId: string;
2481
2801
  }, opts?: Oazapfts.RequestOpts) {
@@ -2489,6 +2809,9 @@ export function accountStackControllerlistMostUsedStacksInAppsAndSharedInfras({
2489
2809
  })
2490
2810
  }));
2491
2811
  }
2812
+ /**
2813
+ * Get account context by stack version id
2814
+ */
2492
2815
  export function accountStackControllerlistVersionsWithContext({ stackVersionId }: {
2493
2816
  stackVersionId: string;
2494
2817
  }, opts?: Oazapfts.RequestOpts) {
@@ -2499,6 +2822,9 @@ export function accountStackControllerlistVersionsWithContext({ stackVersionId }
2499
2822
  ...opts
2500
2823
  }));
2501
2824
  }
2825
+ /**
2826
+ * Delete workspace
2827
+ */
2502
2828
  export function workspaceControllerdelete({ workspaceId }: {
2503
2829
  workspaceId: string;
2504
2830
  }, opts?: Oazapfts.RequestOpts) {
@@ -2507,6 +2833,9 @@ export function workspaceControllerdelete({ workspaceId }: {
2507
2833
  method: "DELETE"
2508
2834
  }));
2509
2835
  }
2836
+ /**
2837
+ * Delete a stack from a workspace
2838
+ */
2510
2839
  export function workspaceStackControllerdeleteStacksInWorkspace({ workspaceId, stackVersionId }: {
2511
2840
  workspaceId: string;
2512
2841
  stackVersionId: string;
@@ -2516,6 +2845,9 @@ export function workspaceStackControllerdeleteStacksInWorkspace({ workspaceId, s
2516
2845
  method: "DELETE"
2517
2846
  }));
2518
2847
  }
2848
+ /**
2849
+ * Delete shared infrastructure from a workspace
2850
+ */
2519
2851
  export function managerRunControllerdeleteSharedInfra({ workspaceId, sharedInfraId }: {
2520
2852
  workspaceId: string;
2521
2853
  sharedInfraId: string;
@@ -2525,6 +2857,9 @@ export function managerRunControllerdeleteSharedInfra({ workspaceId, sharedInfra
2525
2857
  method: "DELETE"
2526
2858
  }));
2527
2859
  }
2860
+ /**
2861
+ * Delete application from a workspace
2862
+ */
2528
2863
  export function managerRunControllerdeleteApplication({ workspaceId, applicationId }: {
2529
2864
  workspaceId: string;
2530
2865
  applicationId: string;
@@ -2537,6 +2872,9 @@ export function managerRunControllerdeleteApplication({ workspaceId, application
2537
2872
  method: "DELETE"
2538
2873
  }));
2539
2874
  }
2875
+ /**
2876
+ * Clear stack plugin context in workspace
2877
+ */
2540
2878
  export function contextControllerclearPluginContextInWorkspace({ workspaceId, stackVersionId, pluginVersionId }: {
2541
2879
  workspaceId: string;
2542
2880
  stackVersionId: string;
@@ -2547,6 +2885,9 @@ export function contextControllerclearPluginContextInWorkspace({ workspaceId, st
2547
2885
  method: "DELETE"
2548
2886
  }));
2549
2887
  }
2888
+ /**
2889
+ * Clear stack action context in workspace
2890
+ */
2550
2891
  export function contextControllerclearActionContextInWorkspace({ workspaceId, stackVersionId, actionVersionId }: {
2551
2892
  workspaceId: string;
2552
2893
  stackVersionId: string;
@@ -2557,6 +2898,21 @@ export function contextControllerclearActionContextInWorkspace({ workspaceId, st
2557
2898
  method: "DELETE"
2558
2899
  }));
2559
2900
  }
2901
+ /**
2902
+ * Clear stack workflow context in account
2903
+ */
2904
+ export function contextControllerclearWorkflowContextInAccount({ stackVersionId, workflowVersionId }: {
2905
+ stackVersionId: string;
2906
+ workflowVersionId: string;
2907
+ }, opts?: Oazapfts.RequestOpts) {
2908
+ return oazapfts.ok(oazapfts.fetchText(`/v1/contexts/account/stacks/${encodeURIComponent(stackVersionId)}/workflows/${encodeURIComponent(workflowVersionId)}`, {
2909
+ ...opts,
2910
+ method: "DELETE"
2911
+ }));
2912
+ }
2913
+ /**
2914
+ * Clear stack plugin context in account
2915
+ */
2560
2916
  export function contextControllerclearPluginContextInAccount({ stackVersionId, pluginVersionId }: {
2561
2917
  stackVersionId: string;
2562
2918
  pluginVersionId: string;
@@ -2566,6 +2922,9 @@ export function contextControllerclearPluginContextInAccount({ stackVersionId, p
2566
2922
  method: "DELETE"
2567
2923
  }));
2568
2924
  }
2925
+ /**
2926
+ * Clear stack action context in account
2927
+ */
2569
2928
  export function contextControllerclearActionContextInAccount({ stackVersionId, actionVersionId }: {
2570
2929
  stackVersionId: string;
2571
2930
  actionVersionId: string;