@emilgroup/billing-sdk 1.41.1-beta.10 → 1.41.1-beta.11
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/dist/models/create-invoice-for-policy-request-dto.d.ts +6 -0
- package/models/create-invoice-for-policy-request-dto.ts +6 -0
- 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.
|
|
@@ -93,7 +93,7 @@ var PolicyBillingApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* Create a new policy billing
|
|
96
|
+
* Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
|
|
97
97
|
* @summary Create the Policy Billing
|
|
98
98
|
* @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token
|
|
@@ -142,13 +142,13 @@ var PolicyBillingApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
* 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.
|
|
145
|
+
* 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\"
|
|
146
146
|
* @summary List policies billings
|
|
147
147
|
* @param {string} [authorization] Bearer Token
|
|
148
|
-
* @param {
|
|
149
|
-
* @param {
|
|
148
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
149
|
+
* @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.
|
|
150
150
|
* @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>
|
|
151
|
-
* @param {
|
|
151
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
152
152
|
* @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>
|
|
153
153
|
* @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/>
|
|
154
154
|
* @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>
|
|
@@ -214,7 +214,7 @@ var PolicyBillingApiAxiosParamCreator = function (configuration) {
|
|
|
214
214
|
});
|
|
215
215
|
},
|
|
216
216
|
/**
|
|
217
|
-
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
217
|
+
* 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\"
|
|
218
218
|
* @summary Update the request message
|
|
219
219
|
* @param {string} code Unique identifier for the object.
|
|
220
220
|
* @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
|
|
@@ -277,7 +277,7 @@ var PolicyBillingApiFp = function (configuration) {
|
|
|
277
277
|
var localVarAxiosParamCreator = (0, exports.PolicyBillingApiAxiosParamCreator)(configuration);
|
|
278
278
|
return {
|
|
279
279
|
/**
|
|
280
|
-
* Create a new policy billing
|
|
280
|
+
* Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
|
|
281
281
|
* @summary Create the Policy Billing
|
|
282
282
|
* @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
|
|
283
283
|
* @param {string} [authorization] Bearer Token
|
|
@@ -298,13 +298,13 @@ var PolicyBillingApiFp = function (configuration) {
|
|
|
298
298
|
});
|
|
299
299
|
},
|
|
300
300
|
/**
|
|
301
|
-
* 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.
|
|
301
|
+
* 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\"
|
|
302
302
|
* @summary List policies billings
|
|
303
303
|
* @param {string} [authorization] Bearer Token
|
|
304
|
-
* @param {
|
|
305
|
-
* @param {
|
|
304
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
305
|
+
* @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.
|
|
306
306
|
* @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>
|
|
307
|
-
* @param {
|
|
307
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
308
308
|
* @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>
|
|
309
309
|
* @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/>
|
|
310
310
|
* @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>
|
|
@@ -325,7 +325,7 @@ var PolicyBillingApiFp = function (configuration) {
|
|
|
325
325
|
});
|
|
326
326
|
},
|
|
327
327
|
/**
|
|
328
|
-
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
328
|
+
* 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\"
|
|
329
329
|
* @summary Update the request message
|
|
330
330
|
* @param {string} code Unique identifier for the object.
|
|
331
331
|
* @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
|
|
@@ -357,7 +357,7 @@ var PolicyBillingApiFactory = function (configuration, basePath, axios) {
|
|
|
357
357
|
var localVarFp = (0, exports.PolicyBillingApiFp)(configuration);
|
|
358
358
|
return {
|
|
359
359
|
/**
|
|
360
|
-
* Create a new policy billing
|
|
360
|
+
* Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
|
|
361
361
|
* @summary Create the Policy Billing
|
|
362
362
|
* @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
|
|
363
363
|
* @param {string} [authorization] Bearer Token
|
|
@@ -368,13 +368,13 @@ var PolicyBillingApiFactory = function (configuration, basePath, axios) {
|
|
|
368
368
|
return localVarFp.createPolicyBilling(createPolicyBillingRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
369
369
|
},
|
|
370
370
|
/**
|
|
371
|
-
* 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.
|
|
371
|
+
* 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\"
|
|
372
372
|
* @summary List policies billings
|
|
373
373
|
* @param {string} [authorization] Bearer Token
|
|
374
|
-
* @param {
|
|
375
|
-
* @param {
|
|
374
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
375
|
+
* @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.
|
|
376
376
|
* @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>
|
|
377
|
-
* @param {
|
|
377
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
378
378
|
* @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>
|
|
379
379
|
* @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/>
|
|
380
380
|
* @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,7 +385,7 @@ var PolicyBillingApiFactory = function (configuration, basePath, axios) {
|
|
|
385
385
|
return localVarFp.listPoliciesBillings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
386
386
|
},
|
|
387
387
|
/**
|
|
388
|
-
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
388
|
+
* 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\"
|
|
389
389
|
* @summary Update the request message
|
|
390
390
|
* @param {string} code Unique identifier for the object.
|
|
391
391
|
* @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
|
|
@@ -411,7 +411,7 @@ var PolicyBillingApi = /** @class */ (function (_super) {
|
|
|
411
411
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
412
412
|
}
|
|
413
413
|
/**
|
|
414
|
-
* Create a new policy billing
|
|
414
|
+
* Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
|
|
415
415
|
* @summary Create the Policy Billing
|
|
416
416
|
* @param {PolicyBillingApiCreatePolicyBillingRequest} requestParameters Request parameters.
|
|
417
417
|
* @param {*} [options] Override http request option.
|
|
@@ -423,7 +423,7 @@ var PolicyBillingApi = /** @class */ (function (_super) {
|
|
|
423
423
|
return (0, exports.PolicyBillingApiFp)(this.configuration).createPolicyBilling(requestParameters.createPolicyBillingRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
424
424
|
};
|
|
425
425
|
/**
|
|
426
|
-
* 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.
|
|
426
|
+
* 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\"
|
|
427
427
|
* @summary List policies billings
|
|
428
428
|
* @param {PolicyBillingApiListPoliciesBillingsRequest} requestParameters Request parameters.
|
|
429
429
|
* @param {*} [options] Override http request option.
|
|
@@ -436,7 +436,7 @@ var PolicyBillingApi = /** @class */ (function (_super) {
|
|
|
436
436
|
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); });
|
|
437
437
|
};
|
|
438
438
|
/**
|
|
439
|
-
* Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
439
|
+
* 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\"
|
|
440
440
|
* @summary Update the request message
|
|
441
441
|
* @param {PolicyBillingApiUpdatePolicyBillingRequest} requestParameters Request parameters.
|
|
442
442
|
* @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.
|
|
@@ -93,7 +93,7 @@ var RecurringInvoicesApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
|
|
96
|
+
* 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\"
|
|
97
97
|
* @summary Create the recurring invoice
|
|
98
98
|
* @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token
|
|
@@ -156,7 +156,7 @@ var RecurringInvoicesApiFp = function (configuration) {
|
|
|
156
156
|
var localVarAxiosParamCreator = (0, exports.RecurringInvoicesApiAxiosParamCreator)(configuration);
|
|
157
157
|
return {
|
|
158
158
|
/**
|
|
159
|
-
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
|
|
159
|
+
* 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\"
|
|
160
160
|
* @summary Create the recurring invoice
|
|
161
161
|
* @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
|
|
162
162
|
* @param {string} [authorization] Bearer Token
|
|
@@ -188,7 +188,7 @@ var RecurringInvoicesApiFactory = function (configuration, basePath, axios) {
|
|
|
188
188
|
var localVarFp = (0, exports.RecurringInvoicesApiFp)(configuration);
|
|
189
189
|
return {
|
|
190
190
|
/**
|
|
191
|
-
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
|
|
191
|
+
* 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\"
|
|
192
192
|
* @summary Create the recurring invoice
|
|
193
193
|
* @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
|
|
194
194
|
* @param {string} [authorization] Bearer Token
|
|
@@ -214,7 +214,7 @@ var RecurringInvoicesApi = /** @class */ (function (_super) {
|
|
|
214
214
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
215
215
|
}
|
|
216
216
|
/**
|
|
217
|
-
* This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
|
|
217
|
+
* 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\"
|
|
218
218
|
* @summary Create the recurring invoice
|
|
219
219
|
* @param {RecurringInvoicesApiCreateRecurringInvoiceRequest} requestParameters Request parameters.
|
|
220
220
|
* @param {*} [options] Override http request option.
|
|
@@ -69,6 +69,12 @@ export interface CreateInvoiceForPolicyRequestDto {
|
|
|
69
69
|
* @memberof CreateInvoiceForPolicyRequestDto
|
|
70
70
|
*/
|
|
71
71
|
'dueDate'?: string;
|
|
72
|
+
/**
|
|
73
|
+
* This determines whether the next billing date will be set automatically.
|
|
74
|
+
* @type {boolean}
|
|
75
|
+
* @memberof CreateInvoiceForPolicyRequestDto
|
|
76
|
+
*/
|
|
77
|
+
'shouldSetNextBillingDate'?: boolean;
|
|
72
78
|
}
|
|
73
79
|
export declare const CreateInvoiceForPolicyRequestDtoTypeEnum: {
|
|
74
80
|
readonly Initial: "initial";
|
|
@@ -74,6 +74,12 @@ export interface CreateInvoiceForPolicyRequestDto {
|
|
|
74
74
|
* @memberof CreateInvoiceForPolicyRequestDto
|
|
75
75
|
*/
|
|
76
76
|
'dueDate'?: string;
|
|
77
|
+
/**
|
|
78
|
+
* This determines whether the next billing date will be set automatically.
|
|
79
|
+
* @type {boolean}
|
|
80
|
+
* @memberof CreateInvoiceForPolicyRequestDto
|
|
81
|
+
*/
|
|
82
|
+
'shouldSetNextBillingDate'?: boolean;
|
|
77
83
|
}
|
|
78
84
|
|
|
79
85
|
export const CreateInvoiceForPolicyRequestDtoTypeEnum = {
|