@emilgroup/insurance-sdk-node 1.13.0 → 1.14.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.
- package/README.md +2 -2
- package/api/leads-api.ts +8 -8
- package/dist/api/leads-api.d.ts +8 -8
- package/dist/api/leads-api.js +8 -8
- package/dist/models/lead-class.d.ts +6 -0
- package/dist/models/policy-class.d.ts +6 -0
- package/models/lead-class.ts +6 -0
- package/models/policy-class.ts +6 -0
- package/package.json +1 -1
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.
|
|
20
|
+
npm install @emilgroup/insurance-sdk-node@1.14.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk-node@1.14.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
package/api/leads-api.ts
CHANGED
|
@@ -215,8 +215,8 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
215
215
|
};
|
|
216
216
|
},
|
|
217
217
|
/**
|
|
218
|
-
* Updates the specified lead by setting the values of the parameters passed.
|
|
219
|
-
* @summary
|
|
218
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
219
|
+
* @summary Patch the lead
|
|
220
220
|
* @param {string} code Unique identifier for the object.
|
|
221
221
|
* @param {PatchLeadRequestDto} patchLeadRequestDto
|
|
222
222
|
* @param {string} [authorization] Bearer Token
|
|
@@ -369,8 +369,8 @@ export const LeadsApiFp = function(configuration?: Configuration) {
|
|
|
369
369
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
370
370
|
},
|
|
371
371
|
/**
|
|
372
|
-
* Updates the specified lead by setting the values of the parameters passed.
|
|
373
|
-
* @summary
|
|
372
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
373
|
+
* @summary Patch the lead
|
|
374
374
|
* @param {string} code Unique identifier for the object.
|
|
375
375
|
* @param {PatchLeadRequestDto} patchLeadRequestDto
|
|
376
376
|
* @param {string} [authorization] Bearer Token
|
|
@@ -444,8 +444,8 @@ export const LeadsApiFactory = function (configuration?: Configuration, basePath
|
|
|
444
444
|
return localVarFp.listLeads(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
445
445
|
},
|
|
446
446
|
/**
|
|
447
|
-
* Updates the specified lead by setting the values of the parameters passed.
|
|
448
|
-
* @summary
|
|
447
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
448
|
+
* @summary Patch the lead
|
|
449
449
|
* @param {string} code Unique identifier for the object.
|
|
450
450
|
* @param {PatchLeadRequestDto} patchLeadRequestDto
|
|
451
451
|
* @param {string} [authorization] Bearer Token
|
|
@@ -675,8 +675,8 @@ export class LeadsApi extends BaseAPI {
|
|
|
675
675
|
}
|
|
676
676
|
|
|
677
677
|
/**
|
|
678
|
-
* Updates the specified lead by setting the values of the parameters passed.
|
|
679
|
-
* @summary
|
|
678
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
679
|
+
* @summary Patch the lead
|
|
680
680
|
* @param {LeadsApiPatchLeadRequest} requestParameters Request parameters.
|
|
681
681
|
* @param {*} [options] Override http request option.
|
|
682
682
|
* @throws {RequiredError}
|
package/dist/api/leads-api.d.ts
CHANGED
|
@@ -59,8 +59,8 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
59
59
|
*/
|
|
60
60
|
listLeads: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
61
|
/**
|
|
62
|
-
* Updates the specified lead by setting the values of the parameters passed.
|
|
63
|
-
* @summary
|
|
62
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
63
|
+
* @summary Patch the lead
|
|
64
64
|
* @param {string} code Unique identifier for the object.
|
|
65
65
|
* @param {PatchLeadRequestDto} patchLeadRequestDto
|
|
66
66
|
* @param {string} [authorization] Bearer Token
|
|
@@ -118,8 +118,8 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
|
|
|
118
118
|
*/
|
|
119
119
|
listLeads(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLeadsResponseClass>>;
|
|
120
120
|
/**
|
|
121
|
-
* Updates the specified lead by setting the values of the parameters passed.
|
|
122
|
-
* @summary
|
|
121
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
122
|
+
* @summary Patch the lead
|
|
123
123
|
* @param {string} code Unique identifier for the object.
|
|
124
124
|
* @param {PatchLeadRequestDto} patchLeadRequestDto
|
|
125
125
|
* @param {string} [authorization] Bearer Token
|
|
@@ -177,8 +177,8 @@ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
177
177
|
*/
|
|
178
178
|
listLeads(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListLeadsResponseClass>;
|
|
179
179
|
/**
|
|
180
|
-
* Updates the specified lead by setting the values of the parameters passed.
|
|
181
|
-
* @summary
|
|
180
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
181
|
+
* @summary Patch the lead
|
|
182
182
|
* @param {string} code Unique identifier for the object.
|
|
183
183
|
* @param {PatchLeadRequestDto} patchLeadRequestDto
|
|
184
184
|
* @param {string} [authorization] Bearer Token
|
|
@@ -375,8 +375,8 @@ export declare class LeadsApi extends BaseAPI {
|
|
|
375
375
|
*/
|
|
376
376
|
listLeads(requestParameters?: LeadsApiListLeadsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListLeadsResponseClass, any>>;
|
|
377
377
|
/**
|
|
378
|
-
* Updates the specified lead by setting the values of the parameters passed.
|
|
379
|
-
* @summary
|
|
378
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
379
|
+
* @summary Patch the lead
|
|
380
380
|
* @param {LeadsApiPatchLeadRequest} requestParameters Request parameters.
|
|
381
381
|
* @param {*} [options] Override http request option.
|
|
382
382
|
* @throws {RequiredError}
|
package/dist/api/leads-api.js
CHANGED
|
@@ -266,8 +266,8 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
266
266
|
});
|
|
267
267
|
},
|
|
268
268
|
/**
|
|
269
|
-
* Updates the specified lead by setting the values of the parameters passed.
|
|
270
|
-
* @summary
|
|
269
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
270
|
+
* @summary Patch the lead
|
|
271
271
|
* @param {string} code Unique identifier for the object.
|
|
272
272
|
* @param {PatchLeadRequestDto} patchLeadRequestDto
|
|
273
273
|
* @param {string} [authorization] Bearer Token
|
|
@@ -451,8 +451,8 @@ var LeadsApiFp = function (configuration) {
|
|
|
451
451
|
});
|
|
452
452
|
},
|
|
453
453
|
/**
|
|
454
|
-
* Updates the specified lead by setting the values of the parameters passed.
|
|
455
|
-
* @summary
|
|
454
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
455
|
+
* @summary Patch the lead
|
|
456
456
|
* @param {string} code Unique identifier for the object.
|
|
457
457
|
* @param {PatchLeadRequestDto} patchLeadRequestDto
|
|
458
458
|
* @param {string} [authorization] Bearer Token
|
|
@@ -544,8 +544,8 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
|
|
|
544
544
|
return localVarFp.listLeads(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
545
545
|
},
|
|
546
546
|
/**
|
|
547
|
-
* Updates the specified lead by setting the values of the parameters passed.
|
|
548
|
-
* @summary
|
|
547
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
548
|
+
* @summary Patch the lead
|
|
549
549
|
* @param {string} code Unique identifier for the object.
|
|
550
550
|
* @param {PatchLeadRequestDto} patchLeadRequestDto
|
|
551
551
|
* @param {string} [authorization] Bearer Token
|
|
@@ -619,8 +619,8 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
619
619
|
return (0, exports.LeadsApiFp)(this.configuration).listLeads(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
620
620
|
};
|
|
621
621
|
/**
|
|
622
|
-
* Updates the specified lead by setting the values of the parameters passed.
|
|
623
|
-
* @summary
|
|
622
|
+
* Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
623
|
+
* @summary Patch the lead
|
|
624
624
|
* @param {LeadsApiPatchLeadRequest} requestParameters Request parameters.
|
|
625
625
|
* @param {*} [options] Override http request option.
|
|
626
626
|
* @throws {RequiredError}
|
|
@@ -33,6 +33,12 @@ export interface LeadClass {
|
|
|
33
33
|
* @memberof LeadClass
|
|
34
34
|
*/
|
|
35
35
|
'code'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* ERN of the organization that created the lead.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof LeadClass
|
|
40
|
+
*/
|
|
41
|
+
'ern': string;
|
|
36
42
|
/**
|
|
37
43
|
* Unique identifier of the account that this object belongs to.
|
|
38
44
|
* @type {string}
|
package/models/lead-class.ts
CHANGED
|
@@ -38,6 +38,12 @@ export interface LeadClass {
|
|
|
38
38
|
* @memberof LeadClass
|
|
39
39
|
*/
|
|
40
40
|
'code'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* ERN of the organization that created the lead.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof LeadClass
|
|
45
|
+
*/
|
|
46
|
+
'ern': string;
|
|
41
47
|
/**
|
|
42
48
|
* Unique identifier of the account that this object belongs to.
|
|
43
49
|
* @type {string}
|
package/models/policy-class.ts
CHANGED