@emilgroup/billing-sdk 1.63.1-beta.5 → 1.63.1-beta.7

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 (45) hide show
  1. package/.openapi-generator/FILES +1 -4
  2. package/README.md +2 -2
  3. package/api.ts +0 -2
  4. package/dist/api.d.ts +0 -1
  5. package/dist/api.js +0 -1
  6. package/dist/models/create-correction-invoices-response-class.d.ts +3 -3
  7. package/dist/models/create-custom-estimated-invoice-request-dto.d.ts +2 -4
  8. package/dist/models/create-draft-invoice-request-dto.d.ts +2 -4
  9. package/dist/models/create-estimated-invoice-for-interval-request-dto.d.ts +2 -4
  10. package/dist/models/create-estimated-invoice-request-dto.d.ts +2 -4
  11. package/dist/models/create-invoice-for-policy-request-dto.d.ts +2 -4
  12. package/dist/models/create-invoice-request-dto.d.ts +2 -4
  13. package/dist/models/create-invoice-response-class.d.ts +3 -3
  14. package/dist/models/create-termination-invoice-request-dto.d.ts +2 -4
  15. package/dist/models/get-invoice-response-class.d.ts +3 -3
  16. package/dist/models/index.d.ts +1 -3
  17. package/dist/models/index.js +1 -3
  18. package/dist/models/{omit-invoice-class-statuses.d.ts → omit-type-class.d.ts} +37 -37
  19. package/dist/models/{omit-invoice-class-statuses.js → omit-type-class.js} +3 -3
  20. package/dist/models/policy-object-dto.d.ts +2 -4
  21. package/dist/models/policy-version-dto.d.ts +2 -4
  22. package/models/create-correction-invoices-response-class.ts +3 -3
  23. package/models/create-custom-estimated-invoice-request-dto.ts +2 -2
  24. package/models/create-draft-invoice-request-dto.ts +2 -2
  25. package/models/create-estimated-invoice-for-interval-request-dto.ts +2 -2
  26. package/models/create-estimated-invoice-request-dto.ts +2 -2
  27. package/models/create-invoice-for-policy-request-dto.ts +2 -2
  28. package/models/create-invoice-request-dto.ts +2 -2
  29. package/models/create-invoice-response-class.ts +3 -3
  30. package/models/create-termination-invoice-request-dto.ts +2 -2
  31. package/models/get-invoice-response-class.ts +3 -3
  32. package/models/index.ts +1 -3
  33. package/models/{omit-invoice-class-statuses.ts → omit-type-class.ts} +37 -37
  34. package/models/policy-object-dto.ts +2 -2
  35. package/models/policy-version-dto.ts +2 -2
  36. package/package.json +1 -1
  37. package/api/withdraw-invoices-api.ts +0 -179
  38. package/dist/api/withdraw-invoices-api.d.ts +0 -106
  39. package/dist/api/withdraw-invoices-api.js +0 -230
  40. package/dist/models/create-withdraw-invoice-request-dto-rest.d.ts +0 -50
  41. package/dist/models/create-withdraw-invoice-request-dto-rest.js +0 -15
  42. package/dist/models/create-withdraw-invoice-request-dto.d.ts +0 -50
  43. package/dist/models/create-withdraw-invoice-request-dto.js +0 -15
  44. package/models/create-withdraw-invoice-request-dto-rest.ts +0 -54
  45. package/models/create-withdraw-invoice-request-dto.ts +0 -54
@@ -12,7 +12,6 @@ api/invoices-api.ts
12
12
  api/policy-billing-api.ts
13
13
  api/recurring-invoices-api.ts
14
14
  api/termination-invoices-api.ts
15
- api/withdraw-invoices-api.ts
16
15
  base.ts
17
16
  common.ts
18
17
  configuration.ts
@@ -37,8 +36,6 @@ models/create-policy-billing-response-class.ts
37
36
  models/create-product-estimated-invoice-request-dto.ts
38
37
  models/create-product-estimated-invoice-response-class.ts
39
38
  models/create-termination-invoice-request-dto.ts
40
- models/create-withdraw-invoice-request-dto-rest.ts
41
- models/create-withdraw-invoice-request-dto.ts
42
39
  models/get-invoice-response-class.ts
43
40
  models/index.ts
44
41
  models/inline-response200.ts
@@ -51,7 +48,7 @@ models/invoice-status-class.ts
51
48
  models/list-invoices-response-class.ts
52
49
  models/list-policies-billings-response-class.ts
53
50
  models/list-request-dto.ts
54
- models/omit-invoice-class-statuses.ts
51
+ models/omit-type-class.ts
55
52
  models/policy-billing-class.ts
56
53
  models/policy-dto.ts
57
54
  models/policy-object-dto.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/billing-sdk@1.63.1-beta.5 --save
20
+ npm install @emilgroup/billing-sdk@1.63.1-beta.7 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/billing-sdk@1.63.1-beta.5
24
+ yarn add @emilgroup/billing-sdk@1.63.1-beta.7
25
25
  ```
26
26
 
27
27
  And then you can import `InvoicesApi`.
package/api.ts CHANGED
@@ -29,7 +29,6 @@ import { InvoicesApi } from './api';
29
29
  import { PolicyBillingApi } from './api';
30
30
  import { RecurringInvoicesApi } from './api';
31
31
  import { TerminationInvoicesApi } from './api';
32
- import { WithdrawInvoicesApi } from './api';
33
32
 
34
33
 
35
34
  export * from './api/correction-invoices-api';
@@ -41,5 +40,4 @@ export * from './api/invoices-api';
41
40
  export * from './api/policy-billing-api';
42
41
  export * from './api/recurring-invoices-api';
43
42
  export * from './api/termination-invoices-api';
44
- export * from './api/withdraw-invoices-api';
45
43
 
package/dist/api.d.ts CHANGED
@@ -18,4 +18,3 @@ export * from './api/invoices-api';
18
18
  export * from './api/policy-billing-api';
19
19
  export * from './api/recurring-invoices-api';
20
20
  export * from './api/termination-invoices-api';
21
- export * from './api/withdraw-invoices-api';
package/dist/api.js CHANGED
@@ -36,4 +36,3 @@ __exportStar(require("./api/invoices-api"), exports);
36
36
  __exportStar(require("./api/policy-billing-api"), exports);
37
37
  __exportStar(require("./api/recurring-invoices-api"), exports);
38
38
  __exportStar(require("./api/termination-invoices-api"), exports);
39
- __exportStar(require("./api/withdraw-invoices-api"), exports);
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { OmitInvoiceClassStatuses } from './omit-invoice-class-statuses';
12
+ import { OmitTypeClass } from './omit-type-class';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,8 +18,8 @@ import { OmitInvoiceClassStatuses } from './omit-invoice-class-statuses';
18
18
  export interface CreateCorrectionInvoicesResponseClass {
19
19
  /**
20
20
  * Correction invoices response.
21
- * @type {OmitInvoiceClassStatuses}
21
+ * @type {OmitTypeClass}
22
22
  * @memberof CreateCorrectionInvoicesResponseClass
23
23
  */
24
- 'invoices': OmitInvoiceClassStatuses;
24
+ 'invoices': OmitTypeClass;
25
25
  }
@@ -17,12 +17,10 @@
17
17
  export interface CreateCustomEstimatedInvoiceRequestDto {
18
18
  /**
19
19
  * Required data to create a custom application.
20
- * @type {{ [key: string]: object; }}
20
+ * @type {object}
21
21
  * @memberof CreateCustomEstimatedInvoiceRequestDto
22
22
  */
23
- 'data': {
24
- [key: string]: object;
25
- };
23
+ 'data': object;
26
24
  /**
27
25
  * Custom premium provider.
28
26
  * @type {string}
@@ -41,12 +41,10 @@ export interface CreateDraftInvoiceRequestDto {
41
41
  'accountNumber': string;
42
42
  /**
43
43
  * Metadata contains extra information that the object would need for specific cases.
44
- * @type {{ [key: string]: object; }}
44
+ * @type {object}
45
45
  * @memberof CreateDraftInvoiceRequestDto
46
46
  */
47
- 'metadata'?: {
48
- [key: string]: object;
49
- };
47
+ 'metadata': object;
50
48
  /**
51
49
  * This is the date from which the invoice interval starts.
52
50
  * @type {string}
@@ -24,12 +24,10 @@ export interface CreateEstimatedInvoiceForIntervalRequestDto {
24
24
  'policy': PolicyDto;
25
25
  /**
26
26
  * Metadata contains extra information that the object would need for specific cases.
27
- * @type {{ [key: string]: object; }}
27
+ * @type {object}
28
28
  * @memberof CreateEstimatedInvoiceForIntervalRequestDto
29
29
  */
30
- 'metadata'?: {
31
- [key: string]: object;
32
- };
30
+ 'metadata'?: object;
33
31
  /**
34
32
  * 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.
35
33
  * @type {boolean}
@@ -24,12 +24,10 @@ export interface CreateEstimatedInvoiceRequestDto {
24
24
  'policy': PolicyDto;
25
25
  /**
26
26
  * Metadata contains extra information that the object would need for specific cases.
27
- * @type {{ [key: string]: object; }}
27
+ * @type {object}
28
28
  * @memberof CreateEstimatedInvoiceRequestDto
29
29
  */
30
- 'metadata'?: {
31
- [key: string]: object;
32
- };
30
+ 'metadata'?: object;
33
31
  /**
34
32
  *
35
33
  * @type {boolean}
@@ -47,12 +47,10 @@ export interface CreateInvoiceForPolicyRequestDto {
47
47
  'type'?: CreateInvoiceForPolicyRequestDtoTypeEnum;
48
48
  /**
49
49
  * Metadata contains extra information that the object would need for specific cases.
50
- * @type {{ [key: string]: object; }}
50
+ * @type {object}
51
51
  * @memberof CreateInvoiceForPolicyRequestDto
52
52
  */
53
- 'metadata'?: {
54
- [key: string]: object;
55
- };
53
+ 'metadata'?: object;
56
54
  /**
57
55
  * This is the date from which the invoice interval starts.
58
56
  * @type {string}
@@ -36,12 +36,10 @@ export interface CreateInvoiceRequestDto {
36
36
  'type': CreateInvoiceRequestDtoTypeEnum;
37
37
  /**
38
38
  * Metadata contains extra information that the object would need for specific cases.
39
- * @type {{ [key: string]: object; }}
39
+ * @type {object}
40
40
  * @memberof CreateInvoiceRequestDto
41
41
  */
42
- 'metadata'?: {
43
- [key: string]: object;
44
- };
42
+ 'metadata': object;
45
43
  /**
46
44
  * This is the date from which the invoice interval starts.
47
45
  * @type {string}
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { OmitInvoiceClassStatuses } from './omit-invoice-class-statuses';
12
+ import { OmitTypeClass } from './omit-type-class';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,8 +18,8 @@ import { OmitInvoiceClassStatuses } from './omit-invoice-class-statuses';
18
18
  export interface CreateInvoiceResponseClass {
19
19
  /**
20
20
  * Invoice response.
21
- * @type {OmitInvoiceClassStatuses}
21
+ * @type {OmitTypeClass}
22
22
  * @memberof CreateInvoiceResponseClass
23
23
  */
24
- 'invoice': OmitInvoiceClassStatuses;
24
+ 'invoice': OmitTypeClass;
25
25
  }
@@ -29,12 +29,10 @@ export interface CreateTerminationInvoiceRequestDto {
29
29
  'accountNumber': string;
30
30
  /**
31
31
  *
32
- * @type {{ [key: string]: object; }}
32
+ * @type {object}
33
33
  * @memberof CreateTerminationInvoiceRequestDto
34
34
  */
35
- 'metadata'?: {
36
- [key: string]: object;
37
- };
35
+ 'metadata'?: object;
38
36
  /**
39
37
  *
40
38
  * @type {string}
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { OmitInvoiceClassStatuses } from './omit-invoice-class-statuses';
12
+ import { OmitTypeClass } from './omit-type-class';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,8 +18,8 @@ import { OmitInvoiceClassStatuses } from './omit-invoice-class-statuses';
18
18
  export interface GetInvoiceResponseClass {
19
19
  /**
20
20
  * Invoice response.
21
- * @type {OmitInvoiceClassStatuses}
21
+ * @type {OmitTypeClass}
22
22
  * @memberof GetInvoiceResponseClass
23
23
  */
24
- 'invoice': OmitInvoiceClassStatuses;
24
+ 'invoice': OmitTypeClass;
25
25
  }
@@ -17,8 +17,6 @@ export * from './create-policy-billing-response-class';
17
17
  export * from './create-product-estimated-invoice-request-dto';
18
18
  export * from './create-product-estimated-invoice-response-class';
19
19
  export * from './create-termination-invoice-request-dto';
20
- export * from './create-withdraw-invoice-request-dto';
21
- export * from './create-withdraw-invoice-request-dto-rest';
22
20
  export * from './get-invoice-response-class';
23
21
  export * from './inline-response200';
24
22
  export * from './inline-response503';
@@ -30,7 +28,7 @@ export * from './invoice-status-class';
30
28
  export * from './list-invoices-response-class';
31
29
  export * from './list-policies-billings-response-class';
32
30
  export * from './list-request-dto';
33
- export * from './omit-invoice-class-statuses';
31
+ export * from './omit-type-class';
34
32
  export * from './policy-billing-class';
35
33
  export * from './policy-dto';
36
34
  export * from './policy-object-dto';
@@ -33,8 +33,6 @@ __exportStar(require("./create-policy-billing-response-class"), exports);
33
33
  __exportStar(require("./create-product-estimated-invoice-request-dto"), exports);
34
34
  __exportStar(require("./create-product-estimated-invoice-response-class"), exports);
35
35
  __exportStar(require("./create-termination-invoice-request-dto"), exports);
36
- __exportStar(require("./create-withdraw-invoice-request-dto"), exports);
37
- __exportStar(require("./create-withdraw-invoice-request-dto-rest"), exports);
38
36
  __exportStar(require("./get-invoice-response-class"), exports);
39
37
  __exportStar(require("./inline-response200"), exports);
40
38
  __exportStar(require("./inline-response503"), exports);
@@ -46,7 +44,7 @@ __exportStar(require("./invoice-status-class"), exports);
46
44
  __exportStar(require("./list-invoices-response-class"), exports);
47
45
  __exportStar(require("./list-policies-billings-response-class"), exports);
48
46
  __exportStar(require("./list-request-dto"), exports);
49
- __exportStar(require("./omit-invoice-class-statuses"), exports);
47
+ __exportStar(require("./omit-type-class"), exports);
50
48
  __exportStar(require("./policy-billing-class"), exports);
51
49
  __exportStar(require("./policy-dto"), exports);
52
50
  __exportStar(require("./policy-object-dto"), exports);
@@ -14,185 +14,185 @@ import { InvoicePaymentsClass } from './invoice-payments-class';
14
14
  /**
15
15
  *
16
16
  * @export
17
- * @interface OmitInvoiceClassStatuses
17
+ * @interface OmitTypeClass
18
18
  */
19
- export interface OmitInvoiceClassStatuses {
19
+ export interface OmitTypeClass {
20
20
  /**
21
21
  * Internal unique identifier for the object. You should not have to use this, use code instead.
22
22
  * @type {number}
23
- * @memberof OmitInvoiceClassStatuses
23
+ * @memberof OmitTypeClass
24
24
  */
25
25
  'id': number;
26
26
  /**
27
27
  * Unique identifier of the policy that this object belongs to.
28
28
  * @type {string}
29
- * @memberof OmitInvoiceClassStatuses
29
+ * @memberof OmitTypeClass
30
30
  */
31
31
  'policyCode': string;
32
32
  /**
33
33
  * Account number.
34
34
  * @type {string}
35
- * @memberof OmitInvoiceClassStatuses
35
+ * @memberof OmitTypeClass
36
36
  */
37
37
  'accountNumber': string;
38
38
  /**
39
39
  * Policy number.
40
40
  * @type {string}
41
- * @memberof OmitInvoiceClassStatuses
41
+ * @memberof OmitTypeClass
42
42
  */
43
43
  'policyNumber': string;
44
44
  /**
45
45
  * Unique identifier for the object.
46
46
  * @type {string}
47
- * @memberof OmitInvoiceClassStatuses
47
+ * @memberof OmitTypeClass
48
48
  */
49
49
  'code': string;
50
50
  /**
51
51
  * Invoice type.
52
52
  * @type {string}
53
- * @memberof OmitInvoiceClassStatuses
53
+ * @memberof OmitTypeClass
54
54
  */
55
- 'type': OmitInvoiceClassStatusesTypeEnum;
55
+ 'type': OmitTypeClassTypeEnum;
56
56
  /**
57
57
  * Invoice number.
58
58
  * @type {string}
59
- * @memberof OmitInvoiceClassStatuses
59
+ * @memberof OmitTypeClass
60
60
  */
61
61
  'invoiceNumber': string;
62
62
  /**
63
63
  * Net amount is in cents.
64
64
  * @type {number}
65
- * @memberof OmitInvoiceClassStatuses
65
+ * @memberof OmitTypeClass
66
66
  */
67
67
  'netAmount': number;
68
68
  /**
69
69
  * Tax amount is in cents.
70
70
  * @type {number}
71
- * @memberof OmitInvoiceClassStatuses
71
+ * @memberof OmitTypeClass
72
72
  */
73
73
  'taxAmount': number;
74
74
  /**
75
75
  * Credit amount.
76
76
  * @type {number}
77
- * @memberof OmitInvoiceClassStatuses
77
+ * @memberof OmitTypeClass
78
78
  */
79
79
  'creditAmount': number;
80
80
  /**
81
81
  * Gross amount. This property is sum of taxAmount and netAmount.
82
82
  * @type {number}
83
- * @memberof OmitInvoiceClassStatuses
83
+ * @memberof OmitTypeClass
84
84
  */
85
85
  'grossAmount': number;
86
86
  /**
87
87
  * 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.
88
88
  * @type {number}
89
- * @memberof OmitInvoiceClassStatuses
89
+ * @memberof OmitTypeClass
90
90
  */
91
91
  'paidAmount': number;
92
92
  /**
93
93
  * Invoice status.
94
94
  * @type {string}
95
- * @memberof OmitInvoiceClassStatuses
95
+ * @memberof OmitTypeClass
96
96
  */
97
- 'status': OmitInvoiceClassStatusesStatusEnum;
97
+ 'status': OmitTypeClassStatusEnum;
98
98
  /**
99
99
  * Invoice due date.
100
100
  * @type {string}
101
- * @memberof OmitInvoiceClassStatuses
101
+ * @memberof OmitTypeClass
102
102
  */
103
103
  'dueDate': string;
104
104
  /**
105
105
  * Metadata contains extra information that the object would need for specific cases.
106
106
  * @type {object}
107
- * @memberof OmitInvoiceClassStatuses
107
+ * @memberof OmitTypeClass
108
108
  */
109
109
  'metadata': object;
110
110
  /**
111
111
  * Start date of billing interval.
112
112
  * @type {string}
113
- * @memberof OmitInvoiceClassStatuses
113
+ * @memberof OmitTypeClass
114
114
  */
115
115
  'billingIntervalFrom': string;
116
116
  /**
117
117
  * End date of billing interval.
118
118
  * @type {string}
119
- * @memberof OmitInvoiceClassStatuses
119
+ * @memberof OmitTypeClass
120
120
  */
121
121
  'billingIntervalTo': string;
122
122
  /**
123
123
  * Time at which the object was created.
124
124
  * @type {string}
125
- * @memberof OmitInvoiceClassStatuses
125
+ * @memberof OmitTypeClass
126
126
  */
127
127
  'createdAt': string;
128
128
  /**
129
129
  * Invoice items.
130
130
  * @type {Array<InvoiceItemClass>}
131
- * @memberof OmitInvoiceClassStatuses
131
+ * @memberof OmitTypeClass
132
132
  */
133
133
  'invoiceItems': Array<InvoiceItemClass>;
134
134
  /**
135
135
  * Invoice currency. EUR is used by default.
136
136
  * @type {string}
137
- * @memberof OmitInvoiceClassStatuses
137
+ * @memberof OmitTypeClass
138
138
  */
139
139
  'currency': string;
140
140
  /**
141
141
  * Invoice payments.
142
142
  * @type {InvoicePaymentsClass}
143
- * @memberof OmitInvoiceClassStatuses
143
+ * @memberof OmitTypeClass
144
144
  */
145
145
  'payments': InvoicePaymentsClass;
146
146
  /**
147
147
  * Identifier of the user who created the record.
148
148
  * @type {string}
149
- * @memberof OmitInvoiceClassStatuses
149
+ * @memberof OmitTypeClass
150
150
  */
151
151
  'createdBy': string;
152
152
  /**
153
153
  * Identifier of the user who last updated the record.
154
154
  * @type {string}
155
- * @memberof OmitInvoiceClassStatuses
155
+ * @memberof OmitTypeClass
156
156
  */
157
157
  'updatedBy': string;
158
158
  /**
159
159
  * Invoice payment method code.
160
160
  * @type {string}
161
- * @memberof OmitInvoiceClassStatuses
161
+ * @memberof OmitTypeClass
162
162
  */
163
163
  'paymentMethodCode': string;
164
164
  /**
165
165
  * Invoice payment method Payment Service Provider.
166
166
  * @type {string}
167
- * @memberof OmitInvoiceClassStatuses
167
+ * @memberof OmitTypeClass
168
168
  */
169
169
  'paymentMethodPsp': string;
170
170
  /**
171
171
  * Invoice payment method type (e.g. card, bank transfer, etc.).
172
172
  * @type {string}
173
- * @memberof OmitInvoiceClassStatuses
173
+ * @memberof OmitTypeClass
174
174
  */
175
175
  'paymentMethodType': string;
176
176
  /**
177
177
  * Dunning fees.
178
178
  * @type {number}
179
- * @memberof OmitInvoiceClassStatuses
179
+ * @memberof OmitTypeClass
180
180
  */
181
181
  'dunningFees': number;
182
182
  /**
183
183
  * Total amount.
184
184
  * @type {number}
185
- * @memberof OmitInvoiceClassStatuses
185
+ * @memberof OmitTypeClass
186
186
  */
187
187
  'totalAmount': number;
188
188
  /**
189
189
  * Open amount.
190
190
  * @type {number}
191
- * @memberof OmitInvoiceClassStatuses
191
+ * @memberof OmitTypeClass
192
192
  */
193
193
  'openAmount': number;
194
194
  }
195
- export declare const OmitInvoiceClassStatusesTypeEnum: {
195
+ export declare const OmitTypeClassTypeEnum: {
196
196
  readonly Initial: "initial";
197
197
  readonly Recurring: "recurring";
198
198
  readonly Correction: "correction";
@@ -202,11 +202,11 @@ export declare const OmitInvoiceClassStatusesTypeEnum: {
202
202
  readonly Withdraw: "withdraw";
203
203
  readonly Final: "final";
204
204
  };
205
- export type OmitInvoiceClassStatusesTypeEnum = typeof OmitInvoiceClassStatusesTypeEnum[keyof typeof OmitInvoiceClassStatusesTypeEnum];
206
- export declare const OmitInvoiceClassStatusesStatusEnum: {
205
+ export type OmitTypeClassTypeEnum = typeof OmitTypeClassTypeEnum[keyof typeof OmitTypeClassTypeEnum];
206
+ export declare const OmitTypeClassStatusEnum: {
207
207
  readonly Open: "open";
208
208
  readonly Paid: "paid";
209
209
  readonly PartiallyPaid: "partially-paid";
210
210
  readonly Refunded: "refunded";
211
211
  };
212
- export type OmitInvoiceClassStatusesStatusEnum = typeof OmitInvoiceClassStatusesStatusEnum[keyof typeof OmitInvoiceClassStatusesStatusEnum];
212
+ export type OmitTypeClassStatusEnum = typeof OmitTypeClassStatusEnum[keyof typeof OmitTypeClassStatusEnum];
@@ -13,8 +13,8 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.OmitInvoiceClassStatusesStatusEnum = exports.OmitInvoiceClassStatusesTypeEnum = void 0;
17
- exports.OmitInvoiceClassStatusesTypeEnum = {
16
+ exports.OmitTypeClassStatusEnum = exports.OmitTypeClassTypeEnum = void 0;
17
+ exports.OmitTypeClassTypeEnum = {
18
18
  Initial: 'initial',
19
19
  Recurring: 'recurring',
20
20
  Correction: 'correction',
@@ -24,7 +24,7 @@ exports.OmitInvoiceClassStatusesTypeEnum = {
24
24
  Withdraw: 'withdraw',
25
25
  Final: 'final'
26
26
  };
27
- exports.OmitInvoiceClassStatusesStatusEnum = {
27
+ exports.OmitTypeClassStatusEnum = {
28
28
  Open: 'open',
29
29
  Paid: 'paid',
30
30
  PartiallyPaid: 'partially-paid',
@@ -47,12 +47,10 @@ export interface PolicyObjectDto {
47
47
  'summary': string;
48
48
  /**
49
49
  * Insured object data.
50
- * @type {{ [key: string]: object; }}
50
+ * @type {object}
51
51
  * @memberof PolicyObjectDto
52
52
  */
53
- 'data': {
54
- [key: string]: object;
55
- };
53
+ 'data': object;
56
54
  /**
57
55
  * Time at which the object was created.
58
56
  * @type {string}
@@ -30,12 +30,10 @@ export interface PolicyVersionDto {
30
30
  'isCurrent': boolean;
31
31
  /**
32
32
  * Metadata contains extra information that the object would need for specific cases.
33
- * @type {{ [key: string]: object; }}
33
+ * @type {object}
34
34
  * @memberof PolicyVersionDto
35
35
  */
36
- 'metadata'?: {
37
- [key: string]: object;
38
- };
36
+ 'metadata'?: object;
39
37
  /**
40
38
  * Time at which the object was created.
41
39
  * @type {string}
@@ -13,7 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
- import { OmitInvoiceClassStatuses } from './omit-invoice-class-statuses';
16
+ import { OmitTypeClass } from './omit-type-class';
17
17
 
18
18
  /**
19
19
  *
@@ -23,9 +23,9 @@ import { OmitInvoiceClassStatuses } from './omit-invoice-class-statuses';
23
23
  export interface CreateCorrectionInvoicesResponseClass {
24
24
  /**
25
25
  * Correction invoices response.
26
- * @type {OmitInvoiceClassStatuses}
26
+ * @type {OmitTypeClass}
27
27
  * @memberof CreateCorrectionInvoicesResponseClass
28
28
  */
29
- 'invoices': OmitInvoiceClassStatuses;
29
+ 'invoices': OmitTypeClass;
30
30
  }
31
31
 
@@ -22,10 +22,10 @@
22
22
  export interface CreateCustomEstimatedInvoiceRequestDto {
23
23
  /**
24
24
  * Required data to create a custom application.
25
- * @type {{ [key: string]: object; }}
25
+ * @type {object}
26
26
  * @memberof CreateCustomEstimatedInvoiceRequestDto
27
27
  */
28
- 'data': { [key: string]: object; };
28
+ 'data': object;
29
29
  /**
30
30
  * Custom premium provider.
31
31
  * @type {string}
@@ -46,10 +46,10 @@ export interface CreateDraftInvoiceRequestDto {
46
46
  'accountNumber': string;
47
47
  /**
48
48
  * Metadata contains extra information that the object would need for specific cases.
49
- * @type {{ [key: string]: object; }}
49
+ * @type {object}
50
50
  * @memberof CreateDraftInvoiceRequestDto
51
51
  */
52
- 'metadata'?: { [key: string]: object; };
52
+ 'metadata': object;
53
53
  /**
54
54
  * This is the date from which the invoice interval starts.
55
55
  * @type {string}
@@ -29,10 +29,10 @@ export interface CreateEstimatedInvoiceForIntervalRequestDto {
29
29
  'policy': PolicyDto;
30
30
  /**
31
31
  * Metadata contains extra information that the object would need for specific cases.
32
- * @type {{ [key: string]: object; }}
32
+ * @type {object}
33
33
  * @memberof CreateEstimatedInvoiceForIntervalRequestDto
34
34
  */
35
- 'metadata'?: { [key: string]: object; };
35
+ 'metadata'?: object;
36
36
  /**
37
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
38
  * @type {boolean}
@@ -29,10 +29,10 @@ export interface CreateEstimatedInvoiceRequestDto {
29
29
  'policy': PolicyDto;
30
30
  /**
31
31
  * Metadata contains extra information that the object would need for specific cases.
32
- * @type {{ [key: string]: object; }}
32
+ * @type {object}
33
33
  * @memberof CreateEstimatedInvoiceRequestDto
34
34
  */
35
- 'metadata'?: { [key: string]: object; };
35
+ 'metadata'?: object;
36
36
  /**
37
37
  *
38
38
  * @type {boolean}
@@ -52,10 +52,10 @@ export interface CreateInvoiceForPolicyRequestDto {
52
52
  'type'?: CreateInvoiceForPolicyRequestDtoTypeEnum;
53
53
  /**
54
54
  * Metadata contains extra information that the object would need for specific cases.
55
- * @type {{ [key: string]: object; }}
55
+ * @type {object}
56
56
  * @memberof CreateInvoiceForPolicyRequestDto
57
57
  */
58
- 'metadata'?: { [key: string]: object; };
58
+ 'metadata'?: object;
59
59
  /**
60
60
  * This is the date from which the invoice interval starts.
61
61
  * @type {string}