@emilgroup/partner-portal-sdk 1.1.1 → 1.5.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 (126) hide show
  1. package/.openapi-generator/FILES +46 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +51 -1
  5. package/api/intermediary-api.ts +1222 -0
  6. package/api.ts +27 -0
  7. package/base.ts +331 -0
  8. package/common.ts +198 -0
  9. package/configuration.ts +110 -0
  10. package/dist/api/intermediary-api.d.ts +704 -0
  11. package/dist/api/intermediary-api.js +1015 -0
  12. package/dist/api.d.ts +12 -0
  13. package/dist/api.js +30 -0
  14. package/dist/base.d.ts +86 -0
  15. package/dist/base.js +367 -0
  16. package/dist/common.d.ts +91 -0
  17. package/dist/common.js +276 -0
  18. package/dist/configuration.d.ts +89 -0
  19. package/dist/configuration.js +52 -0
  20. package/dist/index.d.ts +15 -0
  21. package/dist/index.js +36 -0
  22. package/dist/models/account-class.d.ts +176 -0
  23. package/dist/models/account-class.js +22 -0
  24. package/dist/models/account-policy-class.d.ts +147 -0
  25. package/dist/models/account-policy-class.js +15 -0
  26. package/dist/models/create-payment-method-request-dto.d.ts +31 -0
  27. package/dist/models/create-payment-method-request-dto.js +15 -0
  28. package/dist/models/create-policy-request-dto.d.ts +55 -0
  29. package/dist/models/create-policy-request-dto.js +15 -0
  30. package/dist/models/index.d.ts +32 -0
  31. package/dist/models/index.js +48 -0
  32. package/dist/models/insured-object-type-class.d.ts +60 -0
  33. package/dist/models/insured-object-type-class.js +15 -0
  34. package/dist/models/invoice-class.d.ts +152 -0
  35. package/dist/models/invoice-class.js +32 -0
  36. package/dist/models/invoice-item-class.d.ts +117 -0
  37. package/dist/models/invoice-item-class.js +24 -0
  38. package/dist/models/invoice-status-class.d.ts +49 -0
  39. package/dist/models/invoice-status-class.js +22 -0
  40. package/dist/models/lead-bank-account-class.d.ts +30 -0
  41. package/dist/models/lead-bank-account-class.js +15 -0
  42. package/dist/models/lead-class.d.ts +157 -0
  43. package/dist/models/lead-class.js +15 -0
  44. package/dist/models/list-accounts-response-class.d.ts +31 -0
  45. package/dist/models/list-accounts-response-class.js +15 -0
  46. package/dist/models/list-leads-response-class.d.ts +43 -0
  47. package/dist/models/list-leads-response-class.js +15 -0
  48. package/dist/models/list-partners-response-class.d.ts +31 -0
  49. package/dist/models/list-partners-response-class.js +15 -0
  50. package/dist/models/list-policies-response-class.d.ts +43 -0
  51. package/dist/models/list-policies-response-class.js +15 -0
  52. package/dist/models/omit-type-class.d.ts +84 -0
  53. package/dist/models/omit-type-class.js +15 -0
  54. package/dist/models/partner-class.d.ts +103 -0
  55. package/dist/models/partner-class.js +15 -0
  56. package/dist/models/partner-link-class.d.ts +98 -0
  57. package/dist/models/partner-link-class.js +15 -0
  58. package/dist/models/partner-role-class.d.ts +72 -0
  59. package/dist/models/partner-role-class.js +15 -0
  60. package/dist/models/policy-class.d.ts +147 -0
  61. package/dist/models/policy-class.js +15 -0
  62. package/dist/models/policy-object-class.d.ts +84 -0
  63. package/dist/models/policy-object-class.js +15 -0
  64. package/dist/models/policy-premium-class.d.ts +61 -0
  65. package/dist/models/policy-premium-class.js +15 -0
  66. package/dist/models/policy-premium-item-class.d.ts +67 -0
  67. package/dist/models/policy-premium-item-class.js +15 -0
  68. package/dist/models/policy-version-class.d.ts +79 -0
  69. package/dist/models/policy-version-class.js +15 -0
  70. package/dist/models/premium-formula-class.d.ts +108 -0
  71. package/dist/models/premium-formula-class.js +15 -0
  72. package/dist/models/premium-override-dto.d.ts +55 -0
  73. package/dist/models/premium-override-dto.js +27 -0
  74. package/dist/models/premium-override-request-dto.d.ts +25 -0
  75. package/dist/models/premium-override-request-dto.js +15 -0
  76. package/dist/models/product-class.d.ts +92 -0
  77. package/dist/models/product-class.js +15 -0
  78. package/dist/models/product-version-class.d.ts +73 -0
  79. package/dist/models/product-version-class.js +22 -0
  80. package/dist/models/sepa-dto.d.ts +30 -0
  81. package/dist/models/sepa-dto.js +15 -0
  82. package/dist/models/tag-class.d.ts +54 -0
  83. package/dist/models/tag-class.js +15 -0
  84. package/dist/models/timeslice-class.d.ts +74 -0
  85. package/dist/models/timeslice-class.js +15 -0
  86. package/dist/models/uploaded-document-dto.d.ts +24 -0
  87. package/dist/models/uploaded-document-dto.js +15 -0
  88. package/git_push.sh +57 -0
  89. package/index.ts +19 -0
  90. package/models/account-class.ts +185 -0
  91. package/models/account-policy-class.ts +153 -0
  92. package/models/create-payment-method-request-dto.ts +37 -0
  93. package/models/create-policy-request-dto.ts +61 -0
  94. package/models/index.ts +32 -0
  95. package/models/insured-object-type-class.ts +66 -0
  96. package/models/invoice-class.ts +162 -0
  97. package/models/invoice-item-class.ts +126 -0
  98. package/models/invoice-status-class.ts +58 -0
  99. package/models/lead-bank-account-class.ts +36 -0
  100. package/models/lead-class.ts +163 -0
  101. package/models/list-accounts-response-class.ts +37 -0
  102. package/models/list-leads-response-class.ts +49 -0
  103. package/models/list-partners-response-class.ts +37 -0
  104. package/models/list-policies-response-class.ts +49 -0
  105. package/models/omit-type-class.ts +90 -0
  106. package/models/partner-class.ts +109 -0
  107. package/models/partner-link-class.ts +104 -0
  108. package/models/partner-role-class.ts +78 -0
  109. package/models/policy-class.ts +153 -0
  110. package/models/policy-object-class.ts +90 -0
  111. package/models/policy-premium-class.ts +67 -0
  112. package/models/policy-premium-item-class.ts +73 -0
  113. package/models/policy-version-class.ts +85 -0
  114. package/models/premium-formula-class.ts +114 -0
  115. package/models/premium-override-dto.ts +65 -0
  116. package/models/premium-override-request-dto.ts +31 -0
  117. package/models/product-class.ts +98 -0
  118. package/models/product-version-class.ts +82 -0
  119. package/models/sepa-dto.ts +36 -0
  120. package/models/tag-class.ts +60 -0
  121. package/models/timeslice-class.ts +80 -0
  122. package/models/uploaded-document-dto.ts +30 -0
  123. package/package.json +22 -8
  124. package/tsconfig.json +23 -0
  125. package/index.js +0 -99
  126. package/scripts/deploy.js +0 -225
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal 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 { SepaDto } from './sepa-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreatePaymentMethodRequestDto
22
+ */
23
+ export interface CreatePaymentMethodRequestDto {
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreatePaymentMethodRequestDto
28
+ */
29
+ 'type': string;
30
+ /**
31
+ *
32
+ * @type {SepaDto}
33
+ * @memberof CreatePaymentMethodRequestDto
34
+ */
35
+ 'sepa'?: SepaDto;
36
+ }
37
+
@@ -0,0 +1,61 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal 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 { PremiumOverrideRequestDto } from './premium-override-request-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreatePolicyRequestDto
22
+ */
23
+ export interface CreatePolicyRequestDto {
24
+ /**
25
+ * The product version id of the product version to be used for the lead. The product version id will be validated if the \'validate\' flag is set to true.
26
+ * @type {number}
27
+ * @memberof CreatePolicyRequestDto
28
+ */
29
+ 'productVersionId': number;
30
+ /**
31
+ * Unique identifier of the The account code of the account the policy is attached to. that this object belongs to.
32
+ * @type {string}
33
+ * @memberof CreatePolicyRequestDto
34
+ */
35
+ 'accountCode'?: string;
36
+ /**
37
+ * Policy holder name. If not provided, the account holder name will be used.
38
+ * @type {string}
39
+ * @memberof CreatePolicyRequestDto
40
+ */
41
+ 'holder'?: string;
42
+ /**
43
+ * The policy objects contains necessary information to create a policy. The Policy objects array will be validated if the \'validate\' flag is set to true
44
+ * @type {Array<object>}
45
+ * @memberof CreatePolicyRequestDto
46
+ */
47
+ 'policyObjects'?: Array<object>;
48
+ /**
49
+ * Premium Override is utilized to override the premium calculation. The premium formulas will be disregarded when this object is present. The premium override content will be validated if the \'validate\' flag is set to true.
50
+ * @type {PremiumOverrideRequestDto}
51
+ * @memberof CreatePolicyRequestDto
52
+ */
53
+ 'premiumOverride'?: PremiumOverrideRequestDto;
54
+ /**
55
+ * Unique identifier of the lead that this object belongs to.
56
+ * @type {string}
57
+ * @memberof CreatePolicyRequestDto
58
+ */
59
+ 'leadCode'?: string;
60
+ }
61
+
@@ -0,0 +1,32 @@
1
+ export * from './account-class';
2
+ export * from './account-policy-class';
3
+ export * from './create-payment-method-request-dto';
4
+ export * from './create-policy-request-dto';
5
+ export * from './insured-object-type-class';
6
+ export * from './invoice-class';
7
+ export * from './invoice-item-class';
8
+ export * from './invoice-status-class';
9
+ export * from './lead-bank-account-class';
10
+ export * from './lead-class';
11
+ export * from './list-accounts-response-class';
12
+ export * from './list-leads-response-class';
13
+ export * from './list-partners-response-class';
14
+ export * from './list-policies-response-class';
15
+ export * from './omit-type-class';
16
+ export * from './partner-class';
17
+ export * from './partner-link-class';
18
+ export * from './partner-role-class';
19
+ export * from './policy-class';
20
+ export * from './policy-object-class';
21
+ export * from './policy-premium-class';
22
+ export * from './policy-premium-item-class';
23
+ export * from './policy-version-class';
24
+ export * from './premium-formula-class';
25
+ export * from './premium-override-dto';
26
+ export * from './premium-override-request-dto';
27
+ export * from './product-class';
28
+ export * from './product-version-class';
29
+ export * from './sepa-dto';
30
+ export * from './tag-class';
31
+ export * from './timeslice-class';
32
+ export * from './uploaded-document-dto';
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal 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 InsuredObjectTypeClass
21
+ */
22
+ export interface InsuredObjectTypeClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof InsuredObjectTypeClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Insured object type name.
31
+ * @type {string}
32
+ * @memberof InsuredObjectTypeClass
33
+ */
34
+ 'name': string;
35
+ /**
36
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
37
+ * @type {string}
38
+ * @memberof InsuredObjectTypeClass
39
+ */
40
+ 'slug': string;
41
+ /**
42
+ * Time at which the object was created.
43
+ * @type {string}
44
+ * @memberof InsuredObjectTypeClass
45
+ */
46
+ 'createdAt': string;
47
+ /**
48
+ * Time at which the object was updated.
49
+ * @type {string}
50
+ * @memberof InsuredObjectTypeClass
51
+ */
52
+ 'updatedAt': string;
53
+ /**
54
+ * Identifier of the user who created the record.
55
+ * @type {string}
56
+ * @memberof InsuredObjectTypeClass
57
+ */
58
+ 'createdBy': string;
59
+ /**
60
+ * Identifier of the user who last updated the record.
61
+ * @type {string}
62
+ * @memberof InsuredObjectTypeClass
63
+ */
64
+ 'updatedBy': string;
65
+ }
66
+
@@ -0,0 +1,162 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal 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 { InvoiceStatusClass } from './invoice-status-class';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface InvoiceClass
23
+ */
24
+ export interface InvoiceClass {
25
+ /**
26
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
27
+ * @type {number}
28
+ * @memberof InvoiceClass
29
+ */
30
+ 'id': number;
31
+ /**
32
+ * Unique identifier of the policy that this object belongs to.
33
+ * @type {string}
34
+ * @memberof InvoiceClass
35
+ */
36
+ 'policyCode': string;
37
+ /**
38
+ * Account number.
39
+ * @type {string}
40
+ * @memberof InvoiceClass
41
+ */
42
+ 'accountNumber': string;
43
+ /**
44
+ * Unique identifier of the invoice that this object belongs to.
45
+ * @type {string}
46
+ * @memberof InvoiceClass
47
+ */
48
+ 'code': string;
49
+ /**
50
+ * Invoice type.
51
+ * @type {string}
52
+ * @memberof InvoiceClass
53
+ */
54
+ 'type': InvoiceClassTypeEnum;
55
+ /**
56
+ * Invoice number.
57
+ * @type {string}
58
+ * @memberof InvoiceClass
59
+ */
60
+ 'invoiceNumber': string;
61
+ /**
62
+ * Net amount is in cents.
63
+ * @type {number}
64
+ * @memberof InvoiceClass
65
+ */
66
+ 'netAmount': number;
67
+ /**
68
+ * Tax amount is in cents.
69
+ * @type {number}
70
+ * @memberof InvoiceClass
71
+ */
72
+ 'taxAmount': number;
73
+ /**
74
+ * Credit amount.
75
+ * @type {number}
76
+ * @memberof InvoiceClass
77
+ */
78
+ 'creditAmount': number;
79
+ /**
80
+ * Gross amount. This property is sum of taxAmount and netAmount.
81
+ * @type {number}
82
+ * @memberof InvoiceClass
83
+ */
84
+ 'grossAmount': number;
85
+ /**
86
+ * Invoice status.
87
+ * @type {string}
88
+ * @memberof InvoiceClass
89
+ */
90
+ 'status': InvoiceClassStatusEnum;
91
+ /**
92
+ * Invoice due date.
93
+ * @type {string}
94
+ * @memberof InvoiceClass
95
+ */
96
+ 'dueDate': string;
97
+ /**
98
+ * Metadata contains extra information that the object would need for specific cases.
99
+ * @type {object}
100
+ * @memberof InvoiceClass
101
+ */
102
+ 'metadata': object;
103
+ /**
104
+ * Start date of billing interval.
105
+ * @type {string}
106
+ * @memberof InvoiceClass
107
+ */
108
+ 'billingIntervalFrom': string;
109
+ /**
110
+ * End date of billing interval.
111
+ * @type {string}
112
+ * @memberof InvoiceClass
113
+ */
114
+ 'billingIntervalTo': string;
115
+ /**
116
+ * Time at which the object was created.
117
+ * @type {string}
118
+ * @memberof InvoiceClass
119
+ */
120
+ 'createdAt': string;
121
+ /**
122
+ * Invoice items.
123
+ * @type {Array<InvoiceItemClass>}
124
+ * @memberof InvoiceClass
125
+ */
126
+ 'invoiceItems': Array<InvoiceItemClass>;
127
+ /**
128
+ * Invoice statuses.
129
+ * @type {Array<InvoiceStatusClass>}
130
+ * @memberof InvoiceClass
131
+ */
132
+ 'statuses': Array<InvoiceStatusClass>;
133
+ /**
134
+ * Invoice currency. EUR is used by default.
135
+ * @type {string}
136
+ * @memberof InvoiceClass
137
+ */
138
+ 'currency': string;
139
+ }
140
+
141
+ export const InvoiceClassTypeEnum = {
142
+ Initial: 'initial',
143
+ Recurring: 'recurring',
144
+ Correction: 'correction',
145
+ Estimated: 'estimated',
146
+ Penalty: 'penalty',
147
+ Other: 'other',
148
+ Withdraw: 'withdraw',
149
+ Final: 'final'
150
+ } as const;
151
+
152
+ export type InvoiceClassTypeEnum = typeof InvoiceClassTypeEnum[keyof typeof InvoiceClassTypeEnum];
153
+ export const InvoiceClassStatusEnum = {
154
+ Open: 'open',
155
+ Paid: 'paid',
156
+ PartiallyPaid: 'partially-paid',
157
+ Refunded: 'refunded'
158
+ } as const;
159
+
160
+ export type InvoiceClassStatusEnum = typeof InvoiceClassStatusEnum[keyof typeof InvoiceClassStatusEnum];
161
+
162
+
@@ -0,0 +1,126 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal 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 InvoiceItemClass
21
+ */
22
+ export interface InvoiceItemClass {
23
+ /**
24
+ * Unique identifier referencing the invoice item.
25
+ * @type {number}
26
+ * @memberof InvoiceItemClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier referencing the premium formula.
31
+ * @type {number}
32
+ * @memberof InvoiceItemClass
33
+ */
34
+ 'premiumFormulaId': number;
35
+ /**
36
+ * Product name.
37
+ * @type {string}
38
+ * @memberof InvoiceItemClass
39
+ */
40
+ 'name': string;
41
+ /**
42
+ * Tax code.
43
+ * @type {string}
44
+ * @memberof InvoiceItemClass
45
+ */
46
+ 'taxCode': string;
47
+ /**
48
+ * Unit of Premium units are determined based on time or distance.
49
+ * @type {string}
50
+ * @memberof InvoiceItemClass
51
+ */
52
+ 'unit': InvoiceItemClassUnitEnum;
53
+ /**
54
+ * Invoice group.
55
+ * @type {string}
56
+ * @memberof InvoiceItemClass
57
+ */
58
+ 'group': string;
59
+ /**
60
+ * Item quantity. This property determines number of days during the billing interval.
61
+ * @type {number}
62
+ * @memberof InvoiceItemClass
63
+ */
64
+ 'quantity': number;
65
+ /**
66
+ * Item price per unit.
67
+ * @type {number}
68
+ * @memberof InvoiceItemClass
69
+ */
70
+ 'pricePerUnit': number;
71
+ /**
72
+ * Item tax rate.
73
+ * @type {number}
74
+ * @memberof InvoiceItemClass
75
+ */
76
+ 'taxRate': number;
77
+ /**
78
+ * Net amount in cents. It is the result of the multiplication of the quantity by the pricePerUnit.
79
+ * @type {number}
80
+ * @memberof InvoiceItemClass
81
+ */
82
+ 'netAmount': number;
83
+ /**
84
+ * Tax amount in cents.
85
+ * @type {number}
86
+ * @memberof InvoiceItemClass
87
+ */
88
+ 'taxAmount': number;
89
+ /**
90
+ * Gross amount in cents. It is the result of the sum of taxAmount and netAmount.
91
+ * @type {number}
92
+ * @memberof InvoiceItemClass
93
+ */
94
+ 'grossAmount': number;
95
+ /**
96
+ * Credit amount.
97
+ * @type {number}
98
+ * @memberof InvoiceItemClass
99
+ */
100
+ 'creditAmount': number;
101
+ /**
102
+ * This is the date at which the invoice item interval starts.
103
+ * @type {string}
104
+ * @memberof InvoiceItemClass
105
+ */
106
+ 'billingIntervalFrom': string;
107
+ /**
108
+ * This is the date at which the invoice item interval ends.
109
+ * @type {string}
110
+ * @memberof InvoiceItemClass
111
+ */
112
+ 'billingIntervalTo': string;
113
+ }
114
+
115
+ export const InvoiceItemClassUnitEnum = {
116
+ Day: 'day',
117
+ Week: 'week',
118
+ Month: 'month',
119
+ Quarter: 'quarter',
120
+ Year: 'year',
121
+ OneTimePayment: 'oneTimePayment'
122
+ } as const;
123
+
124
+ export type InvoiceItemClassUnitEnum = typeof InvoiceItemClassUnitEnum[keyof typeof InvoiceItemClassUnitEnum];
125
+
126
+
@@ -0,0 +1,58 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal 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 InvoiceStatusClass
21
+ */
22
+ export interface InvoiceStatusClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof InvoiceStatusClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier referencing the invoice.
31
+ * @type {number}
32
+ * @memberof InvoiceStatusClass
33
+ */
34
+ 'invoiceId': number;
35
+ /**
36
+ * Invoice type.
37
+ * @type {string}
38
+ * @memberof InvoiceStatusClass
39
+ */
40
+ 'status': InvoiceStatusClassStatusEnum;
41
+ /**
42
+ * Time at which the object was created.
43
+ * @type {string}
44
+ * @memberof InvoiceStatusClass
45
+ */
46
+ 'createdAt': string;
47
+ }
48
+
49
+ export const InvoiceStatusClassStatusEnum = {
50
+ Open: 'open',
51
+ Paid: 'paid',
52
+ PartiallyPaid: 'partially-paid',
53
+ Refunded: 'refunded'
54
+ } as const;
55
+
56
+ export type InvoiceStatusClassStatusEnum = typeof InvoiceStatusClassStatusEnum[keyof typeof InvoiceStatusClassStatusEnum];
57
+
58
+
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL PartnerPortal
5
+ * The EMIL PartnerPortal 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 LeadBankAccountClass
21
+ */
22
+ export interface LeadBankAccountClass {
23
+ /**
24
+ * Account code place-holder.
25
+ * @type {string}
26
+ * @memberof LeadBankAccountClass
27
+ */
28
+ 'accountCode': string;
29
+ /**
30
+ * Bank account IBAN.
31
+ * @type {string}
32
+ * @memberof LeadBankAccountClass
33
+ */
34
+ 'iban': string;
35
+ }
36
+