@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.
@@ -41,7 +41,7 @@ const FormData = require('form-data');
41
41
  export const InvoicesApiAxiosParamCreator = function (configuration?: Configuration) {
42
42
  return {
43
43
  /**
44
- * This will create invoice for a policy and save it in the DB.
44
+ * This will create invoice for a policy and save it in the DB. **Required Permissions** \"billing-management.invoices.create\"
45
45
  * @summary Create the invoice
46
46
  * @param {CreateInvoiceRequestDto} createInvoiceRequestDto
47
47
  * @param {string} [authorization] Bearer Token
@@ -93,7 +93,7 @@ export const InvoicesApiAxiosParamCreator = function (configuration?: Configurat
93
93
  };
94
94
  },
95
95
  /**
96
- * Gets an invoice.
96
+ * Gets an invoice. **Required Permissions** \"billing-management.invoices.view\"
97
97
  * @summary Retrieve the invoice
98
98
  * @param {string} code
99
99
  * @param {string} expand
@@ -145,20 +145,20 @@ export const InvoicesApiAxiosParamCreator = function (configuration?: Configurat
145
145
  };
146
146
  },
147
147
  /**
148
- * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
148
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"billing-management.invoices.view\"
149
149
  * @summary List invoices
150
150
  * @param {string} [authorization] Bearer Token
151
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
152
- * @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.
153
- * @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: code, policyCode, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt</i>
154
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
151
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
152
+ * @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.
153
+ * @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: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt</i>
154
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
155
155
  * @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: invoiceNumber, status, netAmount, grossAmount, createdAt, dueDate, id</i>
156
156
  * @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: statuses, payments<i>
157
- * @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: code, policyCode, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt</i>
157
+ * @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: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt</i>
158
158
  * @param {*} [options] Override http request option.
159
159
  * @throws {RequiredError}
160
160
  */
161
- listInvoices: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
161
+ listInvoices: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
162
162
  const localVarPath = `/billingservice/v1/invoices`;
163
163
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
164
164
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -221,13 +221,13 @@ export const InvoicesApiAxiosParamCreator = function (configuration?: Configurat
221
221
  };
222
222
  },
223
223
  /**
224
- * Returns a list of policies billing dates you have previously created. The policies billing dates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
224
+ * Returns a list of policies billing dates you have previously created. The policies billing dates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"billing-management.invoices.view\"
225
225
  * @summary List policies billing dates
226
226
  * @param {string} [authorization] Bearer Token
227
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
228
- * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
227
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
228
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
229
229
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
230
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
230
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
231
231
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
232
232
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
233
233
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
@@ -235,7 +235,7 @@ export const InvoicesApiAxiosParamCreator = function (configuration?: Configurat
235
235
  * @deprecated
236
236
  * @throws {RequiredError}
237
237
  */
238
- listPoliciesBillingDates: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
238
+ listPoliciesBillingDates: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
239
239
  const localVarPath = `/billingservice/v1/invoices/policies-billing-dates`;
240
240
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
241
241
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -308,7 +308,7 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
308
308
  const localVarAxiosParamCreator = InvoicesApiAxiosParamCreator(configuration)
309
309
  return {
310
310
  /**
311
- * This will create invoice for a policy and save it in the DB.
311
+ * This will create invoice for a policy and save it in the DB. **Required Permissions** \"billing-management.invoices.create\"
312
312
  * @summary Create the invoice
313
313
  * @param {CreateInvoiceRequestDto} createInvoiceRequestDto
314
314
  * @param {string} [authorization] Bearer Token
@@ -321,7 +321,7 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
321
321
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
322
322
  },
323
323
  /**
324
- * Gets an invoice.
324
+ * Gets an invoice. **Required Permissions** \"billing-management.invoices.view\"
325
325
  * @summary Retrieve the invoice
326
326
  * @param {string} code
327
327
  * @param {string} expand
@@ -334,31 +334,31 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
334
334
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
335
335
  },
336
336
  /**
337
- * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
337
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"billing-management.invoices.view\"
338
338
  * @summary List invoices
339
339
  * @param {string} [authorization] Bearer Token
340
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
341
- * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
342
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, policyCode, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt&lt;/i&gt;
343
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
340
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
341
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
342
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt&lt;/i&gt;
343
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
344
344
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: invoiceNumber, status, netAmount, grossAmount, createdAt, dueDate, id&lt;/i&gt;
345
345
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: statuses, payments&lt;i&gt;
346
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, policyCode, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt&lt;/i&gt;
346
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt&lt;/i&gt;
347
347
  * @param {*} [options] Override http request option.
348
348
  * @throws {RequiredError}
349
349
  */
350
- async listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvoicesResponseClass>> {
350
+ async listInvoices(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListInvoicesResponseClass>> {
351
351
  const localVarAxiosArgs = await localVarAxiosParamCreator.listInvoices(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
352
352
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
353
353
  },
354
354
  /**
355
- * Returns a list of policies billing dates you have previously created. The policies billing dates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
355
+ * Returns a list of policies billing dates you have previously created. The policies billing dates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"billing-management.invoices.view\"
356
356
  * @summary List policies billing dates
357
357
  * @param {string} [authorization] Bearer Token
358
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
359
- * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
358
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
359
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
360
360
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
361
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
361
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
362
362
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
363
363
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
364
364
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
@@ -366,7 +366,7 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
366
366
  * @deprecated
367
367
  * @throws {RequiredError}
368
368
  */
369
- async listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesBillingsResponseClass>> {
369
+ async listPoliciesBillingDates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesBillingsResponseClass>> {
370
370
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPoliciesBillingDates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
371
371
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
372
372
  },
@@ -381,7 +381,7 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
381
381
  const localVarFp = InvoicesApiFp(configuration)
382
382
  return {
383
383
  /**
384
- * This will create invoice for a policy and save it in the DB.
384
+ * This will create invoice for a policy and save it in the DB. **Required Permissions** \"billing-management.invoices.create\"
385
385
  * @summary Create the invoice
386
386
  * @param {CreateInvoiceRequestDto} createInvoiceRequestDto
387
387
  * @param {string} [authorization] Bearer Token
@@ -393,7 +393,7 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
393
393
  return localVarFp.createInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options).then((request) => request(axios, basePath));
394
394
  },
395
395
  /**
396
- * Gets an invoice.
396
+ * Gets an invoice. **Required Permissions** \"billing-management.invoices.view\"
397
397
  * @summary Retrieve the invoice
398
398
  * @param {string} code
399
399
  * @param {string} expand
@@ -405,30 +405,30 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
405
405
  return localVarFp.getInvoice(code, expand, authorization, options).then((request) => request(axios, basePath));
406
406
  },
407
407
  /**
408
- * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
408
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"billing-management.invoices.view\"
409
409
  * @summary List invoices
410
410
  * @param {string} [authorization] Bearer Token
411
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
412
- * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
413
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, policyCode, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt&lt;/i&gt;
414
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
411
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
412
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
413
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt&lt;/i&gt;
414
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
415
415
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: invoiceNumber, status, netAmount, grossAmount, createdAt, dueDate, id&lt;/i&gt;
416
416
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: statuses, payments&lt;i&gt;
417
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, policyCode, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt&lt;/i&gt;
417
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt&lt;/i&gt;
418
418
  * @param {*} [options] Override http request option.
419
419
  * @throws {RequiredError}
420
420
  */
421
- listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInvoicesResponseClass> {
421
+ listInvoices(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInvoicesResponseClass> {
422
422
  return localVarFp.listInvoices(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
423
423
  },
424
424
  /**
425
- * Returns a list of policies billing dates you have previously created. The policies billing dates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
425
+ * Returns a list of policies billing dates you have previously created. The policies billing dates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"billing-management.invoices.view\"
426
426
  * @summary List policies billing dates
427
427
  * @param {string} [authorization] Bearer Token
428
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
429
- * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
428
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
429
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
430
430
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
431
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
431
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
432
432
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
433
433
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
434
434
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
@@ -436,7 +436,7 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
436
436
  * @deprecated
437
437
  * @throws {RequiredError}
438
438
  */
439
- listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPoliciesBillingsResponseClass> {
439
+ listPoliciesBillingDates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPoliciesBillingsResponseClass> {
440
440
  return localVarFp.listPoliciesBillingDates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
441
441
  },
442
442
  };
@@ -513,20 +513,20 @@ export interface InvoicesApiListInvoicesRequest {
513
513
 
514
514
  /**
515
515
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
516
- * @type {any}
516
+ * @type {number}
517
517
  * @memberof InvoicesApiListInvoices
518
518
  */
519
- readonly pageSize?: any
519
+ readonly pageSize?: number
520
520
 
521
521
  /**
522
- * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
523
- * @type {any}
522
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
523
+ * @type {string}
524
524
  * @memberof InvoicesApiListInvoices
525
525
  */
526
- readonly pageToken?: any
526
+ readonly pageToken?: string
527
527
 
528
528
  /**
529
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, policyCode, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt&lt;/i&gt;
529
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt&lt;/i&gt;
530
530
  * @type {string}
531
531
  * @memberof InvoicesApiListInvoices
532
532
  */
@@ -534,10 +534,10 @@ export interface InvoicesApiListInvoicesRequest {
534
534
 
535
535
  /**
536
536
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
537
- * @type {any}
537
+ * @type {string}
538
538
  * @memberof InvoicesApiListInvoices
539
539
  */
540
- readonly search?: any
540
+ readonly search?: string
541
541
 
542
542
  /**
543
543
  * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: invoiceNumber, status, netAmount, grossAmount, createdAt, dueDate, id&lt;/i&gt;
@@ -554,7 +554,7 @@ export interface InvoicesApiListInvoicesRequest {
554
554
  readonly expand?: string
555
555
 
556
556
  /**
557
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, policyCode, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt&lt;/i&gt;
557
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt&lt;/i&gt;
558
558
  * @type {string}
559
559
  * @memberof InvoicesApiListInvoices
560
560
  */
@@ -576,17 +576,17 @@ export interface InvoicesApiListPoliciesBillingDatesRequest {
576
576
 
577
577
  /**
578
578
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
579
- * @type {any}
579
+ * @type {number}
580
580
  * @memberof InvoicesApiListPoliciesBillingDates
581
581
  */
582
- readonly pageSize?: any
582
+ readonly pageSize?: number
583
583
 
584
584
  /**
585
- * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
586
- * @type {any}
585
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
586
+ * @type {string}
587
587
  * @memberof InvoicesApiListPoliciesBillingDates
588
588
  */
589
- readonly pageToken?: any
589
+ readonly pageToken?: string
590
590
 
591
591
  /**
592
592
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
@@ -597,10 +597,10 @@ export interface InvoicesApiListPoliciesBillingDatesRequest {
597
597
 
598
598
  /**
599
599
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
600
- * @type {any}
600
+ * @type {string}
601
601
  * @memberof InvoicesApiListPoliciesBillingDates
602
602
  */
603
- readonly search?: any
603
+ readonly search?: string
604
604
 
605
605
  /**
606
606
  * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
@@ -632,7 +632,7 @@ export interface InvoicesApiListPoliciesBillingDatesRequest {
632
632
  */
633
633
  export class InvoicesApi extends BaseAPI {
634
634
  /**
635
- * This will create invoice for a policy and save it in the DB.
635
+ * This will create invoice for a policy and save it in the DB. **Required Permissions** \"billing-management.invoices.create\"
636
636
  * @summary Create the invoice
637
637
  * @param {InvoicesApiCreateInvoiceRequest} requestParameters Request parameters.
638
638
  * @param {*} [options] Override http request option.
@@ -644,7 +644,7 @@ export class InvoicesApi extends BaseAPI {
644
644
  }
645
645
 
646
646
  /**
647
- * Gets an invoice.
647
+ * Gets an invoice. **Required Permissions** \"billing-management.invoices.view\"
648
648
  * @summary Retrieve the invoice
649
649
  * @param {InvoicesApiGetInvoiceRequest} requestParameters Request parameters.
650
650
  * @param {*} [options] Override http request option.
@@ -656,7 +656,7 @@ export class InvoicesApi extends BaseAPI {
656
656
  }
657
657
 
658
658
  /**
659
- * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
659
+ * Returns a list of invoices you have previously created. The invoices are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"billing-management.invoices.view\"
660
660
  * @summary List invoices
661
661
  * @param {InvoicesApiListInvoicesRequest} requestParameters Request parameters.
662
662
  * @param {*} [options] Override http request option.
@@ -668,7 +668,7 @@ export class InvoicesApi extends BaseAPI {
668
668
  }
669
669
 
670
670
  /**
671
- * Returns a list of policies billing dates you have previously created. The policies billing dates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
671
+ * Returns a list of policies billing dates you have previously created. The policies billing dates are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"billing-management.invoices.view\"
672
672
  * @summary List policies billing dates
673
673
  * @param {InvoicesApiListPoliciesBillingDatesRequest} requestParameters Request parameters.
674
674
  * @param {*} [options] Override http request option.
@@ -39,7 +39,7 @@ const FormData = require('form-data');
39
39
  export const PolicyBillingApiAxiosParamCreator = function (configuration?: Configuration) {
40
40
  return {
41
41
  /**
42
- * Create a new policy billing
42
+ * Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
43
43
  * @summary Create the Policy Billing
44
44
  * @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
45
45
  * @param {string} [authorization] Bearer Token
@@ -86,20 +86,20 @@ export const PolicyBillingApiAxiosParamCreator = function (configuration?: Confi
86
86
  };
87
87
  },
88
88
  /**
89
- * 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.
89
+ * 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\"
90
90
  * @summary List policies billings
91
91
  * @param {string} [authorization] Bearer Token
92
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
93
- * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
92
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
93
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
94
94
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
95
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
95
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
96
96
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
97
97
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
98
98
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
99
99
  * @param {*} [options] Override http request option.
100
100
  * @throws {RequiredError}
101
101
  */
102
- listPoliciesBillings: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
102
+ listPoliciesBillings: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
103
103
  const localVarPath = `/billingservice/v1/policies-billings`;
104
104
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
105
105
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -162,7 +162,7 @@ export const PolicyBillingApiAxiosParamCreator = function (configuration?: Confi
162
162
  };
163
163
  },
164
164
  /**
165
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
165
+ * 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\"
166
166
  * @summary Update the request message
167
167
  * @param {string} code Unique identifier for the object.
168
168
  * @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
@@ -223,7 +223,7 @@ export const PolicyBillingApiFp = function(configuration?: Configuration) {
223
223
  const localVarAxiosParamCreator = PolicyBillingApiAxiosParamCreator(configuration)
224
224
  return {
225
225
  /**
226
- * Create a new policy billing
226
+ * Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
227
227
  * @summary Create the Policy Billing
228
228
  * @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
229
229
  * @param {string} [authorization] Bearer Token
@@ -235,25 +235,25 @@ export const PolicyBillingApiFp = function(configuration?: Configuration) {
235
235
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
236
236
  },
237
237
  /**
238
- * 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.
238
+ * 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\"
239
239
  * @summary List policies billings
240
240
  * @param {string} [authorization] Bearer Token
241
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
242
- * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
241
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
242
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
243
243
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
244
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
244
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
245
245
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
246
246
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
247
247
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
248
248
  * @param {*} [options] Override http request option.
249
249
  * @throws {RequiredError}
250
250
  */
251
- async 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>> {
251
+ async 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>> {
252
252
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPoliciesBillings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
253
253
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
254
254
  },
255
255
  /**
256
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
256
+ * 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\"
257
257
  * @summary Update the request message
258
258
  * @param {string} code Unique identifier for the object.
259
259
  * @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
@@ -276,7 +276,7 @@ export const PolicyBillingApiFactory = function (configuration?: Configuration,
276
276
  const localVarFp = PolicyBillingApiFp(configuration)
277
277
  return {
278
278
  /**
279
- * Create a new policy billing
279
+ * Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
280
280
  * @summary Create the Policy Billing
281
281
  * @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
282
282
  * @param {string} [authorization] Bearer Token
@@ -287,24 +287,24 @@ export const PolicyBillingApiFactory = function (configuration?: Configuration,
287
287
  return localVarFp.createPolicyBilling(createPolicyBillingRequestDto, authorization, options).then((request) => request(axios, basePath));
288
288
  },
289
289
  /**
290
- * 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.
290
+ * 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\"
291
291
  * @summary List policies billings
292
292
  * @param {string} [authorization] Bearer Token
293
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
294
- * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
293
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
294
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
295
295
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
296
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
296
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
297
297
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
298
298
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
299
299
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
300
300
  * @param {*} [options] Override http request option.
301
301
  * @throws {RequiredError}
302
302
  */
303
- listPoliciesBillings(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
303
+ listPoliciesBillings(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
304
304
  return localVarFp.listPoliciesBillings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
305
305
  },
306
306
  /**
307
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
307
+ * 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\"
308
308
  * @summary Update the request message
309
309
  * @param {string} code Unique identifier for the object.
310
310
  * @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
@@ -354,17 +354,17 @@ export interface PolicyBillingApiListPoliciesBillingsRequest {
354
354
 
355
355
  /**
356
356
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
357
- * @type {any}
357
+ * @type {number}
358
358
  * @memberof PolicyBillingApiListPoliciesBillings
359
359
  */
360
- readonly pageSize?: any
360
+ readonly pageSize?: number
361
361
 
362
362
  /**
363
- * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
364
- * @type {any}
363
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
364
+ * @type {string}
365
365
  * @memberof PolicyBillingApiListPoliciesBillings
366
366
  */
367
- readonly pageToken?: any
367
+ readonly pageToken?: string
368
368
 
369
369
  /**
370
370
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyCode, isInvoiced, nextBillingDate, status, billingIntervalFrom, billingIntervalTo&lt;/i&gt;
@@ -375,10 +375,10 @@ export interface PolicyBillingApiListPoliciesBillingsRequest {
375
375
 
376
376
  /**
377
377
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
378
- * @type {any}
378
+ * @type {string}
379
379
  * @memberof PolicyBillingApiListPoliciesBillings
380
380
  */
381
- readonly search?: any
381
+ readonly search?: string
382
382
 
383
383
  /**
384
384
  * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
@@ -438,7 +438,7 @@ export interface PolicyBillingApiUpdatePolicyBillingRequest {
438
438
  */
439
439
  export class PolicyBillingApi extends BaseAPI {
440
440
  /**
441
- * Create a new policy billing
441
+ * Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
442
442
  * @summary Create the Policy Billing
443
443
  * @param {PolicyBillingApiCreatePolicyBillingRequest} requestParameters Request parameters.
444
444
  * @param {*} [options] Override http request option.
@@ -450,7 +450,7 @@ export class PolicyBillingApi extends BaseAPI {
450
450
  }
451
451
 
452
452
  /**
453
- * 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.
453
+ * 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\"
454
454
  * @summary List policies billings
455
455
  * @param {PolicyBillingApiListPoliciesBillingsRequest} requestParameters Request parameters.
456
456
  * @param {*} [options] Override http request option.
@@ -462,7 +462,7 @@ export class PolicyBillingApi extends BaseAPI {
462
462
  }
463
463
 
464
464
  /**
465
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
465
+ * 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\"
466
466
  * @summary Update the request message
467
467
  * @param {PolicyBillingApiUpdatePolicyBillingRequest} requestParameters Request parameters.
468
468
  * @param {*} [options] Override http request option.
@@ -35,7 +35,7 @@ const FormData = require('form-data');
35
35
  export const RecurringInvoicesApiAxiosParamCreator = function (configuration?: Configuration) {
36
36
  return {
37
37
  /**
38
- * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
38
+ * 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\"
39
39
  * @summary Create the recurring invoice
40
40
  * @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
41
41
  * @param {string} [authorization] Bearer Token
@@ -97,7 +97,7 @@ export const RecurringInvoicesApiFp = function(configuration?: Configuration) {
97
97
  const localVarAxiosParamCreator = RecurringInvoicesApiAxiosParamCreator(configuration)
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
@@ -120,7 +120,7 @@ export const RecurringInvoicesApiFactory = function (configuration?: Configurati
120
120
  const localVarFp = RecurringInvoicesApiFp(configuration)
121
121
  return {
122
122
  /**
123
- * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
123
+ * 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\"
124
124
  * @summary Create the recurring invoice
125
125
  * @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
126
126
  * @param {string} [authorization] Bearer Token
@@ -170,7 +170,7 @@ export interface RecurringInvoicesApiCreateRecurringInvoiceRequest {
170
170
  */
171
171
  export class RecurringInvoicesApi extends BaseAPI {
172
172
  /**
173
- * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
173
+ * 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\"
174
174
  * @summary Create the recurring invoice
175
175
  * @param {RecurringInvoicesApiCreateRecurringInvoiceRequest} requestParameters Request parameters.
176
176
  * @param {*} [options] Override http request option.