@emilgroup/customer-sdk-node 1.11.0 → 1.11.2
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/policies-api.ts +4 -4
- package/api.ts +0 -6
- package/base.ts +1 -0
- package/dist/api/policies-api.d.ts +4 -4
- package/dist/api/policies-api.js +4 -4
- package/dist/api.d.ts +0 -5
- package/dist/api.js +0 -7
- package/dist/base.d.ts +2 -1
- package/dist/base.js +1 -0
- package/dist/models/policy-class.d.ts +2 -2
- package/models/policy-class.ts +2 -2
- 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/customer-sdk-node@1.11.
|
|
20
|
+
npm install @emilgroup/customer-sdk-node@1.11.2 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/customer-sdk-node@1.11.
|
|
24
|
+
yarn add @emilgroup/customer-sdk-node@1.11.2
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CustomersApi`.
|
package/api/policies-api.ts
CHANGED
|
@@ -50,7 +50,7 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
50
50
|
return {
|
|
51
51
|
/**
|
|
52
52
|
* Get detailed policy that belongs to a customer; the details are filtered to return only the current version and the interval timeline that the provided date is included. If the date is not specified, the system will return the whole timeline.
|
|
53
|
-
* @summary Get current
|
|
53
|
+
* @summary Get current version details
|
|
54
54
|
* @param {string} policyCode The policy code.
|
|
55
55
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
56
56
|
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices.
|
|
@@ -424,7 +424,7 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
|
|
|
424
424
|
return {
|
|
425
425
|
/**
|
|
426
426
|
* Get detailed policy that belongs to a customer; the details are filtered to return only the current version and the interval timeline that the provided date is included. If the date is not specified, the system will return the whole timeline.
|
|
427
|
-
* @summary Get current
|
|
427
|
+
* @summary Get current version details
|
|
428
428
|
* @param {string} policyCode The policy code.
|
|
429
429
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
430
430
|
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices.
|
|
@@ -534,7 +534,7 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
|
|
|
534
534
|
return {
|
|
535
535
|
/**
|
|
536
536
|
* Get detailed policy that belongs to a customer; the details are filtered to return only the current version and the interval timeline that the provided date is included. If the date is not specified, the system will return the whole timeline.
|
|
537
|
-
* @summary Get current
|
|
537
|
+
* @summary Get current version details
|
|
538
538
|
* @param {string} policyCode The policy code.
|
|
539
539
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
540
540
|
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices.
|
|
@@ -896,7 +896,7 @@ export interface PoliciesApiWithdrawCustomerPolicyRequest {
|
|
|
896
896
|
export class PoliciesApi extends BaseAPI {
|
|
897
897
|
/**
|
|
898
898
|
* Get detailed policy that belongs to a customer; the details are filtered to return only the current version and the interval timeline that the provided date is included. If the date is not specified, the system will return the whole timeline.
|
|
899
|
-
* @summary Get current
|
|
899
|
+
* @summary Get current version details
|
|
900
900
|
* @param {PoliciesApiGetCustomerPolicyDataByDateRequest} requestParameters Request parameters.
|
|
901
901
|
* @param {*} [options] Override http request option.
|
|
902
902
|
* @throws {RequiredError}
|
package/api.ts
CHANGED
|
@@ -45,9 +45,3 @@ export * from './api/payments-api';
|
|
|
45
45
|
export * from './api/policies-api';
|
|
46
46
|
export * from './api/products-api';
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
export enum Environment {
|
|
50
|
-
Production = 'https://apiv2.emil.de',
|
|
51
|
-
Test = 'https://apiv2-test.emil.de',
|
|
52
|
-
Development = 'https://apiv2-dev.emil.de',
|
|
53
|
-
}
|
package/base.ts
CHANGED
|
@@ -28,7 +28,7 @@ import { WithdrawCustomerPolicyResponseClass } from '../models';
|
|
|
28
28
|
export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
29
29
|
/**
|
|
30
30
|
* Get detailed policy that belongs to a customer; the details are filtered to return only the current version and the interval timeline that the provided date is included. If the date is not specified, the system will return the whole timeline.
|
|
31
|
-
* @summary Get current
|
|
31
|
+
* @summary Get current version details
|
|
32
32
|
* @param {string} policyCode The policy code.
|
|
33
33
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
34
34
|
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices.
|
|
@@ -113,7 +113,7 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
113
113
|
export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
114
114
|
/**
|
|
115
115
|
* Get detailed policy that belongs to a customer; the details are filtered to return only the current version and the interval timeline that the provided date is included. If the date is not specified, the system will return the whole timeline.
|
|
116
|
-
* @summary Get current
|
|
116
|
+
* @summary Get current version details
|
|
117
117
|
* @param {string} policyCode The policy code.
|
|
118
118
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
119
119
|
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices.
|
|
@@ -198,7 +198,7 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
198
198
|
export declare const PoliciesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
199
199
|
/**
|
|
200
200
|
* Get detailed policy that belongs to a customer; the details are filtered to return only the current version and the interval timeline that the provided date is included. If the date is not specified, the system will return the whole timeline.
|
|
201
|
-
* @summary Get current
|
|
201
|
+
* @summary Get current version details
|
|
202
202
|
* @param {string} policyCode The policy code.
|
|
203
203
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
204
204
|
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices.
|
|
@@ -514,7 +514,7 @@ export interface PoliciesApiWithdrawCustomerPolicyRequest {
|
|
|
514
514
|
export declare class PoliciesApi extends BaseAPI {
|
|
515
515
|
/**
|
|
516
516
|
* Get detailed policy that belongs to a customer; the details are filtered to return only the current version and the interval timeline that the provided date is included. If the date is not specified, the system will return the whole timeline.
|
|
517
|
-
* @summary Get current
|
|
517
|
+
* @summary Get current version details
|
|
518
518
|
* @param {PoliciesApiGetCustomerPolicyDataByDateRequest} requestParameters Request parameters.
|
|
519
519
|
* @param {*} [options] Override http request option.
|
|
520
520
|
* @throws {RequiredError}
|
package/dist/api/policies-api.js
CHANGED
|
@@ -98,7 +98,7 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
100
|
* Get detailed policy that belongs to a customer; the details are filtered to return only the current version and the interval timeline that the provided date is included. If the date is not specified, the system will return the whole timeline.
|
|
101
|
-
* @summary Get current
|
|
101
|
+
* @summary Get current version details
|
|
102
102
|
* @param {string} policyCode The policy code.
|
|
103
103
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
104
104
|
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices.
|
|
@@ -441,7 +441,7 @@ var PoliciesApiFp = function (configuration) {
|
|
|
441
441
|
return {
|
|
442
442
|
/**
|
|
443
443
|
* Get detailed policy that belongs to a customer; the details are filtered to return only the current version and the interval timeline that the provided date is included. If the date is not specified, the system will return the whole timeline.
|
|
444
|
-
* @summary Get current
|
|
444
|
+
* @summary Get current version details
|
|
445
445
|
* @param {string} policyCode The policy code.
|
|
446
446
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
447
447
|
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices.
|
|
@@ -614,7 +614,7 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
614
614
|
return {
|
|
615
615
|
/**
|
|
616
616
|
* Get detailed policy that belongs to a customer; the details are filtered to return only the current version and the interval timeline that the provided date is included. If the date is not specified, the system will return the whole timeline.
|
|
617
|
-
* @summary Get current
|
|
617
|
+
* @summary Get current version details
|
|
618
618
|
* @param {string} policyCode The policy code.
|
|
619
619
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
620
620
|
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices.
|
|
@@ -721,7 +721,7 @@ var PoliciesApi = /** @class */ (function (_super) {
|
|
|
721
721
|
}
|
|
722
722
|
/**
|
|
723
723
|
* Get detailed policy that belongs to a customer; the details are filtered to return only the current version and the interval timeline that the provided date is included. If the date is not specified, the system will return the whole timeline.
|
|
724
|
-
* @summary Get current
|
|
724
|
+
* @summary Get current version details
|
|
725
725
|
* @param {PoliciesApiGetCustomerPolicyDataByDateRequest} requestParameters Request parameters.
|
|
726
726
|
* @param {*} [options] Override http request option.
|
|
727
727
|
* @throws {RequiredError}
|
package/dist/api.d.ts
CHANGED
|
@@ -18,8 +18,3 @@ export * from './api/invoices-api';
|
|
|
18
18
|
export * from './api/payments-api';
|
|
19
19
|
export * from './api/policies-api';
|
|
20
20
|
export * from './api/products-api';
|
|
21
|
-
export declare enum Environment {
|
|
22
|
-
Production = "https://apiv2.emil.de",
|
|
23
|
-
Test = "https://apiv2-test.emil.de",
|
|
24
|
-
Development = "https://apiv2-dev.emil.de"
|
|
25
|
-
}
|
package/dist/api.js
CHANGED
|
@@ -27,7 +27,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
27
27
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
exports.Environment = void 0;
|
|
31
30
|
__exportStar(require("./api/authentication-api"), exports);
|
|
32
31
|
__exportStar(require("./api/claims-api"), exports);
|
|
33
32
|
__exportStar(require("./api/customers-api"), exports);
|
|
@@ -37,9 +36,3 @@ __exportStar(require("./api/invoices-api"), exports);
|
|
|
37
36
|
__exportStar(require("./api/payments-api"), exports);
|
|
38
37
|
__exportStar(require("./api/policies-api"), exports);
|
|
39
38
|
__exportStar(require("./api/products-api"), exports);
|
|
40
|
-
var Environment;
|
|
41
|
-
(function (Environment) {
|
|
42
|
-
Environment["Production"] = "https://apiv2.emil.de";
|
|
43
|
-
Environment["Test"] = "https://apiv2-test.emil.de";
|
|
44
|
-
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
45
|
-
})(Environment = exports.Environment || (exports.Environment = {}));
|
package/dist/base.d.ts
CHANGED
|
@@ -29,7 +29,8 @@ export interface LoginClass {
|
|
|
29
29
|
}
|
|
30
30
|
export declare enum Environment {
|
|
31
31
|
Production = "https://apiv2.emil.de",
|
|
32
|
-
Test = "https://apiv2-test.emil.de"
|
|
32
|
+
Test = "https://apiv2-test.emil.de",
|
|
33
|
+
Development = "https://apiv2-dev.emil.de"
|
|
33
34
|
}
|
|
34
35
|
export declare function resetRetry(): void;
|
|
35
36
|
/**
|
package/dist/base.js
CHANGED
|
@@ -129,6 +129,7 @@ var Environment;
|
|
|
129
129
|
(function (Environment) {
|
|
130
130
|
Environment["Production"] = "https://apiv2.emil.de";
|
|
131
131
|
Environment["Test"] = "https://apiv2-test.emil.de";
|
|
132
|
+
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
132
133
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
133
134
|
var _retry_count = 0;
|
|
134
135
|
var _retry = null;
|
package/models/policy-class.ts
CHANGED