@emilgroup/billing-sdk 1.22.0 → 1.23.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 +17 -0
- package/README.md +2 -2
- package/api/correction-invoices-api.ts +4 -2
- package/api/estimated-invoices-api.ts +12 -6
- package/api/initial-invoices-api.ts +4 -2
- package/api/invoices-api.ts +12 -6
- package/api/recurring-invoices-api.ts +4 -2
- package/dist/api/correction-invoices-api.d.ts +4 -3
- package/dist/api/estimated-invoices-api.d.ts +12 -9
- package/dist/api/initial-invoices-api.d.ts +4 -3
- package/dist/api/invoices-api.d.ts +12 -9
- package/dist/api/recurring-invoices-api.d.ts +4 -3
- package/dist/models/create-correction-invoices-response-class.d.ts +25 -0
- package/dist/models/create-correction-invoices-response-class.js +15 -0
- package/dist/models/create-custom-estimated-invoice-response-class.d.ts +24 -0
- package/dist/models/create-custom-estimated-invoice-response-class.js +15 -0
- package/dist/models/create-estimated-invoice-for-interval-response-class.d.ts +25 -0
- package/dist/models/create-estimated-invoice-for-interval-response-class.js +15 -0
- package/dist/models/create-estimated-invoice-request-dto.d.ts +7 -1
- package/dist/models/create-estimated-invoice-response-class.d.ts +37 -0
- package/dist/models/create-estimated-invoice-response-class.js +15 -0
- package/dist/models/create-invoice-payment-request-dto.d.ts +7 -1
- package/dist/models/create-invoice-request-dto.d.ts +4 -4
- package/dist/models/create-invoice-response-class.d.ts +25 -0
- package/dist/models/create-invoice-response-class.js +15 -0
- package/dist/models/create-invoice-status-request-dto.d.ts +37 -0
- package/dist/models/create-invoice-status-request-dto.js +22 -0
- package/dist/models/create-termination-invoice-request-dto.d.ts +54 -0
- package/dist/models/create-termination-invoice-request-dto.js +15 -0
- package/dist/models/get-invoice-response-class.d.ts +25 -0
- package/dist/models/get-invoice-response-class.js +15 -0
- package/dist/models/index.d.ts +17 -0
- package/dist/models/index.js +17 -0
- package/dist/models/invoice-class.d.ts +183 -0
- package/dist/models/invoice-class.js +32 -0
- package/dist/models/invoice-item-class.d.ts +153 -0
- package/dist/models/invoice-item-class.js +24 -0
- package/dist/models/invoice-payment-class.d.ts +108 -0
- package/dist/models/invoice-payment-class.js +15 -0
- package/dist/models/invoice-payments-class.d.ts +25 -0
- package/dist/models/invoice-payments-class.js +15 -0
- package/dist/models/invoice-status-class.d.ts +61 -0
- package/dist/models/invoice-status-class.js +22 -0
- package/dist/models/list-invoices-response-class.d.ts +31 -0
- package/dist/models/list-invoices-response-class.js +15 -0
- package/dist/models/list-policies-billing-dates-response-class.d.ts +31 -0
- package/dist/models/list-policies-billing-dates-response-class.js +15 -0
- package/dist/models/omit-type-class.d.ts +176 -0
- package/dist/models/omit-type-class.js +32 -0
- package/dist/models/policy-billing-date-class.d.ts +54 -0
- package/dist/models/policy-billing-date-class.js +15 -0
- package/dist/models/policy-dto.d.ts +23 -3
- package/dist/models/policy-dto.js +8 -0
- package/dist/models/policy-object-dto.d.ts +8 -2
- 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-correction-invoices-response-class.ts +31 -0
- package/models/create-custom-estimated-invoice-response-class.ts +30 -0
- package/models/create-estimated-invoice-for-interval-response-class.ts +31 -0
- package/models/create-estimated-invoice-request-dto.ts +7 -1
- package/models/create-estimated-invoice-response-class.ts +43 -0
- package/models/create-invoice-payment-request-dto.ts +7 -1
- package/models/create-invoice-request-dto.ts +4 -4
- package/models/create-invoice-response-class.ts +31 -0
- package/models/create-invoice-status-request-dto.ts +46 -0
- package/models/create-termination-invoice-request-dto.ts +60 -0
- package/models/get-invoice-response-class.ts +31 -0
- package/models/index.ts +17 -0
- package/models/invoice-class.ts +193 -0
- package/models/invoice-item-class.ts +162 -0
- package/models/invoice-payment-class.ts +114 -0
- package/models/invoice-payments-class.ts +31 -0
- package/models/invoice-status-class.ts +70 -0
- package/models/list-invoices-response-class.ts +37 -0
- package/models/list-policies-billing-dates-response-class.ts +37 -0
- package/models/omit-type-class.ts +186 -0
- package/models/policy-billing-date-class.ts +60 -0
- package/models/policy-dto.ts +26 -3
- package/models/policy-object-dto.ts +8 -2
- 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/.openapi-generator/FILES
CHANGED
|
@@ -15,16 +15,33 @@ common.ts
|
|
|
15
15
|
configuration.ts
|
|
16
16
|
git_push.sh
|
|
17
17
|
index.ts
|
|
18
|
+
models/create-correction-invoices-response-class.ts
|
|
18
19
|
models/create-custom-estimated-invoice-request-dto.ts
|
|
20
|
+
models/create-custom-estimated-invoice-response-class.ts
|
|
19
21
|
models/create-draft-invoice-request-dto.ts
|
|
20
22
|
models/create-estimated-invoice-for-interval-request-dto.ts
|
|
23
|
+
models/create-estimated-invoice-for-interval-response-class.ts
|
|
21
24
|
models/create-estimated-invoice-request-dto.ts
|
|
25
|
+
models/create-estimated-invoice-response-class.ts
|
|
22
26
|
models/create-invoice-payment-request-dto.ts
|
|
23
27
|
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
|
|
24
32
|
models/index.ts
|
|
25
33
|
models/inline-response200.ts
|
|
26
34
|
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
|
|
27
42
|
models/list-request-dto.ts
|
|
43
|
+
models/omit-type-class.ts
|
|
44
|
+
models/policy-billing-date-class.ts
|
|
28
45
|
models/policy-dto.ts
|
|
29
46
|
models/policy-object-dto.ts
|
|
30
47
|
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.23.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/billing-sdk@1.
|
|
24
|
+
yarn add @emilgroup/billing-sdk@1.23.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `InvoicesApi`.
|
|
@@ -21,6 +21,8 @@ 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
|
|
24
26
|
import { CreateInvoiceRequestDto } from '../models';
|
|
25
27
|
/**
|
|
26
28
|
* CorrectionInvoicesApi - axios parameter creator
|
|
@@ -99,7 +101,7 @@ export const CorrectionInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
99
101
|
* @param {*} [options] Override http request option.
|
|
100
102
|
* @throws {RequiredError}
|
|
101
103
|
*/
|
|
102
|
-
async createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
104
|
+
async createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCorrectionInvoicesResponseClass>> {
|
|
103
105
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createCorrectionInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options);
|
|
104
106
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
105
107
|
},
|
|
@@ -122,7 +124,7 @@ export const CorrectionInvoicesApiFactory = function (configuration?: Configurat
|
|
|
122
124
|
* @param {*} [options] Override http request option.
|
|
123
125
|
* @throws {RequiredError}
|
|
124
126
|
*/
|
|
125
|
-
createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<
|
|
127
|
+
createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<CreateCorrectionInvoicesResponseClass> {
|
|
126
128
|
return localVarFp.createCorrectionInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options).then((request) => request(axios, basePath));
|
|
127
129
|
},
|
|
128
130
|
};
|
|
@@ -23,9 +23,15 @@ 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
|
|
26
28
|
import { CreateEstimatedInvoiceForIntervalRequestDto } from '../models';
|
|
27
29
|
// @ts-ignore
|
|
30
|
+
import { CreateEstimatedInvoiceForIntervalResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
28
32
|
import { CreateEstimatedInvoiceRequestDto } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
import { CreateEstimatedInvoiceResponseClass } from '../models';
|
|
29
35
|
/**
|
|
30
36
|
* EstimatedInvoicesApi - axios parameter creator
|
|
31
37
|
* @export
|
|
@@ -191,7 +197,7 @@ export const EstimatedInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
191
197
|
* @param {*} [options] Override http request option.
|
|
192
198
|
* @throws {RequiredError}
|
|
193
199
|
*/
|
|
194
|
-
async createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
200
|
+
async createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomEstimatedInvoiceResponseClass>> {
|
|
195
201
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto, authorization, options);
|
|
196
202
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
197
203
|
},
|
|
@@ -203,7 +209,7 @@ export const EstimatedInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
203
209
|
* @param {*} [options] Override http request option.
|
|
204
210
|
* @throws {RequiredError}
|
|
205
211
|
*/
|
|
206
|
-
async createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
212
|
+
async createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEstimatedInvoiceResponseClass>> {
|
|
207
213
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createEstimatedInvoice(createEstimatedInvoiceRequestDto, authorization, options);
|
|
208
214
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
209
215
|
},
|
|
@@ -215,7 +221,7 @@ export const EstimatedInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
215
221
|
* @param {*} [options] Override http request option.
|
|
216
222
|
* @throws {RequiredError}
|
|
217
223
|
*/
|
|
218
|
-
async createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
224
|
+
async createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEstimatedInvoiceForIntervalResponseClass>> {
|
|
219
225
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto, authorization, options);
|
|
220
226
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
221
227
|
},
|
|
@@ -237,7 +243,7 @@ export const EstimatedInvoicesApiFactory = function (configuration?: Configurati
|
|
|
237
243
|
* @param {*} [options] Override http request option.
|
|
238
244
|
* @throws {RequiredError}
|
|
239
245
|
*/
|
|
240
|
-
createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
246
|
+
createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCustomEstimatedInvoiceResponseClass> {
|
|
241
247
|
return localVarFp.createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
242
248
|
},
|
|
243
249
|
/**
|
|
@@ -248,7 +254,7 @@ export const EstimatedInvoicesApiFactory = function (configuration?: Configurati
|
|
|
248
254
|
* @param {*} [options] Override http request option.
|
|
249
255
|
* @throws {RequiredError}
|
|
250
256
|
*/
|
|
251
|
-
createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
257
|
+
createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<CreateEstimatedInvoiceResponseClass> {
|
|
252
258
|
return localVarFp.createEstimatedInvoice(createEstimatedInvoiceRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
253
259
|
},
|
|
254
260
|
/**
|
|
@@ -259,7 +265,7 @@ export const EstimatedInvoicesApiFactory = function (configuration?: Configurati
|
|
|
259
265
|
* @param {*} [options] Override http request option.
|
|
260
266
|
* @throws {RequiredError}
|
|
261
267
|
*/
|
|
262
|
-
createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
268
|
+
createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: any): AxiosPromise<CreateEstimatedInvoiceForIntervalResponseClass> {
|
|
263
269
|
return localVarFp.createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
264
270
|
},
|
|
265
271
|
};
|
|
@@ -22,6 +22,8 @@ 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';
|
|
25
27
|
/**
|
|
26
28
|
* InitialInvoicesApi - axios parameter creator
|
|
27
29
|
* @export
|
|
@@ -99,7 +101,7 @@ export const InitialInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
99
101
|
* @param {*} [options] Override http request option.
|
|
100
102
|
* @throws {RequiredError}
|
|
101
103
|
*/
|
|
102
|
-
async createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
104
|
+
async createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateInvoiceResponseClass>> {
|
|
103
105
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createInitialInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options);
|
|
104
106
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
105
107
|
},
|
|
@@ -122,7 +124,7 @@ export const InitialInvoicesApiFactory = function (configuration?: Configuration
|
|
|
122
124
|
* @param {*} [options] Override http request option.
|
|
123
125
|
* @throws {RequiredError}
|
|
124
126
|
*/
|
|
125
|
-
createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<
|
|
127
|
+
createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<CreateInvoiceResponseClass> {
|
|
126
128
|
return localVarFp.createInitialInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options).then((request) => request(axios, basePath));
|
|
127
129
|
},
|
|
128
130
|
};
|
package/api/invoices-api.ts
CHANGED
|
@@ -20,6 +20,12 @@ 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';
|
|
23
29
|
/**
|
|
24
30
|
* InvoicesApi - axios parameter creator
|
|
25
31
|
* @export
|
|
@@ -249,7 +255,7 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
|
|
|
249
255
|
* @param {*} [options] Override http request option.
|
|
250
256
|
* @throws {RequiredError}
|
|
251
257
|
*/
|
|
252
|
-
async getInvoice(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
258
|
+
async getInvoice(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoiceResponseClass>> {
|
|
253
259
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getInvoice(code, expand, authorization, options);
|
|
254
260
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
255
261
|
},
|
|
@@ -267,7 +273,7 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
|
|
|
267
273
|
* @param {*} [options] Override http request option.
|
|
268
274
|
* @throws {RequiredError}
|
|
269
275
|
*/
|
|
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<
|
|
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<ListInvoicesResponseClass>> {
|
|
271
277
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listInvoices(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
272
278
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
273
279
|
},
|
|
@@ -285,7 +291,7 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
|
|
|
285
291
|
* @param {*} [options] Override http request option.
|
|
286
292
|
* @throws {RequiredError}
|
|
287
293
|
*/
|
|
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<
|
|
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<ListPoliciesBillingDatesResponseClass>> {
|
|
289
295
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listPoliciesBillingDates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
290
296
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
291
297
|
},
|
|
@@ -308,7 +314,7 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
308
314
|
* @param {*} [options] Override http request option.
|
|
309
315
|
* @throws {RequiredError}
|
|
310
316
|
*/
|
|
311
|
-
getInvoice(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<
|
|
317
|
+
getInvoice(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetInvoiceResponseClass> {
|
|
312
318
|
return localVarFp.getInvoice(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
313
319
|
},
|
|
314
320
|
/**
|
|
@@ -325,7 +331,7 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
325
331
|
* @param {*} [options] Override http request option.
|
|
326
332
|
* @throws {RequiredError}
|
|
327
333
|
*/
|
|
328
|
-
listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
334
|
+
listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInvoicesResponseClass> {
|
|
329
335
|
return localVarFp.listInvoices(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
330
336
|
},
|
|
331
337
|
/**
|
|
@@ -342,7 +348,7 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
342
348
|
* @param {*} [options] Override http request option.
|
|
343
349
|
* @throws {RequiredError}
|
|
344
350
|
*/
|
|
345
|
-
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
351
|
+
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPoliciesBillingDatesResponseClass> {
|
|
346
352
|
return localVarFp.listPoliciesBillingDates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
347
353
|
},
|
|
348
354
|
};
|
|
@@ -22,6 +22,8 @@ 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';
|
|
25
27
|
/**
|
|
26
28
|
* RecurringInvoicesApi - axios parameter creator
|
|
27
29
|
* @export
|
|
@@ -99,7 +101,7 @@ export const RecurringInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
99
101
|
* @param {*} [options] Override http request option.
|
|
100
102
|
* @throws {RequiredError}
|
|
101
103
|
*/
|
|
102
|
-
async createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
104
|
+
async createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateInvoiceResponseClass>> {
|
|
103
105
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createRecurringInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options);
|
|
104
106
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
105
107
|
},
|
|
@@ -122,7 +124,7 @@ export const RecurringInvoicesApiFactory = function (configuration?: Configurati
|
|
|
122
124
|
* @param {*} [options] Override http request option.
|
|
123
125
|
* @throws {RequiredError}
|
|
124
126
|
*/
|
|
125
|
-
createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<
|
|
127
|
+
createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<CreateInvoiceResponseClass> {
|
|
126
128
|
return localVarFp.createRecurringInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options).then((request) => request(axios, basePath));
|
|
127
129
|
},
|
|
128
130
|
};
|
|
@@ -12,6 +12,7 @@
|
|
|
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';
|
|
15
16
|
import { CreateInvoiceRequestDto } from '../models';
|
|
16
17
|
/**
|
|
17
18
|
* CorrectionInvoicesApi - axios parameter creator
|
|
@@ -43,7 +44,7 @@ export declare const CorrectionInvoicesApiFp: (configuration?: Configuration) =>
|
|
|
43
44
|
* @param {*} [options] Override http request option.
|
|
44
45
|
* @throws {RequiredError}
|
|
45
46
|
*/
|
|
46
|
-
createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
47
|
+
createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCorrectionInvoicesResponseClass>>;
|
|
47
48
|
};
|
|
48
49
|
/**
|
|
49
50
|
* CorrectionInvoicesApi - factory interface
|
|
@@ -59,7 +60,7 @@ export declare const CorrectionInvoicesApiFactory: (configuration?: Configuratio
|
|
|
59
60
|
* @param {*} [options] Override http request option.
|
|
60
61
|
* @throws {RequiredError}
|
|
61
62
|
*/
|
|
62
|
-
createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<
|
|
63
|
+
createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<CreateCorrectionInvoicesResponseClass>;
|
|
63
64
|
};
|
|
64
65
|
/**
|
|
65
66
|
* Request parameters for createCorrectionInvoice operation in CorrectionInvoicesApi.
|
|
@@ -101,5 +102,5 @@ export declare class CorrectionInvoicesApi extends BaseAPI {
|
|
|
101
102
|
* @throws {RequiredError}
|
|
102
103
|
* @memberof CorrectionInvoicesApi
|
|
103
104
|
*/
|
|
104
|
-
createCorrectionInvoice(requestParameters: CorrectionInvoicesApiCreateCorrectionInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
105
|
+
createCorrectionInvoice(requestParameters: CorrectionInvoicesApiCreateCorrectionInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCorrectionInvoicesResponseClass, any>>;
|
|
105
106
|
}
|
|
@@ -13,8 +13,11 @@ 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';
|
|
16
17
|
import { CreateEstimatedInvoiceForIntervalRequestDto } from '../models';
|
|
18
|
+
import { CreateEstimatedInvoiceForIntervalResponseClass } from '../models';
|
|
17
19
|
import { CreateEstimatedInvoiceRequestDto } from '../models';
|
|
20
|
+
import { CreateEstimatedInvoiceResponseClass } from '../models';
|
|
18
21
|
/**
|
|
19
22
|
* EstimatedInvoicesApi - axios parameter creator
|
|
20
23
|
* @export
|
|
@@ -61,7 +64,7 @@ export declare const EstimatedInvoicesApiFp: (configuration?: Configuration) =>
|
|
|
61
64
|
* @param {*} [options] Override http request option.
|
|
62
65
|
* @throws {RequiredError}
|
|
63
66
|
*/
|
|
64
|
-
createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
67
|
+
createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomEstimatedInvoiceResponseClass>>;
|
|
65
68
|
/**
|
|
66
69
|
* This creates an estimated invoice. It will not be saved in the database.
|
|
67
70
|
* @summary Create the estimated invoice
|
|
@@ -70,7 +73,7 @@ export declare const EstimatedInvoicesApiFp: (configuration?: Configuration) =>
|
|
|
70
73
|
* @param {*} [options] Override http request option.
|
|
71
74
|
* @throws {RequiredError}
|
|
72
75
|
*/
|
|
73
|
-
createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
76
|
+
createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEstimatedInvoiceResponseClass>>;
|
|
74
77
|
/**
|
|
75
78
|
* This creates an estimated invoice. It will not be saved in the database.
|
|
76
79
|
* @summary Create the estimated invoice
|
|
@@ -79,7 +82,7 @@ export declare const EstimatedInvoicesApiFp: (configuration?: Configuration) =>
|
|
|
79
82
|
* @param {*} [options] Override http request option.
|
|
80
83
|
* @throws {RequiredError}
|
|
81
84
|
*/
|
|
82
|
-
createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
85
|
+
createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEstimatedInvoiceForIntervalResponseClass>>;
|
|
83
86
|
};
|
|
84
87
|
/**
|
|
85
88
|
* EstimatedInvoicesApi - factory interface
|
|
@@ -94,7 +97,7 @@ export declare const EstimatedInvoicesApiFactory: (configuration?: Configuration
|
|
|
94
97
|
* @param {*} [options] Override http request option.
|
|
95
98
|
* @throws {RequiredError}
|
|
96
99
|
*/
|
|
97
|
-
createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
100
|
+
createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCustomEstimatedInvoiceResponseClass>;
|
|
98
101
|
/**
|
|
99
102
|
* This creates an estimated invoice. It will not be saved in the database.
|
|
100
103
|
* @summary Create the estimated invoice
|
|
@@ -103,7 +106,7 @@ export declare const EstimatedInvoicesApiFactory: (configuration?: Configuration
|
|
|
103
106
|
* @param {*} [options] Override http request option.
|
|
104
107
|
* @throws {RequiredError}
|
|
105
108
|
*/
|
|
106
|
-
createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
109
|
+
createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<CreateEstimatedInvoiceResponseClass>;
|
|
107
110
|
/**
|
|
108
111
|
* This creates an estimated invoice. It will not be saved in the database.
|
|
109
112
|
* @summary Create the estimated invoice
|
|
@@ -112,7 +115,7 @@ export declare const EstimatedInvoicesApiFactory: (configuration?: Configuration
|
|
|
112
115
|
* @param {*} [options] Override http request option.
|
|
113
116
|
* @throws {RequiredError}
|
|
114
117
|
*/
|
|
115
|
-
createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
118
|
+
createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: any): AxiosPromise<CreateEstimatedInvoiceForIntervalResponseClass>;
|
|
116
119
|
};
|
|
117
120
|
/**
|
|
118
121
|
* Request parameters for createCustomEstimatedInvoice operation in EstimatedInvoicesApi.
|
|
@@ -186,7 +189,7 @@ export declare class EstimatedInvoicesApi extends BaseAPI {
|
|
|
186
189
|
* @throws {RequiredError}
|
|
187
190
|
* @memberof EstimatedInvoicesApi
|
|
188
191
|
*/
|
|
189
|
-
createCustomEstimatedInvoice(requestParameters: EstimatedInvoicesApiCreateCustomEstimatedInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
192
|
+
createCustomEstimatedInvoice(requestParameters: EstimatedInvoicesApiCreateCustomEstimatedInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomEstimatedInvoiceResponseClass, any>>;
|
|
190
193
|
/**
|
|
191
194
|
* This creates an estimated invoice. It will not be saved in the database.
|
|
192
195
|
* @summary Create the estimated invoice
|
|
@@ -195,7 +198,7 @@ export declare class EstimatedInvoicesApi extends BaseAPI {
|
|
|
195
198
|
* @throws {RequiredError}
|
|
196
199
|
* @memberof EstimatedInvoicesApi
|
|
197
200
|
*/
|
|
198
|
-
createEstimatedInvoice(requestParameters: EstimatedInvoicesApiCreateEstimatedInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
201
|
+
createEstimatedInvoice(requestParameters: EstimatedInvoicesApiCreateEstimatedInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEstimatedInvoiceResponseClass, any>>;
|
|
199
202
|
/**
|
|
200
203
|
* This creates an estimated invoice. It will not be saved in the database.
|
|
201
204
|
* @summary Create the estimated invoice
|
|
@@ -204,5 +207,5 @@ export declare class EstimatedInvoicesApi extends BaseAPI {
|
|
|
204
207
|
* @throws {RequiredError}
|
|
205
208
|
* @memberof EstimatedInvoicesApi
|
|
206
209
|
*/
|
|
207
|
-
createEstimatedInvoiceFromInterval(requestParameters: EstimatedInvoicesApiCreateEstimatedInvoiceFromIntervalRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
210
|
+
createEstimatedInvoiceFromInterval(requestParameters: EstimatedInvoicesApiCreateEstimatedInvoiceFromIntervalRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEstimatedInvoiceForIntervalResponseClass, any>>;
|
|
208
211
|
}
|
|
@@ -13,6 +13,7 @@ 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';
|
|
16
17
|
/**
|
|
17
18
|
* InitialInvoicesApi - axios parameter creator
|
|
18
19
|
* @export
|
|
@@ -43,7 +44,7 @@ export declare const InitialInvoicesApiFp: (configuration?: Configuration) => {
|
|
|
43
44
|
* @param {*} [options] Override http request option.
|
|
44
45
|
* @throws {RequiredError}
|
|
45
46
|
*/
|
|
46
|
-
createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
47
|
+
createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateInvoiceResponseClass>>;
|
|
47
48
|
};
|
|
48
49
|
/**
|
|
49
50
|
* InitialInvoicesApi - factory interface
|
|
@@ -59,7 +60,7 @@ export declare const InitialInvoicesApiFactory: (configuration?: Configuration,
|
|
|
59
60
|
* @param {*} [options] Override http request option.
|
|
60
61
|
* @throws {RequiredError}
|
|
61
62
|
*/
|
|
62
|
-
createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<
|
|
63
|
+
createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<CreateInvoiceResponseClass>;
|
|
63
64
|
};
|
|
64
65
|
/**
|
|
65
66
|
* Request parameters for createInitialInvoice operation in InitialInvoicesApi.
|
|
@@ -101,5 +102,5 @@ export declare class InitialInvoicesApi extends BaseAPI {
|
|
|
101
102
|
* @throws {RequiredError}
|
|
102
103
|
* @memberof InitialInvoicesApi
|
|
103
104
|
*/
|
|
104
|
-
createInitialInvoice(requestParameters: InitialInvoicesApiCreateInitialInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
105
|
+
createInitialInvoice(requestParameters: InitialInvoicesApiCreateInitialInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateInvoiceResponseClass, any>>;
|
|
105
106
|
}
|
|
@@ -12,6 +12,9 @@
|
|
|
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';
|
|
15
18
|
/**
|
|
16
19
|
* InvoicesApi - axios parameter creator
|
|
17
20
|
* @export
|
|
@@ -72,7 +75,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
|
72
75
|
* @param {*} [options] Override http request option.
|
|
73
76
|
* @throws {RequiredError}
|
|
74
77
|
*/
|
|
75
|
-
getInvoice(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
78
|
+
getInvoice(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoiceResponseClass>>;
|
|
76
79
|
/**
|
|
77
80
|
* 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.
|
|
78
81
|
* @summary List invoices
|
|
@@ -87,7 +90,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
|
87
90
|
* @param {*} [options] Override http request option.
|
|
88
91
|
* @throws {RequiredError}
|
|
89
92
|
*/
|
|
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<
|
|
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<ListInvoicesResponseClass>>;
|
|
91
94
|
/**
|
|
92
95
|
* Returns a list of policies billing dates you have previously created. The policies billing dates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
93
96
|
* @summary List policies billing dates
|
|
@@ -102,7 +105,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
|
102
105
|
* @param {*} [options] Override http request option.
|
|
103
106
|
* @throws {RequiredError}
|
|
104
107
|
*/
|
|
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<
|
|
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<ListPoliciesBillingDatesResponseClass>>;
|
|
106
109
|
};
|
|
107
110
|
/**
|
|
108
111
|
* InvoicesApi - factory interface
|
|
@@ -118,7 +121,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
|
|
|
118
121
|
* @param {*} [options] Override http request option.
|
|
119
122
|
* @throws {RequiredError}
|
|
120
123
|
*/
|
|
121
|
-
getInvoice(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<
|
|
124
|
+
getInvoice(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetInvoiceResponseClass>;
|
|
122
125
|
/**
|
|
123
126
|
* 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.
|
|
124
127
|
* @summary List invoices
|
|
@@ -133,7 +136,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
|
|
|
133
136
|
* @param {*} [options] Override http request option.
|
|
134
137
|
* @throws {RequiredError}
|
|
135
138
|
*/
|
|
136
|
-
listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
139
|
+
listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInvoicesResponseClass>;
|
|
137
140
|
/**
|
|
138
141
|
* 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.
|
|
139
142
|
* @summary List policies billing dates
|
|
@@ -148,7 +151,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
|
|
|
148
151
|
* @param {*} [options] Override http request option.
|
|
149
152
|
* @throws {RequiredError}
|
|
150
153
|
*/
|
|
151
|
-
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
154
|
+
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPoliciesBillingDatesResponseClass>;
|
|
152
155
|
};
|
|
153
156
|
/**
|
|
154
157
|
* Request parameters for getInvoice operation in InvoicesApi.
|
|
@@ -300,7 +303,7 @@ export declare class InvoicesApi extends BaseAPI {
|
|
|
300
303
|
* @throws {RequiredError}
|
|
301
304
|
* @memberof InvoicesApi
|
|
302
305
|
*/
|
|
303
|
-
getInvoice(requestParameters: InvoicesApiGetInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
306
|
+
getInvoice(requestParameters: InvoicesApiGetInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetInvoiceResponseClass, any>>;
|
|
304
307
|
/**
|
|
305
308
|
* 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.
|
|
306
309
|
* @summary List invoices
|
|
@@ -309,7 +312,7 @@ export declare class InvoicesApi extends BaseAPI {
|
|
|
309
312
|
* @throws {RequiredError}
|
|
310
313
|
* @memberof InvoicesApi
|
|
311
314
|
*/
|
|
312
|
-
listInvoices(requestParameters?: InvoicesApiListInvoicesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
315
|
+
listInvoices(requestParameters?: InvoicesApiListInvoicesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInvoicesResponseClass, any>>;
|
|
313
316
|
/**
|
|
314
317
|
* 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.
|
|
315
318
|
* @summary List policies billing dates
|
|
@@ -318,5 +321,5 @@ export declare class InvoicesApi extends BaseAPI {
|
|
|
318
321
|
* @throws {RequiredError}
|
|
319
322
|
* @memberof InvoicesApi
|
|
320
323
|
*/
|
|
321
|
-
listPoliciesBillingDates(requestParameters?: InvoicesApiListPoliciesBillingDatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
324
|
+
listPoliciesBillingDates(requestParameters?: InvoicesApiListPoliciesBillingDatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPoliciesBillingDatesResponseClass, any>>;
|
|
322
325
|
}
|
|
@@ -13,6 +13,7 @@ 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';
|
|
16
17
|
/**
|
|
17
18
|
* RecurringInvoicesApi - axios parameter creator
|
|
18
19
|
* @export
|
|
@@ -43,7 +44,7 @@ export declare const RecurringInvoicesApiFp: (configuration?: Configuration) =>
|
|
|
43
44
|
* @param {*} [options] Override http request option.
|
|
44
45
|
* @throws {RequiredError}
|
|
45
46
|
*/
|
|
46
|
-
createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
47
|
+
createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateInvoiceResponseClass>>;
|
|
47
48
|
};
|
|
48
49
|
/**
|
|
49
50
|
* RecurringInvoicesApi - factory interface
|
|
@@ -59,7 +60,7 @@ export declare const RecurringInvoicesApiFactory: (configuration?: Configuration
|
|
|
59
60
|
* @param {*} [options] Override http request option.
|
|
60
61
|
* @throws {RequiredError}
|
|
61
62
|
*/
|
|
62
|
-
createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<
|
|
63
|
+
createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<CreateInvoiceResponseClass>;
|
|
63
64
|
};
|
|
64
65
|
/**
|
|
65
66
|
* Request parameters for createRecurringInvoice operation in RecurringInvoicesApi.
|
|
@@ -101,5 +102,5 @@ export declare class RecurringInvoicesApi extends BaseAPI {
|
|
|
101
102
|
* @throws {RequiredError}
|
|
102
103
|
* @memberof RecurringInvoicesApi
|
|
103
104
|
*/
|
|
104
|
-
createRecurringInvoice(requestParameters: RecurringInvoicesApiCreateRecurringInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
105
|
+
createRecurringInvoice(requestParameters: RecurringInvoicesApiCreateRecurringInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateInvoiceResponseClass, any>>;
|
|
105
106
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL BillingService
|
|
3
|
+
* The EMIL BillingService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { OmitTypeClass } from './omit-type-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateCorrectionInvoicesResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateCorrectionInvoicesResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Correction invoices response.
|
|
21
|
+
* @type {OmitTypeClass}
|
|
22
|
+
* @memberof CreateCorrectionInvoicesResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'invoices': OmitTypeClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL BillingService
|
|
6
|
+
* The EMIL BillingService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL BillingService
|
|
3
|
+
* The EMIL BillingService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateCustomEstimatedInvoiceResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateCustomEstimatedInvoiceResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Recurring invoice response
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof CreateCustomEstimatedInvoiceResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'custom': object;
|
|
24
|
+
}
|