@emilgroup/billing-sdk-node 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/README.md +2 -2
  3. package/models/create-invoice-payment-request-dto.ts +60 -0
  4. package/models/create-invoice-status-request-dto.ts +2 -1
  5. package/models/index.ts +3 -0
  6. package/models/invoice-class.ts +15 -1
  7. package/models/invoice-payment-class.ts +102 -0
  8. package/{dist/models/create-custom-estimated-invoice-request-dto.js → models/invoice-payments-class.ts} +18 -7
  9. package/models/invoice-status-class.ts +2 -1
  10. package/models/omit-type-class.ts +15 -1
  11. package/package.json +2 -2
  12. package/dist/api/correction-invoices-api.d.ts +0 -106
  13. package/dist/api/correction-invoices-api.js +0 -234
  14. package/dist/api/default-api.d.ts +0 -66
  15. package/dist/api/default-api.js +0 -200
  16. package/dist/api/estimated-invoices-api.d.ts +0 -154
  17. package/dist/api/estimated-invoices-api.js +0 -321
  18. package/dist/api/initial-invoices-api.d.ts +0 -106
  19. package/dist/api/initial-invoices-api.js +0 -234
  20. package/dist/api/invoices-api.d.ts +0 -307
  21. package/dist/api/invoices-api.js +0 -481
  22. package/dist/api/recurring-invoices-api.d.ts +0 -106
  23. package/dist/api/recurring-invoices-api.js +0 -234
  24. package/dist/api.d.ts +0 -17
  25. package/dist/api.js +0 -35
  26. package/dist/base.d.ts +0 -78
  27. package/dist/base.js +0 -394
  28. package/dist/common.d.ts +0 -92
  29. package/dist/common.js +0 -277
  30. package/dist/configuration.d.ts +0 -90
  31. package/dist/configuration.js +0 -44
  32. package/dist/index.d.ts +0 -15
  33. package/dist/index.js +0 -36
  34. package/dist/models/create-correction-invoices-response-class.d.ts +0 -25
  35. package/dist/models/create-correction-invoices-response-class.js +0 -15
  36. package/dist/models/create-custom-estimated-invoice-request-dto.d.ts +0 -35
  37. package/dist/models/create-custom-estimated-invoice-response-class.d.ts +0 -24
  38. package/dist/models/create-custom-estimated-invoice-response-class.js +0 -15
  39. package/dist/models/create-estimated-invoice-request-dto.d.ts +0 -31
  40. package/dist/models/create-estimated-invoice-request-dto.js +0 -15
  41. package/dist/models/create-estimated-invoice-response-class.d.ts +0 -31
  42. package/dist/models/create-estimated-invoice-response-class.js +0 -15
  43. package/dist/models/create-invoice-request-dto.d.ts +0 -77
  44. package/dist/models/create-invoice-request-dto.js +0 -26
  45. package/dist/models/create-invoice-response-class.d.ts +0 -25
  46. package/dist/models/create-invoice-response-class.js +0 -15
  47. package/dist/models/create-invoice-status-request-dto.d.ts +0 -35
  48. package/dist/models/create-invoice-status-request-dto.js +0 -20
  49. package/dist/models/create-termination-invoice-request-dto.d.ts +0 -48
  50. package/dist/models/create-termination-invoice-request-dto.js +0 -15
  51. package/dist/models/get-invoice-response-class.d.ts +0 -25
  52. package/dist/models/get-invoice-response-class.js +0 -15
  53. package/dist/models/index.d.ts +0 -28
  54. package/dist/models/index.js +0 -44
  55. package/dist/models/inline-response200.d.ts +0 -54
  56. package/dist/models/inline-response200.js +0 -15
  57. package/dist/models/inline-response503.d.ts +0 -54
  58. package/dist/models/inline-response503.js +0 -15
  59. package/dist/models/invoice-class.d.ts +0 -150
  60. package/dist/models/invoice-class.js +0 -30
  61. package/dist/models/invoice-item-class.d.ts +0 -129
  62. package/dist/models/invoice-item-class.js +0 -24
  63. package/dist/models/invoice-status-class.d.ts +0 -47
  64. package/dist/models/invoice-status-class.js +0 -20
  65. package/dist/models/list-invoices-response-class.d.ts +0 -31
  66. package/dist/models/list-invoices-response-class.js +0 -15
  67. package/dist/models/list-policies-billing-dates-response-class.d.ts +0 -31
  68. package/dist/models/list-policies-billing-dates-response-class.js +0 -15
  69. package/dist/models/list-request-dto.d.ts +0 -54
  70. package/dist/models/list-request-dto.js +0 -15
  71. package/dist/models/omit-type-class.d.ts +0 -143
  72. package/dist/models/omit-type-class.js +0 -30
  73. package/dist/models/policy-billing-date-class.d.ts +0 -42
  74. package/dist/models/policy-billing-date-class.js +0 -15
  75. package/dist/models/policy-dto.d.ts +0 -122
  76. package/dist/models/policy-dto.js +0 -22
  77. package/dist/models/policy-object-dto.d.ts +0 -48
  78. package/dist/models/policy-object-dto.js +0 -15
  79. package/dist/models/policy-premium-dto.d.ts +0 -49
  80. package/dist/models/policy-premium-dto.js +0 -15
  81. package/dist/models/policy-premium-item-dto.d.ts +0 -55
  82. package/dist/models/policy-premium-item-dto.js +0 -15
  83. package/dist/models/policy-version-dto.d.ts +0 -55
  84. package/dist/models/policy-version-dto.js +0 -15
  85. package/dist/models/premium-formula-dto.d.ts +0 -72
  86. package/dist/models/premium-formula-dto.js +0 -15
  87. package/dist/models/revert-invoice-request-dto.d.ts +0 -24
  88. package/dist/models/revert-invoice-request-dto.js +0 -15
  89. package/dist/models/timeslice-dto.d.ts +0 -62
  90. package/dist/models/timeslice-dto.js +0 -15
@@ -1,307 +0,0 @@
1
- /**
2
- * EMIL BillingService
3
- * The EMIL BillingService API description
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
- import { Configuration } from '../configuration';
14
- import { RequestArgs, BaseAPI } from '../base';
15
- import { GetInvoiceResponseClass } from '../models';
16
- import { ListInvoicesResponseClass } from '../models';
17
- import { ListPoliciesBillingDatesResponseClass } from '../models';
18
- /**
19
- * InvoicesApi - axios parameter creator
20
- * @export
21
- */
22
- export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuration) => {
23
- /**
24
- * 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.
25
- * @summary List invoices
26
- * @param {string} code
27
- * @param {string} expand
28
- * @param {string} [authorization] Bearer Token
29
- * @param {*} [options] Override http request option.
30
- * @throws {RequiredError}
31
- */
32
- getInvoice: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
- /**
34
- * 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.
35
- * @summary List invoices
36
- * @param {string} [authorization] Bearer Token
37
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
38
- * @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.
39
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
40
- * @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.
41
- * @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.
42
- * @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.
43
- * @param {*} [options] Override http request option.
44
- * @throws {RequiredError}
45
- */
46
- listInvoices: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
47
- /**
48
- * 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.
49
- * @summary List policies billing dates
50
- * @param {string} [authorization] Bearer Token
51
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
52
- * @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.
53
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
54
- * @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.
55
- * @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.
56
- * @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.
57
- * @param {*} [options] Override http request option.
58
- * @throws {RequiredError}
59
- */
60
- listPoliciesBillingDates: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
61
- };
62
- /**
63
- * InvoicesApi - functional programming interface
64
- * @export
65
- */
66
- export declare const InvoicesApiFp: (configuration?: Configuration) => {
67
- /**
68
- * 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.
69
- * @summary List invoices
70
- * @param {string} code
71
- * @param {string} expand
72
- * @param {string} [authorization] Bearer Token
73
- * @param {*} [options] Override http request option.
74
- * @throws {RequiredError}
75
- */
76
- getInvoice(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoiceResponseClass>>;
77
- /**
78
- * 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.
79
- * @summary List invoices
80
- * @param {string} [authorization] Bearer Token
81
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
82
- * @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.
83
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
84
- * @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.
85
- * @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.
86
- * @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.
87
- * @param {*} [options] Override http request option.
88
- * @throws {RequiredError}
89
- */
90
- listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvoicesResponseClass>>;
91
- /**
92
- * 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.
93
- * @summary List policies billing dates
94
- * @param {string} [authorization] Bearer Token
95
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
96
- * @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.
97
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
98
- * @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.
99
- * @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.
100
- * @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.
101
- * @param {*} [options] Override http request option.
102
- * @throws {RequiredError}
103
- */
104
- listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesBillingDatesResponseClass>>;
105
- };
106
- /**
107
- * InvoicesApi - factory interface
108
- * @export
109
- */
110
- export declare const InvoicesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
111
- /**
112
- * 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.
113
- * @summary List invoices
114
- * @param {string} code
115
- * @param {string} expand
116
- * @param {string} [authorization] Bearer Token
117
- * @param {*} [options] Override http request option.
118
- * @throws {RequiredError}
119
- */
120
- getInvoice(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetInvoiceResponseClass>;
121
- /**
122
- * 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.
123
- * @summary List invoices
124
- * @param {string} [authorization] Bearer Token
125
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
126
- * @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.
127
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
128
- * @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.
129
- * @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.
130
- * @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.
131
- * @param {*} [options] Override http request option.
132
- * @throws {RequiredError}
133
- */
134
- listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListInvoicesResponseClass>;
135
- /**
136
- * 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.
137
- * @summary List policies billing dates
138
- * @param {string} [authorization] Bearer Token
139
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
140
- * @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.
141
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
142
- * @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.
143
- * @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.
144
- * @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.
145
- * @param {*} [options] Override http request option.
146
- * @throws {RequiredError}
147
- */
148
- listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListPoliciesBillingDatesResponseClass>;
149
- };
150
- /**
151
- * Request parameters for getInvoice operation in InvoicesApi.
152
- * @export
153
- * @interface InvoicesApiGetInvoiceRequest
154
- */
155
- export interface InvoicesApiGetInvoiceRequest {
156
- /**
157
- *
158
- * @type {string}
159
- * @memberof InvoicesApiGetInvoice
160
- */
161
- readonly code: string;
162
- /**
163
- *
164
- * @type {string}
165
- * @memberof InvoicesApiGetInvoice
166
- */
167
- readonly expand: string;
168
- /**
169
- * Bearer Token
170
- * @type {string}
171
- * @memberof InvoicesApiGetInvoice
172
- */
173
- readonly authorization?: string;
174
- }
175
- /**
176
- * Request parameters for listInvoices operation in InvoicesApi.
177
- * @export
178
- * @interface InvoicesApiListInvoicesRequest
179
- */
180
- export interface InvoicesApiListInvoicesRequest {
181
- /**
182
- * Bearer Token
183
- * @type {string}
184
- * @memberof InvoicesApiListInvoices
185
- */
186
- readonly authorization?: string;
187
- /**
188
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
189
- * @type {any}
190
- * @memberof InvoicesApiListInvoices
191
- */
192
- readonly pageSize?: any;
193
- /**
194
- * 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.
195
- * @type {any}
196
- * @memberof InvoicesApiListInvoices
197
- */
198
- readonly pageToken?: any;
199
- /**
200
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
201
- * @type {any}
202
- * @memberof InvoicesApiListInvoices
203
- */
204
- readonly filter?: any;
205
- /**
206
- * 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.
207
- * @type {any}
208
- * @memberof InvoicesApiListInvoices
209
- */
210
- readonly search?: any;
211
- /**
212
- * 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.
213
- * @type {any}
214
- * @memberof InvoicesApiListInvoices
215
- */
216
- readonly order?: any;
217
- /**
218
- * 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.
219
- * @type {any}
220
- * @memberof InvoicesApiListInvoices
221
- */
222
- readonly expand?: any;
223
- }
224
- /**
225
- * Request parameters for listPoliciesBillingDates operation in InvoicesApi.
226
- * @export
227
- * @interface InvoicesApiListPoliciesBillingDatesRequest
228
- */
229
- export interface InvoicesApiListPoliciesBillingDatesRequest {
230
- /**
231
- * Bearer Token
232
- * @type {string}
233
- * @memberof InvoicesApiListPoliciesBillingDates
234
- */
235
- readonly authorization?: string;
236
- /**
237
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
238
- * @type {any}
239
- * @memberof InvoicesApiListPoliciesBillingDates
240
- */
241
- readonly pageSize?: any;
242
- /**
243
- * 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.
244
- * @type {any}
245
- * @memberof InvoicesApiListPoliciesBillingDates
246
- */
247
- readonly pageToken?: any;
248
- /**
249
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
250
- * @type {any}
251
- * @memberof InvoicesApiListPoliciesBillingDates
252
- */
253
- readonly filter?: any;
254
- /**
255
- * 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.
256
- * @type {any}
257
- * @memberof InvoicesApiListPoliciesBillingDates
258
- */
259
- readonly search?: any;
260
- /**
261
- * 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.
262
- * @type {any}
263
- * @memberof InvoicesApiListPoliciesBillingDates
264
- */
265
- readonly order?: any;
266
- /**
267
- * 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.
268
- * @type {any}
269
- * @memberof InvoicesApiListPoliciesBillingDates
270
- */
271
- readonly expand?: any;
272
- }
273
- /**
274
- * InvoicesApi - object-oriented interface
275
- * @export
276
- * @class InvoicesApi
277
- * @extends {BaseAPI}
278
- */
279
- export declare class InvoicesApi extends BaseAPI {
280
- /**
281
- * 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.
282
- * @summary List invoices
283
- * @param {InvoicesApiGetInvoiceRequest} requestParameters Request parameters.
284
- * @param {*} [options] Override http request option.
285
- * @throws {RequiredError}
286
- * @memberof InvoicesApi
287
- */
288
- getInvoice(requestParameters: InvoicesApiGetInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetInvoiceResponseClass, any>>;
289
- /**
290
- * 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.
291
- * @summary List invoices
292
- * @param {InvoicesApiListInvoicesRequest} requestParameters Request parameters.
293
- * @param {*} [options] Override http request option.
294
- * @throws {RequiredError}
295
- * @memberof InvoicesApi
296
- */
297
- listInvoices(requestParameters?: InvoicesApiListInvoicesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInvoicesResponseClass, any>>;
298
- /**
299
- * 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.
300
- * @summary List policies billing dates
301
- * @param {InvoicesApiListPoliciesBillingDatesRequest} requestParameters Request parameters.
302
- * @param {*} [options] Override http request option.
303
- * @throws {RequiredError}
304
- * @memberof InvoicesApi
305
- */
306
- listPoliciesBillingDates(requestParameters?: InvoicesApiListPoliciesBillingDatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPoliciesBillingDatesResponseClass, any>>;
307
- }