@emilgroup/billing-sdk-node 1.27.2-beta.0 → 1.27.2-beta.1
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 +35 -3
- package/dist/models/policy-dto.js +8 -0
- package/dist/models/policy-object-dto.d.ts +20 -2
- package/dist/models/policy-premium-dto.d.ts +14 -2
- package/dist/models/policy-premium-item-dto.d.ts +14 -2
- package/dist/models/policy-version-dto.d.ts +15 -3
- package/dist/models/premium-formula-dto.d.ts +14 -2
- package/dist/models/timeslice-dto.d.ts +13 -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 +38 -3
- package/models/policy-object-dto.ts +20 -2
- package/models/policy-premium-dto.ts +14 -2
- package/models/policy-premium-item-dto.ts +14 -2
- package/models/policy-version-dto.ts +15 -3
- package/models/premium-formula-dto.ts +14 -2
- package/models/timeslice-dto.ts +13 -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-node@1.27.2-beta.
|
|
20
|
+
npm install @emilgroup/billing-sdk-node@1.27.2-beta.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/billing-sdk-node@1.27.2-beta.
|
|
24
|
+
yarn add @emilgroup/billing-sdk-node@1.27.2-beta.1
|
|
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
|
// URLSearchParams not necessarily used
|
|
26
28
|
// @ts-ignore
|
|
@@ -103,7 +105,7 @@ export const CorrectionInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
103
105
|
* @param {*} [options] Override http request option.
|
|
104
106
|
* @throws {RequiredError}
|
|
105
107
|
*/
|
|
106
|
-
async createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
108
|
+
async createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCorrectionInvoicesResponseClass>> {
|
|
107
109
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createCorrectionInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options);
|
|
108
110
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
109
111
|
},
|
|
@@ -126,7 +128,7 @@ export const CorrectionInvoicesApiFactory = function (configuration?: Configurat
|
|
|
126
128
|
* @param {*} [options] Override http request option.
|
|
127
129
|
* @throws {RequiredError}
|
|
128
130
|
*/
|
|
129
|
-
createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<
|
|
131
|
+
createCorrectionInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<CreateCorrectionInvoicesResponseClass> {
|
|
130
132
|
return localVarFp.createCorrectionInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options).then((request) => request(axios, basePath));
|
|
131
133
|
},
|
|
132
134
|
};
|
|
@@ -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
|
// URLSearchParams not necessarily used
|
|
30
36
|
// @ts-ignore
|
|
31
37
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -195,7 +201,7 @@ export const EstimatedInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
195
201
|
* @param {*} [options] Override http request option.
|
|
196
202
|
* @throws {RequiredError}
|
|
197
203
|
*/
|
|
198
|
-
async createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
204
|
+
async createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomEstimatedInvoiceResponseClass>> {
|
|
199
205
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto, authorization, options);
|
|
200
206
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
201
207
|
},
|
|
@@ -207,7 +213,7 @@ export const EstimatedInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
207
213
|
* @param {*} [options] Override http request option.
|
|
208
214
|
* @throws {RequiredError}
|
|
209
215
|
*/
|
|
210
|
-
async createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
216
|
+
async createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEstimatedInvoiceResponseClass>> {
|
|
211
217
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createEstimatedInvoice(createEstimatedInvoiceRequestDto, authorization, options);
|
|
212
218
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
213
219
|
},
|
|
@@ -219,7 +225,7 @@ export const EstimatedInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
219
225
|
* @param {*} [options] Override http request option.
|
|
220
226
|
* @throws {RequiredError}
|
|
221
227
|
*/
|
|
222
|
-
async createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
228
|
+
async createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEstimatedInvoiceForIntervalResponseClass>> {
|
|
223
229
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto, authorization, options);
|
|
224
230
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
225
231
|
},
|
|
@@ -241,7 +247,7 @@ export const EstimatedInvoicesApiFactory = function (configuration?: Configurati
|
|
|
241
247
|
* @param {*} [options] Override http request option.
|
|
242
248
|
* @throws {RequiredError}
|
|
243
249
|
*/
|
|
244
|
-
createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
250
|
+
createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto: CreateCustomEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCustomEstimatedInvoiceResponseClass> {
|
|
245
251
|
return localVarFp.createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
246
252
|
},
|
|
247
253
|
/**
|
|
@@ -252,7 +258,7 @@ export const EstimatedInvoicesApiFactory = function (configuration?: Configurati
|
|
|
252
258
|
* @param {*} [options] Override http request option.
|
|
253
259
|
* @throws {RequiredError}
|
|
254
260
|
*/
|
|
255
|
-
createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
261
|
+
createEstimatedInvoice(createEstimatedInvoiceRequestDto: CreateEstimatedInvoiceRequestDto, authorization?: string, options?: any): AxiosPromise<CreateEstimatedInvoiceResponseClass> {
|
|
256
262
|
return localVarFp.createEstimatedInvoice(createEstimatedInvoiceRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
257
263
|
},
|
|
258
264
|
/**
|
|
@@ -263,7 +269,7 @@ export const EstimatedInvoicesApiFactory = function (configuration?: Configurati
|
|
|
263
269
|
* @param {*} [options] Override http request option.
|
|
264
270
|
* @throws {RequiredError}
|
|
265
271
|
*/
|
|
266
|
-
createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
272
|
+
createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto: CreateEstimatedInvoiceForIntervalRequestDto, authorization?: string, options?: any): AxiosPromise<CreateEstimatedInvoiceForIntervalResponseClass> {
|
|
267
273
|
return localVarFp.createEstimatedInvoiceFromInterval(createEstimatedInvoiceForIntervalRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
268
274
|
},
|
|
269
275
|
};
|
|
@@ -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
|
// URLSearchParams not necessarily used
|
|
26
28
|
// @ts-ignore
|
|
27
29
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -103,7 +105,7 @@ export const InitialInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
103
105
|
* @param {*} [options] Override http request option.
|
|
104
106
|
* @throws {RequiredError}
|
|
105
107
|
*/
|
|
106
|
-
async createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
108
|
+
async createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateInvoiceResponseClass>> {
|
|
107
109
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createInitialInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options);
|
|
108
110
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
109
111
|
},
|
|
@@ -126,7 +128,7 @@ export const InitialInvoicesApiFactory = function (configuration?: Configuration
|
|
|
126
128
|
* @param {*} [options] Override http request option.
|
|
127
129
|
* @throws {RequiredError}
|
|
128
130
|
*/
|
|
129
|
-
createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<
|
|
131
|
+
createInitialInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<CreateInvoiceResponseClass> {
|
|
130
132
|
return localVarFp.createInitialInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options).then((request) => request(axios, basePath));
|
|
131
133
|
},
|
|
132
134
|
};
|
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
|
// URLSearchParams not necessarily used
|
|
24
30
|
// @ts-ignore
|
|
25
31
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -253,7 +259,7 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
|
|
|
253
259
|
* @param {*} [options] Override http request option.
|
|
254
260
|
* @throws {RequiredError}
|
|
255
261
|
*/
|
|
256
|
-
async getInvoice(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
262
|
+
async getInvoice(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoiceResponseClass>> {
|
|
257
263
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getInvoice(code, expand, authorization, options);
|
|
258
264
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
259
265
|
},
|
|
@@ -271,7 +277,7 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
|
|
|
271
277
|
* @param {*} [options] Override http request option.
|
|
272
278
|
* @throws {RequiredError}
|
|
273
279
|
*/
|
|
274
|
-
async listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
280
|
+
async listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvoicesResponseClass>> {
|
|
275
281
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listInvoices(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
276
282
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
277
283
|
},
|
|
@@ -289,7 +295,7 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
|
|
|
289
295
|
* @param {*} [options] Override http request option.
|
|
290
296
|
* @throws {RequiredError}
|
|
291
297
|
*/
|
|
292
|
-
async listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
298
|
+
async listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesBillingDatesResponseClass>> {
|
|
293
299
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listPoliciesBillingDates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
294
300
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
295
301
|
},
|
|
@@ -312,7 +318,7 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
312
318
|
* @param {*} [options] Override http request option.
|
|
313
319
|
* @throws {RequiredError}
|
|
314
320
|
*/
|
|
315
|
-
getInvoice(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<
|
|
321
|
+
getInvoice(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetInvoiceResponseClass> {
|
|
316
322
|
return localVarFp.getInvoice(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
317
323
|
},
|
|
318
324
|
/**
|
|
@@ -329,7 +335,7 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
329
335
|
* @param {*} [options] Override http request option.
|
|
330
336
|
* @throws {RequiredError}
|
|
331
337
|
*/
|
|
332
|
-
listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
338
|
+
listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInvoicesResponseClass> {
|
|
333
339
|
return localVarFp.listInvoices(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
334
340
|
},
|
|
335
341
|
/**
|
|
@@ -346,7 +352,7 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
346
352
|
* @param {*} [options] Override http request option.
|
|
347
353
|
* @throws {RequiredError}
|
|
348
354
|
*/
|
|
349
|
-
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
355
|
+
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPoliciesBillingDatesResponseClass> {
|
|
350
356
|
return localVarFp.listPoliciesBillingDates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
351
357
|
},
|
|
352
358
|
};
|
|
@@ -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
|
// URLSearchParams not necessarily used
|
|
26
28
|
// @ts-ignore
|
|
27
29
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -103,7 +105,7 @@ export const RecurringInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
103
105
|
* @param {*} [options] Override http request option.
|
|
104
106
|
* @throws {RequiredError}
|
|
105
107
|
*/
|
|
106
|
-
async createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
108
|
+
async createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateInvoiceResponseClass>> {
|
|
107
109
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createRecurringInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options);
|
|
108
110
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
109
111
|
},
|
|
@@ -126,7 +128,7 @@ export const RecurringInvoicesApiFactory = function (configuration?: Configurati
|
|
|
126
128
|
* @param {*} [options] Override http request option.
|
|
127
129
|
* @throws {RequiredError}
|
|
128
130
|
*/
|
|
129
|
-
createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<
|
|
131
|
+
createRecurringInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<CreateInvoiceResponseClass> {
|
|
130
132
|
return localVarFp.createRecurringInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options).then((request) => request(axios, basePath));
|
|
131
133
|
},
|
|
132
134
|
};
|
|
@@ -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
|
+
}
|