@emilgroup/billing-sdk-node 1.27.2-beta.1 → 1.28.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 +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/list-request-dto.d.ts +0 -6
  19. package/dist/models/policy-dto.d.ts +3 -35
  20. package/dist/models/policy-dto.js +0 -8
  21. package/dist/models/policy-object-dto.d.ts +2 -20
  22. package/dist/models/policy-premium-dto.d.ts +2 -14
  23. package/dist/models/policy-premium-item-dto.d.ts +2 -14
  24. package/dist/models/policy-version-dto.d.ts +3 -15
  25. package/dist/models/premium-formula-dto.d.ts +2 -14
  26. package/dist/models/timeslice-dto.d.ts +1 -13
  27. package/models/create-estimated-invoice-request-dto.ts +1 -7
  28. package/models/create-invoice-payment-request-dto.ts +1 -7
  29. package/models/create-invoice-request-dto.ts +4 -4
  30. package/models/index.ts +0 -17
  31. package/models/list-request-dto.ts +0 -6
  32. package/models/policy-dto.ts +3 -38
  33. package/models/policy-object-dto.ts +2 -20
  34. package/models/policy-premium-dto.ts +2 -14
  35. package/models/policy-premium-item-dto.ts +2 -14
  36. package/models/policy-version-dto.ts +3 -15
  37. package/models/premium-formula-dto.ts +2 -14
  38. package/models/timeslice-dto.ts +1 -13
  39. package/package.json +1 -1
  40. package/dist/models/create-correction-invoices-response-class.d.ts +0 -25
  41. package/dist/models/create-correction-invoices-response-class.js +0 -15
  42. package/dist/models/create-custom-estimated-invoice-response-class.d.ts +0 -24
  43. package/dist/models/create-custom-estimated-invoice-response-class.js +0 -15
  44. package/dist/models/create-estimated-invoice-for-interval-response-class.d.ts +0 -25
  45. package/dist/models/create-estimated-invoice-for-interval-response-class.js +0 -15
  46. package/dist/models/create-estimated-invoice-response-class.d.ts +0 -37
  47. package/dist/models/create-estimated-invoice-response-class.js +0 -15
  48. package/dist/models/create-invoice-response-class.d.ts +0 -25
  49. package/dist/models/create-invoice-response-class.js +0 -15
  50. package/dist/models/create-invoice-status-request-dto.d.ts +0 -37
  51. package/dist/models/create-invoice-status-request-dto.js +0 -22
  52. package/dist/models/create-termination-invoice-request-dto.d.ts +0 -54
  53. package/dist/models/create-termination-invoice-request-dto.js +0 -15
  54. package/dist/models/get-invoice-response-class.d.ts +0 -25
  55. package/dist/models/get-invoice-response-class.js +0 -15
  56. package/dist/models/invoice-class.d.ts +0 -183
  57. package/dist/models/invoice-class.js +0 -32
  58. package/dist/models/invoice-item-class.d.ts +0 -153
  59. package/dist/models/invoice-item-class.js +0 -24
  60. package/dist/models/invoice-payment-class.d.ts +0 -108
  61. package/dist/models/invoice-payment-class.js +0 -15
  62. package/dist/models/invoice-payments-class.d.ts +0 -25
  63. package/dist/models/invoice-payments-class.js +0 -15
  64. package/dist/models/invoice-status-class.d.ts +0 -61
  65. package/dist/models/invoice-status-class.js +0 -22
  66. package/dist/models/list-invoices-response-class.d.ts +0 -31
  67. package/dist/models/list-invoices-response-class.js +0 -15
  68. package/dist/models/list-policies-billing-dates-response-class.d.ts +0 -31
  69. package/dist/models/list-policies-billing-dates-response-class.js +0 -15
  70. package/dist/models/omit-type-class.d.ts +0 -176
  71. package/dist/models/omit-type-class.js +0 -32
  72. package/dist/models/policy-billing-date-class.d.ts +0 -54
  73. package/dist/models/policy-billing-date-class.js +0 -15
  74. package/models/create-correction-invoices-response-class.ts +0 -31
  75. package/models/create-custom-estimated-invoice-response-class.ts +0 -30
  76. package/models/create-estimated-invoice-for-interval-response-class.ts +0 -31
  77. package/models/create-estimated-invoice-response-class.ts +0 -43
  78. package/models/create-invoice-response-class.ts +0 -31
  79. package/models/create-invoice-status-request-dto.ts +0 -46
  80. package/models/create-termination-invoice-request-dto.ts +0 -60
  81. package/models/get-invoice-response-class.ts +0 -31
  82. package/models/invoice-class.ts +0 -193
  83. package/models/invoice-item-class.ts +0 -162
  84. package/models/invoice-payment-class.ts +0 -114
  85. package/models/invoice-payments-class.ts +0 -31
  86. package/models/invoice-status-class.ts +0 -70
  87. package/models/list-invoices-response-class.ts +0 -37
  88. package/models/list-policies-billing-dates-response-class.ts +0 -37
  89. package/models/omit-type-class.ts +0 -186
  90. package/models/policy-billing-date-class.ts +0 -60
@@ -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.OmitTypeClassStatusEnum = exports.OmitTypeClassTypeEnum = void 0;
17
- exports.OmitTypeClassTypeEnum = {
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.OmitTypeClassStatusEnum = {
28
- Open: 'open',
29
- Paid: 'paid',
30
- PartiallyPaid: 'partially-paid',
31
- Refunded: 'refunded'
32
- };
@@ -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 PolicyBillingDateClass
16
- */
17
- export interface PolicyBillingDateClass {
18
- /**
19
- * Internal unique identifier for the object. You should not have to use this, use code instead.
20
- * @type {number}
21
- * @memberof PolicyBillingDateClass
22
- */
23
- 'id': number;
24
- /**
25
- * Unique identifier of the policy that this object belongs to.
26
- * @type {string}
27
- * @memberof PolicyBillingDateClass
28
- */
29
- 'policyCode': string;
30
- /**
31
- * The next billing date this policy will be invoiced.
32
- * @type {string}
33
- * @memberof PolicyBillingDateClass
34
- */
35
- 'nextBillingDate': string;
36
- /**
37
- * This field will be set to true once an invoice has been created on this specific billing date. It is there to avoid a policy being invoiced multiple times in case of retry.
38
- * @type {boolean}
39
- * @memberof PolicyBillingDateClass
40
- */
41
- 'isInvoiced': boolean;
42
- /**
43
- * Identifier of the user who created the record.
44
- * @type {string}
45
- * @memberof PolicyBillingDateClass
46
- */
47
- 'createdBy': string;
48
- /**
49
- * Identifier of the user who last updated the record.
50
- * @type {string}
51
- * @memberof PolicyBillingDateClass
52
- */
53
- 'updatedBy': 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,31 +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
- import { OmitTypeClass } from './omit-type-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface CreateCorrectionInvoicesResponseClass
22
- */
23
- export interface CreateCorrectionInvoicesResponseClass {
24
- /**
25
- * Correction invoices response.
26
- * @type {OmitTypeClass}
27
- * @memberof CreateCorrectionInvoicesResponseClass
28
- */
29
- 'invoices': OmitTypeClass;
30
- }
31
-
@@ -1,30 +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 CreateCustomEstimatedInvoiceResponseClass
21
- */
22
- export interface CreateCustomEstimatedInvoiceResponseClass {
23
- /**
24
- * Recurring invoice response
25
- * @type {object}
26
- * @memberof CreateCustomEstimatedInvoiceResponseClass
27
- */
28
- 'custom': object;
29
- }
30
-
@@ -1,31 +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
- import { InvoiceClass } from './invoice-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface CreateEstimatedInvoiceForIntervalResponseClass
22
- */
23
- export interface CreateEstimatedInvoiceForIntervalResponseClass {
24
- /**
25
- * Estimated invoice response
26
- * @type {InvoiceClass}
27
- * @memberof CreateEstimatedInvoiceForIntervalResponseClass
28
- */
29
- 'invoice': InvoiceClass;
30
- }
31
-
@@ -1,43 +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
- import { InvoiceClass } from './invoice-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface CreateEstimatedInvoiceResponseClass
22
- */
23
- export interface CreateEstimatedInvoiceResponseClass {
24
- /**
25
- * The estimated invoice response based on the current policy data. This includes the calculated invoice for the specified billing period (e.g., monthly, quarterly) as defined by the policy. The invoice contains details such as gross amount, net amount, tax amount, and other invoice-related data for the specific period the invoice is generated for.
26
- * @type {InvoiceClass}
27
- * @memberof CreateEstimatedInvoiceResponseClass
28
- */
29
- 'invoice': InvoiceClass;
30
- /**
31
- * The estimated yearly invoice response. This represents the invoice recalculated to a yearly format, standardizing the invoice values regardless of the billing frequency defined by the policy (e.g., monthly, quarterly, etc.). This yearly invoice gives an overview of the total cost for the entire year, including recalculated gross amount, net amount, tax amount, and other related invoice data, ensuring that all charges are displayed on a yearly basis. Note: If the original invoice is already set to a yearly billing frequency, the \'yearlyInvoice\' will be identical to the \'invoice\'.
32
- * @type {InvoiceClass}
33
- * @memberof CreateEstimatedInvoiceResponseClass
34
- */
35
- 'yearlyInvoice': InvoiceClass;
36
- /**
37
- * In some cases, custom premium calculation needs to be used. In that case, a custom object is returned. It can hold up any kind of information. For more information, check the general documentation.
38
- * @type {object}
39
- * @memberof CreateEstimatedInvoiceResponseClass
40
- */
41
- 'custom': object;
42
- }
43
-
@@ -1,31 +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
- import { OmitTypeClass } from './omit-type-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface CreateInvoiceResponseClass
22
- */
23
- export interface CreateInvoiceResponseClass {
24
- /**
25
- * Invoice response.
26
- * @type {OmitTypeClass}
27
- * @memberof CreateInvoiceResponseClass
28
- */
29
- 'invoice': OmitTypeClass;
30
- }
31
-
@@ -1,46 +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 CreateInvoiceStatusRequestDto
21
- */
22
- export interface CreateInvoiceStatusRequestDto {
23
- /**
24
- *
25
- * @type {number}
26
- * @memberof CreateInvoiceStatusRequestDto
27
- */
28
- 'invoiceId': number;
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof CreateInvoiceStatusRequestDto
33
- */
34
- 'status': CreateInvoiceStatusRequestDtoStatusEnum;
35
- }
36
-
37
- export const CreateInvoiceStatusRequestDtoStatusEnum = {
38
- Open: 'open',
39
- Paid: 'paid',
40
- PartiallyPaid: 'partially-paid',
41
- Refunded: 'refunded'
42
- } as const;
43
-
44
- export type CreateInvoiceStatusRequestDtoStatusEnum = typeof CreateInvoiceStatusRequestDtoStatusEnum[keyof typeof CreateInvoiceStatusRequestDtoStatusEnum];
45
-
46
-
@@ -1,60 +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 CreateTerminationInvoiceRequestDto
21
- */
22
- export interface CreateTerminationInvoiceRequestDto {
23
- /**
24
- *
25
- * @type {string}
26
- * @memberof CreateTerminationInvoiceRequestDto
27
- */
28
- 'policyCode': string;
29
- /**
30
- *
31
- * @type {string}
32
- * @memberof CreateTerminationInvoiceRequestDto
33
- */
34
- 'accountNumber': string;
35
- /**
36
- *
37
- * @type {object}
38
- * @memberof CreateTerminationInvoiceRequestDto
39
- */
40
- 'metadata'?: object;
41
- /**
42
- *
43
- * @type {string}
44
- * @memberof CreateTerminationInvoiceRequestDto
45
- */
46
- 'billingIntervalFrom': string;
47
- /**
48
- *
49
- * @type {string}
50
- * @memberof CreateTerminationInvoiceRequestDto
51
- */
52
- 'billingIntervalTo': string;
53
- /**
54
- *
55
- * @type {string}
56
- * @memberof CreateTerminationInvoiceRequestDto
57
- */
58
- 'policyNumber': string;
59
- }
60
-
@@ -1,31 +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
- import { OmitTypeClass } from './omit-type-class';
17
-
18
- /**
19
- *
20
- * @export
21
- * @interface GetInvoiceResponseClass
22
- */
23
- export interface GetInvoiceResponseClass {
24
- /**
25
- * Invoice response.
26
- * @type {OmitTypeClass}
27
- * @memberof GetInvoiceResponseClass
28
- */
29
- 'invoice': OmitTypeClass;
30
- }
31
-
@@ -1,193 +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
- import { InvoiceItemClass } from './invoice-item-class';
17
- import { InvoicePaymentsClass } from './invoice-payments-class';
18
- import { InvoiceStatusClass } from './invoice-status-class';
19
-
20
- /**
21
- *
22
- * @export
23
- * @interface InvoiceClass
24
- */
25
- export interface InvoiceClass {
26
- /**
27
- * Internal unique identifier for the object. You should not have to use this, use code instead.
28
- * @type {number}
29
- * @memberof InvoiceClass
30
- */
31
- 'id': number;
32
- /**
33
- * Unique identifier of the policy that this object belongs to.
34
- * @type {string}
35
- * @memberof InvoiceClass
36
- */
37
- 'policyCode': string;
38
- /**
39
- * Account number.
40
- * @type {string}
41
- * @memberof InvoiceClass
42
- */
43
- 'accountNumber': string;
44
- /**
45
- * Policy number.
46
- * @type {string}
47
- * @memberof InvoiceClass
48
- */
49
- 'policyNumber': string;
50
- /**
51
- * Unique identifier for the object.
52
- * @type {string}
53
- * @memberof InvoiceClass
54
- */
55
- 'code': string;
56
- /**
57
- * Invoice type.
58
- * @type {string}
59
- * @memberof InvoiceClass
60
- */
61
- 'type': InvoiceClassTypeEnum;
62
- /**
63
- * Invoice number.
64
- * @type {string}
65
- * @memberof InvoiceClass
66
- */
67
- 'invoiceNumber': string;
68
- /**
69
- * Net amount is in cents.
70
- * @type {number}
71
- * @memberof InvoiceClass
72
- */
73
- 'netAmount': number;
74
- /**
75
- * Tax amount is in cents.
76
- * @type {number}
77
- * @memberof InvoiceClass
78
- */
79
- 'taxAmount': number;
80
- /**
81
- * Credit amount.
82
- * @type {number}
83
- * @memberof InvoiceClass
84
- */
85
- 'creditAmount': number;
86
- /**
87
- * Gross amount. This property is sum of taxAmount and netAmount.
88
- * @type {number}
89
- * @memberof InvoiceClass
90
- */
91
- 'grossAmount': number;
92
- /**
93
- * 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.
94
- * @type {number}
95
- * @memberof InvoiceClass
96
- */
97
- 'paidAmount': number;
98
- /**
99
- * Invoice status.
100
- * @type {string}
101
- * @memberof InvoiceClass
102
- */
103
- 'status': InvoiceClassStatusEnum;
104
- /**
105
- * Invoice due date.
106
- * @type {string}
107
- * @memberof InvoiceClass
108
- */
109
- 'dueDate': string;
110
- /**
111
- * Metadata contains extra information that the object would need for specific cases.
112
- * @type {object}
113
- * @memberof InvoiceClass
114
- */
115
- 'metadata': object;
116
- /**
117
- * Start date of billing interval.
118
- * @type {string}
119
- * @memberof InvoiceClass
120
- */
121
- 'billingIntervalFrom': string;
122
- /**
123
- * End date of billing interval.
124
- * @type {string}
125
- * @memberof InvoiceClass
126
- */
127
- 'billingIntervalTo': string;
128
- /**
129
- * Time at which the object was created.
130
- * @type {string}
131
- * @memberof InvoiceClass
132
- */
133
- 'createdAt': string;
134
- /**
135
- * Invoice items.
136
- * @type {Array<InvoiceItemClass>}
137
- * @memberof InvoiceClass
138
- */
139
- 'invoiceItems': Array<InvoiceItemClass>;
140
- /**
141
- * Invoice statuses.
142
- * @type {Array<InvoiceStatusClass>}
143
- * @memberof InvoiceClass
144
- */
145
- 'statuses': Array<InvoiceStatusClass>;
146
- /**
147
- * Invoice currency. EUR is used by default.
148
- * @type {string}
149
- * @memberof InvoiceClass
150
- */
151
- 'currency': string;
152
- /**
153
- * Invoice payments.
154
- * @type {InvoicePaymentsClass}
155
- * @memberof InvoiceClass
156
- */
157
- 'payments': InvoicePaymentsClass;
158
- /**
159
- * Identifier of the user who created the record.
160
- * @type {string}
161
- * @memberof InvoiceClass
162
- */
163
- 'createdBy': string;
164
- /**
165
- * Identifier of the user who last updated the record.
166
- * @type {string}
167
- * @memberof InvoiceClass
168
- */
169
- 'updatedBy': string;
170
- }
171
-
172
- export const InvoiceClassTypeEnum = {
173
- Initial: 'initial',
174
- Recurring: 'recurring',
175
- Correction: 'correction',
176
- Estimated: 'estimated',
177
- Penalty: 'penalty',
178
- Other: 'other',
179
- Withdraw: 'withdraw',
180
- Final: 'final'
181
- } as const;
182
-
183
- export type InvoiceClassTypeEnum = typeof InvoiceClassTypeEnum[keyof typeof InvoiceClassTypeEnum];
184
- export const InvoiceClassStatusEnum = {
185
- Open: 'open',
186
- Paid: 'paid',
187
- PartiallyPaid: 'partially-paid',
188
- Refunded: 'refunded'
189
- } as const;
190
-
191
- export type InvoiceClassStatusEnum = typeof InvoiceClassStatusEnum[keyof typeof InvoiceClassStatusEnum];
192
-
193
-