@emilgroup/billing-sdk-node 1.32.0 → 1.33.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 +4 -0
- package/README.md +2 -2
- package/api/invoices-api.ts +8 -6
- package/api/policy-billing-api.ts +12 -8
- package/dist/api/invoices-api.d.ts +8 -7
- package/dist/api/invoices-api.js +3 -3
- package/dist/api/policy-billing-api.d.ts +12 -10
- package/dist/api/policy-billing-api.js +3 -3
- package/dist/models/create-policy-billing-response-class.d.ts +25 -0
- package/dist/models/create-policy-billing-response-class.js +15 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/list-policies-billings-response-class.d.ts +25 -0
- package/dist/models/list-policies-billings-response-class.js +15 -0
- package/dist/models/policy-billing-class.d.ts +86 -0
- package/dist/models/policy-billing-class.js +23 -0
- package/dist/models/update-policy-billing-response-class.d.ts +25 -0
- package/dist/models/update-policy-billing-response-class.js +15 -0
- package/models/create-policy-billing-response-class.ts +31 -0
- package/models/index.ts +4 -0
- package/models/list-policies-billings-response-class.ts +31 -0
- package/models/policy-billing-class.ts +95 -0
- package/models/update-policy-billing-response-class.ts +31 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -31,6 +31,7 @@ models/create-invoice-response-class.ts
|
|
|
31
31
|
models/create-invoice-status-request-dto.ts
|
|
32
32
|
models/create-item-request-dto.ts
|
|
33
33
|
models/create-policy-billing-request-dto.ts
|
|
34
|
+
models/create-policy-billing-response-class.ts
|
|
34
35
|
models/create-termination-invoice-request-dto.ts
|
|
35
36
|
models/get-invoice-response-class.ts
|
|
36
37
|
models/index.ts
|
|
@@ -42,8 +43,10 @@ models/invoice-payment-class.ts
|
|
|
42
43
|
models/invoice-payments-class.ts
|
|
43
44
|
models/invoice-status-class.ts
|
|
44
45
|
models/list-invoices-response-class.ts
|
|
46
|
+
models/list-policies-billings-response-class.ts
|
|
45
47
|
models/list-request-dto.ts
|
|
46
48
|
models/omit-type-class.ts
|
|
49
|
+
models/policy-billing-class.ts
|
|
47
50
|
models/policy-dto.ts
|
|
48
51
|
models/policy-object-dto.ts
|
|
49
52
|
models/policy-premium-dto.ts
|
|
@@ -53,5 +56,6 @@ models/premium-formula-dto.ts
|
|
|
53
56
|
models/revert-invoice-request-dto.ts
|
|
54
57
|
models/timeslice-dto.ts
|
|
55
58
|
models/update-policy-billing-request-dto.ts
|
|
59
|
+
models/update-policy-billing-response-class.ts
|
|
56
60
|
package.json
|
|
57
61
|
tsconfig.json
|
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.
|
|
20
|
+
npm install @emilgroup/billing-sdk-node@1.33.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/billing-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/billing-sdk-node@1.33.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `InvoicesApi`.
|
package/api/invoices-api.ts
CHANGED
|
@@ -28,6 +28,8 @@ import { CreateInvoiceResponseClass } from '../models';
|
|
|
28
28
|
import { GetInvoiceResponseClass } from '../models';
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import { ListInvoicesResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { ListPoliciesBillingsResponseClass } from '../models';
|
|
31
33
|
// URLSearchParams not necessarily used
|
|
32
34
|
// @ts-ignore
|
|
33
35
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -227,7 +229,7 @@ export const InvoicesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
227
229
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
228
230
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
229
231
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
230
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
232
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
231
233
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
232
234
|
* @param {*} [options] Override http request option.
|
|
233
235
|
* @deprecated
|
|
@@ -358,13 +360,13 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
|
|
|
358
360
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
359
361
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
360
362
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
361
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
363
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
362
364
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
363
365
|
* @param {*} [options] Override http request option.
|
|
364
366
|
* @deprecated
|
|
365
367
|
* @throws {RequiredError}
|
|
366
368
|
*/
|
|
367
|
-
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<
|
|
369
|
+
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<ListPoliciesBillingsResponseClass>> {
|
|
368
370
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listPoliciesBillingDates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
369
371
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
370
372
|
},
|
|
@@ -428,13 +430,13 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
|
|
|
428
430
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
429
431
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
430
432
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
431
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
433
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
432
434
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
433
435
|
* @param {*} [options] Override http request option.
|
|
434
436
|
* @deprecated
|
|
435
437
|
* @throws {RequiredError}
|
|
436
438
|
*/
|
|
437
|
-
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
439
|
+
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPoliciesBillingsResponseClass> {
|
|
438
440
|
return localVarFp.listPoliciesBillingDates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
439
441
|
},
|
|
440
442
|
};
|
|
@@ -608,7 +610,7 @@ export interface InvoicesApiListPoliciesBillingDatesRequest {
|
|
|
608
610
|
readonly order?: string
|
|
609
611
|
|
|
610
612
|
/**
|
|
611
|
-
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
613
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
612
614
|
* @type {string}
|
|
613
615
|
* @memberof InvoicesApiListPoliciesBillingDates
|
|
614
616
|
*/
|
|
@@ -23,7 +23,11 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { CreatePolicyBillingRequestDto } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
|
+
import { CreatePolicyBillingResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
26
28
|
import { UpdatePolicyBillingRequestDto } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { UpdatePolicyBillingResponseClass } from '../models';
|
|
27
31
|
// URLSearchParams not necessarily used
|
|
28
32
|
// @ts-ignore
|
|
29
33
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -90,7 +94,7 @@ export const PolicyBillingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
90
94
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
91
95
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
92
96
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
93
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
97
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
94
98
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
95
99
|
* @param {*} [options] Override http request option.
|
|
96
100
|
* @throws {RequiredError}
|
|
@@ -226,7 +230,7 @@ export const PolicyBillingApiFp = function(configuration?: Configuration) {
|
|
|
226
230
|
* @param {*} [options] Override http request option.
|
|
227
231
|
* @throws {RequiredError}
|
|
228
232
|
*/
|
|
229
|
-
async createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
233
|
+
async createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyBillingResponseClass>> {
|
|
230
234
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createPolicyBilling(createPolicyBillingRequestDto, authorization, options);
|
|
231
235
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
232
236
|
},
|
|
@@ -239,7 +243,7 @@ export const PolicyBillingApiFp = function(configuration?: Configuration) {
|
|
|
239
243
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
240
244
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
241
245
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
242
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
246
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
243
247
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
244
248
|
* @param {*} [options] Override http request option.
|
|
245
249
|
* @throws {RequiredError}
|
|
@@ -257,7 +261,7 @@ export const PolicyBillingApiFp = function(configuration?: Configuration) {
|
|
|
257
261
|
* @param {*} [options] Override http request option.
|
|
258
262
|
* @throws {RequiredError}
|
|
259
263
|
*/
|
|
260
|
-
async updatePolicyBilling(code: string, updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
264
|
+
async updatePolicyBilling(code: string, updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatePolicyBillingResponseClass>> {
|
|
261
265
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updatePolicyBilling(code, updatePolicyBillingRequestDto, authorization, options);
|
|
262
266
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
263
267
|
},
|
|
@@ -279,7 +283,7 @@ export const PolicyBillingApiFactory = function (configuration?: Configuration,
|
|
|
279
283
|
* @param {*} [options] Override http request option.
|
|
280
284
|
* @throws {RequiredError}
|
|
281
285
|
*/
|
|
282
|
-
createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
286
|
+
createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyBillingResponseClass> {
|
|
283
287
|
return localVarFp.createPolicyBilling(createPolicyBillingRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
284
288
|
},
|
|
285
289
|
/**
|
|
@@ -291,7 +295,7 @@ export const PolicyBillingApiFactory = function (configuration?: Configuration,
|
|
|
291
295
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
292
296
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
293
297
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
294
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
298
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
295
299
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
296
300
|
* @param {*} [options] Override http request option.
|
|
297
301
|
* @throws {RequiredError}
|
|
@@ -308,7 +312,7 @@ export const PolicyBillingApiFactory = function (configuration?: Configuration,
|
|
|
308
312
|
* @param {*} [options] Override http request option.
|
|
309
313
|
* @throws {RequiredError}
|
|
310
314
|
*/
|
|
311
|
-
updatePolicyBilling(code: string, updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
315
|
+
updatePolicyBilling(code: string, updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePolicyBillingResponseClass> {
|
|
312
316
|
return localVarFp.updatePolicyBilling(code, updatePolicyBillingRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
313
317
|
},
|
|
314
318
|
};
|
|
@@ -384,7 +388,7 @@ export interface PolicyBillingApiListPoliciesBillingsRequest {
|
|
|
384
388
|
readonly order?: string
|
|
385
389
|
|
|
386
390
|
/**
|
|
387
|
-
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
391
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
388
392
|
* @type {string}
|
|
389
393
|
* @memberof PolicyBillingApiListPoliciesBillings
|
|
390
394
|
*/
|
|
@@ -16,6 +16,7 @@ import { CreateInvoiceRequestDto } from '../models';
|
|
|
16
16
|
import { CreateInvoiceResponseClass } from '../models';
|
|
17
17
|
import { GetInvoiceResponseClass } from '../models';
|
|
18
18
|
import { ListInvoicesResponseClass } from '../models';
|
|
19
|
+
import { ListPoliciesBillingsResponseClass } from '../models';
|
|
19
20
|
/**
|
|
20
21
|
* InvoicesApi - axios parameter creator
|
|
21
22
|
* @export
|
|
@@ -65,7 +66,7 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
65
66
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
66
67
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
67
68
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
68
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
69
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
69
70
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
70
71
|
* @param {*} [options] Override http request option.
|
|
71
72
|
* @deprecated
|
|
@@ -122,13 +123,13 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
|
122
123
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
123
124
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
124
125
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
125
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
126
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
126
127
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
127
128
|
* @param {*} [options] Override http request option.
|
|
128
129
|
* @deprecated
|
|
129
130
|
* @throws {RequiredError}
|
|
130
131
|
*/
|
|
131
|
-
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<
|
|
132
|
+
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<ListPoliciesBillingsResponseClass>>;
|
|
132
133
|
};
|
|
133
134
|
/**
|
|
134
135
|
* InvoicesApi - factory interface
|
|
@@ -179,13 +180,13 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
|
|
|
179
180
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
180
181
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
181
182
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
182
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
183
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
183
184
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
184
185
|
* @param {*} [options] Override http request option.
|
|
185
186
|
* @deprecated
|
|
186
187
|
* @throws {RequiredError}
|
|
187
188
|
*/
|
|
188
|
-
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
189
|
+
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPoliciesBillingsResponseClass>;
|
|
189
190
|
};
|
|
190
191
|
/**
|
|
191
192
|
* Request parameters for createInvoice operation in InvoicesApi.
|
|
@@ -335,7 +336,7 @@ export interface InvoicesApiListPoliciesBillingDatesRequest {
|
|
|
335
336
|
*/
|
|
336
337
|
readonly order?: string;
|
|
337
338
|
/**
|
|
338
|
-
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
339
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
339
340
|
* @type {string}
|
|
340
341
|
* @memberof InvoicesApiListPoliciesBillingDates
|
|
341
342
|
*/
|
|
@@ -390,5 +391,5 @@ export declare class InvoicesApi extends BaseAPI {
|
|
|
390
391
|
* @throws {RequiredError}
|
|
391
392
|
* @memberof InvoicesApi
|
|
392
393
|
*/
|
|
393
|
-
listPoliciesBillingDates(requestParameters?: InvoicesApiListPoliciesBillingDatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
394
|
+
listPoliciesBillingDates(requestParameters?: InvoicesApiListPoliciesBillingDatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPoliciesBillingsResponseClass, any>>;
|
|
394
395
|
}
|
package/dist/api/invoices-api.js
CHANGED
|
@@ -284,7 +284,7 @@ var InvoicesApiAxiosParamCreator = function (configuration) {
|
|
|
284
284
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
285
285
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
286
286
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
287
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
287
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
288
288
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
289
289
|
* @param {*} [options] Override http request option.
|
|
290
290
|
* @deprecated
|
|
@@ -438,7 +438,7 @@ var InvoicesApiFp = function (configuration) {
|
|
|
438
438
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
439
439
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
440
440
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
441
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
441
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
442
442
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
443
443
|
* @param {*} [options] Override http request option.
|
|
444
444
|
* @deprecated
|
|
@@ -517,7 +517,7 @@ var InvoicesApiFactory = function (configuration, basePath, axios) {
|
|
|
517
517
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
518
518
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
519
519
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
520
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
520
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
521
521
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
522
522
|
* @param {*} [options] Override http request option.
|
|
523
523
|
* @deprecated
|
|
@@ -13,7 +13,9 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreatePolicyBillingRequestDto } from '../models';
|
|
16
|
+
import { CreatePolicyBillingResponseClass } from '../models';
|
|
16
17
|
import { UpdatePolicyBillingRequestDto } from '../models';
|
|
18
|
+
import { UpdatePolicyBillingResponseClass } from '../models';
|
|
17
19
|
/**
|
|
18
20
|
* PolicyBillingApi - axios parameter creator
|
|
19
21
|
* @export
|
|
@@ -37,7 +39,7 @@ export declare const PolicyBillingApiAxiosParamCreator: (configuration?: Configu
|
|
|
37
39
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
38
40
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
39
41
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
40
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
42
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
41
43
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
42
44
|
* @param {*} [options] Override http request option.
|
|
43
45
|
* @throws {RequiredError}
|
|
@@ -67,7 +69,7 @@ export declare const PolicyBillingApiFp: (configuration?: Configuration) => {
|
|
|
67
69
|
* @param {*} [options] Override http request option.
|
|
68
70
|
* @throws {RequiredError}
|
|
69
71
|
*/
|
|
70
|
-
createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
72
|
+
createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyBillingResponseClass>>;
|
|
71
73
|
/**
|
|
72
74
|
* Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
73
75
|
* @summary List policies billings
|
|
@@ -77,7 +79,7 @@ export declare const PolicyBillingApiFp: (configuration?: Configuration) => {
|
|
|
77
79
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
78
80
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
79
81
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
80
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
82
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
81
83
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
82
84
|
* @param {*} [options] Override http request option.
|
|
83
85
|
* @throws {RequiredError}
|
|
@@ -92,7 +94,7 @@ export declare const PolicyBillingApiFp: (configuration?: Configuration) => {
|
|
|
92
94
|
* @param {*} [options] Override http request option.
|
|
93
95
|
* @throws {RequiredError}
|
|
94
96
|
*/
|
|
95
|
-
updatePolicyBilling(code: string, updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
97
|
+
updatePolicyBilling(code: string, updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatePolicyBillingResponseClass>>;
|
|
96
98
|
};
|
|
97
99
|
/**
|
|
98
100
|
* PolicyBillingApi - factory interface
|
|
@@ -107,7 +109,7 @@ export declare const PolicyBillingApiFactory: (configuration?: Configuration, ba
|
|
|
107
109
|
* @param {*} [options] Override http request option.
|
|
108
110
|
* @throws {RequiredError}
|
|
109
111
|
*/
|
|
110
|
-
createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
112
|
+
createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyBillingResponseClass>;
|
|
111
113
|
/**
|
|
112
114
|
* Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
113
115
|
* @summary List policies billings
|
|
@@ -117,7 +119,7 @@ export declare const PolicyBillingApiFactory: (configuration?: Configuration, ba
|
|
|
117
119
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
118
120
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
119
121
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
120
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
122
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
121
123
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
122
124
|
* @param {*} [options] Override http request option.
|
|
123
125
|
* @throws {RequiredError}
|
|
@@ -132,7 +134,7 @@ export declare const PolicyBillingApiFactory: (configuration?: Configuration, ba
|
|
|
132
134
|
* @param {*} [options] Override http request option.
|
|
133
135
|
* @throws {RequiredError}
|
|
134
136
|
*/
|
|
135
|
-
updatePolicyBilling(code: string, updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<
|
|
137
|
+
updatePolicyBilling(code: string, updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePolicyBillingResponseClass>;
|
|
136
138
|
};
|
|
137
139
|
/**
|
|
138
140
|
* Request parameters for createPolicyBilling operation in PolicyBillingApi.
|
|
@@ -196,7 +198,7 @@ export interface PolicyBillingApiListPoliciesBillingsRequest {
|
|
|
196
198
|
*/
|
|
197
199
|
readonly order?: string;
|
|
198
200
|
/**
|
|
199
|
-
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
201
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
200
202
|
* @type {string}
|
|
201
203
|
* @memberof PolicyBillingApiListPoliciesBillings
|
|
202
204
|
*/
|
|
@@ -248,7 +250,7 @@ export declare class PolicyBillingApi extends BaseAPI {
|
|
|
248
250
|
* @throws {RequiredError}
|
|
249
251
|
* @memberof PolicyBillingApi
|
|
250
252
|
*/
|
|
251
|
-
createPolicyBilling(requestParameters: PolicyBillingApiCreatePolicyBillingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
253
|
+
createPolicyBilling(requestParameters: PolicyBillingApiCreatePolicyBillingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicyBillingResponseClass, any>>;
|
|
252
254
|
/**
|
|
253
255
|
* Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
254
256
|
* @summary List policies billings
|
|
@@ -266,5 +268,5 @@ export declare class PolicyBillingApi extends BaseAPI {
|
|
|
266
268
|
* @throws {RequiredError}
|
|
267
269
|
* @memberof PolicyBillingApi
|
|
268
270
|
*/
|
|
269
|
-
updatePolicyBilling(requestParameters: PolicyBillingApiUpdatePolicyBillingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
271
|
+
updatePolicyBilling(requestParameters: PolicyBillingApiUpdatePolicyBillingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePolicyBillingResponseClass, any>>;
|
|
270
272
|
}
|
|
@@ -154,7 +154,7 @@ var PolicyBillingApiAxiosParamCreator = function (configuration) {
|
|
|
154
154
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
155
155
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
156
156
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
157
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
157
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
158
158
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
159
159
|
* @param {*} [options] Override http request option.
|
|
160
160
|
* @throws {RequiredError}
|
|
@@ -310,7 +310,7 @@ var PolicyBillingApiFp = function (configuration) {
|
|
|
310
310
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
311
311
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
312
312
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
313
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
313
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
314
314
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
315
315
|
* @param {*} [options] Override http request option.
|
|
316
316
|
* @throws {RequiredError}
|
|
@@ -380,7 +380,7 @@ var PolicyBillingApiFactory = function (configuration, basePath, axios) {
|
|
|
380
380
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
381
381
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
382
382
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt</i>
|
|
383
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
383
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
384
384
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo</i>
|
|
385
385
|
* @param {*} [options] Override http request option.
|
|
386
386
|
* @throws {RequiredError}
|
|
@@ -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 { PolicyBillingClass } from './policy-billing-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreatePolicyBillingResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CreatePolicyBillingResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Policy billing response.
|
|
21
|
+
* @type {PolicyBillingClass}
|
|
22
|
+
* @memberof CreatePolicyBillingResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'policyBilling': PolicyBillingClass;
|
|
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 });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from './create-invoice-response-class';
|
|
|
13
13
|
export * from './create-invoice-status-request-dto';
|
|
14
14
|
export * from './create-item-request-dto';
|
|
15
15
|
export * from './create-policy-billing-request-dto';
|
|
16
|
+
export * from './create-policy-billing-response-class';
|
|
16
17
|
export * from './create-termination-invoice-request-dto';
|
|
17
18
|
export * from './get-invoice-response-class';
|
|
18
19
|
export * from './inline-response200';
|
|
@@ -23,8 +24,10 @@ export * from './invoice-payment-class';
|
|
|
23
24
|
export * from './invoice-payments-class';
|
|
24
25
|
export * from './invoice-status-class';
|
|
25
26
|
export * from './list-invoices-response-class';
|
|
27
|
+
export * from './list-policies-billings-response-class';
|
|
26
28
|
export * from './list-request-dto';
|
|
27
29
|
export * from './omit-type-class';
|
|
30
|
+
export * from './policy-billing-class';
|
|
28
31
|
export * from './policy-dto';
|
|
29
32
|
export * from './policy-object-dto';
|
|
30
33
|
export * from './policy-premium-dto';
|
|
@@ -34,3 +37,4 @@ export * from './premium-formula-dto';
|
|
|
34
37
|
export * from './revert-invoice-request-dto';
|
|
35
38
|
export * from './timeslice-dto';
|
|
36
39
|
export * from './update-policy-billing-request-dto';
|
|
40
|
+
export * from './update-policy-billing-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -29,6 +29,7 @@ __exportStar(require("./create-invoice-response-class"), exports);
|
|
|
29
29
|
__exportStar(require("./create-invoice-status-request-dto"), exports);
|
|
30
30
|
__exportStar(require("./create-item-request-dto"), exports);
|
|
31
31
|
__exportStar(require("./create-policy-billing-request-dto"), exports);
|
|
32
|
+
__exportStar(require("./create-policy-billing-response-class"), exports);
|
|
32
33
|
__exportStar(require("./create-termination-invoice-request-dto"), exports);
|
|
33
34
|
__exportStar(require("./get-invoice-response-class"), exports);
|
|
34
35
|
__exportStar(require("./inline-response200"), exports);
|
|
@@ -39,8 +40,10 @@ __exportStar(require("./invoice-payment-class"), exports);
|
|
|
39
40
|
__exportStar(require("./invoice-payments-class"), exports);
|
|
40
41
|
__exportStar(require("./invoice-status-class"), exports);
|
|
41
42
|
__exportStar(require("./list-invoices-response-class"), exports);
|
|
43
|
+
__exportStar(require("./list-policies-billings-response-class"), exports);
|
|
42
44
|
__exportStar(require("./list-request-dto"), exports);
|
|
43
45
|
__exportStar(require("./omit-type-class"), exports);
|
|
46
|
+
__exportStar(require("./policy-billing-class"), exports);
|
|
44
47
|
__exportStar(require("./policy-dto"), exports);
|
|
45
48
|
__exportStar(require("./policy-object-dto"), exports);
|
|
46
49
|
__exportStar(require("./policy-premium-dto"), exports);
|
|
@@ -50,3 +53,4 @@ __exportStar(require("./premium-formula-dto"), exports);
|
|
|
50
53
|
__exportStar(require("./revert-invoice-request-dto"), exports);
|
|
51
54
|
__exportStar(require("./timeslice-dto"), exports);
|
|
52
55
|
__exportStar(require("./update-policy-billing-request-dto"), exports);
|
|
56
|
+
__exportStar(require("./update-policy-billing-response-class"), exports);
|
|
@@ -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 { PolicyBillingClass } from './policy-billing-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListPoliciesBillingsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListPoliciesBillingsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Policies billings list items.
|
|
21
|
+
* @type {Array<PolicyBillingClass>}
|
|
22
|
+
* @memberof ListPoliciesBillingsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<PolicyBillingClass>;
|
|
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,86 @@
|
|
|
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 PolicyBillingClass
|
|
16
|
+
*/
|
|
17
|
+
export interface PolicyBillingClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PolicyBillingClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PolicyBillingClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier of the policy that this object belongs to.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PolicyBillingClass
|
|
34
|
+
*/
|
|
35
|
+
'policyCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* The next billing date this policy will be invoiced.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PolicyBillingClass
|
|
40
|
+
*/
|
|
41
|
+
'nextBillingDate': string;
|
|
42
|
+
/**
|
|
43
|
+
* This field will be set to true once an invoice has been created on this specific billing date. It is there to avoid a policy being invoiced multiple times in case of retry.
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof PolicyBillingClass
|
|
46
|
+
*/
|
|
47
|
+
'isInvoiced': boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Policy billing status.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PolicyBillingClass
|
|
52
|
+
*/
|
|
53
|
+
'status': PolicyBillingClassStatusEnum;
|
|
54
|
+
/**
|
|
55
|
+
* Identifier of the user who created the record.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PolicyBillingClass
|
|
58
|
+
*/
|
|
59
|
+
'createdBy': string;
|
|
60
|
+
/**
|
|
61
|
+
* Identifier of the user who last updated the record.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PolicyBillingClass
|
|
64
|
+
*/
|
|
65
|
+
'updatedBy': string;
|
|
66
|
+
/**
|
|
67
|
+
* Time at which the object was created.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PolicyBillingClass
|
|
70
|
+
*/
|
|
71
|
+
'createdAt': string;
|
|
72
|
+
/**
|
|
73
|
+
* Time at which the object was updated.
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PolicyBillingClass
|
|
76
|
+
*/
|
|
77
|
+
'updatedAt': string;
|
|
78
|
+
}
|
|
79
|
+
export declare const PolicyBillingClassStatusEnum: {
|
|
80
|
+
readonly Invoiced: "invoiced";
|
|
81
|
+
readonly Pending: "pending";
|
|
82
|
+
readonly Terminated: "terminated";
|
|
83
|
+
readonly Withdrawn: "withdrawn";
|
|
84
|
+
readonly Paused: "paused";
|
|
85
|
+
};
|
|
86
|
+
export type PolicyBillingClassStatusEnum = typeof PolicyBillingClassStatusEnum[keyof typeof PolicyBillingClassStatusEnum];
|
|
@@ -0,0 +1,23 @@
|
|
|
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 });
|
|
16
|
+
exports.PolicyBillingClassStatusEnum = void 0;
|
|
17
|
+
exports.PolicyBillingClassStatusEnum = {
|
|
18
|
+
Invoiced: 'invoiced',
|
|
19
|
+
Pending: 'pending',
|
|
20
|
+
Terminated: 'terminated',
|
|
21
|
+
Withdrawn: 'withdrawn',
|
|
22
|
+
Paused: 'paused'
|
|
23
|
+
};
|
|
@@ -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 { PolicyBillingClass } from './policy-billing-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdatePolicyBillingResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdatePolicyBillingResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Policy billing response.
|
|
21
|
+
* @type {PolicyBillingClass}
|
|
22
|
+
* @memberof UpdatePolicyBillingResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'policyBilling': PolicyBillingClass;
|
|
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,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { PolicyBillingClass } from './policy-billing-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreatePolicyBillingResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreatePolicyBillingResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Policy billing response.
|
|
26
|
+
* @type {PolicyBillingClass}
|
|
27
|
+
* @memberof CreatePolicyBillingResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'policyBilling': PolicyBillingClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -13,6 +13,7 @@ export * from './create-invoice-response-class';
|
|
|
13
13
|
export * from './create-invoice-status-request-dto';
|
|
14
14
|
export * from './create-item-request-dto';
|
|
15
15
|
export * from './create-policy-billing-request-dto';
|
|
16
|
+
export * from './create-policy-billing-response-class';
|
|
16
17
|
export * from './create-termination-invoice-request-dto';
|
|
17
18
|
export * from './get-invoice-response-class';
|
|
18
19
|
export * from './inline-response200';
|
|
@@ -23,8 +24,10 @@ export * from './invoice-payment-class';
|
|
|
23
24
|
export * from './invoice-payments-class';
|
|
24
25
|
export * from './invoice-status-class';
|
|
25
26
|
export * from './list-invoices-response-class';
|
|
27
|
+
export * from './list-policies-billings-response-class';
|
|
26
28
|
export * from './list-request-dto';
|
|
27
29
|
export * from './omit-type-class';
|
|
30
|
+
export * from './policy-billing-class';
|
|
28
31
|
export * from './policy-dto';
|
|
29
32
|
export * from './policy-object-dto';
|
|
30
33
|
export * from './policy-premium-dto';
|
|
@@ -34,3 +37,4 @@ export * from './premium-formula-dto';
|
|
|
34
37
|
export * from './revert-invoice-request-dto';
|
|
35
38
|
export * from './timeslice-dto';
|
|
36
39
|
export * from './update-policy-billing-request-dto';
|
|
40
|
+
export * from './update-policy-billing-response-class';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { PolicyBillingClass } from './policy-billing-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListPoliciesBillingsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListPoliciesBillingsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Policies billings list items.
|
|
26
|
+
* @type {Array<PolicyBillingClass>}
|
|
27
|
+
* @memberof ListPoliciesBillingsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<PolicyBillingClass>;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface PolicyBillingClass
|
|
21
|
+
*/
|
|
22
|
+
export interface PolicyBillingClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof PolicyBillingClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PolicyBillingClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier of the policy that this object belongs to.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PolicyBillingClass
|
|
39
|
+
*/
|
|
40
|
+
'policyCode': string;
|
|
41
|
+
/**
|
|
42
|
+
* The next billing date this policy will be invoiced.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PolicyBillingClass
|
|
45
|
+
*/
|
|
46
|
+
'nextBillingDate': string;
|
|
47
|
+
/**
|
|
48
|
+
* This field will be set to true once an invoice has been created on this specific billing date. It is there to avoid a policy being invoiced multiple times in case of retry.
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof PolicyBillingClass
|
|
51
|
+
*/
|
|
52
|
+
'isInvoiced': boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Policy billing status.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PolicyBillingClass
|
|
57
|
+
*/
|
|
58
|
+
'status': PolicyBillingClassStatusEnum;
|
|
59
|
+
/**
|
|
60
|
+
* Identifier of the user who created the record.
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PolicyBillingClass
|
|
63
|
+
*/
|
|
64
|
+
'createdBy': string;
|
|
65
|
+
/**
|
|
66
|
+
* Identifier of the user who last updated the record.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof PolicyBillingClass
|
|
69
|
+
*/
|
|
70
|
+
'updatedBy': string;
|
|
71
|
+
/**
|
|
72
|
+
* Time at which the object was created.
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof PolicyBillingClass
|
|
75
|
+
*/
|
|
76
|
+
'createdAt': string;
|
|
77
|
+
/**
|
|
78
|
+
* Time at which the object was updated.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof PolicyBillingClass
|
|
81
|
+
*/
|
|
82
|
+
'updatedAt': string;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export const PolicyBillingClassStatusEnum = {
|
|
86
|
+
Invoiced: 'invoiced',
|
|
87
|
+
Pending: 'pending',
|
|
88
|
+
Terminated: 'terminated',
|
|
89
|
+
Withdrawn: 'withdrawn',
|
|
90
|
+
Paused: 'paused'
|
|
91
|
+
} as const;
|
|
92
|
+
|
|
93
|
+
export type PolicyBillingClassStatusEnum = typeof PolicyBillingClassStatusEnum[keyof typeof PolicyBillingClassStatusEnum];
|
|
94
|
+
|
|
95
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { PolicyBillingClass } from './policy-billing-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface UpdatePolicyBillingResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdatePolicyBillingResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Policy billing response.
|
|
26
|
+
* @type {PolicyBillingClass}
|
|
27
|
+
* @memberof UpdatePolicyBillingResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'policyBilling': PolicyBillingClass;
|
|
30
|
+
}
|
|
31
|
+
|