@emilgroup/billing-sdk-node 1.8.0 → 1.10.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.
Files changed (90) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +2 -2
  3. package/api/default-api.ts +124 -0
  4. package/api/invoices-api.ts +32 -32
  5. package/api.ts +2 -0
  6. package/base.ts +1 -0
  7. package/models/create-invoice-payment-request-dto.ts +60 -0
  8. package/models/create-invoice-status-request-dto.ts +2 -1
  9. package/models/index.ts +5 -0
  10. package/models/inline-response200.ts +48 -0
  11. package/models/inline-response503.ts +48 -0
  12. package/models/invoice-class.ts +15 -1
  13. package/models/invoice-payment-class.ts +102 -0
  14. package/{dist/models/create-custom-estimated-invoice-request-dto.js → models/invoice-payments-class.ts} +18 -7
  15. package/models/invoice-status-class.ts +2 -1
  16. package/models/omit-type-class.ts +15 -1
  17. package/package.json +1 -1
  18. package/dist/api/correction-invoices-api.d.ts +0 -106
  19. package/dist/api/correction-invoices-api.js +0 -234
  20. package/dist/api/estimated-invoices-api.d.ts +0 -154
  21. package/dist/api/estimated-invoices-api.js +0 -321
  22. package/dist/api/initial-invoices-api.d.ts +0 -106
  23. package/dist/api/initial-invoices-api.js +0 -234
  24. package/dist/api/invoices-api.d.ts +0 -307
  25. package/dist/api/invoices-api.js +0 -481
  26. package/dist/api/recurring-invoices-api.d.ts +0 -106
  27. package/dist/api/recurring-invoices-api.js +0 -234
  28. package/dist/api.d.ts +0 -16
  29. package/dist/api.js +0 -34
  30. package/dist/base.d.ts +0 -77
  31. package/dist/base.js +0 -393
  32. package/dist/common.d.ts +0 -92
  33. package/dist/common.js +0 -277
  34. package/dist/configuration.d.ts +0 -90
  35. package/dist/configuration.js +0 -44
  36. package/dist/index.d.ts +0 -15
  37. package/dist/index.js +0 -36
  38. package/dist/models/create-correction-invoices-response-class.d.ts +0 -25
  39. package/dist/models/create-correction-invoices-response-class.js +0 -15
  40. package/dist/models/create-custom-estimated-invoice-request-dto.d.ts +0 -35
  41. package/dist/models/create-custom-estimated-invoice-response-class.d.ts +0 -24
  42. package/dist/models/create-custom-estimated-invoice-response-class.js +0 -15
  43. package/dist/models/create-estimated-invoice-request-dto.d.ts +0 -31
  44. package/dist/models/create-estimated-invoice-request-dto.js +0 -15
  45. package/dist/models/create-estimated-invoice-response-class.d.ts +0 -31
  46. package/dist/models/create-estimated-invoice-response-class.js +0 -15
  47. package/dist/models/create-invoice-request-dto.d.ts +0 -77
  48. package/dist/models/create-invoice-request-dto.js +0 -26
  49. package/dist/models/create-invoice-response-class.d.ts +0 -25
  50. package/dist/models/create-invoice-response-class.js +0 -15
  51. package/dist/models/create-invoice-status-request-dto.d.ts +0 -35
  52. package/dist/models/create-invoice-status-request-dto.js +0 -20
  53. package/dist/models/create-termination-invoice-request-dto.d.ts +0 -48
  54. package/dist/models/create-termination-invoice-request-dto.js +0 -15
  55. package/dist/models/get-invoice-response-class.d.ts +0 -25
  56. package/dist/models/get-invoice-response-class.js +0 -15
  57. package/dist/models/index.d.ts +0 -26
  58. package/dist/models/index.js +0 -42
  59. package/dist/models/invoice-class.d.ts +0 -150
  60. package/dist/models/invoice-class.js +0 -30
  61. package/dist/models/invoice-item-class.d.ts +0 -129
  62. package/dist/models/invoice-item-class.js +0 -24
  63. package/dist/models/invoice-status-class.d.ts +0 -47
  64. package/dist/models/invoice-status-class.js +0 -20
  65. package/dist/models/list-invoices-response-class.d.ts +0 -31
  66. package/dist/models/list-invoices-response-class.js +0 -15
  67. package/dist/models/list-policies-billing-dates-response-class.d.ts +0 -31
  68. package/dist/models/list-policies-billing-dates-response-class.js +0 -15
  69. package/dist/models/list-request-dto.d.ts +0 -54
  70. package/dist/models/list-request-dto.js +0 -15
  71. package/dist/models/omit-type-class.d.ts +0 -143
  72. package/dist/models/omit-type-class.js +0 -30
  73. package/dist/models/policy-billing-date-class.d.ts +0 -42
  74. package/dist/models/policy-billing-date-class.js +0 -15
  75. package/dist/models/policy-dto.d.ts +0 -122
  76. package/dist/models/policy-dto.js +0 -22
  77. package/dist/models/policy-object-dto.d.ts +0 -48
  78. package/dist/models/policy-object-dto.js +0 -15
  79. package/dist/models/policy-premium-dto.d.ts +0 -49
  80. package/dist/models/policy-premium-dto.js +0 -15
  81. package/dist/models/policy-premium-item-dto.d.ts +0 -55
  82. package/dist/models/policy-premium-item-dto.js +0 -15
  83. package/dist/models/policy-version-dto.d.ts +0 -55
  84. package/dist/models/policy-version-dto.js +0 -15
  85. package/dist/models/premium-formula-dto.d.ts +0 -72
  86. package/dist/models/premium-formula-dto.js +0 -15
  87. package/dist/models/revert-invoice-request-dto.d.ts +0 -24
  88. package/dist/models/revert-invoice-request-dto.js +0 -15
  89. package/dist/models/timeslice-dto.d.ts +0 -62
  90. package/dist/models/timeslice-dto.js +0 -15
@@ -1,77 +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 CreateInvoiceRequestDto
16
- */
17
- export interface CreateInvoiceRequestDto {
18
- /**
19
- * Unique number for the invoice. If not set, the system will automatically assign a value.
20
- * @type {string}
21
- * @memberof CreateInvoiceRequestDto
22
- */
23
- 'invoiceNumber'?: string;
24
- /**
25
- * Account number.
26
- * @type {string}
27
- * @memberof CreateInvoiceRequestDto
28
- */
29
- 'accountNumber': string;
30
- /**
31
- * Unique identifier of the policy that this object belongs to.
32
- * @type {string}
33
- * @memberof CreateInvoiceRequestDto
34
- */
35
- 'policyCode': string;
36
- /**
37
- * Type of the invoice.
38
- * @type {string}
39
- * @memberof CreateInvoiceRequestDto
40
- */
41
- 'type': CreateInvoiceRequestDtoTypeEnum;
42
- /**
43
- * Metadata contains extra information that the object would need for specific cases.
44
- * @type {object}
45
- * @memberof CreateInvoiceRequestDto
46
- */
47
- 'metadata'?: object;
48
- /**
49
- * This is the date from which the invoice item interval starts.
50
- * @type {string}
51
- * @memberof CreateInvoiceRequestDto
52
- */
53
- 'billingIntervalFrom': string;
54
- /**
55
- * This is the date that the invoice item interval ends.
56
- * @type {string}
57
- * @memberof CreateInvoiceRequestDto
58
- */
59
- 'billingIntervalTo': string;
60
- /**
61
- * Invoice due date.
62
- * @type {string}
63
- * @memberof CreateInvoiceRequestDto
64
- */
65
- 'dueDate'?: string;
66
- }
67
- export declare const CreateInvoiceRequestDtoTypeEnum: {
68
- readonly Initial: "initial";
69
- readonly Recurring: "recurring";
70
- readonly Correction: "correction";
71
- readonly Estimated: "estimated";
72
- readonly Penalty: "penalty";
73
- readonly Other: "other";
74
- readonly Withdraw: "withdraw";
75
- readonly Final: "final";
76
- };
77
- export type CreateInvoiceRequestDtoTypeEnum = typeof CreateInvoiceRequestDtoTypeEnum[keyof typeof CreateInvoiceRequestDtoTypeEnum];
@@ -1,26 +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 });
16
- exports.CreateInvoiceRequestDtoTypeEnum = void 0;
17
- exports.CreateInvoiceRequestDtoTypeEnum = {
18
- Initial: 'initial',
19
- Recurring: 'recurring',
20
- Correction: 'correction',
21
- Estimated: 'estimated',
22
- Penalty: 'penalty',
23
- Other: 'other',
24
- Withdraw: 'withdraw',
25
- Final: 'final'
26
- };
@@ -1,25 +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
- import { OmitTypeClass } from './omit-type-class';
13
- /**
14
- *
15
- * @export
16
- * @interface CreateInvoiceResponseClass
17
- */
18
- export interface CreateInvoiceResponseClass {
19
- /**
20
- * Invoice response.
21
- * @type {OmitTypeClass}
22
- * @memberof CreateInvoiceResponseClass
23
- */
24
- 'invoice': OmitTypeClass;
25
- }
@@ -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 });
@@ -1,35 +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 CreateInvoiceStatusRequestDto
16
- */
17
- export interface CreateInvoiceStatusRequestDto {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof CreateInvoiceStatusRequestDto
22
- */
23
- 'invoiceId': number;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof CreateInvoiceStatusRequestDto
28
- */
29
- 'status': CreateInvoiceStatusRequestDtoStatusEnum;
30
- }
31
- export declare const CreateInvoiceStatusRequestDtoStatusEnum: {
32
- readonly Open: "open";
33
- readonly Paid: "paid";
34
- };
35
- export type CreateInvoiceStatusRequestDtoStatusEnum = typeof CreateInvoiceStatusRequestDtoStatusEnum[keyof typeof CreateInvoiceStatusRequestDtoStatusEnum];
@@ -1,20 +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 });
16
- exports.CreateInvoiceStatusRequestDtoStatusEnum = void 0;
17
- exports.CreateInvoiceStatusRequestDtoStatusEnum = {
18
- Open: 'open',
19
- Paid: 'paid'
20
- };
@@ -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 CreateTerminationInvoiceRequestDto
16
- */
17
- export interface CreateTerminationInvoiceRequestDto {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof CreateTerminationInvoiceRequestDto
22
- */
23
- 'policyCode': string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof CreateTerminationInvoiceRequestDto
28
- */
29
- 'accountNumber': string;
30
- /**
31
- *
32
- * @type {object}
33
- * @memberof CreateTerminationInvoiceRequestDto
34
- */
35
- 'metadata'?: object;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof CreateTerminationInvoiceRequestDto
40
- */
41
- 'billingIntervalFrom': string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof CreateTerminationInvoiceRequestDto
46
- */
47
- 'billingIntervalTo': 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 });
@@ -1,25 +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
- import { OmitTypeClass } from './omit-type-class';
13
- /**
14
- *
15
- * @export
16
- * @interface GetInvoiceResponseClass
17
- */
18
- export interface GetInvoiceResponseClass {
19
- /**
20
- * Invoice response.
21
- * @type {OmitTypeClass}
22
- * @memberof GetInvoiceResponseClass
23
- */
24
- 'invoice': OmitTypeClass;
25
- }
@@ -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 });
@@ -1,26 +0,0 @@
1
- export * from './create-correction-invoices-response-class';
2
- export * from './create-custom-estimated-invoice-request-dto';
3
- export * from './create-custom-estimated-invoice-response-class';
4
- export * from './create-estimated-invoice-request-dto';
5
- export * from './create-estimated-invoice-response-class';
6
- export * from './create-invoice-request-dto';
7
- export * from './create-invoice-response-class';
8
- export * from './create-invoice-status-request-dto';
9
- export * from './create-termination-invoice-request-dto';
10
- export * from './get-invoice-response-class';
11
- export * from './invoice-class';
12
- export * from './invoice-item-class';
13
- export * from './invoice-status-class';
14
- export * from './list-invoices-response-class';
15
- export * from './list-policies-billing-dates-response-class';
16
- export * from './list-request-dto';
17
- export * from './omit-type-class';
18
- export * from './policy-billing-date-class';
19
- export * from './policy-dto';
20
- export * from './policy-object-dto';
21
- export * from './policy-premium-dto';
22
- export * from './policy-premium-item-dto';
23
- export * from './policy-version-dto';
24
- export * from './premium-formula-dto';
25
- export * from './revert-invoice-request-dto';
26
- export * from './timeslice-dto';
@@ -1,42 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./create-correction-invoices-response-class"), exports);
18
- __exportStar(require("./create-custom-estimated-invoice-request-dto"), exports);
19
- __exportStar(require("./create-custom-estimated-invoice-response-class"), exports);
20
- __exportStar(require("./create-estimated-invoice-request-dto"), exports);
21
- __exportStar(require("./create-estimated-invoice-response-class"), exports);
22
- __exportStar(require("./create-invoice-request-dto"), exports);
23
- __exportStar(require("./create-invoice-response-class"), exports);
24
- __exportStar(require("./create-invoice-status-request-dto"), exports);
25
- __exportStar(require("./create-termination-invoice-request-dto"), exports);
26
- __exportStar(require("./get-invoice-response-class"), exports);
27
- __exportStar(require("./invoice-class"), exports);
28
- __exportStar(require("./invoice-item-class"), exports);
29
- __exportStar(require("./invoice-status-class"), exports);
30
- __exportStar(require("./list-invoices-response-class"), exports);
31
- __exportStar(require("./list-policies-billing-dates-response-class"), exports);
32
- __exportStar(require("./list-request-dto"), exports);
33
- __exportStar(require("./omit-type-class"), exports);
34
- __exportStar(require("./policy-billing-date-class"), exports);
35
- __exportStar(require("./policy-dto"), exports);
36
- __exportStar(require("./policy-object-dto"), exports);
37
- __exportStar(require("./policy-premium-dto"), exports);
38
- __exportStar(require("./policy-premium-item-dto"), exports);
39
- __exportStar(require("./policy-version-dto"), exports);
40
- __exportStar(require("./premium-formula-dto"), exports);
41
- __exportStar(require("./revert-invoice-request-dto"), exports);
42
- __exportStar(require("./timeslice-dto"), exports);
@@ -1,150 +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
- import { InvoiceItemClass } from './invoice-item-class';
13
- import { InvoiceStatusClass } from './invoice-status-class';
14
- /**
15
- *
16
- * @export
17
- * @interface InvoiceClass
18
- */
19
- export interface InvoiceClass {
20
- /**
21
- * Internal unique identifier for the object. You should not have to use this, use code instead.
22
- * @type {number}
23
- * @memberof InvoiceClass
24
- */
25
- 'id': number;
26
- /**
27
- * Unique identifier of the policy that this object belongs to.
28
- * @type {string}
29
- * @memberof InvoiceClass
30
- */
31
- 'policyCode': string;
32
- /**
33
- * Account number.
34
- * @type {string}
35
- * @memberof InvoiceClass
36
- */
37
- 'accountNumber': string;
38
- /**
39
- * Unique identifier for the object.
40
- * @type {string}
41
- * @memberof InvoiceClass
42
- */
43
- 'code': string;
44
- /**
45
- * Invoice type.
46
- * @type {string}
47
- * @memberof InvoiceClass
48
- */
49
- 'type': InvoiceClassTypeEnum;
50
- /**
51
- * Invoice number.
52
- * @type {string}
53
- * @memberof InvoiceClass
54
- */
55
- 'invoiceNumber': string;
56
- /**
57
- * Net amount is in cents.
58
- * @type {number}
59
- * @memberof InvoiceClass
60
- */
61
- 'netAmount': number;
62
- /**
63
- * Tax amount is in cents.
64
- * @type {number}
65
- * @memberof InvoiceClass
66
- */
67
- 'taxAmount': number;
68
- /**
69
- * Credit amount.
70
- * @type {number}
71
- * @memberof InvoiceClass
72
- */
73
- 'creditAmount': number;
74
- /**
75
- * Gross amount. This property is sum of taxAmount and netAmount.
76
- * @type {number}
77
- * @memberof InvoiceClass
78
- */
79
- 'grossAmount': number;
80
- /**
81
- * Invoice status.
82
- * @type {string}
83
- * @memberof InvoiceClass
84
- */
85
- 'status': InvoiceClassStatusEnum;
86
- /**
87
- * Invoice due date.
88
- * @type {string}
89
- * @memberof InvoiceClass
90
- */
91
- 'dueDate': string;
92
- /**
93
- * Metadata contains extra information that the object would need for specific cases.
94
- * @type {object}
95
- * @memberof InvoiceClass
96
- */
97
- 'metadata': object;
98
- /**
99
- * Start date of billing interval.
100
- * @type {string}
101
- * @memberof InvoiceClass
102
- */
103
- 'billingIntervalFrom': string;
104
- /**
105
- * End date of billing interval.
106
- * @type {string}
107
- * @memberof InvoiceClass
108
- */
109
- 'billingIntervalTo': string;
110
- /**
111
- * Time at which the object was created.
112
- * @type {string}
113
- * @memberof InvoiceClass
114
- */
115
- 'createdAt': string;
116
- /**
117
- * Invoice items.
118
- * @type {Array<InvoiceItemClass>}
119
- * @memberof InvoiceClass
120
- */
121
- 'invoiceItems': Array<InvoiceItemClass>;
122
- /**
123
- * Invoice statuses.
124
- * @type {Array<InvoiceStatusClass>}
125
- * @memberof InvoiceClass
126
- */
127
- 'statuses': Array<InvoiceStatusClass>;
128
- /**
129
- * Invoice currency. EUR is used by default.
130
- * @type {string}
131
- * @memberof InvoiceClass
132
- */
133
- 'currency': string;
134
- }
135
- export declare const InvoiceClassTypeEnum: {
136
- readonly Initial: "initial";
137
- readonly Recurring: "recurring";
138
- readonly Correction: "correction";
139
- readonly Estimated: "estimated";
140
- readonly Penalty: "penalty";
141
- readonly Other: "other";
142
- readonly Withdraw: "withdraw";
143
- readonly Final: "final";
144
- };
145
- export type InvoiceClassTypeEnum = typeof InvoiceClassTypeEnum[keyof typeof InvoiceClassTypeEnum];
146
- export declare const InvoiceClassStatusEnum: {
147
- readonly Open: "open";
148
- readonly Paid: "paid";
149
- };
150
- export type InvoiceClassStatusEnum = typeof InvoiceClassStatusEnum[keyof typeof InvoiceClassStatusEnum];
@@ -1,30 +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 });
16
- exports.InvoiceClassStatusEnum = exports.InvoiceClassTypeEnum = void 0;
17
- exports.InvoiceClassTypeEnum = {
18
- Initial: 'initial',
19
- Recurring: 'recurring',
20
- Correction: 'correction',
21
- Estimated: 'estimated',
22
- Penalty: 'penalty',
23
- Other: 'other',
24
- Withdraw: 'withdraw',
25
- Final: 'final'
26
- };
27
- exports.InvoiceClassStatusEnum = {
28
- Open: 'open',
29
- Paid: 'paid'
30
- };
@@ -1,129 +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 InvoiceItemClass
16
- */
17
- export interface InvoiceItemClass {
18
- /**
19
- * Internal unique identifier for the object. You should not have to use this, use code instead.
20
- * @type {number}
21
- * @memberof InvoiceItemClass
22
- */
23
- 'id': number;
24
- /**
25
- * Unique identifier referencing the premium formula.
26
- * @type {number}
27
- * @memberof InvoiceItemClass
28
- */
29
- 'premiumFormulaId': number;
30
- /**
31
- * Product name.
32
- * @type {string}
33
- * @memberof InvoiceItemClass
34
- */
35
- 'name': string;
36
- /**
37
- * Unique identifier of the tax that this object belongs to.
38
- * @type {string}
39
- * @memberof InvoiceItemClass
40
- */
41
- 'taxCode': string;
42
- /**
43
- * Unit of Premium..Premium units are determined based on time or distance.
44
- * @type {string}
45
- * @memberof InvoiceItemClass
46
- */
47
- 'unit': InvoiceItemClassUnitEnum;
48
- /**
49
- * Invoice group.
50
- * @type {string}
51
- * @memberof InvoiceItemClass
52
- */
53
- 'group': string;
54
- /**
55
- * Item quantity. this property determines number of days during the billing interval.
56
- * @type {number}
57
- * @memberof InvoiceItemClass
58
- */
59
- 'quantity': number;
60
- /**
61
- * Item price per unit.
62
- * @type {number}
63
- * @memberof InvoiceItemClass
64
- */
65
- 'pricePerUnit': number;
66
- /**
67
- * Item tax rate.
68
- * @type {number}
69
- * @memberof InvoiceItemClass
70
- */
71
- 'taxRate': number;
72
- /**
73
- * Net amount is in cents. It is calculated by multiplying the quantity and the price Per unit.
74
- * @type {number}
75
- * @memberof InvoiceItemClass
76
- */
77
- 'netAmount': number;
78
- /**
79
- * Tax amount is in cents.
80
- * @type {number}
81
- * @memberof InvoiceItemClass
82
- */
83
- 'taxAmount': number;
84
- /**
85
- * Gross amount. This property is sum of taxAmount and netAmount.
86
- * @type {number}
87
- * @memberof InvoiceItemClass
88
- */
89
- 'grossAmount': number;
90
- /**
91
- * Credit amount.
92
- * @type {number}
93
- * @memberof InvoiceItemClass
94
- */
95
- 'creditAmount': number;
96
- /**
97
- * This is the date from which the invoice item interval starts.
98
- * @type {string}
99
- * @memberof InvoiceItemClass
100
- */
101
- 'billingIntervalFrom': string;
102
- /**
103
- * This is the date that the invoice item interval ends.
104
- * @type {string}
105
- * @memberof InvoiceItemClass
106
- */
107
- 'billingIntervalTo': string;
108
- /**
109
- * Type of Premium item.
110
- * @type {string}
111
- * @memberof InvoiceItemClass
112
- */
113
- 'itemType'?: string;
114
- /**
115
- * Visibility of Premium item.
116
- * @type {string}
117
- * @memberof InvoiceItemClass
118
- */
119
- 'visibility'?: string;
120
- }
121
- export declare const InvoiceItemClassUnitEnum: {
122
- readonly Day: "day";
123
- readonly Week: "week";
124
- readonly Month: "month";
125
- readonly Quarter: "quarter";
126
- readonly Year: "year";
127
- readonly OneTimePayment: "oneTimePayment";
128
- };
129
- export type InvoiceItemClassUnitEnum = typeof InvoiceItemClassUnitEnum[keyof typeof InvoiceItemClassUnitEnum];