@emilgroup/billing-sdk-node 1.19.0 → 1.20.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 (88) hide show
  1. package/.openapi-generator/FILES +0 -17
  2. package/README.md +2 -2
  3. package/api/correction-invoices-api.ts +2 -4
  4. package/api/estimated-invoices-api.ts +6 -12
  5. package/api/initial-invoices-api.ts +2 -4
  6. package/api/invoices-api.ts +6 -12
  7. package/api/recurring-invoices-api.ts +2 -4
  8. package/dist/api/correction-invoices-api.d.ts +3 -4
  9. package/dist/api/estimated-invoices-api.d.ts +9 -12
  10. package/dist/api/initial-invoices-api.d.ts +3 -4
  11. package/dist/api/invoices-api.d.ts +9 -12
  12. package/dist/api/recurring-invoices-api.d.ts +3 -4
  13. package/dist/models/create-estimated-invoice-request-dto.d.ts +1 -7
  14. package/dist/models/create-invoice-payment-request-dto.d.ts +1 -7
  15. package/dist/models/create-invoice-request-dto.d.ts +4 -4
  16. package/dist/models/index.d.ts +0 -17
  17. package/dist/models/index.js +0 -17
  18. package/dist/models/policy-dto.d.ts +3 -23
  19. package/dist/models/policy-dto.js +0 -8
  20. package/dist/models/policy-object-dto.d.ts +2 -8
  21. package/dist/models/policy-premium-dto.d.ts +2 -2
  22. package/dist/models/policy-premium-item-dto.d.ts +2 -2
  23. package/dist/models/policy-version-dto.d.ts +3 -3
  24. package/dist/models/premium-formula-dto.d.ts +2 -2
  25. package/dist/models/timeslice-dto.d.ts +1 -1
  26. package/models/create-estimated-invoice-request-dto.ts +1 -7
  27. package/models/create-invoice-payment-request-dto.ts +1 -7
  28. package/models/create-invoice-request-dto.ts +4 -4
  29. package/models/index.ts +0 -17
  30. package/models/policy-dto.ts +3 -26
  31. package/models/policy-object-dto.ts +2 -8
  32. package/models/policy-premium-dto.ts +2 -2
  33. package/models/policy-premium-item-dto.ts +2 -2
  34. package/models/policy-version-dto.ts +3 -3
  35. package/models/premium-formula-dto.ts +2 -2
  36. package/models/timeslice-dto.ts +1 -1
  37. package/package.json +1 -1
  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-response-class.d.ts +0 -24
  41. package/dist/models/create-custom-estimated-invoice-response-class.js +0 -15
  42. package/dist/models/create-estimated-invoice-for-interval-response-class.d.ts +0 -25
  43. package/dist/models/create-estimated-invoice-for-interval-response-class.js +0 -15
  44. package/dist/models/create-estimated-invoice-response-class.d.ts +0 -31
  45. package/dist/models/create-estimated-invoice-response-class.js +0 -15
  46. package/dist/models/create-invoice-response-class.d.ts +0 -25
  47. package/dist/models/create-invoice-response-class.js +0 -15
  48. package/dist/models/create-invoice-status-request-dto.d.ts +0 -37
  49. package/dist/models/create-invoice-status-request-dto.js +0 -22
  50. package/dist/models/create-termination-invoice-request-dto.d.ts +0 -54
  51. package/dist/models/create-termination-invoice-request-dto.js +0 -15
  52. package/dist/models/get-invoice-response-class.d.ts +0 -25
  53. package/dist/models/get-invoice-response-class.js +0 -15
  54. package/dist/models/invoice-class.d.ts +0 -171
  55. package/dist/models/invoice-class.js +0 -32
  56. package/dist/models/invoice-item-class.d.ts +0 -141
  57. package/dist/models/invoice-item-class.js +0 -24
  58. package/dist/models/invoice-payment-class.d.ts +0 -102
  59. package/dist/models/invoice-payment-class.js +0 -15
  60. package/dist/models/invoice-payments-class.d.ts +0 -25
  61. package/dist/models/invoice-payments-class.js +0 -15
  62. package/dist/models/invoice-status-class.d.ts +0 -49
  63. package/dist/models/invoice-status-class.js +0 -22
  64. package/dist/models/list-invoices-response-class.d.ts +0 -31
  65. package/dist/models/list-invoices-response-class.js +0 -15
  66. package/dist/models/list-policies-billing-dates-response-class.d.ts +0 -31
  67. package/dist/models/list-policies-billing-dates-response-class.js +0 -15
  68. package/dist/models/omit-type-class.d.ts +0 -164
  69. package/dist/models/omit-type-class.js +0 -32
  70. package/dist/models/policy-billing-date-class.d.ts +0 -42
  71. package/dist/models/policy-billing-date-class.js +0 -15
  72. package/models/create-correction-invoices-response-class.ts +0 -31
  73. package/models/create-custom-estimated-invoice-response-class.ts +0 -30
  74. package/models/create-estimated-invoice-for-interval-response-class.ts +0 -31
  75. package/models/create-estimated-invoice-response-class.ts +0 -37
  76. package/models/create-invoice-response-class.ts +0 -31
  77. package/models/create-invoice-status-request-dto.ts +0 -46
  78. package/models/create-termination-invoice-request-dto.ts +0 -60
  79. package/models/get-invoice-response-class.ts +0 -31
  80. package/models/invoice-class.ts +0 -181
  81. package/models/invoice-item-class.ts +0 -150
  82. package/models/invoice-payment-class.ts +0 -108
  83. package/models/invoice-payments-class.ts +0 -31
  84. package/models/invoice-status-class.ts +0 -58
  85. package/models/list-invoices-response-class.ts +0 -37
  86. package/models/list-policies-billing-dates-response-class.ts +0 -37
  87. package/models/omit-type-class.ts +0 -174
  88. package/models/policy-billing-date-class.ts +0 -48
@@ -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,37 +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
- readonly PartiallyPaid: "partially-paid";
35
- readonly Refunded: "refunded";
36
- };
37
- export type CreateInvoiceStatusRequestDtoStatusEnum = typeof CreateInvoiceStatusRequestDtoStatusEnum[keyof typeof CreateInvoiceStatusRequestDtoStatusEnum];
@@ -1,22 +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
- PartiallyPaid: 'partially-paid',
21
- Refunded: 'refunded'
22
- };
@@ -1,54 +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
- /**
49
- *
50
- * @type {string}
51
- * @memberof CreateTerminationInvoiceRequestDto
52
- */
53
- 'policyNumber': string;
54
- }
@@ -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,171 +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 { InvoicePaymentsClass } from './invoice-payments-class';
14
- import { InvoiceStatusClass } from './invoice-status-class';
15
- /**
16
- *
17
- * @export
18
- * @interface InvoiceClass
19
- */
20
- export interface InvoiceClass {
21
- /**
22
- * Internal unique identifier for the object. You should not have to use this, use code instead.
23
- * @type {number}
24
- * @memberof InvoiceClass
25
- */
26
- 'id': number;
27
- /**
28
- * Unique identifier of the policy that this object belongs to.
29
- * @type {string}
30
- * @memberof InvoiceClass
31
- */
32
- 'policyCode': string;
33
- /**
34
- * Account number.
35
- * @type {string}
36
- * @memberof InvoiceClass
37
- */
38
- 'accountNumber': string;
39
- /**
40
- * Policy number.
41
- * @type {string}
42
- * @memberof InvoiceClass
43
- */
44
- 'policyNumber': string;
45
- /**
46
- * Unique identifier for the object.
47
- * @type {string}
48
- * @memberof InvoiceClass
49
- */
50
- 'code': string;
51
- /**
52
- * Invoice type.
53
- * @type {string}
54
- * @memberof InvoiceClass
55
- */
56
- 'type': InvoiceClassTypeEnum;
57
- /**
58
- * Invoice number.
59
- * @type {string}
60
- * @memberof InvoiceClass
61
- */
62
- 'invoiceNumber': string;
63
- /**
64
- * Net amount is in cents.
65
- * @type {number}
66
- * @memberof InvoiceClass
67
- */
68
- 'netAmount': number;
69
- /**
70
- * Tax amount is in cents.
71
- * @type {number}
72
- * @memberof InvoiceClass
73
- */
74
- 'taxAmount': number;
75
- /**
76
- * Credit amount.
77
- * @type {number}
78
- * @memberof InvoiceClass
79
- */
80
- 'creditAmount': number;
81
- /**
82
- * Gross amount. This property is sum of taxAmount and netAmount.
83
- * @type {number}
84
- * @memberof InvoiceClass
85
- */
86
- 'grossAmount': number;
87
- /**
88
- * Paid amount. This property is amount paid by this invoice. The amount corresponds to the sum (positives and negatives) of all payments relating to that invoice.
89
- * @type {number}
90
- * @memberof InvoiceClass
91
- */
92
- 'paidAmount': number;
93
- /**
94
- * Invoice status.
95
- * @type {string}
96
- * @memberof InvoiceClass
97
- */
98
- 'status': InvoiceClassStatusEnum;
99
- /**
100
- * Invoice due date.
101
- * @type {string}
102
- * @memberof InvoiceClass
103
- */
104
- 'dueDate': string;
105
- /**
106
- * Metadata contains extra information that the object would need for specific cases.
107
- * @type {object}
108
- * @memberof InvoiceClass
109
- */
110
- 'metadata': object;
111
- /**
112
- * Start date of billing interval.
113
- * @type {string}
114
- * @memberof InvoiceClass
115
- */
116
- 'billingIntervalFrom': string;
117
- /**
118
- * End date of billing interval.
119
- * @type {string}
120
- * @memberof InvoiceClass
121
- */
122
- 'billingIntervalTo': string;
123
- /**
124
- * Time at which the object was created.
125
- * @type {string}
126
- * @memberof InvoiceClass
127
- */
128
- 'createdAt': string;
129
- /**
130
- * Invoice items.
131
- * @type {Array<InvoiceItemClass>}
132
- * @memberof InvoiceClass
133
- */
134
- 'invoiceItems': Array<InvoiceItemClass>;
135
- /**
136
- * Invoice statuses.
137
- * @type {Array<InvoiceStatusClass>}
138
- * @memberof InvoiceClass
139
- */
140
- 'statuses': Array<InvoiceStatusClass>;
141
- /**
142
- * Invoice currency. EUR is used by default.
143
- * @type {string}
144
- * @memberof InvoiceClass
145
- */
146
- 'currency': string;
147
- /**
148
- * Invoice payments.
149
- * @type {InvoicePaymentsClass}
150
- * @memberof InvoiceClass
151
- */
152
- 'payments': InvoicePaymentsClass;
153
- }
154
- export declare const InvoiceClassTypeEnum: {
155
- readonly Initial: "initial";
156
- readonly Recurring: "recurring";
157
- readonly Correction: "correction";
158
- readonly Estimated: "estimated";
159
- readonly Penalty: "penalty";
160
- readonly Other: "other";
161
- readonly Withdraw: "withdraw";
162
- readonly Final: "final";
163
- };
164
- export type InvoiceClassTypeEnum = typeof InvoiceClassTypeEnum[keyof typeof InvoiceClassTypeEnum];
165
- export declare const InvoiceClassStatusEnum: {
166
- readonly Open: "open";
167
- readonly Paid: "paid";
168
- readonly PartiallyPaid: "partially-paid";
169
- readonly Refunded: "refunded";
170
- };
171
- export type InvoiceClassStatusEnum = typeof InvoiceClassStatusEnum[keyof typeof InvoiceClassStatusEnum];
@@ -1,32 +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
- PartiallyPaid: 'partially-paid',
31
- Refunded: 'refunded'
32
- };
@@ -1,141 +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
- * Invoice item quantity per day.
122
- * @type {number}
123
- * @memberof InvoiceItemClass
124
- */
125
- 'quantityPerDays': number;
126
- /**
127
- * Invoice item price per day.
128
- * @type {number}
129
- * @memberof InvoiceItemClass
130
- */
131
- 'pricePerDay': number;
132
- }
133
- export declare const InvoiceItemClassUnitEnum: {
134
- readonly Day: "day";
135
- readonly Week: "week";
136
- readonly Month: "month";
137
- readonly Quarter: "quarter";
138
- readonly Year: "year";
139
- readonly OneTimePayment: "oneTimePayment";
140
- };
141
- export type InvoiceItemClassUnitEnum = typeof InvoiceItemClassUnitEnum[keyof typeof InvoiceItemClassUnitEnum];
@@ -1,24 +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.InvoiceItemClassUnitEnum = void 0;
17
- exports.InvoiceItemClassUnitEnum = {
18
- Day: 'day',
19
- Week: 'week',
20
- Month: 'month',
21
- Quarter: 'quarter',
22
- Year: 'year',
23
- OneTimePayment: 'oneTimePayment'
24
- };
@@ -1,102 +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 InvoicePaymentClass
16
- */
17
- export interface InvoicePaymentClass {
18
- /**
19
- * Internal unique identifier for the object. You should not have to use this, use code instead.
20
- * @type {number}
21
- * @memberof InvoicePaymentClass
22
- */
23
- 'id': number;
24
- /**
25
- * Unique identifier referencing the invoice.
26
- * @type {number}
27
- * @memberof InvoicePaymentClass
28
- */
29
- 'invoiceId': number;
30
- /**
31
- * Payment amount is in cents.
32
- * @type {number}
33
- * @memberof InvoicePaymentClass
34
- */
35
- 'transactionAmount': number;
36
- /**
37
- * This is the date when the payment was made.
38
- * @type {string}
39
- * @memberof InvoicePaymentClass
40
- */
41
- 'transactionDate': string;
42
- /**
43
- * Transaction reference.
44
- * @type {string}
45
- * @memberof InvoicePaymentClass
46
- */
47
- 'transactionReference': string;
48
- /**
49
- * Payment comment.
50
- * @type {string}
51
- * @memberof InvoicePaymentClass
52
- */
53
- 'comment': string;
54
- /**
55
- * User who added payment.
56
- * @type {string}
57
- * @memberof InvoicePaymentClass
58
- */
59
- 'createdBy': string;
60
- /**
61
- * Invoice gross amount is in cents.
62
- * @type {number}
63
- * @memberof InvoicePaymentClass
64
- */
65
- 'invoiceGrossAmount': number;
66
- /**
67
- * Invoice paid amount before payment. The amount is in cents.
68
- * @type {number}
69
- * @memberof InvoicePaymentClass
70
- */
71
- 'oldInvoicePaidAmount': number;
72
- /**
73
- * Invoice paid amount after payment. The amount is in cents.
74
- * @type {number}
75
- * @memberof InvoicePaymentClass
76
- */
77
- 'newInvoicePaidAmount': number;
78
- /**
79
- * Invoice status before payment.
80
- * @type {string}
81
- * @memberof InvoicePaymentClass
82
- */
83
- 'oldInvoiceStatus': string;
84
- /**
85
- * Invoice status after payment.
86
- * @type {string}
87
- * @memberof InvoicePaymentClass
88
- */
89
- 'newInvoiceStatus': string;
90
- /**
91
- * Unique identifier referencing the payment.
92
- * @type {number}
93
- * @memberof InvoicePaymentClass
94
- */
95
- 'paymentId': number;
96
- /**
97
- * Time at which the object was created.
98
- * @type {string}
99
- * @memberof InvoicePaymentClass
100
- */
101
- 'createdAt': string;
102
- }