@emilgroup/billing-sdk 1.8.0 → 1.15.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 (96) hide show
  1. package/.openapi-generator/FILES +3 -16
  2. package/README.md +2 -2
  3. package/api/correction-invoices-api.ts +2 -4
  4. package/api/draft-invoice-api.ts +342 -0
  5. package/api/estimated-invoices-api.ts +112 -11
  6. package/api/initial-invoices-api.ts +2 -4
  7. package/api/invoices-api.ts +110 -88
  8. package/api/recurring-invoices-api.ts +2 -4
  9. package/api.ts +2 -0
  10. package/base.ts +1 -0
  11. package/dist/api/correction-invoices-api.d.ts +105 -0
  12. package/dist/api/correction-invoices-api.js +230 -0
  13. package/dist/api/default-api.d.ts +66 -0
  14. package/dist/api/default-api.js +196 -0
  15. package/dist/api/draft-invoice-api.d.ts +185 -0
  16. package/dist/api/draft-invoice-api.js +392 -0
  17. package/dist/api/estimated-invoices-api.d.ts +208 -0
  18. package/dist/api/estimated-invoices-api.js +410 -0
  19. package/dist/api/initial-invoices-api.d.ts +105 -0
  20. package/dist/api/initial-invoices-api.js +230 -0
  21. package/dist/api/invoices-api.d.ts +322 -0
  22. package/dist/api/invoices-api.js +489 -0
  23. package/dist/api/recurring-invoices-api.d.ts +105 -0
  24. package/dist/api/recurring-invoices-api.js +230 -0
  25. package/dist/api.d.ts +18 -0
  26. package/dist/api.js +36 -0
  27. package/dist/base.d.ts +74 -0
  28. package/dist/base.js +299 -0
  29. package/dist/common.d.ts +91 -0
  30. package/dist/common.js +276 -0
  31. package/dist/configuration.d.ts +83 -0
  32. package/dist/configuration.js +44 -0
  33. package/dist/index.d.ts +15 -0
  34. package/dist/index.js +36 -0
  35. package/dist/models/create-custom-estimated-invoice-request-dto.d.ts +35 -0
  36. package/{models/create-custom-estimated-invoice-response-class.ts → dist/models/create-custom-estimated-invoice-request-dto.js} +7 -17
  37. package/dist/models/create-draft-invoice-request-dto.d.ts +89 -0
  38. package/dist/models/create-draft-invoice-request-dto.js +26 -0
  39. package/dist/models/create-estimated-invoice-for-interval-request-dto.d.ts +49 -0
  40. package/{models/get-invoice-response-class.ts → dist/models/create-estimated-invoice-for-interval-request-dto.js} +2 -18
  41. package/dist/models/create-estimated-invoice-request-dto.d.ts +31 -0
  42. package/{models/create-invoice-response-class.ts → dist/models/create-estimated-invoice-request-dto.js} +2 -18
  43. package/dist/models/create-invoice-payment-request-dto.d.ts +48 -0
  44. package/{models/invoice-payments-class.ts → dist/models/create-invoice-payment-request-dto.js} +2 -18
  45. package/dist/models/create-invoice-request-dto.d.ts +83 -0
  46. package/dist/models/create-invoice-request-dto.js +26 -0
  47. package/dist/models/index.d.ts +17 -0
  48. package/dist/models/index.js +33 -0
  49. package/dist/models/inline-response200.d.ts +54 -0
  50. package/dist/models/inline-response200.js +15 -0
  51. package/dist/models/inline-response503.d.ts +54 -0
  52. package/dist/models/inline-response503.js +15 -0
  53. package/dist/models/list-request-dto.d.ts +54 -0
  54. package/dist/models/list-request-dto.js +15 -0
  55. package/dist/models/policy-dto.d.ts +109 -0
  56. package/dist/models/policy-dto.js +15 -0
  57. package/dist/models/policy-object-dto.d.ts +66 -0
  58. package/dist/models/policy-object-dto.js +15 -0
  59. package/dist/models/policy-premium-dto.d.ts +49 -0
  60. package/dist/models/policy-premium-dto.js +15 -0
  61. package/dist/models/policy-premium-item-dto.d.ts +55 -0
  62. package/dist/models/policy-premium-item-dto.js +15 -0
  63. package/dist/models/policy-version-dto.d.ts +61 -0
  64. package/dist/models/policy-version-dto.js +15 -0
  65. package/dist/models/premium-formula-dto.d.ts +72 -0
  66. package/dist/models/premium-formula-dto.js +15 -0
  67. package/dist/models/revert-invoice-request-dto.d.ts +24 -0
  68. package/dist/models/revert-invoice-request-dto.js +15 -0
  69. package/dist/models/timeslice-dto.d.ts +62 -0
  70. package/dist/models/timeslice-dto.js +15 -0
  71. package/models/create-draft-invoice-request-dto.ts +98 -0
  72. package/models/create-estimated-invoice-for-interval-request-dto.ts +55 -0
  73. package/models/create-invoice-payment-request-dto.ts +2 -8
  74. package/models/create-invoice-request-dto.ts +11 -5
  75. package/models/index.ts +2 -16
  76. package/models/inline-response200.ts +6 -6
  77. package/models/inline-response503.ts +6 -6
  78. package/models/policy-dto.ts +5 -21
  79. package/models/policy-object-dto.ts +20 -2
  80. package/models/policy-premium-dto.ts +2 -2
  81. package/models/policy-premium-item-dto.ts +2 -2
  82. package/models/policy-version-dto.ts +6 -0
  83. package/models/premium-formula-dto.ts +2 -2
  84. package/package.json +1 -1
  85. package/models/create-correction-invoices-response-class.ts +0 -31
  86. package/models/create-estimated-invoice-response-class.ts +0 -37
  87. package/models/create-invoice-status-request-dto.ts +0 -45
  88. package/models/create-termination-invoice-request-dto.ts +0 -54
  89. package/models/invoice-class.ts +0 -174
  90. package/models/invoice-item-class.ts +0 -138
  91. package/models/invoice-payment-class.ts +0 -102
  92. package/models/invoice-status-class.ts +0 -57
  93. package/models/list-invoices-response-class.ts +0 -37
  94. package/models/list-policies-billing-dates-response-class.ts +0 -37
  95. package/models/omit-type-class.ts +0 -167
  96. package/models/policy-billing-date-class.ts +0 -48
@@ -0,0 +1,98 @@
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 CreateDraftInvoiceRequestDto
21
+ */
22
+ export interface CreateDraftInvoiceRequestDto {
23
+ /**
24
+ * Invoice type.
25
+ * @type {string}
26
+ * @memberof CreateDraftInvoiceRequestDto
27
+ */
28
+ 'type': CreateDraftInvoiceRequestDtoTypeEnum;
29
+ /**
30
+ * Unique number for the invoice. If not set, the system will automatically assign a value.
31
+ * @type {string}
32
+ * @memberof CreateDraftInvoiceRequestDto
33
+ */
34
+ 'invoiceNumber'?: string;
35
+ /**
36
+ * Unique identifier of the policy that this object belongs to.
37
+ * @type {string}
38
+ * @memberof CreateDraftInvoiceRequestDto
39
+ */
40
+ 'policyCode': string;
41
+ /**
42
+ * Account number.
43
+ * @type {string}
44
+ * @memberof CreateDraftInvoiceRequestDto
45
+ */
46
+ 'accountNumber': string;
47
+ /**
48
+ * Metadata contains extra information that the object would need for specific cases.
49
+ * @type {object}
50
+ * @memberof CreateDraftInvoiceRequestDto
51
+ */
52
+ 'metadata': object;
53
+ /**
54
+ * This is the date from which the invoice interval starts.
55
+ * @type {string}
56
+ * @memberof CreateDraftInvoiceRequestDto
57
+ */
58
+ 'billingIntervalFrom'?: string;
59
+ /**
60
+ * This is the date that the invoice interval ends.
61
+ * @type {string}
62
+ * @memberof CreateDraftInvoiceRequestDto
63
+ */
64
+ 'billingIntervalTo'?: string;
65
+ /**
66
+ * Invoice due date.
67
+ * @type {string}
68
+ * @memberof CreateDraftInvoiceRequestDto
69
+ */
70
+ 'dueDate'?: string;
71
+ /**
72
+ * Policy number.
73
+ * @type {string}
74
+ * @memberof CreateDraftInvoiceRequestDto
75
+ */
76
+ 'policyNumber'?: string;
77
+ /**
78
+ * A boolean flag indicating whether the invoice should be calculated on a pro rata basis. When true, the invoice amount is adjusted proportionally based on the duration of service.
79
+ * @type {object}
80
+ * @memberof CreateDraftInvoiceRequestDto
81
+ */
82
+ 'calculateProRata'?: object;
83
+ }
84
+
85
+ export const CreateDraftInvoiceRequestDtoTypeEnum = {
86
+ Initial: 'initial',
87
+ Recurring: 'recurring',
88
+ Correction: 'correction',
89
+ Estimated: 'estimated',
90
+ Penalty: 'penalty',
91
+ Other: 'other',
92
+ Withdraw: 'withdraw',
93
+ Final: 'final'
94
+ } as const;
95
+
96
+ export type CreateDraftInvoiceRequestDtoTypeEnum = typeof CreateDraftInvoiceRequestDtoTypeEnum[keyof typeof CreateDraftInvoiceRequestDtoTypeEnum];
97
+
98
+
@@ -0,0 +1,55 @@
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 { PolicyDto } from './policy-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateEstimatedInvoiceForIntervalRequestDto
22
+ */
23
+ export interface CreateEstimatedInvoiceForIntervalRequestDto {
24
+ /**
25
+ * The policy object that the invoice is attached to. This contains all relevant policy details associated with this invoice.
26
+ * @type {PolicyDto}
27
+ * @memberof CreateEstimatedInvoiceForIntervalRequestDto
28
+ */
29
+ 'policy': PolicyDto;
30
+ /**
31
+ * Metadata contains extra information that the object would need for specific cases.
32
+ * @type {object}
33
+ * @memberof CreateEstimatedInvoiceForIntervalRequestDto
34
+ */
35
+ 'metadata'?: object;
36
+ /**
37
+ * A boolean flag indicating whether the invoice should be calculated on a pro rata basis. When true, the invoice amount is adjusted proportionally based on the duration of service.
38
+ * @type {boolean}
39
+ * @memberof CreateEstimatedInvoiceForIntervalRequestDto
40
+ */
41
+ 'calculateProRata'?: boolean;
42
+ /**
43
+ * The start date of the billing interval. This is the date from which the invoice period begins.
44
+ * @type {string}
45
+ * @memberof CreateEstimatedInvoiceForIntervalRequestDto
46
+ */
47
+ 'billingIntervalFrom': string;
48
+ /**
49
+ * The end date of the billing interval. This is the date until which the invoice period runs. Together with billingIntervalFrom, it defines the time period for which the invoice is issued.
50
+ * @type {string}
51
+ * @memberof CreateEstimatedInvoiceForIntervalRequestDto
52
+ */
53
+ 'billingIntervalTo': string;
54
+ }
55
+
@@ -43,18 +43,12 @@ export interface CreateInvoicePaymentRequestDto {
43
43
  * @type {string}
44
44
  * @memberof CreateInvoicePaymentRequestDto
45
45
  */
46
- 'comment'?: string;
46
+ 'comment': string;
47
47
  /**
48
- * Payment id.
48
+ * Unique identifier referencing the payment.
49
49
  * @type {number}
50
50
  * @memberof CreateInvoicePaymentRequestDto
51
51
  */
52
52
  'paymentId': number;
53
- /**
54
- *
55
- * @type {number}
56
- * @memberof CreateInvoicePaymentRequestDto
57
- */
58
- 'invoiceId': number;
59
53
  }
60
54
 
@@ -25,7 +25,7 @@ export interface CreateInvoiceRequestDto {
25
25
  * @type {string}
26
26
  * @memberof CreateInvoiceRequestDto
27
27
  */
28
- 'invoiceNumber'?: string;
28
+ 'invoiceNumber': string;
29
29
  /**
30
30
  * Account number.
31
31
  * @type {string}
@@ -38,6 +38,12 @@ export interface CreateInvoiceRequestDto {
38
38
  * @memberof CreateInvoiceRequestDto
39
39
  */
40
40
  'policyCode': string;
41
+ /**
42
+ * Policy number.
43
+ * @type {string}
44
+ * @memberof CreateInvoiceRequestDto
45
+ */
46
+ 'policyNumber': string;
41
47
  /**
42
48
  * Type of the invoice.
43
49
  * @type {string}
@@ -49,15 +55,15 @@ export interface CreateInvoiceRequestDto {
49
55
  * @type {object}
50
56
  * @memberof CreateInvoiceRequestDto
51
57
  */
52
- 'metadata'?: object;
58
+ 'metadata': object;
53
59
  /**
54
- * This is the date from which the invoice item interval starts.
60
+ * This is the date from which the invoice interval starts.
55
61
  * @type {string}
56
62
  * @memberof CreateInvoiceRequestDto
57
63
  */
58
64
  'billingIntervalFrom': string;
59
65
  /**
60
- * This is the date that the invoice item interval ends.
66
+ * This is the date that the invoice interval ends.
61
67
  * @type {string}
62
68
  * @memberof CreateInvoiceRequestDto
63
69
  */
@@ -67,7 +73,7 @@ export interface CreateInvoiceRequestDto {
67
73
  * @type {string}
68
74
  * @memberof CreateInvoiceRequestDto
69
75
  */
70
- 'dueDate'?: string;
76
+ 'dueDate': string;
71
77
  }
72
78
 
73
79
  export const CreateInvoiceRequestDtoTypeEnum = {
package/models/index.ts CHANGED
@@ -1,26 +1,12 @@
1
- export * from './create-correction-invoices-response-class';
2
1
  export * from './create-custom-estimated-invoice-request-dto';
3
- export * from './create-custom-estimated-invoice-response-class';
2
+ export * from './create-draft-invoice-request-dto';
3
+ export * from './create-estimated-invoice-for-interval-request-dto';
4
4
  export * from './create-estimated-invoice-request-dto';
5
- export * from './create-estimated-invoice-response-class';
6
5
  export * from './create-invoice-payment-request-dto';
7
6
  export * from './create-invoice-request-dto';
8
- export * from './create-invoice-response-class';
9
- export * from './create-invoice-status-request-dto';
10
- export * from './create-termination-invoice-request-dto';
11
- export * from './get-invoice-response-class';
12
7
  export * from './inline-response200';
13
8
  export * from './inline-response503';
14
- export * from './invoice-class';
15
- export * from './invoice-item-class';
16
- export * from './invoice-payment-class';
17
- export * from './invoice-payments-class';
18
- export * from './invoice-status-class';
19
- export * from './list-invoices-response-class';
20
- export * from './list-policies-billing-dates-response-class';
21
9
  export * from './list-request-dto';
22
- export * from './omit-type-class';
23
- export * from './policy-billing-date-class';
24
10
  export * from './policy-dto';
25
11
  export * from './policy-object-dto';
26
12
  export * from './policy-premium-dto';
@@ -28,21 +28,21 @@ export interface InlineResponse200 {
28
28
  'status'?: string;
29
29
  /**
30
30
  *
31
- * @type {{ [key: string]: { [key: string]: string; }; }}
31
+ * @type {{ [key: string]: { [key: string]: object; }; }}
32
32
  * @memberof InlineResponse200
33
33
  */
34
- 'info'?: { [key: string]: { [key: string]: string; }; } | null;
34
+ 'info'?: { [key: string]: { [key: string]: object; }; } | null;
35
35
  /**
36
36
  *
37
- * @type {{ [key: string]: { [key: string]: string; }; }}
37
+ * @type {{ [key: string]: { [key: string]: object; }; }}
38
38
  * @memberof InlineResponse200
39
39
  */
40
- 'error'?: { [key: string]: { [key: string]: string; }; } | null;
40
+ 'error'?: { [key: string]: { [key: string]: object; }; } | null;
41
41
  /**
42
42
  *
43
- * @type {{ [key: string]: { [key: string]: string; }; }}
43
+ * @type {{ [key: string]: { [key: string]: object; }; }}
44
44
  * @memberof InlineResponse200
45
45
  */
46
- 'details'?: { [key: string]: { [key: string]: string; }; };
46
+ 'details'?: { [key: string]: { [key: string]: object; }; };
47
47
  }
48
48
 
@@ -28,21 +28,21 @@ export interface InlineResponse503 {
28
28
  'status'?: string;
29
29
  /**
30
30
  *
31
- * @type {{ [key: string]: { [key: string]: string; }; }}
31
+ * @type {{ [key: string]: { [key: string]: object; }; }}
32
32
  * @memberof InlineResponse503
33
33
  */
34
- 'info'?: { [key: string]: { [key: string]: string; }; } | null;
34
+ 'info'?: { [key: string]: { [key: string]: object; }; } | null;
35
35
  /**
36
36
  *
37
- * @type {{ [key: string]: { [key: string]: string; }; }}
37
+ * @type {{ [key: string]: { [key: string]: object; }; }}
38
38
  * @memberof InlineResponse503
39
39
  */
40
- 'error'?: { [key: string]: { [key: string]: string; }; } | null;
40
+ 'error'?: { [key: string]: { [key: string]: object; }; } | null;
41
41
  /**
42
42
  *
43
- * @type {{ [key: string]: { [key: string]: string; }; }}
43
+ * @type {{ [key: string]: { [key: string]: object; }; }}
44
44
  * @memberof InlineResponse503
45
45
  */
46
- 'details'?: { [key: string]: { [key: string]: string; }; };
46
+ 'details'?: { [key: string]: { [key: string]: object; }; };
47
47
  }
48
48
 
@@ -68,7 +68,7 @@ export interface PolicyDto {
68
68
  * @type {string}
69
69
  * @memberof PolicyDto
70
70
  */
71
- 'status': PolicyDtoStatusEnum;
71
+ 'status': string;
72
72
  /**
73
73
  * Policy holder.
74
74
  * @type {string}
@@ -100,32 +100,16 @@ export interface PolicyDto {
100
100
  */
101
101
  'productName': string;
102
102
  /**
103
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
103
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
104
104
  * @type {string}
105
105
  * @memberof PolicyDto
106
106
  */
107
107
  'productSlug': string;
108
108
  /**
109
- *
110
- * @type {string}
111
- * @memberof PolicyDto
112
- */
113
- 'policyStartDate': string;
114
- /**
115
- *
116
- * @type {string}
109
+ * Linked partners.
110
+ * @type {Array<string>}
117
111
  * @memberof PolicyDto
118
112
  */
119
- 'ern': string;
113
+ 'partnerLinks': Array<string>;
120
114
  }
121
115
 
122
- export const PolicyDtoStatusEnum = {
123
- Active: 'ACTIVE',
124
- Withdraw: 'WITHDRAW',
125
- Terminated: 'TERMINATED',
126
- Suspended: 'SUSPENDED'
127
- } as const;
128
-
129
- export type PolicyDtoStatusEnum = typeof PolicyDtoStatusEnum[keyof typeof PolicyDtoStatusEnum];
130
-
131
-
@@ -32,6 +32,18 @@ export interface PolicyObjectDto {
32
32
  * @memberof PolicyObjectDto
33
33
  */
34
34
  'insuredObjectName': string;
35
+ /**
36
+ * Insured object label.
37
+ * @type {string}
38
+ * @memberof PolicyObjectDto
39
+ */
40
+ 'insuredObjectLabel': string;
41
+ /**
42
+ * A boolean value indicating whether the insured object accepts multiple objects.
43
+ * @type {boolean}
44
+ * @memberof PolicyObjectDto
45
+ */
46
+ 'isMultiInsuredObject': boolean;
35
47
  /**
36
48
  * Insured object summary.
37
49
  * @type {string}
@@ -45,10 +57,16 @@ export interface PolicyObjectDto {
45
57
  */
46
58
  'data': object;
47
59
  /**
48
- *
60
+ * Time at which the object was created.
61
+ * @type {string}
62
+ * @memberof PolicyObjectDto
63
+ */
64
+ 'createdAt': string;
65
+ /**
66
+ * Time at which the object was updated.
49
67
  * @type {string}
50
68
  * @memberof PolicyObjectDto
51
69
  */
52
- 'code': string;
70
+ 'updatedAt': string;
53
71
  }
54
72
 
@@ -32,13 +32,13 @@ export interface PolicyPremiumDto {
32
32
  * @type {string}
33
33
  * @memberof PolicyPremiumDto
34
34
  */
35
- 'createdAt'?: string;
35
+ 'createdAt': string;
36
36
  /**
37
37
  * Time at which the object was updated.
38
38
  * @type {string}
39
39
  * @memberof PolicyPremiumDto
40
40
  */
41
- 'updatedAt'?: string;
41
+ 'updatedAt': string;
42
42
  /**
43
43
  * Premium Items.
44
44
  * @type {Array<PolicyPremiumItemDto>}
@@ -44,7 +44,7 @@ export interface PolicyPremiumItemDto {
44
44
  * @type {string}
45
45
  * @memberof PolicyPremiumItemDto
46
46
  */
47
- 'updatedAt'?: string;
47
+ 'updatedAt': string;
48
48
  /**
49
49
  * Item premium formula entity.
50
50
  * @type {PremiumFormulaDto}
@@ -56,6 +56,6 @@ export interface PolicyPremiumItemDto {
56
56
  * @type {boolean}
57
57
  * @memberof PolicyPremiumItemDto
58
58
  */
59
- 'isOverride'?: boolean;
59
+ 'isOverride': boolean;
60
60
  }
61
61
 
@@ -57,5 +57,11 @@ export interface PolicyVersionDto {
57
57
  * @memberof PolicyVersionDto
58
58
  */
59
59
  'timeline': Array<TimesliceDto>;
60
+ /**
61
+ * Is this a draft policy version?
62
+ * @type {boolean}
63
+ * @memberof PolicyVersionDto
64
+ */
65
+ 'isDraft': boolean;
60
66
  }
61
67
 
@@ -67,12 +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;
76
+ 'updatedAt': string;
77
77
  }
78
78
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/billing-sdk",
3
- "version": "1.8.0",
3
+ "version": "1.15.0",
4
4
  "description": "OpenAPI client for @emilgroup/billing-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -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,37 +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
- * Estimated invoice response.
26
- * @type {InvoiceClass}
27
- * @memberof CreateEstimatedInvoiceResponseClass
28
- */
29
- 'invoice': InvoiceClass;
30
- /**
31
- * 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.
32
- * @type {object}
33
- * @memberof CreateEstimatedInvoiceResponseClass
34
- */
35
- 'custom': object;
36
- }
37
-
@@ -1,45 +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
- } as const;
42
-
43
- export type CreateInvoiceStatusRequestDtoStatusEnum = typeof CreateInvoiceStatusRequestDtoStatusEnum[keyof typeof CreateInvoiceStatusRequestDtoStatusEnum];
44
-
45
-
@@ -1,54 +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
-