@emilgroup/insurance-sdk-node 1.78.0 → 1.78.1-beta.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 +13 -4
  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 +6 -0
  19. package/dist/models/{patch-booking-funnel-request-dto.d.ts → grpc-patch-booking-funnel-request-dto.d.ts} +10 -10
  20. package/dist/models/grpc-patch-draft-policy-request-dto.d.ts +76 -0
  21. package/dist/models/{patch-draft-policy-request-dto.js → grpc-patch-draft-policy-request-dto.js} +2 -2
  22. package/dist/models/grpc-patch-status-transition-rule-request-dto.d.ts +53 -0
  23. package/dist/models/{update-status-transition-rule-request-dto.js → grpc-patch-status-transition-rule-request-dto.js} +2 -2
  24. package/dist/models/{update-booking-funnel-request-dto.d.ts → grpc-update-booking-funnel-request-dto.d.ts} +10 -10
  25. package/dist/models/grpc-update-status-transition-rule-request-dto.d.ts +53 -0
  26. package/dist/models/grpc-update-status-transition-rule-request-dto.js +20 -0
  27. package/dist/models/index.d.ts +13 -4
  28. package/dist/models/index.js +13 -4
  29. package/dist/models/patch-status-transition-rule-request-dto.d.ts +4 -10
  30. package/dist/models/rest-create-draft-policy-request-dto.d.ts +70 -0
  31. package/dist/models/rest-create-draft-policy-request-dto.js +23 -0
  32. package/dist/models/rest-create-status-transition-rule-request-dto.d.ts +47 -0
  33. package/dist/models/rest-create-status-transition-rule-request-dto.js +20 -0
  34. package/dist/models/rest-patch-booking-funnel-request-dto.d.ts +60 -0
  35. package/dist/models/rest-patch-booking-funnel-request-dto.js +15 -0
  36. package/dist/models/{patch-draft-policy-request-dto.d.ts → rest-patch-draft-policy-request-dto.d.ts} +12 -12
  37. package/dist/models/rest-patch-draft-policy-request-dto.js +23 -0
  38. package/dist/models/rest-update-booking-funnel-request-dto.d.ts +60 -0
  39. package/dist/models/rest-update-booking-funnel-request-dto.js +15 -0
  40. package/dist/models/rest-update-product-field-request-dto.d.ts +171 -0
  41. package/dist/models/rest-update-product-field-request-dto.js +28 -0
  42. package/dist/models/rest-update-status-transition-rule-request-dto.d.ts +47 -0
  43. package/dist/models/rest-update-status-transition-rule-request-dto.js +20 -0
  44. package/dist/models/shared-delete-request-dto.d.ts +24 -0
  45. package/dist/models/shared-delete-request-dto.js +15 -0
  46. package/models/create-draft-policy-request-dto.ts +6 -0
  47. package/models/{patch-booking-funnel-request-dto.ts → grpc-patch-booking-funnel-request-dto.ts} +10 -10
  48. package/models/grpc-patch-draft-policy-request-dto.ts +85 -0
  49. package/models/grpc-patch-status-transition-rule-request-dto.ts +62 -0
  50. package/models/{update-booking-funnel-request-dto.ts → grpc-update-booking-funnel-request-dto.ts} +10 -10
  51. package/models/{update-status-transition-rule-request-dto.ts → grpc-update-status-transition-rule-request-dto.ts} +10 -10
  52. package/models/index.ts +13 -4
  53. package/models/patch-status-transition-rule-request-dto.ts +4 -10
  54. package/models/rest-create-draft-policy-request-dto.ts +79 -0
  55. package/models/rest-create-status-transition-rule-request-dto.ts +56 -0
  56. package/models/rest-patch-booking-funnel-request-dto.ts +66 -0
  57. package/models/{patch-draft-policy-request-dto.ts → rest-patch-draft-policy-request-dto.ts} +12 -12
  58. package/models/rest-update-booking-funnel-request-dto.ts +66 -0
  59. package/models/rest-update-product-field-request-dto.ts +182 -0
  60. package/models/rest-update-status-transition-rule-request-dto.ts +56 -0
  61. package/models/shared-delete-request-dto.ts +30 -0
  62. package/package.json +1 -1
  63. package/dist/models/update-status-transition-rule-request-dto.d.ts +0 -53
  64. /package/dist/models/{patch-booking-funnel-request-dto.js → grpc-patch-booking-funnel-request-dto.js} +0 -0
  65. /package/dist/models/{update-booking-funnel-request-dto.js → grpc-update-booking-funnel-request-dto.js} +0 -0
@@ -136,6 +136,11 @@ 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
139
144
  models/index.ts
140
145
  models/inline-response200.ts
141
146
  models/inline-response503.ts
@@ -181,9 +186,7 @@ models/omit-type-class.ts
181
186
  models/partner-class.ts
182
187
  models/partner-link-class.ts
183
188
  models/partner-role-class.ts
184
- models/patch-booking-funnel-request-dto.ts
185
189
  models/patch-booking-funnel-response-class.ts
186
- models/patch-draft-policy-request-dto.ts
187
190
  models/patch-lead-request-dto.ts
188
191
  models/patch-lead-response-class.ts
189
192
  models/patch-policy-request-dto.ts
@@ -209,10 +212,18 @@ models/product-field-class.ts
209
212
  models/product-field-type-class.ts
210
213
  models/product-version-class.ts
211
214
  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
212
222
  models/restore-policy-version-request-dto.ts
213
223
  models/restore-policy-version-response-class.ts
214
224
  models/sepa-dto.ts
215
225
  models/shared-create-lead-policy-request-dto.ts
226
+ models/shared-delete-request-dto.ts
216
227
  models/shared-invoice-class.ts
217
228
  models/shared-lead-policy-object-dto.ts
218
229
  models/shared-product-field-class.ts
@@ -230,7 +241,6 @@ models/terminate-policy-request-dto.ts
230
241
  models/terminate-policy-response-class.ts
231
242
  models/timeslice-class.ts
232
243
  models/unlink-partner-response-class.ts
233
- models/update-booking-funnel-request-dto.ts
234
244
  models/update-booking-funnel-response-class.ts
235
245
  models/update-commission-agreement-item-request-dto.ts
236
246
  models/update-commission-agreement-item-response-class.ts
@@ -263,7 +273,6 @@ models/update-product-request-dto.ts
263
273
  models/update-product-response-class.ts
264
274
  models/update-product-version-request-dto.ts
265
275
  models/update-product-version-response-class.ts
266
- models/update-status-transition-rule-request-dto.ts
267
276
  models/update-status-transition-rule-response-class.ts
268
277
  models/uploaded-document-dto.ts
269
278
  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-node@1.78.0 --save
20
+ npm install @emilgroup/insurance-sdk-node@1.78.1-beta.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk-node@1.78.0
24
+ yarn add @emilgroup/insurance-sdk-node@1.78.1-beta.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 { PatchBookingFunnelRequestDto } from '../models';
35
- // @ts-ignore
36
34
  import { PatchBookingFunnelResponseClass } from '../models';
37
35
  // @ts-ignore
38
- import { UpdateBookingFunnelRequestDto } from '../models';
36
+ import { RestPatchBookingFunnelRequestDto } from '../models';
37
+ // @ts-ignore
38
+ import { RestUpdateBookingFunnelRequestDto } from '../models';
39
39
  // @ts-ignore
40
40
  import { UpdateBookingFunnelResponseClass } from '../models';
41
41
  // URLSearchParams not necessarily used
@@ -264,16 +264,16 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
264
264
  /**
265
265
  * This will patch a booking funnel. **Required Permissions** \"policy-management.products.update\"
266
266
  * @param {string} code
267
- * @param {PatchBookingFunnelRequestDto} patchBookingFunnelRequestDto
267
+ * @param {RestPatchBookingFunnelRequestDto} restPatchBookingFunnelRequestDto
268
268
  * @param {string} [authorization] Bearer Token
269
269
  * @param {*} [options] Override http request option.
270
270
  * @throws {RequiredError}
271
271
  */
272
- patchBookingFunnel: async (code: string, patchBookingFunnelRequestDto: PatchBookingFunnelRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
272
+ patchBookingFunnel: async (code: string, restPatchBookingFunnelRequestDto: RestPatchBookingFunnelRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
273
273
  // verify required parameter 'code' is not null or undefined
274
274
  assertParamExists('patchBookingFunnel', 'code', code)
275
- // verify required parameter 'patchBookingFunnelRequestDto' is not null or undefined
276
- assertParamExists('patchBookingFunnel', 'patchBookingFunnelRequestDto', patchBookingFunnelRequestDto)
275
+ // verify required parameter 'restPatchBookingFunnelRequestDto' is not null or undefined
276
+ assertParamExists('patchBookingFunnel', 'restPatchBookingFunnelRequestDto', restPatchBookingFunnelRequestDto)
277
277
  const localVarPath = `/insuranceservice/v1/booking-funnels/{code}`
278
278
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
279
279
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -304,7 +304,7 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
304
304
  setSearchParams(localVarUrlObj, localVarQueryParameter);
305
305
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
306
306
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
307
- localVarRequestOptions.data = serializeDataIfNeeded(patchBookingFunnelRequestDto, localVarRequestOptions, configuration)
307
+ localVarRequestOptions.data = serializeDataIfNeeded(restPatchBookingFunnelRequestDto, localVarRequestOptions, configuration)
308
308
 
309
309
  return {
310
310
  url: toPathString(localVarUrlObj),
@@ -315,16 +315,16 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
315
315
  * This will update a booking funnel. **Required Permissions** \"policy-management.products.update\"
316
316
  * @summary Update the booking funnel
317
317
  * @param {string} code
318
- * @param {UpdateBookingFunnelRequestDto} updateBookingFunnelRequestDto
318
+ * @param {RestUpdateBookingFunnelRequestDto} restUpdateBookingFunnelRequestDto
319
319
  * @param {string} [authorization] Bearer Token
320
320
  * @param {*} [options] Override http request option.
321
321
  * @throws {RequiredError}
322
322
  */
323
- updateBookingFunnel: async (code: string, updateBookingFunnelRequestDto: UpdateBookingFunnelRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
323
+ updateBookingFunnel: async (code: string, restUpdateBookingFunnelRequestDto: RestUpdateBookingFunnelRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
324
324
  // verify required parameter 'code' is not null or undefined
325
325
  assertParamExists('updateBookingFunnel', 'code', code)
326
- // verify required parameter 'updateBookingFunnelRequestDto' is not null or undefined
327
- assertParamExists('updateBookingFunnel', 'updateBookingFunnelRequestDto', updateBookingFunnelRequestDto)
326
+ // verify required parameter 'restUpdateBookingFunnelRequestDto' is not null or undefined
327
+ assertParamExists('updateBookingFunnel', 'restUpdateBookingFunnelRequestDto', restUpdateBookingFunnelRequestDto)
328
328
  const localVarPath = `/insuranceservice/v1/booking-funnels/{code}`
329
329
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
330
330
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -355,7 +355,7 @@ export const BookingFunnelsApiAxiosParamCreator = function (configuration?: Conf
355
355
  setSearchParams(localVarUrlObj, localVarQueryParameter);
356
356
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
357
357
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
358
- localVarRequestOptions.data = serializeDataIfNeeded(updateBookingFunnelRequestDto, localVarRequestOptions, configuration)
358
+ localVarRequestOptions.data = serializeDataIfNeeded(restUpdateBookingFunnelRequestDto, localVarRequestOptions, configuration)
359
359
 
360
360
  return {
361
361
  url: toPathString(localVarUrlObj),
@@ -429,26 +429,26 @@ export const BookingFunnelsApiFp = function(configuration?: Configuration) {
429
429
  /**
430
430
  * This will patch a booking funnel. **Required Permissions** \"policy-management.products.update\"
431
431
  * @param {string} code
432
- * @param {PatchBookingFunnelRequestDto} patchBookingFunnelRequestDto
432
+ * @param {RestPatchBookingFunnelRequestDto} restPatchBookingFunnelRequestDto
433
433
  * @param {string} [authorization] Bearer Token
434
434
  * @param {*} [options] Override http request option.
435
435
  * @throws {RequiredError}
436
436
  */
437
- async patchBookingFunnel(code: string, patchBookingFunnelRequestDto: PatchBookingFunnelRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchBookingFunnelResponseClass>> {
438
- const localVarAxiosArgs = await localVarAxiosParamCreator.patchBookingFunnel(code, patchBookingFunnelRequestDto, authorization, options);
437
+ async patchBookingFunnel(code: string, restPatchBookingFunnelRequestDto: RestPatchBookingFunnelRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchBookingFunnelResponseClass>> {
438
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchBookingFunnel(code, restPatchBookingFunnelRequestDto, authorization, options);
439
439
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
440
440
  },
441
441
  /**
442
442
  * This will update a booking funnel. **Required Permissions** \"policy-management.products.update\"
443
443
  * @summary Update the booking funnel
444
444
  * @param {string} code
445
- * @param {UpdateBookingFunnelRequestDto} updateBookingFunnelRequestDto
445
+ * @param {RestUpdateBookingFunnelRequestDto} restUpdateBookingFunnelRequestDto
446
446
  * @param {string} [authorization] Bearer Token
447
447
  * @param {*} [options] Override http request option.
448
448
  * @throws {RequiredError}
449
449
  */
450
- async updateBookingFunnel(code: string, updateBookingFunnelRequestDto: UpdateBookingFunnelRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBookingFunnelResponseClass>> {
451
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateBookingFunnel(code, updateBookingFunnelRequestDto, authorization, options);
450
+ async updateBookingFunnel(code: string, restUpdateBookingFunnelRequestDto: RestUpdateBookingFunnelRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateBookingFunnelResponseClass>> {
451
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateBookingFunnel(code, restUpdateBookingFunnelRequestDto, authorization, options);
452
452
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
453
453
  },
454
454
  }
@@ -514,25 +514,25 @@ export const BookingFunnelsApiFactory = function (configuration?: Configuration,
514
514
  /**
515
515
  * This will patch a booking funnel. **Required Permissions** \"policy-management.products.update\"
516
516
  * @param {string} code
517
- * @param {PatchBookingFunnelRequestDto} patchBookingFunnelRequestDto
517
+ * @param {RestPatchBookingFunnelRequestDto} restPatchBookingFunnelRequestDto
518
518
  * @param {string} [authorization] Bearer Token
519
519
  * @param {*} [options] Override http request option.
520
520
  * @throws {RequiredError}
521
521
  */
522
- patchBookingFunnel(code: string, patchBookingFunnelRequestDto: PatchBookingFunnelRequestDto, authorization?: string, options?: any): AxiosPromise<PatchBookingFunnelResponseClass> {
523
- return localVarFp.patchBookingFunnel(code, patchBookingFunnelRequestDto, authorization, options).then((request) => request(axios, basePath));
522
+ patchBookingFunnel(code: string, restPatchBookingFunnelRequestDto: RestPatchBookingFunnelRequestDto, authorization?: string, options?: any): AxiosPromise<PatchBookingFunnelResponseClass> {
523
+ return localVarFp.patchBookingFunnel(code, restPatchBookingFunnelRequestDto, authorization, options).then((request) => request(axios, basePath));
524
524
  },
525
525
  /**
526
526
  * This will update a booking funnel. **Required Permissions** \"policy-management.products.update\"
527
527
  * @summary Update the booking funnel
528
528
  * @param {string} code
529
- * @param {UpdateBookingFunnelRequestDto} updateBookingFunnelRequestDto
529
+ * @param {RestUpdateBookingFunnelRequestDto} restUpdateBookingFunnelRequestDto
530
530
  * @param {string} [authorization] Bearer Token
531
531
  * @param {*} [options] Override http request option.
532
532
  * @throws {RequiredError}
533
533
  */
534
- updateBookingFunnel(code: string, updateBookingFunnelRequestDto: UpdateBookingFunnelRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateBookingFunnelResponseClass> {
535
- return localVarFp.updateBookingFunnel(code, updateBookingFunnelRequestDto, authorization, options).then((request) => request(axios, basePath));
534
+ updateBookingFunnel(code: string, restUpdateBookingFunnelRequestDto: RestUpdateBookingFunnelRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateBookingFunnelResponseClass> {
535
+ return localVarFp.updateBookingFunnel(code, restUpdateBookingFunnelRequestDto, authorization, options).then((request) => request(axios, basePath));
536
536
  },
537
537
  };
538
538
  };
@@ -678,10 +678,10 @@ export interface BookingFunnelsApiPatchBookingFunnelRequest {
678
678
 
679
679
  /**
680
680
  *
681
- * @type {PatchBookingFunnelRequestDto}
681
+ * @type {RestPatchBookingFunnelRequestDto}
682
682
  * @memberof BookingFunnelsApiPatchBookingFunnel
683
683
  */
684
- readonly patchBookingFunnelRequestDto: PatchBookingFunnelRequestDto
684
+ readonly restPatchBookingFunnelRequestDto: RestPatchBookingFunnelRequestDto
685
685
 
686
686
  /**
687
687
  * Bearer Token
@@ -706,10 +706,10 @@ export interface BookingFunnelsApiUpdateBookingFunnelRequest {
706
706
 
707
707
  /**
708
708
  *
709
- * @type {UpdateBookingFunnelRequestDto}
709
+ * @type {RestUpdateBookingFunnelRequestDto}
710
710
  * @memberof BookingFunnelsApiUpdateBookingFunnel
711
711
  */
712
- readonly updateBookingFunnelRequestDto: UpdateBookingFunnelRequestDto
712
+ readonly restUpdateBookingFunnelRequestDto: RestUpdateBookingFunnelRequestDto
713
713
 
714
714
  /**
715
715
  * Bearer Token
@@ -782,7 +782,7 @@ export class BookingFunnelsApi extends BaseAPI {
782
782
  * @memberof BookingFunnelsApi
783
783
  */
784
784
  public patchBookingFunnel(requestParameters: BookingFunnelsApiPatchBookingFunnelRequest, options?: AxiosRequestConfig) {
785
- return BookingFunnelsApiFp(this.configuration).patchBookingFunnel(requestParameters.code, requestParameters.patchBookingFunnelRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
785
+ return BookingFunnelsApiFp(this.configuration).patchBookingFunnel(requestParameters.code, requestParameters.restPatchBookingFunnelRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
786
786
  }
787
787
 
788
788
  /**
@@ -794,6 +794,6 @@ export class BookingFunnelsApi extends BaseAPI {
794
794
  * @memberof BookingFunnelsApi
795
795
  */
796
796
  public updateBookingFunnel(requestParameters: BookingFunnelsApiUpdateBookingFunnelRequest, options?: AxiosRequestConfig) {
797
- return BookingFunnelsApiFp(this.configuration).updateBookingFunnel(requestParameters.code, requestParameters.updateBookingFunnelRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
797
+ return BookingFunnelsApiFp(this.configuration).updateBookingFunnel(requestParameters.code, requestParameters.restUpdateBookingFunnelRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
798
798
  }
799
799
  }
@@ -200,7 +200,7 @@ export const CommissionAgreementItemsApiAxiosParamCreator = function (configurat
200
200
  * @param {string} [pageToken] Page token.
201
201
  * @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;
202
202
  * @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;
203
- * @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;
203
+ * @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;
204
204
  * @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;
205
205
  * @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;
206
206
  * @param {*} [options] Override http request option.
@@ -375,7 +375,7 @@ export const CommissionAgreementItemsApiFp = function(configuration?: Configurat
375
375
  * @param {string} [pageToken] Page token.
376
376
  * @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;
377
377
  * @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;
378
- * @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;
378
+ * @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;
379
379
  * @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;
380
380
  * @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;
381
381
  * @param {*} [options] Override http request option.
@@ -451,7 +451,7 @@ export const CommissionAgreementItemsApiFactory = function (configuration?: Conf
451
451
  * @param {string} [pageToken] Page token.
452
452
  * @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;
453
453
  * @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;
454
- * @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;
454
+ * @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;
455
455
  * @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;
456
456
  * @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;
457
457
  * @param {*} [options] Override http request option.
@@ -594,7 +594,7 @@ export interface CommissionAgreementItemsApiListCommissionAgreementItemsRequest
594
594
  readonly search?: string
595
595
 
596
596
  /**
597
- * 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;
597
+ * 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;
598
598
  * @type {string}
599
599
  * @memberof CommissionAgreementItemsApiListCommissionAgreementItems
600
600
  */
@@ -25,8 +25,6 @@ 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
30
28
  import { CreatePolicyRequestDto } from '../models';
31
29
  // @ts-ignore
32
30
  import { CreatePolicyResponseClass } from '../models';
@@ -41,12 +39,14 @@ import { ListPolicyObjectsResponseClass } from '../models';
41
39
  // @ts-ignore
42
40
  import { ListPolicyVersionResponseClass } from '../models';
43
41
  // @ts-ignore
44
- import { PatchDraftPolicyRequestDto } from '../models';
45
- // @ts-ignore
46
42
  import { PatchPolicyRequestDto } from '../models';
47
43
  // @ts-ignore
48
44
  import { PatchPolicyResponseClass } from '../models';
49
45
  // @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';
@@ -129,16 +129,16 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
129
129
  * This will create a draft policy in the database. **Required Permissions** \"policy-management.policies.create\"
130
130
  * @summary Create the draft-policy
131
131
  * @param {string} policyCode Unique identifier for the object.
132
- * @param {CreateDraftPolicyRequestDto} createDraftPolicyRequestDto
132
+ * @param {RestCreateDraftPolicyRequestDto} restCreateDraftPolicyRequestDto
133
133
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
134
134
  * @param {*} [options] Override http request option.
135
135
  * @throws {RequiredError}
136
136
  */
137
- createDraftPolicy: async (policyCode: string, createDraftPolicyRequestDto: CreateDraftPolicyRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
137
+ createDraftPolicy: async (policyCode: string, restCreateDraftPolicyRequestDto: RestCreateDraftPolicyRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
138
138
  // verify required parameter 'policyCode' is not null or undefined
139
139
  assertParamExists('createDraftPolicy', 'policyCode', policyCode)
140
- // verify required parameter 'createDraftPolicyRequestDto' is not null or undefined
141
- assertParamExists('createDraftPolicy', 'createDraftPolicyRequestDto', createDraftPolicyRequestDto)
140
+ // verify required parameter 'restCreateDraftPolicyRequestDto' is not null or undefined
141
+ assertParamExists('createDraftPolicy', 'restCreateDraftPolicyRequestDto', restCreateDraftPolicyRequestDto)
142
142
  const localVarPath = `/insuranceservice/v1/policies/{policyCode}/draft`
143
143
  .replace(`{${"policyCode"}}`, encodeURIComponent(String(policyCode)));
144
144
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -169,7 +169,7 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
169
169
  setSearchParams(localVarUrlObj, localVarQueryParameter);
170
170
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
171
171
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
172
- localVarRequestOptions.data = serializeDataIfNeeded(createDraftPolicyRequestDto, localVarRequestOptions, configuration)
172
+ localVarRequestOptions.data = serializeDataIfNeeded(restCreateDraftPolicyRequestDto, localVarRequestOptions, configuration)
173
173
 
174
174
  return {
175
175
  url: toPathString(localVarUrlObj),
@@ -659,16 +659,16 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
659
659
  * 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\"
660
660
  * @summary Update the draft-policy
661
661
  * @param {string} policyCode Unique identifier for the object.
662
- * @param {PatchDraftPolicyRequestDto} patchDraftPolicyRequestDto
662
+ * @param {RestPatchDraftPolicyRequestDto} restPatchDraftPolicyRequestDto
663
663
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
664
664
  * @param {*} [options] Override http request option.
665
665
  * @throws {RequiredError}
666
666
  */
667
- patchDraftPolicy: async (policyCode: string, patchDraftPolicyRequestDto: PatchDraftPolicyRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
667
+ patchDraftPolicy: async (policyCode: string, restPatchDraftPolicyRequestDto: RestPatchDraftPolicyRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
668
668
  // verify required parameter 'policyCode' is not null or undefined
669
669
  assertParamExists('patchDraftPolicy', 'policyCode', policyCode)
670
- // verify required parameter 'patchDraftPolicyRequestDto' is not null or undefined
671
- assertParamExists('patchDraftPolicy', 'patchDraftPolicyRequestDto', patchDraftPolicyRequestDto)
670
+ // verify required parameter 'restPatchDraftPolicyRequestDto' is not null or undefined
671
+ assertParamExists('patchDraftPolicy', 'restPatchDraftPolicyRequestDto', restPatchDraftPolicyRequestDto)
672
672
  const localVarPath = `/insuranceservice/v1/policies/{policyCode}/draft`
673
673
  .replace(`{${"policyCode"}}`, encodeURIComponent(String(policyCode)));
674
674
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -699,7 +699,7 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
699
699
  setSearchParams(localVarUrlObj, localVarQueryParameter);
700
700
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
701
701
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
702
- localVarRequestOptions.data = serializeDataIfNeeded(patchDraftPolicyRequestDto, localVarRequestOptions, configuration)
702
+ localVarRequestOptions.data = serializeDataIfNeeded(restPatchDraftPolicyRequestDto, localVarRequestOptions, configuration)
703
703
 
704
704
  return {
705
705
  url: toPathString(localVarUrlObj),
@@ -1039,13 +1039,13 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
1039
1039
  * This will create a draft policy in the database. **Required Permissions** \"policy-management.policies.create\"
1040
1040
  * @summary Create the draft-policy
1041
1041
  * @param {string} policyCode Unique identifier for the object.
1042
- * @param {CreateDraftPolicyRequestDto} createDraftPolicyRequestDto
1042
+ * @param {RestCreateDraftPolicyRequestDto} restCreateDraftPolicyRequestDto
1043
1043
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1044
1044
  * @param {*} [options] Override http request option.
1045
1045
  * @throws {RequiredError}
1046
1046
  */
1047
- async createDraftPolicy(policyCode: string, createDraftPolicyRequestDto: CreateDraftPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyResponseClass>> {
1048
- const localVarAxiosArgs = await localVarAxiosParamCreator.createDraftPolicy(policyCode, createDraftPolicyRequestDto, authorization, options);
1047
+ async createDraftPolicy(policyCode: string, restCreateDraftPolicyRequestDto: RestCreateDraftPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyResponseClass>> {
1048
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createDraftPolicy(policyCode, restCreateDraftPolicyRequestDto, authorization, options);
1049
1049
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1050
1050
  },
1051
1051
  /**
@@ -1171,13 +1171,13 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
1171
1171
  * 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\"
1172
1172
  * @summary Update the draft-policy
1173
1173
  * @param {string} policyCode Unique identifier for the object.
1174
- * @param {PatchDraftPolicyRequestDto} patchDraftPolicyRequestDto
1174
+ * @param {RestPatchDraftPolicyRequestDto} restPatchDraftPolicyRequestDto
1175
1175
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1176
1176
  * @param {*} [options] Override http request option.
1177
1177
  * @throws {RequiredError}
1178
1178
  */
1179
- async patchDraftPolicy(policyCode: string, patchDraftPolicyRequestDto: PatchDraftPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchPolicyResponseClass>> {
1180
- const localVarAxiosArgs = await localVarAxiosParamCreator.patchDraftPolicy(policyCode, patchDraftPolicyRequestDto, authorization, options);
1179
+ async patchDraftPolicy(policyCode: string, restPatchDraftPolicyRequestDto: RestPatchDraftPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchPolicyResponseClass>> {
1180
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchDraftPolicy(policyCode, restPatchDraftPolicyRequestDto, authorization, options);
1181
1181
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1182
1182
  },
1183
1183
  /**
@@ -1284,13 +1284,13 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
1284
1284
  * This will create a draft policy in the database. **Required Permissions** \"policy-management.policies.create\"
1285
1285
  * @summary Create the draft-policy
1286
1286
  * @param {string} policyCode Unique identifier for the object.
1287
- * @param {CreateDraftPolicyRequestDto} createDraftPolicyRequestDto
1287
+ * @param {RestCreateDraftPolicyRequestDto} restCreateDraftPolicyRequestDto
1288
1288
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1289
1289
  * @param {*} [options] Override http request option.
1290
1290
  * @throws {RequiredError}
1291
1291
  */
1292
- createDraftPolicy(policyCode: string, createDraftPolicyRequestDto: CreateDraftPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyResponseClass> {
1293
- return localVarFp.createDraftPolicy(policyCode, createDraftPolicyRequestDto, authorization, options).then((request) => request(axios, basePath));
1292
+ createDraftPolicy(policyCode: string, restCreateDraftPolicyRequestDto: RestCreateDraftPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyResponseClass> {
1293
+ return localVarFp.createDraftPolicy(policyCode, restCreateDraftPolicyRequestDto, authorization, options).then((request) => request(axios, basePath));
1294
1294
  },
1295
1295
  /**
1296
1296
  * 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\"
@@ -1407,13 +1407,13 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
1407
1407
  * 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\"
1408
1408
  * @summary Update the draft-policy
1409
1409
  * @param {string} policyCode Unique identifier for the object.
1410
- * @param {PatchDraftPolicyRequestDto} patchDraftPolicyRequestDto
1410
+ * @param {RestPatchDraftPolicyRequestDto} restPatchDraftPolicyRequestDto
1411
1411
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1412
1412
  * @param {*} [options] Override http request option.
1413
1413
  * @throws {RequiredError}
1414
1414
  */
1415
- patchDraftPolicy(policyCode: string, patchDraftPolicyRequestDto: PatchDraftPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<PatchPolicyResponseClass> {
1416
- return localVarFp.patchDraftPolicy(policyCode, patchDraftPolicyRequestDto, authorization, options).then((request) => request(axios, basePath));
1415
+ patchDraftPolicy(policyCode: string, restPatchDraftPolicyRequestDto: RestPatchDraftPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<PatchPolicyResponseClass> {
1416
+ return localVarFp.patchDraftPolicy(policyCode, restPatchDraftPolicyRequestDto, authorization, options).then((request) => request(axios, basePath));
1417
1417
  },
1418
1418
  /**
1419
1419
  * 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\"
@@ -1533,10 +1533,10 @@ export interface PoliciesApiCreateDraftPolicyRequest {
1533
1533
 
1534
1534
  /**
1535
1535
  *
1536
- * @type {CreateDraftPolicyRequestDto}
1536
+ * @type {RestCreateDraftPolicyRequestDto}
1537
1537
  * @memberof PoliciesApiCreateDraftPolicy
1538
1538
  */
1539
- readonly createDraftPolicyRequestDto: CreateDraftPolicyRequestDto
1539
+ readonly restCreateDraftPolicyRequestDto: RestCreateDraftPolicyRequestDto
1540
1540
 
1541
1541
  /**
1542
1542
  * Bearer Token: provided by the login endpoint under the name accessToken.
@@ -1890,10 +1890,10 @@ export interface PoliciesApiPatchDraftPolicyRequest {
1890
1890
 
1891
1891
  /**
1892
1892
  *
1893
- * @type {PatchDraftPolicyRequestDto}
1893
+ * @type {RestPatchDraftPolicyRequestDto}
1894
1894
  * @memberof PoliciesApiPatchDraftPolicy
1895
1895
  */
1896
- readonly patchDraftPolicyRequestDto: PatchDraftPolicyRequestDto
1896
+ readonly restPatchDraftPolicyRequestDto: RestPatchDraftPolicyRequestDto
1897
1897
 
1898
1898
  /**
1899
1899
  * Bearer Token: provided by the login endpoint under the name accessToken.
@@ -2099,7 +2099,7 @@ export class PoliciesApi extends BaseAPI {
2099
2099
  * @memberof PoliciesApi
2100
2100
  */
2101
2101
  public createDraftPolicy(requestParameters: PoliciesApiCreateDraftPolicyRequest, options?: AxiosRequestConfig) {
2102
- return PoliciesApiFp(this.configuration).createDraftPolicy(requestParameters.policyCode, requestParameters.createDraftPolicyRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
2102
+ return PoliciesApiFp(this.configuration).createDraftPolicy(requestParameters.policyCode, requestParameters.restCreateDraftPolicyRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
2103
2103
  }
2104
2104
 
2105
2105
  /**
@@ -2207,7 +2207,7 @@ export class PoliciesApi extends BaseAPI {
2207
2207
  * @memberof PoliciesApi
2208
2208
  */
2209
2209
  public patchDraftPolicy(requestParameters: PoliciesApiPatchDraftPolicyRequest, options?: AxiosRequestConfig) {
2210
- return PoliciesApiFp(this.configuration).patchDraftPolicy(requestParameters.policyCode, requestParameters.patchDraftPolicyRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
2210
+ return PoliciesApiFp(this.configuration).patchDraftPolicy(requestParameters.policyCode, requestParameters.restPatchDraftPolicyRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
2211
2211
  }
2212
2212
 
2213
2213
  /**
@@ -35,9 +35,9 @@ import { ListProductFieldTypesResponseClass } from '../models';
35
35
  // @ts-ignore
36
36
  import { ListProductFieldsResponseClass } from '../models';
37
37
  // @ts-ignore
38
- import { SwapProductFieldsOrderRequestDto } from '../models';
38
+ import { RestUpdateProductFieldRequestDto } from '../models';
39
39
  // @ts-ignore
40
- import { UpdateProductFieldRequestDto } from '../models';
40
+ import { SwapProductFieldsOrderRequestDto } from '../models';
41
41
  // @ts-ignore
42
42
  import { UpdateProductFieldResponseClass } from '../models';
43
43
  // URLSearchParams not necessarily used
@@ -390,16 +390,16 @@ export const ProductFieldsApiAxiosParamCreator = function (configuration?: Confi
390
390
  * 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\"
391
391
  * @summary Update the product
392
392
  * @param {number} id
393
- * @param {UpdateProductFieldRequestDto} updateProductFieldRequestDto
393
+ * @param {RestUpdateProductFieldRequestDto} restUpdateProductFieldRequestDto
394
394
  * @param {string} [authorization] Bearer Token
395
395
  * @param {*} [options] Override http request option.
396
396
  * @throws {RequiredError}
397
397
  */
398
- updateProductField: async (id: number, updateProductFieldRequestDto: UpdateProductFieldRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
398
+ updateProductField: async (id: number, restUpdateProductFieldRequestDto: RestUpdateProductFieldRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
399
399
  // verify required parameter 'id' is not null or undefined
400
400
  assertParamExists('updateProductField', 'id', id)
401
- // verify required parameter 'updateProductFieldRequestDto' is not null or undefined
402
- assertParamExists('updateProductField', 'updateProductFieldRequestDto', updateProductFieldRequestDto)
401
+ // verify required parameter 'restUpdateProductFieldRequestDto' is not null or undefined
402
+ assertParamExists('updateProductField', 'restUpdateProductFieldRequestDto', restUpdateProductFieldRequestDto)
403
403
  const localVarPath = `/insuranceservice/v1/product-fields/{id}`
404
404
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
405
405
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -430,7 +430,7 @@ export const ProductFieldsApiAxiosParamCreator = function (configuration?: Confi
430
430
  setSearchParams(localVarUrlObj, localVarQueryParameter);
431
431
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
432
432
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
433
- localVarRequestOptions.data = serializeDataIfNeeded(updateProductFieldRequestDto, localVarRequestOptions, configuration)
433
+ localVarRequestOptions.data = serializeDataIfNeeded(restUpdateProductFieldRequestDto, localVarRequestOptions, configuration)
434
434
 
435
435
  return {
436
436
  url: toPathString(localVarUrlObj),
@@ -535,13 +535,13 @@ export const ProductFieldsApiFp = function(configuration?: Configuration) {
535
535
  * 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\"
536
536
  * @summary Update the product
537
537
  * @param {number} id
538
- * @param {UpdateProductFieldRequestDto} updateProductFieldRequestDto
538
+ * @param {RestUpdateProductFieldRequestDto} restUpdateProductFieldRequestDto
539
539
  * @param {string} [authorization] Bearer Token
540
540
  * @param {*} [options] Override http request option.
541
541
  * @throws {RequiredError}
542
542
  */
543
- async updateProductField(id: number, updateProductFieldRequestDto: UpdateProductFieldRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateProductFieldResponseClass>> {
544
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateProductField(id, updateProductFieldRequestDto, authorization, options);
543
+ async updateProductField(id: number, restUpdateProductFieldRequestDto: RestUpdateProductFieldRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateProductFieldResponseClass>> {
544
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateProductField(id, restUpdateProductFieldRequestDto, authorization, options);
545
545
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
546
546
  },
547
547
  }
@@ -636,13 +636,13 @@ export const ProductFieldsApiFactory = function (configuration?: Configuration,
636
636
  * 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\"
637
637
  * @summary Update the product
638
638
  * @param {number} id
639
- * @param {UpdateProductFieldRequestDto} updateProductFieldRequestDto
639
+ * @param {RestUpdateProductFieldRequestDto} restUpdateProductFieldRequestDto
640
640
  * @param {string} [authorization] Bearer Token
641
641
  * @param {*} [options] Override http request option.
642
642
  * @throws {RequiredError}
643
643
  */
644
- updateProductField(id: number, updateProductFieldRequestDto: UpdateProductFieldRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductFieldResponseClass> {
645
- return localVarFp.updateProductField(id, updateProductFieldRequestDto, authorization, options).then((request) => request(axios, basePath));
644
+ updateProductField(id: number, restUpdateProductFieldRequestDto: RestUpdateProductFieldRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductFieldResponseClass> {
645
+ return localVarFp.updateProductField(id, restUpdateProductFieldRequestDto, authorization, options).then((request) => request(axios, basePath));
646
646
  },
647
647
  };
648
648
  };
@@ -872,10 +872,10 @@ export interface ProductFieldsApiUpdateProductFieldRequest {
872
872
 
873
873
  /**
874
874
  *
875
- * @type {UpdateProductFieldRequestDto}
875
+ * @type {RestUpdateProductFieldRequestDto}
876
876
  * @memberof ProductFieldsApiUpdateProductField
877
877
  */
878
- readonly updateProductFieldRequestDto: UpdateProductFieldRequestDto
878
+ readonly restUpdateProductFieldRequestDto: RestUpdateProductFieldRequestDto
879
879
 
880
880
  /**
881
881
  * Bearer Token
@@ -973,6 +973,6 @@ export class ProductFieldsApi extends BaseAPI {
973
973
  * @memberof ProductFieldsApi
974
974
  */
975
975
  public updateProductField(requestParameters: ProductFieldsApiUpdateProductFieldRequest, options?: AxiosRequestConfig) {
976
- return ProductFieldsApiFp(this.configuration).updateProductField(requestParameters.id, requestParameters.updateProductFieldRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
976
+ return ProductFieldsApiFp(this.configuration).updateProductField(requestParameters.id, requestParameters.restUpdateProductFieldRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
977
977
  }
978
978
  }