@emilgroup/changelog-sdk 1.0.1-beta.14 → 1.0.1-beta.15
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/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/changelog-sdk@1.0.1-beta.
|
|
20
|
+
npm install @emilgroup/changelog-sdk@1.0.1-beta.15 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/changelog-sdk@1.0.1-beta.
|
|
24
|
+
yarn add @emilgroup/changelog-sdk@1.0.1-beta.15
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
|
@@ -81,6 +81,51 @@ export const ChangelogConfigurationsApiAxiosParamCreator = function (configurati
|
|
|
81
81
|
options: localVarRequestOptions,
|
|
82
82
|
};
|
|
83
83
|
},
|
|
84
|
+
/**
|
|
85
|
+
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
|
|
86
|
+
* @summary Delete the changelog configuration
|
|
87
|
+
* @param {string} code Unique identifier code for the changelog configuration
|
|
88
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
89
|
+
* @param {*} [options] Override http request option.
|
|
90
|
+
* @throws {RequiredError}
|
|
91
|
+
*/
|
|
92
|
+
deleteChangelogConfiguration: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
93
|
+
// verify required parameter 'code' is not null or undefined
|
|
94
|
+
assertParamExists('deleteChangelogConfiguration', 'code', code)
|
|
95
|
+
const localVarPath = `/changelogservice/v1/changelog-configurations/{code}`
|
|
96
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
97
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
98
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
99
|
+
let baseOptions;
|
|
100
|
+
let baseAccessToken;
|
|
101
|
+
if (configuration) {
|
|
102
|
+
baseOptions = configuration.baseOptions;
|
|
103
|
+
baseAccessToken = configuration.accessToken;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
107
|
+
const localVarHeaderParameter = {} as any;
|
|
108
|
+
const localVarQueryParameter = {} as any;
|
|
109
|
+
|
|
110
|
+
// authentication bearer required
|
|
111
|
+
// http bearer authentication required
|
|
112
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
113
|
+
|
|
114
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
115
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
121
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
122
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
123
|
+
|
|
124
|
+
return {
|
|
125
|
+
url: toPathString(localVarUrlObj),
|
|
126
|
+
options: localVarRequestOptions,
|
|
127
|
+
};
|
|
128
|
+
},
|
|
84
129
|
/**
|
|
85
130
|
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
|
|
86
131
|
* @summary Retrieve the changelog configuration
|
|
@@ -275,6 +320,18 @@ export const ChangelogConfigurationsApiFp = function(configuration?: Configurati
|
|
|
275
320
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createChangelogConfiguration(createChangelogConfigurationDto, authorization, options);
|
|
276
321
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
277
322
|
},
|
|
323
|
+
/**
|
|
324
|
+
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
|
|
325
|
+
* @summary Delete the changelog configuration
|
|
326
|
+
* @param {string} code Unique identifier code for the changelog configuration
|
|
327
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
328
|
+
* @param {*} [options] Override http request option.
|
|
329
|
+
* @throws {RequiredError}
|
|
330
|
+
*/
|
|
331
|
+
async deleteChangelogConfiguration(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
332
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteChangelogConfiguration(code, authorization, options);
|
|
333
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
334
|
+
},
|
|
278
335
|
/**
|
|
279
336
|
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
|
|
280
337
|
* @summary Retrieve the changelog configuration
|
|
@@ -339,6 +396,17 @@ export const ChangelogConfigurationsApiFactory = function (configuration?: Confi
|
|
|
339
396
|
createChangelogConfiguration(createChangelogConfigurationDto: CreateChangelogConfigurationDto, authorization?: string, options?: any): AxiosPromise<GetChangelogConfigurationResponseClass> {
|
|
340
397
|
return localVarFp.createChangelogConfiguration(createChangelogConfigurationDto, authorization, options).then((request) => request(axios, basePath));
|
|
341
398
|
},
|
|
399
|
+
/**
|
|
400
|
+
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
|
|
401
|
+
* @summary Delete the changelog configuration
|
|
402
|
+
* @param {string} code Unique identifier code for the changelog configuration
|
|
403
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
404
|
+
* @param {*} [options] Override http request option.
|
|
405
|
+
* @throws {RequiredError}
|
|
406
|
+
*/
|
|
407
|
+
deleteChangelogConfiguration(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
408
|
+
return localVarFp.deleteChangelogConfiguration(code, authorization, options).then((request) => request(axios, basePath));
|
|
409
|
+
},
|
|
342
410
|
/**
|
|
343
411
|
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
|
|
344
412
|
* @summary Retrieve the changelog configuration
|
|
@@ -403,6 +471,27 @@ export interface ChangelogConfigurationsApiCreateChangelogConfigurationRequest {
|
|
|
403
471
|
readonly authorization?: string
|
|
404
472
|
}
|
|
405
473
|
|
|
474
|
+
/**
|
|
475
|
+
* Request parameters for deleteChangelogConfiguration operation in ChangelogConfigurationsApi.
|
|
476
|
+
* @export
|
|
477
|
+
* @interface ChangelogConfigurationsApiDeleteChangelogConfigurationRequest
|
|
478
|
+
*/
|
|
479
|
+
export interface ChangelogConfigurationsApiDeleteChangelogConfigurationRequest {
|
|
480
|
+
/**
|
|
481
|
+
* Unique identifier code for the changelog configuration
|
|
482
|
+
* @type {string}
|
|
483
|
+
* @memberof ChangelogConfigurationsApiDeleteChangelogConfiguration
|
|
484
|
+
*/
|
|
485
|
+
readonly code: string
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
489
|
+
* @type {string}
|
|
490
|
+
* @memberof ChangelogConfigurationsApiDeleteChangelogConfiguration
|
|
491
|
+
*/
|
|
492
|
+
readonly authorization?: string
|
|
493
|
+
}
|
|
494
|
+
|
|
406
495
|
/**
|
|
407
496
|
* Request parameters for getChangelogConfiguration operation in ChangelogConfigurationsApi.
|
|
408
497
|
* @export
|
|
@@ -534,6 +623,18 @@ export class ChangelogConfigurationsApi extends BaseAPI {
|
|
|
534
623
|
return ChangelogConfigurationsApiFp(this.configuration).createChangelogConfiguration(requestParameters.createChangelogConfigurationDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
535
624
|
}
|
|
536
625
|
|
|
626
|
+
/**
|
|
627
|
+
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
|
|
628
|
+
* @summary Delete the changelog configuration
|
|
629
|
+
* @param {ChangelogConfigurationsApiDeleteChangelogConfigurationRequest} requestParameters Request parameters.
|
|
630
|
+
* @param {*} [options] Override http request option.
|
|
631
|
+
* @throws {RequiredError}
|
|
632
|
+
* @memberof ChangelogConfigurationsApi
|
|
633
|
+
*/
|
|
634
|
+
public deleteChangelogConfiguration(requestParameters: ChangelogConfigurationsApiDeleteChangelogConfigurationRequest, options?: AxiosRequestConfig) {
|
|
635
|
+
return ChangelogConfigurationsApiFp(this.configuration).deleteChangelogConfiguration(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
636
|
+
}
|
|
637
|
+
|
|
537
638
|
/**
|
|
538
639
|
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
|
|
539
640
|
* @summary Retrieve the changelog configuration
|
|
@@ -30,6 +30,15 @@ export declare const ChangelogConfigurationsApiAxiosParamCreator: (configuration
|
|
|
30
30
|
* @throws {RequiredError}
|
|
31
31
|
*/
|
|
32
32
|
createChangelogConfiguration: (createChangelogConfigurationDto: CreateChangelogConfigurationDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
|
+
/**
|
|
34
|
+
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
|
|
35
|
+
* @summary Delete the changelog configuration
|
|
36
|
+
* @param {string} code Unique identifier code for the changelog configuration
|
|
37
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
deleteChangelogConfiguration: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
42
|
/**
|
|
34
43
|
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
|
|
35
44
|
* @summary Retrieve the changelog configuration
|
|
@@ -79,6 +88,15 @@ export declare const ChangelogConfigurationsApiFp: (configuration?: Configuratio
|
|
|
79
88
|
* @throws {RequiredError}
|
|
80
89
|
*/
|
|
81
90
|
createChangelogConfiguration(createChangelogConfigurationDto: CreateChangelogConfigurationDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetChangelogConfigurationResponseClass>>;
|
|
91
|
+
/**
|
|
92
|
+
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
|
|
93
|
+
* @summary Delete the changelog configuration
|
|
94
|
+
* @param {string} code Unique identifier code for the changelog configuration
|
|
95
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
deleteChangelogConfiguration(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
82
100
|
/**
|
|
83
101
|
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
|
|
84
102
|
* @summary Retrieve the changelog configuration
|
|
@@ -128,6 +146,15 @@ export declare const ChangelogConfigurationsApiFactory: (configuration?: Configu
|
|
|
128
146
|
* @throws {RequiredError}
|
|
129
147
|
*/
|
|
130
148
|
createChangelogConfiguration(createChangelogConfigurationDto: CreateChangelogConfigurationDto, authorization?: string, options?: any): AxiosPromise<GetChangelogConfigurationResponseClass>;
|
|
149
|
+
/**
|
|
150
|
+
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
|
|
151
|
+
* @summary Delete the changelog configuration
|
|
152
|
+
* @param {string} code Unique identifier code for the changelog configuration
|
|
153
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
*/
|
|
157
|
+
deleteChangelogConfiguration(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
131
158
|
/**
|
|
132
159
|
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
|
|
133
160
|
* @summary Retrieve the changelog configuration
|
|
@@ -182,6 +209,25 @@ export interface ChangelogConfigurationsApiCreateChangelogConfigurationRequest {
|
|
|
182
209
|
*/
|
|
183
210
|
readonly authorization?: string;
|
|
184
211
|
}
|
|
212
|
+
/**
|
|
213
|
+
* Request parameters for deleteChangelogConfiguration operation in ChangelogConfigurationsApi.
|
|
214
|
+
* @export
|
|
215
|
+
* @interface ChangelogConfigurationsApiDeleteChangelogConfigurationRequest
|
|
216
|
+
*/
|
|
217
|
+
export interface ChangelogConfigurationsApiDeleteChangelogConfigurationRequest {
|
|
218
|
+
/**
|
|
219
|
+
* Unique identifier code for the changelog configuration
|
|
220
|
+
* @type {string}
|
|
221
|
+
* @memberof ChangelogConfigurationsApiDeleteChangelogConfiguration
|
|
222
|
+
*/
|
|
223
|
+
readonly code: string;
|
|
224
|
+
/**
|
|
225
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
226
|
+
* @type {string}
|
|
227
|
+
* @memberof ChangelogConfigurationsApiDeleteChangelogConfiguration
|
|
228
|
+
*/
|
|
229
|
+
readonly authorization?: string;
|
|
230
|
+
}
|
|
185
231
|
/**
|
|
186
232
|
* Request parameters for getChangelogConfiguration operation in ChangelogConfigurationsApi.
|
|
187
233
|
* @export
|
|
@@ -297,6 +343,15 @@ export declare class ChangelogConfigurationsApi extends BaseAPI {
|
|
|
297
343
|
* @memberof ChangelogConfigurationsApi
|
|
298
344
|
*/
|
|
299
345
|
createChangelogConfiguration(requestParameters: ChangelogConfigurationsApiCreateChangelogConfigurationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetChangelogConfigurationResponseClass, any, {}>>;
|
|
346
|
+
/**
|
|
347
|
+
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
|
|
348
|
+
* @summary Delete the changelog configuration
|
|
349
|
+
* @param {ChangelogConfigurationsApiDeleteChangelogConfigurationRequest} requestParameters Request parameters.
|
|
350
|
+
* @param {*} [options] Override http request option.
|
|
351
|
+
* @throws {RequiredError}
|
|
352
|
+
* @memberof ChangelogConfigurationsApi
|
|
353
|
+
*/
|
|
354
|
+
deleteChangelogConfiguration(requestParameters: ChangelogConfigurationsApiDeleteChangelogConfigurationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
300
355
|
/**
|
|
301
356
|
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
|
|
302
357
|
* @summary Retrieve the changelog configuration
|
|
@@ -141,6 +141,54 @@ var ChangelogConfigurationsApiAxiosParamCreator = function (configuration) {
|
|
|
141
141
|
});
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
|
+
/**
|
|
145
|
+
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
|
|
146
|
+
* @summary Delete the changelog configuration
|
|
147
|
+
* @param {string} code Unique identifier code for the changelog configuration
|
|
148
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
*/
|
|
152
|
+
deleteChangelogConfiguration: function (code, authorization, options) {
|
|
153
|
+
if (options === void 0) { options = {}; }
|
|
154
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
156
|
+
return __generator(this, function (_a) {
|
|
157
|
+
switch (_a.label) {
|
|
158
|
+
case 0:
|
|
159
|
+
// verify required parameter 'code' is not null or undefined
|
|
160
|
+
(0, common_1.assertParamExists)('deleteChangelogConfiguration', 'code', code);
|
|
161
|
+
localVarPath = "/changelogservice/v1/changelog-configurations/{code}"
|
|
162
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
163
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
164
|
+
if (configuration) {
|
|
165
|
+
baseOptions = configuration.baseOptions;
|
|
166
|
+
baseAccessToken = configuration.accessToken;
|
|
167
|
+
}
|
|
168
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
169
|
+
localVarHeaderParameter = {};
|
|
170
|
+
localVarQueryParameter = {};
|
|
171
|
+
// authentication bearer required
|
|
172
|
+
// http bearer authentication required
|
|
173
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
174
|
+
case 1:
|
|
175
|
+
// authentication bearer required
|
|
176
|
+
// http bearer authentication required
|
|
177
|
+
_a.sent();
|
|
178
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
179
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
180
|
+
}
|
|
181
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
183
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
184
|
+
return [2 /*return*/, {
|
|
185
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
186
|
+
options: localVarRequestOptions,
|
|
187
|
+
}];
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
},
|
|
144
192
|
/**
|
|
145
193
|
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
|
|
146
194
|
* @summary Retrieve the changelog configuration
|
|
@@ -345,6 +393,27 @@ var ChangelogConfigurationsApiFp = function (configuration) {
|
|
|
345
393
|
});
|
|
346
394
|
});
|
|
347
395
|
},
|
|
396
|
+
/**
|
|
397
|
+
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
|
|
398
|
+
* @summary Delete the changelog configuration
|
|
399
|
+
* @param {string} code Unique identifier code for the changelog configuration
|
|
400
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
401
|
+
* @param {*} [options] Override http request option.
|
|
402
|
+
* @throws {RequiredError}
|
|
403
|
+
*/
|
|
404
|
+
deleteChangelogConfiguration: function (code, authorization, options) {
|
|
405
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
406
|
+
var localVarAxiosArgs;
|
|
407
|
+
return __generator(this, function (_a) {
|
|
408
|
+
switch (_a.label) {
|
|
409
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteChangelogConfiguration(code, authorization, options)];
|
|
410
|
+
case 1:
|
|
411
|
+
localVarAxiosArgs = _a.sent();
|
|
412
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
413
|
+
}
|
|
414
|
+
});
|
|
415
|
+
});
|
|
416
|
+
},
|
|
348
417
|
/**
|
|
349
418
|
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
|
|
350
419
|
* @summary Retrieve the changelog configuration
|
|
@@ -436,6 +505,17 @@ var ChangelogConfigurationsApiFactory = function (configuration, basePath, axios
|
|
|
436
505
|
createChangelogConfiguration: function (createChangelogConfigurationDto, authorization, options) {
|
|
437
506
|
return localVarFp.createChangelogConfiguration(createChangelogConfigurationDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
438
507
|
},
|
|
508
|
+
/**
|
|
509
|
+
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
|
|
510
|
+
* @summary Delete the changelog configuration
|
|
511
|
+
* @param {string} code Unique identifier code for the changelog configuration
|
|
512
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
513
|
+
* @param {*} [options] Override http request option.
|
|
514
|
+
* @throws {RequiredError}
|
|
515
|
+
*/
|
|
516
|
+
deleteChangelogConfiguration: function (code, authorization, options) {
|
|
517
|
+
return localVarFp.deleteChangelogConfiguration(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
518
|
+
},
|
|
439
519
|
/**
|
|
440
520
|
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
|
|
441
521
|
* @summary Retrieve the changelog configuration
|
|
@@ -502,6 +582,18 @@ var ChangelogConfigurationsApi = /** @class */ (function (_super) {
|
|
|
502
582
|
var _this = this;
|
|
503
583
|
return (0, exports.ChangelogConfigurationsApiFp)(this.configuration).createChangelogConfiguration(requestParameters.createChangelogConfigurationDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
504
584
|
};
|
|
585
|
+
/**
|
|
586
|
+
* Deletes a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.delete\"
|
|
587
|
+
* @summary Delete the changelog configuration
|
|
588
|
+
* @param {ChangelogConfigurationsApiDeleteChangelogConfigurationRequest} requestParameters Request parameters.
|
|
589
|
+
* @param {*} [options] Override http request option.
|
|
590
|
+
* @throws {RequiredError}
|
|
591
|
+
* @memberof ChangelogConfigurationsApi
|
|
592
|
+
*/
|
|
593
|
+
ChangelogConfigurationsApi.prototype.deleteChangelogConfiguration = function (requestParameters, options) {
|
|
594
|
+
var _this = this;
|
|
595
|
+
return (0, exports.ChangelogConfigurationsApiFp)(this.configuration).deleteChangelogConfiguration(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
596
|
+
};
|
|
505
597
|
/**
|
|
506
598
|
* Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
|
|
507
599
|
* @summary Retrieve the changelog configuration
|