@emilgroup/billing-sdk-node 1.9.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 +3 -0
  2. package/README.md +2 -2
  3. package/models/create-invoice-payment-request-dto.ts +60 -0
  4. package/models/create-invoice-status-request-dto.ts +2 -1
  5. package/models/index.ts +3 -0
  6. package/models/invoice-class.ts +15 -1
  7. package/models/invoice-payment-class.ts +102 -0
  8. package/{dist/models/create-custom-estimated-invoice-request-dto.js → models/invoice-payments-class.ts} +18 -7
  9. package/models/invoice-status-class.ts +2 -1
  10. package/models/omit-type-class.ts +15 -1
  11. package/package.json +2 -2
  12. package/dist/api/correction-invoices-api.d.ts +0 -106
  13. package/dist/api/correction-invoices-api.js +0 -234
  14. package/dist/api/default-api.d.ts +0 -66
  15. package/dist/api/default-api.js +0 -200
  16. package/dist/api/estimated-invoices-api.d.ts +0 -154
  17. package/dist/api/estimated-invoices-api.js +0 -321
  18. package/dist/api/initial-invoices-api.d.ts +0 -106
  19. package/dist/api/initial-invoices-api.js +0 -234
  20. package/dist/api/invoices-api.d.ts +0 -307
  21. package/dist/api/invoices-api.js +0 -481
  22. package/dist/api/recurring-invoices-api.d.ts +0 -106
  23. package/dist/api/recurring-invoices-api.js +0 -234
  24. package/dist/api.d.ts +0 -17
  25. package/dist/api.js +0 -35
  26. package/dist/base.d.ts +0 -78
  27. package/dist/base.js +0 -394
  28. package/dist/common.d.ts +0 -92
  29. package/dist/common.js +0 -277
  30. package/dist/configuration.d.ts +0 -90
  31. package/dist/configuration.js +0 -44
  32. package/dist/index.d.ts +0 -15
  33. package/dist/index.js +0 -36
  34. package/dist/models/create-correction-invoices-response-class.d.ts +0 -25
  35. package/dist/models/create-correction-invoices-response-class.js +0 -15
  36. package/dist/models/create-custom-estimated-invoice-request-dto.d.ts +0 -35
  37. package/dist/models/create-custom-estimated-invoice-response-class.d.ts +0 -24
  38. package/dist/models/create-custom-estimated-invoice-response-class.js +0 -15
  39. package/dist/models/create-estimated-invoice-request-dto.d.ts +0 -31
  40. package/dist/models/create-estimated-invoice-request-dto.js +0 -15
  41. package/dist/models/create-estimated-invoice-response-class.d.ts +0 -31
  42. package/dist/models/create-estimated-invoice-response-class.js +0 -15
  43. package/dist/models/create-invoice-request-dto.d.ts +0 -77
  44. package/dist/models/create-invoice-request-dto.js +0 -26
  45. package/dist/models/create-invoice-response-class.d.ts +0 -25
  46. package/dist/models/create-invoice-response-class.js +0 -15
  47. package/dist/models/create-invoice-status-request-dto.d.ts +0 -35
  48. package/dist/models/create-invoice-status-request-dto.js +0 -20
  49. package/dist/models/create-termination-invoice-request-dto.d.ts +0 -48
  50. package/dist/models/create-termination-invoice-request-dto.js +0 -15
  51. package/dist/models/get-invoice-response-class.d.ts +0 -25
  52. package/dist/models/get-invoice-response-class.js +0 -15
  53. package/dist/models/index.d.ts +0 -28
  54. package/dist/models/index.js +0 -44
  55. package/dist/models/inline-response200.d.ts +0 -54
  56. package/dist/models/inline-response200.js +0 -15
  57. package/dist/models/inline-response503.d.ts +0 -54
  58. package/dist/models/inline-response503.js +0 -15
  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,28 +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 './inline-response200';
12
- export * from './inline-response503';
13
- export * from './invoice-class';
14
- export * from './invoice-item-class';
15
- export * from './invoice-status-class';
16
- export * from './list-invoices-response-class';
17
- export * from './list-policies-billing-dates-response-class';
18
- export * from './list-request-dto';
19
- export * from './omit-type-class';
20
- export * from './policy-billing-date-class';
21
- export * from './policy-dto';
22
- export * from './policy-object-dto';
23
- export * from './policy-premium-dto';
24
- export * from './policy-premium-item-dto';
25
- export * from './policy-version-dto';
26
- export * from './premium-formula-dto';
27
- export * from './revert-invoice-request-dto';
28
- export * from './timeslice-dto';
@@ -1,44 +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("./inline-response200"), exports);
28
- __exportStar(require("./inline-response503"), exports);
29
- __exportStar(require("./invoice-class"), exports);
30
- __exportStar(require("./invoice-item-class"), exports);
31
- __exportStar(require("./invoice-status-class"), exports);
32
- __exportStar(require("./list-invoices-response-class"), exports);
33
- __exportStar(require("./list-policies-billing-dates-response-class"), exports);
34
- __exportStar(require("./list-request-dto"), exports);
35
- __exportStar(require("./omit-type-class"), exports);
36
- __exportStar(require("./policy-billing-date-class"), exports);
37
- __exportStar(require("./policy-dto"), exports);
38
- __exportStar(require("./policy-object-dto"), exports);
39
- __exportStar(require("./policy-premium-dto"), exports);
40
- __exportStar(require("./policy-premium-item-dto"), exports);
41
- __exportStar(require("./policy-version-dto"), exports);
42
- __exportStar(require("./premium-formula-dto"), exports);
43
- __exportStar(require("./revert-invoice-request-dto"), exports);
44
- __exportStar(require("./timeslice-dto"), exports);
@@ -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 InlineResponse200
16
- */
17
- export interface InlineResponse200 {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof InlineResponse200
22
- */
23
- 'status'?: string;
24
- /**
25
- *
26
- * @type {{ [key: string]: { [key: string]: string; }; }}
27
- * @memberof InlineResponse200
28
- */
29
- 'info'?: {
30
- [key: string]: {
31
- [key: string]: string;
32
- };
33
- } | null;
34
- /**
35
- *
36
- * @type {{ [key: string]: { [key: string]: string; }; }}
37
- * @memberof InlineResponse200
38
- */
39
- 'error'?: {
40
- [key: string]: {
41
- [key: string]: string;
42
- };
43
- } | null;
44
- /**
45
- *
46
- * @type {{ [key: string]: { [key: string]: string; }; }}
47
- * @memberof InlineResponse200
48
- */
49
- 'details'?: {
50
- [key: string]: {
51
- [key: string]: string;
52
- };
53
- };
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,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 InlineResponse503
16
- */
17
- export interface InlineResponse503 {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof InlineResponse503
22
- */
23
- 'status'?: string;
24
- /**
25
- *
26
- * @type {{ [key: string]: { [key: string]: string; }; }}
27
- * @memberof InlineResponse503
28
- */
29
- 'info'?: {
30
- [key: string]: {
31
- [key: string]: string;
32
- };
33
- } | null;
34
- /**
35
- *
36
- * @type {{ [key: string]: { [key: string]: string; }; }}
37
- * @memberof InlineResponse503
38
- */
39
- 'error'?: {
40
- [key: string]: {
41
- [key: string]: string;
42
- };
43
- } | null;
44
- /**
45
- *
46
- * @type {{ [key: string]: { [key: string]: string; }; }}
47
- * @memberof InlineResponse503
48
- */
49
- 'details'?: {
50
- [key: string]: {
51
- [key: string]: string;
52
- };
53
- };
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,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];