@emilgroup/billing-sdk-node 1.26.1 → 1.26.2-beta.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.
- package/.openapi-generator/FILES +0 -17
- package/README.md +2 -2
- package/api/correction-invoices-api.ts +2 -4
- package/api/estimated-invoices-api.ts +6 -12
- package/api/initial-invoices-api.ts +2 -4
- package/api/invoices-api.ts +6 -12
- package/api/recurring-invoices-api.ts +2 -4
- package/dist/api/correction-invoices-api.d.ts +3 -4
- package/dist/api/estimated-invoices-api.d.ts +9 -12
- package/dist/api/initial-invoices-api.d.ts +3 -4
- package/dist/api/invoices-api.d.ts +9 -12
- package/dist/api/recurring-invoices-api.d.ts +3 -4
- package/dist/models/create-estimated-invoice-request-dto.d.ts +1 -7
- package/dist/models/create-invoice-payment-request-dto.d.ts +1 -7
- package/dist/models/create-invoice-request-dto.d.ts +4 -4
- package/dist/models/index.d.ts +0 -17
- package/dist/models/index.js +0 -17
- package/dist/models/list-request-dto.d.ts +6 -0
- package/dist/models/policy-dto.d.ts +3 -23
- package/dist/models/policy-dto.js +0 -8
- package/dist/models/policy-object-dto.d.ts +2 -8
- package/dist/models/policy-premium-dto.d.ts +2 -2
- package/dist/models/policy-premium-item-dto.d.ts +2 -2
- package/dist/models/policy-version-dto.d.ts +3 -3
- package/dist/models/premium-formula-dto.d.ts +2 -2
- package/dist/models/timeslice-dto.d.ts +1 -1
- package/models/create-estimated-invoice-request-dto.ts +1 -7
- package/models/create-invoice-payment-request-dto.ts +1 -7
- package/models/create-invoice-request-dto.ts +4 -4
- package/models/index.ts +0 -17
- package/models/list-request-dto.ts +6 -0
- package/models/policy-dto.ts +3 -26
- package/models/policy-object-dto.ts +2 -8
- package/models/policy-premium-dto.ts +2 -2
- package/models/policy-premium-item-dto.ts +2 -2
- package/models/policy-version-dto.ts +3 -3
- package/models/premium-formula-dto.ts +2 -2
- package/models/timeslice-dto.ts +1 -1
- package/package.json +1 -1
- package/dist/models/create-correction-invoices-response-class.d.ts +0 -25
- package/dist/models/create-correction-invoices-response-class.js +0 -15
- package/dist/models/create-custom-estimated-invoice-response-class.d.ts +0 -24
- package/dist/models/create-custom-estimated-invoice-response-class.js +0 -15
- package/dist/models/create-estimated-invoice-for-interval-response-class.d.ts +0 -25
- package/dist/models/create-estimated-invoice-for-interval-response-class.js +0 -15
- package/dist/models/create-estimated-invoice-response-class.d.ts +0 -37
- package/dist/models/create-estimated-invoice-response-class.js +0 -15
- package/dist/models/create-invoice-response-class.d.ts +0 -25
- package/dist/models/create-invoice-response-class.js +0 -15
- package/dist/models/create-invoice-status-request-dto.d.ts +0 -37
- package/dist/models/create-invoice-status-request-dto.js +0 -22
- package/dist/models/create-termination-invoice-request-dto.d.ts +0 -54
- package/dist/models/create-termination-invoice-request-dto.js +0 -15
- package/dist/models/get-invoice-response-class.d.ts +0 -25
- package/dist/models/get-invoice-response-class.js +0 -15
- package/dist/models/invoice-class.d.ts +0 -183
- package/dist/models/invoice-class.js +0 -32
- package/dist/models/invoice-item-class.d.ts +0 -153
- package/dist/models/invoice-item-class.js +0 -24
- package/dist/models/invoice-payment-class.d.ts +0 -108
- package/dist/models/invoice-payment-class.js +0 -15
- package/dist/models/invoice-payments-class.d.ts +0 -25
- package/dist/models/invoice-payments-class.js +0 -15
- package/dist/models/invoice-status-class.d.ts +0 -61
- package/dist/models/invoice-status-class.js +0 -22
- package/dist/models/list-invoices-response-class.d.ts +0 -31
- package/dist/models/list-invoices-response-class.js +0 -15
- package/dist/models/list-policies-billing-dates-response-class.d.ts +0 -31
- package/dist/models/list-policies-billing-dates-response-class.js +0 -15
- package/dist/models/omit-type-class.d.ts +0 -176
- package/dist/models/omit-type-class.js +0 -32
- package/dist/models/policy-billing-date-class.d.ts +0 -54
- package/dist/models/policy-billing-date-class.js +0 -15
- package/models/create-correction-invoices-response-class.ts +0 -31
- package/models/create-custom-estimated-invoice-response-class.ts +0 -30
- package/models/create-estimated-invoice-for-interval-response-class.ts +0 -31
- package/models/create-estimated-invoice-response-class.ts +0 -43
- package/models/create-invoice-response-class.ts +0 -31
- package/models/create-invoice-status-request-dto.ts +0 -46
- package/models/create-termination-invoice-request-dto.ts +0 -60
- package/models/get-invoice-response-class.ts +0 -31
- package/models/invoice-class.ts +0 -193
- package/models/invoice-item-class.ts +0 -162
- package/models/invoice-payment-class.ts +0 -114
- package/models/invoice-payments-class.ts +0 -31
- package/models/invoice-status-class.ts +0 -70
- package/models/list-invoices-response-class.ts +0 -37
- package/models/list-policies-billing-dates-response-class.ts +0 -37
- package/models/omit-type-class.ts +0 -186
- package/models/policy-billing-date-class.ts +0 -60
package/.openapi-generator/FILES
CHANGED
|
@@ -15,33 +15,16 @@ common.ts
|
|
|
15
15
|
configuration.ts
|
|
16
16
|
git_push.sh
|
|
17
17
|
index.ts
|
|
18
|
-
models/create-correction-invoices-response-class.ts
|
|
19
18
|
models/create-custom-estimated-invoice-request-dto.ts
|
|
20
|
-
models/create-custom-estimated-invoice-response-class.ts
|
|
21
19
|
models/create-draft-invoice-request-dto.ts
|
|
22
20
|
models/create-estimated-invoice-for-interval-request-dto.ts
|
|
23
|
-
models/create-estimated-invoice-for-interval-response-class.ts
|
|
24
21
|
models/create-estimated-invoice-request-dto.ts
|
|
25
|
-
models/create-estimated-invoice-response-class.ts
|
|
26
22
|
models/create-invoice-payment-request-dto.ts
|
|
27
23
|
models/create-invoice-request-dto.ts
|
|
28
|
-
models/create-invoice-response-class.ts
|
|
29
|
-
models/create-invoice-status-request-dto.ts
|
|
30
|
-
models/create-termination-invoice-request-dto.ts
|
|
31
|
-
models/get-invoice-response-class.ts
|
|
32
24
|
models/index.ts
|
|
33
25
|
models/inline-response200.ts
|
|
34
26
|
models/inline-response503.ts
|
|
35
|
-
models/invoice-class.ts
|
|
36
|
-
models/invoice-item-class.ts
|
|
37
|
-
models/invoice-payment-class.ts
|
|
38
|
-
models/invoice-payments-class.ts
|
|
39
|
-
models/invoice-status-class.ts
|
|
40
|
-
models/list-invoices-response-class.ts
|
|
41
|
-
models/list-policies-billing-dates-response-class.ts
|
|
42
27
|
models/list-request-dto.ts
|
|
43
|
-
models/omit-type-class.ts
|
|
44
|
-
models/policy-billing-date-class.ts
|
|
45
28
|
models/policy-dto.ts
|
|
46
29
|
models/policy-object-dto.ts
|
|
47
30
|
models/policy-premium-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-node@1.26.
|
|
20
|
+
npm install @emilgroup/billing-sdk-node@1.26.2-beta.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/billing-sdk-node@1.26.
|
|
24
|
+
yarn add @emilgroup/billing-sdk-node@1.26.2-beta.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `InvoicesApi`.
|
|
@@ -21,8 +21,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
-
import { CreateCorrectionInvoicesResponseClass } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
24
|
import { CreateInvoiceRequestDto } from '../models';
|
|
27
25
|
// URLSearchParams not necessarily used
|
|
28
26
|
// @ts-ignore
|
|
@@ -105,7 +103,7 @@ export const CorrectionInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
105
103
|
* @param {*} [options] Override http request option.
|
|
106
104
|
* @throws {RequiredError}
|
|
107
105
|
*/
|
|
108
|
-
async createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
106
|
+
async createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
109
107
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createCorrectionInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options);
|
|
110
108
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
111
109
|
},
|
|
@@ -128,7 +126,7 @@ export const CorrectionInvoicesApiFactory = function (configuration?: Configurat
|
|
|
128
126
|
* @param {*} [options] Override http request option.
|
|
129
127
|
* @throws {RequiredError}
|
|
130
128
|
*/
|
|
131
|
-
createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<
|
|
129
|
+
createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<void> {
|
|
132
130
|
return localVarFp.createCorrectionInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options).then((request) => request(axios, basePath));
|
|
133
131
|
},
|
|
134
132
|
};
|
|
@@ -23,15 +23,9 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { CreateCustomEstimatedInvoiceRequestDto } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
|
-
import { CreateCustomEstimatedInvoiceResponseClass } from '../models';
|
|
27
|
-
// @ts-ignore
|
|
28
26
|
import { CreateEstimatedInvoiceForIntervalRequestDto } from '../models';
|
|
29
27
|
// @ts-ignore
|
|
30
|
-
import { CreateEstimatedInvoiceForIntervalResponseClass } from '../models';
|
|
31
|
-
// @ts-ignore
|
|
32
28
|
import { CreateEstimatedInvoiceRequestDto } from '../models';
|
|
33
|
-
// @ts-ignore
|
|
34
|
-
import { CreateEstimatedInvoiceResponseClass } from '../models';
|
|
35
29
|
// URLSearchParams not necessarily used
|
|
36
30
|
// @ts-ignore
|
|
37
31
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -201,7 +195,7 @@ export const EstimatedInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
201
195
|
* @param {*} [options] Override http request option.
|
|
202
196
|
* @throws {RequiredError}
|
|
203
197
|
*/
|
|
204
|
-
async createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
198
|
+
async createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
205
199
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto, authorization, options);
|
|
206
200
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
207
201
|
},
|
|
@@ -213,7 +207,7 @@ export const EstimatedInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
213
207
|
* @param {*} [options] Override http request option.
|
|
214
208
|
* @throws {RequiredError}
|
|
215
209
|
*/
|
|
216
|
-
async createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
210
|
+
async createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
217
211
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createEstimatedInvoice(createEstimatedInvoiceRequestDto, authorization, options);
|
|
218
212
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
219
213
|
},
|
|
@@ -225,7 +219,7 @@ export const EstimatedInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
225
219
|
* @param {*} [options] Override http request option.
|
|
226
220
|
* @throws {RequiredError}
|
|
227
221
|
*/
|
|
228
|
-
async createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
222
|
+
async createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
229
223
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto, authorization, options);
|
|
230
224
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
231
225
|
},
|
|
@@ -247,7 +241,7 @@ export const EstimatedInvoicesApiFactory = function (configuration?: Configurati
|
|
|
247
241
|
* @param {*} [options] Override http request option.
|
|
248
242
|
* @throws {RequiredError}
|
|
249
243
|
*/
|
|
250
|
-
createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
244
|
+
createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
251
245
|
return localVarFp.createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
252
246
|
},
|
|
253
247
|
/**
|
|
@@ -258,7 +252,7 @@ export const EstimatedInvoicesApiFactory = function (configuration?: Configurati
|
|
|
258
252
|
* @param {*} [options] Override http request option.
|
|
259
253
|
* @throws {RequiredError}
|
|
260
254
|
*/
|
|
261
|
-
createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
255
|
+
createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
262
256
|
return localVarFp.createEstimatedInvoice(createEstimatedInvoiceRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
263
257
|
},
|
|
264
258
|
/**
|
|
@@ -269,7 +263,7 @@ export const EstimatedInvoicesApiFactory = function (configuration?: Configurati
|
|
|
269
263
|
* @param {*} [options] Override http request option.
|
|
270
264
|
* @throws {RequiredError}
|
|
271
265
|
*/
|
|
272
|
-
createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
266
|
+
createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
273
267
|
return localVarFp.createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
274
268
|
},
|
|
275
269
|
};
|
|
@@ -22,8 +22,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { CreateInvoiceRequestDto } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { CreateInvoiceResponseClass } from '../models';
|
|
27
25
|
// URLSearchParams not necessarily used
|
|
28
26
|
// @ts-ignore
|
|
29
27
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -105,7 +103,7 @@ export const InitialInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
105
103
|
* @param {*} [options] Override http request option.
|
|
106
104
|
* @throws {RequiredError}
|
|
107
105
|
*/
|
|
108
|
-
async createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
106
|
+
async createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
109
107
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createInitialInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options);
|
|
110
108
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
111
109
|
},
|
|
@@ -128,7 +126,7 @@ export const InitialInvoicesApiFactory = function (configuration?: Configuration
|
|
|
128
126
|
* @param {*} [options] Override http request option.
|
|
129
127
|
* @throws {RequiredError}
|
|
130
128
|
*/
|
|
131
|
-
createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<
|
|
129
|
+
createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<void> {
|
|
132
130
|
return localVarFp.createInitialInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options).then((request) => request(axios, basePath));
|
|
133
131
|
},
|
|
134
132
|
};
|
package/api/invoices-api.ts
CHANGED
|
@@ -20,12 +20,6 @@ import { Configuration } from '../configuration';
|
|
|
20
20
|
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
-
// @ts-ignore
|
|
24
|
-
import { GetInvoiceResponseClass } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { ListInvoicesResponseClass } from '../models';
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
import { ListPoliciesBillingDatesResponseClass } from '../models';
|
|
29
23
|
// URLSearchParams not necessarily used
|
|
30
24
|
// @ts-ignore
|
|
31
25
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -259,7 +253,7 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
|
|
|
259
253
|
* @param {*} [options] Override http request option.
|
|
260
254
|
* @throws {RequiredError}
|
|
261
255
|
*/
|
|
262
|
-
async getInvoice(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
256
|
+
async getInvoice(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
263
257
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getInvoice(code, expand, authorization, options);
|
|
264
258
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
265
259
|
},
|
|
@@ -277,7 +271,7 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
|
|
|
277
271
|
* @param {*} [options] Override http request option.
|
|
278
272
|
* @throws {RequiredError}
|
|
279
273
|
*/
|
|
280
|
-
async listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
274
|
+
async listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
281
275
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listInvoices(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
282
276
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
283
277
|
},
|
|
@@ -295,7 +289,7 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
|
|
|
295
289
|
* @param {*} [options] Override http request option.
|
|
296
290
|
* @throws {RequiredError}
|
|
297
291
|
*/
|
|
298
|
-
async listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
292
|
+
async listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
299
293
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listPoliciesBillingDates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
300
294
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
301
295
|
},
|
|
@@ -318,7 +312,7 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
318
312
|
* @param {*} [options] Override http request option.
|
|
319
313
|
* @throws {RequiredError}
|
|
320
314
|
*/
|
|
321
|
-
getInvoice(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<
|
|
315
|
+
getInvoice(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
322
316
|
return localVarFp.getInvoice(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
323
317
|
},
|
|
324
318
|
/**
|
|
@@ -335,7 +329,7 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
335
329
|
* @param {*} [options] Override http request option.
|
|
336
330
|
* @throws {RequiredError}
|
|
337
331
|
*/
|
|
338
|
-
listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
332
|
+
listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
|
|
339
333
|
return localVarFp.listInvoices(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
340
334
|
},
|
|
341
335
|
/**
|
|
@@ -352,7 +346,7 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
352
346
|
* @param {*} [options] Override http request option.
|
|
353
347
|
* @throws {RequiredError}
|
|
354
348
|
*/
|
|
355
|
-
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
349
|
+
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
|
|
356
350
|
return localVarFp.listPoliciesBillingDates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
357
351
|
},
|
|
358
352
|
};
|
|
@@ -22,8 +22,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { CreateInvoiceRequestDto } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { CreateInvoiceResponseClass } from '../models';
|
|
27
25
|
// URLSearchParams not necessarily used
|
|
28
26
|
// @ts-ignore
|
|
29
27
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -105,7 +103,7 @@ export const RecurringInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
105
103
|
* @param {*} [options] Override http request option.
|
|
106
104
|
* @throws {RequiredError}
|
|
107
105
|
*/
|
|
108
|
-
async createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
106
|
+
async createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
109
107
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createRecurringInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options);
|
|
110
108
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
111
109
|
},
|
|
@@ -128,7 +126,7 @@ export const RecurringInvoicesApiFactory = function (configuration?: Configurati
|
|
|
128
126
|
* @param {*} [options] Override http request option.
|
|
129
127
|
* @throws {RequiredError}
|
|
130
128
|
*/
|
|
131
|
-
createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<
|
|
129
|
+
createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<void> {
|
|
132
130
|
return localVarFp.createRecurringInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options).then((request) => request(axios, basePath));
|
|
133
131
|
},
|
|
134
132
|
};
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { CreateCorrectionInvoicesResponseClass } from '../models';
|
|
16
15
|
import { CreateInvoiceRequestDto } from '../models';
|
|
17
16
|
/**
|
|
18
17
|
* CorrectionInvoicesApi - axios parameter creator
|
|
@@ -44,7 +43,7 @@ export declare const CorrectionInvoicesApiFp: (configuration?: Configuration) =>
|
|
|
44
43
|
* @param {*} [options] Override http request option.
|
|
45
44
|
* @throws {RequiredError}
|
|
46
45
|
*/
|
|
47
|
-
createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
46
|
+
createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
48
47
|
};
|
|
49
48
|
/**
|
|
50
49
|
* CorrectionInvoicesApi - factory interface
|
|
@@ -60,7 +59,7 @@ export declare const CorrectionInvoicesApiFactory: (configuration?: Configuratio
|
|
|
60
59
|
* @param {*} [options] Override http request option.
|
|
61
60
|
* @throws {RequiredError}
|
|
62
61
|
*/
|
|
63
|
-
createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<
|
|
62
|
+
createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<void>;
|
|
64
63
|
};
|
|
65
64
|
/**
|
|
66
65
|
* Request parameters for createCorrectionInvoice operation in CorrectionInvoicesApi.
|
|
@@ -102,5 +101,5 @@ export declare class CorrectionInvoicesApi extends BaseAPI {
|
|
|
102
101
|
* @throws {RequiredError}
|
|
103
102
|
* @memberof CorrectionInvoicesApi
|
|
104
103
|
*/
|
|
105
|
-
createCorrectionInvoice(requestParameters: CorrectionInvoicesApiCreateCorrectionInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
104
|
+
createCorrectionInvoice(requestParameters: CorrectionInvoicesApiCreateCorrectionInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
106
105
|
}
|
|
@@ -13,11 +13,8 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateCustomEstimatedInvoiceRequestDto } from '../models';
|
|
16
|
-
import { CreateCustomEstimatedInvoiceResponseClass } from '../models';
|
|
17
16
|
import { CreateEstimatedInvoiceForIntervalRequestDto } from '../models';
|
|
18
|
-
import { CreateEstimatedInvoiceForIntervalResponseClass } from '../models';
|
|
19
17
|
import { CreateEstimatedInvoiceRequestDto } from '../models';
|
|
20
|
-
import { CreateEstimatedInvoiceResponseClass } from '../models';
|
|
21
18
|
/**
|
|
22
19
|
* EstimatedInvoicesApi - axios parameter creator
|
|
23
20
|
* @export
|
|
@@ -64,7 +61,7 @@ export declare const EstimatedInvoicesApiFp: (configuration?: Configuration) =>
|
|
|
64
61
|
* @param {*} [options] Override http request option.
|
|
65
62
|
* @throws {RequiredError}
|
|
66
63
|
*/
|
|
67
|
-
createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
64
|
+
createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
68
65
|
/**
|
|
69
66
|
* This creates an estimated invoice. It will not be saved in the database.
|
|
70
67
|
* @summary Create the estimated invoice
|
|
@@ -73,7 +70,7 @@ export declare const EstimatedInvoicesApiFp: (configuration?: Configuration) =>
|
|
|
73
70
|
* @param {*} [options] Override http request option.
|
|
74
71
|
* @throws {RequiredError}
|
|
75
72
|
*/
|
|
76
|
-
createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
73
|
+
createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
77
74
|
/**
|
|
78
75
|
* This creates an estimated invoice. It will not be saved in the database.
|
|
79
76
|
* @summary Create the estimated invoice
|
|
@@ -82,7 +79,7 @@ export declare const EstimatedInvoicesApiFp: (configuration?: Configuration) =>
|
|
|
82
79
|
* @param {*} [options] Override http request option.
|
|
83
80
|
* @throws {RequiredError}
|
|
84
81
|
*/
|
|
85
|
-
createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
82
|
+
createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
86
83
|
};
|
|
87
84
|
/**
|
|
88
85
|
* EstimatedInvoicesApi - factory interface
|
|
@@ -97,7 +94,7 @@ export declare const EstimatedInvoicesApiFactory: (configuration?: Configuration
|
|
|
97
94
|
* @param {*} [options] Override http request option.
|
|
98
95
|
* @throws {RequiredError}
|
|
99
96
|
*/
|
|
100
|
-
createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
97
|
+
createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
101
98
|
/**
|
|
102
99
|
* This creates an estimated invoice. It will not be saved in the database.
|
|
103
100
|
* @summary Create the estimated invoice
|
|
@@ -106,7 +103,7 @@ export declare const EstimatedInvoicesApiFactory: (configuration?: Configuration
|
|
|
106
103
|
* @param {*} [options] Override http request option.
|
|
107
104
|
* @throws {RequiredError}
|
|
108
105
|
*/
|
|
109
|
-
createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
106
|
+
createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
110
107
|
/**
|
|
111
108
|
* This creates an estimated invoice. It will not be saved in the database.
|
|
112
109
|
* @summary Create the estimated invoice
|
|
@@ -115,7 +112,7 @@ export declare const EstimatedInvoicesApiFactory: (configuration?: Configuration
|
|
|
115
112
|
* @param {*} [options] Override http request option.
|
|
116
113
|
* @throws {RequiredError}
|
|
117
114
|
*/
|
|
118
|
-
createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
115
|
+
createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
119
116
|
};
|
|
120
117
|
/**
|
|
121
118
|
* Request parameters for createCustomEstimatedInvoice operation in EstimatedInvoicesApi.
|
|
@@ -189,7 +186,7 @@ export declare class EstimatedInvoicesApi extends BaseAPI {
|
|
|
189
186
|
* @throws {RequiredError}
|
|
190
187
|
* @memberof EstimatedInvoicesApi
|
|
191
188
|
*/
|
|
192
|
-
createCustomEstimatedInvoice(requestParameters: EstimatedInvoicesApiCreateCustomEstimatedInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
189
|
+
createCustomEstimatedInvoice(requestParameters: EstimatedInvoicesApiCreateCustomEstimatedInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
193
190
|
/**
|
|
194
191
|
* This creates an estimated invoice. It will not be saved in the database.
|
|
195
192
|
* @summary Create the estimated invoice
|
|
@@ -198,7 +195,7 @@ export declare class EstimatedInvoicesApi extends BaseAPI {
|
|
|
198
195
|
* @throws {RequiredError}
|
|
199
196
|
* @memberof EstimatedInvoicesApi
|
|
200
197
|
*/
|
|
201
|
-
createEstimatedInvoice(requestParameters: EstimatedInvoicesApiCreateEstimatedInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
198
|
+
createEstimatedInvoice(requestParameters: EstimatedInvoicesApiCreateEstimatedInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
202
199
|
/**
|
|
203
200
|
* This creates an estimated invoice. It will not be saved in the database.
|
|
204
201
|
* @summary Create the estimated invoice
|
|
@@ -207,5 +204,5 @@ export declare class EstimatedInvoicesApi extends BaseAPI {
|
|
|
207
204
|
* @throws {RequiredError}
|
|
208
205
|
* @memberof EstimatedInvoicesApi
|
|
209
206
|
*/
|
|
210
|
-
createEstimatedInvoiceFromInterval(requestParameters: EstimatedInvoicesApiCreateEstimatedInvoiceFromIntervalRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
207
|
+
createEstimatedInvoiceFromInterval(requestParameters: EstimatedInvoicesApiCreateEstimatedInvoiceFromIntervalRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
211
208
|
}
|
|
@@ -13,7 +13,6 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateInvoiceRequestDto } from '../models';
|
|
16
|
-
import { CreateInvoiceResponseClass } from '../models';
|
|
17
16
|
/**
|
|
18
17
|
* InitialInvoicesApi - axios parameter creator
|
|
19
18
|
* @export
|
|
@@ -44,7 +43,7 @@ export declare const InitialInvoicesApiFp: (configuration?: Configuration) => {
|
|
|
44
43
|
* @param {*} [options] Override http request option.
|
|
45
44
|
* @throws {RequiredError}
|
|
46
45
|
*/
|
|
47
|
-
createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
46
|
+
createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
48
47
|
};
|
|
49
48
|
/**
|
|
50
49
|
* InitialInvoicesApi - factory interface
|
|
@@ -60,7 +59,7 @@ export declare const InitialInvoicesApiFactory: (configuration?: Configuration,
|
|
|
60
59
|
* @param {*} [options] Override http request option.
|
|
61
60
|
* @throws {RequiredError}
|
|
62
61
|
*/
|
|
63
|
-
createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<
|
|
62
|
+
createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<void>;
|
|
64
63
|
};
|
|
65
64
|
/**
|
|
66
65
|
* Request parameters for createInitialInvoice operation in InitialInvoicesApi.
|
|
@@ -102,5 +101,5 @@ export declare class InitialInvoicesApi extends BaseAPI {
|
|
|
102
101
|
* @throws {RequiredError}
|
|
103
102
|
* @memberof InitialInvoicesApi
|
|
104
103
|
*/
|
|
105
|
-
createInitialInvoice(requestParameters: InitialInvoicesApiCreateInitialInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
104
|
+
createInitialInvoice(requestParameters: InitialInvoicesApiCreateInitialInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
106
105
|
}
|
|
@@ -12,9 +12,6 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { GetInvoiceResponseClass } from '../models';
|
|
16
|
-
import { ListInvoicesResponseClass } from '../models';
|
|
17
|
-
import { ListPoliciesBillingDatesResponseClass } from '../models';
|
|
18
15
|
/**
|
|
19
16
|
* InvoicesApi - axios parameter creator
|
|
20
17
|
* @export
|
|
@@ -75,7 +72,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
|
75
72
|
* @param {*} [options] Override http request option.
|
|
76
73
|
* @throws {RequiredError}
|
|
77
74
|
*/
|
|
78
|
-
getInvoice(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
75
|
+
getInvoice(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
79
76
|
/**
|
|
80
77
|
* 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.
|
|
81
78
|
* @summary List invoices
|
|
@@ -90,7 +87,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
|
90
87
|
* @param {*} [options] Override http request option.
|
|
91
88
|
* @throws {RequiredError}
|
|
92
89
|
*/
|
|
93
|
-
listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
90
|
+
listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
94
91
|
/**
|
|
95
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.
|
|
96
93
|
* @summary List policies billing dates
|
|
@@ -105,7 +102,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
|
105
102
|
* @param {*} [options] Override http request option.
|
|
106
103
|
* @throws {RequiredError}
|
|
107
104
|
*/
|
|
108
|
-
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
105
|
+
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
109
106
|
};
|
|
110
107
|
/**
|
|
111
108
|
* InvoicesApi - factory interface
|
|
@@ -121,7 +118,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
|
|
|
121
118
|
* @param {*} [options] Override http request option.
|
|
122
119
|
* @throws {RequiredError}
|
|
123
120
|
*/
|
|
124
|
-
getInvoice(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<
|
|
121
|
+
getInvoice(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
125
122
|
/**
|
|
126
123
|
* 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.
|
|
127
124
|
* @summary List invoices
|
|
@@ -136,7 +133,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
|
|
|
136
133
|
* @param {*} [options] Override http request option.
|
|
137
134
|
* @throws {RequiredError}
|
|
138
135
|
*/
|
|
139
|
-
listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
136
|
+
listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
|
|
140
137
|
/**
|
|
141
138
|
* 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.
|
|
142
139
|
* @summary List policies billing dates
|
|
@@ -151,7 +148,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
|
|
|
151
148
|
* @param {*} [options] Override http request option.
|
|
152
149
|
* @throws {RequiredError}
|
|
153
150
|
*/
|
|
154
|
-
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
151
|
+
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
|
|
155
152
|
};
|
|
156
153
|
/**
|
|
157
154
|
* Request parameters for getInvoice operation in InvoicesApi.
|
|
@@ -303,7 +300,7 @@ export declare class InvoicesApi extends BaseAPI {
|
|
|
303
300
|
* @throws {RequiredError}
|
|
304
301
|
* @memberof InvoicesApi
|
|
305
302
|
*/
|
|
306
|
-
getInvoice(requestParameters: InvoicesApiGetInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
303
|
+
getInvoice(requestParameters: InvoicesApiGetInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
307
304
|
/**
|
|
308
305
|
* 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.
|
|
309
306
|
* @summary List invoices
|
|
@@ -312,7 +309,7 @@ export declare class InvoicesApi extends BaseAPI {
|
|
|
312
309
|
* @throws {RequiredError}
|
|
313
310
|
* @memberof InvoicesApi
|
|
314
311
|
*/
|
|
315
|
-
listInvoices(requestParameters?: InvoicesApiListInvoicesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
312
|
+
listInvoices(requestParameters?: InvoicesApiListInvoicesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
316
313
|
/**
|
|
317
314
|
* 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.
|
|
318
315
|
* @summary List policies billing dates
|
|
@@ -321,5 +318,5 @@ export declare class InvoicesApi extends BaseAPI {
|
|
|
321
318
|
* @throws {RequiredError}
|
|
322
319
|
* @memberof InvoicesApi
|
|
323
320
|
*/
|
|
324
|
-
listPoliciesBillingDates(requestParameters?: InvoicesApiListPoliciesBillingDatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
321
|
+
listPoliciesBillingDates(requestParameters?: InvoicesApiListPoliciesBillingDatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
325
322
|
}
|
|
@@ -13,7 +13,6 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateInvoiceRequestDto } from '../models';
|
|
16
|
-
import { CreateInvoiceResponseClass } from '../models';
|
|
17
16
|
/**
|
|
18
17
|
* RecurringInvoicesApi - axios parameter creator
|
|
19
18
|
* @export
|
|
@@ -44,7 +43,7 @@ export declare const RecurringInvoicesApiFp: (configuration?: Configuration) =>
|
|
|
44
43
|
* @param {*} [options] Override http request option.
|
|
45
44
|
* @throws {RequiredError}
|
|
46
45
|
*/
|
|
47
|
-
createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
46
|
+
createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
48
47
|
};
|
|
49
48
|
/**
|
|
50
49
|
* RecurringInvoicesApi - factory interface
|
|
@@ -60,7 +59,7 @@ export declare const RecurringInvoicesApiFactory: (configuration?: Configuration
|
|
|
60
59
|
* @param {*} [options] Override http request option.
|
|
61
60
|
* @throws {RequiredError}
|
|
62
61
|
*/
|
|
63
|
-
createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<
|
|
62
|
+
createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<void>;
|
|
64
63
|
};
|
|
65
64
|
/**
|
|
66
65
|
* Request parameters for createRecurringInvoice operation in RecurringInvoicesApi.
|
|
@@ -102,5 +101,5 @@ export declare class RecurringInvoicesApi extends BaseAPI {
|
|
|
102
101
|
* @throws {RequiredError}
|
|
103
102
|
* @memberof RecurringInvoicesApi
|
|
104
103
|
*/
|
|
105
|
-
createRecurringInvoice(requestParameters: RecurringInvoicesApiCreateRecurringInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
104
|
+
createRecurringInvoice(requestParameters: RecurringInvoicesApiCreateRecurringInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
106
105
|
}
|
|
@@ -27,11 +27,5 @@ export interface CreateEstimatedInvoiceRequestDto {
|
|
|
27
27
|
* @type {object}
|
|
28
28
|
* @memberof CreateEstimatedInvoiceRequestDto
|
|
29
29
|
*/
|
|
30
|
-
'metadata'
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {boolean}
|
|
34
|
-
* @memberof CreateEstimatedInvoiceRequestDto
|
|
35
|
-
*/
|
|
36
|
-
'calculateProRata'?: boolean;
|
|
30
|
+
'metadata': object;
|
|
37
31
|
}
|
|
@@ -38,17 +38,11 @@ export interface CreateInvoicePaymentRequestDto {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreateInvoicePaymentRequestDto
|
|
40
40
|
*/
|
|
41
|
-
'comment'
|
|
41
|
+
'comment': string;
|
|
42
42
|
/**
|
|
43
43
|
* Unique identifier referencing the payment.
|
|
44
44
|
* @type {number}
|
|
45
45
|
* @memberof CreateInvoicePaymentRequestDto
|
|
46
46
|
*/
|
|
47
47
|
'paymentId': number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof CreateInvoicePaymentRequestDto
|
|
52
|
-
*/
|
|
53
|
-
'invoiceId': number;
|
|
54
48
|
}
|
|
@@ -20,7 +20,7 @@ export interface CreateInvoiceRequestDto {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateInvoiceRequestDto
|
|
22
22
|
*/
|
|
23
|
-
'invoiceNumber'
|
|
23
|
+
'invoiceNumber': string;
|
|
24
24
|
/**
|
|
25
25
|
* Account number.
|
|
26
26
|
* @type {string}
|
|
@@ -44,13 +44,13 @@ export interface CreateInvoiceRequestDto {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof CreateInvoiceRequestDto
|
|
46
46
|
*/
|
|
47
|
-
'type'
|
|
47
|
+
'type': CreateInvoiceRequestDtoTypeEnum;
|
|
48
48
|
/**
|
|
49
49
|
* Metadata contains extra information that the object would need for specific cases.
|
|
50
50
|
* @type {object}
|
|
51
51
|
* @memberof CreateInvoiceRequestDto
|
|
52
52
|
*/
|
|
53
|
-
'metadata'
|
|
53
|
+
'metadata': object;
|
|
54
54
|
/**
|
|
55
55
|
* This is the date from which the invoice interval starts.
|
|
56
56
|
* @type {string}
|
|
@@ -68,7 +68,7 @@ export interface CreateInvoiceRequestDto {
|
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof CreateInvoiceRequestDto
|
|
70
70
|
*/
|
|
71
|
-
'dueDate'
|
|
71
|
+
'dueDate': string;
|
|
72
72
|
}
|
|
73
73
|
export declare const CreateInvoiceRequestDtoTypeEnum: {
|
|
74
74
|
readonly Initial: "initial";
|