@emilgroup/changelog-sdk 1.0.1-beta.9 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,7 +22,7 @@ import { UpdateChangelogConfigurationDto } from '../models';
22
22
  */
23
23
  export declare const ChangelogConfigurationsApiAxiosParamCreator: (configuration?: Configuration) => {
24
24
  /**
25
- * Creates a new changelog configuration for an entity type **Required Permissions** none
25
+ * Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
26
26
  * @summary Create the changelog configuration
27
27
  * @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto
28
28
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -31,7 +31,16 @@ export declare const ChangelogConfigurationsApiAxiosParamCreator: (configuration
31
31
  */
32
32
  createChangelogConfiguration: (createChangelogConfigurationDto: CreateChangelogConfigurationDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
33
  /**
34
- * Retrieves a changelog configuration by its code **Required Permissions** none
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>;
42
+ /**
43
+ * Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
35
44
  * @summary Retrieve the changelog configuration
36
45
  * @param {string} code Unique identifier code for the changelog configuration
37
46
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -40,22 +49,22 @@ export declare const ChangelogConfigurationsApiAxiosParamCreator: (configuration
40
49
  */
41
50
  getChangelogConfiguration: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
42
51
  /**
43
- * Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
52
+ * Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
44
53
  * @summary List changelog configurations
45
54
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
46
55
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
47
56
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
48
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
57
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
49
58
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, slug, entityType&lt;/i&gt;
50
59
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
51
60
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
52
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
61
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
53
62
  * @param {*} [options] Override http request option.
54
63
  * @throws {RequiredError}
55
64
  */
56
65
  listChangelogConfigurations: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
57
66
  /**
58
- * Updates an existing changelog configuration **Required Permissions** none
67
+ * Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
59
68
  * @summary Update the changelog configuration
60
69
  * @param {string} code Unique identifier code for the changelog configuration
61
70
  * @param {UpdateChangelogConfigurationDto} updateChangelogConfigurationDto
@@ -71,7 +80,7 @@ export declare const ChangelogConfigurationsApiAxiosParamCreator: (configuration
71
80
  */
72
81
  export declare const ChangelogConfigurationsApiFp: (configuration?: Configuration) => {
73
82
  /**
74
- * Creates a new changelog configuration for an entity type **Required Permissions** none
83
+ * Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
75
84
  * @summary Create the changelog configuration
76
85
  * @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto
77
86
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -80,7 +89,16 @@ export declare const ChangelogConfigurationsApiFp: (configuration?: Configuratio
80
89
  */
81
90
  createChangelogConfiguration(createChangelogConfigurationDto: CreateChangelogConfigurationDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetChangelogConfigurationResponseClass>>;
82
91
  /**
83
- * Retrieves a changelog configuration by its code **Required Permissions** none
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>>;
100
+ /**
101
+ * Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
84
102
  * @summary Retrieve the changelog configuration
85
103
  * @param {string} code Unique identifier code for the changelog configuration
86
104
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -89,22 +107,22 @@ export declare const ChangelogConfigurationsApiFp: (configuration?: Configuratio
89
107
  */
90
108
  getChangelogConfiguration(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetChangelogConfigurationResponseClass>>;
91
109
  /**
92
- * Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
110
+ * Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
93
111
  * @summary List changelog configurations
94
112
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
95
113
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
96
114
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
97
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
115
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
98
116
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, slug, entityType&lt;/i&gt;
99
117
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
100
118
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
101
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
119
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
102
120
  * @param {*} [options] Override http request option.
103
121
  * @throws {RequiredError}
104
122
  */
105
123
  listChangelogConfigurations(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListChangelogConfigurationsResponseClass>>;
106
124
  /**
107
- * Updates an existing changelog configuration **Required Permissions** none
125
+ * Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
108
126
  * @summary Update the changelog configuration
109
127
  * @param {string} code Unique identifier code for the changelog configuration
110
128
  * @param {UpdateChangelogConfigurationDto} updateChangelogConfigurationDto
@@ -120,7 +138,7 @@ export declare const ChangelogConfigurationsApiFp: (configuration?: Configuratio
120
138
  */
121
139
  export declare const ChangelogConfigurationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
122
140
  /**
123
- * Creates a new changelog configuration for an entity type **Required Permissions** none
141
+ * Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
124
142
  * @summary Create the changelog configuration
125
143
  * @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto
126
144
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -129,7 +147,16 @@ export declare const ChangelogConfigurationsApiFactory: (configuration?: Configu
129
147
  */
130
148
  createChangelogConfiguration(createChangelogConfigurationDto: CreateChangelogConfigurationDto, authorization?: string, options?: any): AxiosPromise<GetChangelogConfigurationResponseClass>;
131
149
  /**
132
- * Retrieves a changelog configuration by its code **Required Permissions** none
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>;
158
+ /**
159
+ * Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
133
160
  * @summary Retrieve the changelog configuration
134
161
  * @param {string} code Unique identifier code for the changelog configuration
135
162
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -138,22 +165,22 @@ export declare const ChangelogConfigurationsApiFactory: (configuration?: Configu
138
165
  */
139
166
  getChangelogConfiguration(code: string, authorization?: string, options?: any): AxiosPromise<GetChangelogConfigurationResponseClass>;
140
167
  /**
141
- * Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
168
+ * Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
142
169
  * @summary List changelog configurations
143
170
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
144
171
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
145
172
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
146
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
173
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
147
174
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, slug, entityType&lt;/i&gt;
148
175
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
149
176
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
150
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
177
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
151
178
  * @param {*} [options] Override http request option.
152
179
  * @throws {RequiredError}
153
180
  */
154
181
  listChangelogConfigurations(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListChangelogConfigurationsResponseClass>;
155
182
  /**
156
- * Updates an existing changelog configuration **Required Permissions** none
183
+ * Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
157
184
  * @summary Update the changelog configuration
158
185
  * @param {string} code Unique identifier code for the changelog configuration
159
186
  * @param {UpdateChangelogConfigurationDto} updateChangelogConfigurationDto
@@ -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
@@ -226,7 +272,7 @@ export interface ChangelogConfigurationsApiListChangelogConfigurationsRequest {
226
272
  */
227
273
  readonly pageToken?: string;
228
274
  /**
229
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
275
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
230
276
  * @type {string}
231
277
  * @memberof ChangelogConfigurationsApiListChangelogConfigurations
232
278
  */
@@ -250,7 +296,7 @@ export interface ChangelogConfigurationsApiListChangelogConfigurationsRequest {
250
296
  */
251
297
  readonly expand?: string;
252
298
  /**
253
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
299
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
254
300
  * @type {string}
255
301
  * @memberof ChangelogConfigurationsApiListChangelogConfigurations
256
302
  */
@@ -289,7 +335,7 @@ export interface ChangelogConfigurationsApiUpdateChangelogConfigurationRequest {
289
335
  */
290
336
  export declare class ChangelogConfigurationsApi extends BaseAPI {
291
337
  /**
292
- * Creates a new changelog configuration for an entity type **Required Permissions** none
338
+ * Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
293
339
  * @summary Create the changelog configuration
294
340
  * @param {ChangelogConfigurationsApiCreateChangelogConfigurationRequest} requestParameters Request parameters.
295
341
  * @param {*} [options] Override http request option.
@@ -298,7 +344,16 @@ export declare class ChangelogConfigurationsApi extends BaseAPI {
298
344
  */
299
345
  createChangelogConfiguration(requestParameters: ChangelogConfigurationsApiCreateChangelogConfigurationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetChangelogConfigurationResponseClass, any, {}>>;
300
346
  /**
301
- * Retrieves a changelog configuration by its code **Required Permissions** none
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, {}>>;
355
+ /**
356
+ * Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
302
357
  * @summary Retrieve the changelog configuration
303
358
  * @param {ChangelogConfigurationsApiGetChangelogConfigurationRequest} requestParameters Request parameters.
304
359
  * @param {*} [options] Override http request option.
@@ -307,7 +362,7 @@ export declare class ChangelogConfigurationsApi extends BaseAPI {
307
362
  */
308
363
  getChangelogConfiguration(requestParameters: ChangelogConfigurationsApiGetChangelogConfigurationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetChangelogConfigurationResponseClass, any, {}>>;
309
364
  /**
310
- * Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
365
+ * Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
311
366
  * @summary List changelog configurations
312
367
  * @param {ChangelogConfigurationsApiListChangelogConfigurationsRequest} requestParameters Request parameters.
313
368
  * @param {*} [options] Override http request option.
@@ -316,7 +371,7 @@ export declare class ChangelogConfigurationsApi extends BaseAPI {
316
371
  */
317
372
  listChangelogConfigurations(requestParameters?: ChangelogConfigurationsApiListChangelogConfigurationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListChangelogConfigurationsResponseClass, any, {}>>;
318
373
  /**
319
- * Updates an existing changelog configuration **Required Permissions** none
374
+ * Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
320
375
  * @summary Update the changelog configuration
321
376
  * @param {ChangelogConfigurationsApiUpdateChangelogConfigurationRequest} requestParameters Request parameters.
322
377
  * @param {*} [options] Override http request option.
@@ -93,7 +93,7 @@ var ChangelogConfigurationsApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * Creates a new changelog configuration for an entity type **Required Permissions** none
96
+ * Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
97
97
  * @summary Create the changelog configuration
98
98
  * @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto
99
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -142,7 +142,55 @@ var ChangelogConfigurationsApiAxiosParamCreator = function (configuration) {
142
142
  });
143
143
  },
144
144
  /**
145
- * Retrieves a changelog configuration by its code **Required Permissions** none
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
+ },
192
+ /**
193
+ * Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
146
194
  * @summary Retrieve the changelog configuration
147
195
  * @param {string} code Unique identifier code for the changelog configuration
148
196
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -190,16 +238,16 @@ var ChangelogConfigurationsApiAxiosParamCreator = function (configuration) {
190
238
  });
191
239
  },
192
240
  /**
193
- * Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
241
+ * Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
194
242
  * @summary List changelog configurations
195
243
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
196
244
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
197
245
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
198
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
246
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
199
247
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, slug, entityType&lt;/i&gt;
200
248
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
201
249
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
202
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
250
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
203
251
  * @param {*} [options] Override http request option.
204
252
  * @throws {RequiredError}
205
253
  */
@@ -262,7 +310,7 @@ var ChangelogConfigurationsApiAxiosParamCreator = function (configuration) {
262
310
  });
263
311
  },
264
312
  /**
265
- * Updates an existing changelog configuration **Required Permissions** none
313
+ * Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
266
314
  * @summary Update the changelog configuration
267
315
  * @param {string} code Unique identifier code for the changelog configuration
268
316
  * @param {UpdateChangelogConfigurationDto} updateChangelogConfigurationDto
@@ -325,7 +373,7 @@ var ChangelogConfigurationsApiFp = function (configuration) {
325
373
  var localVarAxiosParamCreator = (0, exports.ChangelogConfigurationsApiAxiosParamCreator)(configuration);
326
374
  return {
327
375
  /**
328
- * Creates a new changelog configuration for an entity type **Required Permissions** none
376
+ * Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
329
377
  * @summary Create the changelog configuration
330
378
  * @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto
331
379
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -346,7 +394,28 @@ var ChangelogConfigurationsApiFp = function (configuration) {
346
394
  });
347
395
  },
348
396
  /**
349
- * Retrieves a changelog configuration by its code **Required Permissions** none
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
+ },
417
+ /**
418
+ * Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
350
419
  * @summary Retrieve the changelog configuration
351
420
  * @param {string} code Unique identifier code for the changelog configuration
352
421
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -367,16 +436,16 @@ var ChangelogConfigurationsApiFp = function (configuration) {
367
436
  });
368
437
  },
369
438
  /**
370
- * Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
439
+ * Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
371
440
  * @summary List changelog configurations
372
441
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
373
442
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
374
443
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
375
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
444
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
376
445
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, slug, entityType&lt;/i&gt;
377
446
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
378
447
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
379
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
448
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
380
449
  * @param {*} [options] Override http request option.
381
450
  * @throws {RequiredError}
382
451
  */
@@ -394,7 +463,7 @@ var ChangelogConfigurationsApiFp = function (configuration) {
394
463
  });
395
464
  },
396
465
  /**
397
- * Updates an existing changelog configuration **Required Permissions** none
466
+ * Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
398
467
  * @summary Update the changelog configuration
399
468
  * @param {string} code Unique identifier code for the changelog configuration
400
469
  * @param {UpdateChangelogConfigurationDto} updateChangelogConfigurationDto
@@ -426,7 +495,7 @@ var ChangelogConfigurationsApiFactory = function (configuration, basePath, axios
426
495
  var localVarFp = (0, exports.ChangelogConfigurationsApiFp)(configuration);
427
496
  return {
428
497
  /**
429
- * Creates a new changelog configuration for an entity type **Required Permissions** none
498
+ * Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
430
499
  * @summary Create the changelog configuration
431
500
  * @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto
432
501
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -437,7 +506,18 @@ var ChangelogConfigurationsApiFactory = function (configuration, basePath, axios
437
506
  return localVarFp.createChangelogConfiguration(createChangelogConfigurationDto, authorization, options).then(function (request) { return request(axios, basePath); });
438
507
  },
439
508
  /**
440
- * Retrieves a changelog configuration by its code **Required Permissions** none
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
+ },
519
+ /**
520
+ * Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
441
521
  * @summary Retrieve the changelog configuration
442
522
  * @param {string} code Unique identifier code for the changelog configuration
443
523
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -448,16 +528,16 @@ var ChangelogConfigurationsApiFactory = function (configuration, basePath, axios
448
528
  return localVarFp.getChangelogConfiguration(code, authorization, options).then(function (request) { return request(axios, basePath); });
449
529
  },
450
530
  /**
451
- * Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
531
+ * Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
452
532
  * @summary List changelog configurations
453
533
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
454
534
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
455
535
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
456
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
536
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
457
537
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, slug, entityType&lt;/i&gt;
458
538
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
459
539
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
460
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
540
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, slug, entityType, createdAt, updatedAt&lt;/i&gt;
461
541
  * @param {*} [options] Override http request option.
462
542
  * @throws {RequiredError}
463
543
  */
@@ -465,7 +545,7 @@ var ChangelogConfigurationsApiFactory = function (configuration, basePath, axios
465
545
  return localVarFp.listChangelogConfigurations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
466
546
  },
467
547
  /**
468
- * Updates an existing changelog configuration **Required Permissions** none
548
+ * Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
469
549
  * @summary Update the changelog configuration
470
550
  * @param {string} code Unique identifier code for the changelog configuration
471
551
  * @param {UpdateChangelogConfigurationDto} updateChangelogConfigurationDto
@@ -491,7 +571,7 @@ var ChangelogConfigurationsApi = /** @class */ (function (_super) {
491
571
  return _super !== null && _super.apply(this, arguments) || this;
492
572
  }
493
573
  /**
494
- * Creates a new changelog configuration for an entity type **Required Permissions** none
574
+ * Creates a new changelog configuration for an entity type **Required Permissions** \"changelog-management.changelog-configurations.create\"
495
575
  * @summary Create the changelog configuration
496
576
  * @param {ChangelogConfigurationsApiCreateChangelogConfigurationRequest} requestParameters Request parameters.
497
577
  * @param {*} [options] Override http request option.
@@ -503,7 +583,19 @@ var ChangelogConfigurationsApi = /** @class */ (function (_super) {
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
  };
505
585
  /**
506
- * Retrieves a changelog configuration by its code **Required Permissions** none
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
+ };
597
+ /**
598
+ * Retrieves a changelog configuration by its code **Required Permissions** \"changelog-management.changelog-configurations.view\"
507
599
  * @summary Retrieve the changelog configuration
508
600
  * @param {ChangelogConfigurationsApiGetChangelogConfigurationRequest} requestParameters Request parameters.
509
601
  * @param {*} [options] Override http request option.
@@ -515,7 +607,7 @@ var ChangelogConfigurationsApi = /** @class */ (function (_super) {
515
607
  return (0, exports.ChangelogConfigurationsApiFp)(this.configuration).getChangelogConfiguration(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
516
608
  };
517
609
  /**
518
- * Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
610
+ * Returns a list of changelog configurations you have previously created. The changelog configurations are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"changelog-management.changelog-configurations.view\"
519
611
  * @summary List changelog configurations
520
612
  * @param {ChangelogConfigurationsApiListChangelogConfigurationsRequest} requestParameters Request parameters.
521
613
  * @param {*} [options] Override http request option.
@@ -528,7 +620,7 @@ var ChangelogConfigurationsApi = /** @class */ (function (_super) {
528
620
  return (0, exports.ChangelogConfigurationsApiFp)(this.configuration).listChangelogConfigurations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
529
621
  };
530
622
  /**
531
- * Updates an existing changelog configuration **Required Permissions** none
623
+ * Updates an existing changelog configuration **Required Permissions** \"changelog-management.changelog-configurations.update\"
532
624
  * @summary Update the changelog configuration
533
625
  * @param {ChangelogConfigurationsApiUpdateChangelogConfigurationRequest} requestParameters Request parameters.
534
626
  * @param {*} [options] Override http request option.