@emilgroup/changelog-sdk 1.0.1-beta.2 → 1.0.1-beta.4

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.
Files changed (33) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/README.md +2 -2
  3. package/api/changelog-configurations-api.ts +188 -0
  4. package/api/changelog-events-api.ts +201 -0
  5. package/dist/api/changelog-configurations-api.d.ts +110 -0
  6. package/dist/api/changelog-configurations-api.js +129 -0
  7. package/dist/api/changelog-events-api.d.ts +119 -0
  8. package/dist/api/changelog-events-api.js +134 -0
  9. package/dist/models/changelog-config-field-class.d.ts +6 -0
  10. package/dist/models/changelog-configuration-class.d.ts +6 -0
  11. package/dist/models/create-changelog-configuration-dto.d.ts +6 -0
  12. package/dist/models/formatted-changelog-event.d.ts +67 -0
  13. package/dist/models/formatted-changelog-event.js +15 -0
  14. package/dist/models/formatted-field-entry.d.ts +48 -0
  15. package/dist/models/formatted-field-entry.js +15 -0
  16. package/dist/models/formatted-section.d.ts +43 -0
  17. package/dist/models/formatted-section.js +15 -0
  18. package/dist/models/index.d.ts +5 -0
  19. package/dist/models/index.js +5 -0
  20. package/dist/models/list-changelog-configurations-response-class.d.ts +43 -0
  21. package/dist/models/list-changelog-configurations-response-class.js +15 -0
  22. package/dist/models/list-formatted-changelog-events-response-class.d.ts +43 -0
  23. package/dist/models/list-formatted-changelog-events-response-class.js +15 -0
  24. package/models/changelog-config-field-class.ts +6 -0
  25. package/models/changelog-configuration-class.ts +6 -0
  26. package/models/create-changelog-configuration-dto.ts +6 -0
  27. package/models/formatted-changelog-event.ts +73 -0
  28. package/models/formatted-field-entry.ts +54 -0
  29. package/models/formatted-section.ts +49 -0
  30. package/models/index.ts +5 -0
  31. package/models/list-changelog-configurations-response-class.ts +49 -0
  32. package/models/list-formatted-changelog-events-response-class.ts +49 -0
  33. package/package.json +1 -1
@@ -14,6 +14,7 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateChangelogConfigurationDto } from '../models';
16
16
  import { GetChangelogConfigurationResponseClass } from '../models';
17
+ import { ListChangelogConfigurationsResponseClass } from '../models';
17
18
  import { UpdateChangelogConfigurationDto } from '../models';
18
19
  /**
19
20
  * ChangelogConfigurationsApi - axios parameter creator
@@ -38,6 +39,21 @@ export declare const ChangelogConfigurationsApiAxiosParamCreator: (configuration
38
39
  * @throws {RequiredError}
39
40
  */
40
41
  getChangelogConfiguration: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
42
+ /**
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
44
+ * @summary List changelog configurations
45
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
46
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
47
+ * @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;
49
+ * @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
+ * @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
+ * @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;
53
+ * @param {*} [options] Override http request option.
54
+ * @throws {RequiredError}
55
+ */
56
+ listChangelogConfigurations: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41
57
  /**
42
58
  * Updates an existing changelog configuration **Required Permissions** none
43
59
  * @summary Update the changelog configuration
@@ -72,6 +88,21 @@ export declare const ChangelogConfigurationsApiFp: (configuration?: Configuratio
72
88
  * @throws {RequiredError}
73
89
  */
74
90
  getChangelogConfiguration(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetChangelogConfigurationResponseClass>>;
91
+ /**
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
93
+ * @summary List changelog configurations
94
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
95
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
96
+ * @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;
98
+ * @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
+ * @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
+ * @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;
102
+ * @param {*} [options] Override http request option.
103
+ * @throws {RequiredError}
104
+ */
105
+ 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>>;
75
106
  /**
76
107
  * Updates an existing changelog configuration **Required Permissions** none
77
108
  * @summary Update the changelog configuration
@@ -106,6 +137,21 @@ export declare const ChangelogConfigurationsApiFactory: (configuration?: Configu
106
137
  * @throws {RequiredError}
107
138
  */
108
139
  getChangelogConfiguration(code: string, authorization?: string, options?: any): AxiosPromise<GetChangelogConfigurationResponseClass>;
140
+ /**
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
142
+ * @summary List changelog configurations
143
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
144
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
145
+ * @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;
147
+ * @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
+ * @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
+ * @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;
151
+ * @param {*} [options] Override http request option.
152
+ * @throws {RequiredError}
153
+ */
154
+ listChangelogConfigurations(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListChangelogConfigurationsResponseClass>;
109
155
  /**
110
156
  * Updates an existing changelog configuration **Required Permissions** none
111
157
  * @summary Update the changelog configuration
@@ -155,6 +201,61 @@ export interface ChangelogConfigurationsApiGetChangelogConfigurationRequest {
155
201
  */
156
202
  readonly authorization?: string;
157
203
  }
204
+ /**
205
+ * Request parameters for listChangelogConfigurations operation in ChangelogConfigurationsApi.
206
+ * @export
207
+ * @interface ChangelogConfigurationsApiListChangelogConfigurationsRequest
208
+ */
209
+ export interface ChangelogConfigurationsApiListChangelogConfigurationsRequest {
210
+ /**
211
+ * Bearer Token: provided by the login endpoint under the name accessToken.
212
+ * @type {string}
213
+ * @memberof ChangelogConfigurationsApiListChangelogConfigurations
214
+ */
215
+ readonly authorization?: string;
216
+ /**
217
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
218
+ * @type {number}
219
+ * @memberof ChangelogConfigurationsApiListChangelogConfigurations
220
+ */
221
+ readonly pageSize?: number;
222
+ /**
223
+ * 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.
224
+ * @type {string}
225
+ * @memberof ChangelogConfigurationsApiListChangelogConfigurations
226
+ */
227
+ readonly pageToken?: string;
228
+ /**
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;
230
+ * @type {string}
231
+ * @memberof ChangelogConfigurationsApiListChangelogConfigurations
232
+ */
233
+ readonly filter?: string;
234
+ /**
235
+ * 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;
236
+ * @type {string}
237
+ * @memberof ChangelogConfigurationsApiListChangelogConfigurations
238
+ */
239
+ readonly search?: string;
240
+ /**
241
+ * 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;
242
+ * @type {string}
243
+ * @memberof ChangelogConfigurationsApiListChangelogConfigurations
244
+ */
245
+ readonly order?: string;
246
+ /**
247
+ * 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;
248
+ * @type {string}
249
+ * @memberof ChangelogConfigurationsApiListChangelogConfigurations
250
+ */
251
+ readonly expand?: string;
252
+ /**
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;
254
+ * @type {string}
255
+ * @memberof ChangelogConfigurationsApiListChangelogConfigurations
256
+ */
257
+ readonly filters?: string;
258
+ }
158
259
  /**
159
260
  * Request parameters for updateChangelogConfiguration operation in ChangelogConfigurationsApi.
160
261
  * @export
@@ -205,6 +306,15 @@ export declare class ChangelogConfigurationsApi extends BaseAPI {
205
306
  * @memberof ChangelogConfigurationsApi
206
307
  */
207
308
  getChangelogConfiguration(requestParameters: ChangelogConfigurationsApiGetChangelogConfigurationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetChangelogConfigurationResponseClass, any, {}>>;
309
+ /**
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
311
+ * @summary List changelog configurations
312
+ * @param {ChangelogConfigurationsApiListChangelogConfigurationsRequest} requestParameters Request parameters.
313
+ * @param {*} [options] Override http request option.
314
+ * @throws {RequiredError}
315
+ * @memberof ChangelogConfigurationsApi
316
+ */
317
+ listChangelogConfigurations(requestParameters?: ChangelogConfigurationsApiListChangelogConfigurationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListChangelogConfigurationsResponseClass, any, {}>>;
208
318
  /**
209
319
  * Updates an existing changelog configuration **Required Permissions** none
210
320
  * @summary Update the changelog configuration
@@ -189,6 +189,78 @@ var ChangelogConfigurationsApiAxiosParamCreator = function (configuration) {
189
189
  });
190
190
  });
191
191
  },
192
+ /**
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
194
+ * @summary List changelog configurations
195
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
196
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
197
+ * @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;
199
+ * @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
+ * @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
+ * @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;
203
+ * @param {*} [options] Override http request option.
204
+ * @throws {RequiredError}
205
+ */
206
+ listChangelogConfigurations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
207
+ if (options === void 0) { options = {}; }
208
+ return __awaiter(_this, void 0, void 0, function () {
209
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
210
+ return __generator(this, function (_a) {
211
+ switch (_a.label) {
212
+ case 0:
213
+ localVarPath = "/changelogservice/v1/changelog-configurations";
214
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
215
+ if (configuration) {
216
+ baseOptions = configuration.baseOptions;
217
+ baseAccessToken = configuration.accessToken;
218
+ }
219
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
220
+ localVarHeaderParameter = {};
221
+ localVarQueryParameter = {};
222
+ // authentication bearer required
223
+ // http bearer authentication required
224
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
225
+ case 1:
226
+ // authentication bearer required
227
+ // http bearer authentication required
228
+ _a.sent();
229
+ if (pageSize !== undefined) {
230
+ localVarQueryParameter['pageSize'] = pageSize;
231
+ }
232
+ if (pageToken !== undefined) {
233
+ localVarQueryParameter['pageToken'] = pageToken;
234
+ }
235
+ if (filter !== undefined) {
236
+ localVarQueryParameter['filter'] = filter;
237
+ }
238
+ if (search !== undefined) {
239
+ localVarQueryParameter['search'] = search;
240
+ }
241
+ if (order !== undefined) {
242
+ localVarQueryParameter['order'] = order;
243
+ }
244
+ if (expand !== undefined) {
245
+ localVarQueryParameter['expand'] = expand;
246
+ }
247
+ if (filters !== undefined) {
248
+ localVarQueryParameter['filters'] = filters;
249
+ }
250
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
251
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
252
+ }
253
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
254
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
255
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
256
+ return [2 /*return*/, {
257
+ url: (0, common_1.toPathString)(localVarUrlObj),
258
+ options: localVarRequestOptions,
259
+ }];
260
+ }
261
+ });
262
+ });
263
+ },
192
264
  /**
193
265
  * Updates an existing changelog configuration **Required Permissions** none
194
266
  * @summary Update the changelog configuration
@@ -294,6 +366,33 @@ var ChangelogConfigurationsApiFp = function (configuration) {
294
366
  });
295
367
  });
296
368
  },
369
+ /**
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
371
+ * @summary List changelog configurations
372
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
373
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
374
+ * @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;
376
+ * @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
+ * @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
+ * @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;
380
+ * @param {*} [options] Override http request option.
381
+ * @throws {RequiredError}
382
+ */
383
+ listChangelogConfigurations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
384
+ return __awaiter(this, void 0, void 0, function () {
385
+ var localVarAxiosArgs;
386
+ return __generator(this, function (_a) {
387
+ switch (_a.label) {
388
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listChangelogConfigurations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
389
+ case 1:
390
+ localVarAxiosArgs = _a.sent();
391
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
392
+ }
393
+ });
394
+ });
395
+ },
297
396
  /**
298
397
  * Updates an existing changelog configuration **Required Permissions** none
299
398
  * @summary Update the changelog configuration
@@ -348,6 +447,23 @@ var ChangelogConfigurationsApiFactory = function (configuration, basePath, axios
348
447
  getChangelogConfiguration: function (code, authorization, options) {
349
448
  return localVarFp.getChangelogConfiguration(code, authorization, options).then(function (request) { return request(axios, basePath); });
350
449
  },
450
+ /**
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
452
+ * @summary List changelog configurations
453
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
454
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
455
+ * @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;
457
+ * @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
+ * @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
+ * @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;
461
+ * @param {*} [options] Override http request option.
462
+ * @throws {RequiredError}
463
+ */
464
+ listChangelogConfigurations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
465
+ return localVarFp.listChangelogConfigurations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
466
+ },
351
467
  /**
352
468
  * Updates an existing changelog configuration **Required Permissions** none
353
469
  * @summary Update the changelog configuration
@@ -398,6 +514,19 @@ var ChangelogConfigurationsApi = /** @class */ (function (_super) {
398
514
  var _this = this;
399
515
  return (0, exports.ChangelogConfigurationsApiFp)(this.configuration).getChangelogConfiguration(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
400
516
  };
517
+ /**
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
519
+ * @summary List changelog configurations
520
+ * @param {ChangelogConfigurationsApiListChangelogConfigurationsRequest} requestParameters Request parameters.
521
+ * @param {*} [options] Override http request option.
522
+ * @throws {RequiredError}
523
+ * @memberof ChangelogConfigurationsApi
524
+ */
525
+ ChangelogConfigurationsApi.prototype.listChangelogConfigurations = function (requestParameters, options) {
526
+ var _this = this;
527
+ if (requestParameters === void 0) { requestParameters = {}; }
528
+ 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
+ };
401
530
  /**
402
531
  * Updates an existing changelog configuration **Required Permissions** none
403
532
  * @summary Update the changelog configuration
@@ -14,6 +14,7 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { GetChangelogEventResponseClass } from '../models';
16
16
  import { ListChangelogEventsResponseClass } from '../models';
17
+ import { ListFormattedChangelogEventsResponseClass } from '../models';
17
18
  /**
18
19
  * ChangelogEventsApi - axios parameter creator
19
20
  * @export
@@ -43,6 +44,22 @@ export declare const ChangelogEventsApiAxiosParamCreator: (configuration?: Confi
43
44
  * @throws {RequiredError}
44
45
  */
45
46
  listChangelogEvents: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
+ /**
48
+ * Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
49
+ * @summary List formatted changelog events
50
+ * @param {string} configSlug Slug of the changelog configuration to apply
51
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
52
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
53
+ * @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.
54
+ * @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, entityType, entityCode, action, actorSub, actorType, sourceService, accountCode, partnerCode, policyCode, claimCode, parentType, parentCode, occurredAt, createdAt&lt;/i&gt;
55
+ * @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, entityCode, actorName, sourceService&lt;/i&gt;
56
+ * @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, occurredAt, createdAt, entityType, action&lt;/i&gt;
57
+ * @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;
58
+ * @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, entityType, entityCode, action, actorSub, actorType, sourceService, accountCode, partnerCode, policyCode, claimCode, parentType, parentCode, occurredAt, createdAt&lt;/i&gt;
59
+ * @param {*} [options] Override http request option.
60
+ * @throws {RequiredError}
61
+ */
62
+ listFormattedChangelogEvents: (configSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
46
63
  };
47
64
  /**
48
65
  * ChangelogEventsApi - functional programming interface
@@ -73,6 +90,22 @@ export declare const ChangelogEventsApiFp: (configuration?: Configuration) => {
73
90
  * @throws {RequiredError}
74
91
  */
75
92
  listChangelogEvents(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListChangelogEventsResponseClass>>;
93
+ /**
94
+ * Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
95
+ * @summary List formatted changelog events
96
+ * @param {string} configSlug Slug of the changelog configuration to apply
97
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
98
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
99
+ * @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.
100
+ * @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, entityType, entityCode, action, actorSub, actorType, sourceService, accountCode, partnerCode, policyCode, claimCode, parentType, parentCode, occurredAt, createdAt&lt;/i&gt;
101
+ * @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, entityCode, actorName, sourceService&lt;/i&gt;
102
+ * @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, occurredAt, createdAt, entityType, action&lt;/i&gt;
103
+ * @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;
104
+ * @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, entityType, entityCode, action, actorSub, actorType, sourceService, accountCode, partnerCode, policyCode, claimCode, parentType, parentCode, occurredAt, createdAt&lt;/i&gt;
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ listFormattedChangelogEvents(configSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListFormattedChangelogEventsResponseClass>>;
76
109
  };
77
110
  /**
78
111
  * ChangelogEventsApi - factory interface
@@ -103,6 +136,22 @@ export declare const ChangelogEventsApiFactory: (configuration?: Configuration,
103
136
  * @throws {RequiredError}
104
137
  */
105
138
  listChangelogEvents(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListChangelogEventsResponseClass>;
139
+ /**
140
+ * Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
141
+ * @summary List formatted changelog events
142
+ * @param {string} configSlug Slug of the changelog configuration to apply
143
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
144
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
145
+ * @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, entityType, entityCode, action, actorSub, actorType, sourceService, accountCode, partnerCode, policyCode, claimCode, parentType, parentCode, occurredAt, createdAt&lt;/i&gt;
147
+ * @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, entityCode, actorName, sourceService&lt;/i&gt;
148
+ * @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, occurredAt, createdAt, entityType, action&lt;/i&gt;
149
+ * @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, entityType, entityCode, action, actorSub, actorType, sourceService, accountCode, partnerCode, policyCode, claimCode, parentType, parentCode, occurredAt, createdAt&lt;/i&gt;
151
+ * @param {*} [options] Override http request option.
152
+ * @throws {RequiredError}
153
+ */
154
+ listFormattedChangelogEvents(configSlug: string, authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListFormattedChangelogEventsResponseClass>;
106
155
  };
107
156
  /**
108
157
  * Request parameters for getChangelogEvent operation in ChangelogEventsApi.
@@ -178,6 +227,67 @@ export interface ChangelogEventsApiListChangelogEventsRequest {
178
227
  */
179
228
  readonly filters?: string;
180
229
  }
230
+ /**
231
+ * Request parameters for listFormattedChangelogEvents operation in ChangelogEventsApi.
232
+ * @export
233
+ * @interface ChangelogEventsApiListFormattedChangelogEventsRequest
234
+ */
235
+ export interface ChangelogEventsApiListFormattedChangelogEventsRequest {
236
+ /**
237
+ * Slug of the changelog configuration to apply
238
+ * @type {string}
239
+ * @memberof ChangelogEventsApiListFormattedChangelogEvents
240
+ */
241
+ readonly configSlug: string;
242
+ /**
243
+ * Bearer Token: provided by the login endpoint under the name accessToken.
244
+ * @type {string}
245
+ * @memberof ChangelogEventsApiListFormattedChangelogEvents
246
+ */
247
+ readonly authorization?: string;
248
+ /**
249
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
250
+ * @type {number}
251
+ * @memberof ChangelogEventsApiListFormattedChangelogEvents
252
+ */
253
+ readonly pageSize?: number;
254
+ /**
255
+ * 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.
256
+ * @type {string}
257
+ * @memberof ChangelogEventsApiListFormattedChangelogEvents
258
+ */
259
+ readonly pageToken?: string;
260
+ /**
261
+ * 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, entityType, entityCode, action, actorSub, actorType, sourceService, accountCode, partnerCode, policyCode, claimCode, parentType, parentCode, occurredAt, createdAt&lt;/i&gt;
262
+ * @type {string}
263
+ * @memberof ChangelogEventsApiListFormattedChangelogEvents
264
+ */
265
+ readonly filter?: string;
266
+ /**
267
+ * 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, entityCode, actorName, sourceService&lt;/i&gt;
268
+ * @type {string}
269
+ * @memberof ChangelogEventsApiListFormattedChangelogEvents
270
+ */
271
+ readonly search?: string;
272
+ /**
273
+ * 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, occurredAt, createdAt, entityType, action&lt;/i&gt;
274
+ * @type {string}
275
+ * @memberof ChangelogEventsApiListFormattedChangelogEvents
276
+ */
277
+ readonly order?: string;
278
+ /**
279
+ * 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;
280
+ * @type {string}
281
+ * @memberof ChangelogEventsApiListFormattedChangelogEvents
282
+ */
283
+ readonly expand?: string;
284
+ /**
285
+ * 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, entityType, entityCode, action, actorSub, actorType, sourceService, accountCode, partnerCode, policyCode, claimCode, parentType, parentCode, occurredAt, createdAt&lt;/i&gt;
286
+ * @type {string}
287
+ * @memberof ChangelogEventsApiListFormattedChangelogEvents
288
+ */
289
+ readonly filters?: string;
290
+ }
181
291
  /**
182
292
  * ChangelogEventsApi - object-oriented interface
183
293
  * @export
@@ -203,4 +313,13 @@ export declare class ChangelogEventsApi extends BaseAPI {
203
313
  * @memberof ChangelogEventsApi
204
314
  */
205
315
  listChangelogEvents(requestParameters?: ChangelogEventsApiListChangelogEventsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListChangelogEventsResponseClass, any, {}>>;
316
+ /**
317
+ * Returns a list of formatted changelog events you have previously created. The formatted changelog events are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** none
318
+ * @summary List formatted changelog events
319
+ * @param {ChangelogEventsApiListFormattedChangelogEventsRequest} requestParameters Request parameters.
320
+ * @param {*} [options] Override http request option.
321
+ * @throws {RequiredError}
322
+ * @memberof ChangelogEventsApi
323
+ */
324
+ listFormattedChangelogEvents(requestParameters: ChangelogEventsApiListFormattedChangelogEventsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListFormattedChangelogEventsResponseClass, any, {}>>;
206
325
  }