@emilgroup/billing-sdk 1.16.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.
- 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/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/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 -31
- 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 -171
- package/dist/models/invoice-class.js +0 -32
- package/dist/models/invoice-item-class.d.ts +0 -141
- package/dist/models/invoice-item-class.js +0 -24
- package/dist/models/invoice-payment-class.d.ts +0 -102
- 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 -49
- 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 -164
- package/dist/models/omit-type-class.js +0 -32
- package/dist/models/policy-billing-date-class.d.ts +0 -42
- 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 -37
- 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 -181
- package/models/invoice-item-class.ts +0 -150
- package/models/invoice-payment-class.ts +0 -108
- package/models/invoice-payments-class.ts +0 -31
- package/models/invoice-status-class.ts +0 -58
- 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 -174
- package/models/policy-billing-date-class.ts +0 -48
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@1.
|
|
20
|
+
npm install @emilgroup/billing-sdk@1.17.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/billing-sdk@1.
|
|
24
|
+
yarn add @emilgroup/billing-sdk@1.17.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
|
/**
|
|
28
26
|
* CorrectionInvoicesApi - axios parameter creator
|
|
@@ -101,7 +99,7 @@ export const CorrectionInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
101
99
|
* @param {*} [options] Override http request option.
|
|
102
100
|
* @throws {RequiredError}
|
|
103
101
|
*/
|
|
104
|
-
async createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
102
|
+
async createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
105
103
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createCorrectionInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options);
|
|
106
104
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
107
105
|
},
|
|
@@ -124,7 +122,7 @@ export const CorrectionInvoicesApiFactory = function (configuration?: Configurat
|
|
|
124
122
|
* @param {*} [options] Override http request option.
|
|
125
123
|
* @throws {RequiredError}
|
|
126
124
|
*/
|
|
127
|
-
createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<
|
|
125
|
+
createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<void> {
|
|
128
126
|
return localVarFp.createCorrectionInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options).then((request) => request(axios, basePath));
|
|
129
127
|
},
|
|
130
128
|
};
|
|
@@ -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
|
/**
|
|
36
30
|
* EstimatedInvoicesApi - axios parameter creator
|
|
37
31
|
* @export
|
|
@@ -197,7 +191,7 @@ export const EstimatedInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
197
191
|
* @param {*} [options] Override http request option.
|
|
198
192
|
* @throws {RequiredError}
|
|
199
193
|
*/
|
|
200
|
-
async createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
194
|
+
async createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
201
195
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto, authorization, options);
|
|
202
196
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
203
197
|
},
|
|
@@ -209,7 +203,7 @@ export const EstimatedInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
209
203
|
* @param {*} [options] Override http request option.
|
|
210
204
|
* @throws {RequiredError}
|
|
211
205
|
*/
|
|
212
|
-
async createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
206
|
+
async createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
213
207
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createEstimatedInvoice(createEstimatedInvoiceRequestDto, authorization, options);
|
|
214
208
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
215
209
|
},
|
|
@@ -221,7 +215,7 @@ export const EstimatedInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
221
215
|
* @param {*} [options] Override http request option.
|
|
222
216
|
* @throws {RequiredError}
|
|
223
217
|
*/
|
|
224
|
-
async createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
218
|
+
async createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
225
219
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto, authorization, options);
|
|
226
220
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
227
221
|
},
|
|
@@ -243,7 +237,7 @@ export const EstimatedInvoicesApiFactory = function (configuration?: Configurati
|
|
|
243
237
|
* @param {*} [options] Override http request option.
|
|
244
238
|
* @throws {RequiredError}
|
|
245
239
|
*/
|
|
246
|
-
createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
240
|
+
createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
247
241
|
return localVarFp.createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
248
242
|
},
|
|
249
243
|
/**
|
|
@@ -254,7 +248,7 @@ export const EstimatedInvoicesApiFactory = function (configuration?: Configurati
|
|
|
254
248
|
* @param {*} [options] Override http request option.
|
|
255
249
|
* @throws {RequiredError}
|
|
256
250
|
*/
|
|
257
|
-
createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
251
|
+
createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
258
252
|
return localVarFp.createEstimatedInvoice(createEstimatedInvoiceRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
259
253
|
},
|
|
260
254
|
/**
|
|
@@ -265,7 +259,7 @@ export const EstimatedInvoicesApiFactory = function (configuration?: Configurati
|
|
|
265
259
|
* @param {*} [options] Override http request option.
|
|
266
260
|
* @throws {RequiredError}
|
|
267
261
|
*/
|
|
268
|
-
createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
262
|
+
createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
|
|
269
263
|
return localVarFp.createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
270
264
|
},
|
|
271
265
|
};
|
|
@@ -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
|
/**
|
|
28
26
|
* InitialInvoicesApi - axios parameter creator
|
|
29
27
|
* @export
|
|
@@ -101,7 +99,7 @@ export const InitialInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
101
99
|
* @param {*} [options] Override http request option.
|
|
102
100
|
* @throws {RequiredError}
|
|
103
101
|
*/
|
|
104
|
-
async createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
102
|
+
async createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
105
103
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createInitialInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options);
|
|
106
104
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
107
105
|
},
|
|
@@ -124,7 +122,7 @@ export const InitialInvoicesApiFactory = function (configuration?: Configuration
|
|
|
124
122
|
* @param {*} [options] Override http request option.
|
|
125
123
|
* @throws {RequiredError}
|
|
126
124
|
*/
|
|
127
|
-
createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<
|
|
125
|
+
createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<void> {
|
|
128
126
|
return localVarFp.createInitialInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options).then((request) => request(axios, basePath));
|
|
129
127
|
},
|
|
130
128
|
};
|
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
|
/**
|
|
30
24
|
* InvoicesApi - axios parameter creator
|
|
31
25
|
* @export
|
|
@@ -255,7 +249,7 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
|
|
|
255
249
|
* @param {*} [options] Override http request option.
|
|
256
250
|
* @throws {RequiredError}
|
|
257
251
|
*/
|
|
258
|
-
async getInvoice(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
252
|
+
async getInvoice(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
259
253
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getInvoice(code, expand, authorization, options);
|
|
260
254
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
261
255
|
},
|
|
@@ -273,7 +267,7 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
|
|
|
273
267
|
* @param {*} [options] Override http request option.
|
|
274
268
|
* @throws {RequiredError}
|
|
275
269
|
*/
|
|
276
|
-
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<
|
|
270
|
+
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>> {
|
|
277
271
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listInvoices(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
278
272
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
279
273
|
},
|
|
@@ -291,7 +285,7 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
|
|
|
291
285
|
* @param {*} [options] Override http request option.
|
|
292
286
|
* @throws {RequiredError}
|
|
293
287
|
*/
|
|
294
|
-
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<
|
|
288
|
+
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>> {
|
|
295
289
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listPoliciesBillingDates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
296
290
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
297
291
|
},
|
|
@@ -314,7 +308,7 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
314
308
|
* @param {*} [options] Override http request option.
|
|
315
309
|
* @throws {RequiredError}
|
|
316
310
|
*/
|
|
317
|
-
getInvoice(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<
|
|
311
|
+
getInvoice(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
318
312
|
return localVarFp.getInvoice(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
319
313
|
},
|
|
320
314
|
/**
|
|
@@ -331,7 +325,7 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
331
325
|
* @param {*} [options] Override http request option.
|
|
332
326
|
* @throws {RequiredError}
|
|
333
327
|
*/
|
|
334
|
-
listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
328
|
+
listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
|
|
335
329
|
return localVarFp.listInvoices(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
336
330
|
},
|
|
337
331
|
/**
|
|
@@ -348,7 +342,7 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
348
342
|
* @param {*} [options] Override http request option.
|
|
349
343
|
* @throws {RequiredError}
|
|
350
344
|
*/
|
|
351
|
-
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
345
|
+
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
|
|
352
346
|
return localVarFp.listPoliciesBillingDates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
353
347
|
},
|
|
354
348
|
};
|
|
@@ -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
|
/**
|
|
28
26
|
* RecurringInvoicesApi - axios parameter creator
|
|
29
27
|
* @export
|
|
@@ -101,7 +99,7 @@ export const RecurringInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
101
99
|
* @param {*} [options] Override http request option.
|
|
102
100
|
* @throws {RequiredError}
|
|
103
101
|
*/
|
|
104
|
-
async createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
102
|
+
async createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
105
103
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createRecurringInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options);
|
|
106
104
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
107
105
|
},
|
|
@@ -124,7 +122,7 @@ export const RecurringInvoicesApiFactory = function (configuration?: Configurati
|
|
|
124
122
|
* @param {*} [options] Override http request option.
|
|
125
123
|
* @throws {RequiredError}
|
|
126
124
|
*/
|
|
127
|
-
createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<
|
|
125
|
+
createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<void> {
|
|
128
126
|
return localVarFp.createRecurringInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options).then((request) => request(axios, basePath));
|
|
129
127
|
},
|
|
130
128
|
};
|
|
@@ -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";
|