@emilgroup/insurance-sdk 1.83.1-beta.8 → 1.84.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.
Files changed (65) hide show
  1. package/.openapi-generator/FILES +4 -13
  2. package/README.md +2 -2
  3. package/api/booking-funnels-api.ts +31 -31
  4. package/api/commission-agreement-items-api.ts +4 -4
  5. package/api/policies-api.ts +32 -32
  6. package/api/product-fields-api.ts +16 -16
  7. package/api/status-transition-rules-api.ts +31 -31
  8. package/dist/api/booking-funnels-api.d.ts +18 -18
  9. package/dist/api/booking-funnels-api.js +24 -24
  10. package/dist/api/commission-agreement-items-api.d.ts +4 -4
  11. package/dist/api/commission-agreement-items-api.js +3 -3
  12. package/dist/api/policies-api.d.ts +18 -18
  13. package/dist/api/policies-api.js +24 -24
  14. package/dist/api/product-fields-api.d.ts +9 -9
  15. package/dist/api/product-fields-api.js +12 -12
  16. package/dist/api/status-transition-rules-api.d.ts +18 -18
  17. package/dist/api/status-transition-rules-api.js +24 -24
  18. package/dist/models/create-draft-policy-request-dto.d.ts +0 -6
  19. package/dist/models/index.d.ts +4 -13
  20. package/dist/models/index.js +4 -13
  21. package/dist/models/{grpc-patch-booking-funnel-request-dto.d.ts → patch-booking-funnel-request-dto.d.ts} +10 -10
  22. package/dist/models/{rest-patch-draft-policy-request-dto.d.ts → patch-draft-policy-request-dto.d.ts} +12 -12
  23. package/dist/models/{rest-patch-draft-policy-request-dto.js → patch-draft-policy-request-dto.js} +2 -2
  24. package/dist/models/patch-status-transition-rule-request-dto.d.ts +10 -4
  25. package/dist/models/{grpc-update-booking-funnel-request-dto.d.ts → update-booking-funnel-request-dto.d.ts} +10 -10
  26. package/dist/models/update-status-transition-rule-request-dto.d.ts +53 -0
  27. package/dist/models/{grpc-patch-status-transition-rule-request-dto.js → update-status-transition-rule-request-dto.js} +2 -2
  28. package/models/create-draft-policy-request-dto.ts +0 -6
  29. package/models/index.ts +4 -13
  30. package/models/{grpc-patch-booking-funnel-request-dto.ts → patch-booking-funnel-request-dto.ts} +10 -10
  31. package/models/{rest-patch-draft-policy-request-dto.ts → patch-draft-policy-request-dto.ts} +12 -12
  32. package/models/patch-status-transition-rule-request-dto.ts +10 -4
  33. package/models/{grpc-update-booking-funnel-request-dto.ts → update-booking-funnel-request-dto.ts} +10 -10
  34. package/models/{grpc-update-status-transition-rule-request-dto.ts → update-status-transition-rule-request-dto.ts} +10 -10
  35. package/package.json +1 -1
  36. package/dist/models/grpc-patch-draft-policy-request-dto.d.ts +0 -76
  37. package/dist/models/grpc-patch-draft-policy-request-dto.js +0 -23
  38. package/dist/models/grpc-patch-status-transition-rule-request-dto.d.ts +0 -53
  39. package/dist/models/grpc-update-status-transition-rule-request-dto.d.ts +0 -53
  40. package/dist/models/grpc-update-status-transition-rule-request-dto.js +0 -20
  41. package/dist/models/rest-create-draft-policy-request-dto.d.ts +0 -70
  42. package/dist/models/rest-create-draft-policy-request-dto.js +0 -23
  43. package/dist/models/rest-create-status-transition-rule-request-dto.d.ts +0 -47
  44. package/dist/models/rest-create-status-transition-rule-request-dto.js +0 -20
  45. package/dist/models/rest-patch-booking-funnel-request-dto.d.ts +0 -60
  46. package/dist/models/rest-patch-booking-funnel-request-dto.js +0 -15
  47. package/dist/models/rest-update-booking-funnel-request-dto.d.ts +0 -60
  48. package/dist/models/rest-update-booking-funnel-request-dto.js +0 -15
  49. package/dist/models/rest-update-product-field-request-dto.d.ts +0 -171
  50. package/dist/models/rest-update-product-field-request-dto.js +0 -28
  51. package/dist/models/rest-update-status-transition-rule-request-dto.d.ts +0 -47
  52. package/dist/models/rest-update-status-transition-rule-request-dto.js +0 -20
  53. package/dist/models/shared-delete-request-dto.d.ts +0 -24
  54. package/dist/models/shared-delete-request-dto.js +0 -15
  55. package/models/grpc-patch-draft-policy-request-dto.ts +0 -85
  56. package/models/grpc-patch-status-transition-rule-request-dto.ts +0 -62
  57. package/models/rest-create-draft-policy-request-dto.ts +0 -79
  58. package/models/rest-create-status-transition-rule-request-dto.ts +0 -56
  59. package/models/rest-patch-booking-funnel-request-dto.ts +0 -66
  60. package/models/rest-update-booking-funnel-request-dto.ts +0 -66
  61. package/models/rest-update-product-field-request-dto.ts +0 -182
  62. package/models/rest-update-status-transition-rule-request-dto.ts +0 -56
  63. package/models/shared-delete-request-dto.ts +0 -30
  64. /package/dist/models/{grpc-patch-booking-funnel-request-dto.js → patch-booking-funnel-request-dto.js} +0 -0
  65. /package/dist/models/{grpc-update-booking-funnel-request-dto.js → update-booking-funnel-request-dto.js} +0 -0
@@ -136,11 +136,6 @@ models/get-status-transition-rule-response-class.ts
136
136
  models/grouped-product-factor-class.ts
137
137
  models/grouped-product-factor-value-class.ts
138
138
  models/grouped-product-factors-response-class.ts
139
- models/grpc-patch-booking-funnel-request-dto.ts
140
- models/grpc-patch-draft-policy-request-dto.ts
141
- models/grpc-patch-status-transition-rule-request-dto.ts
142
- models/grpc-update-booking-funnel-request-dto.ts
143
- models/grpc-update-status-transition-rule-request-dto.ts
144
139
  models/index.ts
145
140
  models/inline-response200.ts
146
141
  models/inline-response503.ts
@@ -186,7 +181,9 @@ models/omit-type-class.ts
186
181
  models/partner-class.ts
187
182
  models/partner-link-class.ts
188
183
  models/partner-role-class.ts
184
+ models/patch-booking-funnel-request-dto.ts
189
185
  models/patch-booking-funnel-response-class.ts
186
+ models/patch-draft-policy-request-dto.ts
190
187
  models/patch-lead-request-dto.ts
191
188
  models/patch-lead-response-class.ts
192
189
  models/patch-policy-request-dto.ts
@@ -212,18 +209,10 @@ models/product-field-class.ts
212
209
  models/product-field-type-class.ts
213
210
  models/product-version-class.ts
214
211
  models/rest-clone-lead-account-request-dto.ts
215
- models/rest-create-draft-policy-request-dto.ts
216
- models/rest-create-status-transition-rule-request-dto.ts
217
- models/rest-patch-booking-funnel-request-dto.ts
218
- models/rest-patch-draft-policy-request-dto.ts
219
- models/rest-update-booking-funnel-request-dto.ts
220
- models/rest-update-product-field-request-dto.ts
221
- models/rest-update-status-transition-rule-request-dto.ts
222
212
  models/restore-policy-version-request-dto.ts
223
213
  models/restore-policy-version-response-class.ts
224
214
  models/sepa-dto.ts
225
215
  models/shared-create-lead-policy-request-dto.ts
226
- models/shared-delete-request-dto.ts
227
216
  models/shared-invoice-class.ts
228
217
  models/shared-lead-policy-object-dto.ts
229
218
  models/shared-product-field-class.ts
@@ -241,6 +230,7 @@ models/terminate-policy-request-dto.ts
241
230
  models/terminate-policy-response-class.ts
242
231
  models/timeslice-class.ts
243
232
  models/unlink-partner-response-class.ts
233
+ models/update-booking-funnel-request-dto.ts
244
234
  models/update-booking-funnel-response-class.ts
245
235
  models/update-commission-agreement-item-request-dto.ts
246
236
  models/update-commission-agreement-item-response-class.ts
@@ -273,6 +263,7 @@ models/update-product-request-dto.ts
273
263
  models/update-product-response-class.ts
274
264
  models/update-product-version-request-dto.ts
275
265
  models/update-product-version-response-class.ts
266
+ models/update-status-transition-rule-request-dto.ts
276
267
  models/update-status-transition-rule-response-class.ts
277
268
  models/uploaded-document-dto.ts
278
269
  models/validate-product-factors-request-dto.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.83.1-beta.8 --save
20
+ npm install @emilgroup/insurance-sdk@1.84.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk@1.83.1-beta.8
24
+ yarn add @emilgroup/insurance-sdk@1.84.0
25
25
  ```
26
26
 
27
27
  And then you can import `PoliciesApi`.
@@ -31,11 +31,11 @@ import { GetBookingFunnelResponseClass } from '../models';
31
31
  // @ts-ignore
32
32
  import { ListBookingFunnelsResponseClass } from '../models';
33
33
  // @ts-ignore
34
- import { PatchBookingFunnelResponseClass } from '../models';
34
+ import { PatchBookingFunnelRequestDto } from '../models';
35
35
  // @ts-ignore
36
- import { RestPatchBookingFunnelRequestDto } from '../models';
36
+ import { PatchBookingFunnelResponseClass } from '../models';
37
37
  // @ts-ignore
38
- import { RestUpdateBookingFunnelRequestDto } from '../models';
38
+ import { UpdateBookingFunnelRequestDto } from '../models';
39
39
  // @ts-ignore
40
40
  import { UpdateBookingFunnelResponseClass } from '../models';
41
41
  /**
@@ -260,16 +260,16 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
260
260
  /**
261
261
  * This will patch a booking funnel. **Required Permissions** \"policy-management.products.update\"
262
262
  * @param {string} code
263
- * @param {RestPatchBookingFunnelRequestDto} restPatchBookingFunnelRequestDto
263
+ * @param {PatchBookingFunnelRequestDto} patchBookingFunnelRequestDto
264
264
  * @param {string} [authorization] Bearer Token
265
265
  * @param {*} [options] Override http request option.
266
266
  * @throws {RequiredError}
267
267
  */
268
- patchBookingFunnel: async (code: string, restPatchBookingFunnelRequestDto: RestPatchBookingFunnelRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
268
+ patchBookingFunnel: async (code: string, patchBookingFunnelRequestDto: PatchBookingFunnelRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
269
269
  // verify required parameter 'code' is not null or undefined
270
270
  assertParamExists('patchBookingFunnel', 'code', code)
271
- // verify required parameter 'restPatchBookingFunnelRequestDto' is not null or undefined
272
- assertParamExists('patchBookingFunnel', 'restPatchBookingFunnelRequestDto', restPatchBookingFunnelRequestDto)
271
+ // verify required parameter 'patchBookingFunnelRequestDto' is not null or undefined
272
+ assertParamExists('patchBookingFunnel', 'patchBookingFunnelRequestDto', patchBookingFunnelRequestDto)
273
273
  const localVarPath = `/insuranceservice/v1/booking-funnels/{code}`
274
274
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
275
275
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -300,7 +300,7 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
300
300
  setSearchParams(localVarUrlObj, localVarQueryParameter);
301
301
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
302
302
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
303
- localVarRequestOptions.data = serializeDataIfNeeded(restPatchBookingFunnelRequestDto, localVarRequestOptions, configuration)
303
+ localVarRequestOptions.data = serializeDataIfNeeded(patchBookingFunnelRequestDto, localVarRequestOptions, configuration)
304
304
 
305
305
  return {
306
306
  url: toPathString(localVarUrlObj),
@@ -311,16 +311,16 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
311
311
  * This will update a booking funnel. **Required Permissions** \"policy-management.products.update\"
312
312
  * @summary Update the booking funnel
313
313
  * @param {string} code
314
- * @param {RestUpdateBookingFunnelRequestDto} restUpdateBookingFunnelRequestDto
314
+ * @param {UpdateBookingFunnelRequestDto} updateBookingFunnelRequestDto
315
315
  * @param {string} [authorization] Bearer Token
316
316
  * @param {*} [options] Override http request option.
317
317
  * @throws {RequiredError}
318
318
  */
319
- updateBookingFunnel: async (code: string, restUpdateBookingFunnelRequestDto: RestUpdateBookingFunnelRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
319
+ updateBookingFunnel: async (code: string, updateBookingFunnelRequestDto: UpdateBookingFunnelRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
320
320
  // verify required parameter 'code' is not null or undefined
321
321
  assertParamExists('updateBookingFunnel', 'code', code)
322
- // verify required parameter 'restUpdateBookingFunnelRequestDto' is not null or undefined
323
- assertParamExists('updateBookingFunnel', 'restUpdateBookingFunnelRequestDto', restUpdateBookingFunnelRequestDto)
322
+ // verify required parameter 'updateBookingFunnelRequestDto' is not null or undefined
323
+ assertParamExists('updateBookingFunnel', 'updateBookingFunnelRequestDto', updateBookingFunnelRequestDto)
324
324
  const localVarPath = `/insuranceservice/v1/booking-funnels/{code}`
325
325
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
326
326
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -351,7 +351,7 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
351
351
  setSearchParams(localVarUrlObj, localVarQueryParameter);
352
352
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
353
353
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
354
- localVarRequestOptions.data = serializeDataIfNeeded(restUpdateBookingFunnelRequestDto, localVarRequestOptions, configuration)
354
+ localVarRequestOptions.data = serializeDataIfNeeded(updateBookingFunnelRequestDto, localVarRequestOptions, configuration)
355
355
 
356
356
  return {
357
357
  url: toPathString(localVarUrlObj),
@@ -425,26 +425,26 @@ export const BookingFunnelsApiFp = function(configuration?: Configuration) {
425
425
  /**
426
426
  * This will patch a booking funnel. **Required Permissions** \"policy-management.products.update\"
427
427
  * @param {string} code
428
- * @param {RestPatchBookingFunnelRequestDto} restPatchBookingFunnelRequestDto
428
+ * @param {PatchBookingFunnelRequestDto} patchBookingFunnelRequestDto
429
429
  * @param {string} [authorization] Bearer Token
430
430
  * @param {*} [options] Override http request option.
431
431
  * @throws {RequiredError}
432
432
  */
433
- async patchBookingFunnel(code: string, restPatchBookingFunnelRequestDto: RestPatchBookingFunnelRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchBookingFunnelResponseClass>> {
434
- const localVarAxiosArgs = await localVarAxiosParamCreator.patchBookingFunnel(code, restPatchBookingFunnelRequestDto, authorization, options);
433
+ async patchBookingFunnel(code: string, patchBookingFunnelRequestDto: PatchBookingFunnelRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchBookingFunnelResponseClass>> {
434
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchBookingFunnel(code, patchBookingFunnelRequestDto, authorization, options);
435
435
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
436
436
  },
437
437
  /**
438
438
  * This will update a booking funnel. **Required Permissions** \"policy-management.products.update\"
439
439
  * @summary Update the booking funnel
440
440
  * @param {string} code
441
- * @param {RestUpdateBookingFunnelRequestDto} restUpdateBookingFunnelRequestDto
441
+ * @param {UpdateBookingFunnelRequestDto} updateBookingFunnelRequestDto
442
442
  * @param {string} [authorization] Bearer Token
443
443
  * @param {*} [options] Override http request option.
444
444
  * @throws {RequiredError}
445
445
  */
446
- async updateBookingFunnel(code: string, restUpdateBookingFunnelRequestDto: RestUpdateBookingFunnelRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBookingFunnelResponseClass>> {
447
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateBookingFunnel(code, restUpdateBookingFunnelRequestDto, authorization, options);
446
+ async updateBookingFunnel(code: string, updateBookingFunnelRequestDto: UpdateBookingFunnelRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBookingFunnelResponseClass>> {
447
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBookingFunnel(code, updateBookingFunnelRequestDto, authorization, options);
448
448
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
449
449
  },
450
450
  }
@@ -510,25 +510,25 @@ export const BookingFunnelsApiFactory = function (configuration?: Configuration,
510
510
  /**
511
511
  * This will patch a booking funnel. **Required Permissions** \"policy-management.products.update\"
512
512
  * @param {string} code
513
- * @param {RestPatchBookingFunnelRequestDto} restPatchBookingFunnelRequestDto
513
+ * @param {PatchBookingFunnelRequestDto} patchBookingFunnelRequestDto
514
514
  * @param {string} [authorization] Bearer Token
515
515
  * @param {*} [options] Override http request option.
516
516
  * @throws {RequiredError}
517
517
  */
518
- patchBookingFunnel(code: string, restPatchBookingFunnelRequestDto: RestPatchBookingFunnelRequestDto, authorization?: string, options?: any): AxiosPromise<PatchBookingFunnelResponseClass> {
519
- return localVarFp.patchBookingFunnel(code, restPatchBookingFunnelRequestDto, authorization, options).then((request) => request(axios, basePath));
518
+ patchBookingFunnel(code: string, patchBookingFunnelRequestDto: PatchBookingFunnelRequestDto, authorization?: string, options?: any): AxiosPromise<PatchBookingFunnelResponseClass> {
519
+ return localVarFp.patchBookingFunnel(code, patchBookingFunnelRequestDto, authorization, options).then((request) => request(axios, basePath));
520
520
  },
521
521
  /**
522
522
  * This will update a booking funnel. **Required Permissions** \"policy-management.products.update\"
523
523
  * @summary Update the booking funnel
524
524
  * @param {string} code
525
- * @param {RestUpdateBookingFunnelRequestDto} restUpdateBookingFunnelRequestDto
525
+ * @param {UpdateBookingFunnelRequestDto} updateBookingFunnelRequestDto
526
526
  * @param {string} [authorization] Bearer Token
527
527
  * @param {*} [options] Override http request option.
528
528
  * @throws {RequiredError}
529
529
  */
530
- updateBookingFunnel(code: string, restUpdateBookingFunnelRequestDto: RestUpdateBookingFunnelRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateBookingFunnelResponseClass> {
531
- return localVarFp.updateBookingFunnel(code, restUpdateBookingFunnelRequestDto, authorization, options).then((request) => request(axios, basePath));
530
+ updateBookingFunnel(code: string, updateBookingFunnelRequestDto: UpdateBookingFunnelRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateBookingFunnelResponseClass> {
531
+ return localVarFp.updateBookingFunnel(code, updateBookingFunnelRequestDto, authorization, options).then((request) => request(axios, basePath));
532
532
  },
533
533
  };
534
534
  };
@@ -674,10 +674,10 @@ export interface BookingFunnelsApiPatchBookingFunnelRequest {
674
674
 
675
675
  /**
676
676
  *
677
- * @type {RestPatchBookingFunnelRequestDto}
677
+ * @type {PatchBookingFunnelRequestDto}
678
678
  * @memberof BookingFunnelsApiPatchBookingFunnel
679
679
  */
680
- readonly restPatchBookingFunnelRequestDto: RestPatchBookingFunnelRequestDto
680
+ readonly patchBookingFunnelRequestDto: PatchBookingFunnelRequestDto
681
681
 
682
682
  /**
683
683
  * Bearer Token
@@ -702,10 +702,10 @@ export interface BookingFunnelsApiUpdateBookingFunnelRequest {
702
702
 
703
703
  /**
704
704
  *
705
- * @type {RestUpdateBookingFunnelRequestDto}
705
+ * @type {UpdateBookingFunnelRequestDto}
706
706
  * @memberof BookingFunnelsApiUpdateBookingFunnel
707
707
  */
708
- readonly restUpdateBookingFunnelRequestDto: RestUpdateBookingFunnelRequestDto
708
+ readonly updateBookingFunnelRequestDto: UpdateBookingFunnelRequestDto
709
709
 
710
710
  /**
711
711
  * Bearer Token
@@ -778,7 +778,7 @@ export class BookingFunnelsApi extends BaseAPI {
778
778
  * @memberof BookingFunnelsApi
779
779
  */
780
780
  public patchBookingFunnel(requestParameters: BookingFunnelsApiPatchBookingFunnelRequest, options?: AxiosRequestConfig) {
781
- return BookingFunnelsApiFp(this.configuration).patchBookingFunnel(requestParameters.code, requestParameters.restPatchBookingFunnelRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
781
+ return BookingFunnelsApiFp(this.configuration).patchBookingFunnel(requestParameters.code, requestParameters.patchBookingFunnelRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
782
782
  }
783
783
 
784
784
  /**
@@ -790,6 +790,6 @@ export class BookingFunnelsApi extends BaseAPI {
790
790
  * @memberof BookingFunnelsApi
791
791
  */
792
792
  public updateBookingFunnel(requestParameters: BookingFunnelsApiUpdateBookingFunnelRequest, options?: AxiosRequestConfig) {
793
- return BookingFunnelsApiFp(this.configuration).updateBookingFunnel(requestParameters.code, requestParameters.restUpdateBookingFunnelRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
793
+ return BookingFunnelsApiFp(this.configuration).updateBookingFunnel(requestParameters.code, requestParameters.updateBookingFunnelRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
794
794
  }
795
795
  }
@@ -196,7 +196,7 @@ export const CommissionAgreementItemsApiAxiosParamCreator = function (configurat
196
196
  * @param {string} [pageToken] Page token.
197
197
  * @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: code, itemName, itemDescription, commissionFormula, commissionAgreementVersionId&lt;/i&gt;
198
198
  * @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: itemName, itemDescription, commissionFormula, code&lt;/i&gt;
199
- * @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, itemName, itemDescription, commissionFormula, code, createdAt, updatedAt&lt;/i&gt;
199
+ * @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, itemName, itemDescription, commissionFormula, code, , createdAt, updatedAt&lt;/i&gt;
200
200
  * @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;
201
201
  * @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: code, itemName, itemDescription, commissionFormula, commissionAgreementVersionId&lt;/i&gt;
202
202
  * @param {*} [options] Override http request option.
@@ -371,7 +371,7 @@ export const CommissionAgreementItemsApiFp = function(configuration?: Configurat
371
371
  * @param {string} [pageToken] Page token.
372
372
  * @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: code, itemName, itemDescription, commissionFormula, commissionAgreementVersionId&lt;/i&gt;
373
373
  * @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: itemName, itemDescription, commissionFormula, code&lt;/i&gt;
374
- * @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, itemName, itemDescription, commissionFormula, code, createdAt, updatedAt&lt;/i&gt;
374
+ * @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, itemName, itemDescription, commissionFormula, code, , createdAt, updatedAt&lt;/i&gt;
375
375
  * @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;
376
376
  * @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: code, itemName, itemDescription, commissionFormula, commissionAgreementVersionId&lt;/i&gt;
377
377
  * @param {*} [options] Override http request option.
@@ -447,7 +447,7 @@ export const CommissionAgreementItemsApiFactory = function (configuration?: Conf
447
447
  * @param {string} [pageToken] Page token.
448
448
  * @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: code, itemName, itemDescription, commissionFormula, commissionAgreementVersionId&lt;/i&gt;
449
449
  * @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: itemName, itemDescription, commissionFormula, code&lt;/i&gt;
450
- * @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, itemName, itemDescription, commissionFormula, code, createdAt, updatedAt&lt;/i&gt;
450
+ * @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, itemName, itemDescription, commissionFormula, code, , createdAt, updatedAt&lt;/i&gt;
451
451
  * @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;
452
452
  * @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: code, itemName, itemDescription, commissionFormula, commissionAgreementVersionId&lt;/i&gt;
453
453
  * @param {*} [options] Override http request option.
@@ -590,7 +590,7 @@ export interface CommissionAgreementItemsApiListCommissionAgreementItemsRequest
590
590
  readonly search?: string
591
591
 
592
592
  /**
593
- * 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, itemName, itemDescription, commissionFormula, code, createdAt, updatedAt&lt;/i&gt;
593
+ * 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, itemName, itemDescription, commissionFormula, code, , createdAt, updatedAt&lt;/i&gt;
594
594
  * @type {string}
595
595
  * @memberof CommissionAgreementItemsApiListCommissionAgreementItems
596
596
  */
@@ -25,6 +25,8 @@ import { ActivatePolicyRequestDto } from '../models';
25
25
  // @ts-ignore
26
26
  import { ActivatePolicyResponseClass } from '../models';
27
27
  // @ts-ignore
28
+ import { CreateDraftPolicyRequestDto } from '../models';
29
+ // @ts-ignore
28
30
  import { CreatePolicyRequestDto } from '../models';
29
31
  // @ts-ignore
30
32
  import { CreatePolicyResponseClass } from '../models';
@@ -39,14 +41,12 @@ import { ListPolicyObjectsResponseClass } from '../models';
39
41
  // @ts-ignore
40
42
  import { ListPolicyVersionResponseClass } from '../models';
41
43
  // @ts-ignore
44
+ import { PatchDraftPolicyRequestDto } from '../models';
45
+ // @ts-ignore
42
46
  import { PatchPolicyRequestDto } from '../models';
43
47
  // @ts-ignore
44
48
  import { PatchPolicyResponseClass } from '../models';
45
49
  // @ts-ignore
46
- import { RestCreateDraftPolicyRequestDto } from '../models';
47
- // @ts-ignore
48
- import { RestPatchDraftPolicyRequestDto } from '../models';
49
- // @ts-ignore
50
50
  import { RestorePolicyVersionRequestDto } from '../models';
51
51
  // @ts-ignore
52
52
  import { RestorePolicyVersionResponseClass } from '../models';
@@ -125,16 +125,16 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
125
125
  * This will create a draft policy in the database. **Required Permissions** \"policy-management.policies.create\"
126
126
  * @summary Create the draft-policy
127
127
  * @param {string} policyCode Unique identifier for the object.
128
- * @param {RestCreateDraftPolicyRequestDto} restCreateDraftPolicyRequestDto
128
+ * @param {CreateDraftPolicyRequestDto} createDraftPolicyRequestDto
129
129
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
130
130
  * @param {*} [options] Override http request option.
131
131
  * @throws {RequiredError}
132
132
  */
133
- createDraftPolicy: async (policyCode: string, restCreateDraftPolicyRequestDto: RestCreateDraftPolicyRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
133
+ createDraftPolicy: async (policyCode: string, createDraftPolicyRequestDto: CreateDraftPolicyRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
134
134
  // verify required parameter 'policyCode' is not null or undefined
135
135
  assertParamExists('createDraftPolicy', 'policyCode', policyCode)
136
- // verify required parameter 'restCreateDraftPolicyRequestDto' is not null or undefined
137
- assertParamExists('createDraftPolicy', 'restCreateDraftPolicyRequestDto', restCreateDraftPolicyRequestDto)
136
+ // verify required parameter 'createDraftPolicyRequestDto' is not null or undefined
137
+ assertParamExists('createDraftPolicy', 'createDraftPolicyRequestDto', createDraftPolicyRequestDto)
138
138
  const localVarPath = `/insuranceservice/v1/policies/{policyCode}/draft`
139
139
  .replace(`{${"policyCode"}}`, encodeURIComponent(String(policyCode)));
140
140
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -165,7 +165,7 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
165
165
  setSearchParams(localVarUrlObj, localVarQueryParameter);
166
166
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
167
167
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
168
- localVarRequestOptions.data = serializeDataIfNeeded(restCreateDraftPolicyRequestDto, localVarRequestOptions, configuration)
168
+ localVarRequestOptions.data = serializeDataIfNeeded(createDraftPolicyRequestDto, localVarRequestOptions, configuration)
169
169
 
170
170
  return {
171
171
  url: toPathString(localVarUrlObj),
@@ -655,16 +655,16 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
655
655
  * Updates the specified draft-policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.policies.update\"
656
656
  * @summary Update the draft-policy
657
657
  * @param {string} policyCode Unique identifier for the object.
658
- * @param {RestPatchDraftPolicyRequestDto} restPatchDraftPolicyRequestDto
658
+ * @param {PatchDraftPolicyRequestDto} patchDraftPolicyRequestDto
659
659
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
660
660
  * @param {*} [options] Override http request option.
661
661
  * @throws {RequiredError}
662
662
  */
663
- patchDraftPolicy: async (policyCode: string, restPatchDraftPolicyRequestDto: RestPatchDraftPolicyRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
663
+ patchDraftPolicy: async (policyCode: string, patchDraftPolicyRequestDto: PatchDraftPolicyRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
664
664
  // verify required parameter 'policyCode' is not null or undefined
665
665
  assertParamExists('patchDraftPolicy', 'policyCode', policyCode)
666
- // verify required parameter 'restPatchDraftPolicyRequestDto' is not null or undefined
667
- assertParamExists('patchDraftPolicy', 'restPatchDraftPolicyRequestDto', restPatchDraftPolicyRequestDto)
666
+ // verify required parameter 'patchDraftPolicyRequestDto' is not null or undefined
667
+ assertParamExists('patchDraftPolicy', 'patchDraftPolicyRequestDto', patchDraftPolicyRequestDto)
668
668
  const localVarPath = `/insuranceservice/v1/policies/{policyCode}/draft`
669
669
  .replace(`{${"policyCode"}}`, encodeURIComponent(String(policyCode)));
670
670
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -695,7 +695,7 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
695
695
  setSearchParams(localVarUrlObj, localVarQueryParameter);
696
696
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
697
697
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
698
- localVarRequestOptions.data = serializeDataIfNeeded(restPatchDraftPolicyRequestDto, localVarRequestOptions, configuration)
698
+ localVarRequestOptions.data = serializeDataIfNeeded(patchDraftPolicyRequestDto, localVarRequestOptions, configuration)
699
699
 
700
700
  return {
701
701
  url: toPathString(localVarUrlObj),
@@ -1035,13 +1035,13 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
1035
1035
  * This will create a draft policy in the database. **Required Permissions** \"policy-management.policies.create\"
1036
1036
  * @summary Create the draft-policy
1037
1037
  * @param {string} policyCode Unique identifier for the object.
1038
- * @param {RestCreateDraftPolicyRequestDto} restCreateDraftPolicyRequestDto
1038
+ * @param {CreateDraftPolicyRequestDto} createDraftPolicyRequestDto
1039
1039
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1040
1040
  * @param {*} [options] Override http request option.
1041
1041
  * @throws {RequiredError}
1042
1042
  */
1043
- async createDraftPolicy(policyCode: string, restCreateDraftPolicyRequestDto: RestCreateDraftPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyResponseClass>> {
1044
- const localVarAxiosArgs = await localVarAxiosParamCreator.createDraftPolicy(policyCode, restCreateDraftPolicyRequestDto, authorization, options);
1043
+ async createDraftPolicy(policyCode: string, createDraftPolicyRequestDto: CreateDraftPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyResponseClass>> {
1044
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createDraftPolicy(policyCode, createDraftPolicyRequestDto, authorization, options);
1045
1045
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1046
1046
  },
1047
1047
  /**
@@ -1167,13 +1167,13 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
1167
1167
  * Updates the specified draft-policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.policies.update\"
1168
1168
  * @summary Update the draft-policy
1169
1169
  * @param {string} policyCode Unique identifier for the object.
1170
- * @param {RestPatchDraftPolicyRequestDto} restPatchDraftPolicyRequestDto
1170
+ * @param {PatchDraftPolicyRequestDto} patchDraftPolicyRequestDto
1171
1171
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1172
1172
  * @param {*} [options] Override http request option.
1173
1173
  * @throws {RequiredError}
1174
1174
  */
1175
- async patchDraftPolicy(policyCode: string, restPatchDraftPolicyRequestDto: RestPatchDraftPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchPolicyResponseClass>> {
1176
- const localVarAxiosArgs = await localVarAxiosParamCreator.patchDraftPolicy(policyCode, restPatchDraftPolicyRequestDto, authorization, options);
1175
+ async patchDraftPolicy(policyCode: string, patchDraftPolicyRequestDto: PatchDraftPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchPolicyResponseClass>> {
1176
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchDraftPolicy(policyCode, patchDraftPolicyRequestDto, authorization, options);
1177
1177
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1178
1178
  },
1179
1179
  /**
@@ -1280,13 +1280,13 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
1280
1280
  * This will create a draft policy in the database. **Required Permissions** \"policy-management.policies.create\"
1281
1281
  * @summary Create the draft-policy
1282
1282
  * @param {string} policyCode Unique identifier for the object.
1283
- * @param {RestCreateDraftPolicyRequestDto} restCreateDraftPolicyRequestDto
1283
+ * @param {CreateDraftPolicyRequestDto} createDraftPolicyRequestDto
1284
1284
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1285
1285
  * @param {*} [options] Override http request option.
1286
1286
  * @throws {RequiredError}
1287
1287
  */
1288
- createDraftPolicy(policyCode: string, restCreateDraftPolicyRequestDto: RestCreateDraftPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyResponseClass> {
1289
- return localVarFp.createDraftPolicy(policyCode, restCreateDraftPolicyRequestDto, authorization, options).then((request) => request(axios, basePath));
1288
+ createDraftPolicy(policyCode: string, createDraftPolicyRequestDto: CreateDraftPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyResponseClass> {
1289
+ return localVarFp.createDraftPolicy(policyCode, createDraftPolicyRequestDto, authorization, options).then((request) => request(axios, basePath));
1290
1290
  },
1291
1291
  /**
1292
1292
  * This will create a policy in the database. Policy creation is usually part of a complex workflow that starts with lead creation. Creating directly a policy without prior knowledge might result in an unusable policy. Look into lead creation for more information. **Required Permissions** \"policy-management.policies.create\"
@@ -1403,13 +1403,13 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
1403
1403
  * Updates the specified draft-policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.policies.update\"
1404
1404
  * @summary Update the draft-policy
1405
1405
  * @param {string} policyCode Unique identifier for the object.
1406
- * @param {RestPatchDraftPolicyRequestDto} restPatchDraftPolicyRequestDto
1406
+ * @param {PatchDraftPolicyRequestDto} patchDraftPolicyRequestDto
1407
1407
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1408
1408
  * @param {*} [options] Override http request option.
1409
1409
  * @throws {RequiredError}
1410
1410
  */
1411
- patchDraftPolicy(policyCode: string, restPatchDraftPolicyRequestDto: RestPatchDraftPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<PatchPolicyResponseClass> {
1412
- return localVarFp.patchDraftPolicy(policyCode, restPatchDraftPolicyRequestDto, authorization, options).then((request) => request(axios, basePath));
1411
+ patchDraftPolicy(policyCode: string, patchDraftPolicyRequestDto: PatchDraftPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<PatchPolicyResponseClass> {
1412
+ return localVarFp.patchDraftPolicy(policyCode, patchDraftPolicyRequestDto, authorization, options).then((request) => request(axios, basePath));
1413
1413
  },
1414
1414
  /**
1415
1415
  * Updates the specified policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.policies.update\"
@@ -1529,10 +1529,10 @@ export interface PoliciesApiCreateDraftPolicyRequest {
1529
1529
 
1530
1530
  /**
1531
1531
  *
1532
- * @type {RestCreateDraftPolicyRequestDto}
1532
+ * @type {CreateDraftPolicyRequestDto}
1533
1533
  * @memberof PoliciesApiCreateDraftPolicy
1534
1534
  */
1535
- readonly restCreateDraftPolicyRequestDto: RestCreateDraftPolicyRequestDto
1535
+ readonly createDraftPolicyRequestDto: CreateDraftPolicyRequestDto
1536
1536
 
1537
1537
  /**
1538
1538
  * Bearer Token: provided by the login endpoint under the name accessToken.
@@ -1886,10 +1886,10 @@ export interface PoliciesApiPatchDraftPolicyRequest {
1886
1886
 
1887
1887
  /**
1888
1888
  *
1889
- * @type {RestPatchDraftPolicyRequestDto}
1889
+ * @type {PatchDraftPolicyRequestDto}
1890
1890
  * @memberof PoliciesApiPatchDraftPolicy
1891
1891
  */
1892
- readonly restPatchDraftPolicyRequestDto: RestPatchDraftPolicyRequestDto
1892
+ readonly patchDraftPolicyRequestDto: PatchDraftPolicyRequestDto
1893
1893
 
1894
1894
  /**
1895
1895
  * Bearer Token: provided by the login endpoint under the name accessToken.
@@ -2095,7 +2095,7 @@ export class PoliciesApi extends BaseAPI {
2095
2095
  * @memberof PoliciesApi
2096
2096
  */
2097
2097
  public createDraftPolicy(requestParameters: PoliciesApiCreateDraftPolicyRequest, options?: AxiosRequestConfig) {
2098
- return PoliciesApiFp(this.configuration).createDraftPolicy(requestParameters.policyCode, requestParameters.restCreateDraftPolicyRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
2098
+ return PoliciesApiFp(this.configuration).createDraftPolicy(requestParameters.policyCode, requestParameters.createDraftPolicyRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
2099
2099
  }
2100
2100
 
2101
2101
  /**
@@ -2203,7 +2203,7 @@ export class PoliciesApi extends BaseAPI {
2203
2203
  * @memberof PoliciesApi
2204
2204
  */
2205
2205
  public patchDraftPolicy(requestParameters: PoliciesApiPatchDraftPolicyRequest, options?: AxiosRequestConfig) {
2206
- return PoliciesApiFp(this.configuration).patchDraftPolicy(requestParameters.policyCode, requestParameters.restPatchDraftPolicyRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
2206
+ return PoliciesApiFp(this.configuration).patchDraftPolicy(requestParameters.policyCode, requestParameters.patchDraftPolicyRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
2207
2207
  }
2208
2208
 
2209
2209
  /**
@@ -35,10 +35,10 @@ import { ListProductFieldTypesResponseClass } from '../models';
35
35
  // @ts-ignore
36
36
  import { ListProductFieldsResponseClass } from '../models';
37
37
  // @ts-ignore
38
- import { RestUpdateProductFieldRequestDto } from '../models';
39
- // @ts-ignore
40
38
  import { SwapProductFieldsOrderRequestDto } from '../models';
41
39
  // @ts-ignore
40
+ import { UpdateProductFieldRequestDto } from '../models';
41
+ // @ts-ignore
42
42
  import { UpdateProductFieldResponseClass } from '../models';
43
43
  /**
44
44
  * ProductFieldsApi - axios parameter creator
@@ -386,16 +386,16 @@ export const ProductFieldsApiAxiosParamCreator = function (configuration?: Confi
386
386
  * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
387
387
  * @summary Update the product
388
388
  * @param {number} id
389
- * @param {RestUpdateProductFieldRequestDto} restUpdateProductFieldRequestDto
389
+ * @param {UpdateProductFieldRequestDto} updateProductFieldRequestDto
390
390
  * @param {string} [authorization] Bearer Token
391
391
  * @param {*} [options] Override http request option.
392
392
  * @throws {RequiredError}
393
393
  */
394
- updateProductField: async (id: number, restUpdateProductFieldRequestDto: RestUpdateProductFieldRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
394
+ updateProductField: async (id: number, updateProductFieldRequestDto: UpdateProductFieldRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
395
395
  // verify required parameter 'id' is not null or undefined
396
396
  assertParamExists('updateProductField', 'id', id)
397
- // verify required parameter 'restUpdateProductFieldRequestDto' is not null or undefined
398
- assertParamExists('updateProductField', 'restUpdateProductFieldRequestDto', restUpdateProductFieldRequestDto)
397
+ // verify required parameter 'updateProductFieldRequestDto' is not null or undefined
398
+ assertParamExists('updateProductField', 'updateProductFieldRequestDto', updateProductFieldRequestDto)
399
399
  const localVarPath = `/insuranceservice/v1/product-fields/{id}`
400
400
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
401
401
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -426,7 +426,7 @@ export const ProductFieldsApiAxiosParamCreator = function (configuration?: Confi
426
426
  setSearchParams(localVarUrlObj, localVarQueryParameter);
427
427
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
428
428
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
429
- localVarRequestOptions.data = serializeDataIfNeeded(restUpdateProductFieldRequestDto, localVarRequestOptions, configuration)
429
+ localVarRequestOptions.data = serializeDataIfNeeded(updateProductFieldRequestDto, localVarRequestOptions, configuration)
430
430
 
431
431
  return {
432
432
  url: toPathString(localVarUrlObj),
@@ -531,13 +531,13 @@ export const ProductFieldsApiFp = function(configuration?: Configuration) {
531
531
  * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
532
532
  * @summary Update the product
533
533
  * @param {number} id
534
- * @param {RestUpdateProductFieldRequestDto} restUpdateProductFieldRequestDto
534
+ * @param {UpdateProductFieldRequestDto} updateProductFieldRequestDto
535
535
  * @param {string} [authorization] Bearer Token
536
536
  * @param {*} [options] Override http request option.
537
537
  * @throws {RequiredError}
538
538
  */
539
- async updateProductField(id: number, restUpdateProductFieldRequestDto: RestUpdateProductFieldRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateProductFieldResponseClass>> {
540
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateProductField(id, restUpdateProductFieldRequestDto, authorization, options);
539
+ async updateProductField(id: number, updateProductFieldRequestDto: UpdateProductFieldRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateProductFieldResponseClass>> {
540
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateProductField(id, updateProductFieldRequestDto, authorization, options);
541
541
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
542
542
  },
543
543
  }
@@ -632,13 +632,13 @@ export const ProductFieldsApiFactory = function (configuration?: Configuration,
632
632
  * Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"policy-management.products.update\"
633
633
  * @summary Update the product
634
634
  * @param {number} id
635
- * @param {RestUpdateProductFieldRequestDto} restUpdateProductFieldRequestDto
635
+ * @param {UpdateProductFieldRequestDto} updateProductFieldRequestDto
636
636
  * @param {string} [authorization] Bearer Token
637
637
  * @param {*} [options] Override http request option.
638
638
  * @throws {RequiredError}
639
639
  */
640
- updateProductField(id: number, restUpdateProductFieldRequestDto: RestUpdateProductFieldRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductFieldResponseClass> {
641
- return localVarFp.updateProductField(id, restUpdateProductFieldRequestDto, authorization, options).then((request) => request(axios, basePath));
640
+ updateProductField(id: number, updateProductFieldRequestDto: UpdateProductFieldRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductFieldResponseClass> {
641
+ return localVarFp.updateProductField(id, updateProductFieldRequestDto, authorization, options).then((request) => request(axios, basePath));
642
642
  },
643
643
  };
644
644
  };
@@ -868,10 +868,10 @@ export interface ProductFieldsApiUpdateProductFieldRequest {
868
868
 
869
869
  /**
870
870
  *
871
- * @type {RestUpdateProductFieldRequestDto}
871
+ * @type {UpdateProductFieldRequestDto}
872
872
  * @memberof ProductFieldsApiUpdateProductField
873
873
  */
874
- readonly restUpdateProductFieldRequestDto: RestUpdateProductFieldRequestDto
874
+ readonly updateProductFieldRequestDto: UpdateProductFieldRequestDto
875
875
 
876
876
  /**
877
877
  * Bearer Token
@@ -969,6 +969,6 @@ export class ProductFieldsApi extends BaseAPI {
969
969
  * @memberof ProductFieldsApi
970
970
  */
971
971
  public updateProductField(requestParameters: ProductFieldsApiUpdateProductFieldRequest, options?: AxiosRequestConfig) {
972
- return ProductFieldsApiFp(this.configuration).updateProductField(requestParameters.id, requestParameters.restUpdateProductFieldRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
972
+ return ProductFieldsApiFp(this.configuration).updateProductField(requestParameters.id, requestParameters.updateProductFieldRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
973
973
  }
974
974
  }