@emilgroup/billing-sdk-node 1.4.1 → 1.6.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/.openapi-generator/FILES +0 -1
- package/README.md +2 -2
- package/base.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/dist/models/invoice-class.d.ts +2 -3
- package/dist/models/omit-type-class.d.ts +2 -3
- package/dist/models/policy-dto.d.ts +1 -1
- package/dist/models/policy-object-dto.d.ts +6 -0
- package/dist/models/policy-premium-dto.d.ts +6 -0
- package/models/index.ts +0 -1
- package/models/invoice-class.ts +2 -3
- package/models/omit-type-class.ts +2 -3
- package/models/policy-dto.ts +1 -1
- package/models/policy-object-dto.ts +6 -0
- package/models/policy-premium-dto.ts +6 -0
- package/package.json +2 -2
- package/dist/models/currency-class.d.ts +0 -48
- package/dist/models/currency-class.js +0 -15
- package/models/currency-class.ts +0 -54
package/.openapi-generator/FILES
CHANGED
|
@@ -22,7 +22,6 @@ models/create-invoice-request-dto.ts
|
|
|
22
22
|
models/create-invoice-response-class.ts
|
|
23
23
|
models/create-invoice-status-request-dto.ts
|
|
24
24
|
models/create-termination-invoice-request-dto.ts
|
|
25
|
-
models/currency-class.ts
|
|
26
25
|
models/index.ts
|
|
27
26
|
models/invoice-class.ts
|
|
28
27
|
models/invoice-item-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/billing-sdk-node@1.
|
|
20
|
+
npm install @emilgroup/billing-sdk-node@1.6.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/billing-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/billing-sdk-node@1.6.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `InvoicesApi`.
|
package/base.ts
CHANGED
|
@@ -21,7 +21,7 @@ import * as fs from 'fs';
|
|
|
21
21
|
import * as path from 'path';
|
|
22
22
|
import * as os from 'os';
|
|
23
23
|
|
|
24
|
-
export const BASE_PATH = "
|
|
24
|
+
export const BASE_PATH = "https://apiv2.emil.de".replace(/\/+$/, "");
|
|
25
25
|
const CONFIG_DIRECTORY = '.emil';
|
|
26
26
|
const CONFIG_FILENAME = 'credentials';
|
|
27
27
|
const KEY_USERNAME = 'emil_username';
|
package/dist/base.js
CHANGED
|
@@ -109,7 +109,7 @@ var axios_1 = __importDefault(require("axios"));
|
|
|
109
109
|
var fs = __importStar(require("fs"));
|
|
110
110
|
var path = __importStar(require("path"));
|
|
111
111
|
var os = __importStar(require("os"));
|
|
112
|
-
exports.BASE_PATH = "
|
|
112
|
+
exports.BASE_PATH = "https://apiv2.emil.de".replace(/\/+$/, "");
|
|
113
113
|
var CONFIG_DIRECTORY = '.emil';
|
|
114
114
|
var CONFIG_FILENAME = 'credentials';
|
|
115
115
|
var KEY_USERNAME = 'emil_username';
|
package/dist/models/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export * from './create-invoice-request-dto';
|
|
|
7
7
|
export * from './create-invoice-response-class';
|
|
8
8
|
export * from './create-invoice-status-request-dto';
|
|
9
9
|
export * from './create-termination-invoice-request-dto';
|
|
10
|
-
export * from './currency-class';
|
|
11
10
|
export * from './invoice-class';
|
|
12
11
|
export * from './invoice-item-class';
|
|
13
12
|
export * from './invoice-status-class';
|
package/dist/models/index.js
CHANGED
|
@@ -23,7 +23,6 @@ __exportStar(require("./create-invoice-request-dto"), exports);
|
|
|
23
23
|
__exportStar(require("./create-invoice-response-class"), exports);
|
|
24
24
|
__exportStar(require("./create-invoice-status-request-dto"), exports);
|
|
25
25
|
__exportStar(require("./create-termination-invoice-request-dto"), exports);
|
|
26
|
-
__exportStar(require("./currency-class"), exports);
|
|
27
26
|
__exportStar(require("./invoice-class"), exports);
|
|
28
27
|
__exportStar(require("./invoice-item-class"), exports);
|
|
29
28
|
__exportStar(require("./invoice-status-class"), exports);
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { CurrencyClass } from './currency-class';
|
|
13
12
|
import { InvoiceItemClass } from './invoice-item-class';
|
|
14
13
|
import { InvoiceStatusClass } from './invoice-status-class';
|
|
15
14
|
/**
|
|
@@ -128,10 +127,10 @@ export interface InvoiceClass {
|
|
|
128
127
|
'statuses': Array<InvoiceStatusClass>;
|
|
129
128
|
/**
|
|
130
129
|
* Invoice currency. EUR is used by default.
|
|
131
|
-
* @type {
|
|
130
|
+
* @type {string}
|
|
132
131
|
* @memberof InvoiceClass
|
|
133
132
|
*/
|
|
134
|
-
'currency':
|
|
133
|
+
'currency': string;
|
|
135
134
|
}
|
|
136
135
|
export declare const InvoiceClassTypeEnum: {
|
|
137
136
|
readonly Initial: "initial";
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { CurrencyClass } from './currency-class';
|
|
13
12
|
import { InvoiceItemClass } from './invoice-item-class';
|
|
14
13
|
/**
|
|
15
14
|
*
|
|
@@ -121,10 +120,10 @@ export interface OmitTypeClass {
|
|
|
121
120
|
'invoiceItems': Array<InvoiceItemClass>;
|
|
122
121
|
/**
|
|
123
122
|
* Invoice currency. EUR is used by default.
|
|
124
|
-
* @type {
|
|
123
|
+
* @type {string}
|
|
125
124
|
* @memberof OmitTypeClass
|
|
126
125
|
*/
|
|
127
|
-
'currency':
|
|
126
|
+
'currency': string;
|
|
128
127
|
}
|
|
129
128
|
export declare const OmitTypeClassTypeEnum: {
|
|
130
129
|
readonly Initial: "initial";
|
package/models/index.ts
CHANGED
|
@@ -7,7 +7,6 @@ export * from './create-invoice-request-dto';
|
|
|
7
7
|
export * from './create-invoice-response-class';
|
|
8
8
|
export * from './create-invoice-status-request-dto';
|
|
9
9
|
export * from './create-termination-invoice-request-dto';
|
|
10
|
-
export * from './currency-class';
|
|
11
10
|
export * from './invoice-class';
|
|
12
11
|
export * from './invoice-item-class';
|
|
13
12
|
export * from './invoice-status-class';
|
package/models/invoice-class.ts
CHANGED
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import { CurrencyClass } from './currency-class';
|
|
17
16
|
import { InvoiceItemClass } from './invoice-item-class';
|
|
18
17
|
import { InvoiceStatusClass } from './invoice-status-class';
|
|
19
18
|
|
|
@@ -133,10 +132,10 @@ export interface InvoiceClass {
|
|
|
133
132
|
'statuses': Array<InvoiceStatusClass>;
|
|
134
133
|
/**
|
|
135
134
|
* Invoice currency. EUR is used by default.
|
|
136
|
-
* @type {
|
|
135
|
+
* @type {string}
|
|
137
136
|
* @memberof InvoiceClass
|
|
138
137
|
*/
|
|
139
|
-
'currency':
|
|
138
|
+
'currency': string;
|
|
140
139
|
}
|
|
141
140
|
|
|
142
141
|
export const InvoiceClassTypeEnum = {
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import { CurrencyClass } from './currency-class';
|
|
17
16
|
import { InvoiceItemClass } from './invoice-item-class';
|
|
18
17
|
|
|
19
18
|
/**
|
|
@@ -126,10 +125,10 @@ export interface OmitTypeClass {
|
|
|
126
125
|
'invoiceItems': Array<InvoiceItemClass>;
|
|
127
126
|
/**
|
|
128
127
|
* Invoice currency. EUR is used by default.
|
|
129
|
-
* @type {
|
|
128
|
+
* @type {string}
|
|
130
129
|
* @memberof OmitTypeClass
|
|
131
130
|
*/
|
|
132
|
-
'currency':
|
|
131
|
+
'currency': string;
|
|
133
132
|
}
|
|
134
133
|
|
|
135
134
|
export const OmitTypeClassTypeEnum = {
|
package/models/policy-dto.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/billing-sdk-node",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/billing-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
|
|
26
|
+
"@types/node": "^12.11.5",
|
|
27
27
|
"typescript": "^4.0"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL BillingService
|
|
3
|
-
* The EMIL BillingService 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 CurrencyClass
|
|
16
|
-
*/
|
|
17
|
-
export interface CurrencyClass {
|
|
18
|
-
/**
|
|
19
|
-
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof CurrencyClass
|
|
22
|
-
*/
|
|
23
|
-
'id': number;
|
|
24
|
-
/**
|
|
25
|
-
* Name of currency in English.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CurrencyClass
|
|
28
|
-
*/
|
|
29
|
-
'name': string;
|
|
30
|
-
/**
|
|
31
|
-
* Name of currency in native language.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CurrencyClass
|
|
34
|
-
*/
|
|
35
|
-
'nativeName': string;
|
|
36
|
-
/**
|
|
37
|
-
* Code defined by ISO 4217 standard.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof CurrencyClass
|
|
40
|
-
*/
|
|
41
|
-
'code': string;
|
|
42
|
-
/**
|
|
43
|
-
* Currency symbols are graphical representations used to denote a particular currency in written or printed form.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof CurrencyClass
|
|
46
|
-
*/
|
|
47
|
-
'symbol': string;
|
|
48
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* EMIL BillingService
|
|
6
|
-
* The EMIL BillingService 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 });
|
package/models/currency-class.ts
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* EMIL BillingService
|
|
5
|
-
* The EMIL BillingService 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 CurrencyClass
|
|
21
|
-
*/
|
|
22
|
-
export interface CurrencyClass {
|
|
23
|
-
/**
|
|
24
|
-
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
-
* @type {number}
|
|
26
|
-
* @memberof CurrencyClass
|
|
27
|
-
*/
|
|
28
|
-
'id': number;
|
|
29
|
-
/**
|
|
30
|
-
* Name of currency in English.
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof CurrencyClass
|
|
33
|
-
*/
|
|
34
|
-
'name': string;
|
|
35
|
-
/**
|
|
36
|
-
* Name of currency in native language.
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof CurrencyClass
|
|
39
|
-
*/
|
|
40
|
-
'nativeName': string;
|
|
41
|
-
/**
|
|
42
|
-
* Code defined by ISO 4217 standard.
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof CurrencyClass
|
|
45
|
-
*/
|
|
46
|
-
'code': string;
|
|
47
|
-
/**
|
|
48
|
-
* Currency symbols are graphical representations used to denote a particular currency in written or printed form.
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof CurrencyClass
|
|
51
|
-
*/
|
|
52
|
-
'symbol': string;
|
|
53
|
-
}
|
|
54
|
-
|