@emilgroup/billing-sdk-node 1.45.0 → 1.46.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/README.md +2 -2
- package/api/correction-invoices-api.ts +4 -4
- package/api/draft-invoice-api.ts +12 -12
- package/api/estimated-invoices-api.ts +12 -12
- package/api/initial-invoices-api.ts +4 -4
- package/api/invoices-api.ts +62 -62
- package/api/policy-billing-api.ts +31 -31
- package/api/recurring-invoices-api.ts +4 -4
- package/dist/api/correction-invoices-api.d.ts +4 -4
- package/dist/api/correction-invoices-api.js +4 -4
- package/dist/api/draft-invoice-api.d.ts +12 -12
- package/dist/api/draft-invoice-api.js +12 -12
- package/dist/api/estimated-invoices-api.d.ts +12 -12
- package/dist/api/estimated-invoices-api.js +12 -12
- package/dist/api/initial-invoices-api.d.ts +4 -4
- package/dist/api/initial-invoices-api.js +4 -4
- package/dist/api/invoices-api.d.ts +62 -62
- package/dist/api/invoices-api.js +40 -40
- package/dist/api/policy-billing-api.d.ts +31 -31
- package/dist/api/policy-billing-api.js +21 -21
- package/dist/api/recurring-invoices-api.d.ts +4 -4
- package/dist/api/recurring-invoices-api.js +4 -4
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ import { UpdatePolicyBillingResponseClass } from '../models';
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const PolicyBillingApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
24
|
/**
|
|
25
|
-
* Create a new policy billing
|
|
25
|
+
* Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
|
|
26
26
|
* @summary Create the Policy Billing
|
|
27
27
|
* @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
|
|
28
28
|
* @param {string} [authorization] Bearer Token
|
|
@@ -31,22 +31,22 @@ export declare const PolicyBillingApiAxiosParamCreator: (configuration?: Configu
|
|
|
31
31
|
*/
|
|
32
32
|
createPolicyBilling: (createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
33
|
/**
|
|
34
|
-
* 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.
|
|
34
|
+
* 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. **Required Permissions** \"billing-management.invoices.view\"
|
|
35
35
|
* @summary List policies billings
|
|
36
36
|
* @param {string} [authorization] Bearer Token
|
|
37
|
-
* @param {
|
|
38
|
-
* @param {
|
|
37
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
38
|
+
* @param {string} [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.
|
|
39
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>
|
|
40
|
-
* @param {
|
|
40
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
41
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>
|
|
42
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/>
|
|
43
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>
|
|
44
44
|
* @param {*} [options] Override http request option.
|
|
45
45
|
* @throws {RequiredError}
|
|
46
46
|
*/
|
|
47
|
-
listPoliciesBillings: (authorization?: string, pageSize?:
|
|
47
|
+
listPoliciesBillings: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
48
|
/**
|
|
49
|
-
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
49
|
+
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"billing-management.invoices.update\"
|
|
50
50
|
* @summary Update the request message
|
|
51
51
|
* @param {string} code Unique identifier for the object.
|
|
52
52
|
* @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
|
|
@@ -62,7 +62,7 @@ export declare const PolicyBillingApiAxiosParamCreator: (configuration?: Configu
|
|
|
62
62
|
*/
|
|
63
63
|
export declare const PolicyBillingApiFp: (configuration?: Configuration) => {
|
|
64
64
|
/**
|
|
65
|
-
* Create a new policy billing
|
|
65
|
+
* Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
|
|
66
66
|
* @summary Create the Policy Billing
|
|
67
67
|
* @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
|
|
68
68
|
* @param {string} [authorization] Bearer Token
|
|
@@ -71,22 +71,22 @@ export declare const PolicyBillingApiFp: (configuration?: Configuration) => {
|
|
|
71
71
|
*/
|
|
72
72
|
createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyBillingResponseClass>>;
|
|
73
73
|
/**
|
|
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.
|
|
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. **Required Permissions** \"billing-management.invoices.view\"
|
|
75
75
|
* @summary List policies billings
|
|
76
76
|
* @param {string} [authorization] Bearer Token
|
|
77
|
-
* @param {
|
|
78
|
-
* @param {
|
|
77
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
78
|
+
* @param {string} [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.
|
|
79
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>
|
|
80
|
-
* @param {
|
|
80
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
81
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>
|
|
82
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/>
|
|
83
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>
|
|
84
84
|
* @param {*} [options] Override http request option.
|
|
85
85
|
* @throws {RequiredError}
|
|
86
86
|
*/
|
|
87
|
-
listPoliciesBillings(authorization?: string, pageSize?:
|
|
87
|
+
listPoliciesBillings(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
88
88
|
/**
|
|
89
|
-
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
89
|
+
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"billing-management.invoices.update\"
|
|
90
90
|
* @summary Update the request message
|
|
91
91
|
* @param {string} code Unique identifier for the object.
|
|
92
92
|
* @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
|
|
@@ -102,7 +102,7 @@ export declare const PolicyBillingApiFp: (configuration?: Configuration) => {
|
|
|
102
102
|
*/
|
|
103
103
|
export declare const PolicyBillingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
104
104
|
/**
|
|
105
|
-
* Create a new policy billing
|
|
105
|
+
* Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
|
|
106
106
|
* @summary Create the Policy Billing
|
|
107
107
|
* @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
|
|
108
108
|
* @param {string} [authorization] Bearer Token
|
|
@@ -111,22 +111,22 @@ export declare const PolicyBillingApiFactory: (configuration?: Configuration, ba
|
|
|
111
111
|
*/
|
|
112
112
|
createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyBillingResponseClass>;
|
|
113
113
|
/**
|
|
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.
|
|
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. **Required Permissions** \"billing-management.invoices.view\"
|
|
115
115
|
* @summary List policies billings
|
|
116
116
|
* @param {string} [authorization] Bearer Token
|
|
117
|
-
* @param {
|
|
118
|
-
* @param {
|
|
117
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
118
|
+
* @param {string} [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.
|
|
119
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>
|
|
120
|
-
* @param {
|
|
120
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
121
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>
|
|
122
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/>
|
|
123
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>
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
125
125
|
* @throws {RequiredError}
|
|
126
126
|
*/
|
|
127
|
-
listPoliciesBillings(authorization?: string, pageSize?:
|
|
127
|
+
listPoliciesBillings(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
|
|
128
128
|
/**
|
|
129
|
-
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
129
|
+
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"billing-management.invoices.update\"
|
|
130
130
|
* @summary Update the request message
|
|
131
131
|
* @param {string} code Unique identifier for the object.
|
|
132
132
|
* @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
|
|
@@ -169,16 +169,16 @@ export interface PolicyBillingApiListPoliciesBillingsRequest {
|
|
|
169
169
|
readonly authorization?: string;
|
|
170
170
|
/**
|
|
171
171
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
172
|
-
* @type {
|
|
172
|
+
* @type {number}
|
|
173
173
|
* @memberof PolicyBillingApiListPoliciesBillings
|
|
174
174
|
*/
|
|
175
|
-
readonly pageSize?:
|
|
175
|
+
readonly pageSize?: number;
|
|
176
176
|
/**
|
|
177
|
-
* 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,
|
|
178
|
-
* @type {
|
|
177
|
+
* 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
|
+
* @type {string}
|
|
179
179
|
* @memberof PolicyBillingApiListPoliciesBillings
|
|
180
180
|
*/
|
|
181
|
-
readonly pageToken?:
|
|
181
|
+
readonly pageToken?: string;
|
|
182
182
|
/**
|
|
183
183
|
* 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>
|
|
184
184
|
* @type {string}
|
|
@@ -187,10 +187,10 @@ export interface PolicyBillingApiListPoliciesBillingsRequest {
|
|
|
187
187
|
readonly filter?: string;
|
|
188
188
|
/**
|
|
189
189
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
190
|
-
* @type {
|
|
190
|
+
* @type {string}
|
|
191
191
|
* @memberof PolicyBillingApiListPoliciesBillings
|
|
192
192
|
*/
|
|
193
|
-
readonly search?:
|
|
193
|
+
readonly search?: string;
|
|
194
194
|
/**
|
|
195
195
|
* 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>
|
|
196
196
|
* @type {string}
|
|
@@ -243,7 +243,7 @@ export interface PolicyBillingApiUpdatePolicyBillingRequest {
|
|
|
243
243
|
*/
|
|
244
244
|
export declare class PolicyBillingApi extends BaseAPI {
|
|
245
245
|
/**
|
|
246
|
-
* Create a new policy billing
|
|
246
|
+
* Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
|
|
247
247
|
* @summary Create the Policy Billing
|
|
248
248
|
* @param {PolicyBillingApiCreatePolicyBillingRequest} requestParameters Request parameters.
|
|
249
249
|
* @param {*} [options] Override http request option.
|
|
@@ -252,7 +252,7 @@ export declare class PolicyBillingApi extends BaseAPI {
|
|
|
252
252
|
*/
|
|
253
253
|
createPolicyBilling(requestParameters: PolicyBillingApiCreatePolicyBillingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicyBillingResponseClass, any>>;
|
|
254
254
|
/**
|
|
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.
|
|
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. **Required Permissions** \"billing-management.invoices.view\"
|
|
256
256
|
* @summary List policies billings
|
|
257
257
|
* @param {PolicyBillingApiListPoliciesBillingsRequest} requestParameters Request parameters.
|
|
258
258
|
* @param {*} [options] Override http request option.
|
|
@@ -261,7 +261,7 @@ export declare class PolicyBillingApi extends BaseAPI {
|
|
|
261
261
|
*/
|
|
262
262
|
listPoliciesBillings(requestParameters?: PolicyBillingApiListPoliciesBillingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
263
263
|
/**
|
|
264
|
-
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
264
|
+
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"billing-management.invoices.update\"
|
|
265
265
|
* @summary Update the request message
|
|
266
266
|
* @param {PolicyBillingApiUpdatePolicyBillingRequest} requestParameters Request parameters.
|
|
267
267
|
* @param {*} [options] Override http request option.
|
|
@@ -97,7 +97,7 @@ var PolicyBillingApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* Create a new policy billing
|
|
100
|
+
* Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
|
|
101
101
|
* @summary Create the Policy Billing
|
|
102
102
|
* @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
|
|
103
103
|
* @param {string} [authorization] Bearer Token
|
|
@@ -146,13 +146,13 @@ var PolicyBillingApiAxiosParamCreator = function (configuration) {
|
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
148
|
/**
|
|
149
|
-
* 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.
|
|
149
|
+
* 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. **Required Permissions** \"billing-management.invoices.view\"
|
|
150
150
|
* @summary List policies billings
|
|
151
151
|
* @param {string} [authorization] Bearer Token
|
|
152
|
-
* @param {
|
|
153
|
-
* @param {
|
|
152
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
153
|
+
* @param {string} [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.
|
|
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
|
-
* @param {
|
|
155
|
+
* @param {string} [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
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>
|
|
@@ -218,7 +218,7 @@ var PolicyBillingApiAxiosParamCreator = function (configuration) {
|
|
|
218
218
|
});
|
|
219
219
|
},
|
|
220
220
|
/**
|
|
221
|
-
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
221
|
+
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"billing-management.invoices.update\"
|
|
222
222
|
* @summary Update the request message
|
|
223
223
|
* @param {string} code Unique identifier for the object.
|
|
224
224
|
* @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
|
|
@@ -281,7 +281,7 @@ var PolicyBillingApiFp = function (configuration) {
|
|
|
281
281
|
var localVarAxiosParamCreator = (0, exports.PolicyBillingApiAxiosParamCreator)(configuration);
|
|
282
282
|
return {
|
|
283
283
|
/**
|
|
284
|
-
* Create a new policy billing
|
|
284
|
+
* Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
|
|
285
285
|
* @summary Create the Policy Billing
|
|
286
286
|
* @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
|
|
287
287
|
* @param {string} [authorization] Bearer Token
|
|
@@ -302,13 +302,13 @@ var PolicyBillingApiFp = function (configuration) {
|
|
|
302
302
|
});
|
|
303
303
|
},
|
|
304
304
|
/**
|
|
305
|
-
* 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.
|
|
305
|
+
* 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. **Required Permissions** \"billing-management.invoices.view\"
|
|
306
306
|
* @summary List policies billings
|
|
307
307
|
* @param {string} [authorization] Bearer Token
|
|
308
|
-
* @param {
|
|
309
|
-
* @param {
|
|
308
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
309
|
+
* @param {string} [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.
|
|
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
|
-
* @param {
|
|
311
|
+
* @param {string} [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
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>
|
|
@@ -329,7 +329,7 @@ var PolicyBillingApiFp = function (configuration) {
|
|
|
329
329
|
});
|
|
330
330
|
},
|
|
331
331
|
/**
|
|
332
|
-
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
332
|
+
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"billing-management.invoices.update\"
|
|
333
333
|
* @summary Update the request message
|
|
334
334
|
* @param {string} code Unique identifier for the object.
|
|
335
335
|
* @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
|
|
@@ -361,7 +361,7 @@ var PolicyBillingApiFactory = function (configuration, basePath, axios) {
|
|
|
361
361
|
var localVarFp = (0, exports.PolicyBillingApiFp)(configuration);
|
|
362
362
|
return {
|
|
363
363
|
/**
|
|
364
|
-
* Create a new policy billing
|
|
364
|
+
* Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
|
|
365
365
|
* @summary Create the Policy Billing
|
|
366
366
|
* @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
|
|
367
367
|
* @param {string} [authorization] Bearer Token
|
|
@@ -372,13 +372,13 @@ var PolicyBillingApiFactory = function (configuration, basePath, axios) {
|
|
|
372
372
|
return localVarFp.createPolicyBilling(createPolicyBillingRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
373
373
|
},
|
|
374
374
|
/**
|
|
375
|
-
* 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.
|
|
375
|
+
* 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. **Required Permissions** \"billing-management.invoices.view\"
|
|
376
376
|
* @summary List policies billings
|
|
377
377
|
* @param {string} [authorization] Bearer Token
|
|
378
|
-
* @param {
|
|
379
|
-
* @param {
|
|
378
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
379
|
+
* @param {string} [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.
|
|
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
|
-
* @param {
|
|
381
|
+
* @param {string} [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
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>
|
|
@@ -389,7 +389,7 @@ var PolicyBillingApiFactory = function (configuration, basePath, axios) {
|
|
|
389
389
|
return localVarFp.listPoliciesBillings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
390
390
|
},
|
|
391
391
|
/**
|
|
392
|
-
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
392
|
+
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"billing-management.invoices.update\"
|
|
393
393
|
* @summary Update the request message
|
|
394
394
|
* @param {string} code Unique identifier for the object.
|
|
395
395
|
* @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
|
|
@@ -415,7 +415,7 @@ var PolicyBillingApi = /** @class */ (function (_super) {
|
|
|
415
415
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
416
416
|
}
|
|
417
417
|
/**
|
|
418
|
-
* Create a new policy billing
|
|
418
|
+
* Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
|
|
419
419
|
* @summary Create the Policy Billing
|
|
420
420
|
* @param {PolicyBillingApiCreatePolicyBillingRequest} requestParameters Request parameters.
|
|
421
421
|
* @param {*} [options] Override http request option.
|
|
@@ -427,7 +427,7 @@ var PolicyBillingApi = /** @class */ (function (_super) {
|
|
|
427
427
|
return (0, exports.PolicyBillingApiFp)(this.configuration).createPolicyBilling(requestParameters.createPolicyBillingRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
428
428
|
};
|
|
429
429
|
/**
|
|
430
|
-
* 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.
|
|
430
|
+
* 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. **Required Permissions** \"billing-management.invoices.view\"
|
|
431
431
|
* @summary List policies billings
|
|
432
432
|
* @param {PolicyBillingApiListPoliciesBillingsRequest} requestParameters Request parameters.
|
|
433
433
|
* @param {*} [options] Override http request option.
|
|
@@ -440,7 +440,7 @@ var PolicyBillingApi = /** @class */ (function (_super) {
|
|
|
440
440
|
return (0, exports.PolicyBillingApiFp)(this.configuration).listPoliciesBillings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
441
441
|
};
|
|
442
442
|
/**
|
|
443
|
-
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
443
|
+
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"billing-management.invoices.update\"
|
|
444
444
|
* @summary Update the request message
|
|
445
445
|
* @param {PolicyBillingApiUpdatePolicyBillingRequest} requestParameters Request parameters.
|
|
446
446
|
* @param {*} [options] Override http request option.
|
|
@@ -20,7 +20,7 @@ import { CreateInvoiceResponseClass } from '../models';
|
|
|
20
20
|
*/
|
|
21
21
|
export declare const RecurringInvoicesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
22
|
/**
|
|
23
|
-
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
|
|
23
|
+
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy. **Required Permissions** \"billing-management.invoices.create\"
|
|
24
24
|
* @summary Create the recurring invoice
|
|
25
25
|
* @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
|
|
26
26
|
* @param {string} [authorization] Bearer Token
|
|
@@ -36,7 +36,7 @@ export declare const RecurringInvoicesApiAxiosParamCreator: (configuration?: Con
|
|
|
36
36
|
*/
|
|
37
37
|
export declare const RecurringInvoicesApiFp: (configuration?: Configuration) => {
|
|
38
38
|
/**
|
|
39
|
-
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
|
|
39
|
+
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy. **Required Permissions** \"billing-management.invoices.create\"
|
|
40
40
|
* @summary Create the recurring invoice
|
|
41
41
|
* @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
|
|
42
42
|
* @param {string} [authorization] Bearer Token
|
|
@@ -52,7 +52,7 @@ export declare const RecurringInvoicesApiFp: (configuration?: Configuration) =>
|
|
|
52
52
|
*/
|
|
53
53
|
export declare const RecurringInvoicesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
54
54
|
/**
|
|
55
|
-
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
|
|
55
|
+
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy. **Required Permissions** \"billing-management.invoices.create\"
|
|
56
56
|
* @summary Create the recurring invoice
|
|
57
57
|
* @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
|
|
58
58
|
* @param {string} [authorization] Bearer Token
|
|
@@ -95,7 +95,7 @@ export interface RecurringInvoicesApiCreateRecurringInvoiceRequest {
|
|
|
95
95
|
*/
|
|
96
96
|
export declare class RecurringInvoicesApi extends BaseAPI {
|
|
97
97
|
/**
|
|
98
|
-
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
|
|
98
|
+
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy. **Required Permissions** \"billing-management.invoices.create\"
|
|
99
99
|
* @summary Create the recurring invoice
|
|
100
100
|
* @param {RecurringInvoicesApiCreateRecurringInvoiceRequest} requestParameters Request parameters.
|
|
101
101
|
* @param {*} [options] Override http request option.
|
|
@@ -97,7 +97,7 @@ var RecurringInvoicesApiAxiosParamCreator = function (configuration) {
|
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
99
|
/**
|
|
100
|
-
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
|
|
100
|
+
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy. **Required Permissions** \"billing-management.invoices.create\"
|
|
101
101
|
* @summary Create the recurring invoice
|
|
102
102
|
* @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
|
|
103
103
|
* @param {string} [authorization] Bearer Token
|
|
@@ -160,7 +160,7 @@ var RecurringInvoicesApiFp = function (configuration) {
|
|
|
160
160
|
var localVarAxiosParamCreator = (0, exports.RecurringInvoicesApiAxiosParamCreator)(configuration);
|
|
161
161
|
return {
|
|
162
162
|
/**
|
|
163
|
-
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
|
|
163
|
+
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy. **Required Permissions** \"billing-management.invoices.create\"
|
|
164
164
|
* @summary Create the recurring invoice
|
|
165
165
|
* @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
|
|
166
166
|
* @param {string} [authorization] Bearer Token
|
|
@@ -192,7 +192,7 @@ var RecurringInvoicesApiFactory = function (configuration, basePath, axios) {
|
|
|
192
192
|
var localVarFp = (0, exports.RecurringInvoicesApiFp)(configuration);
|
|
193
193
|
return {
|
|
194
194
|
/**
|
|
195
|
-
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
|
|
195
|
+
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy. **Required Permissions** \"billing-management.invoices.create\"
|
|
196
196
|
* @summary Create the recurring invoice
|
|
197
197
|
* @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
|
|
198
198
|
* @param {string} [authorization] Bearer Token
|
|
@@ -218,7 +218,7 @@ var RecurringInvoicesApi = /** @class */ (function (_super) {
|
|
|
218
218
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
219
219
|
}
|
|
220
220
|
/**
|
|
221
|
-
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
|
|
221
|
+
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy. **Required Permissions** \"billing-management.invoices.create\"
|
|
222
222
|
* @summary Create the recurring invoice
|
|
223
223
|
* @param {RecurringInvoicesApiCreateRecurringInvoiceRequest} requestParameters Request parameters.
|
|
224
224
|
* @param {*} [options] Override http request option.
|