@emilgroup/billing-sdk-node 1.29.1-beta.2 → 1.29.1-beta.4
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 +3 -2
- package/README.md +2 -2
- package/api/invoices-api.ts +14 -12
- package/api/policy-billing-api.ts +471 -0
- package/api.ts +2 -0
- package/dist/api/invoices-api.d.ts +15 -12
- package/dist/api/invoices-api.js +10 -6
- package/dist/api/policy-billing-api.d.ts +270 -0
- package/dist/api/policy-billing-api.js +456 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/create-invoice-request-dto.d.ts +0 -12
- package/dist/models/create-item-request-dto.d.ts +0 -65
- package/dist/models/create-item-request-dto.js +0 -21
- package/dist/models/create-policy-billing-request-dto.d.ts +50 -0
- package/dist/models/{list-policies-billing-dates-response-class.js → create-policy-billing-request-dto.js} +8 -0
- package/dist/models/index.d.ts +2 -2
- package/dist/models/index.js +2 -2
- package/dist/models/update-policy-billing-request-dto.d.ts +32 -0
- package/dist/models/{policy-billing-date-class.js → update-policy-billing-request-dto.js} +8 -0
- package/models/create-invoice-request-dto.ts +0 -12
- package/models/create-item-request-dto.ts +0 -70
- package/models/create-policy-billing-request-dto.ts +59 -0
- package/models/index.ts +2 -2
- package/models/update-policy-billing-request-dto.ts +41 -0
- package/package.json +1 -1
- package/dist/models/list-policies-billing-dates-response-class.d.ts +0 -31
- package/dist/models/policy-billing-date-class.d.ts +0 -54
- package/models/list-policies-billing-dates-response-class.ts +0 -37
- package/models/policy-billing-date-class.ts +0 -60
|
@@ -16,7 +16,6 @@ import { CreateInvoiceRequestDto } from '../models';
|
|
|
16
16
|
import { CreateInvoiceResponseClass } from '../models';
|
|
17
17
|
import { GetInvoiceResponseClass } from '../models';
|
|
18
18
|
import { ListInvoicesResponseClass } from '../models';
|
|
19
|
-
import { ListPoliciesBillingDatesResponseClass } from '../models';
|
|
20
19
|
/**
|
|
21
20
|
* InvoicesApi - axios parameter creator
|
|
22
21
|
* @export
|
|
@@ -63,12 +62,13 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
63
62
|
* @param {string} [authorization] Bearer Token
|
|
64
63
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
65
64
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
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,
|
|
65
|
+
* @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>
|
|
67
66
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
68
67
|
* @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>
|
|
69
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/> <i>Allowed values: <i>
|
|
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,
|
|
69
|
+
* @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>
|
|
71
70
|
* @param {*} [options] Override http request option.
|
|
71
|
+
* @deprecated
|
|
72
72
|
* @throws {RequiredError}
|
|
73
73
|
*/
|
|
74
74
|
listPoliciesBillingDates: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
@@ -119,15 +119,16 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
|
|
|
119
119
|
* @param {string} [authorization] Bearer Token
|
|
120
120
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
121
121
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
122
|
-
* @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,
|
|
122
|
+
* @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
123
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
124
124
|
* @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
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/> <i>Allowed values: <i>
|
|
126
|
-
* @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,
|
|
126
|
+
* @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
127
|
* @param {*} [options] Override http request option.
|
|
128
|
+
* @deprecated
|
|
128
129
|
* @throws {RequiredError}
|
|
129
130
|
*/
|
|
130
|
-
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<
|
|
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<object>>;
|
|
131
132
|
};
|
|
132
133
|
/**
|
|
133
134
|
* InvoicesApi - factory interface
|
|
@@ -175,15 +176,16 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
|
|
|
175
176
|
* @param {string} [authorization] Bearer Token
|
|
176
177
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
177
178
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
178
|
-
* @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,
|
|
179
|
+
* @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>
|
|
179
180
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
180
181
|
* @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>
|
|
181
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/> <i>Allowed values: <i>
|
|
182
|
-
* @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,
|
|
183
|
+
* @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>
|
|
183
184
|
* @param {*} [options] Override http request option.
|
|
185
|
+
* @deprecated
|
|
184
186
|
* @throws {RequiredError}
|
|
185
187
|
*/
|
|
186
|
-
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<
|
|
188
|
+
listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<object>;
|
|
187
189
|
};
|
|
188
190
|
/**
|
|
189
191
|
* Request parameters for createInvoice operation in InvoicesApi.
|
|
@@ -315,7 +317,7 @@ export interface InvoicesApiListPoliciesBillingDatesRequest {
|
|
|
315
317
|
*/
|
|
316
318
|
readonly pageToken?: any;
|
|
317
319
|
/**
|
|
318
|
-
* 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,
|
|
320
|
+
* 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>
|
|
319
321
|
* @type {string}
|
|
320
322
|
* @memberof InvoicesApiListPoliciesBillingDates
|
|
321
323
|
*/
|
|
@@ -339,7 +341,7 @@ export interface InvoicesApiListPoliciesBillingDatesRequest {
|
|
|
339
341
|
*/
|
|
340
342
|
readonly expand?: string;
|
|
341
343
|
/**
|
|
342
|
-
* 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,
|
|
344
|
+
* 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>
|
|
343
345
|
* @type {string}
|
|
344
346
|
* @memberof InvoicesApiListPoliciesBillingDates
|
|
345
347
|
*/
|
|
@@ -384,8 +386,9 @@ export declare class InvoicesApi extends BaseAPI {
|
|
|
384
386
|
* @summary List policies billing dates
|
|
385
387
|
* @param {InvoicesApiListPoliciesBillingDatesRequest} requestParameters Request parameters.
|
|
386
388
|
* @param {*} [options] Override http request option.
|
|
389
|
+
* @deprecated
|
|
387
390
|
* @throws {RequiredError}
|
|
388
391
|
* @memberof InvoicesApi
|
|
389
392
|
*/
|
|
390
|
-
listPoliciesBillingDates(requestParameters?: InvoicesApiListPoliciesBillingDatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
393
|
+
listPoliciesBillingDates(requestParameters?: InvoicesApiListPoliciesBillingDatesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
391
394
|
}
|
package/dist/api/invoices-api.js
CHANGED
|
@@ -281,12 +281,13 @@ var InvoicesApiAxiosParamCreator = function (configuration) {
|
|
|
281
281
|
* @param {string} [authorization] Bearer Token
|
|
282
282
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
283
283
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
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,
|
|
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
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/> <i>Allowed values: <i>
|
|
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,
|
|
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
|
+
* @deprecated
|
|
290
291
|
* @throws {RequiredError}
|
|
291
292
|
*/
|
|
292
293
|
listPoliciesBillingDates: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -434,12 +435,13 @@ var InvoicesApiFp = function (configuration) {
|
|
|
434
435
|
* @param {string} [authorization] Bearer Token
|
|
435
436
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
436
437
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
437
|
-
* @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,
|
|
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>
|
|
438
439
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
439
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>
|
|
440
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/> <i>Allowed values: <i>
|
|
441
|
-
* @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,
|
|
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>
|
|
442
443
|
* @param {*} [options] Override http request option.
|
|
444
|
+
* @deprecated
|
|
443
445
|
* @throws {RequiredError}
|
|
444
446
|
*/
|
|
445
447
|
listPoliciesBillingDates: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -512,12 +514,13 @@ var InvoicesApiFactory = function (configuration, basePath, axios) {
|
|
|
512
514
|
* @param {string} [authorization] Bearer Token
|
|
513
515
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
514
516
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
515
|
-
* @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,
|
|
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>
|
|
516
518
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
517
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>
|
|
518
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/> <i>Allowed values: <i>
|
|
519
|
-
* @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,
|
|
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>
|
|
520
522
|
* @param {*} [options] Override http request option.
|
|
523
|
+
* @deprecated
|
|
521
524
|
* @throws {RequiredError}
|
|
522
525
|
*/
|
|
523
526
|
listPoliciesBillingDates: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
@@ -579,6 +582,7 @@ var InvoicesApi = /** @class */ (function (_super) {
|
|
|
579
582
|
* @summary List policies billing dates
|
|
580
583
|
* @param {InvoicesApiListPoliciesBillingDatesRequest} requestParameters Request parameters.
|
|
581
584
|
* @param {*} [options] Override http request option.
|
|
585
|
+
* @deprecated
|
|
582
586
|
* @throws {RequiredError}
|
|
583
587
|
* @memberof InvoicesApi
|
|
584
588
|
*/
|
|
@@ -0,0 +1,270 @@
|
|
|
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 { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreatePolicyBillingRequestDto } from '../models';
|
|
16
|
+
import { UpdatePolicyBillingRequestDto } from '../models';
|
|
17
|
+
/**
|
|
18
|
+
* PolicyBillingApi - axios parameter creator
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export declare const PolicyBillingApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
+
/**
|
|
23
|
+
* Create a new policy billing
|
|
24
|
+
* @summary Create the Policy Billing
|
|
25
|
+
* @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
|
|
26
|
+
* @param {string} [authorization] Bearer Token
|
|
27
|
+
* @param {*} [options] Override http request option.
|
|
28
|
+
* @throws {RequiredError}
|
|
29
|
+
*/
|
|
30
|
+
createPolicyBilling: (createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
+
/**
|
|
32
|
+
* 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.
|
|
33
|
+
* @summary List policies billings
|
|
34
|
+
* @param {string} [authorization] Bearer Token
|
|
35
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
36
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
37
|
+
* @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
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
39
|
+
* @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/> <i>Allowed values: <i>
|
|
41
|
+
* @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
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
listPoliciesBillings: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
|
+
/**
|
|
47
|
+
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
48
|
+
* @summary Update the request message
|
|
49
|
+
* @param {string} code Unique identifier for the object.
|
|
50
|
+
* @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
|
|
51
|
+
* @param {string} [authorization] Bearer Token
|
|
52
|
+
* @param {*} [options] Override http request option.
|
|
53
|
+
* @throws {RequiredError}
|
|
54
|
+
*/
|
|
55
|
+
updatePolicyBilling: (code: string, updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* PolicyBillingApi - functional programming interface
|
|
59
|
+
* @export
|
|
60
|
+
*/
|
|
61
|
+
export declare const PolicyBillingApiFp: (configuration?: Configuration) => {
|
|
62
|
+
/**
|
|
63
|
+
* Create a new policy billing
|
|
64
|
+
* @summary Create the Policy Billing
|
|
65
|
+
* @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
|
|
66
|
+
* @param {string} [authorization] Bearer Token
|
|
67
|
+
* @param {*} [options] Override http request option.
|
|
68
|
+
* @throws {RequiredError}
|
|
69
|
+
*/
|
|
70
|
+
createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
71
|
+
/**
|
|
72
|
+
* 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
|
+
* @summary List policies billings
|
|
74
|
+
* @param {string} [authorization] Bearer Token
|
|
75
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
76
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
77
|
+
* @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
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
79
|
+
* @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/> <i>Allowed values: <i>
|
|
81
|
+
* @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
|
+
* @param {*} [options] Override http request option.
|
|
83
|
+
* @throws {RequiredError}
|
|
84
|
+
*/
|
|
85
|
+
listPoliciesBillings(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
86
|
+
/**
|
|
87
|
+
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
88
|
+
* @summary Update the request message
|
|
89
|
+
* @param {string} code Unique identifier for the object.
|
|
90
|
+
* @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
|
|
91
|
+
* @param {string} [authorization] Bearer Token
|
|
92
|
+
* @param {*} [options] Override http request option.
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
*/
|
|
95
|
+
updatePolicyBilling(code: string, updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* PolicyBillingApi - factory interface
|
|
99
|
+
* @export
|
|
100
|
+
*/
|
|
101
|
+
export declare const PolicyBillingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
102
|
+
/**
|
|
103
|
+
* Create a new policy billing
|
|
104
|
+
* @summary Create the Policy Billing
|
|
105
|
+
* @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
|
|
106
|
+
* @param {string} [authorization] Bearer Token
|
|
107
|
+
* @param {*} [options] Override http request option.
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
*/
|
|
110
|
+
createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
|
|
111
|
+
/**
|
|
112
|
+
* 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
|
+
* @summary List policies billings
|
|
114
|
+
* @param {string} [authorization] Bearer Token
|
|
115
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
116
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
117
|
+
* @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
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
119
|
+
* @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/> <i>Allowed values: <i>
|
|
121
|
+
* @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
|
+
* @param {*} [options] Override http request option.
|
|
123
|
+
* @throws {RequiredError}
|
|
124
|
+
*/
|
|
125
|
+
listPoliciesBillings(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
|
|
126
|
+
/**
|
|
127
|
+
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
128
|
+
* @summary Update the request message
|
|
129
|
+
* @param {string} code Unique identifier for the object.
|
|
130
|
+
* @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
|
|
131
|
+
* @param {string} [authorization] Bearer Token
|
|
132
|
+
* @param {*} [options] Override http request option.
|
|
133
|
+
* @throws {RequiredError}
|
|
134
|
+
*/
|
|
135
|
+
updatePolicyBilling(code: string, updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Request parameters for createPolicyBilling operation in PolicyBillingApi.
|
|
139
|
+
* @export
|
|
140
|
+
* @interface PolicyBillingApiCreatePolicyBillingRequest
|
|
141
|
+
*/
|
|
142
|
+
export interface PolicyBillingApiCreatePolicyBillingRequest {
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {CreatePolicyBillingRequestDto}
|
|
146
|
+
* @memberof PolicyBillingApiCreatePolicyBilling
|
|
147
|
+
*/
|
|
148
|
+
readonly createPolicyBillingRequestDto: CreatePolicyBillingRequestDto;
|
|
149
|
+
/**
|
|
150
|
+
* Bearer Token
|
|
151
|
+
* @type {string}
|
|
152
|
+
* @memberof PolicyBillingApiCreatePolicyBilling
|
|
153
|
+
*/
|
|
154
|
+
readonly authorization?: string;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Request parameters for listPoliciesBillings operation in PolicyBillingApi.
|
|
158
|
+
* @export
|
|
159
|
+
* @interface PolicyBillingApiListPoliciesBillingsRequest
|
|
160
|
+
*/
|
|
161
|
+
export interface PolicyBillingApiListPoliciesBillingsRequest {
|
|
162
|
+
/**
|
|
163
|
+
* Bearer Token
|
|
164
|
+
* @type {string}
|
|
165
|
+
* @memberof PolicyBillingApiListPoliciesBillings
|
|
166
|
+
*/
|
|
167
|
+
readonly authorization?: string;
|
|
168
|
+
/**
|
|
169
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
170
|
+
* @type {any}
|
|
171
|
+
* @memberof PolicyBillingApiListPoliciesBillings
|
|
172
|
+
*/
|
|
173
|
+
readonly pageSize?: any;
|
|
174
|
+
/**
|
|
175
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
176
|
+
* @type {any}
|
|
177
|
+
* @memberof PolicyBillingApiListPoliciesBillings
|
|
178
|
+
*/
|
|
179
|
+
readonly pageToken?: any;
|
|
180
|
+
/**
|
|
181
|
+
* 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>
|
|
182
|
+
* @type {string}
|
|
183
|
+
* @memberof PolicyBillingApiListPoliciesBillings
|
|
184
|
+
*/
|
|
185
|
+
readonly filter?: string;
|
|
186
|
+
/**
|
|
187
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
188
|
+
* @type {any}
|
|
189
|
+
* @memberof PolicyBillingApiListPoliciesBillings
|
|
190
|
+
*/
|
|
191
|
+
readonly search?: any;
|
|
192
|
+
/**
|
|
193
|
+
* 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>
|
|
194
|
+
* @type {string}
|
|
195
|
+
* @memberof PolicyBillingApiListPoliciesBillings
|
|
196
|
+
*/
|
|
197
|
+
readonly order?: string;
|
|
198
|
+
/**
|
|
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/> <i>Allowed values: <i>
|
|
200
|
+
* @type {string}
|
|
201
|
+
* @memberof PolicyBillingApiListPoliciesBillings
|
|
202
|
+
*/
|
|
203
|
+
readonly expand?: string;
|
|
204
|
+
/**
|
|
205
|
+
* 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>
|
|
206
|
+
* @type {string}
|
|
207
|
+
* @memberof PolicyBillingApiListPoliciesBillings
|
|
208
|
+
*/
|
|
209
|
+
readonly filters?: string;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Request parameters for updatePolicyBilling operation in PolicyBillingApi.
|
|
213
|
+
* @export
|
|
214
|
+
* @interface PolicyBillingApiUpdatePolicyBillingRequest
|
|
215
|
+
*/
|
|
216
|
+
export interface PolicyBillingApiUpdatePolicyBillingRequest {
|
|
217
|
+
/**
|
|
218
|
+
* Unique identifier for the object.
|
|
219
|
+
* @type {string}
|
|
220
|
+
* @memberof PolicyBillingApiUpdatePolicyBilling
|
|
221
|
+
*/
|
|
222
|
+
readonly code: string;
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @type {UpdatePolicyBillingRequestDto}
|
|
226
|
+
* @memberof PolicyBillingApiUpdatePolicyBilling
|
|
227
|
+
*/
|
|
228
|
+
readonly updatePolicyBillingRequestDto: UpdatePolicyBillingRequestDto;
|
|
229
|
+
/**
|
|
230
|
+
* Bearer Token
|
|
231
|
+
* @type {string}
|
|
232
|
+
* @memberof PolicyBillingApiUpdatePolicyBilling
|
|
233
|
+
*/
|
|
234
|
+
readonly authorization?: string;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* PolicyBillingApi - object-oriented interface
|
|
238
|
+
* @export
|
|
239
|
+
* @class PolicyBillingApi
|
|
240
|
+
* @extends {BaseAPI}
|
|
241
|
+
*/
|
|
242
|
+
export declare class PolicyBillingApi extends BaseAPI {
|
|
243
|
+
/**
|
|
244
|
+
* Create a new policy billing
|
|
245
|
+
* @summary Create the Policy Billing
|
|
246
|
+
* @param {PolicyBillingApiCreatePolicyBillingRequest} requestParameters Request parameters.
|
|
247
|
+
* @param {*} [options] Override http request option.
|
|
248
|
+
* @throws {RequiredError}
|
|
249
|
+
* @memberof PolicyBillingApi
|
|
250
|
+
*/
|
|
251
|
+
createPolicyBilling(requestParameters: PolicyBillingApiCreatePolicyBillingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
252
|
+
/**
|
|
253
|
+
* 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
|
+
* @summary List policies billings
|
|
255
|
+
* @param {PolicyBillingApiListPoliciesBillingsRequest} requestParameters Request parameters.
|
|
256
|
+
* @param {*} [options] Override http request option.
|
|
257
|
+
* @throws {RequiredError}
|
|
258
|
+
* @memberof PolicyBillingApi
|
|
259
|
+
*/
|
|
260
|
+
listPoliciesBillings(requestParameters?: PolicyBillingApiListPoliciesBillingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
261
|
+
/**
|
|
262
|
+
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
263
|
+
* @summary Update the request message
|
|
264
|
+
* @param {PolicyBillingApiUpdatePolicyBillingRequest} requestParameters Request parameters.
|
|
265
|
+
* @param {*} [options] Override http request option.
|
|
266
|
+
* @throws {RequiredError}
|
|
267
|
+
* @memberof PolicyBillingApi
|
|
268
|
+
*/
|
|
269
|
+
updatePolicyBilling(requestParameters: PolicyBillingApiUpdatePolicyBillingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
270
|
+
}
|