@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.
@@ -37,7 +37,7 @@ import { ListPoliciesBillingsResponseClass } from '../models';
37
37
  export const InvoicesApiAxiosParamCreator = function (configuration?: Configuration) {
38
38
  return {
39
39
  /**
40
- * This will create invoice for a policy and save it in the DB.
40
+ * This will create invoice for a policy and save it in the DB. **Required Permissions** \"billing-management.invoices.create\"
41
41
  * @summary Create the invoice
42
42
  * @param {CreateInvoiceRequestDto} createInvoiceRequestDto
43
43
  * @param {string} [authorization] Bearer Token
@@ -89,7 +89,7 @@ export const InvoicesApiAxiosParamCreator = function (configuration?: Configurat
89
89
  };
90
90
  },
91
91
  /**
92
- * Gets an invoice.
92
+ * Gets an invoice. **Required Permissions** \"billing-management.invoices.view\"
93
93
  * @summary Retrieve the invoice
94
94
  * @param {string} code
95
95
  * @param {string} expand
@@ -141,20 +141,20 @@ export const InvoicesApiAxiosParamCreator = function (configuration?: Configurat
141
141
  };
142
142
  },
143
143
  /**
144
- * 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.
144
+ * 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\"
145
145
  * @summary List invoices
146
146
  * @param {string} [authorization] Bearer Token
147
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
148
- * @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.
149
- * @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>
150
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
147
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
148
+ * @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.
149
+ * @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>
150
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
151
151
  * @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>
152
152
  * @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>
153
- * @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>
153
+ * @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>
154
154
  * @param {*} [options] Override http request option.
155
155
  * @throws {RequiredError}
156
156
  */
157
- listInvoices: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
157
+ listInvoices: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
158
158
  const localVarPath = `/billingservice/v1/invoices`;
159
159
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
160
160
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -217,13 +217,13 @@ export const InvoicesApiAxiosParamCreator = function (configuration?: Configurat
217
217
  };
218
218
  },
219
219
  /**
220
- * 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.
220
+ * 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\"
221
221
  * @summary List policies billing dates
222
222
  * @param {string} [authorization] Bearer Token
223
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
224
- * @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.
223
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
224
+ * @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.
225
225
  * @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;
226
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
226
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
227
227
  * @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;
228
228
  * @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;
229
229
  * @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;
@@ -231,7 +231,7 @@ export const InvoicesApiAxiosParamCreator = function (configuration?: Configurat
231
231
  * @deprecated
232
232
  * @throws {RequiredError}
233
233
  */
234
- listPoliciesBillingDates: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
234
+ listPoliciesBillingDates: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
235
235
  const localVarPath = `/billingservice/v1/invoices/policies-billing-dates`;
236
236
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
237
237
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -304,7 +304,7 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
304
304
  const localVarAxiosParamCreator = InvoicesApiAxiosParamCreator(configuration)
305
305
  return {
306
306
  /**
307
- * This will create invoice for a policy and save it in the DB.
307
+ * This will create invoice for a policy and save it in the DB. **Required Permissions** \"billing-management.invoices.create\"
308
308
  * @summary Create the invoice
309
309
  * @param {CreateInvoiceRequestDto} createInvoiceRequestDto
310
310
  * @param {string} [authorization] Bearer Token
@@ -317,7 +317,7 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
317
317
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
318
318
  },
319
319
  /**
320
- * Gets an invoice.
320
+ * Gets an invoice. **Required Permissions** \"billing-management.invoices.view\"
321
321
  * @summary Retrieve the invoice
322
322
  * @param {string} code
323
323
  * @param {string} expand
@@ -330,31 +330,31 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
330
330
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
331
331
  },
332
332
  /**
333
- * 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.
333
+ * 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\"
334
334
  * @summary List invoices
335
335
  * @param {string} [authorization] Bearer Token
336
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
337
- * @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.
338
- * @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;
339
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
336
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
337
+ * @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.
338
+ * @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;
339
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
340
340
  * @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;
341
341
  * @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;
342
- * @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;
342
+ * @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;
343
343
  * @param {*} [options] Override http request option.
344
344
  * @throws {RequiredError}
345
345
  */
346
- 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>> {
346
+ 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>> {
347
347
  const localVarAxiosArgs = await localVarAxiosParamCreator.listInvoices(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
348
348
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
349
349
  },
350
350
  /**
351
- * 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.
351
+ * 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\"
352
352
  * @summary List policies billing dates
353
353
  * @param {string} [authorization] Bearer Token
354
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
355
- * @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.
354
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
355
+ * @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.
356
356
  * @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;
357
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
357
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
358
358
  * @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;
359
359
  * @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;
360
360
  * @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;
@@ -362,7 +362,7 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
362
362
  * @deprecated
363
363
  * @throws {RequiredError}
364
364
  */
365
- 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>> {
365
+ 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>> {
366
366
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPoliciesBillingDates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
367
367
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
368
368
  },
@@ -377,7 +377,7 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
377
377
  const localVarFp = InvoicesApiFp(configuration)
378
378
  return {
379
379
  /**
380
- * This will create invoice for a policy and save it in the DB.
380
+ * This will create invoice for a policy and save it in the DB. **Required Permissions** \"billing-management.invoices.create\"
381
381
  * @summary Create the invoice
382
382
  * @param {CreateInvoiceRequestDto} createInvoiceRequestDto
383
383
  * @param {string} [authorization] Bearer Token
@@ -389,7 +389,7 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
389
389
  return localVarFp.createInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options).then((request) => request(axios, basePath));
390
390
  },
391
391
  /**
392
- * Gets an invoice.
392
+ * Gets an invoice. **Required Permissions** \"billing-management.invoices.view\"
393
393
  * @summary Retrieve the invoice
394
394
  * @param {string} code
395
395
  * @param {string} expand
@@ -401,30 +401,30 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
401
401
  return localVarFp.getInvoice(code, expand, authorization, options).then((request) => request(axios, basePath));
402
402
  },
403
403
  /**
404
- * 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.
404
+ * 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\"
405
405
  * @summary List invoices
406
406
  * @param {string} [authorization] Bearer Token
407
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
408
- * @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.
409
- * @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;
410
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
407
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
408
+ * @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.
409
+ * @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;
410
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
411
411
  * @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;
412
412
  * @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;
413
- * @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;
413
+ * @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;
414
414
  * @param {*} [options] Override http request option.
415
415
  * @throws {RequiredError}
416
416
  */
417
- listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInvoicesResponseClass> {
417
+ listInvoices(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInvoicesResponseClass> {
418
418
  return localVarFp.listInvoices(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
419
419
  },
420
420
  /**
421
- * 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.
421
+ * 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\"
422
422
  * @summary List policies billing dates
423
423
  * @param {string} [authorization] Bearer Token
424
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
425
- * @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.
424
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
425
+ * @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.
426
426
  * @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;
427
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
427
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
428
428
  * @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;
429
429
  * @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;
430
430
  * @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;
@@ -432,7 +432,7 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
432
432
  * @deprecated
433
433
  * @throws {RequiredError}
434
434
  */
435
- listPoliciesBillingDates(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPoliciesBillingsResponseClass> {
435
+ listPoliciesBillingDates(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPoliciesBillingsResponseClass> {
436
436
  return localVarFp.listPoliciesBillingDates(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
437
437
  },
438
438
  };
@@ -509,20 +509,20 @@ export interface InvoicesApiListInvoicesRequest {
509
509
 
510
510
  /**
511
511
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
512
- * @type {any}
512
+ * @type {number}
513
513
  * @memberof InvoicesApiListInvoices
514
514
  */
515
- readonly pageSize?: any
515
+ readonly pageSize?: number
516
516
 
517
517
  /**
518
- * 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.
519
- * @type {any}
518
+ * 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.
519
+ * @type {string}
520
520
  * @memberof InvoicesApiListInvoices
521
521
  */
522
- readonly pageToken?: any
522
+ readonly pageToken?: string
523
523
 
524
524
  /**
525
- * 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;
525
+ * 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;
526
526
  * @type {string}
527
527
  * @memberof InvoicesApiListInvoices
528
528
  */
@@ -530,10 +530,10 @@ export interface InvoicesApiListInvoicesRequest {
530
530
 
531
531
  /**
532
532
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
533
- * @type {any}
533
+ * @type {string}
534
534
  * @memberof InvoicesApiListInvoices
535
535
  */
536
- readonly search?: any
536
+ readonly search?: string
537
537
 
538
538
  /**
539
539
  * 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;
@@ -550,7 +550,7 @@ export interface InvoicesApiListInvoicesRequest {
550
550
  readonly expand?: string
551
551
 
552
552
  /**
553
- * 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;
553
+ * 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;
554
554
  * @type {string}
555
555
  * @memberof InvoicesApiListInvoices
556
556
  */
@@ -572,17 +572,17 @@ export interface InvoicesApiListPoliciesBillingDatesRequest {
572
572
 
573
573
  /**
574
574
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
575
- * @type {any}
575
+ * @type {number}
576
576
  * @memberof InvoicesApiListPoliciesBillingDates
577
577
  */
578
- readonly pageSize?: any
578
+ readonly pageSize?: number
579
579
 
580
580
  /**
581
- * 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.
582
- * @type {any}
581
+ * 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.
582
+ * @type {string}
583
583
  * @memberof InvoicesApiListPoliciesBillingDates
584
584
  */
585
- readonly pageToken?: any
585
+ readonly pageToken?: string
586
586
 
587
587
  /**
588
588
  * 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;
@@ -593,10 +593,10 @@ export interface InvoicesApiListPoliciesBillingDatesRequest {
593
593
 
594
594
  /**
595
595
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
596
- * @type {any}
596
+ * @type {string}
597
597
  * @memberof InvoicesApiListPoliciesBillingDates
598
598
  */
599
- readonly search?: any
599
+ readonly search?: string
600
600
 
601
601
  /**
602
602
  * 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;
@@ -628,7 +628,7 @@ export interface InvoicesApiListPoliciesBillingDatesRequest {
628
628
  */
629
629
  export class InvoicesApi extends BaseAPI {
630
630
  /**
631
- * This will create invoice for a policy and save it in the DB.
631
+ * This will create invoice for a policy and save it in the DB. **Required Permissions** \"billing-management.invoices.create\"
632
632
  * @summary Create the invoice
633
633
  * @param {InvoicesApiCreateInvoiceRequest} requestParameters Request parameters.
634
634
  * @param {*} [options] Override http request option.
@@ -640,7 +640,7 @@ export class InvoicesApi extends BaseAPI {
640
640
  }
641
641
 
642
642
  /**
643
- * Gets an invoice.
643
+ * Gets an invoice. **Required Permissions** \"billing-management.invoices.view\"
644
644
  * @summary Retrieve the invoice
645
645
  * @param {InvoicesApiGetInvoiceRequest} requestParameters Request parameters.
646
646
  * @param {*} [options] Override http request option.
@@ -652,7 +652,7 @@ export class InvoicesApi extends BaseAPI {
652
652
  }
653
653
 
654
654
  /**
655
- * 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.
655
+ * 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\"
656
656
  * @summary List invoices
657
657
  * @param {InvoicesApiListInvoicesRequest} requestParameters Request parameters.
658
658
  * @param {*} [options] Override http request option.
@@ -664,7 +664,7 @@ export class InvoicesApi extends BaseAPI {
664
664
  }
665
665
 
666
666
  /**
667
- * 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.
667
+ * 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\"
668
668
  * @summary List policies billing dates
669
669
  * @param {InvoicesApiListPoliciesBillingDatesRequest} requestParameters Request parameters.
670
670
  * @param {*} [options] Override http request option.
@@ -35,7 +35,7 @@ import { UpdatePolicyBillingResponseClass } from '../models';
35
35
  export const PolicyBillingApiAxiosParamCreator = function (configuration?: Configuration) {
36
36
  return {
37
37
  /**
38
- * Create a new policy billing
38
+ * Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
39
39
  * @summary Create the Policy Billing
40
40
  * @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
41
41
  * @param {string} [authorization] Bearer Token
@@ -82,20 +82,20 @@ export const PolicyBillingApiAxiosParamCreator = function (configuration?: Confi
82
82
  };
83
83
  },
84
84
  /**
85
- * 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.
85
+ * 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\"
86
86
  * @summary List policies billings
87
87
  * @param {string} [authorization] Bearer Token
88
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
89
- * @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.
88
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
89
+ * @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.
90
90
  * @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;
91
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
91
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
92
92
  * @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;
93
93
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
94
94
  * @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;
95
95
  * @param {*} [options] Override http request option.
96
96
  * @throws {RequiredError}
97
97
  */
98
- listPoliciesBillings: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
98
+ listPoliciesBillings: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
99
99
  const localVarPath = `/billingservice/v1/policies-billings`;
100
100
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
101
101
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -158,7 +158,7 @@ export const PolicyBillingApiAxiosParamCreator = function (configuration?: Confi
158
158
  };
159
159
  },
160
160
  /**
161
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
161
+ * 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\"
162
162
  * @summary Update the request message
163
163
  * @param {string} code Unique identifier for the object.
164
164
  * @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
@@ -219,7 +219,7 @@ export const PolicyBillingApiFp = function(configuration?: Configuration) {
219
219
  const localVarAxiosParamCreator = PolicyBillingApiAxiosParamCreator(configuration)
220
220
  return {
221
221
  /**
222
- * Create a new policy billing
222
+ * Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
223
223
  * @summary Create the Policy Billing
224
224
  * @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
225
225
  * @param {string} [authorization] Bearer Token
@@ -231,25 +231,25 @@ export const PolicyBillingApiFp = function(configuration?: Configuration) {
231
231
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
232
232
  },
233
233
  /**
234
- * 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.
234
+ * 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\"
235
235
  * @summary List policies billings
236
236
  * @param {string} [authorization] Bearer Token
237
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
238
- * @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.
237
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
238
+ * @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.
239
239
  * @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;
240
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
240
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
241
241
  * @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;
242
242
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
243
243
  * @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;
244
244
  * @param {*} [options] Override http request option.
245
245
  * @throws {RequiredError}
246
246
  */
247
- 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>> {
247
+ 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>> {
248
248
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPoliciesBillings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
249
249
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
250
250
  },
251
251
  /**
252
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
252
+ * 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\"
253
253
  * @summary Update the request message
254
254
  * @param {string} code Unique identifier for the object.
255
255
  * @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
@@ -272,7 +272,7 @@ export const PolicyBillingApiFactory = function (configuration?: Configuration,
272
272
  const localVarFp = PolicyBillingApiFp(configuration)
273
273
  return {
274
274
  /**
275
- * Create a new policy billing
275
+ * Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
276
276
  * @summary Create the Policy Billing
277
277
  * @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
278
278
  * @param {string} [authorization] Bearer Token
@@ -283,24 +283,24 @@ export const PolicyBillingApiFactory = function (configuration?: Configuration,
283
283
  return localVarFp.createPolicyBilling(createPolicyBillingRequestDto, authorization, options).then((request) => request(axios, basePath));
284
284
  },
285
285
  /**
286
- * 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.
286
+ * 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\"
287
287
  * @summary List policies billings
288
288
  * @param {string} [authorization] Bearer Token
289
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
290
- * @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.
289
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
290
+ * @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.
291
291
  * @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;
292
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
292
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
293
293
  * @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;
294
294
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
295
295
  * @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;
296
296
  * @param {*} [options] Override http request option.
297
297
  * @throws {RequiredError}
298
298
  */
299
- listPoliciesBillings(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
299
+ listPoliciesBillings(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
300
300
  return localVarFp.listPoliciesBillings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
301
301
  },
302
302
  /**
303
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
303
+ * 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\"
304
304
  * @summary Update the request message
305
305
  * @param {string} code Unique identifier for the object.
306
306
  * @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
@@ -350,17 +350,17 @@ export interface PolicyBillingApiListPoliciesBillingsRequest {
350
350
 
351
351
  /**
352
352
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
353
- * @type {any}
353
+ * @type {number}
354
354
  * @memberof PolicyBillingApiListPoliciesBillings
355
355
  */
356
- readonly pageSize?: any
356
+ readonly pageSize?: number
357
357
 
358
358
  /**
359
- * 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
- * @type {any}
359
+ * 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
+ * @type {string}
361
361
  * @memberof PolicyBillingApiListPoliciesBillings
362
362
  */
363
- readonly pageToken?: any
363
+ readonly pageToken?: string
364
364
 
365
365
  /**
366
366
  * 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;
@@ -371,10 +371,10 @@ export interface PolicyBillingApiListPoliciesBillingsRequest {
371
371
 
372
372
  /**
373
373
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
374
- * @type {any}
374
+ * @type {string}
375
375
  * @memberof PolicyBillingApiListPoliciesBillings
376
376
  */
377
- readonly search?: any
377
+ readonly search?: string
378
378
 
379
379
  /**
380
380
  * 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;
@@ -434,7 +434,7 @@ export interface PolicyBillingApiUpdatePolicyBillingRequest {
434
434
  */
435
435
  export class PolicyBillingApi extends BaseAPI {
436
436
  /**
437
- * Create a new policy billing
437
+ * Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
438
438
  * @summary Create the Policy Billing
439
439
  * @param {PolicyBillingApiCreatePolicyBillingRequest} requestParameters Request parameters.
440
440
  * @param {*} [options] Override http request option.
@@ -446,7 +446,7 @@ export class PolicyBillingApi extends BaseAPI {
446
446
  }
447
447
 
448
448
  /**
449
- * 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.
449
+ * 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\"
450
450
  * @summary List policies billings
451
451
  * @param {PolicyBillingApiListPoliciesBillingsRequest} requestParameters Request parameters.
452
452
  * @param {*} [options] Override http request option.
@@ -458,7 +458,7 @@ export class PolicyBillingApi extends BaseAPI {
458
458
  }
459
459
 
460
460
  /**
461
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
461
+ * 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\"
462
462
  * @summary Update the request message
463
463
  * @param {PolicyBillingApiUpdatePolicyBillingRequest} requestParameters Request parameters.
464
464
  * @param {*} [options] Override http request option.
@@ -31,7 +31,7 @@ import { CreateInvoiceResponseClass } from '../models';
31
31
  export const RecurringInvoicesApiAxiosParamCreator = function (configuration?: Configuration) {
32
32
  return {
33
33
  /**
34
- * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
34
+ * 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\"
35
35
  * @summary Create the recurring invoice
36
36
  * @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
37
37
  * @param {string} [authorization] Bearer Token
@@ -93,7 +93,7 @@ export const RecurringInvoicesApiFp = function(configuration?: Configuration) {
93
93
  const localVarAxiosParamCreator = RecurringInvoicesApiAxiosParamCreator(configuration)
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
@@ -116,7 +116,7 @@ export const RecurringInvoicesApiFactory = function (configuration?: Configurati
116
116
  const localVarFp = RecurringInvoicesApiFp(configuration)
117
117
  return {
118
118
  /**
119
- * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
119
+ * 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\"
120
120
  * @summary Create the recurring invoice
121
121
  * @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
122
122
  * @param {string} [authorization] Bearer Token
@@ -166,7 +166,7 @@ export interface RecurringInvoicesApiCreateRecurringInvoiceRequest {
166
166
  */
167
167
  export class RecurringInvoicesApi extends BaseAPI {
168
168
  /**
169
- * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
169
+ * 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\"
170
170
  * @summary Create the recurring invoice
171
171
  * @param {RecurringInvoicesApiCreateRecurringInvoiceRequest} requestParameters Request parameters.
172
172
  * @param {*} [options] Override http request option.