system-initiative-api-client 1.0.6 → 1.0.8
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 +168 -6
- package/dist/cjs/api.js +146 -0
- package/package.json +1 -1
package/dist/cjs/api.d.ts
CHANGED
|
@@ -803,6 +803,19 @@ export interface DuplicateComponentsV1Response {
|
|
|
803
803
|
*/
|
|
804
804
|
'components': Array<Array<string>>;
|
|
805
805
|
}
|
|
806
|
+
/**
|
|
807
|
+
*
|
|
808
|
+
* @export
|
|
809
|
+
* @interface EraseComponentV1Response
|
|
810
|
+
*/
|
|
811
|
+
export interface EraseComponentV1Response {
|
|
812
|
+
/**
|
|
813
|
+
*
|
|
814
|
+
* @type {boolean}
|
|
815
|
+
* @memberof EraseComponentV1Response
|
|
816
|
+
*/
|
|
817
|
+
'status': boolean;
|
|
818
|
+
}
|
|
806
819
|
/**
|
|
807
820
|
*
|
|
808
821
|
* @export
|
|
@@ -1946,6 +1959,19 @@ export interface RequestApprovalChangeSetV1Response {
|
|
|
1946
1959
|
*/
|
|
1947
1960
|
'success': boolean;
|
|
1948
1961
|
}
|
|
1962
|
+
/**
|
|
1963
|
+
*
|
|
1964
|
+
* @export
|
|
1965
|
+
* @interface RestoreComponentV1Response
|
|
1966
|
+
*/
|
|
1967
|
+
export interface RestoreComponentV1Response {
|
|
1968
|
+
/**
|
|
1969
|
+
*
|
|
1970
|
+
* @type {boolean}
|
|
1971
|
+
* @memberof RestoreComponentV1Response
|
|
1972
|
+
*/
|
|
1973
|
+
'status': boolean;
|
|
1974
|
+
}
|
|
1949
1975
|
/**
|
|
1950
1976
|
*
|
|
1951
1977
|
* @export
|
|
@@ -2211,12 +2237,6 @@ export interface Subscription {
|
|
|
2211
2237
|
* @memberof Subscription
|
|
2212
2238
|
*/
|
|
2213
2239
|
'function'?: string;
|
|
2214
|
-
/**
|
|
2215
|
-
*
|
|
2216
|
-
* @type {boolean}
|
|
2217
|
-
* @memberof Subscription
|
|
2218
|
-
*/
|
|
2219
|
-
'keepExistingSubscriptions'?: boolean | null;
|
|
2220
2240
|
/**
|
|
2221
2241
|
*
|
|
2222
2242
|
* @type {string}
|
|
@@ -3307,6 +3327,16 @@ export declare const ComponentsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
3307
3327
|
* @throws {RequiredError}
|
|
3308
3328
|
*/
|
|
3309
3329
|
duplicateComponents: (workspaceId: string, changeSetId: string, duplicateComponentsV1Request: DuplicateComponentsV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3330
|
+
/**
|
|
3331
|
+
*
|
|
3332
|
+
* @summary Erase a component without queuing a delete action
|
|
3333
|
+
* @param {string} workspaceId Workspace identifier
|
|
3334
|
+
* @param {string} changeSetId Change Set identifier
|
|
3335
|
+
* @param {string} componentId Component identifier
|
|
3336
|
+
* @param {*} [options] Override http request option.
|
|
3337
|
+
* @throws {RequiredError}
|
|
3338
|
+
*/
|
|
3339
|
+
eraseComponent: (workspaceId: string, changeSetId: string, componentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3310
3340
|
/**
|
|
3311
3341
|
*
|
|
3312
3342
|
* @summary Execute a component\'s management function
|
|
@@ -3371,6 +3401,16 @@ export declare const ComponentsApiAxiosParamCreator: (configuration?: Configurat
|
|
|
3371
3401
|
* @throws {RequiredError}
|
|
3372
3402
|
*/
|
|
3373
3403
|
manageComponent: (workspaceId: string, changeSetId: string, componentId: string, manageComponentV1Request: ManageComponentV1Request, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3404
|
+
/**
|
|
3405
|
+
*
|
|
3406
|
+
* @summary Restore a component that is marked for deletion
|
|
3407
|
+
* @param {string} workspaceId Workspace identifier
|
|
3408
|
+
* @param {string} changeSetId Change Set identifier
|
|
3409
|
+
* @param {string} componentId Component identifier
|
|
3410
|
+
* @param {*} [options] Override http request option.
|
|
3411
|
+
* @throws {RequiredError}
|
|
3412
|
+
*/
|
|
3413
|
+
restoreComponent: (workspaceId: string, changeSetId: string, componentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3374
3414
|
/**
|
|
3375
3415
|
*
|
|
3376
3416
|
* @summary Complex search for components
|
|
@@ -3449,6 +3489,16 @@ export declare const ComponentsApiFp: (configuration?: Configuration) => {
|
|
|
3449
3489
|
* @throws {RequiredError}
|
|
3450
3490
|
*/
|
|
3451
3491
|
duplicateComponents(workspaceId: string, changeSetId: string, duplicateComponentsV1Request: DuplicateComponentsV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DuplicateComponentsV1Response>>;
|
|
3492
|
+
/**
|
|
3493
|
+
*
|
|
3494
|
+
* @summary Erase a component without queuing a delete action
|
|
3495
|
+
* @param {string} workspaceId Workspace identifier
|
|
3496
|
+
* @param {string} changeSetId Change Set identifier
|
|
3497
|
+
* @param {string} componentId Component identifier
|
|
3498
|
+
* @param {*} [options] Override http request option.
|
|
3499
|
+
* @throws {RequiredError}
|
|
3500
|
+
*/
|
|
3501
|
+
eraseComponent(workspaceId: string, changeSetId: string, componentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EraseComponentV1Response>>;
|
|
3452
3502
|
/**
|
|
3453
3503
|
*
|
|
3454
3504
|
* @summary Execute a component\'s management function
|
|
@@ -3513,6 +3563,16 @@ export declare const ComponentsApiFp: (configuration?: Configuration) => {
|
|
|
3513
3563
|
* @throws {RequiredError}
|
|
3514
3564
|
*/
|
|
3515
3565
|
manageComponent(workspaceId: string, changeSetId: string, componentId: string, manageComponentV1Request: ManageComponentV1Request, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManageComponentV1Response>>;
|
|
3566
|
+
/**
|
|
3567
|
+
*
|
|
3568
|
+
* @summary Restore a component that is marked for deletion
|
|
3569
|
+
* @param {string} workspaceId Workspace identifier
|
|
3570
|
+
* @param {string} changeSetId Change Set identifier
|
|
3571
|
+
* @param {string} componentId Component identifier
|
|
3572
|
+
* @param {*} [options] Override http request option.
|
|
3573
|
+
* @throws {RequiredError}
|
|
3574
|
+
*/
|
|
3575
|
+
restoreComponent(workspaceId: string, changeSetId: string, componentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestoreComponentV1Response>>;
|
|
3516
3576
|
/**
|
|
3517
3577
|
*
|
|
3518
3578
|
* @summary Complex search for components
|
|
@@ -3582,6 +3642,14 @@ export declare const ComponentsApiFactory: (configuration?: Configuration, baseP
|
|
|
3582
3642
|
* @throws {RequiredError}
|
|
3583
3643
|
*/
|
|
3584
3644
|
duplicateComponents(requestParameters: ComponentsApiDuplicateComponentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DuplicateComponentsV1Response>;
|
|
3645
|
+
/**
|
|
3646
|
+
*
|
|
3647
|
+
* @summary Erase a component without queuing a delete action
|
|
3648
|
+
* @param {ComponentsApiEraseComponentRequest} requestParameters Request parameters.
|
|
3649
|
+
* @param {*} [options] Override http request option.
|
|
3650
|
+
* @throws {RequiredError}
|
|
3651
|
+
*/
|
|
3652
|
+
eraseComponent(requestParameters: ComponentsApiEraseComponentRequest, options?: RawAxiosRequestConfig): AxiosPromise<EraseComponentV1Response>;
|
|
3585
3653
|
/**
|
|
3586
3654
|
*
|
|
3587
3655
|
* @summary Execute a component\'s management function
|
|
@@ -3630,6 +3698,14 @@ export declare const ComponentsApiFactory: (configuration?: Configuration, baseP
|
|
|
3630
3698
|
* @throws {RequiredError}
|
|
3631
3699
|
*/
|
|
3632
3700
|
manageComponent(requestParameters: ComponentsApiManageComponentRequest, options?: RawAxiosRequestConfig): AxiosPromise<ManageComponentV1Response>;
|
|
3701
|
+
/**
|
|
3702
|
+
*
|
|
3703
|
+
* @summary Restore a component that is marked for deletion
|
|
3704
|
+
* @param {ComponentsApiRestoreComponentRequest} requestParameters Request parameters.
|
|
3705
|
+
* @param {*} [options] Override http request option.
|
|
3706
|
+
* @throws {RequiredError}
|
|
3707
|
+
*/
|
|
3708
|
+
restoreComponent(requestParameters: ComponentsApiRestoreComponentRequest, options?: RawAxiosRequestConfig): AxiosPromise<RestoreComponentV1Response>;
|
|
3633
3709
|
/**
|
|
3634
3710
|
*
|
|
3635
3711
|
* @summary Complex search for components
|
|
@@ -3697,6 +3773,15 @@ export interface ComponentsApiInterface {
|
|
|
3697
3773
|
* @memberof ComponentsApiInterface
|
|
3698
3774
|
*/
|
|
3699
3775
|
duplicateComponents(requestParameters: ComponentsApiDuplicateComponentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DuplicateComponentsV1Response>;
|
|
3776
|
+
/**
|
|
3777
|
+
*
|
|
3778
|
+
* @summary Erase a component without queuing a delete action
|
|
3779
|
+
* @param {ComponentsApiEraseComponentRequest} requestParameters Request parameters.
|
|
3780
|
+
* @param {*} [options] Override http request option.
|
|
3781
|
+
* @throws {RequiredError}
|
|
3782
|
+
* @memberof ComponentsApiInterface
|
|
3783
|
+
*/
|
|
3784
|
+
eraseComponent(requestParameters: ComponentsApiEraseComponentRequest, options?: RawAxiosRequestConfig): AxiosPromise<EraseComponentV1Response>;
|
|
3700
3785
|
/**
|
|
3701
3786
|
*
|
|
3702
3787
|
* @summary Execute a component\'s management function
|
|
@@ -3751,6 +3836,15 @@ export interface ComponentsApiInterface {
|
|
|
3751
3836
|
* @memberof ComponentsApiInterface
|
|
3752
3837
|
*/
|
|
3753
3838
|
manageComponent(requestParameters: ComponentsApiManageComponentRequest, options?: RawAxiosRequestConfig): AxiosPromise<ManageComponentV1Response>;
|
|
3839
|
+
/**
|
|
3840
|
+
*
|
|
3841
|
+
* @summary Restore a component that is marked for deletion
|
|
3842
|
+
* @param {ComponentsApiRestoreComponentRequest} requestParameters Request parameters.
|
|
3843
|
+
* @param {*} [options] Override http request option.
|
|
3844
|
+
* @throws {RequiredError}
|
|
3845
|
+
* @memberof ComponentsApiInterface
|
|
3846
|
+
*/
|
|
3847
|
+
restoreComponent(requestParameters: ComponentsApiRestoreComponentRequest, options?: RawAxiosRequestConfig): AxiosPromise<RestoreComponentV1Response>;
|
|
3754
3848
|
/**
|
|
3755
3849
|
*
|
|
3756
3850
|
* @summary Complex search for components
|
|
@@ -3885,6 +3979,31 @@ export interface ComponentsApiDuplicateComponentsRequest {
|
|
|
3885
3979
|
*/
|
|
3886
3980
|
readonly duplicateComponentsV1Request: DuplicateComponentsV1Request;
|
|
3887
3981
|
}
|
|
3982
|
+
/**
|
|
3983
|
+
* Request parameters for eraseComponent operation in ComponentsApi.
|
|
3984
|
+
* @export
|
|
3985
|
+
* @interface ComponentsApiEraseComponentRequest
|
|
3986
|
+
*/
|
|
3987
|
+
export interface ComponentsApiEraseComponentRequest {
|
|
3988
|
+
/**
|
|
3989
|
+
* Workspace identifier
|
|
3990
|
+
* @type {string}
|
|
3991
|
+
* @memberof ComponentsApiEraseComponent
|
|
3992
|
+
*/
|
|
3993
|
+
readonly workspaceId: string;
|
|
3994
|
+
/**
|
|
3995
|
+
* Change Set identifier
|
|
3996
|
+
* @type {string}
|
|
3997
|
+
* @memberof ComponentsApiEraseComponent
|
|
3998
|
+
*/
|
|
3999
|
+
readonly changeSetId: string;
|
|
4000
|
+
/**
|
|
4001
|
+
* Component identifier
|
|
4002
|
+
* @type {string}
|
|
4003
|
+
* @memberof ComponentsApiEraseComponent
|
|
4004
|
+
*/
|
|
4005
|
+
readonly componentId: string;
|
|
4006
|
+
}
|
|
3888
4007
|
/**
|
|
3889
4008
|
* Request parameters for executeManagementFunction operation in ComponentsApi.
|
|
3890
4009
|
* @export
|
|
@@ -4059,6 +4178,31 @@ export interface ComponentsApiManageComponentRequest {
|
|
|
4059
4178
|
*/
|
|
4060
4179
|
readonly manageComponentV1Request: ManageComponentV1Request;
|
|
4061
4180
|
}
|
|
4181
|
+
/**
|
|
4182
|
+
* Request parameters for restoreComponent operation in ComponentsApi.
|
|
4183
|
+
* @export
|
|
4184
|
+
* @interface ComponentsApiRestoreComponentRequest
|
|
4185
|
+
*/
|
|
4186
|
+
export interface ComponentsApiRestoreComponentRequest {
|
|
4187
|
+
/**
|
|
4188
|
+
* Workspace identifier
|
|
4189
|
+
* @type {string}
|
|
4190
|
+
* @memberof ComponentsApiRestoreComponent
|
|
4191
|
+
*/
|
|
4192
|
+
readonly workspaceId: string;
|
|
4193
|
+
/**
|
|
4194
|
+
* Change Set identifier
|
|
4195
|
+
* @type {string}
|
|
4196
|
+
* @memberof ComponentsApiRestoreComponent
|
|
4197
|
+
*/
|
|
4198
|
+
readonly changeSetId: string;
|
|
4199
|
+
/**
|
|
4200
|
+
* Component identifier
|
|
4201
|
+
* @type {string}
|
|
4202
|
+
* @memberof ComponentsApiRestoreComponent
|
|
4203
|
+
*/
|
|
4204
|
+
readonly componentId: string;
|
|
4205
|
+
}
|
|
4062
4206
|
/**
|
|
4063
4207
|
* Request parameters for searchComponents operation in ComponentsApi.
|
|
4064
4208
|
* @export
|
|
@@ -4183,6 +4327,15 @@ export declare class ComponentsApi extends BaseAPI implements ComponentsApiInter
|
|
|
4183
4327
|
* @memberof ComponentsApi
|
|
4184
4328
|
*/
|
|
4185
4329
|
duplicateComponents(requestParameters: ComponentsApiDuplicateComponentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DuplicateComponentsV1Response, any>>;
|
|
4330
|
+
/**
|
|
4331
|
+
*
|
|
4332
|
+
* @summary Erase a component without queuing a delete action
|
|
4333
|
+
* @param {ComponentsApiEraseComponentRequest} requestParameters Request parameters.
|
|
4334
|
+
* @param {*} [options] Override http request option.
|
|
4335
|
+
* @throws {RequiredError}
|
|
4336
|
+
* @memberof ComponentsApi
|
|
4337
|
+
*/
|
|
4338
|
+
eraseComponent(requestParameters: ComponentsApiEraseComponentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EraseComponentV1Response, any>>;
|
|
4186
4339
|
/**
|
|
4187
4340
|
*
|
|
4188
4341
|
* @summary Execute a component\'s management function
|
|
@@ -4237,6 +4390,15 @@ export declare class ComponentsApi extends BaseAPI implements ComponentsApiInter
|
|
|
4237
4390
|
* @memberof ComponentsApi
|
|
4238
4391
|
*/
|
|
4239
4392
|
manageComponent(requestParameters: ComponentsApiManageComponentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManageComponentV1Response, any>>;
|
|
4393
|
+
/**
|
|
4394
|
+
*
|
|
4395
|
+
* @summary Restore a component that is marked for deletion
|
|
4396
|
+
* @param {ComponentsApiRestoreComponentRequest} requestParameters Request parameters.
|
|
4397
|
+
* @param {*} [options] Override http request option.
|
|
4398
|
+
* @throws {RequiredError}
|
|
4399
|
+
* @memberof ComponentsApi
|
|
4400
|
+
*/
|
|
4401
|
+
restoreComponent(requestParameters: ComponentsApiRestoreComponentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RestoreComponentV1Response, any>>;
|
|
4240
4402
|
/**
|
|
4241
4403
|
*
|
|
4242
4404
|
* @summary Complex search for components
|
package/dist/cjs/api.js
CHANGED
|
@@ -1092,6 +1092,43 @@ const ComponentsApiAxiosParamCreator = function (configuration) {
|
|
|
1092
1092
|
options: localVarRequestOptions,
|
|
1093
1093
|
};
|
|
1094
1094
|
},
|
|
1095
|
+
/**
|
|
1096
|
+
*
|
|
1097
|
+
* @summary Erase a component without queuing a delete action
|
|
1098
|
+
* @param {string} workspaceId Workspace identifier
|
|
1099
|
+
* @param {string} changeSetId Change Set identifier
|
|
1100
|
+
* @param {string} componentId Component identifier
|
|
1101
|
+
* @param {*} [options] Override http request option.
|
|
1102
|
+
* @throws {RequiredError}
|
|
1103
|
+
*/
|
|
1104
|
+
eraseComponent: async (workspaceId, changeSetId, componentId, options = {}) => {
|
|
1105
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1106
|
+
(0, common_1.assertParamExists)('eraseComponent', 'workspaceId', workspaceId);
|
|
1107
|
+
// verify required parameter 'changeSetId' is not null or undefined
|
|
1108
|
+
(0, common_1.assertParamExists)('eraseComponent', 'changeSetId', changeSetId);
|
|
1109
|
+
// verify required parameter 'componentId' is not null or undefined
|
|
1110
|
+
(0, common_1.assertParamExists)('eraseComponent', 'componentId', componentId);
|
|
1111
|
+
const localVarPath = `/v1/w/{workspace_id}/change-sets/{change_set_id}/components/{component_id}/erase`
|
|
1112
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
1113
|
+
.replace(`{${"change_set_id"}}`, encodeURIComponent(String(changeSetId)))
|
|
1114
|
+
.replace(`{${"component_id"}}`, encodeURIComponent(String(componentId)));
|
|
1115
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1116
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1117
|
+
let baseOptions;
|
|
1118
|
+
if (configuration) {
|
|
1119
|
+
baseOptions = configuration.baseOptions;
|
|
1120
|
+
}
|
|
1121
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1122
|
+
const localVarHeaderParameter = {};
|
|
1123
|
+
const localVarQueryParameter = {};
|
|
1124
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1125
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1126
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1127
|
+
return {
|
|
1128
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1129
|
+
options: localVarRequestOptions,
|
|
1130
|
+
};
|
|
1131
|
+
},
|
|
1095
1132
|
/**
|
|
1096
1133
|
*
|
|
1097
1134
|
* @summary Execute a component\'s management function
|
|
@@ -1333,6 +1370,43 @@ const ComponentsApiAxiosParamCreator = function (configuration) {
|
|
|
1333
1370
|
options: localVarRequestOptions,
|
|
1334
1371
|
};
|
|
1335
1372
|
},
|
|
1373
|
+
/**
|
|
1374
|
+
*
|
|
1375
|
+
* @summary Restore a component that is marked for deletion
|
|
1376
|
+
* @param {string} workspaceId Workspace identifier
|
|
1377
|
+
* @param {string} changeSetId Change Set identifier
|
|
1378
|
+
* @param {string} componentId Component identifier
|
|
1379
|
+
* @param {*} [options] Override http request option.
|
|
1380
|
+
* @throws {RequiredError}
|
|
1381
|
+
*/
|
|
1382
|
+
restoreComponent: async (workspaceId, changeSetId, componentId, options = {}) => {
|
|
1383
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1384
|
+
(0, common_1.assertParamExists)('restoreComponent', 'workspaceId', workspaceId);
|
|
1385
|
+
// verify required parameter 'changeSetId' is not null or undefined
|
|
1386
|
+
(0, common_1.assertParamExists)('restoreComponent', 'changeSetId', changeSetId);
|
|
1387
|
+
// verify required parameter 'componentId' is not null or undefined
|
|
1388
|
+
(0, common_1.assertParamExists)('restoreComponent', 'componentId', componentId);
|
|
1389
|
+
const localVarPath = `/v1/w/{workspace_id}/change-sets/{change_set_id}/components/{component_id}/restore`
|
|
1390
|
+
.replace(`{${"workspace_id"}}`, encodeURIComponent(String(workspaceId)))
|
|
1391
|
+
.replace(`{${"change_set_id"}}`, encodeURIComponent(String(changeSetId)))
|
|
1392
|
+
.replace(`{${"component_id"}}`, encodeURIComponent(String(componentId)));
|
|
1393
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1394
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1395
|
+
let baseOptions;
|
|
1396
|
+
if (configuration) {
|
|
1397
|
+
baseOptions = configuration.baseOptions;
|
|
1398
|
+
}
|
|
1399
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
1400
|
+
const localVarHeaderParameter = {};
|
|
1401
|
+
const localVarQueryParameter = {};
|
|
1402
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1403
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1404
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1405
|
+
return {
|
|
1406
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1407
|
+
options: localVarRequestOptions,
|
|
1408
|
+
};
|
|
1409
|
+
},
|
|
1336
1410
|
/**
|
|
1337
1411
|
*
|
|
1338
1412
|
* @summary Complex search for components
|
|
@@ -1521,6 +1595,21 @@ const ComponentsApiFp = function (configuration) {
|
|
|
1521
1595
|
const localVarOperationServerBasePath = base_1.operationServerMap['ComponentsApi.duplicateComponents']?.[localVarOperationServerIndex]?.url;
|
|
1522
1596
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1523
1597
|
},
|
|
1598
|
+
/**
|
|
1599
|
+
*
|
|
1600
|
+
* @summary Erase a component without queuing a delete action
|
|
1601
|
+
* @param {string} workspaceId Workspace identifier
|
|
1602
|
+
* @param {string} changeSetId Change Set identifier
|
|
1603
|
+
* @param {string} componentId Component identifier
|
|
1604
|
+
* @param {*} [options] Override http request option.
|
|
1605
|
+
* @throws {RequiredError}
|
|
1606
|
+
*/
|
|
1607
|
+
async eraseComponent(workspaceId, changeSetId, componentId, options) {
|
|
1608
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.eraseComponent(workspaceId, changeSetId, componentId, options);
|
|
1609
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1610
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ComponentsApi.eraseComponent']?.[localVarOperationServerIndex]?.url;
|
|
1611
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1612
|
+
},
|
|
1524
1613
|
/**
|
|
1525
1614
|
*
|
|
1526
1615
|
* @summary Execute a component\'s management function
|
|
@@ -1615,6 +1704,21 @@ const ComponentsApiFp = function (configuration) {
|
|
|
1615
1704
|
const localVarOperationServerBasePath = base_1.operationServerMap['ComponentsApi.manageComponent']?.[localVarOperationServerIndex]?.url;
|
|
1616
1705
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1617
1706
|
},
|
|
1707
|
+
/**
|
|
1708
|
+
*
|
|
1709
|
+
* @summary Restore a component that is marked for deletion
|
|
1710
|
+
* @param {string} workspaceId Workspace identifier
|
|
1711
|
+
* @param {string} changeSetId Change Set identifier
|
|
1712
|
+
* @param {string} componentId Component identifier
|
|
1713
|
+
* @param {*} [options] Override http request option.
|
|
1714
|
+
* @throws {RequiredError}
|
|
1715
|
+
*/
|
|
1716
|
+
async restoreComponent(workspaceId, changeSetId, componentId, options) {
|
|
1717
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.restoreComponent(workspaceId, changeSetId, componentId, options);
|
|
1718
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1719
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['ComponentsApi.restoreComponent']?.[localVarOperationServerIndex]?.url;
|
|
1720
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1721
|
+
},
|
|
1618
1722
|
/**
|
|
1619
1723
|
*
|
|
1620
1724
|
* @summary Complex search for components
|
|
@@ -1711,6 +1815,16 @@ const ComponentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1711
1815
|
duplicateComponents(requestParameters, options) {
|
|
1712
1816
|
return localVarFp.duplicateComponents(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.duplicateComponentsV1Request, options).then((request) => request(axios, basePath));
|
|
1713
1817
|
},
|
|
1818
|
+
/**
|
|
1819
|
+
*
|
|
1820
|
+
* @summary Erase a component without queuing a delete action
|
|
1821
|
+
* @param {ComponentsApiEraseComponentRequest} requestParameters Request parameters.
|
|
1822
|
+
* @param {*} [options] Override http request option.
|
|
1823
|
+
* @throws {RequiredError}
|
|
1824
|
+
*/
|
|
1825
|
+
eraseComponent(requestParameters, options) {
|
|
1826
|
+
return localVarFp.eraseComponent(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.componentId, options).then((request) => request(axios, basePath));
|
|
1827
|
+
},
|
|
1714
1828
|
/**
|
|
1715
1829
|
*
|
|
1716
1830
|
* @summary Execute a component\'s management function
|
|
@@ -1771,6 +1885,16 @@ const ComponentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1771
1885
|
manageComponent(requestParameters, options) {
|
|
1772
1886
|
return localVarFp.manageComponent(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.componentId, requestParameters.manageComponentV1Request, options).then((request) => request(axios, basePath));
|
|
1773
1887
|
},
|
|
1888
|
+
/**
|
|
1889
|
+
*
|
|
1890
|
+
* @summary Restore a component that is marked for deletion
|
|
1891
|
+
* @param {ComponentsApiRestoreComponentRequest} requestParameters Request parameters.
|
|
1892
|
+
* @param {*} [options] Override http request option.
|
|
1893
|
+
* @throws {RequiredError}
|
|
1894
|
+
*/
|
|
1895
|
+
restoreComponent(requestParameters, options) {
|
|
1896
|
+
return localVarFp.restoreComponent(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.componentId, options).then((request) => request(axios, basePath));
|
|
1897
|
+
},
|
|
1774
1898
|
/**
|
|
1775
1899
|
*
|
|
1776
1900
|
* @summary Complex search for components
|
|
@@ -1855,6 +1979,17 @@ class ComponentsApi extends base_1.BaseAPI {
|
|
|
1855
1979
|
duplicateComponents(requestParameters, options) {
|
|
1856
1980
|
return (0, exports.ComponentsApiFp)(this.configuration).duplicateComponents(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.duplicateComponentsV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
1857
1981
|
}
|
|
1982
|
+
/**
|
|
1983
|
+
*
|
|
1984
|
+
* @summary Erase a component without queuing a delete action
|
|
1985
|
+
* @param {ComponentsApiEraseComponentRequest} requestParameters Request parameters.
|
|
1986
|
+
* @param {*} [options] Override http request option.
|
|
1987
|
+
* @throws {RequiredError}
|
|
1988
|
+
* @memberof ComponentsApi
|
|
1989
|
+
*/
|
|
1990
|
+
eraseComponent(requestParameters, options) {
|
|
1991
|
+
return (0, exports.ComponentsApiFp)(this.configuration).eraseComponent(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.componentId, options).then((request) => request(this.axios, this.basePath));
|
|
1992
|
+
}
|
|
1858
1993
|
/**
|
|
1859
1994
|
*
|
|
1860
1995
|
* @summary Execute a component\'s management function
|
|
@@ -1921,6 +2056,17 @@ class ComponentsApi extends base_1.BaseAPI {
|
|
|
1921
2056
|
manageComponent(requestParameters, options) {
|
|
1922
2057
|
return (0, exports.ComponentsApiFp)(this.configuration).manageComponent(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.componentId, requestParameters.manageComponentV1Request, options).then((request) => request(this.axios, this.basePath));
|
|
1923
2058
|
}
|
|
2059
|
+
/**
|
|
2060
|
+
*
|
|
2061
|
+
* @summary Restore a component that is marked for deletion
|
|
2062
|
+
* @param {ComponentsApiRestoreComponentRequest} requestParameters Request parameters.
|
|
2063
|
+
* @param {*} [options] Override http request option.
|
|
2064
|
+
* @throws {RequiredError}
|
|
2065
|
+
* @memberof ComponentsApi
|
|
2066
|
+
*/
|
|
2067
|
+
restoreComponent(requestParameters, options) {
|
|
2068
|
+
return (0, exports.ComponentsApiFp)(this.configuration).restoreComponent(requestParameters.workspaceId, requestParameters.changeSetId, requestParameters.componentId, options).then((request) => request(this.axios, this.basePath));
|
|
2069
|
+
}
|
|
1924
2070
|
/**
|
|
1925
2071
|
*
|
|
1926
2072
|
* @summary Complex search for components
|
package/package.json
CHANGED