@emilgroup/public-api-sdk-node 1.19.0 → 1.20.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.
@@ -64,7 +64,6 @@ models/lead-bank-account-class.ts
64
64
  models/lead-class.ts
65
65
  models/lead-policy-class.ts
66
66
  models/lead-policy-object-class.ts
67
- models/lead-sync-response-class.ts
68
67
  models/list-documents-response-class.ts
69
68
  models/list-product-documents-response-class.ts
70
69
  models/list-products-response-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/public-api-sdk-node@1.19.0 --save
20
+ npm install @emilgroup/public-api-sdk-node@1.20.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/public-api-sdk-node@1.19.0
24
+ yarn add @emilgroup/public-api-sdk-node@1.20.0
25
25
  ```
26
26
 
27
27
  And then you can import `PublicApi`.
package/api/leads-api.ts CHANGED
@@ -31,8 +31,6 @@ import { GetLeadResponseClass } from '../models';
31
31
  // @ts-ignore
32
32
  import { InitiateLeadResponseClass } from '../models';
33
33
  // @ts-ignore
34
- import { LeadSyncResponseClass } from '../models';
35
- // @ts-ignore
36
34
  import { UpdateLeadRequestDto } from '../models';
37
35
  // @ts-ignore
38
36
  import { UpdateLeadResponseClass } from '../models';
@@ -142,7 +140,7 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
142
140
  },
143
141
  /**
144
142
  * 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.
145
- * @summary Create the lead
143
+ * @summary Create the lead synchronously
146
144
  * @param {CreateLeadRequestDto} createLeadRequestDto
147
145
  * @param {string} [authorization] Bearer Token
148
146
  * @param {*} [options] Override http request option.
@@ -411,13 +409,13 @@ export const LeadsApiFp = function(configuration?: Configuration) {
411
409
  },
412
410
  /**
413
411
  * 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.
414
- * @summary Create the lead
412
+ * @summary Create the lead synchronously
415
413
  * @param {CreateLeadRequestDto} createLeadRequestDto
416
414
  * @param {string} [authorization] Bearer Token
417
415
  * @param {*} [options] Override http request option.
418
416
  * @throws {RequiredError}
419
417
  */
420
- async createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeadSyncResponseClass>> {
418
+ async createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadResponseClass>> {
421
419
  const localVarAxiosArgs = await localVarAxiosParamCreator.createLeadSync(createLeadRequestDto, authorization, options);
422
420
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
423
421
  },
@@ -466,7 +464,7 @@ export const LeadsApiFp = function(configuration?: Configuration) {
466
464
  * @param {*} [options] Override http request option.
467
465
  * @throws {RequiredError}
468
466
  */
469
- async updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeadSyncResponseClass>> {
467
+ async updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateLeadResponseClass>> {
470
468
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateLeadSync(code, updateLeadRequestDto, authorization, options);
471
469
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
472
470
  },
@@ -504,13 +502,13 @@ export const LeadsApiFactory = function (configuration?: Configuration, basePath
504
502
  },
505
503
  /**
506
504
  * 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.
507
- * @summary Create the lead
505
+ * @summary Create the lead synchronously
508
506
  * @param {CreateLeadRequestDto} createLeadRequestDto
509
507
  * @param {string} [authorization] Bearer Token
510
508
  * @param {*} [options] Override http request option.
511
509
  * @throws {RequiredError}
512
510
  */
513
- createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<LeadSyncResponseClass> {
511
+ createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadResponseClass> {
514
512
  return localVarFp.createLeadSync(createLeadRequestDto, authorization, options).then((request) => request(axios, basePath));
515
513
  },
516
514
  /**
@@ -555,7 +553,7 @@ export const LeadsApiFactory = function (configuration?: Configuration, basePath
555
553
  * @param {*} [options] Override http request option.
556
554
  * @throws {RequiredError}
557
555
  */
558
- updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<LeadSyncResponseClass> {
556
+ updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateLeadResponseClass> {
559
557
  return localVarFp.updateLeadSync(code, updateLeadRequestDto, authorization, options).then((request) => request(axios, basePath));
560
558
  },
561
559
  };
@@ -748,7 +746,7 @@ export class LeadsApi extends BaseAPI {
748
746
 
749
747
  /**
750
748
  * 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.
751
- * @summary Create the lead
749
+ * @summary Create the lead synchronously
752
750
  * @param {LeadsApiCreateLeadSyncRequest} requestParameters Request parameters.
753
751
  * @param {*} [options] Override http request option.
754
752
  * @throws {RequiredError}
@@ -17,7 +17,6 @@ import { CreateLeadRequestDto } from '../models';
17
17
  import { CreateLeadResponseClass } from '../models';
18
18
  import { GetLeadResponseClass } from '../models';
19
19
  import { InitiateLeadResponseClass } from '../models';
20
- import { LeadSyncResponseClass } from '../models';
21
20
  import { UpdateLeadRequestDto } from '../models';
22
21
  import { UpdateLeadResponseClass } from '../models';
23
22
  /**
@@ -45,7 +44,7 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
45
44
  createLeadAsync: (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
46
45
  /**
47
46
  * 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.
48
- * @summary Create the lead
47
+ * @summary Create the lead synchronously
49
48
  * @param {CreateLeadRequestDto} createLeadRequestDto
50
49
  * @param {string} [authorization] Bearer Token
51
50
  * @param {*} [options] Override http request option.
@@ -115,13 +114,13 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
115
114
  createLeadAsync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadAsyncResponseClass>>;
116
115
  /**
117
116
  * 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.
118
- * @summary Create the lead
117
+ * @summary Create the lead synchronously
119
118
  * @param {CreateLeadRequestDto} createLeadRequestDto
120
119
  * @param {string} [authorization] Bearer Token
121
120
  * @param {*} [options] Override http request option.
122
121
  * @throws {RequiredError}
123
122
  */
124
- createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeadSyncResponseClass>>;
123
+ createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadResponseClass>>;
125
124
  /**
126
125
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
127
126
  * @summary Retrieve the lead
@@ -158,7 +157,7 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
158
157
  * @param {*} [options] Override http request option.
159
158
  * @throws {RequiredError}
160
159
  */
161
- updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeadSyncResponseClass>>;
160
+ updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateLeadResponseClass>>;
162
161
  };
163
162
  /**
164
163
  * LeadsApi - factory interface
@@ -185,13 +184,13 @@ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?:
185
184
  createLeadAsync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadAsyncResponseClass>;
186
185
  /**
187
186
  * 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.
188
- * @summary Create the lead
187
+ * @summary Create the lead synchronously
189
188
  * @param {CreateLeadRequestDto} createLeadRequestDto
190
189
  * @param {string} [authorization] Bearer Token
191
190
  * @param {*} [options] Override http request option.
192
191
  * @throws {RequiredError}
193
192
  */
194
- createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<LeadSyncResponseClass>;
193
+ createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadResponseClass>;
195
194
  /**
196
195
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
197
196
  * @summary Retrieve the lead
@@ -228,7 +227,7 @@ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?:
228
227
  * @param {*} [options] Override http request option.
229
228
  * @throws {RequiredError}
230
229
  */
231
- updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<LeadSyncResponseClass>;
230
+ updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateLeadResponseClass>;
232
231
  };
233
232
  /**
234
233
  * Request parameters for createLead operation in LeadsApi.
@@ -396,13 +395,13 @@ export declare class LeadsApi extends BaseAPI {
396
395
  createLeadAsync(requestParameters: LeadsApiCreateLeadAsyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadAsyncResponseClass, any>>;
397
396
  /**
398
397
  * 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.
399
- * @summary Create the lead
398
+ * @summary Create the lead synchronously
400
399
  * @param {LeadsApiCreateLeadSyncRequest} requestParameters Request parameters.
401
400
  * @param {*} [options] Override http request option.
402
401
  * @throws {RequiredError}
403
402
  * @memberof LeadsApi
404
403
  */
405
- createLeadSync(requestParameters: LeadsApiCreateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LeadSyncResponseClass, any>>;
404
+ createLeadSync(requestParameters: LeadsApiCreateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any>>;
406
405
  /**
407
406
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
408
407
  * @summary Retrieve the lead
@@ -438,5 +437,5 @@ export declare class LeadsApi extends BaseAPI {
438
437
  * @throws {RequiredError}
439
438
  * @memberof LeadsApi
440
439
  */
441
- updateLeadSync(requestParameters: LeadsApiUpdateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LeadSyncResponseClass, any>>;
440
+ updateLeadSync(requestParameters: LeadsApiUpdateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadResponseClass, any>>;
442
441
  }
@@ -196,7 +196,7 @@ var LeadsApiAxiosParamCreator = function (configuration) {
196
196
  },
197
197
  /**
198
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.
199
- * @summary Create the lead
199
+ * @summary Create the lead synchronously
200
200
  * @param {CreateLeadRequestDto} createLeadRequestDto
201
201
  * @param {string} [authorization] Bearer Token
202
202
  * @param {*} [options] Override http request option.
@@ -495,7 +495,7 @@ var LeadsApiFp = function (configuration) {
495
495
  },
496
496
  /**
497
497
  * 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.
498
- * @summary Create the lead
498
+ * @summary Create the lead synchronously
499
499
  * @param {CreateLeadRequestDto} createLeadRequestDto
500
500
  * @param {string} [authorization] Bearer Token
501
501
  * @param {*} [options] Override http request option.
@@ -633,7 +633,7 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
633
633
  },
634
634
  /**
635
635
  * 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.
636
- * @summary Create the lead
636
+ * @summary Create the lead synchronously
637
637
  * @param {CreateLeadRequestDto} createLeadRequestDto
638
638
  * @param {string} [authorization] Bearer Token
639
639
  * @param {*} [options] Override http request option.
@@ -727,7 +727,7 @@ var LeadsApi = /** @class */ (function (_super) {
727
727
  };
728
728
  /**
729
729
  * 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.
730
- * @summary Create the lead
730
+ * @summary Create the lead synchronously
731
731
  * @param {LeadsApiCreateLeadSyncRequest} requestParameters Request parameters.
732
732
  * @param {*} [options] Override http request option.
733
733
  * @throws {RequiredError}
@@ -46,7 +46,6 @@ export * from './lead-bank-account-class';
46
46
  export * from './lead-class';
47
47
  export * from './lead-policy-class';
48
48
  export * from './lead-policy-object-class';
49
- export * from './lead-sync-response-class';
50
49
  export * from './list-documents-response-class';
51
50
  export * from './list-product-documents-response-class';
52
51
  export * from './list-products-response-class';
@@ -62,7 +62,6 @@ __exportStar(require("./lead-bank-account-class"), exports);
62
62
  __exportStar(require("./lead-class"), exports);
63
63
  __exportStar(require("./lead-policy-class"), exports);
64
64
  __exportStar(require("./lead-policy-object-class"), exports);
65
- __exportStar(require("./lead-sync-response-class"), exports);
66
65
  __exportStar(require("./list-documents-response-class"), exports);
67
66
  __exportStar(require("./list-product-documents-response-class"), exports);
68
67
  __exportStar(require("./list-products-response-class"), exports);
package/models/index.ts CHANGED
@@ -46,7 +46,6 @@ export * from './lead-bank-account-class';
46
46
  export * from './lead-class';
47
47
  export * from './lead-policy-class';
48
48
  export * from './lead-policy-object-class';
49
- export * from './lead-sync-response-class';
50
49
  export * from './list-documents-response-class';
51
50
  export * from './list-product-documents-response-class';
52
51
  export * from './list-products-response-class';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/public-api-sdk-node",
3
- "version": "1.19.0",
3
+ "version": "1.20.0",
4
4
  "description": "OpenAPI client for @emilgroup/public-api-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,24 +0,0 @@
1
- /**
2
- * Emil PublicAPI
3
- * The Emil Public 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 LeadSyncResponseClass
16
- */
17
- export interface LeadSyncResponseClass {
18
- /**
19
- *
20
- * @type {object}
21
- * @memberof LeadSyncResponseClass
22
- */
23
- 'variables': object;
24
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Emil PublicAPI
6
- * The Emil Public 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 });
@@ -1,30 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Emil PublicAPI
5
- * The Emil Public 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 LeadSyncResponseClass
21
- */
22
- export interface LeadSyncResponseClass {
23
- /**
24
- *
25
- * @type {object}
26
- * @memberof LeadSyncResponseClass
27
- */
28
- 'variables': object;
29
- }
30
-