@emilgroup/billing-sdk-node 1.10.0 → 1.17.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 (105) hide show
  1. package/.openapi-generator/FILES +1 -0
  2. package/README.md +2 -2
  3. package/api/invoices-api.ts +134 -0
  4. package/dist/api/correction-invoices-api.d.ts +106 -0
  5. package/dist/api/correction-invoices-api.js +234 -0
  6. package/dist/api/default-api.d.ts +66 -0
  7. package/dist/api/default-api.js +200 -0
  8. package/dist/api/estimated-invoices-api.d.ts +154 -0
  9. package/dist/api/estimated-invoices-api.js +321 -0
  10. package/dist/api/initial-invoices-api.d.ts +106 -0
  11. package/dist/api/initial-invoices-api.js +234 -0
  12. package/dist/api/invoices-api.d.ts +382 -0
  13. package/dist/api/invoices-api.js +586 -0
  14. package/dist/api/recurring-invoices-api.d.ts +106 -0
  15. package/dist/api/recurring-invoices-api.js +234 -0
  16. package/dist/api.d.ts +17 -0
  17. package/dist/api.js +35 -0
  18. package/dist/base.d.ts +78 -0
  19. package/dist/base.js +394 -0
  20. package/dist/common.d.ts +92 -0
  21. package/dist/common.js +277 -0
  22. package/dist/configuration.d.ts +90 -0
  23. package/dist/configuration.js +44 -0
  24. package/dist/index.d.ts +15 -0
  25. package/dist/index.js +36 -0
  26. package/dist/models/create-correction-invoices-response-class.d.ts +25 -0
  27. package/dist/models/create-correction-invoices-response-class.js +15 -0
  28. package/dist/models/create-custom-estimated-invoice-request-dto.d.ts +35 -0
  29. package/dist/models/create-custom-estimated-invoice-request-dto.js +20 -0
  30. package/dist/models/create-custom-estimated-invoice-response-class.d.ts +24 -0
  31. package/dist/models/create-custom-estimated-invoice-response-class.js +15 -0
  32. package/dist/models/create-estimated-invoice-request-dto.d.ts +37 -0
  33. package/dist/models/create-estimated-invoice-request-dto.js +15 -0
  34. package/dist/models/create-estimated-invoice-response-class.d.ts +31 -0
  35. package/dist/models/create-estimated-invoice-response-class.js +15 -0
  36. package/dist/models/create-invoice-payment-request-dto.d.ts +48 -0
  37. package/dist/models/create-invoice-payment-request-dto.js +15 -0
  38. package/dist/models/create-invoice-payment-response-class.d.ts +25 -0
  39. package/dist/models/create-invoice-payment-response-class.js +15 -0
  40. package/dist/models/create-invoice-request-dto.d.ts +83 -0
  41. package/dist/models/create-invoice-request-dto.js +26 -0
  42. package/dist/models/create-invoice-response-class.d.ts +25 -0
  43. package/dist/models/create-invoice-response-class.js +15 -0
  44. package/dist/models/create-invoice-status-request-dto.d.ts +36 -0
  45. package/dist/models/create-invoice-status-request-dto.js +21 -0
  46. package/dist/models/create-termination-invoice-request-dto.d.ts +54 -0
  47. package/dist/models/create-termination-invoice-request-dto.js +15 -0
  48. package/dist/models/get-invoice-response-class.d.ts +25 -0
  49. package/dist/models/get-invoice-response-class.js +15 -0
  50. package/dist/models/index.d.ts +32 -0
  51. package/dist/models/index.js +48 -0
  52. package/dist/models/inline-response200.d.ts +54 -0
  53. package/dist/models/inline-response200.js +15 -0
  54. package/dist/models/inline-response503.d.ts +54 -0
  55. package/dist/models/inline-response503.js +15 -0
  56. package/dist/models/invoice-class.d.ts +170 -0
  57. package/dist/models/invoice-class.js +31 -0
  58. package/dist/models/invoice-item-class.d.ts +129 -0
  59. package/dist/models/invoice-item-class.js +24 -0
  60. package/dist/models/invoice-payment-class.d.ts +102 -0
  61. package/dist/models/invoice-payment-class.js +15 -0
  62. package/dist/models/invoice-payments-class.d.ts +25 -0
  63. package/dist/models/invoice-payments-class.js +15 -0
  64. package/dist/models/invoice-status-class.d.ts +48 -0
  65. package/dist/models/invoice-status-class.js +21 -0
  66. package/dist/models/list-invoices-response-class.d.ts +31 -0
  67. package/dist/models/list-invoices-response-class.js +15 -0
  68. package/dist/models/list-policies-billing-dates-response-class.d.ts +31 -0
  69. package/dist/models/list-policies-billing-dates-response-class.js +15 -0
  70. package/dist/models/list-request-dto.d.ts +54 -0
  71. package/dist/models/list-request-dto.js +15 -0
  72. package/dist/models/omit-type-class.d.ts +156 -0
  73. package/dist/models/omit-type-class.js +31 -0
  74. package/dist/models/policy-billing-date-class.d.ts +42 -0
  75. package/dist/models/policy-billing-date-class.js +15 -0
  76. package/dist/models/policy-dto.d.ts +123 -0
  77. package/dist/models/policy-dto.js +23 -0
  78. package/dist/models/policy-object-dto.d.ts +72 -0
  79. package/dist/models/policy-object-dto.js +15 -0
  80. package/dist/models/policy-premium-dto.d.ts +49 -0
  81. package/dist/models/policy-premium-dto.js +15 -0
  82. package/dist/models/policy-premium-item-dto.d.ts +55 -0
  83. package/dist/models/policy-premium-item-dto.js +15 -0
  84. package/dist/models/policy-version-dto.d.ts +55 -0
  85. package/dist/models/policy-version-dto.js +15 -0
  86. package/dist/models/premium-formula-dto.d.ts +72 -0
  87. package/dist/models/premium-formula-dto.js +15 -0
  88. package/dist/models/revert-invoice-request-dto.d.ts +24 -0
  89. package/dist/models/revert-invoice-request-dto.js +15 -0
  90. package/dist/models/timeslice-dto.d.ts +62 -0
  91. package/dist/models/timeslice-dto.js +15 -0
  92. package/models/create-estimated-invoice-request-dto.ts +7 -1
  93. package/models/create-invoice-payment-request-dto.ts +0 -6
  94. package/models/create-invoice-payment-response-class.ts +31 -0
  95. package/models/create-invoice-request-dto.ts +6 -0
  96. package/models/create-termination-invoice-request-dto.ts +6 -0
  97. package/models/index.ts +1 -0
  98. package/models/invoice-class.ts +6 -0
  99. package/models/invoice-payment-class.ts +7 -1
  100. package/models/omit-type-class.ts +6 -7
  101. package/models/policy-dto.ts +3 -2
  102. package/models/policy-object-dto.ts +24 -0
  103. package/models/policy-version-dto.ts +3 -3
  104. package/models/timeslice-dto.ts +1 -1
  105. package/package.json +1 -1
@@ -0,0 +1,382 @@
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 { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreateInvoicePaymentRequestDto } from '../models';
16
+ import { CreateInvoicePaymentResponseClass } from '../models';
17
+ import { GetInvoiceResponseClass } from '../models';
18
+ import { ListInvoicesResponseClass } from '../models';
19
+ import { ListPoliciesBillingDatesResponseClass } from '../models';
20
+ /**
21
+ * InvoicesApi - axios parameter creator
22
+ * @export
23
+ */
24
+ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuration) => {
25
+ /**
26
+ * This will create an invoice payment.
27
+ * @summary Create the invoice payment
28
+ * @param {number} id
29
+ * @param {CreateInvoicePaymentRequestDto} createInvoicePaymentRequestDto
30
+ * @param {string} [authorization] Bearer Token
31
+ * @param {string} [idempotencyKey] Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
32
+ * @param {*} [options] Override http request option.
33
+ * @throws {RequiredError}
34
+ */
35
+ createInvoicePayment: (id: number, createInvoicePaymentRequestDto: CreateInvoicePaymentRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36
+ /**
37
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
38
+ * @summary List invoices
39
+ * @param {string} code
40
+ * @param {string} expand
41
+ * @param {string} [authorization] Bearer Token
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ getInvoice: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
46
+ /**
47
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
48
+ * @summary List invoices
49
+ * @param {string} [authorization] Bearer Token
50
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
51
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
52
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
53
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
54
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
55
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
56
+ * @param {*} [options] Override http request option.
57
+ * @throws {RequiredError}
58
+ */
59
+ listInvoices: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
60
+ /**
61
+ * Returns a list of policies billing dates you have previously created. The policies billing dates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
62
+ * @summary List policies billing dates
63
+ * @param {string} [authorization] Bearer Token
64
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
65
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
66
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
67
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
68
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
69
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
70
+ * @param {*} [options] Override http request option.
71
+ * @throws {RequiredError}
72
+ */
73
+ listPoliciesBillingDates: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
74
+ };
75
+ /**
76
+ * InvoicesApi - functional programming interface
77
+ * @export
78
+ */
79
+ export declare const InvoicesApiFp: (configuration?: Configuration) => {
80
+ /**
81
+ * This will create an invoice payment.
82
+ * @summary Create the invoice payment
83
+ * @param {number} id
84
+ * @param {CreateInvoicePaymentRequestDto} createInvoicePaymentRequestDto
85
+ * @param {string} [authorization] Bearer Token
86
+ * @param {string} [idempotencyKey] Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
87
+ * @param {*} [options] Override http request option.
88
+ * @throws {RequiredError}
89
+ */
90
+ createInvoicePayment(id: number, createInvoicePaymentRequestDto: CreateInvoicePaymentRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateInvoicePaymentResponseClass>>;
91
+ /**
92
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
93
+ * @summary List invoices
94
+ * @param {string} code
95
+ * @param {string} expand
96
+ * @param {string} [authorization] Bearer Token
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ getInvoice(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoiceResponseClass>>;
101
+ /**
102
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
103
+ * @summary List invoices
104
+ * @param {string} [authorization] Bearer Token
105
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
106
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
107
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
108
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
109
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
110
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
111
+ * @param {*} [options] Override http request option.
112
+ * @throws {RequiredError}
113
+ */
114
+ listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvoicesResponseClass>>;
115
+ /**
116
+ * Returns a list of policies billing dates you have previously created. The policies billing dates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
117
+ * @summary List policies billing dates
118
+ * @param {string} [authorization] Bearer Token
119
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
120
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
121
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
122
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
123
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
124
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
125
+ * @param {*} [options] Override http request option.
126
+ * @throws {RequiredError}
127
+ */
128
+ listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesBillingDatesResponseClass>>;
129
+ };
130
+ /**
131
+ * InvoicesApi - factory interface
132
+ * @export
133
+ */
134
+ export declare const InvoicesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
135
+ /**
136
+ * This will create an invoice payment.
137
+ * @summary Create the invoice payment
138
+ * @param {number} id
139
+ * @param {CreateInvoicePaymentRequestDto} createInvoicePaymentRequestDto
140
+ * @param {string} [authorization] Bearer Token
141
+ * @param {string} [idempotencyKey] Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
142
+ * @param {*} [options] Override http request option.
143
+ * @throws {RequiredError}
144
+ */
145
+ createInvoicePayment(id: number, createInvoicePaymentRequestDto: CreateInvoicePaymentRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<CreateInvoicePaymentResponseClass>;
146
+ /**
147
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
148
+ * @summary List invoices
149
+ * @param {string} code
150
+ * @param {string} expand
151
+ * @param {string} [authorization] Bearer Token
152
+ * @param {*} [options] Override http request option.
153
+ * @throws {RequiredError}
154
+ */
155
+ getInvoice(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetInvoiceResponseClass>;
156
+ /**
157
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
158
+ * @summary List invoices
159
+ * @param {string} [authorization] Bearer Token
160
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
161
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
162
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
163
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
164
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
165
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
166
+ * @param {*} [options] Override http request option.
167
+ * @throws {RequiredError}
168
+ */
169
+ listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListInvoicesResponseClass>;
170
+ /**
171
+ * Returns a list of policies billing dates you have previously created. The policies billing dates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
172
+ * @summary List policies billing dates
173
+ * @param {string} [authorization] Bearer Token
174
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
175
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
176
+ * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
177
+ * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
178
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
179
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
180
+ * @param {*} [options] Override http request option.
181
+ * @throws {RequiredError}
182
+ */
183
+ listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListPoliciesBillingDatesResponseClass>;
184
+ };
185
+ /**
186
+ * Request parameters for createInvoicePayment operation in InvoicesApi.
187
+ * @export
188
+ * @interface InvoicesApiCreateInvoicePaymentRequest
189
+ */
190
+ export interface InvoicesApiCreateInvoicePaymentRequest {
191
+ /**
192
+ *
193
+ * @type {number}
194
+ * @memberof InvoicesApiCreateInvoicePayment
195
+ */
196
+ readonly id: number;
197
+ /**
198
+ *
199
+ * @type {CreateInvoicePaymentRequestDto}
200
+ * @memberof InvoicesApiCreateInvoicePayment
201
+ */
202
+ readonly createInvoicePaymentRequestDto: CreateInvoicePaymentRequestDto;
203
+ /**
204
+ * Bearer Token
205
+ * @type {string}
206
+ * @memberof InvoicesApiCreateInvoicePayment
207
+ */
208
+ readonly authorization?: string;
209
+ /**
210
+ * Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
211
+ * @type {string}
212
+ * @memberof InvoicesApiCreateInvoicePayment
213
+ */
214
+ readonly idempotencyKey?: string;
215
+ }
216
+ /**
217
+ * Request parameters for getInvoice operation in InvoicesApi.
218
+ * @export
219
+ * @interface InvoicesApiGetInvoiceRequest
220
+ */
221
+ export interface InvoicesApiGetInvoiceRequest {
222
+ /**
223
+ *
224
+ * @type {string}
225
+ * @memberof InvoicesApiGetInvoice
226
+ */
227
+ readonly code: string;
228
+ /**
229
+ *
230
+ * @type {string}
231
+ * @memberof InvoicesApiGetInvoice
232
+ */
233
+ readonly expand: string;
234
+ /**
235
+ * Bearer Token
236
+ * @type {string}
237
+ * @memberof InvoicesApiGetInvoice
238
+ */
239
+ readonly authorization?: string;
240
+ }
241
+ /**
242
+ * Request parameters for listInvoices operation in InvoicesApi.
243
+ * @export
244
+ * @interface InvoicesApiListInvoicesRequest
245
+ */
246
+ export interface InvoicesApiListInvoicesRequest {
247
+ /**
248
+ * Bearer Token
249
+ * @type {string}
250
+ * @memberof InvoicesApiListInvoices
251
+ */
252
+ readonly authorization?: string;
253
+ /**
254
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
255
+ * @type {any}
256
+ * @memberof InvoicesApiListInvoices
257
+ */
258
+ readonly pageSize?: any;
259
+ /**
260
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
261
+ * @type {any}
262
+ * @memberof InvoicesApiListInvoices
263
+ */
264
+ readonly pageToken?: any;
265
+ /**
266
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
267
+ * @type {any}
268
+ * @memberof InvoicesApiListInvoices
269
+ */
270
+ readonly filter?: any;
271
+ /**
272
+ * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
273
+ * @type {any}
274
+ * @memberof InvoicesApiListInvoices
275
+ */
276
+ readonly search?: any;
277
+ /**
278
+ * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
279
+ * @type {any}
280
+ * @memberof InvoicesApiListInvoices
281
+ */
282
+ readonly order?: any;
283
+ /**
284
+ * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
285
+ * @type {any}
286
+ * @memberof InvoicesApiListInvoices
287
+ */
288
+ readonly expand?: any;
289
+ }
290
+ /**
291
+ * Request parameters for listPoliciesBillingDates operation in InvoicesApi.
292
+ * @export
293
+ * @interface InvoicesApiListPoliciesBillingDatesRequest
294
+ */
295
+ export interface InvoicesApiListPoliciesBillingDatesRequest {
296
+ /**
297
+ * Bearer Token
298
+ * @type {string}
299
+ * @memberof InvoicesApiListPoliciesBillingDates
300
+ */
301
+ readonly authorization?: string;
302
+ /**
303
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
304
+ * @type {any}
305
+ * @memberof InvoicesApiListPoliciesBillingDates
306
+ */
307
+ readonly pageSize?: any;
308
+ /**
309
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
310
+ * @type {any}
311
+ * @memberof InvoicesApiListPoliciesBillingDates
312
+ */
313
+ readonly pageToken?: any;
314
+ /**
315
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
316
+ * @type {any}
317
+ * @memberof InvoicesApiListPoliciesBillingDates
318
+ */
319
+ readonly filter?: any;
320
+ /**
321
+ * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
322
+ * @type {any}
323
+ * @memberof InvoicesApiListPoliciesBillingDates
324
+ */
325
+ readonly search?: any;
326
+ /**
327
+ * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
328
+ * @type {any}
329
+ * @memberof InvoicesApiListPoliciesBillingDates
330
+ */
331
+ readonly order?: any;
332
+ /**
333
+ * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
334
+ * @type {any}
335
+ * @memberof InvoicesApiListPoliciesBillingDates
336
+ */
337
+ readonly expand?: any;
338
+ }
339
+ /**
340
+ * InvoicesApi - object-oriented interface
341
+ * @export
342
+ * @class InvoicesApi
343
+ * @extends {BaseAPI}
344
+ */
345
+ export declare class InvoicesApi extends BaseAPI {
346
+ /**
347
+ * This will create an invoice payment.
348
+ * @summary Create the invoice payment
349
+ * @param {InvoicesApiCreateInvoicePaymentRequest} requestParameters Request parameters.
350
+ * @param {*} [options] Override http request option.
351
+ * @throws {RequiredError}
352
+ * @memberof InvoicesApi
353
+ */
354
+ createInvoicePayment(requestParameters: InvoicesApiCreateInvoicePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateInvoicePaymentResponseClass, any>>;
355
+ /**
356
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
357
+ * @summary List invoices
358
+ * @param {InvoicesApiGetInvoiceRequest} requestParameters Request parameters.
359
+ * @param {*} [options] Override http request option.
360
+ * @throws {RequiredError}
361
+ * @memberof InvoicesApi
362
+ */
363
+ getInvoice(requestParameters: InvoicesApiGetInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetInvoiceResponseClass, any>>;
364
+ /**
365
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
366
+ * @summary List invoices
367
+ * @param {InvoicesApiListInvoicesRequest} requestParameters Request parameters.
368
+ * @param {*} [options] Override http request option.
369
+ * @throws {RequiredError}
370
+ * @memberof InvoicesApi
371
+ */
372
+ listInvoices(requestParameters?: InvoicesApiListInvoicesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInvoicesResponseClass, any>>;
373
+ /**
374
+ * Returns a list of policies billing dates you have previously created. The policies billing dates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
375
+ * @summary List policies billing dates
376
+ * @param {InvoicesApiListPoliciesBillingDatesRequest} requestParameters Request parameters.
377
+ * @param {*} [options] Override http request option.
378
+ * @throws {RequiredError}
379
+ * @memberof InvoicesApi
380
+ */
381
+ listPoliciesBillingDates(requestParameters?: InvoicesApiListPoliciesBillingDatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPoliciesBillingDatesResponseClass, any>>;
382
+ }