@emilgroup/public-api-sdk 1.17.0 → 1.18.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@1.17.0 --save
20
+ npm install @emilgroup/public-api-sdk@1.18.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/public-api-sdk@1.17.0
24
+ yarn add @emilgroup/public-api-sdk@1.18.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';
@@ -138,7 +136,7 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
138
136
  },
139
137
  /**
140
138
  * 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.
141
- * @summary Create the lead
139
+ * @summary Create the lead synchronously
142
140
  * @param {CreateLeadRequestDto} createLeadRequestDto
143
141
  * @param {string} [authorization] Bearer Token
144
142
  * @param {*} [options] Override http request option.
@@ -407,13 +405,13 @@ export const LeadsApiFp = function(configuration?: Configuration) {
407
405
  },
408
406
  /**
409
407
  * 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.
410
- * @summary Create the lead
408
+ * @summary Create the lead synchronously
411
409
  * @param {CreateLeadRequestDto} createLeadRequestDto
412
410
  * @param {string} [authorization] Bearer Token
413
411
  * @param {*} [options] Override http request option.
414
412
  * @throws {RequiredError}
415
413
  */
416
- async createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeadSyncResponseClass>> {
414
+ async createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadResponseClass>> {
417
415
  const localVarAxiosArgs = await localVarAxiosParamCreator.createLeadSync(createLeadRequestDto, authorization, options);
418
416
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
419
417
  },
@@ -462,7 +460,7 @@ export const LeadsApiFp = function(configuration?: Configuration) {
462
460
  * @param {*} [options] Override http request option.
463
461
  * @throws {RequiredError}
464
462
  */
465
- async updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LeadSyncResponseClass>> {
463
+ async updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateLeadResponseClass>> {
466
464
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateLeadSync(code, updateLeadRequestDto, authorization, options);
467
465
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
468
466
  },
@@ -500,13 +498,13 @@ export const LeadsApiFactory = function (configuration?: Configuration, basePath
500
498
  },
501
499
  /**
502
500
  * 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.
503
- * @summary Create the lead
501
+ * @summary Create the lead synchronously
504
502
  * @param {CreateLeadRequestDto} createLeadRequestDto
505
503
  * @param {string} [authorization] Bearer Token
506
504
  * @param {*} [options] Override http request option.
507
505
  * @throws {RequiredError}
508
506
  */
509
- createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<LeadSyncResponseClass> {
507
+ createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadResponseClass> {
510
508
  return localVarFp.createLeadSync(createLeadRequestDto, authorization, options).then((request) => request(axios, basePath));
511
509
  },
512
510
  /**
@@ -551,7 +549,7 @@ export const LeadsApiFactory = function (configuration?: Configuration, basePath
551
549
  * @param {*} [options] Override http request option.
552
550
  * @throws {RequiredError}
553
551
  */
554
- updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<LeadSyncResponseClass> {
552
+ updateLeadSync(code: string, updateLeadRequestDto: UpdateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateLeadResponseClass> {
555
553
  return localVarFp.updateLeadSync(code, updateLeadRequestDto, authorization, options).then((request) => request(axios, basePath));
556
554
  },
557
555
  };
@@ -744,7 +742,7 @@ export class LeadsApi extends BaseAPI {
744
742
 
745
743
  /**
746
744
  * 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.
747
- * @summary Create the lead
745
+ * @summary Create the lead synchronously
748
746
  * @param {LeadsApiCreateLeadSyncRequest} requestParameters Request parameters.
749
747
  * @param {*} [options] Override http request option.
750
748
  * @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
  }
@@ -192,7 +192,7 @@ var LeadsApiAxiosParamCreator = function (configuration) {
192
192
  },
193
193
  /**
194
194
  * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
195
- * @summary Create the lead
195
+ * @summary Create the lead synchronously
196
196
  * @param {CreateLeadRequestDto} createLeadRequestDto
197
197
  * @param {string} [authorization] Bearer Token
198
198
  * @param {*} [options] Override http request option.
@@ -491,7 +491,7 @@ var LeadsApiFp = function (configuration) {
491
491
  },
492
492
  /**
493
493
  * 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.
494
- * @summary Create the lead
494
+ * @summary Create the lead synchronously
495
495
  * @param {CreateLeadRequestDto} createLeadRequestDto
496
496
  * @param {string} [authorization] Bearer Token
497
497
  * @param {*} [options] Override http request option.
@@ -629,7 +629,7 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
629
629
  },
630
630
  /**
631
631
  * 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.
632
- * @summary Create the lead
632
+ * @summary Create the lead synchronously
633
633
  * @param {CreateLeadRequestDto} createLeadRequestDto
634
634
  * @param {string} [authorization] Bearer Token
635
635
  * @param {*} [options] Override http request option.
@@ -723,7 +723,7 @@ var LeadsApi = /** @class */ (function (_super) {
723
723
  };
724
724
  /**
725
725
  * 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.
726
- * @summary Create the lead
726
+ * @summary Create the lead synchronously
727
727
  * @param {LeadsApiCreateLeadSyncRequest} requestParameters Request parameters.
728
728
  * @param {*} [options] Override http request option.
729
729
  * @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",
3
- "version": "1.17.0",
3
+ "version": "1.18.0",
4
4
  "description": "OpenAPI client for @emilgroup/public-api-sdk",
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
-