system-initiative-api-client 0.0.3 → 1.0.2
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.
- package/dist/cjs/api.d.ts +738 -103
- package/dist/cjs/api.js +452 -69
- package/package.json +1 -1
package/dist/cjs/api.js
CHANGED
|
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.WhoamiApi = exports.WhoamiApiFactory = exports.WhoamiApiFp = exports.WhoamiApiAxiosParamCreator = exports.SecretsApi = exports.SecretsApiFactory = exports.SecretsApiFp = exports.SecretsApiAxiosParamCreator = exports.SchemasApi = exports.SchemasApiFactory = exports.SchemasApiFp = exports.SchemasApiAxiosParamCreator = exports.RootApi = exports.RootApiFactory = exports.RootApiFp = exports.RootApiAxiosParamCreator = exports.FuncsApi = exports.FuncsApiFactory = exports.FuncsApiFp = exports.FuncsApiAxiosParamCreator = exports.ComponentsApi = exports.ComponentsApiFactory = exports.ComponentsApiFp = exports.ComponentsApiAxiosParamCreator = exports.ChangeSetsApi = exports.ChangeSetsApiFactory = exports.ChangeSetsApiFp = exports.ChangeSetsApiAxiosParamCreator = exports.ActionsApi = exports.ActionsApiFactory = exports.ActionsApiFp = exports.ActionsApiAxiosParamCreator = exports.SocketDirection = void 0;
|
|
19
|
+
exports.WhoamiApi = exports.WhoamiApiFactory = exports.WhoamiApiFp = exports.WhoamiApiAxiosParamCreator = exports.SecretsApi = exports.SecretsApiFactory = exports.SecretsApiFp = exports.SecretsApiAxiosParamCreator = exports.SchemasApi = exports.SchemasApiFactory = exports.SchemasApiFp = exports.SchemasApiAxiosParamCreator = exports.RootApi = exports.RootApiFactory = exports.RootApiFp = exports.RootApiAxiosParamCreator = exports.ManagementFuncsApi = exports.ManagementFuncsApiFactory = exports.ManagementFuncsApiFp = exports.ManagementFuncsApiAxiosParamCreator = exports.FuncsApi = exports.FuncsApiFactory = exports.FuncsApiFp = exports.FuncsApiAxiosParamCreator = exports.ComponentsApi = exports.ComponentsApiFactory = exports.ComponentsApiFp = exports.ComponentsApiAxiosParamCreator = exports.ChangeSetsApi = exports.ChangeSetsApiFactory = exports.ChangeSetsApiFp = exports.ChangeSetsApiAxiosParamCreator = exports.ActionsApi = exports.ActionsApiFactory = exports.ActionsApiFp = exports.ActionsApiAxiosParamCreator = exports.SocketDirection = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
// Some imports not used depending on template conditions
|
|
22
22
|
// @ts-ignore
|
|
@@ -41,8 +41,9 @@ const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
41
41
|
return {
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
|
+
* @summary Remove queued action
|
|
44
45
|
* @param {string} workspaceId Workspace identifier
|
|
45
|
-
* @param {string} changeSetId Change
|
|
46
|
+
* @param {string} changeSetId Change Set identifier
|
|
46
47
|
* @param {string} actionId Action identifier
|
|
47
48
|
* @param {*} [options] Override http request option.
|
|
48
49
|
* @throws {RequiredError}
|
|
@@ -77,8 +78,9 @@ const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
77
78
|
},
|
|
78
79
|
/**
|
|
79
80
|
*
|
|
81
|
+
* @summary List queued actions
|
|
80
82
|
* @param {string} workspaceId Workspace identifier
|
|
81
|
-
* @param {string} changeSetId Change
|
|
83
|
+
* @param {string} changeSetId Change Set identifier
|
|
82
84
|
* @param {*} [options] Override http request option.
|
|
83
85
|
* @throws {RequiredError}
|
|
84
86
|
*/
|
|
@@ -87,7 +89,7 @@ const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
87
89
|
(0, common_1.assertParamExists)('getActions', 'workspaceId', workspaceId);
|
|
88
90
|
// verify required parameter 'changeSetId' is not null or undefined
|
|
89
91
|
(0, common_1.assertParamExists)('getActions', 'changeSetId', changeSetId);
|
|
90
|
-
const localVarPath = `/v1/w/{workspace_id}/change-sets/{change_set_id}/actions
|
|
92
|
+
const localVarPath = `/v1/w/{workspace_id}/change-sets/{change_set_id}/actions`
|
|
91
93
|
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
92
94
|
.replace(`{${"change_set_id"}}`, encodeURIComponent(String(changeSetId)));
|
|
93
95
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -109,8 +111,9 @@ const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
109
111
|
},
|
|
110
112
|
/**
|
|
111
113
|
*
|
|
114
|
+
* @summary Put action on-hold
|
|
112
115
|
* @param {string} workspaceId Workspace identifier
|
|
113
|
-
* @param {string} changeSetId Change
|
|
116
|
+
* @param {string} changeSetId Change Set identifier
|
|
114
117
|
* @param {string} actionId Action identifier
|
|
115
118
|
* @param {*} [options] Override http request option.
|
|
116
119
|
* @throws {RequiredError}
|
|
@@ -145,8 +148,9 @@ const ActionsApiAxiosParamCreator = function (configuration) {
|
|
|
145
148
|
},
|
|
146
149
|
/**
|
|
147
150
|
*
|
|
151
|
+
* @summary Retry action
|
|
148
152
|
* @param {string} workspaceId Workspace identifier
|
|
149
|
-
* @param {string} changeSetId Change
|
|
153
|
+
* @param {string} changeSetId Change Set identifier
|
|
150
154
|
* @param {string} actionId Action identifier
|
|
151
155
|
* @param {*} [options] Override http request option.
|
|
152
156
|
* @throws {RequiredError}
|
|
@@ -191,8 +195,9 @@ const ActionsApiFp = function (configuration) {
|
|
|
191
195
|
return {
|
|
192
196
|
/**
|
|
193
197
|
*
|
|
198
|
+
* @summary Remove queued action
|
|
194
199
|
* @param {string} workspaceId Workspace identifier
|
|
195
|
-
* @param {string} changeSetId Change
|
|
200
|
+
* @param {string} changeSetId Change Set identifier
|
|
196
201
|
* @param {string} actionId Action identifier
|
|
197
202
|
* @param {*} [options] Override http request option.
|
|
198
203
|
* @throws {RequiredError}
|
|
@@ -205,8 +210,9 @@ const ActionsApiFp = function (configuration) {
|
|
|
205
210
|
},
|
|
206
211
|
/**
|
|
207
212
|
*
|
|
213
|
+
* @summary List queued actions
|
|
208
214
|
* @param {string} workspaceId Workspace identifier
|
|
209
|
-
* @param {string} changeSetId Change
|
|
215
|
+
* @param {string} changeSetId Change Set identifier
|
|
210
216
|
* @param {*} [options] Override http request option.
|
|
211
217
|
* @throws {RequiredError}
|
|
212
218
|
*/
|
|
@@ -218,8 +224,9 @@ const ActionsApiFp = function (configuration) {
|
|
|
218
224
|
},
|
|
219
225
|
/**
|
|
220
226
|
*
|
|
227
|
+
* @summary Put action on-hold
|
|
221
228
|
* @param {string} workspaceId Workspace identifier
|
|
222
|
-
* @param {string} changeSetId Change
|
|
229
|
+
* @param {string} changeSetId Change Set identifier
|
|
223
230
|
* @param {string} actionId Action identifier
|
|
224
231
|
* @param {*} [options] Override http request option.
|
|
225
232
|
* @throws {RequiredError}
|
|
@@ -232,8 +239,9 @@ const ActionsApiFp = function (configuration) {
|
|
|
232
239
|
},
|
|
233
240
|
/**
|
|
234
241
|
*
|
|
242
|
+
* @summary Retry action
|
|
235
243
|
* @param {string} workspaceId Workspace identifier
|
|
236
|
-
* @param {string} changeSetId Change
|
|
244
|
+
* @param {string} changeSetId Change Set identifier
|
|
237
245
|
* @param {string} actionId Action identifier
|
|
238
246
|
* @param {*} [options] Override http request option.
|
|
239
247
|
* @throws {RequiredError}
|
|
@@ -256,6 +264,7 @@ const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
256
264
|
return {
|
|
257
265
|
/**
|
|
258
266
|
*
|
|
267
|
+
* @summary Remove queued action
|
|
259
268
|
* @param {ActionsApiCancelActionRequest} requestParameters Request parameters.
|
|
260
269
|
* @param {*} [options] Override http request option.
|
|
261
270
|
* @throws {RequiredError}
|
|
@@ -265,6 +274,7 @@ const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
265
274
|
},
|
|
266
275
|
/**
|
|
267
276
|
*
|
|
277
|
+
* @summary List queued actions
|
|
268
278
|
* @param {ActionsApiGetActionsRequest} requestParameters Request parameters.
|
|
269
279
|
* @param {*} [options] Override http request option.
|
|
270
280
|
* @throws {RequiredError}
|
|
@@ -274,6 +284,7 @@ const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
274
284
|
},
|
|
275
285
|
/**
|
|
276
286
|
*
|
|
287
|
+
* @summary Put action on-hold
|
|
277
288
|
* @param {ActionsApiPutOnHoldRequest} requestParameters Request parameters.
|
|
278
289
|
* @param {*} [options] Override http request option.
|
|
279
290
|
* @throws {RequiredError}
|
|
@@ -283,6 +294,7 @@ const ActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
283
294
|
},
|
|
284
295
|
/**
|
|
285
296
|
*
|
|
297
|
+
* @summary Retry action
|
|
286
298
|
* @param {ActionsApiRetryActionRequest} requestParameters Request parameters.
|
|
287
299
|
* @param {*} [options] Override http request option.
|
|
288
300
|
* @throws {RequiredError}
|
|
@@ -302,6 +314,7 @@ exports.ActionsApiFactory = ActionsApiFactory;
|
|
|
302
314
|
class ActionsApi extends base_1.BaseAPI {
|
|
303
315
|
/**
|
|
304
316
|
*
|
|
317
|
+
* @summary Remove queued action
|
|
305
318
|
* @param {ActionsApiCancelActionRequest} requestParameters Request parameters.
|
|
306
319
|
* @param {*} [options] Override http request option.
|
|
307
320
|
* @throws {RequiredError}
|
|
@@ -312,6 +325,7 @@ class ActionsApi extends base_1.BaseAPI {
|
|
|
312
325
|
}
|
|
313
326
|
/**
|
|
314
327
|
*
|
|
328
|
+
* @summary List queued actions
|
|
315
329
|
* @param {ActionsApiGetActionsRequest} requestParameters Request parameters.
|
|
316
330
|
* @param {*} [options] Override http request option.
|
|
317
331
|
* @throws {RequiredError}
|
|
@@ -322,6 +336,7 @@ class ActionsApi extends base_1.BaseAPI {
|
|
|
322
336
|
}
|
|
323
337
|
/**
|
|
324
338
|
*
|
|
339
|
+
* @summary Put action on-hold
|
|
325
340
|
* @param {ActionsApiPutOnHoldRequest} requestParameters Request parameters.
|
|
326
341
|
* @param {*} [options] Override http request option.
|
|
327
342
|
* @throws {RequiredError}
|
|
@@ -332,6 +347,7 @@ class ActionsApi extends base_1.BaseAPI {
|
|
|
332
347
|
}
|
|
333
348
|
/**
|
|
334
349
|
*
|
|
350
|
+
* @summary Retry action
|
|
335
351
|
* @param {ActionsApiRetryActionRequest} requestParameters Request parameters.
|
|
336
352
|
* @param {*} [options] Override http request option.
|
|
337
353
|
* @throws {RequiredError}
|
|
@@ -350,8 +366,9 @@ const ChangeSetsApiAxiosParamCreator = function (configuration) {
|
|
|
350
366
|
return {
|
|
351
367
|
/**
|
|
352
368
|
*
|
|
369
|
+
* @summary Delete a Change Set
|
|
353
370
|
* @param {string} workspaceId Workspace identifier
|
|
354
|
-
* @param {string} changeSetId Change
|
|
371
|
+
* @param {string} changeSetId Change Set identifier
|
|
355
372
|
* @param {*} [options] Override http request option.
|
|
356
373
|
* @throws {RequiredError}
|
|
357
374
|
*/
|
|
@@ -382,6 +399,7 @@ const ChangeSetsApiAxiosParamCreator = function (configuration) {
|
|
|
382
399
|
},
|
|
383
400
|
/**
|
|
384
401
|
*
|
|
402
|
+
* @summary Create a Change Set
|
|
385
403
|
* @param {string} workspaceId Workspace identifier
|
|
386
404
|
* @param {CreateChangeSetV1Request} createChangeSetV1Request
|
|
387
405
|
* @param {*} [options] Override http request option.
|
|
@@ -415,8 +433,9 @@ const ChangeSetsApiAxiosParamCreator = function (configuration) {
|
|
|
415
433
|
},
|
|
416
434
|
/**
|
|
417
435
|
*
|
|
436
|
+
* @summary Merge Change Set without approval
|
|
418
437
|
* @param {string} workspaceId Workspace identifier
|
|
419
|
-
* @param {string} changeSetId Change
|
|
438
|
+
* @param {string} changeSetId Change Set identifier
|
|
420
439
|
* @param {*} [options] Override http request option.
|
|
421
440
|
* @throws {RequiredError}
|
|
422
441
|
*/
|
|
@@ -447,8 +466,9 @@ const ChangeSetsApiAxiosParamCreator = function (configuration) {
|
|
|
447
466
|
},
|
|
448
467
|
/**
|
|
449
468
|
*
|
|
469
|
+
* @summary Get a Change Set by Change Set Id
|
|
450
470
|
* @param {string} workspaceId Workspace identifier
|
|
451
|
-
* @param {string} changeSetId Change
|
|
471
|
+
* @param {string} changeSetId Change Set identifier
|
|
452
472
|
* @param {*} [options] Override http request option.
|
|
453
473
|
* @throws {RequiredError}
|
|
454
474
|
*/
|
|
@@ -479,6 +499,7 @@ const ChangeSetsApiAxiosParamCreator = function (configuration) {
|
|
|
479
499
|
},
|
|
480
500
|
/**
|
|
481
501
|
*
|
|
502
|
+
* @summary List all active Change Sets
|
|
482
503
|
* @param {string} workspaceId Workspace identifier
|
|
483
504
|
* @param {*} [options] Override http request option.
|
|
484
505
|
* @throws {RequiredError}
|
|
@@ -507,8 +528,9 @@ const ChangeSetsApiAxiosParamCreator = function (configuration) {
|
|
|
507
528
|
},
|
|
508
529
|
/**
|
|
509
530
|
*
|
|
531
|
+
* @summary Get Change Set post merge status
|
|
510
532
|
* @param {string} workspaceId Workspace identifier
|
|
511
|
-
* @param {string} changeSetId Change
|
|
533
|
+
* @param {string} changeSetId Change Set identifier
|
|
512
534
|
* @param {*} [options] Override http request option.
|
|
513
535
|
* @throws {RequiredError}
|
|
514
536
|
*/
|
|
@@ -539,6 +561,7 @@ const ChangeSetsApiAxiosParamCreator = function (configuration) {
|
|
|
539
561
|
},
|
|
540
562
|
/**
|
|
541
563
|
*
|
|
564
|
+
* @summary Abandon all active Change Sets
|
|
542
565
|
* @param {string} workspaceId Workspace identifier
|
|
543
566
|
* @param {*} [options] Override http request option.
|
|
544
567
|
* @throws {RequiredError}
|
|
@@ -567,8 +590,9 @@ const ChangeSetsApiAxiosParamCreator = function (configuration) {
|
|
|
567
590
|
},
|
|
568
591
|
/**
|
|
569
592
|
*
|
|
593
|
+
* @summary Request Change Set merge approval
|
|
570
594
|
* @param {string} workspaceId Workspace identifier
|
|
571
|
-
* @param {string} changeSetId Change
|
|
595
|
+
* @param {string} changeSetId Change Set identifier
|
|
572
596
|
* @param {*} [options] Override http request option.
|
|
573
597
|
* @throws {RequiredError}
|
|
574
598
|
*/
|
|
@@ -609,8 +633,9 @@ const ChangeSetsApiFp = function (configuration) {
|
|
|
609
633
|
return {
|
|
610
634
|
/**
|
|
611
635
|
*
|
|
636
|
+
* @summary Delete a Change Set
|
|
612
637
|
* @param {string} workspaceId Workspace identifier
|
|
613
|
-
* @param {string} changeSetId Change
|
|
638
|
+
* @param {string} changeSetId Change Set identifier
|
|
614
639
|
* @param {*} [options] Override http request option.
|
|
615
640
|
* @throws {RequiredError}
|
|
616
641
|
*/
|
|
@@ -622,6 +647,7 @@ const ChangeSetsApiFp = function (configuration) {
|
|
|
622
647
|
},
|
|
623
648
|
/**
|
|
624
649
|
*
|
|
650
|
+
* @summary Create a Change Set
|
|
625
651
|
* @param {string} workspaceId Workspace identifier
|
|
626
652
|
* @param {CreateChangeSetV1Request} createChangeSetV1Request
|
|
627
653
|
* @param {*} [options] Override http request option.
|
|
@@ -635,8 +661,9 @@ const ChangeSetsApiFp = function (configuration) {
|
|
|
635
661
|
},
|
|
636
662
|
/**
|
|
637
663
|
*
|
|
664
|
+
* @summary Merge Change Set without approval
|
|
638
665
|
* @param {string} workspaceId Workspace identifier
|
|
639
|
-
* @param {string} changeSetId Change
|
|
666
|
+
* @param {string} changeSetId Change Set identifier
|
|
640
667
|
* @param {*} [options] Override http request option.
|
|
641
668
|
* @throws {RequiredError}
|
|
642
669
|
*/
|
|
@@ -648,8 +675,9 @@ const ChangeSetsApiFp = function (configuration) {
|
|
|
648
675
|
},
|
|
649
676
|
/**
|
|
650
677
|
*
|
|
678
|
+
* @summary Get a Change Set by Change Set Id
|
|
651
679
|
* @param {string} workspaceId Workspace identifier
|
|
652
|
-
* @param {string} changeSetId Change
|
|
680
|
+
* @param {string} changeSetId Change Set identifier
|
|
653
681
|
* @param {*} [options] Override http request option.
|
|
654
682
|
* @throws {RequiredError}
|
|
655
683
|
*/
|
|
@@ -661,6 +689,7 @@ const ChangeSetsApiFp = function (configuration) {
|
|
|
661
689
|
},
|
|
662
690
|
/**
|
|
663
691
|
*
|
|
692
|
+
* @summary List all active Change Sets
|
|
664
693
|
* @param {string} workspaceId Workspace identifier
|
|
665
694
|
* @param {*} [options] Override http request option.
|
|
666
695
|
* @throws {RequiredError}
|
|
@@ -673,8 +702,9 @@ const ChangeSetsApiFp = function (configuration) {
|
|
|
673
702
|
},
|
|
674
703
|
/**
|
|
675
704
|
*
|
|
705
|
+
* @summary Get Change Set post merge status
|
|
676
706
|
* @param {string} workspaceId Workspace identifier
|
|
677
|
-
* @param {string} changeSetId Change
|
|
707
|
+
* @param {string} changeSetId Change Set identifier
|
|
678
708
|
* @param {*} [options] Override http request option.
|
|
679
709
|
* @throws {RequiredError}
|
|
680
710
|
*/
|
|
@@ -686,6 +716,7 @@ const ChangeSetsApiFp = function (configuration) {
|
|
|
686
716
|
},
|
|
687
717
|
/**
|
|
688
718
|
*
|
|
719
|
+
* @summary Abandon all active Change Sets
|
|
689
720
|
* @param {string} workspaceId Workspace identifier
|
|
690
721
|
* @param {*} [options] Override http request option.
|
|
691
722
|
* @throws {RequiredError}
|
|
@@ -698,8 +729,9 @@ const ChangeSetsApiFp = function (configuration) {
|
|
|
698
729
|
},
|
|
699
730
|
/**
|
|
700
731
|
*
|
|
732
|
+
* @summary Request Change Set merge approval
|
|
701
733
|
* @param {string} workspaceId Workspace identifier
|
|
702
|
-
* @param {string} changeSetId Change
|
|
734
|
+
* @param {string} changeSetId Change Set identifier
|
|
703
735
|
* @param {*} [options] Override http request option.
|
|
704
736
|
* @throws {RequiredError}
|
|
705
737
|
*/
|
|
@@ -721,6 +753,7 @@ const ChangeSetsApiFactory = function (configuration, basePath, axios) {
|
|
|
721
753
|
return {
|
|
722
754
|
/**
|
|
723
755
|
*
|
|
756
|
+
* @summary Delete a Change Set
|
|
724
757
|
* @param {ChangeSetsApiAbandonChangeSetRequest} requestParameters Request parameters.
|
|
725
758
|
* @param {*} [options] Override http request option.
|
|
726
759
|
* @throws {RequiredError}
|
|
@@ -730,6 +763,7 @@ const ChangeSetsApiFactory = function (configuration, basePath, axios) {
|
|
|
730
763
|
},
|
|
731
764
|
/**
|
|
732
765
|
*
|
|
766
|
+
* @summary Create a Change Set
|
|
733
767
|
* @param {ChangeSetsApiCreateChangeSetRequest} requestParameters Request parameters.
|
|
734
768
|
* @param {*} [options] Override http request option.
|
|
735
769
|
* @throws {RequiredError}
|
|
@@ -739,6 +773,7 @@ const ChangeSetsApiFactory = function (configuration, basePath, axios) {
|
|
|
739
773
|
},
|
|
740
774
|
/**
|
|
741
775
|
*
|
|
776
|
+
* @summary Merge Change Set without approval
|
|
742
777
|
* @param {ChangeSetsApiForceApplyRequest} requestParameters Request parameters.
|
|
743
778
|
* @param {*} [options] Override http request option.
|
|
744
779
|
* @throws {RequiredError}
|
|
@@ -748,6 +783,7 @@ const ChangeSetsApiFactory = function (configuration, basePath, axios) {
|
|
|
748
783
|
},
|
|
749
784
|
/**
|
|
750
785
|
*
|
|
786
|
+
* @summary Get a Change Set by Change Set Id
|
|
751
787
|
* @param {ChangeSetsApiGetChangeSetRequest} requestParameters Request parameters.
|
|
752
788
|
* @param {*} [options] Override http request option.
|
|
753
789
|
* @throws {RequiredError}
|
|
@@ -757,6 +793,7 @@ const ChangeSetsApiFactory = function (configuration, basePath, axios) {
|
|
|
757
793
|
},
|
|
758
794
|
/**
|
|
759
795
|
*
|
|
796
|
+
* @summary List all active Change Sets
|
|
760
797
|
* @param {ChangeSetsApiListChangeSetsRequest} requestParameters Request parameters.
|
|
761
798
|
* @param {*} [options] Override http request option.
|
|
762
799
|
* @throws {RequiredError}
|
|
@@ -766,6 +803,7 @@ const ChangeSetsApiFactory = function (configuration, basePath, axios) {
|
|
|
766
803
|
},
|
|
767
804
|
/**
|
|
768
805
|
*
|
|
806
|
+
* @summary Get Change Set post merge status
|
|
769
807
|
* @param {ChangeSetsApiMergeStatusRequest} requestParameters Request parameters.
|
|
770
808
|
* @param {*} [options] Override http request option.
|
|
771
809
|
* @throws {RequiredError}
|
|
@@ -775,6 +813,7 @@ const ChangeSetsApiFactory = function (configuration, basePath, axios) {
|
|
|
775
813
|
},
|
|
776
814
|
/**
|
|
777
815
|
*
|
|
816
|
+
* @summary Abandon all active Change Sets
|
|
778
817
|
* @param {ChangeSetsApiPurgeOpenRequest} requestParameters Request parameters.
|
|
779
818
|
* @param {*} [options] Override http request option.
|
|
780
819
|
* @throws {RequiredError}
|
|
@@ -784,6 +823,7 @@ const ChangeSetsApiFactory = function (configuration, basePath, axios) {
|
|
|
784
823
|
},
|
|
785
824
|
/**
|
|
786
825
|
*
|
|
826
|
+
* @summary Request Change Set merge approval
|
|
787
827
|
* @param {ChangeSetsApiRequestApprovalRequest} requestParameters Request parameters.
|
|
788
828
|
* @param {*} [options] Override http request option.
|
|
789
829
|
* @throws {RequiredError}
|
|
@@ -803,6 +843,7 @@ exports.ChangeSetsApiFactory = ChangeSetsApiFactory;
|
|
|
803
843
|
class ChangeSetsApi extends base_1.BaseAPI {
|
|
804
844
|
/**
|
|
805
845
|
*
|
|
846
|
+
* @summary Delete a Change Set
|
|
806
847
|
* @param {ChangeSetsApiAbandonChangeSetRequest} requestParameters Request parameters.
|
|
807
848
|
* @param {*} [options] Override http request option.
|
|
808
849
|
* @throws {RequiredError}
|
|
@@ -813,6 +854,7 @@ class ChangeSetsApi extends base_1.BaseAPI {
|
|
|
813
854
|
}
|
|
814
855
|
/**
|
|
815
856
|
*
|
|
857
|
+
* @summary Create a Change Set
|
|
816
858
|
* @param {ChangeSetsApiCreateChangeSetRequest} requestParameters Request parameters.
|
|
817
859
|
* @param {*} [options] Override http request option.
|
|
818
860
|
* @throws {RequiredError}
|
|
@@ -823,6 +865,7 @@ class ChangeSetsApi extends base_1.BaseAPI {
|
|
|
823
865
|
}
|
|
824
866
|
/**
|
|
825
867
|
*
|
|
868
|
+
* @summary Merge Change Set without approval
|
|
826
869
|
* @param {ChangeSetsApiForceApplyRequest} requestParameters Request parameters.
|
|
827
870
|
* @param {*} [options] Override http request option.
|
|
828
871
|
* @throws {RequiredError}
|
|
@@ -833,6 +876,7 @@ class ChangeSetsApi extends base_1.BaseAPI {
|
|
|
833
876
|
}
|
|
834
877
|
/**
|
|
835
878
|
*
|
|
879
|
+
* @summary Get a Change Set by Change Set Id
|
|
836
880
|
* @param {ChangeSetsApiGetChangeSetRequest} requestParameters Request parameters.
|
|
837
881
|
* @param {*} [options] Override http request option.
|
|
838
882
|
* @throws {RequiredError}
|
|
@@ -843,6 +887,7 @@ class ChangeSetsApi extends base_1.BaseAPI {
|
|
|
843
887
|
}
|
|
844
888
|
/**
|
|
845
889
|
*
|
|
890
|
+
* @summary List all active Change Sets
|
|
846
891
|
* @param {ChangeSetsApiListChangeSetsRequest} requestParameters Request parameters.
|
|
847
892
|
* @param {*} [options] Override http request option.
|
|
848
893
|
* @throws {RequiredError}
|
|
@@ -853,6 +898,7 @@ class ChangeSetsApi extends base_1.BaseAPI {
|
|
|
853
898
|
}
|
|
854
899
|
/**
|
|
855
900
|
*
|
|
901
|
+
* @summary Get Change Set post merge status
|
|
856
902
|
* @param {ChangeSetsApiMergeStatusRequest} requestParameters Request parameters.
|
|
857
903
|
* @param {*} [options] Override http request option.
|
|
858
904
|
* @throws {RequiredError}
|
|
@@ -863,6 +909,7 @@ class ChangeSetsApi extends base_1.BaseAPI {
|
|
|
863
909
|
}
|
|
864
910
|
/**
|
|
865
911
|
*
|
|
912
|
+
* @summary Abandon all active Change Sets
|
|
866
913
|
* @param {ChangeSetsApiPurgeOpenRequest} requestParameters Request parameters.
|
|
867
914
|
* @param {*} [options] Override http request option.
|
|
868
915
|
* @throws {RequiredError}
|
|
@@ -873,6 +920,7 @@ class ChangeSetsApi extends base_1.BaseAPI {
|
|
|
873
920
|
}
|
|
874
921
|
/**
|
|
875
922
|
*
|
|
923
|
+
* @summary Request Change Set merge approval
|
|
876
924
|
* @param {ChangeSetsApiRequestApprovalRequest} requestParameters Request parameters.
|
|
877
925
|
* @param {*} [options] Override http request option.
|
|
878
926
|
* @throws {RequiredError}
|
|
@@ -891,8 +939,9 @@ const ComponentsApiAxiosParamCreator = function (configuration) {
|
|
|
891
939
|
return {
|
|
892
940
|
/**
|
|
893
941
|
*
|
|
942
|
+
* @summary Queue action for a component
|
|
894
943
|
* @param {string} workspaceId Workspace identifier
|
|
895
|
-
* @param {string} changeSetId Change
|
|
944
|
+
* @param {string} changeSetId Change Set identifier
|
|
896
945
|
* @param {string} componentId Component identifier
|
|
897
946
|
* @param {AddActionV1Request} addActionV1Request
|
|
898
947
|
* @param {*} [options] Override http request option.
|
|
@@ -932,8 +981,9 @@ const ComponentsApiAxiosParamCreator = function (configuration) {
|
|
|
932
981
|
},
|
|
933
982
|
/**
|
|
934
983
|
*
|
|
984
|
+
* @summary Create a component
|
|
935
985
|
* @param {string} workspaceId Workspace identifier
|
|
936
|
-
* @param {string} changeSetId Change
|
|
986
|
+
* @param {string} changeSetId Change Set identifier
|
|
937
987
|
* @param {CreateComponentV1Request} createComponentV1Request
|
|
938
988
|
* @param {*} [options] Override http request option.
|
|
939
989
|
* @throws {RequiredError}
|
|
@@ -969,8 +1019,9 @@ const ComponentsApiAxiosParamCreator = function (configuration) {
|
|
|
969
1019
|
},
|
|
970
1020
|
/**
|
|
971
1021
|
*
|
|
1022
|
+
* @summary Delete a component
|
|
972
1023
|
* @param {string} workspaceId Workspace identifier
|
|
973
|
-
* @param {string} changeSetId Change
|
|
1024
|
+
* @param {string} changeSetId Change Set identifier
|
|
974
1025
|
* @param {string} componentId Component identifier
|
|
975
1026
|
* @param {*} [options] Override http request option.
|
|
976
1027
|
* @throws {RequiredError}
|
|
@@ -1005,8 +1056,9 @@ const ComponentsApiAxiosParamCreator = function (configuration) {
|
|
|
1005
1056
|
},
|
|
1006
1057
|
/**
|
|
1007
1058
|
*
|
|
1059
|
+
* @summary Execute a component\'s management function
|
|
1008
1060
|
* @param {string} workspaceId Workspace identifier
|
|
1009
|
-
* @param {string} changeSetId Change
|
|
1061
|
+
* @param {string} changeSetId Change Set identifier
|
|
1010
1062
|
* @param {string} componentId Component identifier
|
|
1011
1063
|
* @param {ExecuteManagementFunctionV1Request} executeManagementFunctionV1Request
|
|
1012
1064
|
* @param {*} [options] Override http request option.
|
|
@@ -1046,8 +1098,9 @@ const ComponentsApiAxiosParamCreator = function (configuration) {
|
|
|
1046
1098
|
},
|
|
1047
1099
|
/**
|
|
1048
1100
|
*
|
|
1101
|
+
* @summary Find a component by name or component Id
|
|
1049
1102
|
* @param {string} workspaceId Workspace identifier
|
|
1050
|
-
* @param {string} changeSetId Change
|
|
1103
|
+
* @param {string} changeSetId Change Set identifier
|
|
1051
1104
|
* @param {string | null} [component]
|
|
1052
1105
|
* @param {string | null} [componentId]
|
|
1053
1106
|
* @param {*} [options] Override http request option.
|
|
@@ -1086,8 +1139,9 @@ const ComponentsApiAxiosParamCreator = function (configuration) {
|
|
|
1086
1139
|
},
|
|
1087
1140
|
/**
|
|
1088
1141
|
*
|
|
1142
|
+
* @summary Get a component by component Id
|
|
1089
1143
|
* @param {string} workspaceId Workspace identifier
|
|
1090
|
-
* @param {string} changeSetId Change
|
|
1144
|
+
* @param {string} changeSetId Change Set identifier
|
|
1091
1145
|
* @param {string} componentId Component identifier
|
|
1092
1146
|
* @param {*} [options] Override http request option.
|
|
1093
1147
|
* @throws {RequiredError}
|
|
@@ -1122,8 +1176,9 @@ const ComponentsApiAxiosParamCreator = function (configuration) {
|
|
|
1122
1176
|
},
|
|
1123
1177
|
/**
|
|
1124
1178
|
*
|
|
1179
|
+
* @summary List all components
|
|
1125
1180
|
* @param {string} workspaceId Workspace identifier
|
|
1126
|
-
* @param {string} changeSetId Change
|
|
1181
|
+
* @param {string} changeSetId Change Set identifier
|
|
1127
1182
|
* @param {string} [limit] Maximum number of results to return (default: 50, max: 300)
|
|
1128
1183
|
* @param {string} [cursor] Cursor for pagination (ComponentId of the last item from previous page)
|
|
1129
1184
|
* @param {*} [options] Override http request option.
|
|
@@ -1162,8 +1217,89 @@ const ComponentsApiAxiosParamCreator = function (configuration) {
|
|
|
1162
1217
|
},
|
|
1163
1218
|
/**
|
|
1164
1219
|
*
|
|
1220
|
+
* @summary Putting a component under the management of another component
|
|
1165
1221
|
* @param {string} workspaceId Workspace identifier
|
|
1166
|
-
* @param {string} changeSetId Change
|
|
1222
|
+
* @param {string} changeSetId Change Set identifier
|
|
1223
|
+
* @param {string} componentId Component identifier
|
|
1224
|
+
* @param {ManageComponentV1Request} manageComponentV1Request
|
|
1225
|
+
* @param {*} [options] Override http request option.
|
|
1226
|
+
* @throws {RequiredError}
|
|
1227
|
+
*/
|
|
1228
|
+
manageComponent: async (workspaceId, changeSetId, componentId, manageComponentV1Request, options = {}) => {
|
|
1229
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1230
|
+
(0, common_1.assertParamExists)('manageComponent', 'workspaceId', workspaceId);
|
|
1231
|
+
// verify required parameter 'changeSetId' is not null or undefined
|
|
1232
|
+
(0, common_1.assertParamExists)('manageComponent', 'changeSetId', changeSetId);
|
|
1233
|
+
// verify required parameter 'componentId' is not null or undefined
|
|
1234
|
+
(0, common_1.assertParamExists)('manageComponent', 'componentId', componentId);
|
|
1235
|
+
// verify required parameter 'manageComponentV1Request' is not null or undefined
|
|
1236
|
+
(0, common_1.assertParamExists)('manageComponent', 'manageComponentV1Request', manageComponentV1Request);
|
|
1237
|
+
const localVarPath = `/v1/w/{workspace_id}/change-sets/{change_set_id}/components/{component_id}/manage`
|
|
1238
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
1239
|
+
.replace(`{${"change_set_id"}}`, encodeURIComponent(String(changeSetId)))
|
|
1240
|
+
.replace(`{${"component_id"}}`, encodeURIComponent(String(componentId)));
|
|
1241
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1242
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1243
|
+
let baseOptions;
|
|
1244
|
+
if (configuration) {
|
|
1245
|
+
baseOptions = configuration.baseOptions;
|
|
1246
|
+
}
|
|
1247
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1248
|
+
const localVarHeaderParameter = {};
|
|
1249
|
+
const localVarQueryParameter = {};
|
|
1250
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1251
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1252
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1253
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1254
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(manageComponentV1Request, localVarRequestOptions, configuration);
|
|
1255
|
+
return {
|
|
1256
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1257
|
+
options: localVarRequestOptions,
|
|
1258
|
+
};
|
|
1259
|
+
},
|
|
1260
|
+
/**
|
|
1261
|
+
*
|
|
1262
|
+
* @summary Complex search for components
|
|
1263
|
+
* @param {string} workspaceId Workspace identifier
|
|
1264
|
+
* @param {string} changeSetId Change Set identifier
|
|
1265
|
+
* @param {SearchComponentsV1Request} searchComponentsV1Request
|
|
1266
|
+
* @param {*} [options] Override http request option.
|
|
1267
|
+
* @throws {RequiredError}
|
|
1268
|
+
*/
|
|
1269
|
+
searchComponents: async (workspaceId, changeSetId, searchComponentsV1Request, options = {}) => {
|
|
1270
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1271
|
+
(0, common_1.assertParamExists)('searchComponents', 'workspaceId', workspaceId);
|
|
1272
|
+
// verify required parameter 'changeSetId' is not null or undefined
|
|
1273
|
+
(0, common_1.assertParamExists)('searchComponents', 'changeSetId', changeSetId);
|
|
1274
|
+
// verify required parameter 'searchComponentsV1Request' is not null or undefined
|
|
1275
|
+
(0, common_1.assertParamExists)('searchComponents', 'searchComponentsV1Request', searchComponentsV1Request);
|
|
1276
|
+
const localVarPath = `/v1/w/{workspace_id}/change-sets/{change_set_id}/components/search`
|
|
1277
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
1278
|
+
.replace(`{${"change_set_id"}}`, encodeURIComponent(String(changeSetId)));
|
|
1279
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1280
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1281
|
+
let baseOptions;
|
|
1282
|
+
if (configuration) {
|
|
1283
|
+
baseOptions = configuration.baseOptions;
|
|
1284
|
+
}
|
|
1285
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1286
|
+
const localVarHeaderParameter = {};
|
|
1287
|
+
const localVarQueryParameter = {};
|
|
1288
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1289
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1290
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1291
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1292
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(searchComponentsV1Request, localVarRequestOptions, configuration);
|
|
1293
|
+
return {
|
|
1294
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1295
|
+
options: localVarRequestOptions,
|
|
1296
|
+
};
|
|
1297
|
+
},
|
|
1298
|
+
/**
|
|
1299
|
+
*
|
|
1300
|
+
* @summary Update a component
|
|
1301
|
+
* @param {string} workspaceId Workspace identifier
|
|
1302
|
+
* @param {string} changeSetId Change Set identifier
|
|
1167
1303
|
* @param {string} componentId Component identifier
|
|
1168
1304
|
* @param {UpdateComponentV1Request} updateComponentV1Request
|
|
1169
1305
|
* @param {*} [options] Override http request option.
|
|
@@ -1213,8 +1349,9 @@ const ComponentsApiFp = function (configuration) {
|
|
|
1213
1349
|
return {
|
|
1214
1350
|
/**
|
|
1215
1351
|
*
|
|
1352
|
+
* @summary Queue action for a component
|
|
1216
1353
|
* @param {string} workspaceId Workspace identifier
|
|
1217
|
-
* @param {string} changeSetId Change
|
|
1354
|
+
* @param {string} changeSetId Change Set identifier
|
|
1218
1355
|
* @param {string} componentId Component identifier
|
|
1219
1356
|
* @param {AddActionV1Request} addActionV1Request
|
|
1220
1357
|
* @param {*} [options] Override http request option.
|
|
@@ -1228,8 +1365,9 @@ const ComponentsApiFp = function (configuration) {
|
|
|
1228
1365
|
},
|
|
1229
1366
|
/**
|
|
1230
1367
|
*
|
|
1368
|
+
* @summary Create a component
|
|
1231
1369
|
* @param {string} workspaceId Workspace identifier
|
|
1232
|
-
* @param {string} changeSetId Change
|
|
1370
|
+
* @param {string} changeSetId Change Set identifier
|
|
1233
1371
|
* @param {CreateComponentV1Request} createComponentV1Request
|
|
1234
1372
|
* @param {*} [options] Override http request option.
|
|
1235
1373
|
* @throws {RequiredError}
|
|
@@ -1242,8 +1380,9 @@ const ComponentsApiFp = function (configuration) {
|
|
|
1242
1380
|
},
|
|
1243
1381
|
/**
|
|
1244
1382
|
*
|
|
1383
|
+
* @summary Delete a component
|
|
1245
1384
|
* @param {string} workspaceId Workspace identifier
|
|
1246
|
-
* @param {string} changeSetId Change
|
|
1385
|
+
* @param {string} changeSetId Change Set identifier
|
|
1247
1386
|
* @param {string} componentId Component identifier
|
|
1248
1387
|
* @param {*} [options] Override http request option.
|
|
1249
1388
|
* @throws {RequiredError}
|
|
@@ -1256,8 +1395,9 @@ const ComponentsApiFp = function (configuration) {
|
|
|
1256
1395
|
},
|
|
1257
1396
|
/**
|
|
1258
1397
|
*
|
|
1398
|
+
* @summary Execute a component\'s management function
|
|
1259
1399
|
* @param {string} workspaceId Workspace identifier
|
|
1260
|
-
* @param {string} changeSetId Change
|
|
1400
|
+
* @param {string} changeSetId Change Set identifier
|
|
1261
1401
|
* @param {string} componentId Component identifier
|
|
1262
1402
|
* @param {ExecuteManagementFunctionV1Request} executeManagementFunctionV1Request
|
|
1263
1403
|
* @param {*} [options] Override http request option.
|
|
@@ -1271,8 +1411,9 @@ const ComponentsApiFp = function (configuration) {
|
|
|
1271
1411
|
},
|
|
1272
1412
|
/**
|
|
1273
1413
|
*
|
|
1414
|
+
* @summary Find a component by name or component Id
|
|
1274
1415
|
* @param {string} workspaceId Workspace identifier
|
|
1275
|
-
* @param {string} changeSetId Change
|
|
1416
|
+
* @param {string} changeSetId Change Set identifier
|
|
1276
1417
|
* @param {string | null} [component]
|
|
1277
1418
|
* @param {string | null} [componentId]
|
|
1278
1419
|
* @param {*} [options] Override http request option.
|
|
@@ -1286,8 +1427,9 @@ const ComponentsApiFp = function (configuration) {
|
|
|
1286
1427
|
},
|
|
1287
1428
|
/**
|
|
1288
1429
|
*
|
|
1430
|
+
* @summary Get a component by component Id
|
|
1289
1431
|
* @param {string} workspaceId Workspace identifier
|
|
1290
|
-
* @param {string} changeSetId Change
|
|
1432
|
+
* @param {string} changeSetId Change Set identifier
|
|
1291
1433
|
* @param {string} componentId Component identifier
|
|
1292
1434
|
* @param {*} [options] Override http request option.
|
|
1293
1435
|
* @throws {RequiredError}
|
|
@@ -1300,8 +1442,9 @@ const ComponentsApiFp = function (configuration) {
|
|
|
1300
1442
|
},
|
|
1301
1443
|
/**
|
|
1302
1444
|
*
|
|
1445
|
+
* @summary List all components
|
|
1303
1446
|
* @param {string} workspaceId Workspace identifier
|
|
1304
|
-
* @param {string} changeSetId Change
|
|
1447
|
+
* @param {string} changeSetId Change Set identifier
|
|
1305
1448
|
* @param {string} [limit] Maximum number of results to return (default: 50, max: 300)
|
|
1306
1449
|
* @param {string} [cursor] Cursor for pagination (ComponentId of the last item from previous page)
|
|
1307
1450
|
* @param {*} [options] Override http request option.
|
|
@@ -1315,8 +1458,40 @@ const ComponentsApiFp = function (configuration) {
|
|
|
1315
1458
|
},
|
|
1316
1459
|
/**
|
|
1317
1460
|
*
|
|
1461
|
+
* @summary Putting a component under the management of another component
|
|
1318
1462
|
* @param {string} workspaceId Workspace identifier
|
|
1319
|
-
* @param {string} changeSetId Change
|
|
1463
|
+
* @param {string} changeSetId Change Set identifier
|
|
1464
|
+
* @param {string} componentId Component identifier
|
|
1465
|
+
* @param {ManageComponentV1Request} manageComponentV1Request
|
|
1466
|
+
* @param {*} [options] Override http request option.
|
|
1467
|
+
* @throws {RequiredError}
|
|
1468
|
+
*/
|
|
1469
|
+
async manageComponent(workspaceId, changeSetId, componentId, manageComponentV1Request, options) {
|
|
1470
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.manageComponent(workspaceId, changeSetId, componentId, manageComponentV1Request, options);
|
|
1471
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1472
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ComponentsApi.manageComponent']?.[localVarOperationServerIndex]?.url;
|
|
1473
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1474
|
+
},
|
|
1475
|
+
/**
|
|
1476
|
+
*
|
|
1477
|
+
* @summary Complex search for components
|
|
1478
|
+
* @param {string} workspaceId Workspace identifier
|
|
1479
|
+
* @param {string} changeSetId Change Set identifier
|
|
1480
|
+
* @param {SearchComponentsV1Request} searchComponentsV1Request
|
|
1481
|
+
* @param {*} [options] Override http request option.
|
|
1482
|
+
* @throws {RequiredError}
|
|
1483
|
+
*/
|
|
1484
|
+
async searchComponents(workspaceId, changeSetId, searchComponentsV1Request, options) {
|
|
1485
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchComponents(workspaceId, changeSetId, searchComponentsV1Request, options);
|
|
1486
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1487
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ComponentsApi.searchComponents']?.[localVarOperationServerIndex]?.url;
|
|
1488
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1489
|
+
},
|
|
1490
|
+
/**
|
|
1491
|
+
*
|
|
1492
|
+
* @summary Update a component
|
|
1493
|
+
* @param {string} workspaceId Workspace identifier
|
|
1494
|
+
* @param {string} changeSetId Change Set identifier
|
|
1320
1495
|
* @param {string} componentId Component identifier
|
|
1321
1496
|
* @param {UpdateComponentV1Request} updateComponentV1Request
|
|
1322
1497
|
* @param {*} [options] Override http request option.
|
|
@@ -1340,6 +1515,7 @@ const ComponentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1340
1515
|
return {
|
|
1341
1516
|
/**
|
|
1342
1517
|
*
|
|
1518
|
+
* @summary Queue action for a component
|
|
1343
1519
|
* @param {ComponentsApiAddActionRequest} requestParameters Request parameters.
|
|
1344
1520
|
* @param {*} [options] Override http request option.
|
|
1345
1521
|
* @throws {RequiredError}
|
|
@@ -1349,6 +1525,7 @@ const ComponentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1349
1525
|
},
|
|
1350
1526
|
/**
|
|
1351
1527
|
*
|
|
1528
|
+
* @summary Create a component
|
|
1352
1529
|
* @param {ComponentsApiCreateComponentRequest} requestParameters Request parameters.
|
|
1353
1530
|
* @param {*} [options] Override http request option.
|
|
1354
1531
|
* @throws {RequiredError}
|
|
@@ -1358,6 +1535,7 @@ const ComponentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1358
1535
|
},
|
|
1359
1536
|
/**
|
|
1360
1537
|
*
|
|
1538
|
+
* @summary Delete a component
|
|
1361
1539
|
* @param {ComponentsApiDeleteComponentRequest} requestParameters Request parameters.
|
|
1362
1540
|
* @param {*} [options] Override http request option.
|
|
1363
1541
|
* @throws {RequiredError}
|
|
@@ -1367,6 +1545,7 @@ const ComponentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1367
1545
|
},
|
|
1368
1546
|
/**
|
|
1369
1547
|
*
|
|
1548
|
+
* @summary Execute a component\'s management function
|
|
1370
1549
|
* @param {ComponentsApiExecuteManagementFunctionRequest} requestParameters Request parameters.
|
|
1371
1550
|
* @param {*} [options] Override http request option.
|
|
1372
1551
|
* @throws {RequiredError}
|
|
@@ -1376,6 +1555,7 @@ const ComponentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1376
1555
|
},
|
|
1377
1556
|
/**
|
|
1378
1557
|
*
|
|
1558
|
+
* @summary Find a component by name or component Id
|
|
1379
1559
|
* @param {ComponentsApiFindComponentRequest} requestParameters Request parameters.
|
|
1380
1560
|
* @param {*} [options] Override http request option.
|
|
1381
1561
|
* @throws {RequiredError}
|
|
@@ -1385,6 +1565,7 @@ const ComponentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1385
1565
|
},
|
|
1386
1566
|
/**
|
|
1387
1567
|
*
|
|
1568
|
+
* @summary Get a component by component Id
|
|
1388
1569
|
* @param {ComponentsApiGetComponentRequest} requestParameters Request parameters.
|
|
1389
1570
|
* @param {*} [options] Override http request option.
|
|
1390
1571
|
* @throws {RequiredError}
|
|
@@ -1394,6 +1575,7 @@ const ComponentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1394
1575
|
},
|
|
1395
1576
|
/**
|
|
1396
1577
|
*
|
|
1578
|
+
* @summary List all components
|
|
1397
1579
|
* @param {ComponentsApiListComponentsRequest} requestParameters Request parameters.
|
|
1398
1580
|
* @param {*} [options] Override http request option.
|
|
1399
1581
|
* @throws {RequiredError}
|
|
@@ -1403,6 +1585,27 @@ const ComponentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1403
1585
|
},
|
|
1404
1586
|
/**
|
|
1405
1587
|
*
|
|
1588
|
+
* @summary Putting a component under the management of another component
|
|
1589
|
+
* @param {ComponentsApiManageComponentRequest} requestParameters Request parameters.
|
|
1590
|
+
* @param {*} [options] Override http request option.
|
|
1591
|
+
* @throws {RequiredError}
|
|
1592
|
+
*/
|
|
1593
|
+
manageComponent(requestParameters, options) {
|
|
1594
|
+
return localVarFp.manageComponent(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.componentId, requestParameters.manageComponentV1Request, options).then((request) => request(axios, basePath));
|
|
1595
|
+
},
|
|
1596
|
+
/**
|
|
1597
|
+
*
|
|
1598
|
+
* @summary Complex search for components
|
|
1599
|
+
* @param {ComponentsApiSearchComponentsRequest} requestParameters Request parameters.
|
|
1600
|
+
* @param {*} [options] Override http request option.
|
|
1601
|
+
* @throws {RequiredError}
|
|
1602
|
+
*/
|
|
1603
|
+
searchComponents(requestParameters, options) {
|
|
1604
|
+
return localVarFp.searchComponents(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.searchComponentsV1Request, options).then((request) => request(axios, basePath));
|
|
1605
|
+
},
|
|
1606
|
+
/**
|
|
1607
|
+
*
|
|
1608
|
+
* @summary Update a component
|
|
1406
1609
|
* @param {ComponentsApiUpdateComponentRequest} requestParameters Request parameters.
|
|
1407
1610
|
* @param {*} [options] Override http request option.
|
|
1408
1611
|
* @throws {RequiredError}
|
|
@@ -1422,6 +1625,7 @@ exports.ComponentsApiFactory = ComponentsApiFactory;
|
|
|
1422
1625
|
class ComponentsApi extends base_1.BaseAPI {
|
|
1423
1626
|
/**
|
|
1424
1627
|
*
|
|
1628
|
+
* @summary Queue action for a component
|
|
1425
1629
|
* @param {ComponentsApiAddActionRequest} requestParameters Request parameters.
|
|
1426
1630
|
* @param {*} [options] Override http request option.
|
|
1427
1631
|
* @throws {RequiredError}
|
|
@@ -1432,6 +1636,7 @@ class ComponentsApi extends base_1.BaseAPI {
|
|
|
1432
1636
|
}
|
|
1433
1637
|
/**
|
|
1434
1638
|
*
|
|
1639
|
+
* @summary Create a component
|
|
1435
1640
|
* @param {ComponentsApiCreateComponentRequest} requestParameters Request parameters.
|
|
1436
1641
|
* @param {*} [options] Override http request option.
|
|
1437
1642
|
* @throws {RequiredError}
|
|
@@ -1442,6 +1647,7 @@ class ComponentsApi extends base_1.BaseAPI {
|
|
|
1442
1647
|
}
|
|
1443
1648
|
/**
|
|
1444
1649
|
*
|
|
1650
|
+
* @summary Delete a component
|
|
1445
1651
|
* @param {ComponentsApiDeleteComponentRequest} requestParameters Request parameters.
|
|
1446
1652
|
* @param {*} [options] Override http request option.
|
|
1447
1653
|
* @throws {RequiredError}
|
|
@@ -1452,6 +1658,7 @@ class ComponentsApi extends base_1.BaseAPI {
|
|
|
1452
1658
|
}
|
|
1453
1659
|
/**
|
|
1454
1660
|
*
|
|
1661
|
+
* @summary Execute a component\'s management function
|
|
1455
1662
|
* @param {ComponentsApiExecuteManagementFunctionRequest} requestParameters Request parameters.
|
|
1456
1663
|
* @param {*} [options] Override http request option.
|
|
1457
1664
|
* @throws {RequiredError}
|
|
@@ -1462,6 +1669,7 @@ class ComponentsApi extends base_1.BaseAPI {
|
|
|
1462
1669
|
}
|
|
1463
1670
|
/**
|
|
1464
1671
|
*
|
|
1672
|
+
* @summary Find a component by name or component Id
|
|
1465
1673
|
* @param {ComponentsApiFindComponentRequest} requestParameters Request parameters.
|
|
1466
1674
|
* @param {*} [options] Override http request option.
|
|
1467
1675
|
* @throws {RequiredError}
|
|
@@ -1472,6 +1680,7 @@ class ComponentsApi extends base_1.BaseAPI {
|
|
|
1472
1680
|
}
|
|
1473
1681
|
/**
|
|
1474
1682
|
*
|
|
1683
|
+
* @summary Get a component by component Id
|
|
1475
1684
|
* @param {ComponentsApiGetComponentRequest} requestParameters Request parameters.
|
|
1476
1685
|
* @param {*} [options] Override http request option.
|
|
1477
1686
|
* @throws {RequiredError}
|
|
@@ -1482,6 +1691,7 @@ class ComponentsApi extends base_1.BaseAPI {
|
|
|
1482
1691
|
}
|
|
1483
1692
|
/**
|
|
1484
1693
|
*
|
|
1694
|
+
* @summary List all components
|
|
1485
1695
|
* @param {ComponentsApiListComponentsRequest} requestParameters Request parameters.
|
|
1486
1696
|
* @param {*} [options] Override http request option.
|
|
1487
1697
|
* @throws {RequiredError}
|
|
@@ -1492,6 +1702,29 @@ class ComponentsApi extends base_1.BaseAPI {
|
|
|
1492
1702
|
}
|
|
1493
1703
|
/**
|
|
1494
1704
|
*
|
|
1705
|
+
* @summary Putting a component under the management of another component
|
|
1706
|
+
* @param {ComponentsApiManageComponentRequest} requestParameters Request parameters.
|
|
1707
|
+
* @param {*} [options] Override http request option.
|
|
1708
|
+
* @throws {RequiredError}
|
|
1709
|
+
* @memberof ComponentsApi
|
|
1710
|
+
*/
|
|
1711
|
+
manageComponent(requestParameters, options) {
|
|
1712
|
+
return (0, exports.ComponentsApiFp)(this.configuration).manageComponent(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.componentId, requestParameters.manageComponentV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
1713
|
+
}
|
|
1714
|
+
/**
|
|
1715
|
+
*
|
|
1716
|
+
* @summary Complex search for components
|
|
1717
|
+
* @param {ComponentsApiSearchComponentsRequest} requestParameters Request parameters.
|
|
1718
|
+
* @param {*} [options] Override http request option.
|
|
1719
|
+
* @throws {RequiredError}
|
|
1720
|
+
* @memberof ComponentsApi
|
|
1721
|
+
*/
|
|
1722
|
+
searchComponents(requestParameters, options) {
|
|
1723
|
+
return (0, exports.ComponentsApiFp)(this.configuration).searchComponents(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.searchComponentsV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
1724
|
+
}
|
|
1725
|
+
/**
|
|
1726
|
+
*
|
|
1727
|
+
* @summary Update a component
|
|
1495
1728
|
* @param {ComponentsApiUpdateComponentRequest} requestParameters Request parameters.
|
|
1496
1729
|
* @param {*} [options] Override http request option.
|
|
1497
1730
|
* @throws {RequiredError}
|
|
@@ -1510,8 +1743,9 @@ const FuncsApiAxiosParamCreator = function (configuration) {
|
|
|
1510
1743
|
return {
|
|
1511
1744
|
/**
|
|
1512
1745
|
*
|
|
1746
|
+
* @summary Get function details
|
|
1513
1747
|
* @param {string} workspaceId Workspace identifier
|
|
1514
|
-
* @param {string} changeSetId Change
|
|
1748
|
+
* @param {string} changeSetId Change Set identifier
|
|
1515
1749
|
* @param {string} funcId Func identifier
|
|
1516
1750
|
* @param {*} [options] Override http request option.
|
|
1517
1751
|
* @throws {RequiredError}
|
|
@@ -1546,8 +1780,9 @@ const FuncsApiAxiosParamCreator = function (configuration) {
|
|
|
1546
1780
|
},
|
|
1547
1781
|
/**
|
|
1548
1782
|
*
|
|
1783
|
+
* @summary Get func execution run logs
|
|
1549
1784
|
* @param {string} workspaceId Workspace identifier
|
|
1550
|
-
* @param {string} changeSetId Change
|
|
1785
|
+
* @param {string} changeSetId Change Set identifier
|
|
1551
1786
|
* @param {string} funcRunId Func run identifier
|
|
1552
1787
|
* @param {*} [options] Override http request option.
|
|
1553
1788
|
* @throws {RequiredError}
|
|
@@ -1592,8 +1827,9 @@ const FuncsApiFp = function (configuration) {
|
|
|
1592
1827
|
return {
|
|
1593
1828
|
/**
|
|
1594
1829
|
*
|
|
1830
|
+
* @summary Get function details
|
|
1595
1831
|
* @param {string} workspaceId Workspace identifier
|
|
1596
|
-
* @param {string} changeSetId Change
|
|
1832
|
+
* @param {string} changeSetId Change Set identifier
|
|
1597
1833
|
* @param {string} funcId Func identifier
|
|
1598
1834
|
* @param {*} [options] Override http request option.
|
|
1599
1835
|
* @throws {RequiredError}
|
|
@@ -1606,8 +1842,9 @@ const FuncsApiFp = function (configuration) {
|
|
|
1606
1842
|
},
|
|
1607
1843
|
/**
|
|
1608
1844
|
*
|
|
1845
|
+
* @summary Get func execution run logs
|
|
1609
1846
|
* @param {string} workspaceId Workspace identifier
|
|
1610
|
-
* @param {string} changeSetId Change
|
|
1847
|
+
* @param {string} changeSetId Change Set identifier
|
|
1611
1848
|
* @param {string} funcRunId Func run identifier
|
|
1612
1849
|
* @param {*} [options] Override http request option.
|
|
1613
1850
|
* @throws {RequiredError}
|
|
@@ -1630,6 +1867,7 @@ const FuncsApiFactory = function (configuration, basePath, axios) {
|
|
|
1630
1867
|
return {
|
|
1631
1868
|
/**
|
|
1632
1869
|
*
|
|
1870
|
+
* @summary Get function details
|
|
1633
1871
|
* @param {FuncsApiGetFuncRequest} requestParameters Request parameters.
|
|
1634
1872
|
* @param {*} [options] Override http request option.
|
|
1635
1873
|
* @throws {RequiredError}
|
|
@@ -1639,6 +1877,7 @@ const FuncsApiFactory = function (configuration, basePath, axios) {
|
|
|
1639
1877
|
},
|
|
1640
1878
|
/**
|
|
1641
1879
|
*
|
|
1880
|
+
* @summary Get func execution run logs
|
|
1642
1881
|
* @param {FuncsApiGetFuncRunRequest} requestParameters Request parameters.
|
|
1643
1882
|
* @param {*} [options] Override http request option.
|
|
1644
1883
|
* @throws {RequiredError}
|
|
@@ -1658,6 +1897,7 @@ exports.FuncsApiFactory = FuncsApiFactory;
|
|
|
1658
1897
|
class FuncsApi extends base_1.BaseAPI {
|
|
1659
1898
|
/**
|
|
1660
1899
|
*
|
|
1900
|
+
* @summary Get function details
|
|
1661
1901
|
* @param {FuncsApiGetFuncRequest} requestParameters Request parameters.
|
|
1662
1902
|
* @param {*} [options] Override http request option.
|
|
1663
1903
|
* @throws {RequiredError}
|
|
@@ -1668,6 +1908,7 @@ class FuncsApi extends base_1.BaseAPI {
|
|
|
1668
1908
|
}
|
|
1669
1909
|
/**
|
|
1670
1910
|
*
|
|
1911
|
+
* @summary Get func execution run logs
|
|
1671
1912
|
* @param {FuncsApiGetFuncRunRequest} requestParameters Request parameters.
|
|
1672
1913
|
* @param {*} [options] Override http request option.
|
|
1673
1914
|
* @throws {RequiredError}
|
|
@@ -1678,6 +1919,117 @@ class FuncsApi extends base_1.BaseAPI {
|
|
|
1678
1919
|
}
|
|
1679
1920
|
}
|
|
1680
1921
|
exports.FuncsApi = FuncsApi;
|
|
1922
|
+
/**
|
|
1923
|
+
* ManagementFuncsApi - axios parameter creator
|
|
1924
|
+
* @export
|
|
1925
|
+
*/
|
|
1926
|
+
const ManagementFuncsApiAxiosParamCreator = function (configuration) {
|
|
1927
|
+
return {
|
|
1928
|
+
/**
|
|
1929
|
+
*
|
|
1930
|
+
* @summary Get management funcs job state details
|
|
1931
|
+
* @param {string} workspaceId Workspace identifier
|
|
1932
|
+
* @param {string} changeSetId Change Set identifier
|
|
1933
|
+
* @param {string} managementFuncJobStateId Management Func Job identifier
|
|
1934
|
+
* @param {*} [options] Override http request option.
|
|
1935
|
+
* @throws {RequiredError}
|
|
1936
|
+
*/
|
|
1937
|
+
getManagementFuncRunState: async (workspaceId, changeSetId, managementFuncJobStateId, options = {}) => {
|
|
1938
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1939
|
+
(0, common_1.assertParamExists)('getManagementFuncRunState', 'workspaceId', workspaceId);
|
|
1940
|
+
// verify required parameter 'changeSetId' is not null or undefined
|
|
1941
|
+
(0, common_1.assertParamExists)('getManagementFuncRunState', 'changeSetId', changeSetId);
|
|
1942
|
+
// verify required parameter 'managementFuncJobStateId' is not null or undefined
|
|
1943
|
+
(0, common_1.assertParamExists)('getManagementFuncRunState', 'managementFuncJobStateId', managementFuncJobStateId);
|
|
1944
|
+
const localVarPath = `/v1/w/{workspace_id}/change-sets/{change_set_id}/management-funcs/{management_func_job_state_id}`
|
|
1945
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
1946
|
+
.replace(`{${"change_set_id"}}`, encodeURIComponent(String(changeSetId)))
|
|
1947
|
+
.replace(`{${"management_func_job_state_id"}}`, encodeURIComponent(String(managementFuncJobStateId)));
|
|
1948
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1949
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1950
|
+
let baseOptions;
|
|
1951
|
+
if (configuration) {
|
|
1952
|
+
baseOptions = configuration.baseOptions;
|
|
1953
|
+
}
|
|
1954
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1955
|
+
const localVarHeaderParameter = {};
|
|
1956
|
+
const localVarQueryParameter = {};
|
|
1957
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1958
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1959
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1960
|
+
return {
|
|
1961
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1962
|
+
options: localVarRequestOptions,
|
|
1963
|
+
};
|
|
1964
|
+
},
|
|
1965
|
+
};
|
|
1966
|
+
};
|
|
1967
|
+
exports.ManagementFuncsApiAxiosParamCreator = ManagementFuncsApiAxiosParamCreator;
|
|
1968
|
+
/**
|
|
1969
|
+
* ManagementFuncsApi - functional programming interface
|
|
1970
|
+
* @export
|
|
1971
|
+
*/
|
|
1972
|
+
const ManagementFuncsApiFp = function (configuration) {
|
|
1973
|
+
const localVarAxiosParamCreator = (0, exports.ManagementFuncsApiAxiosParamCreator)(configuration);
|
|
1974
|
+
return {
|
|
1975
|
+
/**
|
|
1976
|
+
*
|
|
1977
|
+
* @summary Get management funcs job state details
|
|
1978
|
+
* @param {string} workspaceId Workspace identifier
|
|
1979
|
+
* @param {string} changeSetId Change Set identifier
|
|
1980
|
+
* @param {string} managementFuncJobStateId Management Func Job identifier
|
|
1981
|
+
* @param {*} [options] Override http request option.
|
|
1982
|
+
* @throws {RequiredError}
|
|
1983
|
+
*/
|
|
1984
|
+
async getManagementFuncRunState(workspaceId, changeSetId, managementFuncJobStateId, options) {
|
|
1985
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getManagementFuncRunState(workspaceId, changeSetId, managementFuncJobStateId, options);
|
|
1986
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1987
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ManagementFuncsApi.getManagementFuncRunState']?.[localVarOperationServerIndex]?.url;
|
|
1988
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1989
|
+
},
|
|
1990
|
+
};
|
|
1991
|
+
};
|
|
1992
|
+
exports.ManagementFuncsApiFp = ManagementFuncsApiFp;
|
|
1993
|
+
/**
|
|
1994
|
+
* ManagementFuncsApi - factory interface
|
|
1995
|
+
* @export
|
|
1996
|
+
*/
|
|
1997
|
+
const ManagementFuncsApiFactory = function (configuration, basePath, axios) {
|
|
1998
|
+
const localVarFp = (0, exports.ManagementFuncsApiFp)(configuration);
|
|
1999
|
+
return {
|
|
2000
|
+
/**
|
|
2001
|
+
*
|
|
2002
|
+
* @summary Get management funcs job state details
|
|
2003
|
+
* @param {ManagementFuncsApiGetManagementFuncRunStateRequest} requestParameters Request parameters.
|
|
2004
|
+
* @param {*} [options] Override http request option.
|
|
2005
|
+
* @throws {RequiredError}
|
|
2006
|
+
*/
|
|
2007
|
+
getManagementFuncRunState(requestParameters, options) {
|
|
2008
|
+
return localVarFp.getManagementFuncRunState(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.managementFuncJobStateId, options).then((request) => request(axios, basePath));
|
|
2009
|
+
},
|
|
2010
|
+
};
|
|
2011
|
+
};
|
|
2012
|
+
exports.ManagementFuncsApiFactory = ManagementFuncsApiFactory;
|
|
2013
|
+
/**
|
|
2014
|
+
* ManagementFuncsApi - object-oriented interface
|
|
2015
|
+
* @export
|
|
2016
|
+
* @class ManagementFuncsApi
|
|
2017
|
+
* @extends {BaseAPI}
|
|
2018
|
+
*/
|
|
2019
|
+
class ManagementFuncsApi extends base_1.BaseAPI {
|
|
2020
|
+
/**
|
|
2021
|
+
*
|
|
2022
|
+
* @summary Get management funcs job state details
|
|
2023
|
+
* @param {ManagementFuncsApiGetManagementFuncRunStateRequest} requestParameters Request parameters.
|
|
2024
|
+
* @param {*} [options] Override http request option.
|
|
2025
|
+
* @throws {RequiredError}
|
|
2026
|
+
* @memberof ManagementFuncsApi
|
|
2027
|
+
*/
|
|
2028
|
+
getManagementFuncRunState(requestParameters, options) {
|
|
2029
|
+
return (0, exports.ManagementFuncsApiFp)(this.configuration).getManagementFuncRunState(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.managementFuncJobStateId, options).then((request) => request(this.axios, this.basePath));
|
|
2030
|
+
}
|
|
2031
|
+
}
|
|
2032
|
+
exports.ManagementFuncsApi = ManagementFuncsApi;
|
|
1681
2033
|
/**
|
|
1682
2034
|
* RootApi - axios parameter creator
|
|
1683
2035
|
* @export
|
|
@@ -1776,8 +2128,9 @@ const SchemasApiAxiosParamCreator = function (configuration) {
|
|
|
1776
2128
|
return {
|
|
1777
2129
|
/**
|
|
1778
2130
|
*
|
|
2131
|
+
* @summary Find schema by name or schema id
|
|
1779
2132
|
* @param {string} workspaceId Workspace identifier
|
|
1780
|
-
* @param {string} changeSetId Change
|
|
2133
|
+
* @param {string} changeSetId Change Set identifier
|
|
1781
2134
|
* @param {string | null} [schema]
|
|
1782
2135
|
* @param {string | null} [schemaId]
|
|
1783
2136
|
* @param {*} [options] Override http request option.
|
|
@@ -1816,27 +2169,24 @@ const SchemasApiAxiosParamCreator = function (configuration) {
|
|
|
1816
2169
|
},
|
|
1817
2170
|
/**
|
|
1818
2171
|
*
|
|
2172
|
+
* @summary Get the default variant for a schema id
|
|
1819
2173
|
* @param {string} workspaceId Workspace identifier
|
|
1820
|
-
* @param {string} changeSetId Change
|
|
2174
|
+
* @param {string} changeSetId Change Set identifier
|
|
1821
2175
|
* @param {string} schemaId Schema identifier
|
|
1822
|
-
* @param {string} schemaVariantId Schema variant identifier
|
|
1823
2176
|
* @param {*} [options] Override http request option.
|
|
1824
2177
|
* @throws {RequiredError}
|
|
1825
2178
|
*/
|
|
1826
|
-
getDefaultVariant: async (workspaceId, changeSetId, schemaId,
|
|
2179
|
+
getDefaultVariant: async (workspaceId, changeSetId, schemaId, options = {}) => {
|
|
1827
2180
|
// verify required parameter 'workspaceId' is not null or undefined
|
|
1828
2181
|
(0, common_1.assertParamExists)('getDefaultVariant', 'workspaceId', workspaceId);
|
|
1829
2182
|
// verify required parameter 'changeSetId' is not null or undefined
|
|
1830
2183
|
(0, common_1.assertParamExists)('getDefaultVariant', 'changeSetId', changeSetId);
|
|
1831
2184
|
// verify required parameter 'schemaId' is not null or undefined
|
|
1832
2185
|
(0, common_1.assertParamExists)('getDefaultVariant', 'schemaId', schemaId);
|
|
1833
|
-
// verify required parameter 'schemaVariantId' is not null or undefined
|
|
1834
|
-
(0, common_1.assertParamExists)('getDefaultVariant', 'schemaVariantId', schemaVariantId);
|
|
1835
2186
|
const localVarPath = `/v1/w/{workspace_id}/change-sets/{change_set_id}/schemas/{schema_id}/variant/default`
|
|
1836
2187
|
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
1837
2188
|
.replace(`{${"change_set_id"}}`, encodeURIComponent(String(changeSetId)))
|
|
1838
|
-
.replace(`{${"schema_id"}}`, encodeURIComponent(String(schemaId)))
|
|
1839
|
-
.replace(`{${"schema_variant_id"}}`, encodeURIComponent(String(schemaVariantId)));
|
|
2189
|
+
.replace(`{${"schema_id"}}`, encodeURIComponent(String(schemaId)));
|
|
1840
2190
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1841
2191
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1842
2192
|
let baseOptions;
|
|
@@ -1856,8 +2206,9 @@ const SchemasApiAxiosParamCreator = function (configuration) {
|
|
|
1856
2206
|
},
|
|
1857
2207
|
/**
|
|
1858
2208
|
*
|
|
2209
|
+
* @summary Get a schema by schema id
|
|
1859
2210
|
* @param {string} workspaceId Workspace identifier
|
|
1860
|
-
* @param {string} changeSetId Change
|
|
2211
|
+
* @param {string} changeSetId Change Set identifier
|
|
1861
2212
|
* @param {string} schemaId Schema identifier
|
|
1862
2213
|
* @param {*} [options] Override http request option.
|
|
1863
2214
|
* @throws {RequiredError}
|
|
@@ -1892,8 +2243,9 @@ const SchemasApiAxiosParamCreator = function (configuration) {
|
|
|
1892
2243
|
},
|
|
1893
2244
|
/**
|
|
1894
2245
|
*
|
|
2246
|
+
* @summary Get a schema variant by schema id and schema variant id
|
|
1895
2247
|
* @param {string} workspaceId Workspace identifier
|
|
1896
|
-
* @param {string} changeSetId Change
|
|
2248
|
+
* @param {string} changeSetId Change Set identifier
|
|
1897
2249
|
* @param {string} schemaId Schema identifier
|
|
1898
2250
|
* @param {string} schemaVariantId Schema variant identifier
|
|
1899
2251
|
* @param {*} [options] Override http request option.
|
|
@@ -1932,8 +2284,9 @@ const SchemasApiAxiosParamCreator = function (configuration) {
|
|
|
1932
2284
|
},
|
|
1933
2285
|
/**
|
|
1934
2286
|
*
|
|
2287
|
+
* @summary List all schemas (paginated endpoint)
|
|
1935
2288
|
* @param {string} workspaceId Workspace identifier
|
|
1936
|
-
* @param {string} changeSetId Change
|
|
2289
|
+
* @param {string} changeSetId Change Set identifier
|
|
1937
2290
|
* @param {string} [limit] Maximum number of results to return (default: 50, max: 300)
|
|
1938
2291
|
* @param {string} [cursor] Cursor for pagination (SchemaId of the last item from previous page)
|
|
1939
2292
|
* @param {*} [options] Override http request option.
|
|
@@ -1982,8 +2335,9 @@ const SchemasApiFp = function (configuration) {
|
|
|
1982
2335
|
return {
|
|
1983
2336
|
/**
|
|
1984
2337
|
*
|
|
2338
|
+
* @summary Find schema by name or schema id
|
|
1985
2339
|
* @param {string} workspaceId Workspace identifier
|
|
1986
|
-
* @param {string} changeSetId Change
|
|
2340
|
+
* @param {string} changeSetId Change Set identifier
|
|
1987
2341
|
* @param {string | null} [schema]
|
|
1988
2342
|
* @param {string | null} [schemaId]
|
|
1989
2343
|
* @param {*} [options] Override http request option.
|
|
@@ -1997,23 +2351,24 @@ const SchemasApiFp = function (configuration) {
|
|
|
1997
2351
|
},
|
|
1998
2352
|
/**
|
|
1999
2353
|
*
|
|
2354
|
+
* @summary Get the default variant for a schema id
|
|
2000
2355
|
* @param {string} workspaceId Workspace identifier
|
|
2001
|
-
* @param {string} changeSetId Change
|
|
2356
|
+
* @param {string} changeSetId Change Set identifier
|
|
2002
2357
|
* @param {string} schemaId Schema identifier
|
|
2003
|
-
* @param {string} schemaVariantId Schema variant identifier
|
|
2004
2358
|
* @param {*} [options] Override http request option.
|
|
2005
2359
|
* @throws {RequiredError}
|
|
2006
2360
|
*/
|
|
2007
|
-
async getDefaultVariant(workspaceId, changeSetId, schemaId,
|
|
2008
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultVariant(workspaceId, changeSetId, schemaId,
|
|
2361
|
+
async getDefaultVariant(workspaceId, changeSetId, schemaId, options) {
|
|
2362
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getDefaultVariant(workspaceId, changeSetId, schemaId, options);
|
|
2009
2363
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2010
2364
|
const localVarOperationServerBasePath = base_1.operationServerMap['SchemasApi.getDefaultVariant']?.[localVarOperationServerIndex]?.url;
|
|
2011
2365
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2012
2366
|
},
|
|
2013
2367
|
/**
|
|
2014
2368
|
*
|
|
2369
|
+
* @summary Get a schema by schema id
|
|
2015
2370
|
* @param {string} workspaceId Workspace identifier
|
|
2016
|
-
* @param {string} changeSetId Change
|
|
2371
|
+
* @param {string} changeSetId Change Set identifier
|
|
2017
2372
|
* @param {string} schemaId Schema identifier
|
|
2018
2373
|
* @param {*} [options] Override http request option.
|
|
2019
2374
|
* @throws {RequiredError}
|
|
@@ -2026,8 +2381,9 @@ const SchemasApiFp = function (configuration) {
|
|
|
2026
2381
|
},
|
|
2027
2382
|
/**
|
|
2028
2383
|
*
|
|
2384
|
+
* @summary Get a schema variant by schema id and schema variant id
|
|
2029
2385
|
* @param {string} workspaceId Workspace identifier
|
|
2030
|
-
* @param {string} changeSetId Change
|
|
2386
|
+
* @param {string} changeSetId Change Set identifier
|
|
2031
2387
|
* @param {string} schemaId Schema identifier
|
|
2032
2388
|
* @param {string} schemaVariantId Schema variant identifier
|
|
2033
2389
|
* @param {*} [options] Override http request option.
|
|
@@ -2041,8 +2397,9 @@ const SchemasApiFp = function (configuration) {
|
|
|
2041
2397
|
},
|
|
2042
2398
|
/**
|
|
2043
2399
|
*
|
|
2400
|
+
* @summary List all schemas (paginated endpoint)
|
|
2044
2401
|
* @param {string} workspaceId Workspace identifier
|
|
2045
|
-
* @param {string} changeSetId Change
|
|
2402
|
+
* @param {string} changeSetId Change Set identifier
|
|
2046
2403
|
* @param {string} [limit] Maximum number of results to return (default: 50, max: 300)
|
|
2047
2404
|
* @param {string} [cursor] Cursor for pagination (SchemaId of the last item from previous page)
|
|
2048
2405
|
* @param {*} [options] Override http request option.
|
|
@@ -2066,6 +2423,7 @@ const SchemasApiFactory = function (configuration, basePath, axios) {
|
|
|
2066
2423
|
return {
|
|
2067
2424
|
/**
|
|
2068
2425
|
*
|
|
2426
|
+
* @summary Find schema by name or schema id
|
|
2069
2427
|
* @param {SchemasApiFindSchemaRequest} requestParameters Request parameters.
|
|
2070
2428
|
* @param {*} [options] Override http request option.
|
|
2071
2429
|
* @throws {RequiredError}
|
|
@@ -2075,15 +2433,17 @@ const SchemasApiFactory = function (configuration, basePath, axios) {
|
|
|
2075
2433
|
},
|
|
2076
2434
|
/**
|
|
2077
2435
|
*
|
|
2436
|
+
* @summary Get the default variant for a schema id
|
|
2078
2437
|
* @param {SchemasApiGetDefaultVariantRequest} requestParameters Request parameters.
|
|
2079
2438
|
* @param {*} [options] Override http request option.
|
|
2080
2439
|
* @throws {RequiredError}
|
|
2081
2440
|
*/
|
|
2082
2441
|
getDefaultVariant(requestParameters, options) {
|
|
2083
|
-
return localVarFp.getDefaultVariant(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.schemaId,
|
|
2442
|
+
return localVarFp.getDefaultVariant(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.schemaId, options).then((request) => request(axios, basePath));
|
|
2084
2443
|
},
|
|
2085
2444
|
/**
|
|
2086
2445
|
*
|
|
2446
|
+
* @summary Get a schema by schema id
|
|
2087
2447
|
* @param {SchemasApiGetSchemaRequest} requestParameters Request parameters.
|
|
2088
2448
|
* @param {*} [options] Override http request option.
|
|
2089
2449
|
* @throws {RequiredError}
|
|
@@ -2093,6 +2453,7 @@ const SchemasApiFactory = function (configuration, basePath, axios) {
|
|
|
2093
2453
|
},
|
|
2094
2454
|
/**
|
|
2095
2455
|
*
|
|
2456
|
+
* @summary Get a schema variant by schema id and schema variant id
|
|
2096
2457
|
* @param {SchemasApiGetVariantRequest} requestParameters Request parameters.
|
|
2097
2458
|
* @param {*} [options] Override http request option.
|
|
2098
2459
|
* @throws {RequiredError}
|
|
@@ -2102,6 +2463,7 @@ const SchemasApiFactory = function (configuration, basePath, axios) {
|
|
|
2102
2463
|
},
|
|
2103
2464
|
/**
|
|
2104
2465
|
*
|
|
2466
|
+
* @summary List all schemas (paginated endpoint)
|
|
2105
2467
|
* @param {SchemasApiListSchemasRequest} requestParameters Request parameters.
|
|
2106
2468
|
* @param {*} [options] Override http request option.
|
|
2107
2469
|
* @throws {RequiredError}
|
|
@@ -2121,6 +2483,7 @@ exports.SchemasApiFactory = SchemasApiFactory;
|
|
|
2121
2483
|
class SchemasApi extends base_1.BaseAPI {
|
|
2122
2484
|
/**
|
|
2123
2485
|
*
|
|
2486
|
+
* @summary Find schema by name or schema id
|
|
2124
2487
|
* @param {SchemasApiFindSchemaRequest} requestParameters Request parameters.
|
|
2125
2488
|
* @param {*} [options] Override http request option.
|
|
2126
2489
|
* @throws {RequiredError}
|
|
@@ -2131,16 +2494,18 @@ class SchemasApi extends base_1.BaseAPI {
|
|
|
2131
2494
|
}
|
|
2132
2495
|
/**
|
|
2133
2496
|
*
|
|
2497
|
+
* @summary Get the default variant for a schema id
|
|
2134
2498
|
* @param {SchemasApiGetDefaultVariantRequest} requestParameters Request parameters.
|
|
2135
2499
|
* @param {*} [options] Override http request option.
|
|
2136
2500
|
* @throws {RequiredError}
|
|
2137
2501
|
* @memberof SchemasApi
|
|
2138
2502
|
*/
|
|
2139
2503
|
getDefaultVariant(requestParameters, options) {
|
|
2140
|
-
return (0, exports.SchemasApiFp)(this.configuration).getDefaultVariant(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.schemaId,
|
|
2504
|
+
return (0, exports.SchemasApiFp)(this.configuration).getDefaultVariant(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.schemaId, options).then((request) => request(this.axios, this.basePath));
|
|
2141
2505
|
}
|
|
2142
2506
|
/**
|
|
2143
2507
|
*
|
|
2508
|
+
* @summary Get a schema by schema id
|
|
2144
2509
|
* @param {SchemasApiGetSchemaRequest} requestParameters Request parameters.
|
|
2145
2510
|
* @param {*} [options] Override http request option.
|
|
2146
2511
|
* @throws {RequiredError}
|
|
@@ -2151,6 +2516,7 @@ class SchemasApi extends base_1.BaseAPI {
|
|
|
2151
2516
|
}
|
|
2152
2517
|
/**
|
|
2153
2518
|
*
|
|
2519
|
+
* @summary Get a schema variant by schema id and schema variant id
|
|
2154
2520
|
* @param {SchemasApiGetVariantRequest} requestParameters Request parameters.
|
|
2155
2521
|
* @param {*} [options] Override http request option.
|
|
2156
2522
|
* @throws {RequiredError}
|
|
@@ -2161,6 +2527,7 @@ class SchemasApi extends base_1.BaseAPI {
|
|
|
2161
2527
|
}
|
|
2162
2528
|
/**
|
|
2163
2529
|
*
|
|
2530
|
+
* @summary List all schemas (paginated endpoint)
|
|
2164
2531
|
* @param {SchemasApiListSchemasRequest} requestParameters Request parameters.
|
|
2165
2532
|
* @param {*} [options] Override http request option.
|
|
2166
2533
|
* @throws {RequiredError}
|
|
@@ -2179,8 +2546,9 @@ const SecretsApiAxiosParamCreator = function (configuration) {
|
|
|
2179
2546
|
return {
|
|
2180
2547
|
/**
|
|
2181
2548
|
*
|
|
2549
|
+
* @summary Create a secret
|
|
2182
2550
|
* @param {string} workspaceId Workspace identifier
|
|
2183
|
-
* @param {string} changeSetId Change
|
|
2551
|
+
* @param {string} changeSetId Change Set identifier
|
|
2184
2552
|
* @param {CreateSecretV1Request} createSecretV1Request
|
|
2185
2553
|
* @param {*} [options] Override http request option.
|
|
2186
2554
|
* @throws {RequiredError}
|
|
@@ -2216,8 +2584,9 @@ const SecretsApiAxiosParamCreator = function (configuration) {
|
|
|
2216
2584
|
},
|
|
2217
2585
|
/**
|
|
2218
2586
|
*
|
|
2587
|
+
* @summary Delete a secret
|
|
2219
2588
|
* @param {string} workspaceId Workspace identifier
|
|
2220
|
-
* @param {string} changeSetId Change
|
|
2589
|
+
* @param {string} changeSetId Change Set identifier
|
|
2221
2590
|
* @param {string} secretId Secret identifier
|
|
2222
2591
|
* @param {*} [options] Override http request option.
|
|
2223
2592
|
* @throws {RequiredError}
|
|
@@ -2252,8 +2621,9 @@ const SecretsApiAxiosParamCreator = function (configuration) {
|
|
|
2252
2621
|
},
|
|
2253
2622
|
/**
|
|
2254
2623
|
*
|
|
2624
|
+
* @summary List all secrets
|
|
2255
2625
|
* @param {string} workspaceId Workspace identifier
|
|
2256
|
-
* @param {string} changeSetId Change
|
|
2626
|
+
* @param {string} changeSetId Change Set identifier
|
|
2257
2627
|
* @param {*} [options] Override http request option.
|
|
2258
2628
|
* @throws {RequiredError}
|
|
2259
2629
|
*/
|
|
@@ -2284,8 +2654,9 @@ const SecretsApiAxiosParamCreator = function (configuration) {
|
|
|
2284
2654
|
},
|
|
2285
2655
|
/**
|
|
2286
2656
|
*
|
|
2657
|
+
* @summary Update a secret
|
|
2287
2658
|
* @param {string} workspaceId Workspace identifier
|
|
2288
|
-
* @param {string} changeSetId Change
|
|
2659
|
+
* @param {string} changeSetId Change Set identifier
|
|
2289
2660
|
* @param {string} secretId Secret identifier
|
|
2290
2661
|
* @param {UpdateSecretV1Request} updateSecretV1Request
|
|
2291
2662
|
* @param {*} [options] Override http request option.
|
|
@@ -2335,8 +2706,9 @@ const SecretsApiFp = function (configuration) {
|
|
|
2335
2706
|
return {
|
|
2336
2707
|
/**
|
|
2337
2708
|
*
|
|
2709
|
+
* @summary Create a secret
|
|
2338
2710
|
* @param {string} workspaceId Workspace identifier
|
|
2339
|
-
* @param {string} changeSetId Change
|
|
2711
|
+
* @param {string} changeSetId Change Set identifier
|
|
2340
2712
|
* @param {CreateSecretV1Request} createSecretV1Request
|
|
2341
2713
|
* @param {*} [options] Override http request option.
|
|
2342
2714
|
* @throws {RequiredError}
|
|
@@ -2349,8 +2721,9 @@ const SecretsApiFp = function (configuration) {
|
|
|
2349
2721
|
},
|
|
2350
2722
|
/**
|
|
2351
2723
|
*
|
|
2724
|
+
* @summary Delete a secret
|
|
2352
2725
|
* @param {string} workspaceId Workspace identifier
|
|
2353
|
-
* @param {string} changeSetId Change
|
|
2726
|
+
* @param {string} changeSetId Change Set identifier
|
|
2354
2727
|
* @param {string} secretId Secret identifier
|
|
2355
2728
|
* @param {*} [options] Override http request option.
|
|
2356
2729
|
* @throws {RequiredError}
|
|
@@ -2363,8 +2736,9 @@ const SecretsApiFp = function (configuration) {
|
|
|
2363
2736
|
},
|
|
2364
2737
|
/**
|
|
2365
2738
|
*
|
|
2739
|
+
* @summary List all secrets
|
|
2366
2740
|
* @param {string} workspaceId Workspace identifier
|
|
2367
|
-
* @param {string} changeSetId Change
|
|
2741
|
+
* @param {string} changeSetId Change Set identifier
|
|
2368
2742
|
* @param {*} [options] Override http request option.
|
|
2369
2743
|
* @throws {RequiredError}
|
|
2370
2744
|
*/
|
|
@@ -2376,8 +2750,9 @@ const SecretsApiFp = function (configuration) {
|
|
|
2376
2750
|
},
|
|
2377
2751
|
/**
|
|
2378
2752
|
*
|
|
2753
|
+
* @summary Update a secret
|
|
2379
2754
|
* @param {string} workspaceId Workspace identifier
|
|
2380
|
-
* @param {string} changeSetId Change
|
|
2755
|
+
* @param {string} changeSetId Change Set identifier
|
|
2381
2756
|
* @param {string} secretId Secret identifier
|
|
2382
2757
|
* @param {UpdateSecretV1Request} updateSecretV1Request
|
|
2383
2758
|
* @param {*} [options] Override http request option.
|
|
@@ -2401,6 +2776,7 @@ const SecretsApiFactory = function (configuration, basePath, axios) {
|
|
|
2401
2776
|
return {
|
|
2402
2777
|
/**
|
|
2403
2778
|
*
|
|
2779
|
+
* @summary Create a secret
|
|
2404
2780
|
* @param {SecretsApiCreateSecretRequest} requestParameters Request parameters.
|
|
2405
2781
|
* @param {*} [options] Override http request option.
|
|
2406
2782
|
* @throws {RequiredError}
|
|
@@ -2410,6 +2786,7 @@ const SecretsApiFactory = function (configuration, basePath, axios) {
|
|
|
2410
2786
|
},
|
|
2411
2787
|
/**
|
|
2412
2788
|
*
|
|
2789
|
+
* @summary Delete a secret
|
|
2413
2790
|
* @param {SecretsApiDeleteSecretRequest} requestParameters Request parameters.
|
|
2414
2791
|
* @param {*} [options] Override http request option.
|
|
2415
2792
|
* @throws {RequiredError}
|
|
@@ -2419,6 +2796,7 @@ const SecretsApiFactory = function (configuration, basePath, axios) {
|
|
|
2419
2796
|
},
|
|
2420
2797
|
/**
|
|
2421
2798
|
*
|
|
2799
|
+
* @summary List all secrets
|
|
2422
2800
|
* @param {SecretsApiGetSecretsRequest} requestParameters Request parameters.
|
|
2423
2801
|
* @param {*} [options] Override http request option.
|
|
2424
2802
|
* @throws {RequiredError}
|
|
@@ -2428,6 +2806,7 @@ const SecretsApiFactory = function (configuration, basePath, axios) {
|
|
|
2428
2806
|
},
|
|
2429
2807
|
/**
|
|
2430
2808
|
*
|
|
2809
|
+
* @summary Update a secret
|
|
2431
2810
|
* @param {SecretsApiUpdateSecretRequest} requestParameters Request parameters.
|
|
2432
2811
|
* @param {*} [options] Override http request option.
|
|
2433
2812
|
* @throws {RequiredError}
|
|
@@ -2447,6 +2826,7 @@ exports.SecretsApiFactory = SecretsApiFactory;
|
|
|
2447
2826
|
class SecretsApi extends base_1.BaseAPI {
|
|
2448
2827
|
/**
|
|
2449
2828
|
*
|
|
2829
|
+
* @summary Create a secret
|
|
2450
2830
|
* @param {SecretsApiCreateSecretRequest} requestParameters Request parameters.
|
|
2451
2831
|
* @param {*} [options] Override http request option.
|
|
2452
2832
|
* @throws {RequiredError}
|
|
@@ -2457,6 +2837,7 @@ class SecretsApi extends base_1.BaseAPI {
|
|
|
2457
2837
|
}
|
|
2458
2838
|
/**
|
|
2459
2839
|
*
|
|
2840
|
+
* @summary Delete a secret
|
|
2460
2841
|
* @param {SecretsApiDeleteSecretRequest} requestParameters Request parameters.
|
|
2461
2842
|
* @param {*} [options] Override http request option.
|
|
2462
2843
|
* @throws {RequiredError}
|
|
@@ -2467,6 +2848,7 @@ class SecretsApi extends base_1.BaseAPI {
|
|
|
2467
2848
|
}
|
|
2468
2849
|
/**
|
|
2469
2850
|
*
|
|
2851
|
+
* @summary List all secrets
|
|
2470
2852
|
* @param {SecretsApiGetSecretsRequest} requestParameters Request parameters.
|
|
2471
2853
|
* @param {*} [options] Override http request option.
|
|
2472
2854
|
* @throws {RequiredError}
|
|
@@ -2477,6 +2859,7 @@ class SecretsApi extends base_1.BaseAPI {
|
|
|
2477
2859
|
}
|
|
2478
2860
|
/**
|
|
2479
2861
|
*
|
|
2862
|
+
* @summary Update a secret
|
|
2480
2863
|
* @param {SecretsApiUpdateSecretRequest} requestParameters Request parameters.
|
|
2481
2864
|
* @param {*} [options] Override http request option.
|
|
2482
2865
|
* @throws {RequiredError}
|