@emilgroup/insurance-sdk 1.24.0 → 1.25.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.
@@ -29,6 +29,7 @@ models/create-custom-application-request-dto.ts
29
29
  models/create-dummy-policy-request-dto.ts
30
30
  models/create-insured-object-request-dto.ts
31
31
  models/create-insured-object-response-class.ts
32
+ models/create-lead-async-response-class.ts
32
33
  models/create-lead-policy-request-dto.ts
33
34
  models/create-lead-request-dto.ts
34
35
  models/create-lead-response-class.ts
@@ -128,7 +129,7 @@ models/store-product-factors-request-dto.ts
128
129
  models/store-product-factors-response-class.ts
129
130
  models/suspend-policy-request-dto.ts
130
131
  models/suspend-policy-response-class.ts
131
- models/swap-premium-formulas-order-requestt-dto.ts
132
+ models/swap-premium-formulas-order-request-dto.ts
132
133
  models/terminate-policy-request-dto.ts
133
134
  models/terminate-policy-response-class.ts
134
135
  models/timeslice-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/insurance-sdk@1.24.0 --save
20
+ npm install @emilgroup/insurance-sdk@1.25.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk@1.24.0
24
+ yarn add @emilgroup/insurance-sdk@1.25.0
25
25
  ```
26
26
 
27
27
  And then you can import `PoliciesApi`.
package/api/leads-api.ts CHANGED
@@ -21,6 +21,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
+ import { CreateLeadAsyncResponseClass } from '../models';
25
+ // @ts-ignore
24
26
  import { CreateLeadRequestDto } from '../models';
25
27
  // @ts-ignore
26
28
  import { CreateLeadResponseClass } from '../models';
@@ -79,6 +81,53 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
79
81
 
80
82
 
81
83
 
84
+ localVarHeaderParameter['Content-Type'] = 'application/json';
85
+
86
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
87
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
88
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
89
+ localVarRequestOptions.data = serializeDataIfNeeded(createLeadRequestDto, localVarRequestOptions, configuration)
90
+
91
+ return {
92
+ url: toPathString(localVarUrlObj),
93
+ options: localVarRequestOptions,
94
+ };
95
+ },
96
+ /**
97
+ * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
98
+ * @summary Create the lead asynchronously
99
+ * @param {CreateLeadRequestDto} createLeadRequestDto
100
+ * @param {string} [authorization] Bearer Token
101
+ * @param {*} [options] Override http request option.
102
+ * @throws {RequiredError}
103
+ */
104
+ createLeadAsync: async (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
105
+ // verify required parameter 'createLeadRequestDto' is not null or undefined
106
+ assertParamExists('createLeadAsync', 'createLeadRequestDto', createLeadRequestDto)
107
+ const localVarPath = `/insuranceservice/v1/leads-async`;
108
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
109
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
110
+ let baseOptions;
111
+ let baseAccessToken;
112
+ if (configuration) {
113
+ baseOptions = configuration.baseOptions;
114
+ baseAccessToken = configuration.accessToken;
115
+ }
116
+
117
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
118
+ const localVarHeaderParameter = {} as any;
119
+ const localVarQueryParameter = {} as any;
120
+
121
+ // authentication bearer required
122
+ // http bearer authentication required
123
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
124
+
125
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
126
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
127
+ }
128
+
129
+
130
+
82
131
  localVarHeaderParameter['Content-Type'] = 'application/json';
83
132
 
84
133
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -102,7 +151,7 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
102
151
  createLeadSync: async (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
103
152
  // verify required parameter 'createLeadRequestDto' is not null or undefined
104
153
  assertParamExists('createLeadSync', 'createLeadRequestDto', createLeadRequestDto)
105
- const localVarPath = `/insuranceservice/v1/leads/sync`;
154
+ const localVarPath = `/insuranceservice/v1/leads-sync`;
106
155
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
107
156
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
108
157
  let baseOptions;
@@ -349,6 +398,57 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
349
398
 
350
399
 
351
400
 
401
+ localVarHeaderParameter['Content-Type'] = 'application/json';
402
+
403
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
404
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
405
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
406
+ localVarRequestOptions.data = serializeDataIfNeeded(updateLeadRequestDto, localVarRequestOptions, configuration)
407
+
408
+ return {
409
+ url: toPathString(localVarUrlObj),
410
+ options: localVarRequestOptions,
411
+ };
412
+ },
413
+ /**
414
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
415
+ * @summary Update the lead
416
+ * @param {string} code Unique identifier for the object.
417
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
418
+ * @param {string} [authorization] Bearer Token
419
+ * @param {*} [options] Override http request option.
420
+ * @throws {RequiredError}
421
+ */
422
+ updateLeadSync: async (code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
423
+ // verify required parameter 'code' is not null or undefined
424
+ assertParamExists('updateLeadSync', 'code', code)
425
+ // verify required parameter 'updateLeadRequestDto' is not null or undefined
426
+ assertParamExists('updateLeadSync', 'updateLeadRequestDto', updateLeadRequestDto)
427
+ const localVarPath = `/insuranceservice/v1/leads-sync/{code}`
428
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
429
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
430
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
431
+ let baseOptions;
432
+ let baseAccessToken;
433
+ if (configuration) {
434
+ baseOptions = configuration.baseOptions;
435
+ baseAccessToken = configuration.accessToken;
436
+ }
437
+
438
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
439
+ const localVarHeaderParameter = {} as any;
440
+ const localVarQueryParameter = {} as any;
441
+
442
+ // authentication bearer required
443
+ // http bearer authentication required
444
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
445
+
446
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
447
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
448
+ }
449
+
450
+
451
+
352
452
  localVarHeaderParameter['Content-Type'] = 'application/json';
353
453
 
354
454
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -383,6 +483,18 @@ export const LeadsApiFp = function(configuration?: Configuration) {
383
483
  const localVarAxiosArgs = await localVarAxiosParamCreator.createLead(createLeadRequestDto, authorization, options);
384
484
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
385
485
  },
486
+ /**
487
+ * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
488
+ * @summary Create the lead asynchronously
489
+ * @param {CreateLeadRequestDto} createLeadRequestDto
490
+ * @param {string} [authorization] Bearer Token
491
+ * @param {*} [options] Override http request option.
492
+ * @throws {RequiredError}
493
+ */
494
+ async createLeadAsync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadAsyncResponseClass>> {
495
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createLeadAsync(createLeadRequestDto, authorization, options);
496
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
497
+ },
386
498
  /**
387
499
  * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
388
500
  * @summary Create the lead
@@ -451,6 +563,19 @@ export const LeadsApiFp = function(configuration?: Configuration) {
451
563
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateLead(code, updateLeadRequestDto, authorization, options);
452
564
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
453
565
  },
566
+ /**
567
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
568
+ * @summary Update the lead
569
+ * @param {string} code Unique identifier for the object.
570
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
571
+ * @param {string} [authorization] Bearer Token
572
+ * @param {*} [options] Override http request option.
573
+ * @throws {RequiredError}
574
+ */
575
+ async updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateLeadResponseClass>> {
576
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateLeadSync(code, updateLeadRequestDto, authorization, options);
577
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
578
+ },
454
579
  }
455
580
  };
456
581
 
@@ -472,6 +597,17 @@ export const LeadsApiFactory = function (configuration?: Configuration, basePath
472
597
  createLead(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadResponseClass> {
473
598
  return localVarFp.createLead(createLeadRequestDto, authorization, options).then((request) => request(axios, basePath));
474
599
  },
600
+ /**
601
+ * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
602
+ * @summary Create the lead asynchronously
603
+ * @param {CreateLeadRequestDto} createLeadRequestDto
604
+ * @param {string} [authorization] Bearer Token
605
+ * @param {*} [options] Override http request option.
606
+ * @throws {RequiredError}
607
+ */
608
+ createLeadAsync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadAsyncResponseClass> {
609
+ return localVarFp.createLeadAsync(createLeadRequestDto, authorization, options).then((request) => request(axios, basePath));
610
+ },
475
611
  /**
476
612
  * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
477
613
  * @summary Create the lead
@@ -535,6 +671,18 @@ export const LeadsApiFactory = function (configuration?: Configuration, basePath
535
671
  updateLead(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateLeadResponseClass> {
536
672
  return localVarFp.updateLead(code, updateLeadRequestDto, authorization, options).then((request) => request(axios, basePath));
537
673
  },
674
+ /**
675
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
676
+ * @summary Update the lead
677
+ * @param {string} code Unique identifier for the object.
678
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
679
+ * @param {string} [authorization] Bearer Token
680
+ * @param {*} [options] Override http request option.
681
+ * @throws {RequiredError}
682
+ */
683
+ updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateLeadResponseClass> {
684
+ return localVarFp.updateLeadSync(code, updateLeadRequestDto, authorization, options).then((request) => request(axios, basePath));
685
+ },
538
686
  };
539
687
  };
540
688
 
@@ -559,6 +707,27 @@ export interface LeadsApiCreateLeadRequest {
559
707
  readonly authorization?: string
560
708
  }
561
709
 
710
+ /**
711
+ * Request parameters for createLeadAsync operation in LeadsApi.
712
+ * @export
713
+ * @interface LeadsApiCreateLeadAsyncRequest
714
+ */
715
+ export interface LeadsApiCreateLeadAsyncRequest {
716
+ /**
717
+ *
718
+ * @type {CreateLeadRequestDto}
719
+ * @memberof LeadsApiCreateLeadAsync
720
+ */
721
+ readonly createLeadRequestDto: CreateLeadRequestDto
722
+
723
+ /**
724
+ * Bearer Token
725
+ * @type {string}
726
+ * @memberof LeadsApiCreateLeadAsync
727
+ */
728
+ readonly authorization?: string
729
+ }
730
+
562
731
  /**
563
732
  * Request parameters for createLeadSync operation in LeadsApi.
564
733
  * @export
@@ -720,6 +889,34 @@ export interface LeadsApiUpdateLeadRequest {
720
889
  readonly authorization?: string
721
890
  }
722
891
 
892
+ /**
893
+ * Request parameters for updateLeadSync operation in LeadsApi.
894
+ * @export
895
+ * @interface LeadsApiUpdateLeadSyncRequest
896
+ */
897
+ export interface LeadsApiUpdateLeadSyncRequest {
898
+ /**
899
+ * Unique identifier for the object.
900
+ * @type {string}
901
+ * @memberof LeadsApiUpdateLeadSync
902
+ */
903
+ readonly code: string
904
+
905
+ /**
906
+ *
907
+ * @type {UpdateLeadRequestDto}
908
+ * @memberof LeadsApiUpdateLeadSync
909
+ */
910
+ readonly updateLeadRequestDto: UpdateLeadRequestDto
911
+
912
+ /**
913
+ * Bearer Token
914
+ * @type {string}
915
+ * @memberof LeadsApiUpdateLeadSync
916
+ */
917
+ readonly authorization?: string
918
+ }
919
+
723
920
  /**
724
921
  * LeadsApi - object-oriented interface
725
922
  * @export
@@ -739,6 +936,18 @@ export class LeadsApi extends BaseAPI {
739
936
  return LeadsApiFp(this.configuration).createLead(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
740
937
  }
741
938
 
939
+ /**
940
+ * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
941
+ * @summary Create the lead asynchronously
942
+ * @param {LeadsApiCreateLeadAsyncRequest} requestParameters Request parameters.
943
+ * @param {*} [options] Override http request option.
944
+ * @throws {RequiredError}
945
+ * @memberof LeadsApi
946
+ */
947
+ public createLeadAsync(requestParameters: LeadsApiCreateLeadAsyncRequest, options?: AxiosRequestConfig) {
948
+ return LeadsApiFp(this.configuration).createLeadAsync(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
949
+ }
950
+
742
951
  /**
743
952
  * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
744
953
  * @summary Create the lead
@@ -798,4 +1007,16 @@ export class LeadsApi extends BaseAPI {
798
1007
  public updateLead(requestParameters: LeadsApiUpdateLeadRequest, options?: AxiosRequestConfig) {
799
1008
  return LeadsApiFp(this.configuration).updateLead(requestParameters.code, requestParameters.updateLeadRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
800
1009
  }
1010
+
1011
+ /**
1012
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
1013
+ * @summary Update the lead
1014
+ * @param {LeadsApiUpdateLeadSyncRequest} requestParameters Request parameters.
1015
+ * @param {*} [options] Override http request option.
1016
+ * @throws {RequiredError}
1017
+ * @memberof LeadsApi
1018
+ */
1019
+ public updateLeadSync(requestParameters: LeadsApiUpdateLeadSyncRequest, options?: AxiosRequestConfig) {
1020
+ return LeadsApiFp(this.configuration).updateLeadSync(requestParameters.code, requestParameters.updateLeadRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1021
+ }
801
1022
  }
@@ -33,7 +33,7 @@ import { GetPremiumFormulaResponseClass } from '../models';
33
33
  // @ts-ignore
34
34
  import { ListPremiumFormulasResponseClass } from '../models';
35
35
  // @ts-ignore
36
- import { SwapPremiumFormulasOrderRequesttDto } from '../models';
36
+ import { SwapPremiumFormulasOrderRequestDto } from '../models';
37
37
  // @ts-ignore
38
38
  import { UpdatePremiumFormulaRequestDto } from '../models';
39
39
  // @ts-ignore
@@ -255,14 +255,14 @@ export const PremiumFormulasApiAxiosParamCreator = function (configuration?: Con
255
255
  /**
256
256
  * Swaps premium formulas order.
257
257
  * @summary Swaps premium formulas order
258
- * @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
258
+ * @param {SwapPremiumFormulasOrderRequestDto} swapPremiumFormulasOrderRequestDto
259
259
  * @param {string} [authorization] Bearer Token
260
260
  * @param {*} [options] Override http request option.
261
261
  * @throws {RequiredError}
262
262
  */
263
- swapPremiumFormulasOrder: async (swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
264
- // verify required parameter 'swapPremiumFormulasOrderRequesttDto' is not null or undefined
265
- assertParamExists('swapPremiumFormulasOrder', 'swapPremiumFormulasOrderRequesttDto', swapPremiumFormulasOrderRequesttDto)
263
+ swapPremiumFormulasOrder: async (swapPremiumFormulasOrderRequestDto: SwapPremiumFormulasOrderRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
264
+ // verify required parameter 'swapPremiumFormulasOrderRequestDto' is not null or undefined
265
+ assertParamExists('swapPremiumFormulasOrder', 'swapPremiumFormulasOrderRequestDto', swapPremiumFormulasOrderRequestDto)
266
266
  const localVarPath = `/insuranceservice/v1/premium-formulas/reorder`;
267
267
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
268
268
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -292,7 +292,7 @@ export const PremiumFormulasApiAxiosParamCreator = function (configuration?: Con
292
292
  setSearchParams(localVarUrlObj, localVarQueryParameter);
293
293
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
294
294
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
295
- localVarRequestOptions.data = serializeDataIfNeeded(swapPremiumFormulasOrderRequesttDto, localVarRequestOptions, configuration)
295
+ localVarRequestOptions.data = serializeDataIfNeeded(swapPremiumFormulasOrderRequestDto, localVarRequestOptions, configuration)
296
296
 
297
297
  return {
298
298
  url: toPathString(localVarUrlObj),
@@ -416,13 +416,13 @@ export const PremiumFormulasApiFp = function(configuration?: Configuration) {
416
416
  /**
417
417
  * Swaps premium formulas order.
418
418
  * @summary Swaps premium formulas order
419
- * @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
419
+ * @param {SwapPremiumFormulasOrderRequestDto} swapPremiumFormulasOrderRequestDto
420
420
  * @param {string} [authorization] Bearer Token
421
421
  * @param {*} [options] Override http request option.
422
422
  * @throws {RequiredError}
423
423
  */
424
- async swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptyResponseClass>> {
425
- const localVarAxiosArgs = await localVarAxiosParamCreator.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto, authorization, options);
424
+ async swapPremiumFormulasOrder(swapPremiumFormulasOrderRequestDto: SwapPremiumFormulasOrderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptyResponseClass>> {
425
+ const localVarAxiosArgs = await localVarAxiosParamCreator.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequestDto, authorization, options);
426
426
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
427
427
  },
428
428
  /**
@@ -500,13 +500,13 @@ export const PremiumFormulasApiFactory = function (configuration?: Configuration
500
500
  /**
501
501
  * Swaps premium formulas order.
502
502
  * @summary Swaps premium formulas order
503
- * @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
503
+ * @param {SwapPremiumFormulasOrderRequestDto} swapPremiumFormulasOrderRequestDto
504
504
  * @param {string} [authorization] Bearer Token
505
505
  * @param {*} [options] Override http request option.
506
506
  * @throws {RequiredError}
507
507
  */
508
- swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto, authorization?: string, options?: any): AxiosPromise<EmptyResponseClass> {
509
- return localVarFp.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto, authorization, options).then((request) => request(axios, basePath));
508
+ swapPremiumFormulasOrder(swapPremiumFormulasOrderRequestDto: SwapPremiumFormulasOrderRequestDto, authorization?: string, options?: any): AxiosPromise<EmptyResponseClass> {
509
+ return localVarFp.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequestDto, authorization, options).then((request) => request(axios, basePath));
510
510
  },
511
511
  /**
512
512
  * Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -650,10 +650,10 @@ export interface PremiumFormulasApiListPremiumFormulasRequest {
650
650
  export interface PremiumFormulasApiSwapPremiumFormulasOrderRequest {
651
651
  /**
652
652
  *
653
- * @type {SwapPremiumFormulasOrderRequesttDto}
653
+ * @type {SwapPremiumFormulasOrderRequestDto}
654
654
  * @memberof PremiumFormulasApiSwapPremiumFormulasOrder
655
655
  */
656
- readonly swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto
656
+ readonly swapPremiumFormulasOrderRequestDto: SwapPremiumFormulasOrderRequestDto
657
657
 
658
658
  /**
659
659
  * Bearer Token
@@ -755,7 +755,7 @@ export class PremiumFormulasApi extends BaseAPI {
755
755
  * @memberof PremiumFormulasApi
756
756
  */
757
757
  public swapPremiumFormulasOrder(requestParameters: PremiumFormulasApiSwapPremiumFormulasOrderRequest, options?: AxiosRequestConfig) {
758
- return PremiumFormulasApiFp(this.configuration).swapPremiumFormulasOrder(requestParameters.swapPremiumFormulasOrderRequesttDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
758
+ return PremiumFormulasApiFp(this.configuration).swapPremiumFormulasOrder(requestParameters.swapPremiumFormulasOrderRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
759
759
  }
760
760
 
761
761
  /**
@@ -12,6 +12,7 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreateLeadAsyncResponseClass } from '../models';
15
16
  import { CreateLeadRequestDto } from '../models';
16
17
  import { CreateLeadResponseClass } from '../models';
17
18
  import { CreateLeadSyncResponseClass } from '../models';
@@ -35,6 +36,15 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
35
36
  * @throws {RequiredError}
36
37
  */
37
38
  createLead: (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
39
+ /**
40
+ * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
41
+ * @summary Create the lead asynchronously
42
+ * @param {CreateLeadRequestDto} createLeadRequestDto
43
+ * @param {string} [authorization] Bearer Token
44
+ * @param {*} [options] Override http request option.
45
+ * @throws {RequiredError}
46
+ */
47
+ createLeadAsync: (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
38
48
  /**
39
49
  * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
40
50
  * @summary Create the lead
@@ -88,6 +98,16 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
88
98
  * @throws {RequiredError}
89
99
  */
90
100
  updateLead: (code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
101
+ /**
102
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
103
+ * @summary Update the lead
104
+ * @param {string} code Unique identifier for the object.
105
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
106
+ * @param {string} [authorization] Bearer Token
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ updateLeadSync: (code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
91
111
  };
92
112
  /**
93
113
  * LeadsApi - functional programming interface
@@ -103,6 +123,15 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
103
123
  * @throws {RequiredError}
104
124
  */
105
125
  createLead(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadResponseClass>>;
126
+ /**
127
+ * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
128
+ * @summary Create the lead asynchronously
129
+ * @param {CreateLeadRequestDto} createLeadRequestDto
130
+ * @param {string} [authorization] Bearer Token
131
+ * @param {*} [options] Override http request option.
132
+ * @throws {RequiredError}
133
+ */
134
+ createLeadAsync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadAsyncResponseClass>>;
106
135
  /**
107
136
  * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
108
137
  * @summary Create the lead
@@ -156,6 +185,16 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
156
185
  * @throws {RequiredError}
157
186
  */
158
187
  updateLead(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateLeadResponseClass>>;
188
+ /**
189
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
190
+ * @summary Update the lead
191
+ * @param {string} code Unique identifier for the object.
192
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
193
+ * @param {string} [authorization] Bearer Token
194
+ * @param {*} [options] Override http request option.
195
+ * @throws {RequiredError}
196
+ */
197
+ updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateLeadResponseClass>>;
159
198
  };
160
199
  /**
161
200
  * LeadsApi - factory interface
@@ -171,6 +210,15 @@ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?:
171
210
  * @throws {RequiredError}
172
211
  */
173
212
  createLead(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadResponseClass>;
213
+ /**
214
+ * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
215
+ * @summary Create the lead asynchronously
216
+ * @param {CreateLeadRequestDto} createLeadRequestDto
217
+ * @param {string} [authorization] Bearer Token
218
+ * @param {*} [options] Override http request option.
219
+ * @throws {RequiredError}
220
+ */
221
+ createLeadAsync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadAsyncResponseClass>;
174
222
  /**
175
223
  * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
176
224
  * @summary Create the lead
@@ -224,6 +272,16 @@ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?:
224
272
  * @throws {RequiredError}
225
273
  */
226
274
  updateLead(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateLeadResponseClass>;
275
+ /**
276
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
277
+ * @summary Update the lead
278
+ * @param {string} code Unique identifier for the object.
279
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
280
+ * @param {string} [authorization] Bearer Token
281
+ * @param {*} [options] Override http request option.
282
+ * @throws {RequiredError}
283
+ */
284
+ updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateLeadResponseClass>;
227
285
  };
228
286
  /**
229
287
  * Request parameters for createLead operation in LeadsApi.
@@ -244,6 +302,25 @@ export interface LeadsApiCreateLeadRequest {
244
302
  */
245
303
  readonly authorization?: string;
246
304
  }
305
+ /**
306
+ * Request parameters for createLeadAsync operation in LeadsApi.
307
+ * @export
308
+ * @interface LeadsApiCreateLeadAsyncRequest
309
+ */
310
+ export interface LeadsApiCreateLeadAsyncRequest {
311
+ /**
312
+ *
313
+ * @type {CreateLeadRequestDto}
314
+ * @memberof LeadsApiCreateLeadAsync
315
+ */
316
+ readonly createLeadRequestDto: CreateLeadRequestDto;
317
+ /**
318
+ * Bearer Token
319
+ * @type {string}
320
+ * @memberof LeadsApiCreateLeadAsync
321
+ */
322
+ readonly authorization?: string;
323
+ }
247
324
  /**
248
325
  * Request parameters for createLeadSync operation in LeadsApi.
249
326
  * @export
@@ -387,6 +464,31 @@ export interface LeadsApiUpdateLeadRequest {
387
464
  */
388
465
  readonly authorization?: string;
389
466
  }
467
+ /**
468
+ * Request parameters for updateLeadSync operation in LeadsApi.
469
+ * @export
470
+ * @interface LeadsApiUpdateLeadSyncRequest
471
+ */
472
+ export interface LeadsApiUpdateLeadSyncRequest {
473
+ /**
474
+ * Unique identifier for the object.
475
+ * @type {string}
476
+ * @memberof LeadsApiUpdateLeadSync
477
+ */
478
+ readonly code: string;
479
+ /**
480
+ *
481
+ * @type {UpdateLeadRequestDto}
482
+ * @memberof LeadsApiUpdateLeadSync
483
+ */
484
+ readonly updateLeadRequestDto: UpdateLeadRequestDto;
485
+ /**
486
+ * Bearer Token
487
+ * @type {string}
488
+ * @memberof LeadsApiUpdateLeadSync
489
+ */
490
+ readonly authorization?: string;
491
+ }
390
492
  /**
391
493
  * LeadsApi - object-oriented interface
392
494
  * @export
@@ -403,6 +505,15 @@ export declare class LeadsApi extends BaseAPI {
403
505
  * @memberof LeadsApi
404
506
  */
405
507
  createLead(requestParameters: LeadsApiCreateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any>>;
508
+ /**
509
+ * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
510
+ * @summary Create the lead asynchronously
511
+ * @param {LeadsApiCreateLeadAsyncRequest} requestParameters Request parameters.
512
+ * @param {*} [options] Override http request option.
513
+ * @throws {RequiredError}
514
+ * @memberof LeadsApi
515
+ */
516
+ createLeadAsync(requestParameters: LeadsApiCreateLeadAsyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadAsyncResponseClass, any>>;
406
517
  /**
407
518
  * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
408
519
  * @summary Create the lead
@@ -448,4 +559,13 @@ export declare class LeadsApi extends BaseAPI {
448
559
  * @memberof LeadsApi
449
560
  */
450
561
  updateLead(requestParameters: LeadsApiUpdateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadResponseClass, any>>;
562
+ /**
563
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
564
+ * @summary Update the lead
565
+ * @param {LeadsApiUpdateLeadSyncRequest} requestParameters Request parameters.
566
+ * @param {*} [options] Override http request option.
567
+ * @throws {RequiredError}
568
+ * @memberof LeadsApi
569
+ */
570
+ updateLeadSync(requestParameters: LeadsApiUpdateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadResponseClass, any>>;
451
571
  }
@@ -141,6 +141,55 @@ var LeadsApiAxiosParamCreator = function (configuration) {
141
141
  });
142
142
  });
143
143
  },
144
+ /**
145
+ * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
146
+ * @summary Create the lead asynchronously
147
+ * @param {CreateLeadRequestDto} createLeadRequestDto
148
+ * @param {string} [authorization] Bearer Token
149
+ * @param {*} [options] Override http request option.
150
+ * @throws {RequiredError}
151
+ */
152
+ createLeadAsync: function (createLeadRequestDto, authorization, options) {
153
+ if (options === void 0) { options = {}; }
154
+ return __awaiter(_this, void 0, void 0, function () {
155
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
156
+ return __generator(this, function (_a) {
157
+ switch (_a.label) {
158
+ case 0:
159
+ // verify required parameter 'createLeadRequestDto' is not null or undefined
160
+ (0, common_1.assertParamExists)('createLeadAsync', 'createLeadRequestDto', createLeadRequestDto);
161
+ localVarPath = "/insuranceservice/v1/leads-async";
162
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
163
+ if (configuration) {
164
+ baseOptions = configuration.baseOptions;
165
+ baseAccessToken = configuration.accessToken;
166
+ }
167
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
168
+ localVarHeaderParameter = {};
169
+ localVarQueryParameter = {};
170
+ // authentication bearer required
171
+ // http bearer authentication required
172
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
173
+ case 1:
174
+ // authentication bearer required
175
+ // http bearer authentication required
176
+ _a.sent();
177
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
178
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
179
+ }
180
+ localVarHeaderParameter['Content-Type'] = 'application/json';
181
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
182
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
183
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
184
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createLeadRequestDto, localVarRequestOptions, configuration);
185
+ return [2 /*return*/, {
186
+ url: (0, common_1.toPathString)(localVarUrlObj),
187
+ options: localVarRequestOptions,
188
+ }];
189
+ }
190
+ });
191
+ });
192
+ },
144
193
  /**
145
194
  * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
146
195
  * @summary Create the lead
@@ -158,7 +207,7 @@ var LeadsApiAxiosParamCreator = function (configuration) {
158
207
  case 0:
159
208
  // verify required parameter 'createLeadRequestDto' is not null or undefined
160
209
  (0, common_1.assertParamExists)('createLeadSync', 'createLeadRequestDto', createLeadRequestDto);
161
- localVarPath = "/insuranceservice/v1/leads/sync";
210
+ localVarPath = "/insuranceservice/v1/leads-sync";
162
211
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
163
212
  if (configuration) {
164
213
  baseOptions = configuration.baseOptions;
@@ -416,6 +465,59 @@ var LeadsApiAxiosParamCreator = function (configuration) {
416
465
  });
417
466
  });
418
467
  },
468
+ /**
469
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
470
+ * @summary Update the lead
471
+ * @param {string} code Unique identifier for the object.
472
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
473
+ * @param {string} [authorization] Bearer Token
474
+ * @param {*} [options] Override http request option.
475
+ * @throws {RequiredError}
476
+ */
477
+ updateLeadSync: function (code, updateLeadRequestDto, authorization, options) {
478
+ if (options === void 0) { options = {}; }
479
+ return __awaiter(_this, void 0, void 0, function () {
480
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
481
+ return __generator(this, function (_a) {
482
+ switch (_a.label) {
483
+ case 0:
484
+ // verify required parameter 'code' is not null or undefined
485
+ (0, common_1.assertParamExists)('updateLeadSync', 'code', code);
486
+ // verify required parameter 'updateLeadRequestDto' is not null or undefined
487
+ (0, common_1.assertParamExists)('updateLeadSync', 'updateLeadRequestDto', updateLeadRequestDto);
488
+ localVarPath = "/insuranceservice/v1/leads-sync/{code}"
489
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
490
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
491
+ if (configuration) {
492
+ baseOptions = configuration.baseOptions;
493
+ baseAccessToken = configuration.accessToken;
494
+ }
495
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
496
+ localVarHeaderParameter = {};
497
+ localVarQueryParameter = {};
498
+ // authentication bearer required
499
+ // http bearer authentication required
500
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
501
+ case 1:
502
+ // authentication bearer required
503
+ // http bearer authentication required
504
+ _a.sent();
505
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
506
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
507
+ }
508
+ localVarHeaderParameter['Content-Type'] = 'application/json';
509
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
510
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
511
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
512
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateLeadRequestDto, localVarRequestOptions, configuration);
513
+ return [2 /*return*/, {
514
+ url: (0, common_1.toPathString)(localVarUrlObj),
515
+ options: localVarRequestOptions,
516
+ }];
517
+ }
518
+ });
519
+ });
520
+ },
419
521
  };
420
522
  };
421
523
  exports.LeadsApiAxiosParamCreator = LeadsApiAxiosParamCreator;
@@ -447,6 +549,27 @@ var LeadsApiFp = function (configuration) {
447
549
  });
448
550
  });
449
551
  },
552
+ /**
553
+ * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
554
+ * @summary Create the lead asynchronously
555
+ * @param {CreateLeadRequestDto} createLeadRequestDto
556
+ * @param {string} [authorization] Bearer Token
557
+ * @param {*} [options] Override http request option.
558
+ * @throws {RequiredError}
559
+ */
560
+ createLeadAsync: function (createLeadRequestDto, authorization, options) {
561
+ return __awaiter(this, void 0, void 0, function () {
562
+ var localVarAxiosArgs;
563
+ return __generator(this, function (_a) {
564
+ switch (_a.label) {
565
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createLeadAsync(createLeadRequestDto, authorization, options)];
566
+ case 1:
567
+ localVarAxiosArgs = _a.sent();
568
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
569
+ }
570
+ });
571
+ });
572
+ },
450
573
  /**
451
574
  * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
452
575
  * @summary Create the lead
@@ -560,6 +683,28 @@ var LeadsApiFp = function (configuration) {
560
683
  });
561
684
  });
562
685
  },
686
+ /**
687
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
688
+ * @summary Update the lead
689
+ * @param {string} code Unique identifier for the object.
690
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
691
+ * @param {string} [authorization] Bearer Token
692
+ * @param {*} [options] Override http request option.
693
+ * @throws {RequiredError}
694
+ */
695
+ updateLeadSync: function (code, updateLeadRequestDto, authorization, options) {
696
+ return __awaiter(this, void 0, void 0, function () {
697
+ var localVarAxiosArgs;
698
+ return __generator(this, function (_a) {
699
+ switch (_a.label) {
700
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateLeadSync(code, updateLeadRequestDto, authorization, options)];
701
+ case 1:
702
+ localVarAxiosArgs = _a.sent();
703
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
704
+ }
705
+ });
706
+ });
707
+ },
563
708
  };
564
709
  };
565
710
  exports.LeadsApiFp = LeadsApiFp;
@@ -581,6 +726,17 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
581
726
  createLead: function (createLeadRequestDto, authorization, options) {
582
727
  return localVarFp.createLead(createLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
583
728
  },
729
+ /**
730
+ * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
731
+ * @summary Create the lead asynchronously
732
+ * @param {CreateLeadRequestDto} createLeadRequestDto
733
+ * @param {string} [authorization] Bearer Token
734
+ * @param {*} [options] Override http request option.
735
+ * @throws {RequiredError}
736
+ */
737
+ createLeadAsync: function (createLeadRequestDto, authorization, options) {
738
+ return localVarFp.createLeadAsync(createLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
739
+ },
584
740
  /**
585
741
  * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
586
742
  * @summary Create the lead
@@ -644,6 +800,18 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
644
800
  updateLead: function (code, updateLeadRequestDto, authorization, options) {
645
801
  return localVarFp.updateLead(code, updateLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
646
802
  },
803
+ /**
804
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
805
+ * @summary Update the lead
806
+ * @param {string} code Unique identifier for the object.
807
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
808
+ * @param {string} [authorization] Bearer Token
809
+ * @param {*} [options] Override http request option.
810
+ * @throws {RequiredError}
811
+ */
812
+ updateLeadSync: function (code, updateLeadRequestDto, authorization, options) {
813
+ return localVarFp.updateLeadSync(code, updateLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
814
+ },
647
815
  };
648
816
  };
649
817
  exports.LeadsApiFactory = LeadsApiFactory;
@@ -670,6 +838,18 @@ var LeadsApi = /** @class */ (function (_super) {
670
838
  var _this = this;
671
839
  return (0, exports.LeadsApiFp)(this.configuration).createLead(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
672
840
  };
841
+ /**
842
+ * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
843
+ * @summary Create the lead asynchronously
844
+ * @param {LeadsApiCreateLeadAsyncRequest} requestParameters Request parameters.
845
+ * @param {*} [options] Override http request option.
846
+ * @throws {RequiredError}
847
+ * @memberof LeadsApi
848
+ */
849
+ LeadsApi.prototype.createLeadAsync = function (requestParameters, options) {
850
+ var _this = this;
851
+ return (0, exports.LeadsApiFp)(this.configuration).createLeadAsync(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
852
+ };
673
853
  /**
674
854
  * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
675
855
  * @summary Create the lead
@@ -731,6 +911,18 @@ var LeadsApi = /** @class */ (function (_super) {
731
911
  var _this = this;
732
912
  return (0, exports.LeadsApiFp)(this.configuration).updateLead(requestParameters.code, requestParameters.updateLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
733
913
  };
914
+ /**
915
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
916
+ * @summary Update the lead
917
+ * @param {LeadsApiUpdateLeadSyncRequest} requestParameters Request parameters.
918
+ * @param {*} [options] Override http request option.
919
+ * @throws {RequiredError}
920
+ * @memberof LeadsApi
921
+ */
922
+ LeadsApi.prototype.updateLeadSync = function (requestParameters, options) {
923
+ var _this = this;
924
+ return (0, exports.LeadsApiFp)(this.configuration).updateLeadSync(requestParameters.code, requestParameters.updateLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
925
+ };
734
926
  return LeadsApi;
735
927
  }(base_1.BaseAPI));
736
928
  exports.LeadsApi = LeadsApi;
@@ -18,7 +18,7 @@ import { DeleteResponseClass } from '../models';
18
18
  import { EmptyResponseClass } from '../models';
19
19
  import { GetPremiumFormulaResponseClass } from '../models';
20
20
  import { ListPremiumFormulasResponseClass } from '../models';
21
- import { SwapPremiumFormulasOrderRequesttDto } from '../models';
21
+ import { SwapPremiumFormulasOrderRequestDto } from '../models';
22
22
  import { UpdatePremiumFormulaRequestDto } from '../models';
23
23
  import { UpdatePremiumFormulaResponseClass } from '../models';
24
24
  /**
@@ -70,12 +70,12 @@ export declare const PremiumFormulasApiAxiosParamCreator: (configuration?: Confi
70
70
  /**
71
71
  * Swaps premium formulas order.
72
72
  * @summary Swaps premium formulas order
73
- * @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
73
+ * @param {SwapPremiumFormulasOrderRequestDto} swapPremiumFormulasOrderRequestDto
74
74
  * @param {string} [authorization] Bearer Token
75
75
  * @param {*} [options] Override http request option.
76
76
  * @throws {RequiredError}
77
77
  */
78
- swapPremiumFormulasOrder: (swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
78
+ swapPremiumFormulasOrder: (swapPremiumFormulasOrderRequestDto: SwapPremiumFormulasOrderRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
79
  /**
80
80
  * Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
81
81
  * @summary Update the premium formula
@@ -136,12 +136,12 @@ export declare const PremiumFormulasApiFp: (configuration?: Configuration) => {
136
136
  /**
137
137
  * Swaps premium formulas order.
138
138
  * @summary Swaps premium formulas order
139
- * @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
139
+ * @param {SwapPremiumFormulasOrderRequestDto} swapPremiumFormulasOrderRequestDto
140
140
  * @param {string} [authorization] Bearer Token
141
141
  * @param {*} [options] Override http request option.
142
142
  * @throws {RequiredError}
143
143
  */
144
- swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptyResponseClass>>;
144
+ swapPremiumFormulasOrder(swapPremiumFormulasOrderRequestDto: SwapPremiumFormulasOrderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptyResponseClass>>;
145
145
  /**
146
146
  * Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
147
147
  * @summary Update the premium formula
@@ -202,12 +202,12 @@ export declare const PremiumFormulasApiFactory: (configuration?: Configuration,
202
202
  /**
203
203
  * Swaps premium formulas order.
204
204
  * @summary Swaps premium formulas order
205
- * @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
205
+ * @param {SwapPremiumFormulasOrderRequestDto} swapPremiumFormulasOrderRequestDto
206
206
  * @param {string} [authorization] Bearer Token
207
207
  * @param {*} [options] Override http request option.
208
208
  * @throws {RequiredError}
209
209
  */
210
- swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto, authorization?: string, options?: any): AxiosPromise<EmptyResponseClass>;
210
+ swapPremiumFormulasOrder(swapPremiumFormulasOrderRequestDto: SwapPremiumFormulasOrderRequestDto, authorization?: string, options?: any): AxiosPromise<EmptyResponseClass>;
211
211
  /**
212
212
  * Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
213
213
  * @summary Update the premium formula
@@ -333,10 +333,10 @@ export interface PremiumFormulasApiListPremiumFormulasRequest {
333
333
  export interface PremiumFormulasApiSwapPremiumFormulasOrderRequest {
334
334
  /**
335
335
  *
336
- * @type {SwapPremiumFormulasOrderRequesttDto}
336
+ * @type {SwapPremiumFormulasOrderRequestDto}
337
337
  * @memberof PremiumFormulasApiSwapPremiumFormulasOrder
338
338
  */
339
- readonly swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto;
339
+ readonly swapPremiumFormulasOrderRequestDto: SwapPremiumFormulasOrderRequestDto;
340
340
  /**
341
341
  * Bearer Token
342
342
  * @type {string}
@@ -308,20 +308,20 @@ var PremiumFormulasApiAxiosParamCreator = function (configuration) {
308
308
  /**
309
309
  * Swaps premium formulas order.
310
310
  * @summary Swaps premium formulas order
311
- * @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
311
+ * @param {SwapPremiumFormulasOrderRequestDto} swapPremiumFormulasOrderRequestDto
312
312
  * @param {string} [authorization] Bearer Token
313
313
  * @param {*} [options] Override http request option.
314
314
  * @throws {RequiredError}
315
315
  */
316
- swapPremiumFormulasOrder: function (swapPremiumFormulasOrderRequesttDto, authorization, options) {
316
+ swapPremiumFormulasOrder: function (swapPremiumFormulasOrderRequestDto, authorization, options) {
317
317
  if (options === void 0) { options = {}; }
318
318
  return __awaiter(_this, void 0, void 0, function () {
319
319
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
320
320
  return __generator(this, function (_a) {
321
321
  switch (_a.label) {
322
322
  case 0:
323
- // verify required parameter 'swapPremiumFormulasOrderRequesttDto' is not null or undefined
324
- (0, common_1.assertParamExists)('swapPremiumFormulasOrder', 'swapPremiumFormulasOrderRequesttDto', swapPremiumFormulasOrderRequesttDto);
323
+ // verify required parameter 'swapPremiumFormulasOrderRequestDto' is not null or undefined
324
+ (0, common_1.assertParamExists)('swapPremiumFormulasOrder', 'swapPremiumFormulasOrderRequestDto', swapPremiumFormulasOrderRequestDto);
325
325
  localVarPath = "/insuranceservice/v1/premium-formulas/reorder";
326
326
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
327
327
  if (configuration) {
@@ -345,7 +345,7 @@ var PremiumFormulasApiAxiosParamCreator = function (configuration) {
345
345
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
346
346
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
347
347
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
348
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(swapPremiumFormulasOrderRequesttDto, localVarRequestOptions, configuration);
348
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(swapPremiumFormulasOrderRequestDto, localVarRequestOptions, configuration);
349
349
  return [2 /*return*/, {
350
350
  url: (0, common_1.toPathString)(localVarUrlObj),
351
351
  options: localVarRequestOptions,
@@ -509,17 +509,17 @@ var PremiumFormulasApiFp = function (configuration) {
509
509
  /**
510
510
  * Swaps premium formulas order.
511
511
  * @summary Swaps premium formulas order
512
- * @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
512
+ * @param {SwapPremiumFormulasOrderRequestDto} swapPremiumFormulasOrderRequestDto
513
513
  * @param {string} [authorization] Bearer Token
514
514
  * @param {*} [options] Override http request option.
515
515
  * @throws {RequiredError}
516
516
  */
517
- swapPremiumFormulasOrder: function (swapPremiumFormulasOrderRequesttDto, authorization, options) {
517
+ swapPremiumFormulasOrder: function (swapPremiumFormulasOrderRequestDto, authorization, options) {
518
518
  return __awaiter(this, void 0, void 0, function () {
519
519
  var localVarAxiosArgs;
520
520
  return __generator(this, function (_a) {
521
521
  switch (_a.label) {
522
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto, authorization, options)];
522
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequestDto, authorization, options)];
523
523
  case 1:
524
524
  localVarAxiosArgs = _a.sent();
525
525
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -611,13 +611,13 @@ var PremiumFormulasApiFactory = function (configuration, basePath, axios) {
611
611
  /**
612
612
  * Swaps premium formulas order.
613
613
  * @summary Swaps premium formulas order
614
- * @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
614
+ * @param {SwapPremiumFormulasOrderRequestDto} swapPremiumFormulasOrderRequestDto
615
615
  * @param {string} [authorization] Bearer Token
616
616
  * @param {*} [options] Override http request option.
617
617
  * @throws {RequiredError}
618
618
  */
619
- swapPremiumFormulasOrder: function (swapPremiumFormulasOrderRequesttDto, authorization, options) {
620
- return localVarFp.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto, authorization, options).then(function (request) { return request(axios, basePath); });
619
+ swapPremiumFormulasOrder: function (swapPremiumFormulasOrderRequestDto, authorization, options) {
620
+ return localVarFp.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
621
621
  },
622
622
  /**
623
623
  * Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -704,7 +704,7 @@ var PremiumFormulasApi = /** @class */ (function (_super) {
704
704
  */
705
705
  PremiumFormulasApi.prototype.swapPremiumFormulasOrder = function (requestParameters, options) {
706
706
  var _this = this;
707
- return (0, exports.PremiumFormulasApiFp)(this.configuration).swapPremiumFormulasOrder(requestParameters.swapPremiumFormulasOrderRequesttDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
707
+ return (0, exports.PremiumFormulasApiFp)(this.configuration).swapPremiumFormulasOrder(requestParameters.swapPremiumFormulasOrderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
708
708
  };
709
709
  /**
710
710
  * Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -0,0 +1,24 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface CreateLeadAsyncResponseClass
16
+ */
17
+ export interface CreateLeadAsyncResponseClass {
18
+ /**
19
+ * Unique identifier of the lead that this object belongs to.
20
+ * @type {string}
21
+ * @memberof CreateLeadAsyncResponseClass
22
+ */
23
+ 'code': string;
24
+ }
@@ -7,6 +7,7 @@ export * from './create-custom-application-request-dto';
7
7
  export * from './create-dummy-policy-request-dto';
8
8
  export * from './create-insured-object-request-dto';
9
9
  export * from './create-insured-object-response-class';
10
+ export * from './create-lead-async-response-class';
10
11
  export * from './create-lead-policy-request-dto';
11
12
  export * from './create-lead-request-dto';
12
13
  export * from './create-lead-response-class';
@@ -105,7 +106,7 @@ export * from './store-product-factors-request-dto';
105
106
  export * from './store-product-factors-response-class';
106
107
  export * from './suspend-policy-request-dto';
107
108
  export * from './suspend-policy-response-class';
108
- export * from './swap-premium-formulas-order-requestt-dto';
109
+ export * from './swap-premium-formulas-order-request-dto';
109
110
  export * from './terminate-policy-request-dto';
110
111
  export * from './terminate-policy-response-class';
111
112
  export * from './timeslice-class';
@@ -23,6 +23,7 @@ __exportStar(require("./create-custom-application-request-dto"), exports);
23
23
  __exportStar(require("./create-dummy-policy-request-dto"), exports);
24
24
  __exportStar(require("./create-insured-object-request-dto"), exports);
25
25
  __exportStar(require("./create-insured-object-response-class"), exports);
26
+ __exportStar(require("./create-lead-async-response-class"), exports);
26
27
  __exportStar(require("./create-lead-policy-request-dto"), exports);
27
28
  __exportStar(require("./create-lead-request-dto"), exports);
28
29
  __exportStar(require("./create-lead-response-class"), exports);
@@ -121,7 +122,7 @@ __exportStar(require("./store-product-factors-request-dto"), exports);
121
122
  __exportStar(require("./store-product-factors-response-class"), exports);
122
123
  __exportStar(require("./suspend-policy-request-dto"), exports);
123
124
  __exportStar(require("./suspend-policy-response-class"), exports);
124
- __exportStar(require("./swap-premium-formulas-order-requestt-dto"), exports);
125
+ __exportStar(require("./swap-premium-formulas-order-request-dto"), exports);
125
126
  __exportStar(require("./terminate-policy-request-dto"), exports);
126
127
  __exportStar(require("./terminate-policy-response-class"), exports);
127
128
  __exportStar(require("./timeslice-class"), exports);
@@ -124,4 +124,10 @@ export interface LeadClass {
124
124
  * @memberof LeadClass
125
125
  */
126
126
  'validate': boolean;
127
+ /**
128
+ * Lead number.
129
+ * @type {string}
130
+ * @memberof LeadClass
131
+ */
132
+ 'leadNumber': string;
127
133
  }
@@ -12,19 +12,19 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface SwapPremiumFormulasOrderRequesttDto
15
+ * @interface SwapPremiumFormulasOrderRequestDto
16
16
  */
17
- export interface SwapPremiumFormulasOrderRequesttDto {
17
+ export interface SwapPremiumFormulasOrderRequestDto {
18
18
  /**
19
19
  * ID of the first premium formula to swap the order of.
20
20
  * @type {number}
21
- * @memberof SwapPremiumFormulasOrderRequesttDto
21
+ * @memberof SwapPremiumFormulasOrderRequestDto
22
22
  */
23
23
  'id1': number;
24
24
  /**
25
25
  * ID of the second premium formula to swap the order of.
26
26
  * @type {number}
27
- * @memberof SwapPremiumFormulasOrderRequesttDto
27
+ * @memberof SwapPremiumFormulasOrderRequestDto
28
28
  */
29
29
  'id2': number;
30
30
  }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CreateLeadAsyncResponseClass
21
+ */
22
+ export interface CreateLeadAsyncResponseClass {
23
+ /**
24
+ * Unique identifier of the lead that this object belongs to.
25
+ * @type {string}
26
+ * @memberof CreateLeadAsyncResponseClass
27
+ */
28
+ 'code': string;
29
+ }
30
+
package/models/index.ts CHANGED
@@ -7,6 +7,7 @@ export * from './create-custom-application-request-dto';
7
7
  export * from './create-dummy-policy-request-dto';
8
8
  export * from './create-insured-object-request-dto';
9
9
  export * from './create-insured-object-response-class';
10
+ export * from './create-lead-async-response-class';
10
11
  export * from './create-lead-policy-request-dto';
11
12
  export * from './create-lead-request-dto';
12
13
  export * from './create-lead-response-class';
@@ -105,7 +106,7 @@ export * from './store-product-factors-request-dto';
105
106
  export * from './store-product-factors-response-class';
106
107
  export * from './suspend-policy-request-dto';
107
108
  export * from './suspend-policy-response-class';
108
- export * from './swap-premium-formulas-order-requestt-dto';
109
+ export * from './swap-premium-formulas-order-request-dto';
109
110
  export * from './terminate-policy-request-dto';
110
111
  export * from './terminate-policy-response-class';
111
112
  export * from './timeslice-class';
@@ -129,5 +129,11 @@ export interface LeadClass {
129
129
  * @memberof LeadClass
130
130
  */
131
131
  'validate': boolean;
132
+ /**
133
+ * Lead number.
134
+ * @type {string}
135
+ * @memberof LeadClass
136
+ */
137
+ 'leadNumber': string;
132
138
  }
133
139
 
@@ -17,19 +17,19 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface SwapPremiumFormulasOrderRequesttDto
20
+ * @interface SwapPremiumFormulasOrderRequestDto
21
21
  */
22
- export interface SwapPremiumFormulasOrderRequesttDto {
22
+ export interface SwapPremiumFormulasOrderRequestDto {
23
23
  /**
24
24
  * ID of the first premium formula to swap the order of.
25
25
  * @type {number}
26
- * @memberof SwapPremiumFormulasOrderRequesttDto
26
+ * @memberof SwapPremiumFormulasOrderRequestDto
27
27
  */
28
28
  'id1': number;
29
29
  /**
30
30
  * ID of the second premium formula to swap the order of.
31
31
  * @type {number}
32
- * @memberof SwapPremiumFormulasOrderRequesttDto
32
+ * @memberof SwapPremiumFormulasOrderRequestDto
33
33
  */
34
34
  'id2': number;
35
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/insurance-sdk",
3
- "version": "1.24.0",
3
+ "version": "1.25.0",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [