@stack-spot/portal-network 0.3.0 → 0.3.1

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 (154) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/api/account.d.ts +2368 -0
  3. package/dist/api/account.d.ts.map +1 -0
  4. package/dist/api/account.js +1521 -0
  5. package/dist/api/account.js.map +1 -0
  6. package/dist/api/ai.d.ts +1432 -0
  7. package/dist/api/ai.d.ts.map +1 -0
  8. package/dist/api/ai.js +1342 -0
  9. package/dist/api/ai.js.map +1 -0
  10. package/dist/api/apiRuntime.d.ts +922 -0
  11. package/dist/api/apiRuntime.d.ts.map +1 -0
  12. package/dist/api/apiRuntime.js +599 -0
  13. package/dist/api/apiRuntime.js.map +1 -0
  14. package/dist/api/cloudAccount.d.ts +473 -0
  15. package/dist/api/cloudAccount.d.ts.map +1 -0
  16. package/dist/api/cloudAccount.js +300 -0
  17. package/dist/api/cloudAccount.js.map +1 -0
  18. package/dist/api/cloudServices.d.ts +1233 -0
  19. package/dist/api/cloudServices.d.ts.map +1 -0
  20. package/dist/api/cloudServices.js +715 -0
  21. package/dist/api/cloudServices.js.map +1 -0
  22. package/dist/api/insights.d.ts +123 -0
  23. package/dist/api/insights.d.ts.map +1 -0
  24. package/dist/api/insights.js +112 -0
  25. package/dist/api/insights.js.map +1 -0
  26. package/dist/api/serviceCatalog.d.ts +737 -0
  27. package/dist/api/serviceCatalog.d.ts.map +1 -0
  28. package/dist/api/serviceCatalog.js +611 -0
  29. package/dist/api/serviceCatalog.js.map +1 -0
  30. package/dist/api/workflows.d.ts +366 -0
  31. package/dist/api/workflows.d.ts.map +1 -0
  32. package/dist/api/workflows.js +175 -0
  33. package/dist/api/workflows.js.map +1 -0
  34. package/dist/api/workspace.js +1476 -0
  35. package/dist/api/workspace.js.map +1 -0
  36. package/dist/api/workspaceManager.d.ts +1121 -0
  37. package/dist/api/workspaceManager.d.ts.map +1 -0
  38. package/dist/api/workspaceManager.js +357 -0
  39. package/dist/api/workspaceManager.js.map +1 -0
  40. package/dist/api/workspaceSearchEngine.d.ts +93 -0
  41. package/dist/api/workspaceSearchEngine.d.ts.map +1 -0
  42. package/dist/api/workspaceSearchEngine.js +55 -0
  43. package/dist/api/workspaceSearchEngine.js.map +1 -0
  44. package/dist/apis.json +121 -0
  45. package/dist/client/account.d.ts +217 -0
  46. package/dist/client/account.d.ts.map +1 -0
  47. package/dist/client/account.js +276 -0
  48. package/dist/client/account.js.map +1 -0
  49. package/dist/error/CanceledError.d.ts +8 -0
  50. package/dist/error/CanceledError.d.ts.map +1 -0
  51. package/dist/error/CanceledError.js +10 -0
  52. package/dist/error/CanceledError.js.map +1 -0
  53. package/dist/error/DefaultAPIError.d.ts +34 -0
  54. package/dist/error/DefaultAPIError.d.ts.map +1 -0
  55. package/dist/error/DefaultAPIError.js +82 -0
  56. package/dist/error/DefaultAPIError.js.map +1 -0
  57. package/dist/error/StackspotAPIError.d.ts +50 -0
  58. package/dist/error/StackspotAPIError.d.ts.map +1 -0
  59. package/dist/error/StackspotAPIError.js +54 -0
  60. package/dist/error/StackspotAPIError.js.map +1 -0
  61. package/dist/error/dictionary/account.d.ts +55 -0
  62. package/dist/error/dictionary/account.d.ts.map +1 -0
  63. package/dist/error/dictionary/account.js +55 -0
  64. package/dist/error/dictionary/account.js.map +1 -0
  65. package/dist/error/dictionary/action.d.ts +163 -0
  66. package/dist/error/dictionary/action.d.ts.map +1 -0
  67. package/dist/error/dictionary/action.js +163 -0
  68. package/dist/error/dictionary/action.js.map +1 -0
  69. package/dist/error/dictionary/base.d.ts +21 -0
  70. package/dist/error/dictionary/base.d.ts.map +1 -0
  71. package/dist/error/dictionary/base.js +21 -0
  72. package/dist/error/dictionary/base.js.map +1 -0
  73. package/dist/error/dictionary/cnt-fields.d.ts +13 -0
  74. package/dist/error/dictionary/cnt-fields.d.ts.map +1 -0
  75. package/dist/error/dictionary/cnt-fields.js +13 -0
  76. package/dist/error/dictionary/cnt-fields.js.map +1 -0
  77. package/dist/error/dictionary/cnt.d.ts +79 -0
  78. package/dist/error/dictionary/cnt.d.ts.map +1 -0
  79. package/dist/error/dictionary/cnt.js +79 -0
  80. package/dist/error/dictionary/cnt.js.map +1 -0
  81. package/dist/error/dictionary/rte.d.ts +23 -0
  82. package/dist/error/dictionary/rte.d.ts.map +1 -0
  83. package/dist/error/dictionary/rte.js +23 -0
  84. package/dist/error/dictionary/rte.js.map +1 -0
  85. package/dist/error/dictionary/rtm.d.ts +9 -0
  86. package/dist/error/dictionary/rtm.d.ts.map +1 -0
  87. package/dist/error/dictionary/rtm.js +9 -0
  88. package/dist/error/dictionary/rtm.js.map +1 -0
  89. package/dist/error/dictionary/workspace-fields.d.ts +9 -0
  90. package/dist/error/dictionary/workspace-fields.d.ts.map +1 -0
  91. package/dist/error/dictionary/workspace-fields.js +9 -0
  92. package/dist/error/dictionary/workspace-fields.js.map +1 -0
  93. package/dist/error/dictionary/workspace.d.ts +99 -0
  94. package/dist/error/dictionary/workspace.d.ts.map +1 -0
  95. package/dist/error/dictionary/workspace.js +99 -0
  96. package/dist/error/dictionary/workspace.js.map +1 -0
  97. package/dist/index.d.ts +7 -0
  98. package/dist/index.d.ts.map +1 -0
  99. package/dist/index.js +7 -0
  100. package/dist/index.js.map +1 -0
  101. package/dist/network/AutoInfiniteQuery.d.ts +23 -0
  102. package/dist/network/AutoInfiniteQuery.d.ts.map +1 -0
  103. package/dist/network/AutoInfiniteQuery.js +70 -0
  104. package/dist/network/AutoInfiniteQuery.js.map +1 -0
  105. package/dist/network/AutoMutation.d.ts +10 -0
  106. package/dist/network/AutoMutation.d.ts.map +1 -0
  107. package/dist/network/AutoMutation.js +20 -0
  108. package/dist/network/AutoMutation.js.map +1 -0
  109. package/dist/network/AutoOperation.d.ts +19 -0
  110. package/dist/network/AutoOperation.d.ts.map +1 -0
  111. package/dist/network/AutoOperation.js +105 -0
  112. package/dist/network/AutoOperation.js.map +1 -0
  113. package/dist/network/AutoQuery.d.ts +19 -0
  114. package/dist/network/AutoQuery.d.ts.map +1 -0
  115. package/dist/network/AutoQuery.js +70 -0
  116. package/dist/network/AutoQuery.js.map +1 -0
  117. package/dist/network/ManualInfiniteQuery.d.ts +25 -0
  118. package/dist/network/ManualInfiniteQuery.d.ts.map +1 -0
  119. package/dist/network/ManualInfiniteQuery.js +62 -0
  120. package/dist/network/ManualInfiniteQuery.js.map +1 -0
  121. package/dist/network/ManualMutation.d.ts +11 -0
  122. package/dist/network/ManualMutation.d.ts.map +1 -0
  123. package/dist/network/ManualMutation.js +32 -0
  124. package/dist/network/ManualMutation.js.map +1 -0
  125. package/dist/network/ManualOperation.d.ts +13 -0
  126. package/dist/network/ManualOperation.d.ts.map +1 -0
  127. package/dist/network/ManualOperation.js +53 -0
  128. package/dist/network/ManualOperation.js.map +1 -0
  129. package/dist/network/ManualQuery.d.ts +20 -0
  130. package/dist/network/ManualQuery.d.ts.map +1 -0
  131. package/dist/network/ManualQuery.js +77 -0
  132. package/dist/network/ManualQuery.js.map +1 -0
  133. package/dist/network/NetworkClient.d.ts +58 -0
  134. package/dist/network/NetworkClient.d.ts.map +1 -0
  135. package/dist/network/NetworkClient.js +107 -0
  136. package/dist/network/NetworkClient.js.map +1 -0
  137. package/dist/network/ReactQueryNetworkClient.d.ts +78 -0
  138. package/dist/network/ReactQueryNetworkClient.d.ts.map +1 -0
  139. package/dist/network/ReactQueryNetworkClient.js +144 -0
  140. package/dist/network/ReactQueryNetworkClient.js.map +1 -0
  141. package/dist/network/react-query-client.d.ts +6 -0
  142. package/dist/network/react-query-client.d.ts.map +1 -0
  143. package/dist/network/react-query-client.js +6 -0
  144. package/dist/network/react-query-client.js.map +1 -0
  145. package/dist/network/types.d.ts +234 -0
  146. package/dist/network/types.d.ts.map +1 -0
  147. package/dist/network/types.js +2 -0
  148. package/dist/network/types.js.map +1 -0
  149. package/dist/utils/use-extended-list.d.ts +39 -0
  150. package/dist/utils/use-extended-list.d.ts.map +1 -0
  151. package/dist/utils/use-extended-list.js +36 -0
  152. package/dist/utils/use-extended-list.js.map +1 -0
  153. package/package.json +1 -1
  154. package/src/error/DefaultAPIError.ts +2 -3
@@ -0,0 +1,1121 @@
1
+ /**
2
+ * Workspace Manager API
3
+ * v1.0.0
4
+ * DO NOT MODIFY - This file has been generated using oazapfts.
5
+ * See https://www.npmjs.com/package/oazapfts
6
+ */
7
+ import * as Oazapfts from "@oazapfts/runtime";
8
+ export declare const defaults: Oazapfts.Defaults<Oazapfts.CustomHeaders>;
9
+ export declare const servers: {
10
+ generatedServerUrl: string;
11
+ };
12
+ export type ExternalItemsResponse = {
13
+ source: string;
14
+ value: string;
15
+ label: string;
16
+ };
17
+ export type ConditionResponse = {
18
+ variable: string;
19
+ operator: string;
20
+ value?: object;
21
+ };
22
+ export type ActionConsolidatedAttributeResponse = {
23
+ key: string;
24
+ value: object;
25
+ final: boolean;
26
+ label: string;
27
+ "type": string;
28
+ required: boolean;
29
+ help?: string;
30
+ pattern?: string;
31
+ "default"?: object;
32
+ items?: string[];
33
+ externalItems?: ExternalItemsResponse;
34
+ condition?: ConditionResponse;
35
+ source: "ACCOUNT" | "STACK" | "WORKSPACE";
36
+ readOnly: boolean;
37
+ connectionInterfaceType?: string;
38
+ addQuestion?: string;
39
+ input?: object;
40
+ inputs: object[];
41
+ };
42
+ export type WorkflowActionWithContextResponse = {
43
+ actionId: string;
44
+ versionRange: string;
45
+ name: string;
46
+ stepType?: "CREATE_REPO";
47
+ valuesContext: ActionConsolidatedAttributeResponse[];
48
+ };
49
+ export type WorkflowAccountContextResponse = {
50
+ actionsBefore: WorkflowActionWithContextResponse[];
51
+ actionsAfter: WorkflowActionWithContextResponse[];
52
+ };
53
+ export type ContextAttribute = {
54
+ key: string;
55
+ value: object;
56
+ final: boolean;
57
+ sourceType?: "ACCOUNT" | "STACK" | "WORKSPACE";
58
+ };
59
+ export type ContextWorkflowRequest = {
60
+ actionId: string;
61
+ versionRange: string;
62
+ valuesContext: ContextAttribute[];
63
+ };
64
+ export type WorkflowContextSaveRequest = {
65
+ actionsBefore: ContextWorkflowRequest[];
66
+ actionsAfter: ContextWorkflowRequest[];
67
+ };
68
+ export type ConnectionInterfaceAttribute = {
69
+ /** Attribute key. */
70
+ key?: string;
71
+ /** Attribute value. */
72
+ value?: object;
73
+ /** Indicates if this attribute value is sensitive or not. */
74
+ sensitive?: boolean;
75
+ /** Indicates the outuput id for the respective attribute and is used for validation. */
76
+ id?: string;
77
+ };
78
+ export type ConnectionInterfaceAttributesByEnv = {
79
+ /** Environment id. */
80
+ environmentId?: string;
81
+ /** List of attributes */
82
+ attributes?: ConnectionInterfaceAttribute[];
83
+ };
84
+ export type ExternalItems = {
85
+ source: string;
86
+ value: string;
87
+ label?: string;
88
+ };
89
+ export type ConsolidatedValueByEnv = {
90
+ envName: string;
91
+ value: object;
92
+ mandate: boolean;
93
+ source: string;
94
+ };
95
+ export type Condition = {
96
+ variable: string;
97
+ operator: string;
98
+ value: object;
99
+ };
100
+ export type PluginInputValuesInConsolidatedContextResponse = {
101
+ name: string;
102
+ label: string;
103
+ "type": string;
104
+ inputEnv: boolean;
105
+ required?: boolean;
106
+ "default"?: object;
107
+ pattern?: string;
108
+ help?: string;
109
+ items?: string[];
110
+ externalItems?: ExternalItems;
111
+ valuesByEnv: ConsolidatedValueByEnv[];
112
+ condition?: Condition;
113
+ isGlobal?: boolean;
114
+ connectionInterfaceType?: string;
115
+ addQuestion?: string;
116
+ input?: object;
117
+ inputs: object[];
118
+ };
119
+ export type UpsertPluginInputContextRequest = {
120
+ /** Context's environment (omit or null for all in account) */
121
+ envName?: string;
122
+ key: string;
123
+ value: object;
124
+ mandate?: boolean;
125
+ };
126
+ export type UpsertActionInputContextRequest = {
127
+ /** Context's environment (omit or null for all in account) */
128
+ envName?: string;
129
+ key: string;
130
+ value: object;
131
+ mandate?: boolean;
132
+ };
133
+ export type AccValueByEnv = {
134
+ envName: string;
135
+ value: object;
136
+ mandate: boolean;
137
+ };
138
+ export type PluginInputValuesInAccountContextResponse = {
139
+ name: string;
140
+ label: string;
141
+ "type": string;
142
+ inputEnv: boolean;
143
+ required?: boolean;
144
+ "default"?: object;
145
+ pattern?: string;
146
+ help?: string;
147
+ items?: string[];
148
+ externalItems?: ExternalItems;
149
+ valuesByEnv: AccValueByEnv[];
150
+ condition?: Condition;
151
+ isGlobal?: boolean;
152
+ connectionInterfaceType?: string;
153
+ addQuestion?: string;
154
+ input?: object;
155
+ inputs: object[];
156
+ };
157
+ export type StudioResponse = {
158
+ slug: string;
159
+ name: string;
160
+ imageUrl?: string;
161
+ };
162
+ export type SimpleStackResponse = {
163
+ stackId: string;
164
+ name: string;
165
+ slug: string;
166
+ studio: StudioResponse;
167
+ };
168
+ export type WorkflowAccountSettingsResponse = {
169
+ name: string;
170
+ description: string;
171
+ "type": "CREATE_API" | "CREATE_APP" | "CREATE_INFRA";
172
+ isDefault: boolean;
173
+ stacks: SimpleStackResponse[];
174
+ };
175
+ export type WorkflowSettingsSaveRequest = {
176
+ name: string;
177
+ description: string;
178
+ "type": "CREATE_API" | "CREATE_APP" | "CREATE_INFRA";
179
+ isDefault: boolean;
180
+ stacksId: string[];
181
+ };
182
+ export type ActionResponse = {
183
+ actionId: string;
184
+ name: string;
185
+ order: number;
186
+ versionRange: string;
187
+ stepType?: "CREATE_REPO";
188
+ };
189
+ export type WorkflowActionResponse = {
190
+ actionsBefore: ActionResponse[];
191
+ actionsAfter: ActionResponse[];
192
+ };
193
+ export type WorkflowActionSimpleRequest = {
194
+ actionId: string;
195
+ order: number;
196
+ versionRange: string;
197
+ stepType?: "CREATE_REPO";
198
+ };
199
+ export type WorkflowActionsRequest = {
200
+ actionsBefore: WorkflowActionSimpleRequest[];
201
+ actionsAfter: WorkflowActionSimpleRequest[];
202
+ };
203
+ export type RequiresRequest = {
204
+ /** Connections requires name. */
205
+ selected?: string;
206
+ /** Connections requires alias. */
207
+ alias?: string;
208
+ /** Connections requires type. */
209
+ "type"?: string;
210
+ };
211
+ export type GeneratesRequest = {
212
+ /** Connections generates name. */
213
+ selected?: string;
214
+ /** Connections generates alias. */
215
+ alias?: string;
216
+ /** Connections generates type. */
217
+ "type"?: string;
218
+ };
219
+ export type PluginsConnectionsRequest = {
220
+ /** List of connections requires. */
221
+ requires?: RequiresRequest[];
222
+ /** List of connections generates. */
223
+ generates?: GeneratesRequest[];
224
+ };
225
+ export type PluginRequest = {
226
+ /** Name used in workflow. */
227
+ name?: string;
228
+ alias: string;
229
+ /** Type of plugin (APP/INFRA). */
230
+ "type"?: string;
231
+ pluginVersionId?: string;
232
+ /** Inputs used in workflow. */
233
+ inputs?: {
234
+ [key: string]: object;
235
+ };
236
+ /** Inputs sensitives used in workflow. */
237
+ inputsSensitive?: string[];
238
+ /** Inputs Env used in workflow. */
239
+ inputsEnv?: {
240
+ [key: string]: {
241
+ [key: string]: object;
242
+ };
243
+ };
244
+ connections?: PluginsConnectionsRequest;
245
+ };
246
+ export type Infra = {
247
+ /** Shared Infrastructure apiId that will be used in case of retry. */
248
+ sharedInfraId?: string;
249
+ stack: string;
250
+ /** Stack used to generate this shared infra. */
251
+ stackVersionId: string;
252
+ /** SharedInfra name. */
253
+ name: string;
254
+ /** SharedInfra repository url. */
255
+ repo?: string;
256
+ /** SharedInfra description. */
257
+ description?: string;
258
+ /** SharedInfra repository base branch. */
259
+ repoBaseBranch: string;
260
+ /** Starter Id used to generate this shared infra. */
261
+ starterId?: string;
262
+ plugins: PluginRequest[];
263
+ };
264
+ export type ActionsConnectionsRequest = {
265
+ /** List of connections requires. */
266
+ requires?: RequiresRequest[];
267
+ };
268
+ export type ActionsBeforeRequest = {
269
+ /** Actions before name. */
270
+ name?: string;
271
+ /** Actions before inputs. */
272
+ inputs?: {
273
+ [key: string]: object;
274
+ };
275
+ /** Actions before inputs sensitive. */
276
+ inputsSensitive?: string[];
277
+ /** Create repo?. */
278
+ repoCreate?: boolean;
279
+ connections?: ActionsConnectionsRequest;
280
+ };
281
+ export type ActionsAfterRequest = {
282
+ /** Actions after name. */
283
+ name?: string;
284
+ /** Actions after inputs. */
285
+ inputs?: {
286
+ [key: string]: object;
287
+ };
288
+ /** Actions after inputs sensitive. */
289
+ inputsSensitive?: string[];
290
+ /** Create repo?. */
291
+ repoCreate?: boolean;
292
+ connections?: ActionsConnectionsRequest;
293
+ };
294
+ export type CreateSharedRequest = {
295
+ infra: Infra;
296
+ actionsBefore?: ActionsBeforeRequest[];
297
+ actionsAfter?: ActionsAfterRequest[];
298
+ /** Data that will be used in case of retry. */
299
+ frontData?: object;
300
+ };
301
+ export type CreateShareInfraResponse = {
302
+ sharedInfraId: string;
303
+ workflowId: string;
304
+ logs: string;
305
+ };
306
+ export type App = {
307
+ /** Application apiId that will be used in case of retry. */
308
+ applicationId?: string;
309
+ /** Stack used to generate this application. */
310
+ stackVersionId: string;
311
+ /** Starter used to generate this application. */
312
+ starter: string;
313
+ /** Starter Id used to generate this application. */
314
+ starterId: string;
315
+ /** Application name. */
316
+ name: string;
317
+ /** Application repository url. */
318
+ repo?: string;
319
+ /** Application repository base branch. */
320
+ repoBaseBranch: string;
321
+ /** Application description. */
322
+ description?: string;
323
+ plugins: PluginRequest[];
324
+ };
325
+ export type Definitions = {
326
+ environmentId: string;
327
+ gatewayUrl: string;
328
+ openApiContent: string;
329
+ };
330
+ export type ApiRequest = {
331
+ /** Name used in create api. */
332
+ name: string;
333
+ /** Description used in create api. */
334
+ description: string;
335
+ connectionInterfaceSlug?: string;
336
+ /** Description used in create api. */
337
+ definitions: Definitions[];
338
+ };
339
+ export type CreateAppRequest = {
340
+ app: App;
341
+ /** Before Actions for execute in workflow . */
342
+ actionsBefore?: ActionsBeforeRequest[];
343
+ /** After Actions for execute in workflow . */
344
+ actionsAfter?: ActionsAfterRequest[];
345
+ api?: ApiRequest;
346
+ /** Data that will be used in case of retry. */
347
+ frontData?: object;
348
+ };
349
+ export type CreateApplicationResponse = {
350
+ applicationId: string;
351
+ apiId?: string;
352
+ workflowId: string;
353
+ logs: string;
354
+ };
355
+ export type StackResponse = {
356
+ id: string;
357
+ version: number;
358
+ displayName: string;
359
+ imageUrl?: string;
360
+ slug: string;
361
+ description: string;
362
+ studio: StudioResponse;
363
+ };
364
+ export type WorkspaceStackResponse = {
365
+ stackVersionId: string;
366
+ semanticVersion?: string;
367
+ copyFromStackVersionId?: string;
368
+ status: string;
369
+ hasDeprecatedContent: boolean;
370
+ workspaceId: string;
371
+ accountId: string;
372
+ qualifier: string;
373
+ stack: StackResponse;
374
+ };
375
+ export type AddStackInWorkspaceRequest = {
376
+ /** Stack version id. */
377
+ stackVersionId: string;
378
+ };
379
+ export type CreateConnectionInterfaceRequest = {
380
+ /** Connection interface type id. */
381
+ typeId?: string;
382
+ /** Connection interface id generated by client. */
383
+ connectionInterfaceId?: string;
384
+ /** Connection interface owner applications. */
385
+ applicationId?: string;
386
+ /** Connection interface owner shared infra. */
387
+ sharedInfraId?: string;
388
+ /** Version id from plugin that generated this connection interface. */
389
+ sourcePluginVersionId?: string;
390
+ /** Indicates if this connection interface was generated by a plugin or manually. */
391
+ automaticallyGenerated?: boolean;
392
+ /** Connection interface attributes. */
393
+ attributesByEnv?: ConnectionInterfaceAttributesByEnv[];
394
+ };
395
+ export type IdResponse = {
396
+ id: string;
397
+ };
398
+ export type ImportContextRequest = {
399
+ stackVersionId: string;
400
+ stackVersionReference: string;
401
+ };
402
+ export type WorkflowActionWithContextRequest = {
403
+ actionId: string;
404
+ order: number;
405
+ versionRange: string;
406
+ stepType?: "CREATE_REPO";
407
+ valuesContext: ContextAttribute[];
408
+ };
409
+ export type AccountWorkflowCreateRequest = {
410
+ name: string;
411
+ description: string;
412
+ "type": "CREATE_API" | "CREATE_APP" | "CREATE_INFRA";
413
+ isDefault: boolean;
414
+ stacksId: string[];
415
+ actionsBefore: WorkflowActionWithContextRequest[];
416
+ actionsAfter: WorkflowActionWithContextRequest[];
417
+ };
418
+ export type IdResponseString = {
419
+ id: string;
420
+ };
421
+ export type ConnectionInterfacesIdResponse = {
422
+ connectionInterfaceId: string;
423
+ typeId: string;
424
+ alias?: string;
425
+ typeName: string;
426
+ };
427
+ export type ConnectionInterfaceResponse = {
428
+ typeId?: string;
429
+ typeName: string;
430
+ alias: string;
431
+ };
432
+ export type Requires = {
433
+ connectionInterfaces: ConnectionInterfaceResponse[];
434
+ };
435
+ export type ActionsResponse = {
436
+ versionId: string;
437
+ qualifier: string;
438
+ description: string;
439
+ slug: string;
440
+ displayName: string;
441
+ requires: Requires;
442
+ };
443
+ export type Link = {
444
+ name: string;
445
+ url: string;
446
+ imageUrl?: string;
447
+ };
448
+ export type PluginsResponse = {
449
+ versionId: string;
450
+ qualifier: string;
451
+ slug: string;
452
+ description: string;
453
+ displayName: string;
454
+ "type": string;
455
+ status: string;
456
+ deployStatus: string;
457
+ inCloud?: boolean;
458
+ singleUse?: boolean;
459
+ attributes?: {
460
+ [key: string]: object;
461
+ };
462
+ connectionInterfaces?: ConnectionInterfacesIdResponse[];
463
+ actions?: ActionsResponse[];
464
+ links?: Link[];
465
+ };
466
+ export type SharedInfraAppliedPluginsV2Response = {
467
+ plugins: PluginsResponse[];
468
+ };
469
+ export type ApplicationAppliedPluginsV2Response = {
470
+ plugins: PluginsResponse[];
471
+ };
472
+ export type WorkspaceContextV2ResponseWorkspacePluginAttributeContext = {
473
+ /** Key identifier of an input */
474
+ key?: string;
475
+ /** Value of an input */
476
+ value?: object;
477
+ /** Identifies whether this attribute can be overwritten or not */
478
+ mandate?: boolean;
479
+ /** Source */
480
+ source?: string;
481
+ };
482
+ export type WorkspaceContextV2ResponseEnvironment = {
483
+ /** Identifier of a environment */
484
+ environmentId?: string;
485
+ /** name of a environment */
486
+ environmentName?: string;
487
+ /** Attributes environments */
488
+ attributes?: WorkspaceContextV2ResponseWorkspacePluginAttributeContext[];
489
+ };
490
+ export type WorkspaceContextV2ResponseConnectionInterfaceRequired = {
491
+ /** Connection interface type required */
492
+ typeName?: string;
493
+ /** Identifier of the pluginVersionId that should be used for the connection interface type */
494
+ pluginVersionId?: string;
495
+ alias?: string;
496
+ };
497
+ export type WorkspaceContextV2ResponsePlugin = {
498
+ /** Identifier of a plugin version */
499
+ pluginVersionId?: string;
500
+ /** Plugin slugs name with format `accountSlug/studioSlug/pluginSlug@x.y.z` */
501
+ pluginQualifier?: string;
502
+ /** Plugin type */
503
+ pluginType?: string;
504
+ /** Status Plugin */
505
+ status?: string;
506
+ /** Attributes show by environments */
507
+ environments?: WorkspaceContextV2ResponseEnvironment[];
508
+ /** Connection interfaces required */
509
+ connectionInterfaceRequired?: WorkspaceContextV2ResponseConnectionInterfaceRequired[];
510
+ };
511
+ export type WorkspaceContextV2ResponseConnectionInterface = {
512
+ /** Connection interface type */
513
+ typeName?: string;
514
+ /** Connection interface id. */
515
+ id?: string;
516
+ /** Connection interface id generated by client. */
517
+ connectionInterfaceId?: string;
518
+ /** Automatically generated */
519
+ automaticallyGenerated?: boolean;
520
+ };
521
+ export type WorkspaceContextV2Response = {
522
+ /** Cloud accounts information */
523
+ cloudAccounts?: object[];
524
+ /** Context information for each environment and plugin in stack */
525
+ context?: WorkspaceContextV2ResponsePlugin[];
526
+ /** Workspace Connection Interfaces information */
527
+ connectionInterfaces?: WorkspaceContextV2ResponseConnectionInterface[];
528
+ };
529
+ export type AvailableConnectionInterface = {
530
+ id: string;
531
+ slug: string;
532
+ sourcePluginUri?: string;
533
+ };
534
+ export type ConnectionInterfaceInput = {
535
+ name: string;
536
+ "type": "BOOLEAN" | "NUMBER" | "STRING" | "SECRET" | "ARRAY" | "OBJECT";
537
+ };
538
+ export type RequiredConnectionInterfaceByType = {
539
+ typeId: string;
540
+ typeName: string;
541
+ alias: string;
542
+ available: AvailableConnectionInterface[];
543
+ inputDefinitions: ConnectionInterfaceInput[];
544
+ };
545
+ export type GeneratesConnectionInterfaceByType = {
546
+ typeId: string;
547
+ typeName: string;
548
+ alias: string;
549
+ };
550
+ export type PluginForAppCreationV2Response = {
551
+ displayName: string;
552
+ status: string;
553
+ uri: string;
554
+ version: string;
555
+ singleUse?: boolean;
556
+ inputs: PluginInputValuesInConsolidatedContextResponse[];
557
+ requiredConnectionInterfacesByType: RequiredConnectionInterfaceByType[];
558
+ generatesConnectionInterfacesByType: GeneratesConnectionInterfaceByType[];
559
+ };
560
+ export type SimpleStackWithImageResponse = {
561
+ stackId: string;
562
+ name: string;
563
+ slug: string;
564
+ imageUrl?: string;
565
+ studio: StudioResponse;
566
+ };
567
+ export type WorkflowCompleteResponse = {
568
+ workflowId: string;
569
+ name: string;
570
+ description: string;
571
+ "type": "CREATE_API" | "CREATE_APP" | "CREATE_INFRA";
572
+ isDefault: boolean;
573
+ actionsBefore: WorkflowActionWithContextResponse[];
574
+ actionsAfter: WorkflowActionWithContextResponse[];
575
+ };
576
+ export type StackVersionResponse = {
577
+ stackVersionId: string;
578
+ version: number;
579
+ status?: string;
580
+ hasDeprecatedContent: boolean;
581
+ published: boolean;
582
+ publishedBy?: string;
583
+ publishedAt?: string;
584
+ unpublishedBy?: string;
585
+ unpublishedAt?: string;
586
+ semanticVersion?: string;
587
+ copyFromStackVersionId?: string;
588
+ hasContext?: boolean;
589
+ };
590
+ export type VersionStackResponse = {
591
+ id: string;
592
+ version: number;
593
+ displayName: string;
594
+ imageUrl?: string;
595
+ slug: string;
596
+ description: string;
597
+ studio: StudioResponse;
598
+ versions: StackVersionResponse[];
599
+ };
600
+ export type WorkspaceStackContextResponse = {
601
+ stackVersionId: string;
602
+ semanticVersion?: string;
603
+ copyFromStackVersionId?: string;
604
+ status: string;
605
+ hasDeprecatedContent: boolean;
606
+ hasVersionsWithContext: boolean;
607
+ workspaceId: string;
608
+ accountId: string;
609
+ qualifier: string;
610
+ hasContext: boolean;
611
+ stack: VersionStackResponse;
612
+ };
613
+ export type LinksConsolidateResponse = {
614
+ id: string;
615
+ name: string;
616
+ url: string;
617
+ imageUrl?: string;
618
+ readOnly: boolean;
619
+ visible: boolean;
620
+ "type": "STACK" | "PLUGIN" | "APPLICATION" | "SHAREDINFRA" | "WORKSPACE";
621
+ };
622
+ export type SharedInfraResponse = {
623
+ /** Shared-infra id. */
624
+ id?: string;
625
+ /** Shared-infra name. */
626
+ name?: string;
627
+ /** Shared-infra description. */
628
+ description?: string;
629
+ /** Shared-infra repository url. */
630
+ repoUrl?: string;
631
+ /** Shared-infra repository base branch. */
632
+ repoBaseBranch?: string;
633
+ /** Stack used to generate this shared-infra. */
634
+ stackVersionId?: string;
635
+ /** Starter used to generate this shared-infra. */
636
+ version?: string;
637
+ /** Shared-infra Deploy Status. */
638
+ status?: string;
639
+ };
640
+ export type WorkspaceActivitiesResponse = {
641
+ title: string;
642
+ owner?: string;
643
+ status: "SUCCESS" | "FAILED" | "RUNNING" | "PENDING" | "SKIPPED" | "CANCELLED" | "NONE" | "DRIFT" | "SUCCEEDED" | "RUNTIME_ERROR" | "USER_ERROR" | "INTERNAL_ERROR" | "ABORTED" | "ABORTING" | "EXTERNAL_ERROR" | "READY_TO_RUN";
644
+ "type"?: "DEPLOY" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED";
645
+ action?: "CREATE" | "UPDATE" | "DELETE" | "RUN";
646
+ requestedBy?: string;
647
+ time: number;
648
+ version: string;
649
+ detail: {
650
+ [key: string]: object;
651
+ };
652
+ };
653
+ export type Studio = {
654
+ id: string;
655
+ slug: string;
656
+ name: string;
657
+ };
658
+ export type WorkspacePluginConnectionsResponse = {
659
+ typeId: string;
660
+ "type": string;
661
+ alias: string;
662
+ };
663
+ export type WorkspacePluginResponse = {
664
+ stackVersionId: string;
665
+ stackSlug: string;
666
+ stackSemanticVersion: string;
667
+ pluginId: string;
668
+ pluginVersionId: string;
669
+ slug: string;
670
+ displayName: string;
671
+ description: string;
672
+ pluginQualifier: string;
673
+ studio: Studio;
674
+ uri: string;
675
+ requiredConnectionInterfacesByType?: WorkspacePluginConnectionsResponse[];
676
+ generatesConnectionInterfacesByType: WorkspacePluginConnectionsResponse[];
677
+ };
678
+ export type Visibility = {
679
+ "type": string;
680
+ ids: string[];
681
+ };
682
+ export type ConnectionInterfaceDetailsResponse = {
683
+ /** Connection Interface Details id. */
684
+ id?: string;
685
+ /** Connection Interface Type id. */
686
+ typeId?: string;
687
+ /** Connection Interface id. */
688
+ connectionInterfaceId?: string;
689
+ visibility?: Visibility;
690
+ /** Source Plugin Version id. */
691
+ sourcePluginVersionId?: string;
692
+ /** Was this Connection Interface automatically generated?. */
693
+ automaticallyGenerated?: boolean;
694
+ /** Connection interface attribute's by environment. */
695
+ attributesByEnv?: ConnectionInterfaceAttributesByEnv[];
696
+ };
697
+ export type AvailableConnectionInterfaceResponse = {
698
+ slug: string;
699
+ typeId: string;
700
+ typeName: string;
701
+ automaticallyGenerated: boolean;
702
+ };
703
+ export type ApplicationResponse = {
704
+ /** Application id. */
705
+ id?: string;
706
+ /** Application name. */
707
+ name?: string;
708
+ /** Application description. */
709
+ description?: string;
710
+ /** Application repository url. */
711
+ repoUrl?: string;
712
+ /** Application repository base branch. */
713
+ repoBaseBranch?: string;
714
+ /** Stack used to generate this application. */
715
+ stackVersionId?: string;
716
+ /** Starter used to generate this application. */
717
+ starterId?: string;
718
+ /** Application Deploy Version. */
719
+ version?: string;
720
+ /** Application Deploy Status. */
721
+ status?: string;
722
+ };
723
+ export type WorkspaceContextResponseWorkspacePluginAttributeContext = {
724
+ /** Key identifier of an input */
725
+ key?: string;
726
+ /** Value of an input */
727
+ value?: object;
728
+ /** Identifies whether this attribute can be overwritten or not */
729
+ mandate?: boolean;
730
+ /** Source */
731
+ source?: string;
732
+ };
733
+ export type WorkspaceContextResponseEnvironment = {
734
+ /** Identifier of a environment */
735
+ environmentId?: string;
736
+ /** name of a environment */
737
+ environmentName?: string;
738
+ /** Attributes environments */
739
+ attributes?: WorkspaceContextResponseWorkspacePluginAttributeContext[];
740
+ };
741
+ export type WorkspaceContextResponseConnectionInterfaceRequired = {
742
+ /** Connection interface type required */
743
+ "type"?: string;
744
+ /** Identifier of the pluginVersionId that should be used for the connection interface type */
745
+ pluginVersionId?: string;
746
+ alias?: string;
747
+ };
748
+ export type WorkspaceContextResponsePlugin = {
749
+ /** Identifier of a plugin version */
750
+ pluginVersionId?: string;
751
+ /** Plugin slugs name with format `accountSlug/studioSlug/pluginSlug@x.y.z` */
752
+ pluginQualifier?: string;
753
+ /** Plugin type */
754
+ pluginType?: string;
755
+ /** Status Plugin */
756
+ status?: string;
757
+ /** Attributes show by environments */
758
+ environments?: WorkspaceContextResponseEnvironment[];
759
+ /** Connection interfaces required */
760
+ connectionInterfaceRequired?: WorkspaceContextResponseConnectionInterfaceRequired[];
761
+ };
762
+ export type WorkspaceContextResponseConnectionInterface = {
763
+ /** Connection interface type */
764
+ "type"?: string;
765
+ /** Connection interface id. */
766
+ id?: string;
767
+ /** Connection interface id generated by client. */
768
+ connectionInterfaceId?: string;
769
+ /** Automatically generated */
770
+ automaticallyGenerated?: boolean;
771
+ };
772
+ export type WorkspaceContextResponse = {
773
+ /** Cloud accounts information */
774
+ cloudAccounts?: object[];
775
+ /** Context information for each environment and plugin in stack */
776
+ context?: WorkspaceContextResponsePlugin[];
777
+ /** Workspace Connection Interfaces information */
778
+ connectionInterfaces?: WorkspaceContextResponseConnectionInterface[];
779
+ };
780
+ export type PluginForAppCreationResponse = {
781
+ displayName: string;
782
+ status: string;
783
+ uri: string;
784
+ inputs: PluginInputValuesInConsolidatedContextResponse[];
785
+ requiredConnectionInterfacesByType: RequiredConnectionInterfaceByType[];
786
+ generatesConnectionInterfacesByType: GeneratesConnectionInterfaceByType[];
787
+ };
788
+ export type ValueByEnvWorkspaceResponse = {
789
+ envName: string;
790
+ value: object;
791
+ mandate: boolean;
792
+ source: string;
793
+ };
794
+ export type StackActionInputValuesByEnvInWorkspaceContextResponse = {
795
+ name: string;
796
+ label: string;
797
+ "type": string;
798
+ items?: string[];
799
+ externalItems?: ExternalItems;
800
+ inputEnv: boolean;
801
+ "default"?: object;
802
+ required?: boolean;
803
+ pattern?: string;
804
+ help?: string;
805
+ valuesByEnv: ValueByEnvWorkspaceResponse[];
806
+ connectionInterfaceType?: string;
807
+ addQuestion?: string;
808
+ input?: object;
809
+ inputs: object[];
810
+ };
811
+ export type ValueByEnvAccountResponse = {
812
+ envName: string;
813
+ value: object;
814
+ mandate: boolean;
815
+ };
816
+ export type StackActionInputValuesByEnvInAccountContextResponse = {
817
+ name: string;
818
+ label: string;
819
+ "type": string;
820
+ items?: string[];
821
+ externalItems?: ExternalItems;
822
+ inputEnv: boolean;
823
+ "default"?: object;
824
+ required?: boolean;
825
+ pattern?: string;
826
+ help?: string;
827
+ valuesByEnv: ValueByEnvAccountResponse[];
828
+ connectionInterfaceType?: string;
829
+ addQuestion?: string;
830
+ input?: object;
831
+ inputs: object[];
832
+ };
833
+ export type StackVersion = {
834
+ stackVersionId: string;
835
+ version: number;
836
+ published: boolean;
837
+ publishedBy?: string;
838
+ publishedAt?: string;
839
+ unpublishedBy?: string;
840
+ unpublishedAt?: string;
841
+ semanticVersion?: string;
842
+ copyFromStackVersionId?: string;
843
+ };
844
+ export type StackVersionShortForm = {
845
+ stackVersionId: string;
846
+ version: number;
847
+ published: boolean;
848
+ semanticVersion?: string;
849
+ copyFromStackVersionId?: string;
850
+ };
851
+ export type Workflow = {
852
+ id: string;
853
+ name: string;
854
+ "type": "CREATE_APP" | "CREATE_INFRA" | "CREATE_API";
855
+ isDefault: boolean;
856
+ };
857
+ export type StacksByAccountWithWorkflowResponse = {
858
+ stack: StackResponse;
859
+ latestVersion: StackVersion;
860
+ versions: StackVersionShortForm[];
861
+ workflows: Workflow[];
862
+ };
863
+ export type StackVersionWksResponse = {
864
+ stackVersionId: string;
865
+ version: number;
866
+ status: string;
867
+ hasDeprecatedContent: boolean;
868
+ hasContext?: boolean;
869
+ published: boolean;
870
+ semanticVersion?: string;
871
+ copyFromStackVersionId?: string;
872
+ };
873
+ export type AccountContextStackResponse = {
874
+ stackVersionId: string;
875
+ hasContext: boolean;
876
+ hasVersionsWithContext: boolean;
877
+ versions: StackVersionWksResponse[];
878
+ };
879
+ export declare function findWorkflowStackContext({ workspaceId, stackId, workflowId }: {
880
+ workspaceId: string;
881
+ stackId: string;
882
+ workflowId: string;
883
+ }, opts?: Oazapfts.RequestOpts): Promise<WorkflowAccountContextResponse>;
884
+ export declare function saveWorkflowWorkspaceContext({ workspaceId, stackId, workflowId, workflowContextSaveRequest }: {
885
+ workspaceId: string;
886
+ stackId: string;
887
+ workflowId: string;
888
+ workflowContextSaveRequest: WorkflowContextSaveRequest;
889
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
890
+ export declare function updateConnectionInterfaceAttributes({ workspaceId, connectionInterfaceId, connectionInterfaceAttributesByEnv }: {
891
+ workspaceId: string;
892
+ connectionInterfaceId: string;
893
+ connectionInterfaceAttributesByEnv: ConnectionInterfaceAttributesByEnv;
894
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
895
+ export declare function getConsolidatedPluginInputs({ workspaceId, stackVersionId, pluginVersionId, envName }: {
896
+ workspaceId: string;
897
+ stackVersionId: string;
898
+ pluginVersionId: string;
899
+ envName?: string;
900
+ }, opts?: Oazapfts.RequestOpts): Promise<PluginInputValuesInConsolidatedContextResponse[]>;
901
+ export declare function upsertPluginWorkspaceContext({ workspaceId, stackVersionId, pluginVersionId, body }: {
902
+ workspaceId: string;
903
+ stackVersionId: string;
904
+ pluginVersionId: string;
905
+ body: UpsertPluginInputContextRequest[];
906
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
907
+ export declare function upsertWorkspaceActionsInputContext({ workspaceId, stackVersionId, actionVersionId, body }: {
908
+ workspaceId: string;
909
+ stackVersionId: string;
910
+ actionVersionId: string;
911
+ body: UpsertActionInputContextRequest[];
912
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
913
+ export declare function getAccountPluginInputs({ stackVersionId, pluginVersionId, envName }: {
914
+ stackVersionId: string;
915
+ pluginVersionId: string;
916
+ envName?: string;
917
+ }, opts?: Oazapfts.RequestOpts): Promise<PluginInputValuesInAccountContextResponse[]>;
918
+ export declare function upsertPluginAccountContext({ stackVersionId, pluginVersionId, body }: {
919
+ stackVersionId: string;
920
+ pluginVersionId: string;
921
+ body: UpsertPluginInputContextRequest[];
922
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
923
+ export declare function upsertAccountActionsInputContext({ stackVersionId, actionVersionId, body }: {
924
+ stackVersionId: string;
925
+ actionVersionId: string;
926
+ body: UpsertActionInputContextRequest[];
927
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
928
+ export declare function findWorkflowSettings({ workflowId }: {
929
+ workflowId: string;
930
+ }, opts?: Oazapfts.RequestOpts): Promise<WorkflowAccountSettingsResponse>;
931
+ export declare function saveWorkflowSettings({ workflowId, workflowSettingsSaveRequest }: {
932
+ workflowId: string;
933
+ workflowSettingsSaveRequest: WorkflowSettingsSaveRequest;
934
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
935
+ export declare function findWorkflowContext({ workflowId }: {
936
+ workflowId: string;
937
+ }, opts?: Oazapfts.RequestOpts): Promise<WorkflowAccountContextResponse>;
938
+ export declare function saveWorkflowContext({ workflowId, workflowContextSaveRequest }: {
939
+ workflowId: string;
940
+ workflowContextSaveRequest: WorkflowContextSaveRequest;
941
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
942
+ export declare function getWorkflowActions1({ workflowId }: {
943
+ workflowId: string;
944
+ }, opts?: Oazapfts.RequestOpts): Promise<WorkflowActionResponse>;
945
+ export declare function getWorkflowActions({ workflowId, workflowActionsRequest }: {
946
+ workflowId: string;
947
+ workflowActionsRequest: WorkflowActionsRequest;
948
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
949
+ export declare function findWorkflowStackContext1({ stackId, workflowId }: {
950
+ stackId: string;
951
+ workflowId: string;
952
+ }, opts?: Oazapfts.RequestOpts): Promise<WorkflowAccountContextResponse>;
953
+ export declare function saveWorkflowStackContext({ stackId, workflowId, workflowContextSaveRequest }: {
954
+ stackId: string;
955
+ workflowId: string;
956
+ workflowContextSaveRequest: WorkflowContextSaveRequest;
957
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
958
+ export declare function createSharedInfra({ workspaceId, createSharedRequest }: {
959
+ workspaceId: string;
960
+ createSharedRequest: CreateSharedRequest;
961
+ }, opts?: Oazapfts.RequestOpts): Promise<CreateShareInfraResponse>;
962
+ export declare function createApp({ workspaceId, createAppRequest }: {
963
+ workspaceId: string;
964
+ createAppRequest: CreateAppRequest;
965
+ }, opts?: Oazapfts.RequestOpts): Promise<CreateApplicationResponse>;
966
+ export declare function upsertTeam({ workspaceId, body }: {
967
+ workspaceId: string;
968
+ body: string[];
969
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
970
+ export declare function listStacks1({ workspaceId }: {
971
+ workspaceId: string;
972
+ }, opts?: Oazapfts.RequestOpts): Promise<WorkspaceStackResponse[]>;
973
+ export declare function addStacksInWorkspace({ workspaceId, addStackInWorkspaceRequest }: {
974
+ workspaceId: string;
975
+ addStackInWorkspaceRequest: AddStackInWorkspaceRequest;
976
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
977
+ export declare function createConnectionInterface({ workspaceId, createConnectionInterfaceRequest }: {
978
+ workspaceId: string;
979
+ createConnectionInterfaceRequest: CreateConnectionInterfaceRequest;
980
+ }, opts?: Oazapfts.RequestOpts): Promise<IdResponse>;
981
+ export declare function importContextInWorkspace({ workspaceId, body }: {
982
+ workspaceId: string;
983
+ body: ImportContextRequest[];
984
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
985
+ export declare function importContextInAccount({ body }: {
986
+ body: ImportContextRequest[];
987
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
988
+ export declare function createAccountWorkflow({ accountWorkflowCreateRequest }: {
989
+ accountWorkflowCreateRequest: AccountWorkflowCreateRequest;
990
+ }, opts?: Oazapfts.RequestOpts): Promise<IdResponseString>;
991
+ export declare function archiveApplication({ workspaceId, applicationId }: {
992
+ workspaceId: string;
993
+ applicationId: string;
994
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
995
+ export declare function getSharedInfraAppliedPlugins({ workspaceId, sharedInfraId, envName, pluginType, containsLinks }: {
996
+ workspaceId: string;
997
+ sharedInfraId: string;
998
+ envName: string;
999
+ pluginType?: string;
1000
+ containsLinks: boolean;
1001
+ }, opts?: Oazapfts.RequestOpts): Promise<SharedInfraAppliedPluginsV2Response>;
1002
+ export declare function getApplicationAppliedPlugins({ workspaceId, applicationId, envName, pluginType, containsLinks }: {
1003
+ workspaceId: string;
1004
+ applicationId: string;
1005
+ envName: string;
1006
+ pluginType?: string;
1007
+ containsLinks: boolean;
1008
+ }, opts?: Oazapfts.RequestOpts): Promise<ApplicationAppliedPluginsV2Response>;
1009
+ export declare function getWorkspaceContext({ workspaceId, stackVersionId, envName }: {
1010
+ workspaceId: string;
1011
+ stackVersionId: string;
1012
+ envName?: string;
1013
+ }, opts?: Oazapfts.RequestOpts): Promise<WorkspaceContextV2Response>;
1014
+ export declare function getConsolidatedPluginInputsWithConnectionInterfaces({ workspaceId, stackVersionId, pluginVersionId }: {
1015
+ workspaceId: string;
1016
+ stackVersionId: string;
1017
+ pluginVersionId: string;
1018
+ }, opts?: Oazapfts.RequestOpts): Promise<PluginForAppCreationV2Response>;
1019
+ export declare function listStacks({ workspaceId, workflowId }: {
1020
+ workspaceId: string;
1021
+ workflowId: string;
1022
+ }, opts?: Oazapfts.RequestOpts): Promise<SimpleStackWithImageResponse[]>;
1023
+ export declare function listWorkflowByStackIdAndWorkflowType({ workspaceId, stackId, workflowType }: {
1024
+ workspaceId: string;
1025
+ stackId: string;
1026
+ workflowType: string;
1027
+ }, opts?: Oazapfts.RequestOpts): Promise<WorkflowCompleteResponse>;
1028
+ export declare function listStacksContext({ workspaceId }: {
1029
+ workspaceId: string;
1030
+ }, opts?: Oazapfts.RequestOpts): Promise<WorkspaceStackContextResponse[]>;
1031
+ export declare function getApplicationLinks({ workspaceId, sharedInfraId, envName }: {
1032
+ workspaceId: string;
1033
+ sharedInfraId: string;
1034
+ envName: string;
1035
+ }, opts?: Oazapfts.RequestOpts): Promise<LinksConsolidateResponse[]>;
1036
+ export declare function getSharedInfraAppliedPlugins1({ workspaceId, sharedInfraId, envName }: {
1037
+ workspaceId: string;
1038
+ sharedInfraId: string;
1039
+ envName: string;
1040
+ }, opts?: Oazapfts.RequestOpts): Promise<SharedInfraResponse>;
1041
+ export declare function getSharedInfraActivities({ workspaceId, sharedInfraId, envName, $type }: {
1042
+ workspaceId: string;
1043
+ sharedInfraId: string;
1044
+ envName: string;
1045
+ $type?: "DEPLOY" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED";
1046
+ }, opts?: Oazapfts.RequestOpts): Promise<WorkspaceActivitiesResponse[]>;
1047
+ export declare function listPluginsFromWorkspace({ workspaceId, typePlugin }: {
1048
+ workspaceId: string;
1049
+ typePlugin?: "INFRA" | "APP";
1050
+ }, opts?: Oazapfts.RequestOpts): Promise<WorkspacePluginResponse[]>;
1051
+ export declare function getConnectionInterfaceDetails({ workspaceId, connectionInterfaceId }: {
1052
+ workspaceId: string;
1053
+ connectionInterfaceId: string;
1054
+ }, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceDetailsResponse>;
1055
+ export declare function getAvailableConnectionInterfaces({ workspaceId, typeName, automaticallyGenerated }: {
1056
+ workspaceId: string;
1057
+ typeName?: string;
1058
+ automaticallyGenerated?: boolean;
1059
+ }, opts?: Oazapfts.RequestOpts): Promise<AvailableConnectionInterfaceResponse[]>;
1060
+ export declare function getApplicationLinks1({ workspaceId, applicationId, envName }: {
1061
+ workspaceId: string;
1062
+ applicationId: string;
1063
+ envName: string;
1064
+ }, opts?: Oazapfts.RequestOpts): Promise<LinksConsolidateResponse[]>;
1065
+ export declare function getApplicationDetails({ workspaceId, applicationId, envName }: {
1066
+ workspaceId: string;
1067
+ applicationId: string;
1068
+ envName: string;
1069
+ }, opts?: Oazapfts.RequestOpts): Promise<ApplicationResponse>;
1070
+ export declare function getApplicationActivities({ workspaceId, applicationId, envName, $type }: {
1071
+ workspaceId: string;
1072
+ applicationId: string;
1073
+ envName: string;
1074
+ $type?: "DEPLOY" | "ACTION" | "WORKFLOW" | "DRIFT" | "DESTROY" | "ROLLBACK" | "DEPLOY_SELF_HOSTED" | "DESTROY_SELF_HOSTED" | "ROLLBACK_SELF_HOSTED";
1075
+ }, opts?: Oazapfts.RequestOpts): Promise<WorkspaceActivitiesResponse[]>;
1076
+ export declare function getWorkspaceContext1({ workspaceId, stackVersionId, envName }: {
1077
+ workspaceId: string;
1078
+ stackVersionId: string;
1079
+ envName?: string;
1080
+ }, opts?: Oazapfts.RequestOpts): Promise<WorkspaceContextResponse>;
1081
+ export declare function getConsolidatedPluginInputsWithConnectionInterfaces1({ workspaceId, stackVersionId, pluginVersionId }: {
1082
+ workspaceId: string;
1083
+ stackVersionId: string;
1084
+ pluginVersionId: string;
1085
+ }, opts?: Oazapfts.RequestOpts): Promise<PluginForAppCreationResponse>;
1086
+ export declare function getStackActionInputsInWorkspaceContext({ workspaceId, stackVersionId, actionsVersionId, envName }: {
1087
+ workspaceId: string;
1088
+ stackVersionId: string;
1089
+ actionsVersionId: string;
1090
+ envName?: string;
1091
+ }, opts?: Oazapfts.RequestOpts): Promise<StackActionInputValuesByEnvInWorkspaceContextResponse[]>;
1092
+ export declare function getStackActionInputsInAccountContext({ stackVersionId, actionsVersionId, envName }: {
1093
+ stackVersionId: string;
1094
+ actionsVersionId: string;
1095
+ envName?: string;
1096
+ }, opts?: Oazapfts.RequestOpts): Promise<StackActionInputValuesByEnvInAccountContextResponse[]>;
1097
+ export declare function listStacksByAccountWithWorkflow({ workspaceId }: {
1098
+ workspaceId?: string;
1099
+ }, opts?: Oazapfts.RequestOpts): Promise<StacksByAccountWithWorkflowResponse[]>;
1100
+ export declare function listWorkflowsByStack({ stackId }: {
1101
+ stackId: string;
1102
+ }, opts?: Oazapfts.RequestOpts): Promise<WorkflowCompleteResponse[]>;
1103
+ export declare function listVersionsWithContext({ stackVersionId }: {
1104
+ stackVersionId: string;
1105
+ }, opts?: Oazapfts.RequestOpts): Promise<AccountContextStackResponse>;
1106
+ export declare function deleteV1WorkspacesByWorkspaceId({ workspaceId }: {
1107
+ workspaceId: string;
1108
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
1109
+ export declare function deleteStacksInWorkspace({ workspaceId, stackVersionId }: {
1110
+ workspaceId: string;
1111
+ stackVersionId: string;
1112
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
1113
+ export declare function deleteSharedInfra({ workspaceId, sharedInfraId }: {
1114
+ workspaceId: string;
1115
+ sharedInfraId: string;
1116
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
1117
+ export declare function deleteApplication({ workspaceId, applicationId }: {
1118
+ workspaceId: string;
1119
+ applicationId: string;
1120
+ }, opts?: Oazapfts.RequestOpts): Promise<never>;
1121
+ //# sourceMappingURL=workspaceManager.d.ts.map