@stack-spot/portal-network 0.17.0 → 0.18.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.
@@ -0,0 +1,2890 @@
1
+ /**
2
+ * Content 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 ValidationDetails = {
13
+ code?: string;
14
+ field?: string;
15
+ details?: string;
16
+ values?: string[];
17
+ };
18
+ export type CreateStackVersionRequest = {
19
+ copyFromStackVersionId: string;
20
+ };
21
+ export type WarningResponse = {
22
+ code?: string;
23
+ field?: string;
24
+ details?: string;
25
+ values?: string[];
26
+ };
27
+ export type StackVersionSummaryResponse = {
28
+ stackId: string;
29
+ stackVersionId: string;
30
+ semanticVersion?: string;
31
+ version: number;
32
+ referenceCopyStackVersionId?: string;
33
+ warnings: WarningResponse[];
34
+ };
35
+ export type AddPluginRequest = {
36
+ pluginId: string;
37
+ "type": "VERSION" | "RANGE";
38
+ value: string;
39
+ };
40
+ export type CreateStarterV2Request = {
41
+ slug: string;
42
+ "type": "INFRA" | "APP";
43
+ description?: string;
44
+ plugins: AddPluginRequest[];
45
+ optionalPlugins?: AddPluginRequest[];
46
+ };
47
+ export type StarterPluginResponse = {
48
+ pluginId: string;
49
+ pluginVersionId: string;
50
+ pluginQualifier: string;
51
+ range?: string;
52
+ index: number;
53
+ };
54
+ export type DocumentationContentLanguageResponse = {
55
+ language: "ENGLISH" | "PTBR";
56
+ status: "DRAFT" | "PUBLISHED";
57
+ lastUpdated: string;
58
+ };
59
+ export type DocumentationContentResponse = {
60
+ documentationId: string;
61
+ languages: DocumentationContentLanguageResponse[];
62
+ };
63
+ export type StarterResponseWithRange = {
64
+ id: string;
65
+ slug: string;
66
+ "type": string;
67
+ description?: string;
68
+ pluginVersions: StarterPluginResponse[];
69
+ optionalPluginVersions: StarterPluginResponse[];
70
+ documentation?: DocumentationContentResponse;
71
+ status: string;
72
+ };
73
+ export type PublishStackVersionRequest = {
74
+ publishType: "V1" | "MAJOR" | "MINOR" | "PATCH" | "CUSTOM";
75
+ semanticVersion?: string;
76
+ };
77
+ export type AddActionRequest = {
78
+ actionId: string;
79
+ "type": "VERSION" | "RANGE";
80
+ value: string;
81
+ };
82
+ export type JsonNode = object;
83
+ export type CreateConnectionInterfaceOutputResponseV2 = {
84
+ id: string;
85
+ name: string;
86
+ "type": "STRING" | "NUMBER" | "INTEGER" | "OBJECT" | "BOOLEAN";
87
+ sensitive: boolean;
88
+ schema?: JsonNode;
89
+ };
90
+ export type ConnectionInterfaceResponseV2 = {
91
+ id: string;
92
+ slug: string;
93
+ description: string;
94
+ outputs: CreateConnectionInterfaceOutputResponseV2[];
95
+ };
96
+ export type CreateConnectionInterfaceTypeOutputRequest = {
97
+ name: string;
98
+ "type": "STRING" | "NUMBER" | "INTEGER" | "OBJECT" | "BOOLEAN";
99
+ sensitive: boolean;
100
+ schema?: JsonNode;
101
+ };
102
+ export type CreateConnectionInterfaceTypeRequest = {
103
+ slug: string;
104
+ description: string;
105
+ outputs: CreateConnectionInterfaceTypeOutputRequest[];
106
+ };
107
+ export type StudioResponse = {
108
+ slug: string;
109
+ name: string;
110
+ imageUrl?: string;
111
+ description?: string;
112
+ };
113
+ export type CreateStudioRequest = {
114
+ name: string;
115
+ slug: string;
116
+ description: string;
117
+ image?: string;
118
+ teams?: string[];
119
+ };
120
+ export type CreateStudioResponse = {
121
+ id: string;
122
+ slug: string;
123
+ name: string;
124
+ imageUrl?: string;
125
+ verified: boolean;
126
+ description: string;
127
+ accountSlug: string;
128
+ createdBy: string;
129
+ teams?: string[];
130
+ visibility: string;
131
+ tabs: string[];
132
+ };
133
+ export type StudioWorkspaceResponse = {
134
+ id: string;
135
+ name: string;
136
+ imageUrl?: string;
137
+ inUse: boolean;
138
+ };
139
+ export type StudioWorkspaceRequest = {
140
+ workspacesIds: string[];
141
+ };
142
+ export type StudioInfo = {
143
+ slug: string;
144
+ name: string;
145
+ imageUrl?: string;
146
+ };
147
+ export type StackResponse = {
148
+ stackId: string;
149
+ slug: string;
150
+ displayName: string;
151
+ description: string;
152
+ imageUrl?: string;
153
+ existsDraft: boolean;
154
+ createdBy: string;
155
+ createdAt: string;
156
+ lastModificationAt: string;
157
+ studio: StudioInfo;
158
+ tabs: string[];
159
+ tags?: string[];
160
+ };
161
+ export type StackVersionResponse = {
162
+ stackVersionId: string;
163
+ version: number;
164
+ published: boolean;
165
+ publishedBy?: string;
166
+ publishedAt?: string;
167
+ unpublishedBy?: string;
168
+ unpublishedAt?: string;
169
+ status: string;
170
+ hasDeprecatedContent: boolean;
171
+ semanticVersion?: string;
172
+ copyFromStackVersionId?: string;
173
+ documentation?: DocumentationContentResponse;
174
+ };
175
+ export type PluginStudioResponse = {
176
+ id: string;
177
+ slug: string;
178
+ name: string;
179
+ };
180
+ export type PluginRequiresConnectionResponse = {
181
+ typeId: string;
182
+ "type": string;
183
+ alias: string;
184
+ optional: boolean;
185
+ source: string;
186
+ };
187
+ export type PluginVersionRequiresActionsResponse = {
188
+ slug: string;
189
+ displayName: string;
190
+ resolved?: boolean;
191
+ };
192
+ export type PluginVersionRequiresPluginsResponse = {
193
+ slug: string;
194
+ displayName: string;
195
+ "type": "INFRA" | "APP";
196
+ resolved?: boolean;
197
+ };
198
+ export type PluginRequiresResponse = {
199
+ connections: PluginRequiresConnectionResponse[];
200
+ actions: PluginVersionRequiresActionsResponse[];
201
+ plugins: PluginVersionRequiresPluginsResponse[];
202
+ };
203
+ export type Connections = {
204
+ typeId: string;
205
+ "type": string;
206
+ alias: string;
207
+ optional?: boolean;
208
+ source?: string;
209
+ };
210
+ export type GeneratesResponse = {
211
+ connections: Connections[];
212
+ };
213
+ export type Requires = {
214
+ connections: Connections[];
215
+ };
216
+ export type PluginActionsResponse = {
217
+ id: string;
218
+ versionId: string;
219
+ version: string;
220
+ range?: string;
221
+ slug: string;
222
+ displayName: string;
223
+ description: string;
224
+ qualifier: string;
225
+ status: string;
226
+ requires?: Requires;
227
+ };
228
+ export type PluginResponse = {
229
+ pluginId: string;
230
+ pluginVersionId: string;
231
+ slug: string;
232
+ displayName: string;
233
+ description?: string;
234
+ pluginQualifier: string;
235
+ studio: PluginStudioResponse;
236
+ range?: string;
237
+ version: string;
238
+ "type": string;
239
+ status: string;
240
+ requires: PluginRequiresResponse;
241
+ generates: GeneratesResponse;
242
+ appAllowed: boolean;
243
+ singleUse: boolean;
244
+ stkProjectsOnly: boolean;
245
+ actions?: PluginActionsResponse[];
246
+ };
247
+ export type GetPluginsResponse = {
248
+ stackSlug: string;
249
+ stackSemanticVersion: string;
250
+ appPluginVersions: PluginResponse[];
251
+ infraPluginVersions: PluginResponse[];
252
+ };
253
+ export type StackActionStudioResponse = {
254
+ slug: string;
255
+ name: string;
256
+ description?: string;
257
+ imageUrl?: string;
258
+ };
259
+ export type GetStackActionResponse = {
260
+ id: string;
261
+ versionId: string;
262
+ slug: string;
263
+ displayName: string;
264
+ description: string;
265
+ accountSlug: string;
266
+ studio: StackActionStudioResponse;
267
+ range?: string;
268
+ version: string;
269
+ "type": string;
270
+ qualifier: string;
271
+ status: string;
272
+ };
273
+ export type GetStackResponse = {
274
+ stack: StackResponse;
275
+ version: StackVersionResponse;
276
+ plugins?: GetPluginsResponse;
277
+ actions?: GetStackActionResponse[];
278
+ };
279
+ export type Pageable = {
280
+ page?: number;
281
+ size?: number;
282
+ sort?: string[];
283
+ };
284
+ export type FilterStackRequest = {
285
+ filter?: string;
286
+ tags: string[];
287
+ technologies: string[];
288
+ };
289
+ export type StackVersionV2Dto = {
290
+ stackVersionId: string;
291
+ version: number;
292
+ published: boolean;
293
+ publishedBy?: string;
294
+ publishedAt?: string;
295
+ unpublishedBy?: string;
296
+ unpublishedAt?: string;
297
+ semanticVersion?: string;
298
+ copyFromStackVersionId?: string;
299
+ status: string;
300
+ hasDeprecatedContent: boolean;
301
+ };
302
+ export type GetStackStudioResponse = {
303
+ stackSlug: string;
304
+ displayName: string;
305
+ description: string;
306
+ imageUrl?: string;
307
+ latestSemanticVersion?: string;
308
+ latestVersion?: StackVersionV2Dto;
309
+ };
310
+ export type SortObject = {
311
+ direction?: string;
312
+ nullHandling?: string;
313
+ ascending?: boolean;
314
+ property?: string;
315
+ ignoreCase?: boolean;
316
+ };
317
+ export type PageableObject = {
318
+ offset?: number;
319
+ sort?: SortObject[];
320
+ pageSize?: number;
321
+ pageNumber?: number;
322
+ paged?: boolean;
323
+ unpaged?: boolean;
324
+ };
325
+ export type PageGetStackStudioResponse = {
326
+ totalElements?: number;
327
+ totalPages?: number;
328
+ first?: boolean;
329
+ last?: boolean;
330
+ size?: number;
331
+ content?: GetStackStudioResponse[];
332
+ "number"?: number;
333
+ sort?: SortObject[];
334
+ numberOfElements?: number;
335
+ pageable?: PageableObject;
336
+ empty?: boolean;
337
+ };
338
+ export type PublishResponse = {
339
+ id: string;
340
+ versionId: string;
341
+ warnings: WarningResponse[];
342
+ };
343
+ export type GetAvailablePluginVersionsResponse = {
344
+ pluginVersionId: string;
345
+ version: string;
346
+ };
347
+ export type GetAvailablePluginVersionsRequest = {
348
+ range: string;
349
+ };
350
+ export type PublishConditionRequest = {
351
+ variable: string;
352
+ operator: string;
353
+ value: object;
354
+ };
355
+ export type PublishInputRequest = {
356
+ label: string;
357
+ name: string;
358
+ "type": string;
359
+ required: boolean;
360
+ pattern?: string;
361
+ help?: string;
362
+ "default"?: JsonNode;
363
+ items?: string[];
364
+ condition?: PublishConditionRequest;
365
+ envInput?: boolean;
366
+ };
367
+ export type PublishValidatorConnectionRequest = {
368
+ "type": string;
369
+ alias: string;
370
+ };
371
+ export type PublishValidatorRequiresRequest = {
372
+ connections: PublishValidatorConnectionRequest[];
373
+ };
374
+ export type PublishValidatorGeneratesRequest = {
375
+ connections: PublishValidatorConnectionRequest[];
376
+ };
377
+ export type PublishValidatorSpecificationRequest = {
378
+ requires?: PublishValidatorRequiresRequest;
379
+ generates?: PublishValidatorGeneratesRequest;
380
+ };
381
+ export type PublishValidatorRequest = {
382
+ slug: string;
383
+ schemaVersion: "V1" | "V2" | "V3";
384
+ version: string;
385
+ inputs?: PublishInputRequest[];
386
+ spec: PublishValidatorSpecificationRequest;
387
+ };
388
+ export type PublishProcessRequest = {
389
+ pluginVersionId: string;
390
+ };
391
+ export type FilterPluginVersionRequest = {
392
+ "type"?: "APP" | "INFRA";
393
+ technologies?: string[];
394
+ text?: string;
395
+ };
396
+ export type PluginEnvironmentResponse = {
397
+ environments: string[];
398
+ };
399
+ export type OutputResponse = {
400
+ "from": string;
401
+ to: string;
402
+ };
403
+ export type PluginGeneratesConnectionResponse = {
404
+ typeId: string;
405
+ "type": string;
406
+ alias: string;
407
+ outputs?: OutputResponse[];
408
+ };
409
+ export type LinkResponse = {
410
+ id: string;
411
+ imageUrl?: string;
412
+ name: string;
413
+ url: string;
414
+ "type": string;
415
+ };
416
+ export type PluginGeneratesResponse = {
417
+ connections: PluginGeneratesConnectionResponse[];
418
+ links?: LinkResponse[];
419
+ };
420
+ export type GovernanceResponse = {
421
+ id?: string;
422
+ pendingDiscussionReading?: boolean;
423
+ status: string;
424
+ };
425
+ export type PluginVersionResponse = {
426
+ id: string;
427
+ studio: StudioResponse;
428
+ studioSlug: string;
429
+ accountSlug?: string;
430
+ pluginId: string;
431
+ pluginVersionId: string;
432
+ picture?: string;
433
+ qualifier: string;
434
+ "type": string;
435
+ status: string;
436
+ version: string;
437
+ slug: string;
438
+ displayName?: string;
439
+ description?: string;
440
+ appAllowed: boolean;
441
+ runtime?: PluginEnvironmentResponse;
442
+ requires: PluginRequiresResponse;
443
+ generates: PluginGeneratesResponse;
444
+ isDocumented: boolean;
445
+ governance?: GovernanceResponse;
446
+ singleUse: boolean;
447
+ stkProjectsOnly: boolean;
448
+ };
449
+ export type PagePluginVersionResponse = {
450
+ totalElements?: number;
451
+ totalPages?: number;
452
+ first?: boolean;
453
+ last?: boolean;
454
+ size?: number;
455
+ content?: PluginVersionResponse[];
456
+ "number"?: number;
457
+ sort?: SortObject[];
458
+ numberOfElements?: number;
459
+ pageable?: PageableObject;
460
+ empty?: boolean;
461
+ };
462
+ export type ActionCommandResponse = {
463
+ "default": string;
464
+ workspace: string;
465
+ };
466
+ export type ExternalItems = {
467
+ source: string;
468
+ value: string;
469
+ label?: string;
470
+ };
471
+ export type ConditionResponse = {
472
+ variable: string;
473
+ operator: string;
474
+ value: object;
475
+ };
476
+ export type ActionVersionSubInputResponse = {
477
+ label: string;
478
+ "type": string;
479
+ required: boolean;
480
+ pattern?: string;
481
+ help?: string;
482
+ "default"?: JsonNode;
483
+ items?: string[];
484
+ condition?: ConditionResponse;
485
+ externalItems?: ExternalItems;
486
+ connectionInterfaceType?: string;
487
+ input?: ActionVersionSubInputResponse;
488
+ inputs?: ActionVersionInputResponse[];
489
+ };
490
+ export type ActionVersionInputResponse = {
491
+ label: string;
492
+ name: string;
493
+ "type": string;
494
+ required: boolean;
495
+ pattern?: string;
496
+ help?: string;
497
+ "default"?: JsonNode;
498
+ items?: string[];
499
+ externalItems?: ExternalItems;
500
+ condition?: ConditionResponse;
501
+ envInput?: boolean;
502
+ connectionInterfaceType?: string;
503
+ input?: ActionVersionSubInputResponse;
504
+ };
505
+ export type ComputedInputResponse = {
506
+ name: string;
507
+ expression: string;
508
+ };
509
+ export type ConnectionResponse = {
510
+ "type": string;
511
+ alias: string;
512
+ optional: boolean;
513
+ source: string;
514
+ };
515
+ export type ActionRequiresResponse = {
516
+ connections?: ConnectionResponse[];
517
+ secrets?: string[];
518
+ };
519
+ export type GetActionResponse = {
520
+ id: string;
521
+ versionId: string;
522
+ "type": string;
523
+ version: string;
524
+ imageUrl?: string;
525
+ slug: string;
526
+ displayName?: string;
527
+ description?: string;
528
+ scopes: string[];
529
+ command: string;
530
+ commands: ActionCommandResponse;
531
+ repository?: string;
532
+ requirements?: string;
533
+ about?: string;
534
+ usage?: string;
535
+ implementation?: string;
536
+ releaseNotes?: string;
537
+ createdAt: string;
538
+ updatedAt?: string;
539
+ createdBy: string;
540
+ inputs: ActionVersionInputResponse[];
541
+ computedInputs: ComputedInputResponse[];
542
+ globalComputedInputs: ComputedInputResponse[];
543
+ requires?: ActionRequiresResponse;
544
+ isDocumented: boolean;
545
+ qualifier: string;
546
+ studioSlug: string;
547
+ accountSlug: string;
548
+ status: string;
549
+ governance?: GovernanceResponse;
550
+ documentation?: DocumentationContentResponse;
551
+ justify?: string;
552
+ };
553
+ export type PublishActionResponse = {
554
+ actionId: string;
555
+ versionId: string;
556
+ warnings?: WarningResponse[];
557
+ };
558
+ export type GetAvailableActionVersionsResponse = {
559
+ actionVersionId: string;
560
+ version: string;
561
+ };
562
+ export type GetAvailableActionVersionsRequest = {
563
+ range: string;
564
+ };
565
+ export type FilterActionRequest = {
566
+ filter?: string;
567
+ };
568
+ export type ActionResponse = {
569
+ id: string;
570
+ versionId: string;
571
+ "type": string;
572
+ version: string;
573
+ imageUrl?: string;
574
+ slug: string;
575
+ studioSlug: string;
576
+ accountSlug: string;
577
+ displayName?: string;
578
+ description?: string;
579
+ isDocumented: boolean;
580
+ repository?: string;
581
+ governance?: GovernanceResponse;
582
+ status: string;
583
+ };
584
+ export type PageActionResponse = {
585
+ totalElements?: number;
586
+ totalPages?: number;
587
+ first?: boolean;
588
+ last?: boolean;
589
+ size?: number;
590
+ content?: ActionResponse[];
591
+ "number"?: number;
592
+ sort?: SortObject[];
593
+ numberOfElements?: number;
594
+ pageable?: PageableObject;
595
+ empty?: boolean;
596
+ };
597
+ export type FilterStudioRequest = {
598
+ ids: string[];
599
+ };
600
+ export type FilterStudioResponse = {
601
+ id: string;
602
+ slug: string;
603
+ description: string;
604
+ displayName: string;
605
+ imageUrl: string;
606
+ };
607
+ export type YamlValidationError = {
608
+ details: string;
609
+ "type": "STK_VAL_0000_YAML_BASE_ERROR" | "STK_VAL_5010_YAML_FIELDS_ERROR" | "STK_VAL_5011_YAML_REQUIRED_FIELD" | "STK_VAL_5012_YAML_INVALID_FIELD_FORMAT" | "STK_VAL_5013_YAML_INVALID_VALUE_BY_ENUM" | "STK_VAL_5015_YAML_ADDITIONAL_FIELD" | "STK_VAL_5016_YAML_FIELD_INVALID_TYPE" | "STK_VAL_5018_INVALID_TECHNOLOGIES" | "STK_VAL_5021_MARKDOWN_LINK_NOT_FOUND" | "STK_VAL_5022_INVALID_INPUT_DEFAULT" | "STK_VAL_5024_PLUGIN_VERSION_NOT_FOUND" | "STK_VAL_5026_FILE_NOT_FOUND" | "STK_VAL_5027_FILE_EMPTY" | "STK_VAL_5030_FUNCTION_RUN_IS_REQUIRED" | "STK_VAL_5031_INVALID_INPUT_CONDITION_OPERATOR" | "STK_VAL_5032_INVALID_INPUT_CONDITION_VALUE" | "STK_VAL_5034_INVALID_INPUT_CONDITION_VARIABLE_DOES_NOT_EXIST" | "STK_VAL_5035_INVALID_CONNECTION_TYPE" | "STK_VAL_5036_INVALID_CONNECTION_TYPE_OUTPUT" | "STK_VAL_5037_DUPLICATED_CONNECTION_ALIAS" | "STK_VAL_5039_INVALID_LINK_URL_TYPE" | "STK_VAL_5040_INVALID_CONNECTION_LINK_VARIABLE" | "STK_VAL_5041_INVALID_CONNECTION_ALIAS_LINK_VARIABLE" | "STK_VAL_5042_INVALID_CONNECTION_OUTPUT_LINK_VARIABLE" | "STK_VAL_5043_DUPLICATED_LINK_NAME" | "STK_VAL_5044_INPUT_NAME_AS_RESERVED_WORD" | "STK_VAL_5045_DYNAMIC_LINK_VARIABLE_NOT_FOUND" | "STK_VAL_5046_LINK_WITH_COMPLEX_JINJA_EXPRESSION" | "STK_VAL_5047_INVALID_DYNAMIC_LINK_URL" | "STK_VAL_5048_DUPLICATED_INPUT_NAMES" | "STK_VAL_5049_INVALID_INPUT_DEFAULT_NOT_IN_ITEMS" | "STK_VAL_5053_MISSING_ACTION_IN_REQUIRES" | "STK_VAL_5054_DUPLICATED_NAME" | "STK_VAL_5055_DUPLICATED_VALUE" | "STK_VAL_5057_ACTION_NOT_DECLARED" | "STK_VAL_5058_OLD_DOCS_DECLARED" | "STK_VAL_5059_OLD_DOCS_WILL_BE_IGNORED" | "STK_VAL_5061_ACTION_VERSION_NOT_FOUND" | "STK_VAL_5062_PLUGIN_OF_STARTER_IS_NOT_DECLARED" | "STK_VAL_5063_STARTER_MUST_CONTAIN_PLUGIN" | "STK_VAL_5064_REQUIRED_PLUGIN_NOT_PUBLISHED" | "STK_VAL_5065_REQUIRED_ACTION_NOT_PUBLISHED" | "STK_VAL_5066_MISSING_PLUGIN_REQUIRED_IN_STACK" | "STK_VAL_5067_MISSING_ACTION_REQUIRED_IN_STACK" | "STK_VAL_5068_INFRA_PLUGIN_APP_ALLOWED_FALSE" | "STK_VAL_5073_SOURCE_AND_ITEMS_BEING_USED" | "STK_VAL_5076_MISSING_OUTPUT_FROM_GENERATES" | "STK_VAL_5077_MISSING_PLUGIN_REQUIRED_IN_STARTER" | "STK_VAL_5078_WRONG_PLUGIN_TYPE_IN_STACK" | "STK_VAL_5079_DUPLICATED_SLUG" | "STK_VAL_5080_INVALID_SECRET";
610
+ field?: string;
611
+ value?: object;
612
+ examples: string[];
613
+ };
614
+ export type ValidateResponse = {
615
+ kind: "PLUGIN" | "ACTION" | "STACK" | "STARTER";
616
+ schemaVersion?: "V1" | "V2" | "V3";
617
+ specType?: "INFRA" | "APP" | "SHELL" | "PYTHON";
618
+ errors: YamlValidationError[];
619
+ warnings: YamlValidationError[];
620
+ path: string;
621
+ };
622
+ export type CreateStackRequest = {
623
+ slug: string;
624
+ displayName: string;
625
+ description: string;
626
+ studioSlug: string;
627
+ image?: string;
628
+ tags?: string[];
629
+ };
630
+ export type StackVersionDocumentationLanguageResponse = {
631
+ language: "ENGLISH" | "PTBR";
632
+ status: "DRAFT" | "PUBLISHED";
633
+ lastUpdated: string;
634
+ };
635
+ export type StackVersionDocumentationResponse = {
636
+ documentationId: string;
637
+ languages: StackVersionDocumentationLanguageResponse[];
638
+ };
639
+ export type StackVersionListResponse = {
640
+ stackVersionId: string;
641
+ stackVersionStatus: string;
642
+ version: number;
643
+ hasDeprecatedContent: boolean;
644
+ published: boolean;
645
+ publishedAt?: string;
646
+ publishedBy?: string;
647
+ unpublishedAt?: string;
648
+ unpublishedBy?: string;
649
+ semanticVersion?: string;
650
+ copyFromStackVersionId?: string;
651
+ documentation?: StackVersionDocumentationResponse;
652
+ };
653
+ export type DeprecateContentRequest = {
654
+ reason: string;
655
+ };
656
+ export type FilterStarterRequest = {
657
+ filter?: string;
658
+ "type"?: "INFRA" | "APP";
659
+ };
660
+ export type PageStarterResponseWithRange = {
661
+ totalElements?: number;
662
+ totalPages?: number;
663
+ first?: boolean;
664
+ last?: boolean;
665
+ size?: number;
666
+ content?: StarterResponseWithRange[];
667
+ "number"?: number;
668
+ sort?: SortObject[];
669
+ numberOfElements?: number;
670
+ pageable?: PageableObject;
671
+ empty?: boolean;
672
+ };
673
+ export type FilterStackVersionPluginRequest = {
674
+ "type"?: "APP" | "INFRA";
675
+ technologies: string[];
676
+ text?: string;
677
+ };
678
+ export type PagePluginResponse = {
679
+ totalElements?: number;
680
+ totalPages?: number;
681
+ first?: boolean;
682
+ last?: boolean;
683
+ size?: number;
684
+ content?: PluginResponse[];
685
+ "number"?: number;
686
+ sort?: SortObject[];
687
+ numberOfElements?: number;
688
+ pageable?: PageableObject;
689
+ empty?: boolean;
690
+ };
691
+ export type GetLinkResponse = {
692
+ id: string;
693
+ name: string;
694
+ url: string;
695
+ source: "PLUGIN" | "STACK";
696
+ "type"?: string;
697
+ imageUrl?: string;
698
+ pluginVersion?: PluginVersionResponse;
699
+ };
700
+ export type AddLinkRequest = {
701
+ name: string;
702
+ url: string;
703
+ image?: string;
704
+ };
705
+ export type GetConnectionInterfaceSuggestionResponse = {
706
+ id: string;
707
+ parentId?: string;
708
+ stackVersionId: string;
709
+ connectionType: string;
710
+ connectionTypeAlias?: string;
711
+ referencedByPluginId?: string;
712
+ referencedByPluginVersionId?: string;
713
+ suggestionPluginId?: string;
714
+ suggestionPluginVersionId?: string;
715
+ stackAllowedAppValue?: boolean;
716
+ pluginAllowedAppValue?: boolean;
717
+ subConnectionTypes: GetConnectionInterfaceSuggestionResponse[];
718
+ };
719
+ export type CreateSubConnectionInterfaceTypesRequest = {
720
+ connectionType: string;
721
+ connectionTypeAlias: string;
722
+ suggestionPluginVersionId?: string;
723
+ stackAllowedAppValue?: boolean;
724
+ subConnectionTypes: CreateSubConnectionInterfaceTypesRequest[];
725
+ };
726
+ export type CreateConnectionInterfaceSuggestionRequest = {
727
+ connectionType: string;
728
+ connectionTypeAlias: string;
729
+ referencedByPluginVersionId: string;
730
+ suggestionPluginVersionId?: string;
731
+ stackAllowedAppValue?: boolean;
732
+ subConnectionTypes: CreateSubConnectionInterfaceTypesRequest[];
733
+ };
734
+ export type FilterStackActionRequest = {
735
+ filter?: string;
736
+ };
737
+ export type PageGetStackActionResponse = {
738
+ totalElements?: number;
739
+ totalPages?: number;
740
+ first?: boolean;
741
+ last?: boolean;
742
+ size?: number;
743
+ content?: GetStackActionResponse[];
744
+ "number"?: number;
745
+ sort?: SortObject[];
746
+ numberOfElements?: number;
747
+ pageable?: PageableObject;
748
+ empty?: boolean;
749
+ };
750
+ export type FilterStackVersionRequest = {
751
+ ids: string[];
752
+ withPlugins?: boolean;
753
+ withActions?: boolean;
754
+ };
755
+ export type StackValidateResponse = {
756
+ stack: ValidateResponse;
757
+ starters: ValidateResponse[];
758
+ };
759
+ export type FilterStackByIdsRequest = {
760
+ ids: string[];
761
+ };
762
+ export type StackInfoResponse = {
763
+ id: string;
764
+ slug: string;
765
+ name: string;
766
+ };
767
+ export type StudioInfoResponse = {
768
+ slug: string;
769
+ name: string;
770
+ };
771
+ export type StackSummaryResponse = {
772
+ stack: StackInfoResponse;
773
+ studio: StudioInfoResponse;
774
+ };
775
+ export type FilterPluginVersionByIdsRequest = {
776
+ ids: string[];
777
+ };
778
+ export type CreateDocRequest = {
779
+ contentId: string;
780
+ documentationType: string;
781
+ language: string;
782
+ content: string;
783
+ publish: boolean;
784
+ };
785
+ export type DocumentationIdResponse = {
786
+ id: string;
787
+ };
788
+ export type AddContentEvaluationRevisionRequest = {
789
+ status: "APPROVED" | "DECLINED" | "CHANGES_REQUESTED" | "COMMENT";
790
+ isApprover: boolean;
791
+ comments?: string;
792
+ };
793
+ export type CreateConnectionInterfaceOutputResponse = {
794
+ id: string;
795
+ name: string;
796
+ "type": "STRING" | "NUMBER" | "INTEGER" | "OBJECT" | "BOOLEAN";
797
+ sensitive: boolean;
798
+ };
799
+ export type ConnectionInterfaceResponse = {
800
+ id: string;
801
+ slug: string;
802
+ description: string;
803
+ outputs: CreateConnectionInterfaceOutputResponse[];
804
+ };
805
+ export type ValidateConnectionInterfaceTypeSchemaRequest = {
806
+ value: JsonNode;
807
+ };
808
+ export type ActionIdAndVersionReferenceRequest = {
809
+ /** Action Identifier */
810
+ id: string;
811
+ /** Action version reference. This value can be simple semantic version or range semantic version. */
812
+ versionReference: string;
813
+ };
814
+ export type ActionVersionDataSubInputResponse = {
815
+ label: string;
816
+ "type": string;
817
+ required?: boolean;
818
+ pattern?: string;
819
+ help?: string;
820
+ "default"?: JsonNode;
821
+ items?: string[];
822
+ condition?: ConditionResponse;
823
+ externalItems?: ExternalItems;
824
+ connectionInterfaceType?: string;
825
+ input?: ActionVersionSubInputResponse;
826
+ };
827
+ export type ActionVersionDataInputResponse = {
828
+ label: string;
829
+ name: string;
830
+ "type": string;
831
+ required?: boolean;
832
+ pattern?: string;
833
+ help?: string;
834
+ "default"?: JsonNode;
835
+ items?: string[];
836
+ externalItems?: ExternalItems;
837
+ condition?: ConditionResponse;
838
+ connectionInterfaceType?: string;
839
+ input?: ActionVersionDataSubInputResponse;
840
+ };
841
+ export type ActionVersionDataRequiresResponse = {
842
+ secrets?: string[];
843
+ };
844
+ export type ActionVersionDataWithInputsResponse = {
845
+ id: string;
846
+ versionId: string;
847
+ versionReference?: string;
848
+ "type": string;
849
+ version: string;
850
+ versionMajor: number;
851
+ versionMinor: number;
852
+ versionPatch: number;
853
+ imageUrl?: string;
854
+ slug: string;
855
+ displayName?: string;
856
+ description?: string;
857
+ computedInputs: ComputedInputResponse[];
858
+ globalComputedInputs: ComputedInputResponse[];
859
+ inputs?: ActionVersionDataInputResponse[];
860
+ studioSlug: string;
861
+ accountSlug: string;
862
+ status: string;
863
+ requires?: ActionVersionDataRequiresResponse;
864
+ };
865
+ export type PatchStarterV2Request = {
866
+ description?: string;
867
+ plugins?: AddPluginRequest[];
868
+ optionalPlugins?: AddPluginRequest[];
869
+ };
870
+ export type UpdateConnectionInterfaceTypeOutputRequest = {
871
+ id: string;
872
+ name: string;
873
+ "type": "STRING" | "NUMBER" | "INTEGER" | "OBJECT" | "BOOLEAN";
874
+ sensitive: boolean;
875
+ schema?: JsonNode;
876
+ };
877
+ export type UpdateConnectionInterfaceTypeRequest = {
878
+ description?: string;
879
+ outputs: UpdateConnectionInterfaceTypeOutputRequest[];
880
+ };
881
+ export type ChangeVisibilityRequest = {
882
+ visibility: "ACCOUNT_ONLY" | "SELECTED_WORKSPACES" | "RESTRICTED_ACCESS" | "PUBLIC";
883
+ };
884
+ export type VerifyHasContentPendingReviewResponse = {
885
+ hasContentPendingReview: boolean;
886
+ };
887
+ export type ManageStudioGovernanceRequest = {
888
+ manageContent: boolean;
889
+ automaticallyApproveContent?: boolean;
890
+ };
891
+ export type UpdateStudioRequest = {
892
+ name?: string;
893
+ description?: string;
894
+ image?: string;
895
+ };
896
+ export type UpdateStackRequest = {
897
+ displayName?: string;
898
+ description?: string;
899
+ image?: string;
900
+ tags?: string[];
901
+ };
902
+ export type EditLinkRequest = {
903
+ name?: string;
904
+ url?: string;
905
+ image?: string;
906
+ };
907
+ export type DocumentationResponse = {
908
+ documentationId: string;
909
+ documentationType: "STUDIO_GOVERNANCE" | "ACTION" | "PLUGIN" | "STACK" | "STARTER";
910
+ language: "ENGLISH" | "PTBR";
911
+ content: string;
912
+ status: "DRAFT" | "PUBLISHED";
913
+ createdAt: string;
914
+ updatedAt?: string;
915
+ };
916
+ export type UpdateDocRequest = {
917
+ content: string;
918
+ publish: boolean;
919
+ };
920
+ export type PageStudioResponse = {
921
+ totalElements?: number;
922
+ totalPages?: number;
923
+ first?: boolean;
924
+ last?: boolean;
925
+ size?: number;
926
+ content?: StudioResponse[];
927
+ "number"?: number;
928
+ sort?: SortObject[];
929
+ numberOfElements?: number;
930
+ pageable?: PageableObject;
931
+ empty?: boolean;
932
+ };
933
+ export type DownloadBase64Response = {
934
+ fileBase64: string;
935
+ fileName: string;
936
+ actionVersionId: string;
937
+ };
938
+ export type StackStudioV2Response = {
939
+ slug: string;
940
+ name: string;
941
+ imageUrl?: string;
942
+ };
943
+ export type StackV2Response = {
944
+ stackId: string;
945
+ slug: string;
946
+ displayName: string;
947
+ description: string;
948
+ imageUrl?: string;
949
+ existsDraft: boolean;
950
+ createdBy: string;
951
+ createdAt: string;
952
+ lastModificationAt: string;
953
+ studio: StackStudioV2Response;
954
+ tags?: string[];
955
+ };
956
+ export type StackVersionV2Response = {
957
+ stackVersionId: string;
958
+ version: number;
959
+ published: boolean;
960
+ publishedBy?: string;
961
+ publishedAt?: string;
962
+ unpublishedBy?: string;
963
+ unpublishedAt?: string;
964
+ semanticVersion?: string;
965
+ copyFromStackVersionId?: string;
966
+ status: string;
967
+ hasDeprecatedContent: boolean;
968
+ };
969
+ export type StackVersionShortV2Response = {
970
+ stackVersionId: string;
971
+ version: number;
972
+ published: boolean;
973
+ semanticVersion?: string;
974
+ copyFromStackVersionId?: string;
975
+ status: string;
976
+ hasDeprecatedContent: boolean;
977
+ };
978
+ export type GetStackV2Response = {
979
+ stack: StackV2Response;
980
+ latestVersion: StackVersionV2Response;
981
+ versions: StackVersionShortV2Response[];
982
+ };
983
+ export type ExternalItemsResponse = {
984
+ source: string;
985
+ value: string;
986
+ label?: string;
987
+ };
988
+ export type InputResponse = {
989
+ label?: string;
990
+ name?: string;
991
+ "type"?: string;
992
+ required: boolean;
993
+ pattern?: string;
994
+ help?: string;
995
+ "default"?: JsonNode;
996
+ items?: string;
997
+ externalItems?: ExternalItemsResponse;
998
+ itemsValues?: string[];
999
+ condition?: ConditionResponse;
1000
+ isGlobal?: boolean;
1001
+ inputEnv?: boolean;
1002
+ connectionInterfaceType?: string;
1003
+ input?: InputResponse;
1004
+ };
1005
+ export type PluginInputV2Response = {
1006
+ inputs: InputResponse[];
1007
+ computedInputs: ComputedInputResponse[];
1008
+ globalComputedInputs: ComputedInputResponse[];
1009
+ };
1010
+ export type ActionInputV2Response = {
1011
+ computedInputs: ComputedInputResponse[];
1012
+ globalComputedInputs: ComputedInputResponse[];
1013
+ inputs: ActionVersionInputResponse[];
1014
+ };
1015
+ export type StackWorkspaceViewResponse = {
1016
+ id: string;
1017
+ name: string;
1018
+ description?: string;
1019
+ imageUrl?: string;
1020
+ totalLinkedVersions: number;
1021
+ };
1022
+ export type PageStackWorkspaceViewResponse = {
1023
+ totalElements?: number;
1024
+ totalPages?: number;
1025
+ first?: boolean;
1026
+ last?: boolean;
1027
+ size?: number;
1028
+ content?: StackWorkspaceViewResponse[];
1029
+ "number"?: number;
1030
+ sort?: SortObject[];
1031
+ numberOfElements?: number;
1032
+ pageable?: PageableObject;
1033
+ empty?: boolean;
1034
+ };
1035
+ export type StackVersionInWorkspaceDetailResponse = {
1036
+ id: string;
1037
+ version?: string;
1038
+ status: string;
1039
+ totalLinkedApps: number;
1040
+ totalLinkedInfra: number;
1041
+ };
1042
+ export type Environment = {
1043
+ id?: string;
1044
+ name?: string;
1045
+ };
1046
+ export type StackWorkspaceDetailViewResponse = {
1047
+ stackVersion: StackVersionInWorkspaceDetailResponse;
1048
+ environment?: Environment;
1049
+ };
1050
+ export type PageStackWorkspaceDetailViewResponse = {
1051
+ totalElements?: number;
1052
+ totalPages?: number;
1053
+ first?: boolean;
1054
+ last?: boolean;
1055
+ size?: number;
1056
+ content?: StackWorkspaceDetailViewResponse[];
1057
+ "number"?: number;
1058
+ sort?: SortObject[];
1059
+ numberOfElements?: number;
1060
+ pageable?: PageableObject;
1061
+ empty?: boolean;
1062
+ };
1063
+ export type GetUnusedStackVersionsResponse = {
1064
+ stackVersionId: string;
1065
+ publishedAt?: string;
1066
+ version?: string;
1067
+ status?: string;
1068
+ };
1069
+ export type PageGetUnusedStackVersionsResponse = {
1070
+ totalElements?: number;
1071
+ totalPages?: number;
1072
+ first?: boolean;
1073
+ last?: boolean;
1074
+ size?: number;
1075
+ content?: GetUnusedStackVersionsResponse[];
1076
+ "number"?: number;
1077
+ sort?: SortObject[];
1078
+ numberOfElements?: number;
1079
+ pageable?: PageableObject;
1080
+ empty?: boolean;
1081
+ };
1082
+ export type StackModalViewResponse = {
1083
+ totalUsedInWorkspaces: number;
1084
+ totalNotUsed: number;
1085
+ };
1086
+ export type PluginVersionShortResponse = {
1087
+ id: string;
1088
+ pluginId: string;
1089
+ version: string;
1090
+ displayName: string;
1091
+ description: string;
1092
+ createdAt: string;
1093
+ createdBy: string;
1094
+ status: string;
1095
+ pluginType: "INFRA" | "APP";
1096
+ appAllowed: boolean;
1097
+ singleUse: boolean;
1098
+ stkProjectOnly: boolean;
1099
+ stkProjectsOnly: boolean;
1100
+ governance?: GovernanceResponse;
1101
+ requires?: PluginRequiresResponse;
1102
+ };
1103
+ export type ActionStudioResponse = {
1104
+ slug: string;
1105
+ };
1106
+ export type RequirementsPluginActionsResponse = {
1107
+ actionId: string;
1108
+ actionVersionId: string;
1109
+ version: string;
1110
+ range?: string;
1111
+ slug: string;
1112
+ displayName: string;
1113
+ description: string;
1114
+ actionQualifier: string;
1115
+ status: string;
1116
+ studio: ActionStudioResponse;
1117
+ };
1118
+ export type RequirementsPluginResponse = {
1119
+ pluginId: string;
1120
+ pluginVersionId: string;
1121
+ slug: string;
1122
+ "type": string;
1123
+ displayName: string;
1124
+ description?: string;
1125
+ pluginQualifier: string;
1126
+ studio: PluginStudioResponse;
1127
+ range?: string;
1128
+ version: string;
1129
+ status: string;
1130
+ generates: GeneratesResponse;
1131
+ appAllowed: boolean;
1132
+ };
1133
+ export type DependencyTree = {
1134
+ qualifier: string;
1135
+ actions: DependencyTree[];
1136
+ plugins: DependencyTree[];
1137
+ };
1138
+ export type GetPluginRequirementsResponse = {
1139
+ actions: RequirementsPluginActionsResponse[];
1140
+ plugins: RequirementsPluginResponse[];
1141
+ dependencyTree: DependencyTree;
1142
+ };
1143
+ export type PluginDownloadBase64Response = {
1144
+ file_base_64: string;
1145
+ file_name: string;
1146
+ pluginVersionId: string;
1147
+ };
1148
+ export type PluginCommandResponse = {
1149
+ "default": string;
1150
+ workspace: string;
1151
+ };
1152
+ export type GetPluginResponse = {
1153
+ id: string;
1154
+ studio: StudioResponse;
1155
+ pluginVersionId: string;
1156
+ "type": string;
1157
+ version: string;
1158
+ picture?: string;
1159
+ slug: string;
1160
+ displayName?: string;
1161
+ description?: string;
1162
+ technologies?: string[];
1163
+ compatibility?: string[];
1164
+ repository?: string;
1165
+ requirements?: string;
1166
+ about?: string;
1167
+ usage?: string;
1168
+ implementation?: string;
1169
+ command?: string;
1170
+ commands?: PluginCommandResponse;
1171
+ releaseNotes?: string;
1172
+ appAllowed: boolean;
1173
+ createdAt: string;
1174
+ createdBy: string;
1175
+ updatedAt?: string;
1176
+ runtime?: PluginEnvironmentResponse;
1177
+ inputs: InputResponse[];
1178
+ inputsEnvs: InputResponse[];
1179
+ computedInputs?: string;
1180
+ requires?: PluginRequiresResponse;
1181
+ generates: PluginGeneratesResponse;
1182
+ qualifier: string;
1183
+ accountSlug?: string;
1184
+ studioSlug: string;
1185
+ status: string;
1186
+ isDocumented: boolean;
1187
+ governance?: GovernanceResponse;
1188
+ documentation?: DocumentationContentResponse;
1189
+ singleUse: boolean;
1190
+ justify?: string;
1191
+ stkProjectOnly: boolean;
1192
+ stkProjectsOnly: boolean;
1193
+ };
1194
+ export type PluginStarterResponse = {
1195
+ id: string;
1196
+ slug: string;
1197
+ "type": string;
1198
+ description?: string;
1199
+ totalLinkedVersions: number;
1200
+ studio: StudioResponse;
1201
+ stack: StackResponse;
1202
+ };
1203
+ export type PagePluginStarterResponse = {
1204
+ totalElements?: number;
1205
+ totalPages?: number;
1206
+ first?: boolean;
1207
+ last?: boolean;
1208
+ size?: number;
1209
+ content?: PluginStarterResponse[];
1210
+ "number"?: number;
1211
+ sort?: SortObject[];
1212
+ numberOfElements?: number;
1213
+ pageable?: PageableObject;
1214
+ empty?: boolean;
1215
+ };
1216
+ export type GetPluginStackStarterUsageStackResponse = {
1217
+ id: string;
1218
+ version: string;
1219
+ };
1220
+ export type GetPluginStackStarterUsagePluginResponse = {
1221
+ id: string;
1222
+ version: string;
1223
+ status: "DRAFT" | "PUBLISHED" | "DEPRECATED" | "REPROVED";
1224
+ };
1225
+ export type GetPluginStackStarterUsageResponse = {
1226
+ stackVersion: GetPluginStackStarterUsageStackResponse;
1227
+ pluginVersion: GetPluginStackStarterUsagePluginResponse;
1228
+ };
1229
+ export type PageGetPluginStackStarterUsageResponse = {
1230
+ totalElements?: number;
1231
+ totalPages?: number;
1232
+ first?: boolean;
1233
+ last?: boolean;
1234
+ size?: number;
1235
+ content?: GetPluginStackStarterUsageResponse[];
1236
+ "number"?: number;
1237
+ sort?: SortObject[];
1238
+ numberOfElements?: number;
1239
+ pageable?: PageableObject;
1240
+ empty?: boolean;
1241
+ };
1242
+ export type PluginStacksResponse = {
1243
+ id: string;
1244
+ slug: string;
1245
+ displayName: string;
1246
+ description: string;
1247
+ imageUrl: string;
1248
+ totalLinkedVersions: number;
1249
+ studio: StudioResponse;
1250
+ };
1251
+ export type PagePluginStacksResponse = {
1252
+ totalElements?: number;
1253
+ totalPages?: number;
1254
+ first?: boolean;
1255
+ last?: boolean;
1256
+ size?: number;
1257
+ content?: PluginStacksResponse[];
1258
+ "number"?: number;
1259
+ sort?: SortObject[];
1260
+ numberOfElements?: number;
1261
+ pageable?: PageableObject;
1262
+ empty?: boolean;
1263
+ };
1264
+ export type GetPluginStackUsageStackResponse = {
1265
+ id: string;
1266
+ version: string;
1267
+ };
1268
+ export type GetPluginStackUsagePluginResponse = {
1269
+ id: string;
1270
+ version: string;
1271
+ status: "DRAFT" | "PUBLISHED" | "DEPRECATED" | "REPROVED";
1272
+ };
1273
+ export type GetPluginStackUsageResponse = {
1274
+ stackVersion: GetPluginStackUsageStackResponse;
1275
+ pluginVersion: GetPluginStackUsagePluginResponse;
1276
+ };
1277
+ export type PageGetPluginStackUsageResponse = {
1278
+ totalElements?: number;
1279
+ totalPages?: number;
1280
+ first?: boolean;
1281
+ last?: boolean;
1282
+ size?: number;
1283
+ content?: GetPluginStackUsageResponse[];
1284
+ "number"?: number;
1285
+ sort?: SortObject[];
1286
+ numberOfElements?: number;
1287
+ pageable?: PageableObject;
1288
+ empty?: boolean;
1289
+ };
1290
+ export type PluginInfrastructureWorkspaceResponse = {
1291
+ id: string;
1292
+ name: string;
1293
+ description: string;
1294
+ imageUrl: string;
1295
+ };
1296
+ export type PluginInfrastructureViewResponse = {
1297
+ id: string;
1298
+ name: string;
1299
+ description: string;
1300
+ totalLinkedVersions: number;
1301
+ workspace: PluginInfrastructureWorkspaceResponse;
1302
+ };
1303
+ export type PagePluginInfrastructureViewResponse = {
1304
+ totalElements?: number;
1305
+ totalPages?: number;
1306
+ first?: boolean;
1307
+ last?: boolean;
1308
+ size?: number;
1309
+ content?: PluginInfrastructureViewResponse[];
1310
+ "number"?: number;
1311
+ sort?: SortObject[];
1312
+ numberOfElements?: number;
1313
+ pageable?: PageableObject;
1314
+ empty?: boolean;
1315
+ };
1316
+ export type GetInfrastructureEnvironmentsUsageEnvironmentResponse = {
1317
+ id: string;
1318
+ name: string;
1319
+ };
1320
+ export type GetInfrastructureEnvironmentsUsagePluginVersionResponse = {
1321
+ id: string;
1322
+ version: string;
1323
+ status: string;
1324
+ };
1325
+ export type InfrastructureEnvironmentsUsesPluginResponse = {
1326
+ environment: GetInfrastructureEnvironmentsUsageEnvironmentResponse;
1327
+ pluginVersion: GetInfrastructureEnvironmentsUsagePluginVersionResponse;
1328
+ };
1329
+ export type PageInfrastructureEnvironmentsUsesPluginResponse = {
1330
+ totalElements?: number;
1331
+ totalPages?: number;
1332
+ first?: boolean;
1333
+ last?: boolean;
1334
+ size?: number;
1335
+ content?: InfrastructureEnvironmentsUsesPluginResponse[];
1336
+ "number"?: number;
1337
+ sort?: SortObject[];
1338
+ numberOfElements?: number;
1339
+ pageable?: PageableObject;
1340
+ empty?: boolean;
1341
+ };
1342
+ export type PluginViewUsageMonitorResponse = {
1343
+ id: string;
1344
+ slug: string;
1345
+ displayName: string;
1346
+ description: string;
1347
+ imageUrl: string;
1348
+ "type": string;
1349
+ totalLinkedVersions: number;
1350
+ studio: StudioResponse;
1351
+ };
1352
+ export type PagePluginViewUsageMonitorResponse = {
1353
+ totalElements?: number;
1354
+ totalPages?: number;
1355
+ first?: boolean;
1356
+ last?: boolean;
1357
+ size?: number;
1358
+ content?: PluginViewUsageMonitorResponse[];
1359
+ "number"?: number;
1360
+ sort?: SortObject[];
1361
+ numberOfElements?: number;
1362
+ pageable?: PageableObject;
1363
+ empty?: boolean;
1364
+ };
1365
+ export type DependentPluginVersionResponse = {
1366
+ id: string;
1367
+ version: string;
1368
+ status: "DRAFT" | "PUBLISHED" | "DEPRECATED" | "REPROVED";
1369
+ };
1370
+ export type GetDependentPluginsVersionsResponse = {
1371
+ pluginVersion: DependentPluginVersionResponse;
1372
+ };
1373
+ export type PageGetDependentPluginsVersionsResponse = {
1374
+ totalElements?: number;
1375
+ totalPages?: number;
1376
+ first?: boolean;
1377
+ last?: boolean;
1378
+ size?: number;
1379
+ content?: GetDependentPluginsVersionsResponse[];
1380
+ "number"?: number;
1381
+ sort?: SortObject[];
1382
+ numberOfElements?: number;
1383
+ pageable?: PageableObject;
1384
+ empty?: boolean;
1385
+ };
1386
+ export type GetPluginVersionsNotInUseResponse = {
1387
+ id: string;
1388
+ version: string;
1389
+ status: "DRAFT" | "PUBLISHED" | "DEPRECATED" | "REPROVED";
1390
+ };
1391
+ export type PageGetPluginVersionsNotInUseResponse = {
1392
+ totalElements?: number;
1393
+ totalPages?: number;
1394
+ first?: boolean;
1395
+ last?: boolean;
1396
+ size?: number;
1397
+ content?: GetPluginVersionsNotInUseResponse[];
1398
+ "number"?: number;
1399
+ sort?: SortObject[];
1400
+ numberOfElements?: number;
1401
+ pageable?: PageableObject;
1402
+ empty?: boolean;
1403
+ };
1404
+ export type PluginInUseSummaryResponse = {
1405
+ totalUsedInStacks: number;
1406
+ totalUsedInPlugins: number;
1407
+ totalUsedInStarter: number;
1408
+ totalUsedInInfrastructures: number;
1409
+ totalUsedInApplications: number;
1410
+ totalNotUsed: number;
1411
+ };
1412
+ export type WorkspaceResponse = {
1413
+ id: string;
1414
+ name: string;
1415
+ description: string;
1416
+ imageUrl: string;
1417
+ };
1418
+ export type PluginApplicationsResponse = {
1419
+ id: string;
1420
+ name: string;
1421
+ description: string;
1422
+ totalLinkedVersions: number;
1423
+ workspace: WorkspaceResponse;
1424
+ };
1425
+ export type PagePluginApplicationsResponse = {
1426
+ totalElements?: number;
1427
+ totalPages?: number;
1428
+ first?: boolean;
1429
+ last?: boolean;
1430
+ size?: number;
1431
+ content?: PluginApplicationsResponse[];
1432
+ "number"?: number;
1433
+ sort?: SortObject[];
1434
+ numberOfElements?: number;
1435
+ pageable?: PageableObject;
1436
+ empty?: boolean;
1437
+ };
1438
+ export type PluginVersionUsed = {
1439
+ id: string;
1440
+ version: string;
1441
+ status: string;
1442
+ };
1443
+ export type PluginUsageMonitorApplicationViewResponse = {
1444
+ pluginVersion: PluginVersionUsed;
1445
+ environment: Environment;
1446
+ };
1447
+ export type PagePluginUsageMonitorApplicationViewResponse = {
1448
+ totalElements?: number;
1449
+ totalPages?: number;
1450
+ first?: boolean;
1451
+ last?: boolean;
1452
+ size?: number;
1453
+ content?: PluginUsageMonitorApplicationViewResponse[];
1454
+ "number"?: number;
1455
+ sort?: SortObject[];
1456
+ numberOfElements?: number;
1457
+ pageable?: PageableObject;
1458
+ empty?: boolean;
1459
+ };
1460
+ export type ActionVersionResponse = {
1461
+ actionVersionId: string;
1462
+ version: string;
1463
+ createdBy: string;
1464
+ createdAt: string;
1465
+ updatedAt?: string;
1466
+ status: string;
1467
+ governance?: GovernanceResponse;
1468
+ };
1469
+ export type GetActionVersionListResponse = {
1470
+ actionId: string;
1471
+ versions: ActionVersionResponse[];
1472
+ };
1473
+ export type StudioSummaryResponse = {
1474
+ id: string;
1475
+ slug: string;
1476
+ name: string;
1477
+ imageUrl?: string;
1478
+ visibility: string;
1479
+ };
1480
+ export type DeleteStackVersionResponse = {
1481
+ stack?: StackResponse;
1482
+ version?: StackVersionResponse;
1483
+ };
1484
+ export type GetStackWorkspaceResponse = {
1485
+ id: string;
1486
+ name: string;
1487
+ imageUrl?: string;
1488
+ };
1489
+ export type StackWorkspaceResponse = {
1490
+ displayName: string;
1491
+ imageUrl?: string;
1492
+ };
1493
+ export type GetValidateVisibilityResponse = {
1494
+ visible: boolean;
1495
+ };
1496
+ export type GetPublishSuggestionResponse = {
1497
+ majorVersion?: string;
1498
+ minorVersion?: string;
1499
+ patchVersion?: string;
1500
+ };
1501
+ export type StackVersionUsageSummaryResponse = {
1502
+ totalUsedInWorkspaces: number;
1503
+ };
1504
+ export type GetPluginYamlResponse = {
1505
+ schemaVersion: string;
1506
+ yaml?: JsonNode;
1507
+ };
1508
+ export type PluginVersionUsageSummaryResponse = {
1509
+ totalUsedInStacks: number;
1510
+ totalUsedInPlugins: number;
1511
+ totalUsedInStarter: number;
1512
+ totalUsedInInfrastructures: number;
1513
+ totalUsedInApplications: number;
1514
+ };
1515
+ export type PluginVersionByConnectionResponse = {
1516
+ id: string;
1517
+ slug: string;
1518
+ accountSlug?: string;
1519
+ studio: StudioResponse;
1520
+ pluginVersions?: PluginVersionResponse[];
1521
+ };
1522
+ export type ContentDataResponse = {
1523
+ id: string;
1524
+ slug: string;
1525
+ contentType: "STUDIO" | "ACTION" | "PLUGIN" | "STACK" | "STARTER" | "ACTION_VERSION" | "PLUGIN_VERSION" | "STACK_VERSION";
1526
+ };
1527
+ export type ContentResponse = {
1528
+ studio: StudioResponse;
1529
+ content: ContentDataResponse;
1530
+ parent?: ContentDataResponse;
1531
+ };
1532
+ export type ContentEvaluationResponse = {
1533
+ id: string;
1534
+ status: "PENDING_APPROVAL" | "PENDING_CREATOR_UPDATE" | "PUBLICATION_APPROVED" | "PUBLICATION_DECLINED";
1535
+ qualifier: string;
1536
+ "type": "ACTION" | "PLUGIN";
1537
+ requestDate: string;
1538
+ studio: string;
1539
+ requestUser: string;
1540
+ pendingDiscussionReading: boolean;
1541
+ };
1542
+ export type PageContentEvaluationResponse = {
1543
+ totalElements?: number;
1544
+ totalPages?: number;
1545
+ first?: boolean;
1546
+ last?: boolean;
1547
+ size?: number;
1548
+ content?: ContentEvaluationResponse[];
1549
+ "number"?: number;
1550
+ sort?: SortObject[];
1551
+ numberOfElements?: number;
1552
+ pageable?: PageableObject;
1553
+ empty?: boolean;
1554
+ };
1555
+ export type ContentEvaluationSummaryDetailsResponse = {
1556
+ id: string;
1557
+ creator: string;
1558
+ justification: string;
1559
+ status: "PENDING_APPROVAL" | "PENDING_CREATOR_UPDATE" | "PUBLICATION_APPROVED" | "PUBLICATION_DECLINED";
1560
+ reviewer?: string;
1561
+ reviewerComment?: string;
1562
+ dateReview?: string;
1563
+ contentVersion: string;
1564
+ contentSlug: string;
1565
+ };
1566
+ export type DiscussionMessageResponse = {
1567
+ "type": "APPROVED" | "DECLINED" | "CHANGES_REQUESTED" | "COMMENT";
1568
+ commentator: string;
1569
+ isEvaluator: boolean;
1570
+ date: string;
1571
+ message: string;
1572
+ };
1573
+ export type ActionSummaryResponse = {
1574
+ id: string;
1575
+ versionId: string;
1576
+ "type": string;
1577
+ versionMajor: number;
1578
+ versionMinor: number;
1579
+ versionPatch: number;
1580
+ slug: string;
1581
+ fullQualifier: string;
1582
+ qualifier: string;
1583
+ studioSlug: string;
1584
+ accountSlug: string;
1585
+ };
1586
+ export type AccountInfoResponse = {
1587
+ id: string;
1588
+ slug: string;
1589
+ qtdStudios: number;
1590
+ hasGovernedStudios: boolean;
1591
+ };
1592
+ export type DocumentationLanguageResponse = {
1593
+ language: "ENGLISH" | "PTBR";
1594
+ status: "DRAFT" | "PUBLISHED";
1595
+ lastUpdated: string;
1596
+ };
1597
+ export type ListDocumentationResponse = {
1598
+ documentationId: string;
1599
+ languages: DocumentationLanguageResponse[];
1600
+ };
1601
+ /**
1602
+ * Update Stack and starter docs
1603
+ */
1604
+ export declare function updateStackDoc({ studioSlug, stackSlug, $type, body }: {
1605
+ studioSlug: string;
1606
+ stackSlug: string;
1607
+ $type?: "STACK" | "STARTER";
1608
+ body?: {
1609
+ file: Blob;
1610
+ };
1611
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1612
+ /**
1613
+ * Update Plugin Documentation
1614
+ */
1615
+ export declare function updateDocumentation({ studioSlug, pluginSlug, body }: {
1616
+ studioSlug: string;
1617
+ pluginSlug: string;
1618
+ body?: {
1619
+ file: Blob;
1620
+ };
1621
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1622
+ /**
1623
+ * Update Action Documentation
1624
+ */
1625
+ export declare function updateActionDocumentation({ studioSlug, actionSlug, body }: {
1626
+ studioSlug: string;
1627
+ actionSlug: string;
1628
+ body?: {
1629
+ file: Blob;
1630
+ };
1631
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1632
+ /**
1633
+ * Create new stack version
1634
+ */
1635
+ export declare function createStackVersion({ stackId, createStackVersionRequest }: {
1636
+ stackId: string;
1637
+ createStackVersionRequest: CreateStackVersionRequest;
1638
+ }, opts?: Oazapfts.RequestOpts): Promise<StackVersionSummaryResponse>;
1639
+ /**
1640
+ * Create Starter on StackVersion
1641
+ */
1642
+ export declare function createStarterV2({ stackVersionId, createStarterV2Request }: {
1643
+ stackVersionId: string;
1644
+ createStarterV2Request: CreateStarterV2Request;
1645
+ }, opts?: Oazapfts.RequestOpts): Promise<StarterResponseWithRange>;
1646
+ /**
1647
+ * Publish a new stack version
1648
+ */
1649
+ export declare function publish({ stackVersionId, publishStackVersionRequest }: {
1650
+ stackVersionId: string;
1651
+ publishStackVersionRequest: PublishStackVersionRequest;
1652
+ }, opts?: Oazapfts.RequestOpts): Promise<StackVersionSummaryResponse>;
1653
+ /**
1654
+ * Add plugin to a stack
1655
+ */
1656
+ export declare function addPlugin({ stackVersionId, body }: {
1657
+ stackVersionId: string;
1658
+ body: AddPluginRequest[];
1659
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1660
+ /**
1661
+ * Associate actions to a plugin
1662
+ */
1663
+ export declare function associateActionToPlugin({ stackVersionId, pluginVersionId, body }: {
1664
+ stackVersionId: string;
1665
+ pluginVersionId: string;
1666
+ body: AddActionRequest[];
1667
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1668
+ /**
1669
+ * Add action version to a stack version
1670
+ */
1671
+ export declare function addAction({ stackVersionId, body }: {
1672
+ stackVersionId: string;
1673
+ body: AddActionRequest[];
1674
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1675
+ /**
1676
+ * List Connection Interface Types
1677
+ */
1678
+ export declare function listConnectionInterfaceTypes(opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceResponseV2[]>;
1679
+ /**
1680
+ * Create New Connection Interface Type
1681
+ */
1682
+ export declare function createConnectionInterfaceType({ createConnectionInterfaceTypeRequest }: {
1683
+ createConnectionInterfaceTypeRequest: CreateConnectionInterfaceTypeRequest;
1684
+ }, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceResponseV2>;
1685
+ /**
1686
+ * Find studios
1687
+ */
1688
+ export declare function getStudios1({ xWorkspaceId, authorization, teamId, aclOnly, filter, isAccountHolder }: {
1689
+ xWorkspaceId?: string;
1690
+ authorization: string;
1691
+ teamId?: string;
1692
+ aclOnly?: boolean;
1693
+ filter?: string;
1694
+ isAccountHolder?: boolean;
1695
+ }, opts?: Oazapfts.RequestOpts): Promise<StudioResponse[]>;
1696
+ /**
1697
+ * Create a new studio
1698
+ */
1699
+ export declare function createStudio({ authorization, createStudioRequest }: {
1700
+ authorization: string;
1701
+ createStudioRequest: CreateStudioRequest;
1702
+ }, opts?: Oazapfts.RequestOpts): Promise<CreateStudioResponse>;
1703
+ /**
1704
+ * List all workspaces for selected studio visibility
1705
+ */
1706
+ export declare function listWorkspaces({ studioSlug }: {
1707
+ studioSlug: string;
1708
+ }, opts?: Oazapfts.RequestOpts): Promise<StudioWorkspaceResponse[]>;
1709
+ /**
1710
+ * Add workspace to given studio
1711
+ */
1712
+ export declare function addWorkspace({ studioSlug, studioWorkspaceRequest }: {
1713
+ studioSlug: string;
1714
+ studioWorkspaceRequest: StudioWorkspaceRequest;
1715
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1716
+ /**
1717
+ * Get Stack by slugs
1718
+ */
1719
+ export declare function getStackBySlug({ studioSlug, stackSlug, semanticVersion, onlyPublished, xWorkspaceId }: {
1720
+ studioSlug: string;
1721
+ stackSlug: string;
1722
+ semanticVersion?: string;
1723
+ onlyPublished?: boolean;
1724
+ xWorkspaceId?: string;
1725
+ }, opts?: Oazapfts.RequestOpts): Promise<GetStackResponse>;
1726
+ /**
1727
+ * Publish Stack
1728
+ */
1729
+ export declare function publishStack({ studioSlug, stackSlug, body }: {
1730
+ studioSlug: string;
1731
+ stackSlug: string;
1732
+ body?: {
1733
+ file: Blob;
1734
+ };
1735
+ }, opts?: Oazapfts.RequestOpts): Promise<StackVersionSummaryResponse>;
1736
+ /**
1737
+ * List stacks from studio by filters
1738
+ */
1739
+ export declare function listStacksByFilters({ xWorkspaceId, studioSlug, pageable, filterStackRequest }: {
1740
+ xWorkspaceId?: string;
1741
+ studioSlug: string;
1742
+ pageable: Pageable;
1743
+ filterStackRequest: FilterStackRequest;
1744
+ }, opts?: Oazapfts.RequestOpts): Promise<PageGetStackStudioResponse>;
1745
+ /**
1746
+ * Publish plugin
1747
+ */
1748
+ export declare function publishPluginController({ studioSlug, pluginSlug, body }: {
1749
+ studioSlug: string;
1750
+ pluginSlug: string;
1751
+ body?: {
1752
+ file: Blob;
1753
+ };
1754
+ }, opts?: Oazapfts.RequestOpts): Promise<PublishResponse>;
1755
+ /**
1756
+ * Get available plugin versions by plugin slug
1757
+ */
1758
+ export declare function getAvailablePluginVersionsByPluginSlug({ studioSlug, pluginSlug, xWorkspaceId, range, appAllowed }: {
1759
+ studioSlug: string;
1760
+ pluginSlug: string;
1761
+ xWorkspaceId?: string;
1762
+ range: string;
1763
+ appAllowed?: boolean;
1764
+ }, opts?: Oazapfts.RequestOpts): Promise<GetAvailablePluginVersionsResponse[]>;
1765
+ /**
1766
+ * Get available plugin versions by plugin slug
1767
+ */
1768
+ export declare function oldGetAvailablePluginVersionsByPluginSlug({ studioSlug, pluginSlug, xWorkspaceId, getAvailablePluginVersionsRequest }: {
1769
+ studioSlug: string;
1770
+ pluginSlug: string;
1771
+ xWorkspaceId?: string;
1772
+ getAvailablePluginVersionsRequest: GetAvailablePluginVersionsRequest;
1773
+ }, opts?: Oazapfts.RequestOpts): Promise<GetAvailablePluginVersionsResponse[]>;
1774
+ /**
1775
+ * Validate a plugin publish
1776
+ */
1777
+ export declare function validatePluginPublish({ studioSlug, publishValidatorRequest }: {
1778
+ studioSlug: string;
1779
+ publishValidatorRequest: PublishValidatorRequest;
1780
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1781
+ /**
1782
+ * Process a plugin publish
1783
+ */
1784
+ export declare function processPluginPublish({ studioSlug, publishProcessRequest }: {
1785
+ studioSlug: string;
1786
+ publishProcessRequest: PublishProcessRequest;
1787
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1788
+ /**
1789
+ * Get a filtered list of available plugins
1790
+ */
1791
+ export declare function filteredList({ xWorkspaceId, studioSlug, accountOnly, pageable, filterPluginVersionRequest }: {
1792
+ xWorkspaceId?: string;
1793
+ studioSlug: string;
1794
+ accountOnly?: boolean;
1795
+ pageable: Pageable;
1796
+ filterPluginVersionRequest: FilterPluginVersionRequest;
1797
+ }, opts?: Oazapfts.RequestOpts): Promise<PagePluginVersionResponse>;
1798
+ /**
1799
+ * Get Action by slug
1800
+ */
1801
+ export declare function getActionBySlug({ studioSlug, actionSlug, version, xWorkspaceId }: {
1802
+ studioSlug: string;
1803
+ actionSlug: string;
1804
+ version?: string;
1805
+ xWorkspaceId?: string;
1806
+ }, opts?: Oazapfts.RequestOpts): Promise<GetActionResponse>;
1807
+ /**
1808
+ * Publish Action
1809
+ */
1810
+ export declare function createAction({ studioSlug, actionSlug, body }: {
1811
+ studioSlug: string;
1812
+ actionSlug: string;
1813
+ body?: {
1814
+ file: Blob;
1815
+ };
1816
+ }, opts?: Oazapfts.RequestOpts): Promise<PublishActionResponse>;
1817
+ /**
1818
+ * Get available action versions by action slug
1819
+ */
1820
+ export declare function getAvailableActionVersionsByActionSlug({ studioSlug, actionSlug, xWorkspaceId, range }: {
1821
+ studioSlug: string;
1822
+ actionSlug: string;
1823
+ xWorkspaceId?: string;
1824
+ range: string;
1825
+ }, opts?: Oazapfts.RequestOpts): Promise<GetAvailableActionVersionsResponse[]>;
1826
+ /**
1827
+ * Get available action versions by action slug
1828
+ */
1829
+ export declare function oldGetAvailableActionVersionsByActionSlug({ studioSlug, actionSlug, xWorkspaceId, getAvailableActionVersionsRequest }: {
1830
+ studioSlug: string;
1831
+ actionSlug: string;
1832
+ xWorkspaceId?: string;
1833
+ getAvailableActionVersionsRequest: GetAvailableActionVersionsRequest;
1834
+ }, opts?: Oazapfts.RequestOpts): Promise<GetAvailableActionVersionsResponse[]>;
1835
+ /**
1836
+ * List actions from studio by filters
1837
+ */
1838
+ export declare function listActionsByFilters({ xWorkspaceId, studioSlug, pageable, filterActionRequest }: {
1839
+ xWorkspaceId?: string;
1840
+ studioSlug: string;
1841
+ pageable: Pageable;
1842
+ filterActionRequest: FilterActionRequest;
1843
+ }, opts?: Oazapfts.RequestOpts): Promise<PageActionResponse>;
1844
+ /**
1845
+ * Adds a team to a studio
1846
+ */
1847
+ export declare function addTeamsInStudio({ studioId, body }: {
1848
+ studioId: string;
1849
+ body: string[];
1850
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1851
+ /**
1852
+ * List studios by filters
1853
+ */
1854
+ export declare function listStudios({ authorization, xWorkspaceId, filterStudioRequest }: {
1855
+ authorization: string;
1856
+ xWorkspaceId?: string;
1857
+ filterStudioRequest: FilterStudioRequest;
1858
+ }, opts?: Oazapfts.RequestOpts): Promise<FilterStudioResponse[]>;
1859
+ /**
1860
+ * Validate and return info from a starter
1861
+ */
1862
+ export declare function validateStack({ starterPath, body }: {
1863
+ starterPath: string;
1864
+ body?: {
1865
+ file: Blob;
1866
+ };
1867
+ }, opts?: Oazapfts.RequestOpts): Promise<ValidateResponse>;
1868
+ /**
1869
+ * List stacks from account
1870
+ */
1871
+ export declare function listStacks1({ xWorkspaceId, isAccountHolder }: {
1872
+ xWorkspaceId?: string;
1873
+ isAccountHolder?: boolean;
1874
+ }, opts?: Oazapfts.RequestOpts): Promise<GetStackResponse[]>;
1875
+ /**
1876
+ * Create New Stack
1877
+ */
1878
+ export declare function createStack({ createStackRequest }: {
1879
+ createStackRequest: CreateStackRequest;
1880
+ }, opts?: Oazapfts.RequestOpts): Promise<StackVersionSummaryResponse>;
1881
+ /**
1882
+ * List stack versions
1883
+ */
1884
+ export declare function listStackVersions({ stackId, xWorkspaceId, startersOnly, infraOnly, workspaceId }: {
1885
+ stackId: string;
1886
+ xWorkspaceId?: string;
1887
+ startersOnly?: boolean;
1888
+ infraOnly?: boolean;
1889
+ workspaceId?: string;
1890
+ }, opts?: Oazapfts.RequestOpts): Promise<StackVersionListResponse[]>;
1891
+ /**
1892
+ * Create new stack version
1893
+ */
1894
+ export declare function createStackVersion1({ stackId }: {
1895
+ stackId: string;
1896
+ }, opts?: Oazapfts.RequestOpts): Promise<StackVersionSummaryResponse>;
1897
+ /**
1898
+ * Create association between a Stack Version and a Workspace
1899
+ */
1900
+ export declare function addStackWorkspace({ stackVersionId, workspaceId, accountId }: {
1901
+ stackVersionId: string;
1902
+ workspaceId: string;
1903
+ accountId: string;
1904
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1905
+ /**
1906
+ * Remove association between a Stack Version and a Workspace
1907
+ */
1908
+ export declare function removeStackWorkspace({ stackVersionId, workspaceId }: {
1909
+ stackVersionId: string;
1910
+ workspaceId: string;
1911
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1912
+ /**
1913
+ * Deprecate a starter
1914
+ */
1915
+ export declare function deprecateStarterBy({ stackVersionId, starterId, deprecateContentRequest }: {
1916
+ stackVersionId: string;
1917
+ starterId: string;
1918
+ deprecateContentRequest: DeprecateContentRequest;
1919
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1920
+ /**
1921
+ * Get a starter list paginated from a StackVersion with filters
1922
+ */
1923
+ export declare function listStartersWithFilter({ stackVersionId, xWorkspaceId, pageable, filterStarterRequest }: {
1924
+ stackVersionId: string;
1925
+ xWorkspaceId?: string;
1926
+ pageable: Pageable;
1927
+ filterStarterRequest: FilterStarterRequest;
1928
+ }, opts?: Oazapfts.RequestOpts): Promise<PageStarterResponseWithRange>;
1929
+ /**
1930
+ * Publish a stack
1931
+ */
1932
+ export declare function publish1({ stackVersionId }: {
1933
+ stackVersionId: string;
1934
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1935
+ /**
1936
+ * Deprecate plugin used by stack
1937
+ */
1938
+ export declare function deprecatePluginInStack({ stackVersionId, pluginVersionId, deprecateContentRequest }: {
1939
+ stackVersionId: string;
1940
+ pluginVersionId: string;
1941
+ deprecateContentRequest: DeprecateContentRequest;
1942
+ }, opts?: Oazapfts.RequestOpts): Promise<object>;
1943
+ /**
1944
+ * Filter Plugins by stack version id
1945
+ */
1946
+ export declare function filterStackVersionPlugins({ xWorkspaceId, stackVersionId, pageable, filterStackVersionPluginRequest }: {
1947
+ xWorkspaceId?: string;
1948
+ stackVersionId: string;
1949
+ pageable: Pageable;
1950
+ filterStackVersionPluginRequest: FilterStackVersionPluginRequest;
1951
+ }, opts?: Oazapfts.RequestOpts): Promise<PagePluginResponse>;
1952
+ /**
1953
+ * List links by stack version
1954
+ */
1955
+ export declare function listLinksByStackVersion({ stackVersionId }: {
1956
+ stackVersionId: string;
1957
+ }, opts?: Oazapfts.RequestOpts): Promise<GetLinkResponse[]>;
1958
+ /**
1959
+ * Add a link to stack versions
1960
+ */
1961
+ export declare function addLink({ stackVersionId, addLinkRequest }: {
1962
+ stackVersionId: string;
1963
+ addLinkRequest: AddLinkRequest;
1964
+ }, opts?: Oazapfts.RequestOpts): Promise<LinkResponse>;
1965
+ /**
1966
+ * Deprecate a stack
1967
+ */
1968
+ export declare function deprecateStackVersionBy({ stackVersionId, authorization, deprecateContentRequest }: {
1969
+ stackVersionId: string;
1970
+ authorization: string;
1971
+ deprecateContentRequest: DeprecateContentRequest;
1972
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1973
+ /**
1974
+ * Get suggestion of connections interfaces
1975
+ */
1976
+ export declare function getConnectionInterfaceSuggestion({ stackVersionId, xWorkspaceId }: {
1977
+ stackVersionId: string;
1978
+ xWorkspaceId?: string;
1979
+ }, opts?: Oazapfts.RequestOpts): Promise<GetConnectionInterfaceSuggestionResponse[]>;
1980
+ /**
1981
+ * Create suggestion of connections interfaces
1982
+ */
1983
+ export declare function createConnectionInterfaceSuggestion({ stackVersionId, createConnectionInterfaceSuggestionRequest }: {
1984
+ stackVersionId: string;
1985
+ createConnectionInterfaceSuggestionRequest: CreateConnectionInterfaceSuggestionRequest;
1986
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
1987
+ /**
1988
+ * Deprecate an action used by stack
1989
+ */
1990
+ export declare function deprecateActionInStack({ stackVersionId, actionVersionId, deprecateContentRequest }: {
1991
+ stackVersionId: string;
1992
+ actionVersionId: string;
1993
+ deprecateContentRequest: DeprecateContentRequest;
1994
+ }, opts?: Oazapfts.RequestOpts): Promise<object>;
1995
+ /**
1996
+ * List actions from stack by filters
1997
+ */
1998
+ export declare function listActionsByFilters1({ xWorkspaceId, stackVersionId, pageable, filterStackActionRequest }: {
1999
+ xWorkspaceId?: string;
2000
+ stackVersionId: string;
2001
+ pageable: Pageable;
2002
+ filterStackActionRequest: FilterStackActionRequest;
2003
+ }, opts?: Oazapfts.RequestOpts): Promise<PageGetStackActionResponse>;
2004
+ /**
2005
+ * Find a list of stack versions from filters
2006
+ */
2007
+ export declare function getStackVersionListByIds({ xWorkspaceId, filterStackVersionRequest }: {
2008
+ xWorkspaceId?: string;
2009
+ filterStackVersionRequest: FilterStackVersionRequest;
2010
+ }, opts?: Oazapfts.RequestOpts): Promise<GetStackResponse[]>;
2011
+ /**
2012
+ * Validate and return info from a stack
2013
+ */
2014
+ export declare function validateStack1({ body }: {
2015
+ body?: {
2016
+ file: Blob;
2017
+ };
2018
+ }, opts?: Oazapfts.RequestOpts): Promise<StackValidateResponse>;
2019
+ /**
2020
+ * List of stacks by its ids
2021
+ */
2022
+ export declare function listStackByIdsController({ filterStackByIdsRequest }: {
2023
+ filterStackByIdsRequest: FilterStackByIdsRequest;
2024
+ }, opts?: Oazapfts.RequestOpts): Promise<StackSummaryResponse[]>;
2025
+ /**
2026
+ * List plugins version by its ids
2027
+ */
2028
+ export declare function listPluginVersionByIdsController({ xWorkspaceId, filterPluginVersionByIdsRequest }: {
2029
+ xWorkspaceId?: string;
2030
+ filterPluginVersionByIdsRequest: FilterPluginVersionByIdsRequest;
2031
+ }, opts?: Oazapfts.RequestOpts): Promise<PluginVersionResponse[]>;
2032
+ /**
2033
+ * Deprecate a plugin version
2034
+ */
2035
+ export declare function deprecatePluginVersion({ pluginVersionId, authorization, deprecateContentRequest }: {
2036
+ pluginVersionId: string;
2037
+ authorization: string;
2038
+ deprecateContentRequest: DeprecateContentRequest;
2039
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2040
+ /**
2041
+ * Validate and return info from a plugin
2042
+ */
2043
+ export declare function validatePlugin({ body }: {
2044
+ body?: {
2045
+ file: Blob;
2046
+ };
2047
+ }, opts?: Oazapfts.RequestOpts): Promise<ValidateResponse>;
2048
+ /**
2049
+ * Create new documentation
2050
+ */
2051
+ export declare function createDoc({ createDocRequest }: {
2052
+ createDocRequest: CreateDocRequest;
2053
+ }, opts?: Oazapfts.RequestOpts): Promise<DocumentationIdResponse>;
2054
+ /**
2055
+ * Add revision to content evaluation
2056
+ */
2057
+ export declare function contentEvaluationRevision({ contentEvaluationId, addContentEvaluationRevisionRequest }: {
2058
+ contentEvaluationId: string;
2059
+ addContentEvaluationRevisionRequest: AddContentEvaluationRevisionRequest;
2060
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2061
+ /**
2062
+ * List Connection Interface Types
2063
+ */
2064
+ export declare function listConnectionInterfaceTypes1(opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceResponse[]>;
2065
+ /**
2066
+ * Create New Connection Interface Type
2067
+ */
2068
+ export declare function createConnectionInterfaceType1({ createConnectionInterfaceTypeRequest }: {
2069
+ createConnectionInterfaceTypeRequest: CreateConnectionInterfaceTypeRequest;
2070
+ }, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceResponse>;
2071
+ /**
2072
+ * Validate Connection Interface Type Object Output Schema
2073
+ */
2074
+ export declare function validateConnectionInterfaceTypeObjectOutputSchema({ connectionInterfaceTypeIdOrSlug, outputId, validateConnectionInterfaceTypeSchemaRequest }: {
2075
+ connectionInterfaceTypeIdOrSlug: string;
2076
+ outputId: string;
2077
+ validateConnectionInterfaceTypeSchemaRequest: ValidateConnectionInterfaceTypeSchemaRequest;
2078
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2079
+ /**
2080
+ * List actions versions by id and action version or range
2081
+ */
2082
+ export declare function getActionsVersions({ body }: {
2083
+ body: ActionIdAndVersionReferenceRequest[];
2084
+ }, opts?: Oazapfts.RequestOpts): Promise<ActionVersionDataWithInputsResponse[]>;
2085
+ /**
2086
+ * Deprecate an action version
2087
+ */
2088
+ export declare function deprecateActionVersion({ actionVersionId, deprecateContentRequest }: {
2089
+ actionVersionId: string;
2090
+ deprecateContentRequest: DeprecateContentRequest;
2091
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2092
+ /**
2093
+ * Validate and return info from a action
2094
+ */
2095
+ export declare function validateAction({ body }: {
2096
+ body?: {
2097
+ file: Blob;
2098
+ };
2099
+ }, opts?: Oazapfts.RequestOpts): Promise<ValidateResponse>;
2100
+ /**
2101
+ * Update a starter from a StackVersion
2102
+ */
2103
+ export declare function patchStarterV2({ stackVersionId, starterId, patchStarterV2Request }: {
2104
+ stackVersionId: string;
2105
+ starterId: string;
2106
+ patchStarterV2Request: PatchStarterV2Request;
2107
+ }, opts?: Oazapfts.RequestOpts): Promise<StarterResponseWithRange>;
2108
+ /**
2109
+ * Edit a Connection Interface Type
2110
+ */
2111
+ export declare function updateConnectionInterfaceType({ connectionInterfaceTypeId, updateConnectionInterfaceTypeRequest }: {
2112
+ connectionInterfaceTypeId: string;
2113
+ updateConnectionInterfaceTypeRequest: UpdateConnectionInterfaceTypeRequest;
2114
+ }, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceResponseV2>;
2115
+ /**
2116
+ * Change the visibility of given studio
2117
+ */
2118
+ export declare function changeVisibility({ studioSlug, changeVisibilityRequest }: {
2119
+ studioSlug: string;
2120
+ changeVisibilityRequest: ChangeVisibilityRequest;
2121
+ }, opts?: Oazapfts.RequestOpts): Promise<StudioResponse>;
2122
+ /**
2123
+ * Get studio tabs
2124
+ */
2125
+ export declare function getStudioTabs({ studioSlug }: {
2126
+ studioSlug: string;
2127
+ }, opts?: Oazapfts.RequestOpts): Promise<string[]>;
2128
+ /**
2129
+ * Updates studio tabs
2130
+ */
2131
+ export declare function updateStudioTabs({ studioSlug, body }: {
2132
+ studioSlug: string;
2133
+ body: string[];
2134
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2135
+ /**
2136
+ * Get stack tabs
2137
+ */
2138
+ export declare function getStackTabs({ studioSlug, stackSlug }: {
2139
+ studioSlug: string;
2140
+ stackSlug: string;
2141
+ }, opts?: Oazapfts.RequestOpts): Promise<string[]>;
2142
+ /**
2143
+ * Updates stack tabs
2144
+ */
2145
+ export declare function updateStackTabs({ studioSlug, stackSlug, body }: {
2146
+ studioSlug: string;
2147
+ stackSlug: string;
2148
+ body: string[];
2149
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2150
+ /**
2151
+ * Checks for content pending review
2152
+ */
2153
+ export declare function verifyHasContentPendingReview({ studioSlug }: {
2154
+ studioSlug: string;
2155
+ }, opts?: Oazapfts.RequestOpts): Promise<VerifyHasContentPendingReviewResponse>;
2156
+ /**
2157
+ * Enable or disable studio governance
2158
+ */
2159
+ export declare function manageStudioGovernance({ studioSlug, manageStudioGovernanceRequest }: {
2160
+ studioSlug: string;
2161
+ manageStudioGovernanceRequest: ManageStudioGovernanceRequest;
2162
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2163
+ /**
2164
+ * Delete a studio
2165
+ */
2166
+ export declare function deleteStudio({ studioId }: {
2167
+ studioId: string;
2168
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2169
+ /**
2170
+ * Updates studio
2171
+ */
2172
+ export declare function updateStudio({ studioId, updateStudioRequest }: {
2173
+ studioId: string;
2174
+ updateStudioRequest: UpdateStudioRequest;
2175
+ }, opts?: Oazapfts.RequestOpts): Promise<StudioResponse>;
2176
+ /**
2177
+ * get stack
2178
+ */
2179
+ export declare function getStackById({ stackId, semanticVersion, xWorkspaceId }: {
2180
+ stackId: string;
2181
+ semanticVersion?: string;
2182
+ xWorkspaceId?: string;
2183
+ }, opts?: Oazapfts.RequestOpts): Promise<GetStackResponse>;
2184
+ /**
2185
+ * update stack
2186
+ */
2187
+ export declare function updateStackById({ stackId, updateStackRequest }: {
2188
+ stackId: string;
2189
+ updateStackRequest: UpdateStackRequest;
2190
+ }, opts?: Oazapfts.RequestOpts): Promise<StackResponse>;
2191
+ /**
2192
+ * Delete a link from a stack versions
2193
+ */
2194
+ export declare function deleteLink({ stackVersionId, linkId }: {
2195
+ stackVersionId: string;
2196
+ linkId: string;
2197
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2198
+ /**
2199
+ * Edit a link in a stack versions
2200
+ */
2201
+ export declare function editLink({ stackVersionId, linkId, editLinkRequest }: {
2202
+ stackVersionId: string;
2203
+ linkId: string;
2204
+ editLinkRequest: EditLinkRequest;
2205
+ }, opts?: Oazapfts.RequestOpts): Promise<LinkResponse>;
2206
+ /**
2207
+ * Get a documentation
2208
+ */
2209
+ export declare function getDoc({ documentationId, language, status }: {
2210
+ documentationId: string;
2211
+ language: string;
2212
+ status: string;
2213
+ }, opts?: Oazapfts.RequestOpts): Promise<DocumentationResponse>;
2214
+ /**
2215
+ * Delete a documentation
2216
+ */
2217
+ export declare function deleteDoc({ documentationId, language, status }: {
2218
+ documentationId: string;
2219
+ language: string;
2220
+ status: string;
2221
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2222
+ /**
2223
+ * Update a documentation
2224
+ */
2225
+ export declare function updateDoc({ documentationId, language, updateDocRequest }: {
2226
+ documentationId: string;
2227
+ language: string;
2228
+ updateDocRequest: UpdateDocRequest;
2229
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2230
+ /**
2231
+ * Edit a Connection Interface Type
2232
+ */
2233
+ export declare function updateConnectionInterfaceType1({ connectionInterfaceTypeId, updateConnectionInterfaceTypeRequest }: {
2234
+ connectionInterfaceTypeId: string;
2235
+ updateConnectionInterfaceTypeRequest: UpdateConnectionInterfaceTypeRequest;
2236
+ }, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceResponse>;
2237
+ /**
2238
+ * Find studios
2239
+ */
2240
+ export declare function getStudios({ xWorkspaceId, authorization, teamId, aclOnly, filter, isAccountHolder, startersOnly, infraOnly, workspaceId, pageable }: {
2241
+ xWorkspaceId?: string;
2242
+ authorization: string;
2243
+ teamId?: string;
2244
+ aclOnly?: boolean;
2245
+ filter?: string;
2246
+ isAccountHolder?: boolean;
2247
+ startersOnly?: boolean;
2248
+ infraOnly?: boolean;
2249
+ workspaceId?: string;
2250
+ pageable: Pageable;
2251
+ }, opts?: Oazapfts.RequestOpts): Promise<PageStudioResponse>;
2252
+ /**
2253
+ * Download an action by version
2254
+ */
2255
+ export declare function downloadAction({ studioSlug, actionSlug, version, xWorkspaceId }: {
2256
+ studioSlug: string;
2257
+ actionSlug: string;
2258
+ version: string;
2259
+ xWorkspaceId?: string;
2260
+ }, opts?: Oazapfts.RequestOpts): Promise<DownloadBase64Response>;
2261
+ /**
2262
+ * List stacks from account
2263
+ */
2264
+ export declare function listStacks({ xWorkspaceId, isAccountHolder }: {
2265
+ xWorkspaceId?: string;
2266
+ isAccountHolder?: boolean;
2267
+ }, opts?: Oazapfts.RequestOpts): Promise<GetStackV2Response[]>;
2268
+ /**
2269
+ * Get inputs from a plugin version
2270
+ */
2271
+ export declare function getInputs({ pluginVersionId, xWorkspaceId }: {
2272
+ pluginVersionId: string;
2273
+ xWorkspaceId?: string;
2274
+ }, opts?: Oazapfts.RequestOpts): Promise<PluginInputV2Response>;
2275
+ /**
2276
+ * Get Connection Interface Type by Id
2277
+ */
2278
+ export declare function getConnectionInterfaceType({ connectionInterfaceTypeIdOrSlug }: {
2279
+ connectionInterfaceTypeIdOrSlug: string;
2280
+ }, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceResponseV2>;
2281
+ /**
2282
+ * List inputs of an action version
2283
+ */
2284
+ export declare function listInputs({ actionVersionId, xWorkspaceId, accountId }: {
2285
+ actionVersionId: string;
2286
+ xWorkspaceId?: string;
2287
+ accountId?: string;
2288
+ }, opts?: Oazapfts.RequestOpts): Promise<ActionInputV2Response>;
2289
+ /**
2290
+ * Get a starter documentation
2291
+ */
2292
+ export declare function getStarterDoc({ studioSlug, documentationId, language, status }: {
2293
+ studioSlug: string;
2294
+ documentationId: string;
2295
+ language: string;
2296
+ status?: string;
2297
+ }, opts?: Oazapfts.RequestOpts): Promise<DocumentationResponse>;
2298
+ /**
2299
+ * List Stacks inside a studio
2300
+ */
2301
+ export declare function listStacksInStudio({ studioSlug, onlyPublished, xWorkspaceId, startersOnly, infraOnly, workspaceId }: {
2302
+ studioSlug: string;
2303
+ onlyPublished?: boolean;
2304
+ xWorkspaceId?: string;
2305
+ startersOnly?: boolean;
2306
+ infraOnly?: boolean;
2307
+ workspaceId?: string;
2308
+ }, opts?: Oazapfts.RequestOpts): Promise<GetStackStudioResponse[]>;
2309
+ /**
2310
+ * List stacks workspaces view
2311
+ */
2312
+ export declare function getStackWorkspaces({ studioSlug, stackSlug, filter, pageable }: {
2313
+ studioSlug: string;
2314
+ stackSlug: string;
2315
+ filter?: string;
2316
+ pageable: Pageable;
2317
+ }, opts?: Oazapfts.RequestOpts): Promise<PageStackWorkspaceViewResponse>;
2318
+ /**
2319
+ * List stacks workspaces details view
2320
+ */
2321
+ export declare function getStackWorkspaceDetailView({ studioSlug, stackSlug, workspaceId, pageable }: {
2322
+ studioSlug: string;
2323
+ stackSlug: string;
2324
+ workspaceId: string;
2325
+ pageable: Pageable;
2326
+ }, opts?: Oazapfts.RequestOpts): Promise<PageStackWorkspaceDetailViewResponse>;
2327
+ /**
2328
+ * list starters in a stack
2329
+ */
2330
+ export declare function listStartersInStack({ studioSlug, stackSlug, semanticVersion, $type, xWorkspaceId }: {
2331
+ studioSlug: string;
2332
+ stackSlug: string;
2333
+ semanticVersion?: string;
2334
+ $type?: "APP" | "INFRA";
2335
+ xWorkspaceId?: string;
2336
+ }, opts?: Oazapfts.RequestOpts): Promise<StarterResponseWithRange[]>;
2337
+ /**
2338
+ * Get unused stack versions
2339
+ */
2340
+ export declare function getUnusedStackVersions({ studioSlug, stackSlug, pageable }: {
2341
+ studioSlug: string;
2342
+ stackSlug: string;
2343
+ pageable: Pageable;
2344
+ }, opts?: Oazapfts.RequestOpts): Promise<PageGetUnusedStackVersionsResponse>;
2345
+ /**
2346
+ * Stack Modal View Summary
2347
+ */
2348
+ export declare function stackModalViewSummary({ studioSlug, stackSlug }: {
2349
+ studioSlug: string;
2350
+ stackSlug: string;
2351
+ }, opts?: Oazapfts.RequestOpts): Promise<StackModalViewResponse>;
2352
+ /**
2353
+ * Get a stack documentation
2354
+ */
2355
+ export declare function getStackDoc({ studioSlug, documentationId, language, status }: {
2356
+ studioSlug: string;
2357
+ documentationId: string;
2358
+ language: string;
2359
+ status?: string;
2360
+ }, opts?: Oazapfts.RequestOpts): Promise<DocumentationResponse>;
2361
+ /**
2362
+ * List versions of a plugin
2363
+ */
2364
+ export declare function listVersionsOfPlugin({ studioSlug, pluginSlug, appAllowed, xWorkspaceId }: {
2365
+ studioSlug: string;
2366
+ pluginSlug: string;
2367
+ appAllowed?: boolean;
2368
+ xWorkspaceId?: string;
2369
+ }, opts?: Oazapfts.RequestOpts): Promise<PluginVersionShortResponse[]>;
2370
+ /**
2371
+ * Get plugins requirements
2372
+ */
2373
+ export declare function getRequirements({ studioSlug, pluginSlug, version, xWorkspaceId }: {
2374
+ studioSlug: string;
2375
+ pluginSlug: string;
2376
+ version: string;
2377
+ xWorkspaceId?: string;
2378
+ }, opts?: Oazapfts.RequestOpts): Promise<GetPluginRequirementsResponse>;
2379
+ /**
2380
+ * Download a plugin by version
2381
+ */
2382
+ export declare function downloadPlugin({ studioSlug, pluginSlug, version, xWorkspaceId }: {
2383
+ studioSlug: string;
2384
+ pluginSlug: string;
2385
+ version: string;
2386
+ xWorkspaceId?: string;
2387
+ }, opts?: Oazapfts.RequestOpts): Promise<string>;
2388
+ /**
2389
+ * Download a plugin by version (base64 response version)
2390
+ */
2391
+ export declare function downloadPluginBase64({ studioSlug, pluginSlug, version, xWorkspaceId }: {
2392
+ studioSlug: string;
2393
+ pluginSlug: string;
2394
+ version: string;
2395
+ xWorkspaceId?: string;
2396
+ }, opts?: Oazapfts.RequestOpts): Promise<PluginDownloadBase64Response>;
2397
+ /**
2398
+ * Get plugin version
2399
+ */
2400
+ export declare function getPlugin({ studioSlug, pluginSlug, version, xWorkspaceId }: {
2401
+ studioSlug: string;
2402
+ pluginSlug: string;
2403
+ version?: string;
2404
+ xWorkspaceId?: string;
2405
+ }, opts?: Oazapfts.RequestOpts): Promise<GetPluginResponse>;
2406
+ /**
2407
+ * List all starters that use a given plugin
2408
+ */
2409
+ export declare function getStarterUsesPlugin({ studioSlug, pluginSlug, filter, $type, pageable }: {
2410
+ studioSlug: string;
2411
+ pluginSlug: string;
2412
+ filter?: string;
2413
+ $type?: string;
2414
+ pageable: Pageable;
2415
+ }, opts?: Oazapfts.RequestOpts): Promise<PagePluginStarterResponse>;
2416
+ /**
2417
+ * Get starters that use a plugin
2418
+ */
2419
+ export declare function getStarterStackVersionsAndPluginsVersions({ studioSlug, pluginSlug, starterSlug, pageable }: {
2420
+ studioSlug: string;
2421
+ pluginSlug: string;
2422
+ starterSlug: string;
2423
+ pageable: Pageable;
2424
+ }, opts?: Oazapfts.RequestOpts): Promise<PageGetPluginStackStarterUsageResponse>;
2425
+ /**
2426
+ * List all Stacks tha uses a given plugin
2427
+ */
2428
+ export declare function getStackUsesPlugin({ studioSlug, pluginSlug, filter, pageable }: {
2429
+ studioSlug: string;
2430
+ pluginSlug: string;
2431
+ filter?: string;
2432
+ pageable: Pageable;
2433
+ }, opts?: Oazapfts.RequestOpts): Promise<PagePluginStacksResponse>;
2434
+ /**
2435
+ * Get plugin versions by stack
2436
+ */
2437
+ export declare function getPluginVersions({ studioSlug, pluginSlug, stackId, xWorkspaceId, pageable }: {
2438
+ studioSlug: string;
2439
+ pluginSlug: string;
2440
+ stackId: string;
2441
+ xWorkspaceId?: string;
2442
+ pageable: Pageable;
2443
+ }, opts?: Oazapfts.RequestOpts): Promise<PageGetPluginStackUsageResponse>;
2444
+ /**
2445
+ * Plugin Infrastructure View
2446
+ */
2447
+ export declare function getPluginInfrastructureView({ studioSlug, pluginSlug, filter, pageable }: {
2448
+ studioSlug: string;
2449
+ pluginSlug: string;
2450
+ filter?: string;
2451
+ pageable: Pageable;
2452
+ }, opts?: Oazapfts.RequestOpts): Promise<PagePluginInfrastructureViewResponse>;
2453
+ /**
2454
+ * Get a list of environments associated to a given infrastructure that uses a plugin
2455
+ */
2456
+ export declare function getInfrastructureEnvironmentsUsesPlugin({ studioSlug, pluginSlug, infraId, pageable }: {
2457
+ studioSlug: string;
2458
+ pluginSlug: string;
2459
+ infraId: string;
2460
+ pageable: Pageable;
2461
+ }, opts?: Oazapfts.RequestOpts): Promise<PageInfrastructureEnvironmentsUsesPluginResponse>;
2462
+ /**
2463
+ * List all plugin view of usage insights
2464
+ */
2465
+ export declare function getGetPluginView({ studioSlug, pluginSlug, studio, filter, $type, pageable }: {
2466
+ studioSlug: string;
2467
+ pluginSlug: string;
2468
+ studio?: string;
2469
+ filter?: string;
2470
+ $type?: string;
2471
+ pageable: Pageable;
2472
+ }, opts?: Oazapfts.RequestOpts): Promise<PagePluginViewUsageMonitorResponse>;
2473
+ /**
2474
+ * Get plugins versions that depend on a plugin
2475
+ */
2476
+ export declare function getDependentPluginsVersions({ studioSlug, pluginSlug, pluginId, pageable }: {
2477
+ studioSlug: string;
2478
+ pluginSlug: string;
2479
+ pluginId: string;
2480
+ pageable: Pageable;
2481
+ }, opts?: Oazapfts.RequestOpts): Promise<PageGetDependentPluginsVersionsResponse>;
2482
+ /**
2483
+ * Get plugin versions that are not in use
2484
+ */
2485
+ export declare function getPluginVersionsNotInUse({ studioSlug, pluginSlug, pageable }: {
2486
+ studioSlug: string;
2487
+ pluginSlug: string;
2488
+ pageable: Pageable;
2489
+ }, opts?: Oazapfts.RequestOpts): Promise<PageGetPluginVersionsNotInUseResponse>;
2490
+ /**
2491
+ * Usage monitor get a summary of usage by given plugin
2492
+ */
2493
+ export declare function getPluginModalView({ studioSlug, pluginSlug }: {
2494
+ studioSlug: string;
2495
+ pluginSlug: string;
2496
+ }, opts?: Oazapfts.RequestOpts): Promise<PluginInUseSummaryResponse>;
2497
+ /**
2498
+ * List all Applications that uses a given plugin
2499
+ */
2500
+ export declare function getApplicationsUsesPlugin({ studioSlug, pluginSlug, filter, pageable }: {
2501
+ studioSlug: string;
2502
+ pluginSlug: string;
2503
+ filter?: string;
2504
+ pageable: Pageable;
2505
+ }, opts?: Oazapfts.RequestOpts): Promise<PagePluginApplicationsResponse>;
2506
+ /**
2507
+ * Usage monitor get a application view details by plugin
2508
+ */
2509
+ export declare function getApplicationDetailsView({ studioSlug, pluginSlug, applicationId, pageable }: {
2510
+ studioSlug: string;
2511
+ pluginSlug: string;
2512
+ applicationId: string;
2513
+ pageable: Pageable;
2514
+ }, opts?: Oazapfts.RequestOpts): Promise<PagePluginUsageMonitorApplicationViewResponse>;
2515
+ /**
2516
+ * List plugin technologies
2517
+ */
2518
+ export declare function listPluginTechnologies({ studioSlug, xWorkspaceId, filterForStack }: {
2519
+ studioSlug: string;
2520
+ xWorkspaceId?: string;
2521
+ filterForStack?: boolean;
2522
+ }, opts?: Oazapfts.RequestOpts): Promise<string[]>;
2523
+ /**
2524
+ * Get a plugin documentation
2525
+ */
2526
+ export declare function getPluginDoc({ studioSlug, documentationId, language, status }: {
2527
+ studioSlug: string;
2528
+ documentationId: string;
2529
+ language: string;
2530
+ status?: string;
2531
+ }, opts?: Oazapfts.RequestOpts): Promise<DocumentationResponse>;
2532
+ /**
2533
+ * List all action versions
2534
+ */
2535
+ export declare function getAllActionVersions({ studioSlug, actionSlug, status, xWorkspaceId }: {
2536
+ studioSlug: string;
2537
+ actionSlug: string;
2538
+ status?: ("DRAFT" | "PUBLISHED" | "DEPRECATED" | "REPROVED")[];
2539
+ xWorkspaceId?: string;
2540
+ }, opts?: Oazapfts.RequestOpts): Promise<GetActionVersionListResponse>;
2541
+ /**
2542
+ * Download an action by version
2543
+ */
2544
+ export declare function downloadAction1({ studioSlug, actionSlug, version, xWorkspaceId }: {
2545
+ studioSlug: string;
2546
+ actionSlug: string;
2547
+ version: string;
2548
+ xWorkspaceId?: string;
2549
+ }, opts?: Oazapfts.RequestOpts): Promise<string>;
2550
+ /**
2551
+ * Download an action by version
2552
+ */
2553
+ export declare function downloadActionBase64({ studioSlug, actionSlug, version, xWorkspaceId }: {
2554
+ studioSlug: string;
2555
+ actionSlug: string;
2556
+ version: string;
2557
+ xWorkspaceId?: string;
2558
+ }, opts?: Oazapfts.RequestOpts): Promise<DownloadBase64Response>;
2559
+ /**
2560
+ * Get an action documentation
2561
+ */
2562
+ export declare function getActionDoc({ studioSlug, documentationId, language, status }: {
2563
+ studioSlug: string;
2564
+ documentationId: string;
2565
+ language: string;
2566
+ status?: string;
2567
+ }, opts?: Oazapfts.RequestOpts): Promise<DocumentationResponse>;
2568
+ /**
2569
+ * Get a studio by id or slug
2570
+ */
2571
+ export declare function getStudioByIdOrSlug({ studioIdOrSlug, authorization, xWorkspaceId }: {
2572
+ studioIdOrSlug: string;
2573
+ authorization?: string;
2574
+ xWorkspaceId?: string;
2575
+ }, opts?: Oazapfts.RequestOpts): Promise<StudioResponse>;
2576
+ /**
2577
+ * Get studios from token
2578
+ */
2579
+ export declare function getStudiosToCreateButton({ authorization }: {
2580
+ authorization: string;
2581
+ }, opts?: Oazapfts.RequestOpts): Promise<StudioSummaryResponse[]>;
2582
+ /**
2583
+ * Get a stack version list from its ids
2584
+ */
2585
+ export declare function getStackVersionListByIds1({ stackVersionIds, xWorkspaceId }: {
2586
+ stackVersionIds: string[];
2587
+ xWorkspaceId?: string;
2588
+ }, opts?: Oazapfts.RequestOpts): Promise<GetStackResponse[]>;
2589
+ /**
2590
+ * Get a stack version from its id
2591
+ */
2592
+ export declare function getStackVersionById({ stackVersionId, xWorkspaceId }: {
2593
+ stackVersionId: string;
2594
+ xWorkspaceId?: string;
2595
+ }, opts?: Oazapfts.RequestOpts): Promise<GetStackResponse>;
2596
+ /**
2597
+ * Delete a stack version of type draft or unpublish
2598
+ */
2599
+ export declare function deleteV1StacksVersionsByStackVersionId({ stackVersionId, deletionType }: {
2600
+ stackVersionId: string;
2601
+ deletionType: "DRAFT" | "UNPUBLISH";
2602
+ }, opts?: Oazapfts.RequestOpts): Promise<DeleteStackVersionResponse>;
2603
+ /**
2604
+ * Get all workspaces associated with a stack version id
2605
+ */
2606
+ export declare function getWorkspaces({ stackVersionId }: {
2607
+ stackVersionId: string;
2608
+ }, opts?: Oazapfts.RequestOpts): Promise<GetStackWorkspaceResponse[]>;
2609
+ /**
2610
+ * Get a stack version displayName and imageUrl
2611
+ */
2612
+ export declare function getStackVersionWorkspaces({ stackVersionId }: {
2613
+ stackVersionId: string;
2614
+ }, opts?: Oazapfts.RequestOpts): Promise<StackWorkspaceResponse>;
2615
+ /**
2616
+ * Validates the visibility of the given stack version with its studio
2617
+ */
2618
+ export declare function validateVisibility({ xWorkspaceId, stackVersionId }: {
2619
+ xWorkspaceId: string;
2620
+ stackVersionId: string;
2621
+ }, opts?: Oazapfts.RequestOpts): Promise<GetValidateVisibilityResponse>;
2622
+ /**
2623
+ * Validate a stack version to delete
2624
+ */
2625
+ export declare function validate({ stackVersionId }: {
2626
+ stackVersionId: string;
2627
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2628
+ /**
2629
+ * Get a starter list from a StackVersion
2630
+ */
2631
+ export declare function listStarters({ stackVersionId, $type, appAllowed, xWorkspaceId }: {
2632
+ stackVersionId: string;
2633
+ $type?: "APP" | "INFRA";
2634
+ appAllowed?: boolean;
2635
+ xWorkspaceId?: string;
2636
+ }, opts?: Oazapfts.RequestOpts): Promise<StarterResponseWithRange[]>;
2637
+ /**
2638
+ * Get suggestions of version for a publish of stack version
2639
+ */
2640
+ export declare function getPublishSuggestions({ stackVersionId }: {
2641
+ stackVersionId: string;
2642
+ }, opts?: Oazapfts.RequestOpts): Promise<GetPublishSuggestionResponse>;
2643
+ /**
2644
+ * List Plugins by stack version id
2645
+ */
2646
+ export declare function listPlugins({ stackVersionId, starterType, xWorkspaceId }: {
2647
+ stackVersionId: string;
2648
+ starterType?: "APP" | "INFRA";
2649
+ xWorkspaceId?: string;
2650
+ }, opts?: Oazapfts.RequestOpts): Promise<GetPluginsResponse>;
2651
+ /**
2652
+ * Stack Version Usage Summary
2653
+ */
2654
+ export declare function stackVersionUsageSummary({ stackVersionId }: {
2655
+ stackVersionId: string;
2656
+ }, opts?: Oazapfts.RequestOpts): Promise<StackVersionUsageSummaryResponse>;
2657
+ /**
2658
+ * List all action versions from a stack version
2659
+ */
2660
+ export declare function listActions({ stackVersionId, forPluginVersionId, xWorkspaceId }: {
2661
+ stackVersionId: string;
2662
+ forPluginVersionId?: string;
2663
+ xWorkspaceId?: string;
2664
+ }, opts?: Oazapfts.RequestOpts): Promise<GetStackActionResponse[]>;
2665
+ /**
2666
+ * List stack tags
2667
+ */
2668
+ export declare function listStackTags({ xWorkspaceId, studioSlug, filter, size }: {
2669
+ xWorkspaceId?: string;
2670
+ studioSlug?: string;
2671
+ filter?: string;
2672
+ size?: number;
2673
+ }, opts?: Oazapfts.RequestOpts): Promise<string[]>;
2674
+ /**
2675
+ * List plugins version
2676
+ */
2677
+ export declare function listPlugins1({ studioSlug, pluginVersionId, name, $type, technologies, status, filter, starterType, accountOnly, xWorkspaceId }: {
2678
+ studioSlug?: string;
2679
+ pluginVersionId?: string;
2680
+ name?: string;
2681
+ $type?: "APP" | "INFRA";
2682
+ technologies?: string[];
2683
+ status?: ("PENDING_APPROVAL" | "PENDING_CREATOR_UPDATE" | "PUBLICATION_APPROVED" | "PUBLICATION_DECLINED")[];
2684
+ filter?: string;
2685
+ starterType?: "APP" | "INFRA";
2686
+ accountOnly?: boolean;
2687
+ xWorkspaceId?: string;
2688
+ }, opts?: Oazapfts.RequestOpts): Promise<PluginVersionResponse[]>;
2689
+ /**
2690
+ * Validate a plugin version to delete
2691
+ */
2692
+ export declare function validatePluginVersion({ pluginVersionId }: {
2693
+ pluginVersionId: string;
2694
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2695
+ /**
2696
+ * Get a plugin version yaml content
2697
+ */
2698
+ export declare function getPluginYamlContent({ pluginVersionId, xWorkspaceId }: {
2699
+ pluginVersionId: string;
2700
+ xWorkspaceId?: string;
2701
+ }, opts?: Oazapfts.RequestOpts): Promise<GetPluginYamlResponse>;
2702
+ /**
2703
+ * Get inputs from a plugin version
2704
+ */
2705
+ export declare function getInputs1({ pluginVersionId, xWorkspaceId }: {
2706
+ pluginVersionId: string;
2707
+ xWorkspaceId?: string;
2708
+ }, opts?: Oazapfts.RequestOpts): Promise<InputResponse[]>;
2709
+ /**
2710
+ * Plugin Version Usage Summary
2711
+ */
2712
+ export declare function getPluginVersionUsageSummary({ pluginVersionId }: {
2713
+ pluginVersionId: string;
2714
+ }, opts?: Oazapfts.RequestOpts): Promise<PluginVersionUsageSummaryResponse>;
2715
+ /**
2716
+ * List plugins version by connection
2717
+ */
2718
+ export declare function listPluginsByConnectionInterface({ xWorkspaceId, connTypeSlug, studioSlug }: {
2719
+ xWorkspaceId?: string;
2720
+ connTypeSlug: string;
2721
+ studioSlug?: string;
2722
+ }, opts?: Oazapfts.RequestOpts): Promise<PluginVersionByConnectionResponse[]>;
2723
+ /**
2724
+ * List reasons to deprecate content
2725
+ */
2726
+ export declare function listReasons(opts?: Oazapfts.RequestOpts): Promise<string[]>;
2727
+ /**
2728
+ * Get Studio and Content data from Content Type and Content ID
2729
+ */
2730
+ export declare function getContent({ contentType, contentIdentifier, studioSlug, accountId }: {
2731
+ contentType: "STUDIO" | "ACTION" | "PLUGIN" | "STACK" | "STARTER" | "ACTION_VERSION" | "PLUGIN_VERSION" | "STACK_VERSION";
2732
+ contentIdentifier: string;
2733
+ studioSlug?: string;
2734
+ accountId?: string;
2735
+ }, opts?: Oazapfts.RequestOpts): Promise<ContentResponse>;
2736
+ /**
2737
+ * List contents evaluation
2738
+ */
2739
+ export declare function listContentsEvaluation({ filter, page, size, statusRevision }: {
2740
+ filter?: string;
2741
+ page?: number;
2742
+ size?: number;
2743
+ statusRevision?: "REVIEW_IN_PROGRESS" | "REVIEW_DONE";
2744
+ }, opts?: Oazapfts.RequestOpts): Promise<PageContentEvaluationResponse>;
2745
+ /**
2746
+ * Content evaluation summary details
2747
+ */
2748
+ export declare function contentEvaluationDetails({ contentEvaluationId }: {
2749
+ contentEvaluationId: string;
2750
+ }, opts?: Oazapfts.RequestOpts): Promise<ContentEvaluationSummaryDetailsResponse>;
2751
+ /**
2752
+ * List discussion messages
2753
+ */
2754
+ export declare function getDiscussionMessages({ contentEvaluationId }: {
2755
+ contentEvaluationId: string;
2756
+ }, opts?: Oazapfts.RequestOpts): Promise<DiscussionMessageResponse[]>;
2757
+ /**
2758
+ * Get Connection Interface Type by Id
2759
+ */
2760
+ export declare function getConnectionInterfaceType1({ connectionInterfaceTypeIdOrSlug }: {
2761
+ connectionInterfaceTypeIdOrSlug: string;
2762
+ }, opts?: Oazapfts.RequestOpts): Promise<ConnectionInterfaceResponse>;
2763
+ /**
2764
+ * List of actions
2765
+ */
2766
+ export declare function listActions1({ studioSlug, name, $type, technologies, status, filter, accountOnly, xWorkspaceId, requiresConnection }: {
2767
+ studioSlug?: string;
2768
+ name?: string;
2769
+ $type?: string;
2770
+ technologies?: string[];
2771
+ status?: ("PENDING_APPROVAL" | "PENDING_CREATOR_UPDATE" | "PUBLICATION_APPROVED" | "PUBLICATION_DECLINED")[];
2772
+ filter?: string;
2773
+ accountOnly?: boolean;
2774
+ xWorkspaceId?: string;
2775
+ requiresConnection?: boolean;
2776
+ }, opts?: Oazapfts.RequestOpts): Promise<ActionResponse[]>;
2777
+ /**
2778
+ * Get Action by actionVersionId
2779
+ */
2780
+ export declare function getActionVersionById({ actionVersionId, xWorkspaceId }: {
2781
+ actionVersionId: string;
2782
+ xWorkspaceId?: string;
2783
+ }, opts?: Oazapfts.RequestOpts): Promise<GetActionResponse>;
2784
+ /**
2785
+ * Remove an action version
2786
+ */
2787
+ export declare function deleteActionVersion({ actionVersionId }: {
2788
+ actionVersionId: string;
2789
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2790
+ /**
2791
+ * Validate an action version to delete
2792
+ */
2793
+ export declare function validateActionVersion({ actionVersionId }: {
2794
+ actionVersionId: string;
2795
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2796
+ /**
2797
+ * List inputs of an action version
2798
+ */
2799
+ export declare function getListOfInputs({ actionVersionId, xWorkspaceId, accountId }: {
2800
+ actionVersionId: string;
2801
+ xWorkspaceId?: string;
2802
+ accountId?: string;
2803
+ }, opts?: Oazapfts.RequestOpts): Promise<ActionVersionInputResponse[]>;
2804
+ /**
2805
+ * Get Actions Versions by secret
2806
+ */
2807
+ export declare function getActionVersionsBySecret({ secretName }: {
2808
+ secretName: string;
2809
+ }, opts?: Oazapfts.RequestOpts): Promise<ActionSummaryResponse[]>;
2810
+ /**
2811
+ * Get accountInfo
2812
+ */
2813
+ export declare function getAccountInfo(opts?: Oazapfts.RequestOpts): Promise<AccountInfoResponse>;
2814
+ /**
2815
+ * List all action versions
2816
+ */
2817
+ export declare function getAllActionVersions1({ accountSlug, studioSlug, actionSlug, status, xWorkspaceId }: {
2818
+ accountSlug: string;
2819
+ studioSlug: string;
2820
+ actionSlug: string;
2821
+ status?: ("DRAFT" | "PUBLISHED" | "DEPRECATED" | "REPROVED")[];
2822
+ xWorkspaceId?: string;
2823
+ }, opts?: Oazapfts.RequestOpts): Promise<GetActionVersionListResponse>;
2824
+ /**
2825
+ * Download an action by version
2826
+ */
2827
+ export declare function downloadAction2({ accountSlug, studioSlug, actionSlug, version, xWorkspaceId }: {
2828
+ accountSlug: string;
2829
+ studioSlug: string;
2830
+ actionSlug: string;
2831
+ version: string;
2832
+ xWorkspaceId?: string;
2833
+ }, opts?: Oazapfts.RequestOpts): Promise<string>;
2834
+ /**
2835
+ * List account documentations
2836
+ */
2837
+ export declare function listDocs({ accountId }: {
2838
+ accountId: string;
2839
+ }, opts?: Oazapfts.RequestOpts): Promise<ListDocumentationResponse>;
2840
+ /**
2841
+ * Remove workspace of given studio
2842
+ */
2843
+ export declare function delWorkspace({ studioSlug, workspaceId }: {
2844
+ studioSlug: string;
2845
+ workspaceId: string;
2846
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2847
+ /**
2848
+ * Remove an team from a studio
2849
+ */
2850
+ export declare function deleteTeam({ studioId, teamId }: {
2851
+ studioId: string;
2852
+ teamId: string;
2853
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2854
+ /**
2855
+ * Deletes a Starter from a StackVersion
2856
+ */
2857
+ export declare function deleteStarter({ stackVersionId, starterId }: {
2858
+ stackVersionId: string;
2859
+ starterId: string;
2860
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2861
+ /**
2862
+ * Delete plugin by id
2863
+ */
2864
+ export declare function deletePlugin({ stackVersionId, pluginVersionId }: {
2865
+ stackVersionId: string;
2866
+ pluginVersionId: string;
2867
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2868
+ /**
2869
+ * Remove an associated action from a plugin
2870
+ */
2871
+ export declare function removeActionFromPlugin({ stackVersionId, pluginVersionId, actionVersionId }: {
2872
+ stackVersionId: string;
2873
+ pluginVersionId: string;
2874
+ actionVersionId: string;
2875
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2876
+ /**
2877
+ * Remove an action from a stack version
2878
+ */
2879
+ export declare function deleteAction({ stackVersionId, actionVersionId }: {
2880
+ stackVersionId: string;
2881
+ actionVersionId: string;
2882
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2883
+ /**
2884
+ * Remove a plugin version
2885
+ */
2886
+ export declare function deletePluginVersion({ pluginVersionId, $override }: {
2887
+ pluginVersionId: string;
2888
+ $override?: boolean;
2889
+ }, opts?: Oazapfts.RequestOpts): Promise<unknown>;
2890
+ //# sourceMappingURL=content.d.ts.map