@emilgroup/insurance-sdk-node 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-node@1.24.0 --save
20
+ npm install @emilgroup/insurance-sdk-node@1.25.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk-node@1.24.0
24
+ yarn add @emilgroup/insurance-sdk-node@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';
@@ -83,6 +85,53 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
83
85
 
84
86
 
85
87
 
88
+ localVarHeaderParameter['Content-Type'] = 'application/json';
89
+
90
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
91
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
92
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
93
+ localVarRequestOptions.data = serializeDataIfNeeded(createLeadRequestDto, localVarRequestOptions, configuration)
94
+
95
+ return {
96
+ url: toPathString(localVarUrlObj),
97
+ options: localVarRequestOptions,
98
+ };
99
+ },
100
+ /**
101
+ * 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\'.
102
+ * @summary Create the lead asynchronously
103
+ * @param {CreateLeadRequestDto} createLeadRequestDto
104
+ * @param {string} [authorization] Bearer Token
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ createLeadAsync: async (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
109
+ // verify required parameter 'createLeadRequestDto' is not null or undefined
110
+ assertParamExists('createLeadAsync', 'createLeadRequestDto', createLeadRequestDto)
111
+ const localVarPath = `/insuranceservice/v1/leads-async`;
112
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
113
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
114
+ let baseOptions;
115
+ let baseAccessToken;
116
+ if (configuration) {
117
+ baseOptions = configuration.baseOptions;
118
+ baseAccessToken = configuration.accessToken;
119
+ }
120
+
121
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
122
+ const localVarHeaderParameter = {} as any;
123
+ const localVarQueryParameter = {} as any;
124
+
125
+ // authentication bearer required
126
+ // http bearer authentication required
127
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
128
+
129
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
130
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
131
+ }
132
+
133
+
134
+
86
135
  localVarHeaderParameter['Content-Type'] = 'application/json';
87
136
 
88
137
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -106,7 +155,7 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
106
155
  createLeadSync: async (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
107
156
  // verify required parameter 'createLeadRequestDto' is not null or undefined
108
157
  assertParamExists('createLeadSync', 'createLeadRequestDto', createLeadRequestDto)
109
- const localVarPath = `/insuranceservice/v1/leads/sync`;
158
+ const localVarPath = `/insuranceservice/v1/leads-sync`;
110
159
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
111
160
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
112
161
  let baseOptions;
@@ -353,6 +402,57 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
353
402
 
354
403
 
355
404
 
405
+ localVarHeaderParameter['Content-Type'] = 'application/json';
406
+
407
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
408
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
409
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
410
+ localVarRequestOptions.data = serializeDataIfNeeded(updateLeadRequestDto, localVarRequestOptions, configuration)
411
+
412
+ return {
413
+ url: toPathString(localVarUrlObj),
414
+ options: localVarRequestOptions,
415
+ };
416
+ },
417
+ /**
418
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
419
+ * @summary Update the lead
420
+ * @param {string} code Unique identifier for the object.
421
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
422
+ * @param {string} [authorization] Bearer Token
423
+ * @param {*} [options] Override http request option.
424
+ * @throws {RequiredError}
425
+ */
426
+ updateLeadSync: async (code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
427
+ // verify required parameter 'code' is not null or undefined
428
+ assertParamExists('updateLeadSync', 'code', code)
429
+ // verify required parameter 'updateLeadRequestDto' is not null or undefined
430
+ assertParamExists('updateLeadSync', 'updateLeadRequestDto', updateLeadRequestDto)
431
+ const localVarPath = `/insuranceservice/v1/leads-sync/{code}`
432
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
433
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
434
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
435
+ let baseOptions;
436
+ let baseAccessToken;
437
+ if (configuration) {
438
+ baseOptions = configuration.baseOptions;
439
+ baseAccessToken = configuration.accessToken;
440
+ }
441
+
442
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
443
+ const localVarHeaderParameter = {} as any;
444
+ const localVarQueryParameter = {} as any;
445
+
446
+ // authentication bearer required
447
+ // http bearer authentication required
448
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
449
+
450
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
451
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
452
+ }
453
+
454
+
455
+
356
456
  localVarHeaderParameter['Content-Type'] = 'application/json';
357
457
 
358
458
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -387,6 +487,18 @@ export const LeadsApiFp = function(configuration?: Configuration) {
387
487
  const localVarAxiosArgs = await localVarAxiosParamCreator.createLead(createLeadRequestDto, authorization, options);
388
488
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
389
489
  },
490
+ /**
491
+ * 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\'.
492
+ * @summary Create the lead asynchronously
493
+ * @param {CreateLeadRequestDto} createLeadRequestDto
494
+ * @param {string} [authorization] Bearer Token
495
+ * @param {*} [options] Override http request option.
496
+ * @throws {RequiredError}
497
+ */
498
+ async createLeadAsync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadAsyncResponseClass>> {
499
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createLeadAsync(createLeadRequestDto, authorization, options);
500
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
501
+ },
390
502
  /**
391
503
  * 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.
392
504
  * @summary Create the lead
@@ -455,6 +567,19 @@ export const LeadsApiFp = function(configuration?: Configuration) {
455
567
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateLead(code, updateLeadRequestDto, authorization, options);
456
568
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
457
569
  },
570
+ /**
571
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
572
+ * @summary Update the lead
573
+ * @param {string} code Unique identifier for the object.
574
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
575
+ * @param {string} [authorization] Bearer Token
576
+ * @param {*} [options] Override http request option.
577
+ * @throws {RequiredError}
578
+ */
579
+ async updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateLeadResponseClass>> {
580
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateLeadSync(code, updateLeadRequestDto, authorization, options);
581
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
582
+ },
458
583
  }
459
584
  };
460
585
 
@@ -476,6 +601,17 @@ export const LeadsApiFactory = function (configuration?: Configuration, basePath
476
601
  createLead(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadResponseClass> {
477
602
  return localVarFp.createLead(createLeadRequestDto, authorization, options).then((request) => request(axios, basePath));
478
603
  },
604
+ /**
605
+ * 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\'.
606
+ * @summary Create the lead asynchronously
607
+ * @param {CreateLeadRequestDto} createLeadRequestDto
608
+ * @param {string} [authorization] Bearer Token
609
+ * @param {*} [options] Override http request option.
610
+ * @throws {RequiredError}
611
+ */
612
+ createLeadAsync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadAsyncResponseClass> {
613
+ return localVarFp.createLeadAsync(createLeadRequestDto, authorization, options).then((request) => request(axios, basePath));
614
+ },
479
615
  /**
480
616
  * 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.
481
617
  * @summary Create the lead
@@ -539,6 +675,18 @@ export const LeadsApiFactory = function (configuration?: Configuration, basePath
539
675
  updateLead(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateLeadResponseClass> {
540
676
  return localVarFp.updateLead(code, updateLeadRequestDto, authorization, options).then((request) => request(axios, basePath));
541
677
  },
678
+ /**
679
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
680
+ * @summary Update the lead
681
+ * @param {string} code Unique identifier for the object.
682
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
683
+ * @param {string} [authorization] Bearer Token
684
+ * @param {*} [options] Override http request option.
685
+ * @throws {RequiredError}
686
+ */
687
+ updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateLeadResponseClass> {
688
+ return localVarFp.updateLeadSync(code, updateLeadRequestDto, authorization, options).then((request) => request(axios, basePath));
689
+ },
542
690
  };
543
691
  };
544
692
 
@@ -563,6 +711,27 @@ export interface LeadsApiCreateLeadRequest {
563
711
  readonly authorization?: string
564
712
  }
565
713
 
714
+ /**
715
+ * Request parameters for createLeadAsync operation in LeadsApi.
716
+ * @export
717
+ * @interface LeadsApiCreateLeadAsyncRequest
718
+ */
719
+ export interface LeadsApiCreateLeadAsyncRequest {
720
+ /**
721
+ *
722
+ * @type {CreateLeadRequestDto}
723
+ * @memberof LeadsApiCreateLeadAsync
724
+ */
725
+ readonly createLeadRequestDto: CreateLeadRequestDto
726
+
727
+ /**
728
+ * Bearer Token
729
+ * @type {string}
730
+ * @memberof LeadsApiCreateLeadAsync
731
+ */
732
+ readonly authorization?: string
733
+ }
734
+
566
735
  /**
567
736
  * Request parameters for createLeadSync operation in LeadsApi.
568
737
  * @export
@@ -724,6 +893,34 @@ export interface LeadsApiUpdateLeadRequest {
724
893
  readonly authorization?: string
725
894
  }
726
895
 
896
+ /**
897
+ * Request parameters for updateLeadSync operation in LeadsApi.
898
+ * @export
899
+ * @interface LeadsApiUpdateLeadSyncRequest
900
+ */
901
+ export interface LeadsApiUpdateLeadSyncRequest {
902
+ /**
903
+ * Unique identifier for the object.
904
+ * @type {string}
905
+ * @memberof LeadsApiUpdateLeadSync
906
+ */
907
+ readonly code: string
908
+
909
+ /**
910
+ *
911
+ * @type {UpdateLeadRequestDto}
912
+ * @memberof LeadsApiUpdateLeadSync
913
+ */
914
+ readonly updateLeadRequestDto: UpdateLeadRequestDto
915
+
916
+ /**
917
+ * Bearer Token
918
+ * @type {string}
919
+ * @memberof LeadsApiUpdateLeadSync
920
+ */
921
+ readonly authorization?: string
922
+ }
923
+
727
924
  /**
728
925
  * LeadsApi - object-oriented interface
729
926
  * @export
@@ -743,6 +940,18 @@ export class LeadsApi extends BaseAPI {
743
940
  return LeadsApiFp(this.configuration).createLead(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
744
941
  }
745
942
 
943
+ /**
944
+ * 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\'.
945
+ * @summary Create the lead asynchronously
946
+ * @param {LeadsApiCreateLeadAsyncRequest} requestParameters Request parameters.
947
+ * @param {*} [options] Override http request option.
948
+ * @throws {RequiredError}
949
+ * @memberof LeadsApi
950
+ */
951
+ public createLeadAsync(requestParameters: LeadsApiCreateLeadAsyncRequest, options?: AxiosRequestConfig) {
952
+ return LeadsApiFp(this.configuration).createLeadAsync(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
953
+ }
954
+
746
955
  /**
747
956
  * 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.
748
957
  * @summary Create the lead
@@ -802,4 +1011,16 @@ export class LeadsApi extends BaseAPI {
802
1011
  public updateLead(requestParameters: LeadsApiUpdateLeadRequest, options?: AxiosRequestConfig) {
803
1012
  return LeadsApiFp(this.configuration).updateLead(requestParameters.code, requestParameters.updateLeadRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
804
1013
  }
1014
+
1015
+ /**
1016
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
1017
+ * @summary Update the lead
1018
+ * @param {LeadsApiUpdateLeadSyncRequest} requestParameters Request parameters.
1019
+ * @param {*} [options] Override http request option.
1020
+ * @throws {RequiredError}
1021
+ * @memberof LeadsApi
1022
+ */
1023
+ public updateLeadSync(requestParameters: LeadsApiUpdateLeadSyncRequest, options?: AxiosRequestConfig) {
1024
+ return LeadsApiFp(this.configuration).updateLeadSync(requestParameters.code, requestParameters.updateLeadRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1025
+ }
805
1026
  }
@@ -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
@@ -259,14 +259,14 @@ export const PremiumFormulasApiAxiosParamCreator = function (configuration?: Con
259
259
  /**
260
260
  * Swaps premium formulas order.
261
261
  * @summary Swaps premium formulas order
262
- * @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
262
+ * @param {SwapPremiumFormulasOrderRequestDto} swapPremiumFormulasOrderRequestDto
263
263
  * @param {string} [authorization] Bearer Token
264
264
  * @param {*} [options] Override http request option.
265
265
  * @throws {RequiredError}
266
266
  */
267
- swapPremiumFormulasOrder: async (swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
268
- // verify required parameter 'swapPremiumFormulasOrderRequesttDto' is not null or undefined
269
- assertParamExists('swapPremiumFormulasOrder', 'swapPremiumFormulasOrderRequesttDto', swapPremiumFormulasOrderRequesttDto)
267
+ swapPremiumFormulasOrder: async (swapPremiumFormulasOrderRequestDto: SwapPremiumFormulasOrderRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
268
+ // verify required parameter 'swapPremiumFormulasOrderRequestDto' is not null or undefined
269
+ assertParamExists('swapPremiumFormulasOrder', 'swapPremiumFormulasOrderRequestDto', swapPremiumFormulasOrderRequestDto)
270
270
  const localVarPath = `/insuranceservice/v1/premium-formulas/reorder`;
271
271
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
272
272
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -296,7 +296,7 @@ export const PremiumFormulasApiAxiosParamCreator = function (configuration?: Con
296
296
  setSearchParams(localVarUrlObj, localVarQueryParameter);
297
297
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
298
298
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
299
- localVarRequestOptions.data = serializeDataIfNeeded(swapPremiumFormulasOrderRequesttDto, localVarRequestOptions, configuration)
299
+ localVarRequestOptions.data = serializeDataIfNeeded(swapPremiumFormulasOrderRequestDto, localVarRequestOptions, configuration)
300
300
 
301
301
  return {
302
302
  url: toPathString(localVarUrlObj),
@@ -420,13 +420,13 @@ export const PremiumFormulasApiFp = function(configuration?: Configuration) {
420
420
  /**
421
421
  * Swaps premium formulas order.
422
422
  * @summary Swaps premium formulas order
423
- * @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
423
+ * @param {SwapPremiumFormulasOrderRequestDto} swapPremiumFormulasOrderRequestDto
424
424
  * @param {string} [authorization] Bearer Token
425
425
  * @param {*} [options] Override http request option.
426
426
  * @throws {RequiredError}
427
427
  */
428
- async swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptyResponseClass>> {
429
- const localVarAxiosArgs = await localVarAxiosParamCreator.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto, authorization, options);
428
+ async swapPremiumFormulasOrder(swapPremiumFormulasOrderRequestDto: SwapPremiumFormulasOrderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptyResponseClass>> {
429
+ const localVarAxiosArgs = await localVarAxiosParamCreator.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequestDto, authorization, options);
430
430
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
431
431
  },
432
432
  /**
@@ -504,13 +504,13 @@ export const PremiumFormulasApiFactory = function (configuration?: Configuration
504
504
  /**
505
505
  * Swaps premium formulas order.
506
506
  * @summary Swaps premium formulas order
507
- * @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
507
+ * @param {SwapPremiumFormulasOrderRequestDto} swapPremiumFormulasOrderRequestDto
508
508
  * @param {string} [authorization] Bearer Token
509
509
  * @param {*} [options] Override http request option.
510
510
  * @throws {RequiredError}
511
511
  */
512
- swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto, authorization?: string, options?: any): AxiosPromise<EmptyResponseClass> {
513
- return localVarFp.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto, authorization, options).then((request) => request(axios, basePath));
512
+ swapPremiumFormulasOrder(swapPremiumFormulasOrderRequestDto: SwapPremiumFormulasOrderRequestDto, authorization?: string, options?: any): AxiosPromise<EmptyResponseClass> {
513
+ return localVarFp.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequestDto, authorization, options).then((request) => request(axios, basePath));
514
514
  },
515
515
  /**
516
516
  * Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -654,10 +654,10 @@ export interface PremiumFormulasApiListPremiumFormulasRequest {
654
654
  export interface PremiumFormulasApiSwapPremiumFormulasOrderRequest {
655
655
  /**
656
656
  *
657
- * @type {SwapPremiumFormulasOrderRequesttDto}
657
+ * @type {SwapPremiumFormulasOrderRequestDto}
658
658
  * @memberof PremiumFormulasApiSwapPremiumFormulasOrder
659
659
  */
660
- readonly swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto
660
+ readonly swapPremiumFormulasOrderRequestDto: SwapPremiumFormulasOrderRequestDto
661
661
 
662
662
  /**
663
663
  * Bearer Token
@@ -759,7 +759,7 @@ export class PremiumFormulasApi extends BaseAPI {
759
759
  * @memberof PremiumFormulasApi
760
760
  */
761
761
  public swapPremiumFormulasOrder(requestParameters: PremiumFormulasApiSwapPremiumFormulasOrderRequest, options?: AxiosRequestConfig) {
762
- return PremiumFormulasApiFp(this.configuration).swapPremiumFormulasOrder(requestParameters.swapPremiumFormulasOrderRequesttDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
762
+ return PremiumFormulasApiFp(this.configuration).swapPremiumFormulasOrder(requestParameters.swapPremiumFormulasOrderRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
763
763
  }
764
764
 
765
765
  /**
@@ -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
  }
@@ -145,6 +145,55 @@ var LeadsApiAxiosParamCreator = function (configuration) {
145
145
  });
146
146
  });
147
147
  },
148
+ /**
149
+ * 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\'.
150
+ * @summary Create the lead asynchronously
151
+ * @param {CreateLeadRequestDto} createLeadRequestDto
152
+ * @param {string} [authorization] Bearer Token
153
+ * @param {*} [options] Override http request option.
154
+ * @throws {RequiredError}
155
+ */
156
+ createLeadAsync: function (createLeadRequestDto, authorization, options) {
157
+ if (options === void 0) { options = {}; }
158
+ return __awaiter(_this, void 0, void 0, function () {
159
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
160
+ return __generator(this, function (_a) {
161
+ switch (_a.label) {
162
+ case 0:
163
+ // verify required parameter 'createLeadRequestDto' is not null or undefined
164
+ (0, common_1.assertParamExists)('createLeadAsync', 'createLeadRequestDto', createLeadRequestDto);
165
+ localVarPath = "/insuranceservice/v1/leads-async";
166
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
167
+ if (configuration) {
168
+ baseOptions = configuration.baseOptions;
169
+ baseAccessToken = configuration.accessToken;
170
+ }
171
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
172
+ localVarHeaderParameter = {};
173
+ localVarQueryParameter = {};
174
+ // authentication bearer required
175
+ // http bearer authentication required
176
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
177
+ case 1:
178
+ // authentication bearer required
179
+ // http bearer authentication required
180
+ _a.sent();
181
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
182
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
183
+ }
184
+ localVarHeaderParameter['Content-Type'] = 'application/json';
185
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
186
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
187
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
188
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createLeadRequestDto, localVarRequestOptions, configuration);
189
+ return [2 /*return*/, {
190
+ url: (0, common_1.toPathString)(localVarUrlObj),
191
+ options: localVarRequestOptions,
192
+ }];
193
+ }
194
+ });
195
+ });
196
+ },
148
197
  /**
149
198
  * 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.
150
199
  * @summary Create the lead
@@ -162,7 +211,7 @@ var LeadsApiAxiosParamCreator = function (configuration) {
162
211
  case 0:
163
212
  // verify required parameter 'createLeadRequestDto' is not null or undefined
164
213
  (0, common_1.assertParamExists)('createLeadSync', 'createLeadRequestDto', createLeadRequestDto);
165
- localVarPath = "/insuranceservice/v1/leads/sync";
214
+ localVarPath = "/insuranceservice/v1/leads-sync";
166
215
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
167
216
  if (configuration) {
168
217
  baseOptions = configuration.baseOptions;
@@ -420,6 +469,59 @@ var LeadsApiAxiosParamCreator = function (configuration) {
420
469
  });
421
470
  });
422
471
  },
472
+ /**
473
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
474
+ * @summary Update the lead
475
+ * @param {string} code Unique identifier for the object.
476
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
477
+ * @param {string} [authorization] Bearer Token
478
+ * @param {*} [options] Override http request option.
479
+ * @throws {RequiredError}
480
+ */
481
+ updateLeadSync: function (code, updateLeadRequestDto, authorization, options) {
482
+ if (options === void 0) { options = {}; }
483
+ return __awaiter(_this, void 0, void 0, function () {
484
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
485
+ return __generator(this, function (_a) {
486
+ switch (_a.label) {
487
+ case 0:
488
+ // verify required parameter 'code' is not null or undefined
489
+ (0, common_1.assertParamExists)('updateLeadSync', 'code', code);
490
+ // verify required parameter 'updateLeadRequestDto' is not null or undefined
491
+ (0, common_1.assertParamExists)('updateLeadSync', 'updateLeadRequestDto', updateLeadRequestDto);
492
+ localVarPath = "/insuranceservice/v1/leads-sync/{code}"
493
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
494
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
495
+ if (configuration) {
496
+ baseOptions = configuration.baseOptions;
497
+ baseAccessToken = configuration.accessToken;
498
+ }
499
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
500
+ localVarHeaderParameter = {};
501
+ localVarQueryParameter = {};
502
+ // authentication bearer required
503
+ // http bearer authentication required
504
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
505
+ case 1:
506
+ // authentication bearer required
507
+ // http bearer authentication required
508
+ _a.sent();
509
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
510
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
511
+ }
512
+ localVarHeaderParameter['Content-Type'] = 'application/json';
513
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
514
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
515
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
516
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateLeadRequestDto, localVarRequestOptions, configuration);
517
+ return [2 /*return*/, {
518
+ url: (0, common_1.toPathString)(localVarUrlObj),
519
+ options: localVarRequestOptions,
520
+ }];
521
+ }
522
+ });
523
+ });
524
+ },
423
525
  };
424
526
  };
425
527
  exports.LeadsApiAxiosParamCreator = LeadsApiAxiosParamCreator;
@@ -451,6 +553,27 @@ var LeadsApiFp = function (configuration) {
451
553
  });
452
554
  });
453
555
  },
556
+ /**
557
+ * 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\'.
558
+ * @summary Create the lead asynchronously
559
+ * @param {CreateLeadRequestDto} createLeadRequestDto
560
+ * @param {string} [authorization] Bearer Token
561
+ * @param {*} [options] Override http request option.
562
+ * @throws {RequiredError}
563
+ */
564
+ createLeadAsync: function (createLeadRequestDto, authorization, options) {
565
+ return __awaiter(this, void 0, void 0, function () {
566
+ var localVarAxiosArgs;
567
+ return __generator(this, function (_a) {
568
+ switch (_a.label) {
569
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createLeadAsync(createLeadRequestDto, authorization, options)];
570
+ case 1:
571
+ localVarAxiosArgs = _a.sent();
572
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
573
+ }
574
+ });
575
+ });
576
+ },
454
577
  /**
455
578
  * 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.
456
579
  * @summary Create the lead
@@ -564,6 +687,28 @@ var LeadsApiFp = function (configuration) {
564
687
  });
565
688
  });
566
689
  },
690
+ /**
691
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
692
+ * @summary Update the lead
693
+ * @param {string} code Unique identifier for the object.
694
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
695
+ * @param {string} [authorization] Bearer Token
696
+ * @param {*} [options] Override http request option.
697
+ * @throws {RequiredError}
698
+ */
699
+ updateLeadSync: function (code, updateLeadRequestDto, authorization, options) {
700
+ return __awaiter(this, void 0, void 0, function () {
701
+ var localVarAxiosArgs;
702
+ return __generator(this, function (_a) {
703
+ switch (_a.label) {
704
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateLeadSync(code, updateLeadRequestDto, authorization, options)];
705
+ case 1:
706
+ localVarAxiosArgs = _a.sent();
707
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
708
+ }
709
+ });
710
+ });
711
+ },
567
712
  };
568
713
  };
569
714
  exports.LeadsApiFp = LeadsApiFp;
@@ -585,6 +730,17 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
585
730
  createLead: function (createLeadRequestDto, authorization, options) {
586
731
  return localVarFp.createLead(createLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
587
732
  },
733
+ /**
734
+ * 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\'.
735
+ * @summary Create the lead asynchronously
736
+ * @param {CreateLeadRequestDto} createLeadRequestDto
737
+ * @param {string} [authorization] Bearer Token
738
+ * @param {*} [options] Override http request option.
739
+ * @throws {RequiredError}
740
+ */
741
+ createLeadAsync: function (createLeadRequestDto, authorization, options) {
742
+ return localVarFp.createLeadAsync(createLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
743
+ },
588
744
  /**
589
745
  * 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.
590
746
  * @summary Create the lead
@@ -648,6 +804,18 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
648
804
  updateLead: function (code, updateLeadRequestDto, authorization, options) {
649
805
  return localVarFp.updateLead(code, updateLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
650
806
  },
807
+ /**
808
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
809
+ * @summary Update the lead
810
+ * @param {string} code Unique identifier for the object.
811
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
812
+ * @param {string} [authorization] Bearer Token
813
+ * @param {*} [options] Override http request option.
814
+ * @throws {RequiredError}
815
+ */
816
+ updateLeadSync: function (code, updateLeadRequestDto, authorization, options) {
817
+ return localVarFp.updateLeadSync(code, updateLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
818
+ },
651
819
  };
652
820
  };
653
821
  exports.LeadsApiFactory = LeadsApiFactory;
@@ -674,6 +842,18 @@ var LeadsApi = /** @class */ (function (_super) {
674
842
  var _this = this;
675
843
  return (0, exports.LeadsApiFp)(this.configuration).createLead(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
676
844
  };
845
+ /**
846
+ * 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\'.
847
+ * @summary Create the lead asynchronously
848
+ * @param {LeadsApiCreateLeadAsyncRequest} requestParameters Request parameters.
849
+ * @param {*} [options] Override http request option.
850
+ * @throws {RequiredError}
851
+ * @memberof LeadsApi
852
+ */
853
+ LeadsApi.prototype.createLeadAsync = function (requestParameters, options) {
854
+ var _this = this;
855
+ return (0, exports.LeadsApiFp)(this.configuration).createLeadAsync(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
856
+ };
677
857
  /**
678
858
  * 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.
679
859
  * @summary Create the lead
@@ -735,6 +915,18 @@ var LeadsApi = /** @class */ (function (_super) {
735
915
  var _this = this;
736
916
  return (0, exports.LeadsApiFp)(this.configuration).updateLead(requestParameters.code, requestParameters.updateLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
737
917
  };
918
+ /**
919
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
920
+ * @summary Update the lead
921
+ * @param {LeadsApiUpdateLeadSyncRequest} requestParameters Request parameters.
922
+ * @param {*} [options] Override http request option.
923
+ * @throws {RequiredError}
924
+ * @memberof LeadsApi
925
+ */
926
+ LeadsApi.prototype.updateLeadSync = function (requestParameters, options) {
927
+ var _this = this;
928
+ return (0, exports.LeadsApiFp)(this.configuration).updateLeadSync(requestParameters.code, requestParameters.updateLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
929
+ };
738
930
  return LeadsApi;
739
931
  }(base_1.BaseAPI));
740
932
  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}
@@ -312,20 +312,20 @@ var PremiumFormulasApiAxiosParamCreator = function (configuration) {
312
312
  /**
313
313
  * Swaps premium formulas order.
314
314
  * @summary Swaps premium formulas order
315
- * @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
315
+ * @param {SwapPremiumFormulasOrderRequestDto} swapPremiumFormulasOrderRequestDto
316
316
  * @param {string} [authorization] Bearer Token
317
317
  * @param {*} [options] Override http request option.
318
318
  * @throws {RequiredError}
319
319
  */
320
- swapPremiumFormulasOrder: function (swapPremiumFormulasOrderRequesttDto, authorization, options) {
320
+ swapPremiumFormulasOrder: function (swapPremiumFormulasOrderRequestDto, authorization, options) {
321
321
  if (options === void 0) { options = {}; }
322
322
  return __awaiter(_this, void 0, void 0, function () {
323
323
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
324
324
  return __generator(this, function (_a) {
325
325
  switch (_a.label) {
326
326
  case 0:
327
- // verify required parameter 'swapPremiumFormulasOrderRequesttDto' is not null or undefined
328
- (0, common_1.assertParamExists)('swapPremiumFormulasOrder', 'swapPremiumFormulasOrderRequesttDto', swapPremiumFormulasOrderRequesttDto);
327
+ // verify required parameter 'swapPremiumFormulasOrderRequestDto' is not null or undefined
328
+ (0, common_1.assertParamExists)('swapPremiumFormulasOrder', 'swapPremiumFormulasOrderRequestDto', swapPremiumFormulasOrderRequestDto);
329
329
  localVarPath = "/insuranceservice/v1/premium-formulas/reorder";
330
330
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
331
331
  if (configuration) {
@@ -349,7 +349,7 @@ var PremiumFormulasApiAxiosParamCreator = function (configuration) {
349
349
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
350
350
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
351
351
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
352
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(swapPremiumFormulasOrderRequesttDto, localVarRequestOptions, configuration);
352
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(swapPremiumFormulasOrderRequestDto, localVarRequestOptions, configuration);
353
353
  return [2 /*return*/, {
354
354
  url: (0, common_1.toPathString)(localVarUrlObj),
355
355
  options: localVarRequestOptions,
@@ -513,17 +513,17 @@ var PremiumFormulasApiFp = function (configuration) {
513
513
  /**
514
514
  * Swaps premium formulas order.
515
515
  * @summary Swaps premium formulas order
516
- * @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
516
+ * @param {SwapPremiumFormulasOrderRequestDto} swapPremiumFormulasOrderRequestDto
517
517
  * @param {string} [authorization] Bearer Token
518
518
  * @param {*} [options] Override http request option.
519
519
  * @throws {RequiredError}
520
520
  */
521
- swapPremiumFormulasOrder: function (swapPremiumFormulasOrderRequesttDto, authorization, options) {
521
+ swapPremiumFormulasOrder: function (swapPremiumFormulasOrderRequestDto, authorization, options) {
522
522
  return __awaiter(this, void 0, void 0, function () {
523
523
  var localVarAxiosArgs;
524
524
  return __generator(this, function (_a) {
525
525
  switch (_a.label) {
526
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto, authorization, options)];
526
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequestDto, authorization, options)];
527
527
  case 1:
528
528
  localVarAxiosArgs = _a.sent();
529
529
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -615,13 +615,13 @@ var PremiumFormulasApiFactory = function (configuration, basePath, axios) {
615
615
  /**
616
616
  * Swaps premium formulas order.
617
617
  * @summary Swaps premium formulas order
618
- * @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
618
+ * @param {SwapPremiumFormulasOrderRequestDto} swapPremiumFormulasOrderRequestDto
619
619
  * @param {string} [authorization] Bearer Token
620
620
  * @param {*} [options] Override http request option.
621
621
  * @throws {RequiredError}
622
622
  */
623
- swapPremiumFormulasOrder: function (swapPremiumFormulasOrderRequesttDto, authorization, options) {
624
- return localVarFp.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto, authorization, options).then(function (request) { return request(axios, basePath); });
623
+ swapPremiumFormulasOrder: function (swapPremiumFormulasOrderRequestDto, authorization, options) {
624
+ return localVarFp.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
625
625
  },
626
626
  /**
627
627
  * Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
@@ -708,7 +708,7 @@ var PremiumFormulasApi = /** @class */ (function (_super) {
708
708
  */
709
709
  PremiumFormulasApi.prototype.swapPremiumFormulasOrder = function (requestParameters, options) {
710
710
  var _this = this;
711
- return (0, exports.PremiumFormulasApiFp)(this.configuration).swapPremiumFormulasOrder(requestParameters.swapPremiumFormulasOrderRequesttDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
711
+ return (0, exports.PremiumFormulasApiFp)(this.configuration).swapPremiumFormulasOrder(requestParameters.swapPremiumFormulasOrderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
712
712
  };
713
713
  /**
714
714
  * 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-node",
3
- "version": "1.24.0",
3
+ "version": "1.25.0",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [