@emilgroup/insurance-sdk 1.36.0 → 1.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,6 +7,7 @@ api/default-api.ts
7
7
  api/insured-object-types-api.ts
8
8
  api/insured-objects-api.ts
9
9
  api/lead-statuses-api.ts
10
+ api/lead-versions-api.ts
10
11
  api/leads-api.ts
11
12
  api/named-ranges-api.ts
12
13
  api/policies-api.ts
@@ -15,6 +16,7 @@ api/product-factors-api.ts
15
16
  api/product-fields-api.ts
16
17
  api/product-versions-api.ts
17
18
  api/products-api.ts
19
+ api/status-transition-rules-api.ts
18
20
  base.ts
19
21
  common.ts
20
22
  configuration.ts
@@ -50,13 +52,16 @@ models/create-product-field-request-dto.ts
50
52
  models/create-product-field-response-class.ts
51
53
  models/create-product-request-dto.ts
52
54
  models/create-product-response-class.ts
55
+ models/create-status-transition-rule-request-dto.ts
56
+ models/create-status-transition-rule-response-class.ts
53
57
  models/csv-product-factor-dto.ts
54
- models/delete-request-dto.ts
55
58
  models/delete-response-class.ts
56
59
  models/empty-response-class.ts
57
60
  models/get-insured-object-response-class.ts
58
61
  models/get-lead-response-class.ts
59
62
  models/get-lead-status-response-class.ts
63
+ models/get-lead-version-request-dto.ts
64
+ models/get-lead-version-response-class.ts
60
65
  models/get-named-range-response-class.ts
61
66
  models/get-policy-data-by-date-request-dto.ts
62
67
  models/get-policy-request-dto.ts
@@ -74,6 +79,7 @@ models/get-product-request-dto.ts
74
79
  models/get-product-response-class.ts
75
80
  models/get-product-version-request-dto.ts
76
81
  models/get-product-version-response-class.ts
82
+ models/get-status-transition-rule-response-class.ts
77
83
  models/grouped-product-factor-class.ts
78
84
  models/grouped-product-factor-value-class.ts
79
85
  models/grouped-product-factors-response-class.ts
@@ -92,6 +98,7 @@ models/lead-status-class.ts
92
98
  models/list-insured-object-types-response-class.ts
93
99
  models/list-insured-objects-response-class.ts
94
100
  models/list-lead-statuses-response-class.ts
101
+ models/list-lead-versions-response-class.ts
95
102
  models/list-leads-response-class.ts
96
103
  models/list-named-ranges-response-class.ts
97
104
  models/list-policies-response-class.ts
@@ -101,11 +108,14 @@ models/list-product-field-types-response-class.ts
101
108
  models/list-product-fields-response-class.ts
102
109
  models/list-products-response-class.ts
103
110
  models/list-request-dto.ts
111
+ models/list-status-transition-rules-response-class.ts
104
112
  models/named-range-class.ts
105
113
  models/patch-lead-request-dto.ts
106
114
  models/patch-lead-response-class.ts
107
115
  models/patch-policy-request-dto.ts
108
116
  models/patch-policy-response-class.ts
117
+ models/patch-status-transition-rule-request-dto.ts
118
+ models/patch-status-transition-rule-response-class.ts
109
119
  models/policy-class.ts
110
120
  models/policy-object-class.ts
111
121
  models/policy-object-dto.ts
@@ -131,6 +141,7 @@ models/shared-lead-policy-object-dto.ts
131
141
  models/shared-product-field-class.ts
132
142
  models/shared-update-named-range-request-dto.ts
133
143
  models/shared-update-premium-formula-request-dto.ts
144
+ models/status-transition-rule-class.ts
134
145
  models/store-product-factors-request-dto.ts
135
146
  models/store-product-factors-response-class.ts
136
147
  models/suspend-policy-request-dto.ts
@@ -154,6 +165,8 @@ models/update-product-request-dto.ts
154
165
  models/update-product-response-class.ts
155
166
  models/update-product-version-request-dto.ts
156
167
  models/update-product-version-response-class.ts
168
+ models/update-status-transition-rule-request-dto.ts
169
+ models/update-status-transition-rule-response-class.ts
157
170
  models/uploaded-document-dto.ts
158
171
  models/validate-product-factors-request-dto.ts
159
172
  models/withdraw-policy-response-class.ts
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/insurance-sdk@1.36.0 --save
20
+ npm install @emilgroup/insurance-sdk@1.37.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk@1.36.0
24
+ yarn add @emilgroup/insurance-sdk@1.37.0
25
25
  ```
26
26
 
27
27
  And then you can import `PoliciesApi`.
@@ -0,0 +1,361 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService 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 { GetLeadVersionResponseClass } from '../models';
25
+ // @ts-ignore
26
+ import { ListLeadVersionsResponseClass } from '../models';
27
+ /**
28
+ * LeadVersionsApi - axios parameter creator
29
+ * @export
30
+ */
31
+ export const LeadVersionsApiAxiosParamCreator = function (configuration?: Configuration) {
32
+ return {
33
+ /**
34
+ * Retrieves the details of the lead version that was previously created. Supply the unique lead version code that was returned when you created it and Emil Api will return the corresponding lead version information.
35
+ * @summary Retrieve the lead version
36
+ * @param {string} code
37
+ * @param {number} version
38
+ * @param {string} [authorization] Bearer Token
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ getLeadVersion: async (code: string, version: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
43
+ // verify required parameter 'code' is not null or undefined
44
+ assertParamExists('getLeadVersion', 'code', code)
45
+ // verify required parameter 'version' is not null or undefined
46
+ assertParamExists('getLeadVersion', 'version', version)
47
+ const localVarPath = `/insuranceservice/v1/leads/{code}/versions/{version}`
48
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)))
49
+ .replace(`{${"version"}}`, encodeURIComponent(String(version)));
50
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
51
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
52
+ let baseOptions;
53
+ let baseAccessToken;
54
+ if (configuration) {
55
+ baseOptions = configuration.baseOptions;
56
+ baseAccessToken = configuration.accessToken;
57
+ }
58
+
59
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
60
+ const localVarHeaderParameter = {} as any;
61
+ const localVarQueryParameter = {} as any;
62
+
63
+ // authentication bearer required
64
+ // http bearer authentication required
65
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
66
+
67
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
68
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
69
+ }
70
+
71
+
72
+
73
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
74
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
75
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
76
+
77
+ return {
78
+ url: toPathString(localVarUrlObj),
79
+ options: localVarRequestOptions,
80
+ };
81
+ },
82
+ /**
83
+ * Returns a list of lead versions you have previously created. The lead versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
84
+ * @summary List lead versions
85
+ * @param {string} code
86
+ * @param {string} [authorization] Bearer Token
87
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
88
+ * @param {any} [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.
89
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
90
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
91
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
92
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
93
+ * @param {*} [options] Override http request option.
94
+ * @throws {RequiredError}
95
+ */
96
+ listLeadVersions: async (code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
97
+ // verify required parameter 'code' is not null or undefined
98
+ assertParamExists('listLeadVersions', 'code', code)
99
+ const localVarPath = `/insuranceservice/v1/leads/{code}/versions`
100
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
101
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
102
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
103
+ let baseOptions;
104
+ let baseAccessToken;
105
+ if (configuration) {
106
+ baseOptions = configuration.baseOptions;
107
+ baseAccessToken = configuration.accessToken;
108
+ }
109
+
110
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
111
+ const localVarHeaderParameter = {} as any;
112
+ const localVarQueryParameter = {} as any;
113
+
114
+ // authentication bearer required
115
+ // http bearer authentication required
116
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
117
+
118
+ if (pageSize !== undefined) {
119
+ localVarQueryParameter['pageSize'] = pageSize;
120
+ }
121
+
122
+ if (pageToken !== undefined) {
123
+ localVarQueryParameter['pageToken'] = pageToken;
124
+ }
125
+
126
+ if (filter !== undefined) {
127
+ localVarQueryParameter['filter'] = filter;
128
+ }
129
+
130
+ if (search !== undefined) {
131
+ localVarQueryParameter['search'] = search;
132
+ }
133
+
134
+ if (order !== undefined) {
135
+ localVarQueryParameter['order'] = order;
136
+ }
137
+
138
+ if (expand !== undefined) {
139
+ localVarQueryParameter['expand'] = expand;
140
+ }
141
+
142
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
143
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
144
+ }
145
+
146
+
147
+
148
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
149
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
150
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
151
+
152
+ return {
153
+ url: toPathString(localVarUrlObj),
154
+ options: localVarRequestOptions,
155
+ };
156
+ },
157
+ }
158
+ };
159
+
160
+ /**
161
+ * LeadVersionsApi - functional programming interface
162
+ * @export
163
+ */
164
+ export const LeadVersionsApiFp = function(configuration?: Configuration) {
165
+ const localVarAxiosParamCreator = LeadVersionsApiAxiosParamCreator(configuration)
166
+ return {
167
+ /**
168
+ * Retrieves the details of the lead version that was previously created. Supply the unique lead version code that was returned when you created it and Emil Api will return the corresponding lead version information.
169
+ * @summary Retrieve the lead version
170
+ * @param {string} code
171
+ * @param {number} version
172
+ * @param {string} [authorization] Bearer Token
173
+ * @param {*} [options] Override http request option.
174
+ * @throws {RequiredError}
175
+ */
176
+ async getLeadVersion(code: string, version: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLeadVersionResponseClass>> {
177
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getLeadVersion(code, version, authorization, options);
178
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
179
+ },
180
+ /**
181
+ * Returns a list of lead versions you have previously created. The lead versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
182
+ * @summary List lead versions
183
+ * @param {string} code
184
+ * @param {string} [authorization] Bearer Token
185
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
186
+ * @param {any} [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.
187
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
188
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
189
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
190
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
191
+ * @param {*} [options] Override http request option.
192
+ * @throws {RequiredError}
193
+ */
194
+ async listLeadVersions(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLeadVersionsResponseClass>> {
195
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listLeadVersions(code, authorization, pageSize, pageToken, filter, search, order, expand, options);
196
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
197
+ },
198
+ }
199
+ };
200
+
201
+ /**
202
+ * LeadVersionsApi - factory interface
203
+ * @export
204
+ */
205
+ export const LeadVersionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
206
+ const localVarFp = LeadVersionsApiFp(configuration)
207
+ return {
208
+ /**
209
+ * Retrieves the details of the lead version that was previously created. Supply the unique lead version code that was returned when you created it and Emil Api will return the corresponding lead version information.
210
+ * @summary Retrieve the lead version
211
+ * @param {string} code
212
+ * @param {number} version
213
+ * @param {string} [authorization] Bearer Token
214
+ * @param {*} [options] Override http request option.
215
+ * @throws {RequiredError}
216
+ */
217
+ getLeadVersion(code: string, version: number, authorization?: string, options?: any): AxiosPromise<GetLeadVersionResponseClass> {
218
+ return localVarFp.getLeadVersion(code, version, authorization, options).then((request) => request(axios, basePath));
219
+ },
220
+ /**
221
+ * Returns a list of lead versions you have previously created. The lead versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
222
+ * @summary List lead versions
223
+ * @param {string} code
224
+ * @param {string} [authorization] Bearer Token
225
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
226
+ * @param {any} [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.
227
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
228
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
229
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
230
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
231
+ * @param {*} [options] Override http request option.
232
+ * @throws {RequiredError}
233
+ */
234
+ listLeadVersions(code: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListLeadVersionsResponseClass> {
235
+ return localVarFp.listLeadVersions(code, authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
236
+ },
237
+ };
238
+ };
239
+
240
+ /**
241
+ * Request parameters for getLeadVersion operation in LeadVersionsApi.
242
+ * @export
243
+ * @interface LeadVersionsApiGetLeadVersionRequest
244
+ */
245
+ export interface LeadVersionsApiGetLeadVersionRequest {
246
+ /**
247
+ *
248
+ * @type {string}
249
+ * @memberof LeadVersionsApiGetLeadVersion
250
+ */
251
+ readonly code: string
252
+
253
+ /**
254
+ *
255
+ * @type {number}
256
+ * @memberof LeadVersionsApiGetLeadVersion
257
+ */
258
+ readonly version: number
259
+
260
+ /**
261
+ * Bearer Token
262
+ * @type {string}
263
+ * @memberof LeadVersionsApiGetLeadVersion
264
+ */
265
+ readonly authorization?: string
266
+ }
267
+
268
+ /**
269
+ * Request parameters for listLeadVersions operation in LeadVersionsApi.
270
+ * @export
271
+ * @interface LeadVersionsApiListLeadVersionsRequest
272
+ */
273
+ export interface LeadVersionsApiListLeadVersionsRequest {
274
+ /**
275
+ *
276
+ * @type {string}
277
+ * @memberof LeadVersionsApiListLeadVersions
278
+ */
279
+ readonly code: string
280
+
281
+ /**
282
+ * Bearer Token
283
+ * @type {string}
284
+ * @memberof LeadVersionsApiListLeadVersions
285
+ */
286
+ readonly authorization?: string
287
+
288
+ /**
289
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
290
+ * @type {any}
291
+ * @memberof LeadVersionsApiListLeadVersions
292
+ */
293
+ readonly pageSize?: any
294
+
295
+ /**
296
+ * 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.
297
+ * @type {any}
298
+ * @memberof LeadVersionsApiListLeadVersions
299
+ */
300
+ readonly pageToken?: any
301
+
302
+ /**
303
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
304
+ * @type {any}
305
+ * @memberof LeadVersionsApiListLeadVersions
306
+ */
307
+ readonly filter?: any
308
+
309
+ /**
310
+ * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
311
+ * @type {any}
312
+ * @memberof LeadVersionsApiListLeadVersions
313
+ */
314
+ readonly search?: any
315
+
316
+ /**
317
+ * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
318
+ * @type {any}
319
+ * @memberof LeadVersionsApiListLeadVersions
320
+ */
321
+ readonly order?: any
322
+
323
+ /**
324
+ * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
325
+ * @type {any}
326
+ * @memberof LeadVersionsApiListLeadVersions
327
+ */
328
+ readonly expand?: any
329
+ }
330
+
331
+ /**
332
+ * LeadVersionsApi - object-oriented interface
333
+ * @export
334
+ * @class LeadVersionsApi
335
+ * @extends {BaseAPI}
336
+ */
337
+ export class LeadVersionsApi extends BaseAPI {
338
+ /**
339
+ * Retrieves the details of the lead version that was previously created. Supply the unique lead version code that was returned when you created it and Emil Api will return the corresponding lead version information.
340
+ * @summary Retrieve the lead version
341
+ * @param {LeadVersionsApiGetLeadVersionRequest} requestParameters Request parameters.
342
+ * @param {*} [options] Override http request option.
343
+ * @throws {RequiredError}
344
+ * @memberof LeadVersionsApi
345
+ */
346
+ public getLeadVersion(requestParameters: LeadVersionsApiGetLeadVersionRequest, options?: AxiosRequestConfig) {
347
+ return LeadVersionsApiFp(this.configuration).getLeadVersion(requestParameters.code, requestParameters.version, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
348
+ }
349
+
350
+ /**
351
+ * Returns a list of lead versions you have previously created. The lead versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
352
+ * @summary List lead versions
353
+ * @param {LeadVersionsApiListLeadVersionsRequest} requestParameters Request parameters.
354
+ * @param {*} [options] Override http request option.
355
+ * @throws {RequiredError}
356
+ * @memberof LeadVersionsApi
357
+ */
358
+ public listLeadVersions(requestParameters: LeadVersionsApiListLeadVersionsRequest, options?: AxiosRequestConfig) {
359
+ return LeadVersionsApiFp(this.configuration).listLeadVersions(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
360
+ }
361
+ }