@emilgroup/changelog-sdk 1.0.1-beta.1 → 1.0.1-beta.10

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 (60) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/README.md +2 -2
  3. package/api/changelog-configurations-api.ts +572 -0
  4. package/api/changelog-events-api.ts +205 -4
  5. package/api.ts +2 -0
  6. package/dist/api/changelog-configurations-api.d.ts +327 -0
  7. package/dist/api/changelog-configurations-api.js +544 -0
  8. package/dist/api/changelog-events-api.d.ts +123 -4
  9. package/dist/api/changelog-events-api.js +137 -3
  10. package/dist/api.d.ts +1 -0
  11. package/dist/api.js +1 -0
  12. package/dist/models/changelog-config-field-class.d.ts +72 -0
  13. package/dist/models/changelog-config-field-class.js +21 -0
  14. package/dist/models/changelog-config-field-dto.d.ts +74 -0
  15. package/dist/models/changelog-config-field-dto.js +21 -0
  16. package/dist/models/changelog-config-section-class.d.ts +43 -0
  17. package/dist/models/changelog-config-section-class.js +15 -0
  18. package/dist/models/changelog-config-section-dto.d.ts +43 -0
  19. package/dist/models/changelog-config-section-dto.js +15 -0
  20. package/dist/models/changelog-configuration-class.d.ts +67 -0
  21. package/dist/models/changelog-configuration-class.js +15 -0
  22. package/dist/models/composite-source-dto.d.ts +30 -0
  23. package/dist/models/composite-source-dto.js +15 -0
  24. package/dist/models/create-changelog-configuration-dto.d.ts +37 -0
  25. package/dist/models/create-changelog-configuration-dto.js +15 -0
  26. package/dist/models/formatted-changelog-event.d.ts +67 -0
  27. package/dist/models/formatted-changelog-event.js +15 -0
  28. package/dist/models/formatted-field-entry.d.ts +48 -0
  29. package/dist/models/formatted-field-entry.js +15 -0
  30. package/dist/models/formatted-section.d.ts +43 -0
  31. package/dist/models/formatted-section.js +15 -0
  32. package/dist/models/get-changelog-configuration-response-class.d.ts +25 -0
  33. package/dist/models/get-changelog-configuration-response-class.js +15 -0
  34. package/dist/models/index.d.ts +15 -0
  35. package/dist/models/index.js +15 -0
  36. package/dist/models/json-sub-field-dto.d.ts +36 -0
  37. package/dist/models/json-sub-field-dto.js +15 -0
  38. package/dist/models/list-changelog-configurations-response-class.d.ts +43 -0
  39. package/dist/models/list-changelog-configurations-response-class.js +15 -0
  40. package/dist/models/list-formatted-changelog-events-response-class.d.ts +43 -0
  41. package/dist/models/list-formatted-changelog-events-response-class.js +15 -0
  42. package/dist/models/update-changelog-configuration-dto.d.ts +25 -0
  43. package/dist/models/update-changelog-configuration-dto.js +15 -0
  44. package/models/changelog-config-field-class.ts +81 -0
  45. package/models/changelog-config-field-dto.ts +83 -0
  46. package/models/changelog-config-section-class.ts +49 -0
  47. package/models/changelog-config-section-dto.ts +49 -0
  48. package/models/changelog-configuration-class.ts +73 -0
  49. package/models/composite-source-dto.ts +36 -0
  50. package/models/create-changelog-configuration-dto.ts +43 -0
  51. package/models/formatted-changelog-event.ts +73 -0
  52. package/models/formatted-field-entry.ts +54 -0
  53. package/models/formatted-section.ts +49 -0
  54. package/models/get-changelog-configuration-response-class.ts +31 -0
  55. package/models/index.ts +15 -0
  56. package/models/json-sub-field-dto.ts +42 -0
  57. package/models/list-changelog-configurations-response-class.ts +49 -0
  58. package/models/list-formatted-changelog-events-response-class.ts +49 -0
  59. package/models/update-changelog-configuration-dto.ts +31 -0
  60. package/package.json +1 -1
@@ -3,6 +3,7 @@
3
3
  .openapi-generator-ignore
4
4
  README.md
5
5
  api.ts
6
+ api/changelog-configurations-api.ts
6
7
  api/changelog-events-api.ts
7
8
  api/health-checks-api.ts
8
9
  base.ts
@@ -10,12 +11,27 @@ common.ts
10
11
  configuration.ts
11
12
  git_push.sh
12
13
  index.ts
14
+ models/changelog-config-field-class.ts
15
+ models/changelog-config-field-dto.ts
16
+ models/changelog-config-section-class.ts
17
+ models/changelog-config-section-dto.ts
18
+ models/changelog-configuration-class.ts
13
19
  models/changelog-event-class-changes.ts
14
20
  models/changelog-event-class.ts
21
+ models/composite-source-dto.ts
22
+ models/create-changelog-configuration-dto.ts
23
+ models/formatted-changelog-event.ts
24
+ models/formatted-field-entry.ts
25
+ models/formatted-section.ts
26
+ models/get-changelog-configuration-response-class.ts
15
27
  models/get-changelog-event-response-class.ts
16
28
  models/index.ts
17
29
  models/inline-response200.ts
18
30
  models/inline-response503.ts
31
+ models/json-sub-field-dto.ts
32
+ models/list-changelog-configurations-response-class.ts
19
33
  models/list-changelog-events-response-class.ts
34
+ models/list-formatted-changelog-events-response-class.ts
35
+ models/update-changelog-configuration-dto.ts
20
36
  package.json
21
37
  tsconfig.json
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/changelog-sdk@1.0.1-beta.1 --save
20
+ npm install @emilgroup/changelog-sdk@1.0.1-beta.10 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/changelog-sdk@1.0.1-beta.1
24
+ yarn add @emilgroup/changelog-sdk@1.0.1-beta.10
25
25
  ```
26
26
 
27
27
  And then you can import ``.
@@ -0,0 +1,572 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL Changelogservice
5
+ * The EMIL Changelog Service API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { CreateChangelogConfigurationDto } from '../models';
25
+ // @ts-ignore
26
+ import { GetChangelogConfigurationResponseClass } from '../models';
27
+ // @ts-ignore
28
+ import { ListChangelogConfigurationsResponseClass } from '../models';
29
+ // @ts-ignore
30
+ import { UpdateChangelogConfigurationDto } from '../models';
31
+ /**
32
+ * ChangelogConfigurationsApi - axios parameter creator
33
+ * @export
34
+ */
35
+ export const ChangelogConfigurationsApiAxiosParamCreator = function (configuration?: Configuration) {
36
+ return {
37
+ /**
38
+ * Creates a new changelog configuration for an entity type **Required Permissions** none
39
+ * @summary Create the changelog configuration
40
+ * @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto
41
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ createChangelogConfiguration: async (createChangelogConfigurationDto: CreateChangelogConfigurationDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46
+ // verify required parameter 'createChangelogConfigurationDto' is not null or undefined
47
+ assertParamExists('createChangelogConfiguration', 'createChangelogConfigurationDto', createChangelogConfigurationDto)
48
+ const localVarPath = `/changelogservice/v1/changelog-configurations`;
49
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
51
+ let baseOptions;
52
+ let baseAccessToken;
53
+ if (configuration) {
54
+ baseOptions = configuration.baseOptions;
55
+ baseAccessToken = configuration.accessToken;
56
+ }
57
+
58
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
59
+ const localVarHeaderParameter = {} as any;
60
+ const localVarQueryParameter = {} as any;
61
+
62
+ // authentication bearer required
63
+ // http bearer authentication required
64
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
65
+
66
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
67
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
68
+ }
69
+
70
+
71
+
72
+ localVarHeaderParameter['Content-Type'] = 'application/json';
73
+
74
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
75
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
76
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
77
+ localVarRequestOptions.data = serializeDataIfNeeded(createChangelogConfigurationDto, localVarRequestOptions, configuration)
78
+
79
+ return {
80
+ url: toPathString(localVarUrlObj),
81
+ options: localVarRequestOptions,
82
+ };
83
+ },
84
+ /**
85
+ * Retrieves a changelog configuration by its code **Required Permissions** none
86
+ * @summary Retrieve the changelog configuration
87
+ * @param {string} code Unique identifier code for the changelog configuration
88
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
89
+ * @param {*} [options] Override http request option.
90
+ * @throws {RequiredError}
91
+ */
92
+ getChangelogConfiguration: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
93
+ // verify required parameter 'code' is not null or undefined
94
+ assertParamExists('getChangelogConfiguration', 'code', code)
95
+ const localVarPath = `/changelogservice/v1/changelog-configurations/{code}`
96
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
97
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
98
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
99
+ let baseOptions;
100
+ let baseAccessToken;
101
+ if (configuration) {
102
+ baseOptions = configuration.baseOptions;
103
+ baseAccessToken = configuration.accessToken;
104
+ }
105
+
106
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
107
+ const localVarHeaderParameter = {} as any;
108
+ const localVarQueryParameter = {} as any;
109
+
110
+ // authentication bearer required
111
+ // http bearer authentication required
112
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
113
+
114
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
115
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
116
+ }
117
+
118
+
119
+
120
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
121
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
122
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
123
+
124
+ return {
125
+ url: toPathString(localVarUrlObj),
126
+ options: localVarRequestOptions,
127
+ };
128
+ },
129
+ /**
130
+ * 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
131
+ * @summary List changelog configurations
132
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
133
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
134
+ * @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.
135
+ * @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;
136
+ * @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;
137
+ * @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;
138
+ * @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;
139
+ * @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;
140
+ * @param {*} [options] Override http request option.
141
+ * @throws {RequiredError}
142
+ */
143
+ listChangelogConfigurations: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
144
+ const localVarPath = `/changelogservice/v1/changelog-configurations`;
145
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
146
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
147
+ let baseOptions;
148
+ let baseAccessToken;
149
+ if (configuration) {
150
+ baseOptions = configuration.baseOptions;
151
+ baseAccessToken = configuration.accessToken;
152
+ }
153
+
154
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
155
+ const localVarHeaderParameter = {} as any;
156
+ const localVarQueryParameter = {} as any;
157
+
158
+ // authentication bearer required
159
+ // http bearer authentication required
160
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
161
+
162
+ if (pageSize !== undefined) {
163
+ localVarQueryParameter['pageSize'] = pageSize;
164
+ }
165
+
166
+ if (pageToken !== undefined) {
167
+ localVarQueryParameter['pageToken'] = pageToken;
168
+ }
169
+
170
+ if (filter !== undefined) {
171
+ localVarQueryParameter['filter'] = filter;
172
+ }
173
+
174
+ if (search !== undefined) {
175
+ localVarQueryParameter['search'] = search;
176
+ }
177
+
178
+ if (order !== undefined) {
179
+ localVarQueryParameter['order'] = order;
180
+ }
181
+
182
+ if (expand !== undefined) {
183
+ localVarQueryParameter['expand'] = expand;
184
+ }
185
+
186
+ if (filters !== undefined) {
187
+ localVarQueryParameter['filters'] = filters;
188
+ }
189
+
190
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
191
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
192
+ }
193
+
194
+
195
+
196
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
197
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
198
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
199
+
200
+ return {
201
+ url: toPathString(localVarUrlObj),
202
+ options: localVarRequestOptions,
203
+ };
204
+ },
205
+ /**
206
+ * Updates an existing changelog configuration **Required Permissions** none
207
+ * @summary Update the changelog configuration
208
+ * @param {string} code Unique identifier code for the changelog configuration
209
+ * @param {UpdateChangelogConfigurationDto} updateChangelogConfigurationDto
210
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
211
+ * @param {*} [options] Override http request option.
212
+ * @throws {RequiredError}
213
+ */
214
+ updateChangelogConfiguration: async (code: string, updateChangelogConfigurationDto: UpdateChangelogConfigurationDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
215
+ // verify required parameter 'code' is not null or undefined
216
+ assertParamExists('updateChangelogConfiguration', 'code', code)
217
+ // verify required parameter 'updateChangelogConfigurationDto' is not null or undefined
218
+ assertParamExists('updateChangelogConfiguration', 'updateChangelogConfigurationDto', updateChangelogConfigurationDto)
219
+ const localVarPath = `/changelogservice/v1/changelog-configurations/{code}`
220
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
221
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
222
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
223
+ let baseOptions;
224
+ let baseAccessToken;
225
+ if (configuration) {
226
+ baseOptions = configuration.baseOptions;
227
+ baseAccessToken = configuration.accessToken;
228
+ }
229
+
230
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
231
+ const localVarHeaderParameter = {} as any;
232
+ const localVarQueryParameter = {} as any;
233
+
234
+ // authentication bearer required
235
+ // http bearer authentication required
236
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
237
+
238
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
239
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
240
+ }
241
+
242
+
243
+
244
+ localVarHeaderParameter['Content-Type'] = 'application/json';
245
+
246
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
247
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
248
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
249
+ localVarRequestOptions.data = serializeDataIfNeeded(updateChangelogConfigurationDto, localVarRequestOptions, configuration)
250
+
251
+ return {
252
+ url: toPathString(localVarUrlObj),
253
+ options: localVarRequestOptions,
254
+ };
255
+ },
256
+ }
257
+ };
258
+
259
+ /**
260
+ * ChangelogConfigurationsApi - functional programming interface
261
+ * @export
262
+ */
263
+ export const ChangelogConfigurationsApiFp = function(configuration?: Configuration) {
264
+ const localVarAxiosParamCreator = ChangelogConfigurationsApiAxiosParamCreator(configuration)
265
+ return {
266
+ /**
267
+ * Creates a new changelog configuration for an entity type **Required Permissions** none
268
+ * @summary Create the changelog configuration
269
+ * @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto
270
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
271
+ * @param {*} [options] Override http request option.
272
+ * @throws {RequiredError}
273
+ */
274
+ async createChangelogConfiguration(createChangelogConfigurationDto: CreateChangelogConfigurationDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetChangelogConfigurationResponseClass>> {
275
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createChangelogConfiguration(createChangelogConfigurationDto, authorization, options);
276
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
277
+ },
278
+ /**
279
+ * Retrieves a changelog configuration by its code **Required Permissions** none
280
+ * @summary Retrieve the changelog configuration
281
+ * @param {string} code Unique identifier code for the changelog configuration
282
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
283
+ * @param {*} [options] Override http request option.
284
+ * @throws {RequiredError}
285
+ */
286
+ async getChangelogConfiguration(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetChangelogConfigurationResponseClass>> {
287
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getChangelogConfiguration(code, authorization, options);
288
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
289
+ },
290
+ /**
291
+ * 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
292
+ * @summary List changelog configurations
293
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
294
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
295
+ * @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.
296
+ * @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;
297
+ * @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;
298
+ * @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;
299
+ * @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;
300
+ * @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;
301
+ * @param {*} [options] Override http request option.
302
+ * @throws {RequiredError}
303
+ */
304
+ async 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>> {
305
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listChangelogConfigurations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
306
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
307
+ },
308
+ /**
309
+ * Updates an existing changelog configuration **Required Permissions** none
310
+ * @summary Update the changelog configuration
311
+ * @param {string} code Unique identifier code for the changelog configuration
312
+ * @param {UpdateChangelogConfigurationDto} updateChangelogConfigurationDto
313
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
314
+ * @param {*} [options] Override http request option.
315
+ * @throws {RequiredError}
316
+ */
317
+ async updateChangelogConfiguration(code: string, updateChangelogConfigurationDto: UpdateChangelogConfigurationDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetChangelogConfigurationResponseClass>> {
318
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateChangelogConfiguration(code, updateChangelogConfigurationDto, authorization, options);
319
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
320
+ },
321
+ }
322
+ };
323
+
324
+ /**
325
+ * ChangelogConfigurationsApi - factory interface
326
+ * @export
327
+ */
328
+ export const ChangelogConfigurationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
329
+ const localVarFp = ChangelogConfigurationsApiFp(configuration)
330
+ return {
331
+ /**
332
+ * Creates a new changelog configuration for an entity type **Required Permissions** none
333
+ * @summary Create the changelog configuration
334
+ * @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto
335
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
336
+ * @param {*} [options] Override http request option.
337
+ * @throws {RequiredError}
338
+ */
339
+ createChangelogConfiguration(createChangelogConfigurationDto: CreateChangelogConfigurationDto, authorization?: string, options?: any): AxiosPromise<GetChangelogConfigurationResponseClass> {
340
+ return localVarFp.createChangelogConfiguration(createChangelogConfigurationDto, authorization, options).then((request) => request(axios, basePath));
341
+ },
342
+ /**
343
+ * Retrieves a changelog configuration by its code **Required Permissions** none
344
+ * @summary Retrieve the changelog configuration
345
+ * @param {string} code Unique identifier code for the changelog configuration
346
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
347
+ * @param {*} [options] Override http request option.
348
+ * @throws {RequiredError}
349
+ */
350
+ getChangelogConfiguration(code: string, authorization?: string, options?: any): AxiosPromise<GetChangelogConfigurationResponseClass> {
351
+ return localVarFp.getChangelogConfiguration(code, authorization, options).then((request) => request(axios, basePath));
352
+ },
353
+ /**
354
+ * 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
355
+ * @summary List changelog configurations
356
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
357
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
358
+ * @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.
359
+ * @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;
360
+ * @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;
361
+ * @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;
362
+ * @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;
363
+ * @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;
364
+ * @param {*} [options] Override http request option.
365
+ * @throws {RequiredError}
366
+ */
367
+ listChangelogConfigurations(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListChangelogConfigurationsResponseClass> {
368
+ return localVarFp.listChangelogConfigurations(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
369
+ },
370
+ /**
371
+ * Updates an existing changelog configuration **Required Permissions** none
372
+ * @summary Update the changelog configuration
373
+ * @param {string} code Unique identifier code for the changelog configuration
374
+ * @param {UpdateChangelogConfigurationDto} updateChangelogConfigurationDto
375
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
376
+ * @param {*} [options] Override http request option.
377
+ * @throws {RequiredError}
378
+ */
379
+ updateChangelogConfiguration(code: string, updateChangelogConfigurationDto: UpdateChangelogConfigurationDto, authorization?: string, options?: any): AxiosPromise<GetChangelogConfigurationResponseClass> {
380
+ return localVarFp.updateChangelogConfiguration(code, updateChangelogConfigurationDto, authorization, options).then((request) => request(axios, basePath));
381
+ },
382
+ };
383
+ };
384
+
385
+ /**
386
+ * Request parameters for createChangelogConfiguration operation in ChangelogConfigurationsApi.
387
+ * @export
388
+ * @interface ChangelogConfigurationsApiCreateChangelogConfigurationRequest
389
+ */
390
+ export interface ChangelogConfigurationsApiCreateChangelogConfigurationRequest {
391
+ /**
392
+ *
393
+ * @type {CreateChangelogConfigurationDto}
394
+ * @memberof ChangelogConfigurationsApiCreateChangelogConfiguration
395
+ */
396
+ readonly createChangelogConfigurationDto: CreateChangelogConfigurationDto
397
+
398
+ /**
399
+ * Bearer Token: provided by the login endpoint under the name accessToken.
400
+ * @type {string}
401
+ * @memberof ChangelogConfigurationsApiCreateChangelogConfiguration
402
+ */
403
+ readonly authorization?: string
404
+ }
405
+
406
+ /**
407
+ * Request parameters for getChangelogConfiguration operation in ChangelogConfigurationsApi.
408
+ * @export
409
+ * @interface ChangelogConfigurationsApiGetChangelogConfigurationRequest
410
+ */
411
+ export interface ChangelogConfigurationsApiGetChangelogConfigurationRequest {
412
+ /**
413
+ * Unique identifier code for the changelog configuration
414
+ * @type {string}
415
+ * @memberof ChangelogConfigurationsApiGetChangelogConfiguration
416
+ */
417
+ readonly code: string
418
+
419
+ /**
420
+ * Bearer Token: provided by the login endpoint under the name accessToken.
421
+ * @type {string}
422
+ * @memberof ChangelogConfigurationsApiGetChangelogConfiguration
423
+ */
424
+ readonly authorization?: string
425
+ }
426
+
427
+ /**
428
+ * Request parameters for listChangelogConfigurations operation in ChangelogConfigurationsApi.
429
+ * @export
430
+ * @interface ChangelogConfigurationsApiListChangelogConfigurationsRequest
431
+ */
432
+ export interface ChangelogConfigurationsApiListChangelogConfigurationsRequest {
433
+ /**
434
+ * Bearer Token: provided by the login endpoint under the name accessToken.
435
+ * @type {string}
436
+ * @memberof ChangelogConfigurationsApiListChangelogConfigurations
437
+ */
438
+ readonly authorization?: string
439
+
440
+ /**
441
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
442
+ * @type {number}
443
+ * @memberof ChangelogConfigurationsApiListChangelogConfigurations
444
+ */
445
+ readonly pageSize?: number
446
+
447
+ /**
448
+ * 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.
449
+ * @type {string}
450
+ * @memberof ChangelogConfigurationsApiListChangelogConfigurations
451
+ */
452
+ readonly pageToken?: string
453
+
454
+ /**
455
+ * 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;
456
+ * @type {string}
457
+ * @memberof ChangelogConfigurationsApiListChangelogConfigurations
458
+ */
459
+ readonly filter?: string
460
+
461
+ /**
462
+ * 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;
463
+ * @type {string}
464
+ * @memberof ChangelogConfigurationsApiListChangelogConfigurations
465
+ */
466
+ readonly search?: string
467
+
468
+ /**
469
+ * 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;
470
+ * @type {string}
471
+ * @memberof ChangelogConfigurationsApiListChangelogConfigurations
472
+ */
473
+ readonly order?: string
474
+
475
+ /**
476
+ * 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;
477
+ * @type {string}
478
+ * @memberof ChangelogConfigurationsApiListChangelogConfigurations
479
+ */
480
+ readonly expand?: string
481
+
482
+ /**
483
+ * 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;
484
+ * @type {string}
485
+ * @memberof ChangelogConfigurationsApiListChangelogConfigurations
486
+ */
487
+ readonly filters?: string
488
+ }
489
+
490
+ /**
491
+ * Request parameters for updateChangelogConfiguration operation in ChangelogConfigurationsApi.
492
+ * @export
493
+ * @interface ChangelogConfigurationsApiUpdateChangelogConfigurationRequest
494
+ */
495
+ export interface ChangelogConfigurationsApiUpdateChangelogConfigurationRequest {
496
+ /**
497
+ * Unique identifier code for the changelog configuration
498
+ * @type {string}
499
+ * @memberof ChangelogConfigurationsApiUpdateChangelogConfiguration
500
+ */
501
+ readonly code: string
502
+
503
+ /**
504
+ *
505
+ * @type {UpdateChangelogConfigurationDto}
506
+ * @memberof ChangelogConfigurationsApiUpdateChangelogConfiguration
507
+ */
508
+ readonly updateChangelogConfigurationDto: UpdateChangelogConfigurationDto
509
+
510
+ /**
511
+ * Bearer Token: provided by the login endpoint under the name accessToken.
512
+ * @type {string}
513
+ * @memberof ChangelogConfigurationsApiUpdateChangelogConfiguration
514
+ */
515
+ readonly authorization?: string
516
+ }
517
+
518
+ /**
519
+ * ChangelogConfigurationsApi - object-oriented interface
520
+ * @export
521
+ * @class ChangelogConfigurationsApi
522
+ * @extends {BaseAPI}
523
+ */
524
+ export class ChangelogConfigurationsApi extends BaseAPI {
525
+ /**
526
+ * Creates a new changelog configuration for an entity type **Required Permissions** none
527
+ * @summary Create the changelog configuration
528
+ * @param {ChangelogConfigurationsApiCreateChangelogConfigurationRequest} requestParameters Request parameters.
529
+ * @param {*} [options] Override http request option.
530
+ * @throws {RequiredError}
531
+ * @memberof ChangelogConfigurationsApi
532
+ */
533
+ public createChangelogConfiguration(requestParameters: ChangelogConfigurationsApiCreateChangelogConfigurationRequest, options?: AxiosRequestConfig) {
534
+ return ChangelogConfigurationsApiFp(this.configuration).createChangelogConfiguration(requestParameters.createChangelogConfigurationDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
535
+ }
536
+
537
+ /**
538
+ * Retrieves a changelog configuration by its code **Required Permissions** none
539
+ * @summary Retrieve the changelog configuration
540
+ * @param {ChangelogConfigurationsApiGetChangelogConfigurationRequest} requestParameters Request parameters.
541
+ * @param {*} [options] Override http request option.
542
+ * @throws {RequiredError}
543
+ * @memberof ChangelogConfigurationsApi
544
+ */
545
+ public getChangelogConfiguration(requestParameters: ChangelogConfigurationsApiGetChangelogConfigurationRequest, options?: AxiosRequestConfig) {
546
+ return ChangelogConfigurationsApiFp(this.configuration).getChangelogConfiguration(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
547
+ }
548
+
549
+ /**
550
+ * 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
551
+ * @summary List changelog configurations
552
+ * @param {ChangelogConfigurationsApiListChangelogConfigurationsRequest} requestParameters Request parameters.
553
+ * @param {*} [options] Override http request option.
554
+ * @throws {RequiredError}
555
+ * @memberof ChangelogConfigurationsApi
556
+ */
557
+ public listChangelogConfigurations(requestParameters: ChangelogConfigurationsApiListChangelogConfigurationsRequest = {}, options?: AxiosRequestConfig) {
558
+ return ChangelogConfigurationsApiFp(this.configuration).listChangelogConfigurations(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
559
+ }
560
+
561
+ /**
562
+ * Updates an existing changelog configuration **Required Permissions** none
563
+ * @summary Update the changelog configuration
564
+ * @param {ChangelogConfigurationsApiUpdateChangelogConfigurationRequest} requestParameters Request parameters.
565
+ * @param {*} [options] Override http request option.
566
+ * @throws {RequiredError}
567
+ * @memberof ChangelogConfigurationsApi
568
+ */
569
+ public updateChangelogConfiguration(requestParameters: ChangelogConfigurationsApiUpdateChangelogConfigurationRequest, options?: AxiosRequestConfig) {
570
+ return ChangelogConfigurationsApiFp(this.configuration).updateChangelogConfiguration(requestParameters.code, requestParameters.updateChangelogConfigurationDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
571
+ }
572
+ }