@emilgroup/changelog-sdk 1.0.1-beta.14 → 1.0.1-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +0 -9
- package/README.md +2 -2
- package/api/changelog-configurations-api.ts +12 -200
- package/api/changelog-events-api.ts +20 -221
- package/dist/api/changelog-configurations-api.d.ts +12 -122
- package/dist/api/changelog-configurations-api.js +12 -141
- package/dist/api/changelog-events-api.d.ts +20 -139
- package/dist/api/changelog-events-api.js +17 -151
- package/dist/models/changelog-config-field-class.d.ts +0 -36
- package/dist/models/changelog-config-field-class.js +0 -6
- package/dist/models/changelog-configuration-class.d.ts +0 -12
- package/dist/models/create-changelog-configuration-dto.d.ts +3 -9
- package/dist/models/index.d.ts +0 -9
- package/dist/models/index.js +0 -9
- package/dist/models/update-changelog-configuration-dto.d.ts +3 -3
- package/models/changelog-config-field-class.ts +0 -39
- package/models/changelog-configuration-class.ts +0 -12
- package/models/create-changelog-configuration-dto.ts +3 -9
- package/models/index.ts +0 -9
- package/models/update-changelog-configuration-dto.ts +3 -3
- package/package.json +1 -1
- package/dist/models/changelog-config-field-dto.d.ts +0 -74
- package/dist/models/changelog-config-field-dto.js +0 -21
- package/dist/models/changelog-config-section-dto.d.ts +0 -43
- package/dist/models/changelog-config-section-dto.js +0 -15
- package/dist/models/composite-source-dto.d.ts +0 -30
- package/dist/models/composite-source-dto.js +0 -15
- package/dist/models/formatted-changelog-event.d.ts +0 -67
- package/dist/models/formatted-changelog-event.js +0 -15
- package/dist/models/formatted-field-entry.d.ts +0 -48
- package/dist/models/formatted-field-entry.js +0 -15
- package/dist/models/formatted-section.d.ts +0 -43
- package/dist/models/formatted-section.js +0 -15
- package/dist/models/json-sub-field-dto.d.ts +0 -36
- package/dist/models/json-sub-field-dto.js +0 -15
- package/dist/models/list-changelog-configurations-response-class.d.ts +0 -43
- package/dist/models/list-changelog-configurations-response-class.js +0 -15
- package/dist/models/list-formatted-changelog-events-response-class.d.ts +0 -43
- package/dist/models/list-formatted-changelog-events-response-class.js +0 -15
- package/models/changelog-config-field-dto.ts +0 -83
- package/models/changelog-config-section-dto.ts +0 -49
- package/models/composite-source-dto.ts +0 -36
- package/models/formatted-changelog-event.ts +0 -73
- package/models/formatted-field-entry.ts +0 -54
- package/models/formatted-section.ts +0 -49
- package/models/json-sub-field-dto.ts +0 -42
- package/models/list-changelog-configurations-response-class.ts +0 -49
- package/models/list-formatted-changelog-events-response-class.ts +0 -49
package/.openapi-generator/FILES
CHANGED
|
@@ -12,26 +12,17 @@ configuration.ts
|
|
|
12
12
|
git_push.sh
|
|
13
13
|
index.ts
|
|
14
14
|
models/changelog-config-field-class.ts
|
|
15
|
-
models/changelog-config-field-dto.ts
|
|
16
15
|
models/changelog-config-section-class.ts
|
|
17
|
-
models/changelog-config-section-dto.ts
|
|
18
16
|
models/changelog-configuration-class.ts
|
|
19
17
|
models/changelog-event-class-changes.ts
|
|
20
18
|
models/changelog-event-class.ts
|
|
21
|
-
models/composite-source-dto.ts
|
|
22
19
|
models/create-changelog-configuration-dto.ts
|
|
23
|
-
models/formatted-changelog-event.ts
|
|
24
|
-
models/formatted-field-entry.ts
|
|
25
|
-
models/formatted-section.ts
|
|
26
20
|
models/get-changelog-configuration-response-class.ts
|
|
27
21
|
models/get-changelog-event-response-class.ts
|
|
28
22
|
models/index.ts
|
|
29
23
|
models/inline-response200.ts
|
|
30
24
|
models/inline-response503.ts
|
|
31
|
-
models/json-sub-field-dto.ts
|
|
32
|
-
models/list-changelog-configurations-response-class.ts
|
|
33
25
|
models/list-changelog-events-response-class.ts
|
|
34
|
-
models/list-formatted-changelog-events-response-class.ts
|
|
35
26
|
models/update-changelog-configuration-dto.ts
|
|
36
27
|
package.json
|
|
37
28
|
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.
|
|
20
|
+
npm install @emilgroup/changelog-sdk@1.0.1-beta.2 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/changelog-sdk@1.0.1-beta.
|
|
24
|
+
yarn add @emilgroup/changelog-sdk@1.0.1-beta.2
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
|
@@ -25,8 +25,6 @@ import { CreateChangelogConfigurationDto } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { GetChangelogConfigurationResponseClass } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
|
-
import { ListChangelogConfigurationsResponseClass } from '../models';
|
|
29
|
-
// @ts-ignore
|
|
30
28
|
import { UpdateChangelogConfigurationDto } from '../models';
|
|
31
29
|
/**
|
|
32
30
|
* ChangelogConfigurationsApi - axios parameter creator
|
|
@@ -35,7 +33,7 @@ import { UpdateChangelogConfigurationDto } from '../models';
|
|
|
35
33
|
export const ChangelogConfigurationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
34
|
return {
|
|
37
35
|
/**
|
|
38
|
-
* Creates a new changelog configuration for an entity type **Required Permissions**
|
|
36
|
+
* Creates a new changelog configuration for an entity type **Required Permissions** none
|
|
39
37
|
* @summary Create the changelog configuration
|
|
40
38
|
* @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto
|
|
41
39
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -82,7 +80,7 @@ export const ChangelogConfigurationsApiAxiosParamCreator = function (configurati
|
|
|
82
80
|
};
|
|
83
81
|
},
|
|
84
82
|
/**
|
|
85
|
-
* Retrieves a changelog configuration by its code **Required Permissions**
|
|
83
|
+
* Retrieves a changelog configuration by its code **Required Permissions** none
|
|
86
84
|
* @summary Retrieve the changelog configuration
|
|
87
85
|
* @param {string} code Unique identifier code for the changelog configuration
|
|
88
86
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -127,83 +125,7 @@ export const ChangelogConfigurationsApiAxiosParamCreator = function (configurati
|
|
|
127
125
|
};
|
|
128
126
|
},
|
|
129
127
|
/**
|
|
130
|
-
*
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, slug, entityType, createdAt, updatedAt</i>
|
|
136
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, slug, entityType</i>
|
|
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.<br/> <br/> <i>Allowed values: id, code, slug, entityType, createdAt, updatedAt</i>
|
|
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.<br/> <br/>
|
|
139
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, entityType, createdAt, updatedAt</i>
|
|
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** \"changelog-management.changelog-configurations.update\"
|
|
128
|
+
* Updates an existing changelog configuration **Required Permissions** none
|
|
207
129
|
* @summary Update the changelog configuration
|
|
208
130
|
* @param {string} code Unique identifier code for the changelog configuration
|
|
209
131
|
* @param {UpdateChangelogConfigurationDto} updateChangelogConfigurationDto
|
|
@@ -264,7 +186,7 @@ export const ChangelogConfigurationsApiFp = function(configuration?: Configurati
|
|
|
264
186
|
const localVarAxiosParamCreator = ChangelogConfigurationsApiAxiosParamCreator(configuration)
|
|
265
187
|
return {
|
|
266
188
|
/**
|
|
267
|
-
* Creates a new changelog configuration for an entity type **Required Permissions**
|
|
189
|
+
* Creates a new changelog configuration for an entity type **Required Permissions** none
|
|
268
190
|
* @summary Create the changelog configuration
|
|
269
191
|
* @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto
|
|
270
192
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -276,7 +198,7 @@ export const ChangelogConfigurationsApiFp = function(configuration?: Configurati
|
|
|
276
198
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
277
199
|
},
|
|
278
200
|
/**
|
|
279
|
-
* Retrieves a changelog configuration by its code **Required Permissions**
|
|
201
|
+
* Retrieves a changelog configuration by its code **Required Permissions** none
|
|
280
202
|
* @summary Retrieve the changelog configuration
|
|
281
203
|
* @param {string} code Unique identifier code for the changelog configuration
|
|
282
204
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -288,25 +210,7 @@ export const ChangelogConfigurationsApiFp = function(configuration?: Configurati
|
|
|
288
210
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
289
211
|
},
|
|
290
212
|
/**
|
|
291
|
-
*
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, slug, entityType, createdAt, updatedAt</i>
|
|
297
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, slug, entityType</i>
|
|
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.<br/> <br/> <i>Allowed values: id, code, slug, entityType, createdAt, updatedAt</i>
|
|
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.<br/> <br/>
|
|
300
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, entityType, createdAt, updatedAt</i>
|
|
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** \"changelog-management.changelog-configurations.update\"
|
|
213
|
+
* Updates an existing changelog configuration **Required Permissions** none
|
|
310
214
|
* @summary Update the changelog configuration
|
|
311
215
|
* @param {string} code Unique identifier code for the changelog configuration
|
|
312
216
|
* @param {UpdateChangelogConfigurationDto} updateChangelogConfigurationDto
|
|
@@ -329,7 +233,7 @@ export const ChangelogConfigurationsApiFactory = function (configuration?: Confi
|
|
|
329
233
|
const localVarFp = ChangelogConfigurationsApiFp(configuration)
|
|
330
234
|
return {
|
|
331
235
|
/**
|
|
332
|
-
* Creates a new changelog configuration for an entity type **Required Permissions**
|
|
236
|
+
* Creates a new changelog configuration for an entity type **Required Permissions** none
|
|
333
237
|
* @summary Create the changelog configuration
|
|
334
238
|
* @param {CreateChangelogConfigurationDto} createChangelogConfigurationDto
|
|
335
239
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -340,7 +244,7 @@ export const ChangelogConfigurationsApiFactory = function (configuration?: Confi
|
|
|
340
244
|
return localVarFp.createChangelogConfiguration(createChangelogConfigurationDto, authorization, options).then((request) => request(axios, basePath));
|
|
341
245
|
},
|
|
342
246
|
/**
|
|
343
|
-
* Retrieves a changelog configuration by its code **Required Permissions**
|
|
247
|
+
* Retrieves a changelog configuration by its code **Required Permissions** none
|
|
344
248
|
* @summary Retrieve the changelog configuration
|
|
345
249
|
* @param {string} code Unique identifier code for the changelog configuration
|
|
346
250
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -351,24 +255,7 @@ export const ChangelogConfigurationsApiFactory = function (configuration?: Confi
|
|
|
351
255
|
return localVarFp.getChangelogConfiguration(code, authorization, options).then((request) => request(axios, basePath));
|
|
352
256
|
},
|
|
353
257
|
/**
|
|
354
|
-
*
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, slug, entityType, createdAt, updatedAt</i>
|
|
360
|
-
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, slug, entityType</i>
|
|
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.<br/> <br/> <i>Allowed values: id, code, slug, entityType, createdAt, updatedAt</i>
|
|
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.<br/> <br/>
|
|
363
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, slug, entityType, createdAt, updatedAt</i>
|
|
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** \"changelog-management.changelog-configurations.update\"
|
|
258
|
+
* Updates an existing changelog configuration **Required Permissions** none
|
|
372
259
|
* @summary Update the changelog configuration
|
|
373
260
|
* @param {string} code Unique identifier code for the changelog configuration
|
|
374
261
|
* @param {UpdateChangelogConfigurationDto} updateChangelogConfigurationDto
|
|
@@ -424,69 +311,6 @@ export interface ChangelogConfigurationsApiGetChangelogConfigurationRequest {
|
|
|
424
311
|
readonly authorization?: string
|
|
425
312
|
}
|
|
426
313
|
|
|
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=1, your subsequent call can include pageToken=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.<br/> <br/> <i>Allowed values: id, code, slug, entityType, createdAt, updatedAt</i>
|
|
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.<br/> <br/> <i>Searchable fields: code, slug, entityType</i>
|
|
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.<br/> <br/> <i>Allowed values: id, code, slug, entityType, createdAt, updatedAt</i>
|
|
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.<br/> <br/>
|
|
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.<br/> <br/> <i>Allowed values: id, code, slug, entityType, createdAt, updatedAt</i>
|
|
484
|
-
* @type {string}
|
|
485
|
-
* @memberof ChangelogConfigurationsApiListChangelogConfigurations
|
|
486
|
-
*/
|
|
487
|
-
readonly filters?: string
|
|
488
|
-
}
|
|
489
|
-
|
|
490
314
|
/**
|
|
491
315
|
* Request parameters for updateChangelogConfiguration operation in ChangelogConfigurationsApi.
|
|
492
316
|
* @export
|
|
@@ -523,7 +347,7 @@ export interface ChangelogConfigurationsApiUpdateChangelogConfigurationRequest {
|
|
|
523
347
|
*/
|
|
524
348
|
export class ChangelogConfigurationsApi extends BaseAPI {
|
|
525
349
|
/**
|
|
526
|
-
* Creates a new changelog configuration for an entity type **Required Permissions**
|
|
350
|
+
* Creates a new changelog configuration for an entity type **Required Permissions** none
|
|
527
351
|
* @summary Create the changelog configuration
|
|
528
352
|
* @param {ChangelogConfigurationsApiCreateChangelogConfigurationRequest} requestParameters Request parameters.
|
|
529
353
|
* @param {*} [options] Override http request option.
|
|
@@ -535,7 +359,7 @@ export class ChangelogConfigurationsApi extends BaseAPI {
|
|
|
535
359
|
}
|
|
536
360
|
|
|
537
361
|
/**
|
|
538
|
-
* Retrieves a changelog configuration by its code **Required Permissions**
|
|
362
|
+
* Retrieves a changelog configuration by its code **Required Permissions** none
|
|
539
363
|
* @summary Retrieve the changelog configuration
|
|
540
364
|
* @param {ChangelogConfigurationsApiGetChangelogConfigurationRequest} requestParameters Request parameters.
|
|
541
365
|
* @param {*} [options] Override http request option.
|
|
@@ -547,19 +371,7 @@ export class ChangelogConfigurationsApi extends BaseAPI {
|
|
|
547
371
|
}
|
|
548
372
|
|
|
549
373
|
/**
|
|
550
|
-
*
|
|
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** \"changelog-management.changelog-configurations.update\"
|
|
374
|
+
* Updates an existing changelog configuration **Required Permissions** none
|
|
563
375
|
* @summary Update the changelog configuration
|
|
564
376
|
* @param {ChangelogConfigurationsApiUpdateChangelogConfigurationRequest} requestParameters Request parameters.
|
|
565
377
|
* @param {*} [options] Override http request option.
|