@emilgroup/billing-sdk-node 1.24.2-beta.1 → 1.24.2-beta.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.
Files changed (91) 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/base.ts +3 -3
  9. package/dist/api/correction-invoices-api.d.ts +3 -4
  10. package/dist/api/estimated-invoices-api.d.ts +9 -12
  11. package/dist/api/initial-invoices-api.d.ts +3 -4
  12. package/dist/api/invoices-api.d.ts +9 -12
  13. package/dist/api/recurring-invoices-api.d.ts +3 -4
  14. package/dist/base.d.ts +2 -2
  15. package/dist/base.js +1 -2
  16. package/dist/models/create-estimated-invoice-request-dto.d.ts +1 -7
  17. package/dist/models/create-invoice-payment-request-dto.d.ts +1 -7
  18. package/dist/models/create-invoice-request-dto.d.ts +4 -4
  19. package/dist/models/index.d.ts +0 -17
  20. package/dist/models/index.js +0 -17
  21. package/dist/models/policy-dto.d.ts +3 -35
  22. package/dist/models/policy-dto.js +0 -8
  23. package/dist/models/policy-object-dto.d.ts +2 -20
  24. package/dist/models/policy-premium-dto.d.ts +2 -14
  25. package/dist/models/policy-premium-item-dto.d.ts +2 -14
  26. package/dist/models/policy-version-dto.d.ts +3 -15
  27. package/dist/models/premium-formula-dto.d.ts +2 -14
  28. package/dist/models/timeslice-dto.d.ts +1 -13
  29. package/models/create-estimated-invoice-request-dto.ts +1 -7
  30. package/models/create-invoice-payment-request-dto.ts +1 -7
  31. package/models/create-invoice-request-dto.ts +4 -4
  32. package/models/index.ts +0 -17
  33. package/models/policy-dto.ts +3 -38
  34. package/models/policy-object-dto.ts +2 -20
  35. package/models/policy-premium-dto.ts +2 -14
  36. package/models/policy-premium-item-dto.ts +2 -14
  37. package/models/policy-version-dto.ts +3 -15
  38. package/models/premium-formula-dto.ts +2 -14
  39. package/models/timeslice-dto.ts +1 -13
  40. package/package.json +1 -1
  41. package/dist/models/create-correction-invoices-response-class.d.ts +0 -25
  42. package/dist/models/create-correction-invoices-response-class.js +0 -15
  43. package/dist/models/create-custom-estimated-invoice-response-class.d.ts +0 -24
  44. package/dist/models/create-custom-estimated-invoice-response-class.js +0 -15
  45. package/dist/models/create-estimated-invoice-for-interval-response-class.d.ts +0 -25
  46. package/dist/models/create-estimated-invoice-for-interval-response-class.js +0 -15
  47. package/dist/models/create-estimated-invoice-response-class.d.ts +0 -37
  48. package/dist/models/create-estimated-invoice-response-class.js +0 -15
  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 -37
  52. package/dist/models/create-invoice-status-request-dto.js +0 -22
  53. package/dist/models/create-termination-invoice-request-dto.d.ts +0 -54
  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/invoice-class.d.ts +0 -183
  58. package/dist/models/invoice-class.js +0 -32
  59. package/dist/models/invoice-item-class.d.ts +0 -153
  60. package/dist/models/invoice-item-class.js +0 -24
  61. package/dist/models/invoice-payment-class.d.ts +0 -108
  62. package/dist/models/invoice-payment-class.js +0 -15
  63. package/dist/models/invoice-payments-class.d.ts +0 -25
  64. package/dist/models/invoice-payments-class.js +0 -15
  65. package/dist/models/invoice-status-class.d.ts +0 -61
  66. package/dist/models/invoice-status-class.js +0 -22
  67. package/dist/models/list-invoices-response-class.d.ts +0 -31
  68. package/dist/models/list-invoices-response-class.js +0 -15
  69. package/dist/models/list-policies-billing-dates-response-class.d.ts +0 -31
  70. package/dist/models/list-policies-billing-dates-response-class.js +0 -15
  71. package/dist/models/omit-type-class.d.ts +0 -176
  72. package/dist/models/omit-type-class.js +0 -32
  73. package/dist/models/policy-billing-date-class.d.ts +0 -54
  74. package/dist/models/policy-billing-date-class.js +0 -15
  75. package/models/create-correction-invoices-response-class.ts +0 -31
  76. package/models/create-custom-estimated-invoice-response-class.ts +0 -30
  77. package/models/create-estimated-invoice-for-interval-response-class.ts +0 -31
  78. package/models/create-estimated-invoice-response-class.ts +0 -43
  79. package/models/create-invoice-response-class.ts +0 -31
  80. package/models/create-invoice-status-request-dto.ts +0 -46
  81. package/models/create-termination-invoice-request-dto.ts +0 -60
  82. package/models/get-invoice-response-class.ts +0 -31
  83. package/models/invoice-class.ts +0 -193
  84. package/models/invoice-item-class.ts +0 -162
  85. package/models/invoice-payment-class.ts +0 -114
  86. package/models/invoice-payments-class.ts +0 -31
  87. package/models/invoice-status-class.ts +0 -70
  88. package/models/list-invoices-response-class.ts +0 -37
  89. package/models/list-policies-billing-dates-response-class.ts +0 -37
  90. package/models/omit-type-class.ts +0 -186
  91. package/models/policy-billing-date-class.ts +0 -60
@@ -67,24 +67,12 @@ export interface PremiumFormulaDto {
67
67
  * @type {string}
68
68
  * @memberof PremiumFormulaDto
69
69
  */
70
- 'createdAt'?: string;
70
+ 'createdAt': string;
71
71
  /**
72
72
  * Time at which the object was updated.
73
73
  * @type {string}
74
74
  * @memberof PremiumFormulaDto
75
75
  */
76
- 'updatedAt'?: string;
77
- /**
78
- *
79
- * @type {string}
80
- * @memberof PremiumFormulaDto
81
- */
82
- 'createdBy': string;
83
- /**
84
- *
85
- * @type {string}
86
- * @memberof PremiumFormulaDto
87
- */
88
- 'updatedBy': string;
76
+ 'updatedAt': string;
89
77
  }
90
78
 
@@ -45,7 +45,7 @@ export interface TimesliceDto {
45
45
  * @type {string}
46
46
  * @memberof TimesliceDto
47
47
  */
48
- 'to'?: string;
48
+ 'to': string;
49
49
  /**
50
50
  * Time at which the object was created.
51
51
  * @type {string}
@@ -64,17 +64,5 @@ export interface TimesliceDto {
64
64
  * @memberof TimesliceDto
65
65
  */
66
66
  'premium': PolicyPremiumDto;
67
- /**
68
- *
69
- * @type {string}
70
- * @memberof TimesliceDto
71
- */
72
- 'createdBy': string;
73
- /**
74
- *
75
- * @type {string}
76
- * @memberof TimesliceDto
77
- */
78
- 'updatedBy': string;
79
67
  }
80
68
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/billing-sdk-node",
3
- "version": "1.24.2-beta.1",
3
+ "version": "1.24.2-beta.2",
4
4
  "description": "OpenAPI client for @emilgroup/billing-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -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 CreateCorrectionInvoicesResponseClass
17
- */
18
- export interface CreateCorrectionInvoicesResponseClass {
19
- /**
20
- * Correction invoices response.
21
- * @type {OmitTypeClass}
22
- * @memberof CreateCorrectionInvoicesResponseClass
23
- */
24
- 'invoices': 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,24 +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 CreateCustomEstimatedInvoiceResponseClass
16
- */
17
- export interface CreateCustomEstimatedInvoiceResponseClass {
18
- /**
19
- * Recurring invoice response
20
- * @type {object}
21
- * @memberof CreateCustomEstimatedInvoiceResponseClass
22
- */
23
- 'custom': object;
24
- }
@@ -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 { InvoiceClass } from './invoice-class';
13
- /**
14
- *
15
- * @export
16
- * @interface CreateEstimatedInvoiceForIntervalResponseClass
17
- */
18
- export interface CreateEstimatedInvoiceForIntervalResponseClass {
19
- /**
20
- * Estimated invoice response
21
- * @type {InvoiceClass}
22
- * @memberof CreateEstimatedInvoiceForIntervalResponseClass
23
- */
24
- 'invoice': InvoiceClass;
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
- import { InvoiceClass } from './invoice-class';
13
- /**
14
- *
15
- * @export
16
- * @interface CreateEstimatedInvoiceResponseClass
17
- */
18
- export interface CreateEstimatedInvoiceResponseClass {
19
- /**
20
- * 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.
21
- * @type {InvoiceClass}
22
- * @memberof CreateEstimatedInvoiceResponseClass
23
- */
24
- 'invoice': InvoiceClass;
25
- /**
26
- * 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\'.
27
- * @type {InvoiceClass}
28
- * @memberof CreateEstimatedInvoiceResponseClass
29
- */
30
- 'yearlyInvoice': InvoiceClass;
31
- /**
32
- * 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.
33
- * @type {object}
34
- * @memberof CreateEstimatedInvoiceResponseClass
35
- */
36
- 'custom': object;
37
- }
@@ -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 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,183 +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
- * Identifier of the user who created the record.
155
- * @type {string}
156
- * @memberof InvoiceClass
157
- */
158
- 'createdBy': string;
159
- /**
160
- * Identifier of the user who last updated the record.
161
- * @type {string}
162
- * @memberof InvoiceClass
163
- */
164
- 'updatedBy': string;
165
- }
166
- export declare const InvoiceClassTypeEnum: {
167
- readonly Initial: "initial";
168
- readonly Recurring: "recurring";
169
- readonly Correction: "correction";
170
- readonly Estimated: "estimated";
171
- readonly Penalty: "penalty";
172
- readonly Other: "other";
173
- readonly Withdraw: "withdraw";
174
- readonly Final: "final";
175
- };
176
- export type InvoiceClassTypeEnum = typeof InvoiceClassTypeEnum[keyof typeof InvoiceClassTypeEnum];
177
- export declare const InvoiceClassStatusEnum: {
178
- readonly Open: "open";
179
- readonly Paid: "paid";
180
- readonly PartiallyPaid: "partially-paid";
181
- readonly Refunded: "refunded";
182
- };
183
- 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
- };