@emilgroup/billing-sdk 1.39.1-beta.2 → 1.40.1-beta.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.
@@ -23,7 +23,7 @@ import { ListPoliciesBillingsResponseClass } from '../models';
23
23
  */
24
24
  export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuration) => {
25
25
  /**
26
- * This will create invoice for a policy and save it in the DB.
26
+ * This will create invoice for a policy and save it in the DB. **Required Permissions** \"billing-management.invoices.create\"
27
27
  * @summary Create the invoice
28
28
  * @param {CreateInvoiceRequestDto} createInvoiceRequestDto
29
29
  * @param {string} [authorization] Bearer Token
@@ -33,7 +33,7 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
33
33
  */
34
34
  createInvoice: (createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
35
  /**
36
- * Gets an invoice.
36
+ * Gets an invoice. **Required Permissions** \"billing-management.invoices.view\"
37
37
  * @summary Retrieve the invoice
38
38
  * @param {string} code
39
39
  * @param {string} expand
@@ -43,7 +43,7 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
43
43
  */
44
44
  getInvoice: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
45
45
  /**
46
- * 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.
46
+ * 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\"
47
47
  * @summary List invoices
48
48
  * @param {string} [authorization] Bearer Token
49
49
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -58,7 +58,7 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
58
58
  */
59
59
  listInvoices: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
60
60
  /**
61
- * 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.
61
+ * 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\"
62
62
  * @summary List policies billing dates
63
63
  * @param {string} [authorization] Bearer Token
64
64
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -80,7 +80,7 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
80
80
  */
81
81
  export declare const InvoicesApiFp: (configuration?: Configuration) => {
82
82
  /**
83
- * This will create invoice for a policy and save it in the DB.
83
+ * This will create invoice for a policy and save it in the DB. **Required Permissions** \"billing-management.invoices.create\"
84
84
  * @summary Create the invoice
85
85
  * @param {CreateInvoiceRequestDto} createInvoiceRequestDto
86
86
  * @param {string} [authorization] Bearer Token
@@ -90,7 +90,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
90
90
  */
91
91
  createInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateInvoiceResponseClass>>;
92
92
  /**
93
- * Gets an invoice.
93
+ * Gets an invoice. **Required Permissions** \"billing-management.invoices.view\"
94
94
  * @summary Retrieve the invoice
95
95
  * @param {string} code
96
96
  * @param {string} expand
@@ -100,7 +100,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
100
100
  */
101
101
  getInvoice(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInvoiceResponseClass>>;
102
102
  /**
103
- * 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.
103
+ * 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\"
104
104
  * @summary List invoices
105
105
  * @param {string} [authorization] Bearer Token
106
106
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -115,7 +115,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
115
115
  */
116
116
  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>>;
117
117
  /**
118
- * 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.
118
+ * 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\"
119
119
  * @summary List policies billing dates
120
120
  * @param {string} [authorization] Bearer Token
121
121
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -137,7 +137,7 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
137
137
  */
138
138
  export declare const InvoicesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
139
139
  /**
140
- * This will create invoice for a policy and save it in the DB.
140
+ * This will create invoice for a policy and save it in the DB. **Required Permissions** \"billing-management.invoices.create\"
141
141
  * @summary Create the invoice
142
142
  * @param {CreateInvoiceRequestDto} createInvoiceRequestDto
143
143
  * @param {string} [authorization] Bearer Token
@@ -147,7 +147,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
147
147
  */
148
148
  createInvoice(createInvoiceRequestDto: CreateInvoiceRequestDto, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<CreateInvoiceResponseClass>;
149
149
  /**
150
- * Gets an invoice.
150
+ * Gets an invoice. **Required Permissions** \"billing-management.invoices.view\"
151
151
  * @summary Retrieve the invoice
152
152
  * @param {string} code
153
153
  * @param {string} expand
@@ -157,7 +157,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
157
157
  */
158
158
  getInvoice(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetInvoiceResponseClass>;
159
159
  /**
160
- * 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.
160
+ * 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\"
161
161
  * @summary List invoices
162
162
  * @param {string} [authorization] Bearer Token
163
163
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -172,7 +172,7 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
172
172
  */
173
173
  listInvoices(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListInvoicesResponseClass>;
174
174
  /**
175
- * 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.
175
+ * 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\"
176
176
  * @summary List policies billing dates
177
177
  * @param {string} [authorization] Bearer Token
178
178
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -356,7 +356,7 @@ export interface InvoicesApiListPoliciesBillingDatesRequest {
356
356
  */
357
357
  export declare class InvoicesApi extends BaseAPI {
358
358
  /**
359
- * This will create invoice for a policy and save it in the DB.
359
+ * This will create invoice for a policy and save it in the DB. **Required Permissions** \"billing-management.invoices.create\"
360
360
  * @summary Create the invoice
361
361
  * @param {InvoicesApiCreateInvoiceRequest} requestParameters Request parameters.
362
362
  * @param {*} [options] Override http request option.
@@ -365,7 +365,7 @@ export declare class InvoicesApi extends BaseAPI {
365
365
  */
366
366
  createInvoice(requestParameters: InvoicesApiCreateInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateInvoiceResponseClass, any>>;
367
367
  /**
368
- * Gets an invoice.
368
+ * Gets an invoice. **Required Permissions** \"billing-management.invoices.view\"
369
369
  * @summary Retrieve the invoice
370
370
  * @param {InvoicesApiGetInvoiceRequest} requestParameters Request parameters.
371
371
  * @param {*} [options] Override http request option.
@@ -374,7 +374,7 @@ export declare class InvoicesApi extends BaseAPI {
374
374
  */
375
375
  getInvoice(requestParameters: InvoicesApiGetInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetInvoiceResponseClass, any>>;
376
376
  /**
377
- * 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.
377
+ * 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\"
378
378
  * @summary List invoices
379
379
  * @param {InvoicesApiListInvoicesRequest} requestParameters Request parameters.
380
380
  * @param {*} [options] Override http request option.
@@ -383,7 +383,7 @@ export declare class InvoicesApi extends BaseAPI {
383
383
  */
384
384
  listInvoices(requestParameters?: InvoicesApiListInvoicesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInvoicesResponseClass, any>>;
385
385
  /**
386
- * 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.
386
+ * 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\"
387
387
  * @summary List policies billing dates
388
388
  * @param {InvoicesApiListPoliciesBillingDatesRequest} requestParameters Request parameters.
389
389
  * @param {*} [options] Override http request option.
@@ -93,7 +93,7 @@ var InvoicesApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * This will create invoice for a policy and save it in the DB.
96
+ * This will create invoice for a policy and save it in the DB. **Required Permissions** \"billing-management.invoices.create\"
97
97
  * @summary Create the invoice
98
98
  * @param {CreateInvoiceRequestDto} createInvoiceRequestDto
99
99
  * @param {string} [authorization] Bearer Token
@@ -146,7 +146,7 @@ var InvoicesApiAxiosParamCreator = function (configuration) {
146
146
  });
147
147
  },
148
148
  /**
149
- * Gets an invoice.
149
+ * Gets an invoice. **Required Permissions** \"billing-management.invoices.view\"
150
150
  * @summary Retrieve the invoice
151
151
  * @param {string} code
152
152
  * @param {string} expand
@@ -200,7 +200,7 @@ var InvoicesApiAxiosParamCreator = function (configuration) {
200
200
  });
201
201
  },
202
202
  /**
203
- * 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.
203
+ * 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\"
204
204
  * @summary List invoices
205
205
  * @param {string} [authorization] Bearer Token
206
206
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -272,7 +272,7 @@ var InvoicesApiAxiosParamCreator = function (configuration) {
272
272
  });
273
273
  },
274
274
  /**
275
- * 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.
275
+ * 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\"
276
276
  * @summary List policies billing dates
277
277
  * @param {string} [authorization] Bearer Token
278
278
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -355,7 +355,7 @@ var InvoicesApiFp = function (configuration) {
355
355
  var localVarAxiosParamCreator = (0, exports.InvoicesApiAxiosParamCreator)(configuration);
356
356
  return {
357
357
  /**
358
- * This will create invoice for a policy and save it in the DB.
358
+ * This will create invoice for a policy and save it in the DB. **Required Permissions** \"billing-management.invoices.create\"
359
359
  * @summary Create the invoice
360
360
  * @param {CreateInvoiceRequestDto} createInvoiceRequestDto
361
361
  * @param {string} [authorization] Bearer Token
@@ -377,7 +377,7 @@ var InvoicesApiFp = function (configuration) {
377
377
  });
378
378
  },
379
379
  /**
380
- * Gets an invoice.
380
+ * Gets an invoice. **Required Permissions** \"billing-management.invoices.view\"
381
381
  * @summary Retrieve the invoice
382
382
  * @param {string} code
383
383
  * @param {string} expand
@@ -399,7 +399,7 @@ var InvoicesApiFp = function (configuration) {
399
399
  });
400
400
  },
401
401
  /**
402
- * 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.
402
+ * 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\"
403
403
  * @summary List invoices
404
404
  * @param {string} [authorization] Bearer Token
405
405
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -426,7 +426,7 @@ var InvoicesApiFp = function (configuration) {
426
426
  });
427
427
  },
428
428
  /**
429
- * 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.
429
+ * 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\"
430
430
  * @summary List policies billing dates
431
431
  * @param {string} [authorization] Bearer Token
432
432
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -464,7 +464,7 @@ var InvoicesApiFactory = function (configuration, basePath, axios) {
464
464
  var localVarFp = (0, exports.InvoicesApiFp)(configuration);
465
465
  return {
466
466
  /**
467
- * This will create invoice for a policy and save it in the DB.
467
+ * This will create invoice for a policy and save it in the DB. **Required Permissions** \"billing-management.invoices.create\"
468
468
  * @summary Create the invoice
469
469
  * @param {CreateInvoiceRequestDto} createInvoiceRequestDto
470
470
  * @param {string} [authorization] Bearer Token
@@ -476,7 +476,7 @@ var InvoicesApiFactory = function (configuration, basePath, axios) {
476
476
  return localVarFp.createInvoice(createInvoiceRequestDto, authorization, idempotencyKey, options).then(function (request) { return request(axios, basePath); });
477
477
  },
478
478
  /**
479
- * Gets an invoice.
479
+ * Gets an invoice. **Required Permissions** \"billing-management.invoices.view\"
480
480
  * @summary Retrieve the invoice
481
481
  * @param {string} code
482
482
  * @param {string} expand
@@ -488,7 +488,7 @@ var InvoicesApiFactory = function (configuration, basePath, axios) {
488
488
  return localVarFp.getInvoice(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
489
489
  },
490
490
  /**
491
- * 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.
491
+ * 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\"
492
492
  * @summary List invoices
493
493
  * @param {string} [authorization] Bearer Token
494
494
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -505,7 +505,7 @@ var InvoicesApiFactory = function (configuration, basePath, axios) {
505
505
  return localVarFp.listInvoices(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
506
506
  },
507
507
  /**
508
- * 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.
508
+ * 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\"
509
509
  * @summary List policies billing dates
510
510
  * @param {string} [authorization] Bearer Token
511
511
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -537,7 +537,7 @@ var InvoicesApi = /** @class */ (function (_super) {
537
537
  return _super !== null && _super.apply(this, arguments) || this;
538
538
  }
539
539
  /**
540
- * This will create invoice for a policy and save it in the DB.
540
+ * This will create invoice for a policy and save it in the DB. **Required Permissions** \"billing-management.invoices.create\"
541
541
  * @summary Create the invoice
542
542
  * @param {InvoicesApiCreateInvoiceRequest} requestParameters Request parameters.
543
543
  * @param {*} [options] Override http request option.
@@ -549,7 +549,7 @@ var InvoicesApi = /** @class */ (function (_super) {
549
549
  return (0, exports.InvoicesApiFp)(this.configuration).createInvoice(requestParameters.createInvoiceRequestDto, requestParameters.authorization, requestParameters.idempotencyKey, options).then(function (request) { return request(_this.axios, _this.basePath); });
550
550
  };
551
551
  /**
552
- * Gets an invoice.
552
+ * Gets an invoice. **Required Permissions** \"billing-management.invoices.view\"
553
553
  * @summary Retrieve the invoice
554
554
  * @param {InvoicesApiGetInvoiceRequest} requestParameters Request parameters.
555
555
  * @param {*} [options] Override http request option.
@@ -561,7 +561,7 @@ var InvoicesApi = /** @class */ (function (_super) {
561
561
  return (0, exports.InvoicesApiFp)(this.configuration).getInvoice(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
562
562
  };
563
563
  /**
564
- * 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.
564
+ * 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\"
565
565
  * @summary List invoices
566
566
  * @param {InvoicesApiListInvoicesRequest} requestParameters Request parameters.
567
567
  * @param {*} [options] Override http request option.
@@ -574,7 +574,7 @@ var InvoicesApi = /** @class */ (function (_super) {
574
574
  return (0, exports.InvoicesApiFp)(this.configuration).listInvoices(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
575
575
  };
576
576
  /**
577
- * 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.
577
+ * 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\"
578
578
  * @summary List policies billing dates
579
579
  * @param {InvoicesApiListPoliciesBillingDatesRequest} requestParameters Request parameters.
580
580
  * @param {*} [options] Override http request option.
@@ -22,7 +22,7 @@ import { UpdatePolicyBillingResponseClass } from '../models';
22
22
  */
23
23
  export declare const PolicyBillingApiAxiosParamCreator: (configuration?: Configuration) => {
24
24
  /**
25
- * Create a new policy billing
25
+ * Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
26
26
  * @summary Create the Policy Billing
27
27
  * @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
28
28
  * @param {string} [authorization] Bearer Token
@@ -31,7 +31,7 @@ export declare const PolicyBillingApiAxiosParamCreator: (configuration?: Configu
31
31
  */
32
32
  createPolicyBilling: (createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
33
  /**
34
- * Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
34
+ * Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"billing-management.invoices.view\"
35
35
  * @summary List policies billings
36
36
  * @param {string} [authorization] Bearer Token
37
37
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -46,7 +46,7 @@ export declare const PolicyBillingApiAxiosParamCreator: (configuration?: Configu
46
46
  */
47
47
  listPoliciesBillings: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
48
48
  /**
49
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
49
+ * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"billing-management.invoices.update\"
50
50
  * @summary Update the request message
51
51
  * @param {string} code Unique identifier for the object.
52
52
  * @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
@@ -62,7 +62,7 @@ export declare const PolicyBillingApiAxiosParamCreator: (configuration?: Configu
62
62
  */
63
63
  export declare const PolicyBillingApiFp: (configuration?: Configuration) => {
64
64
  /**
65
- * Create a new policy billing
65
+ * Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
66
66
  * @summary Create the Policy Billing
67
67
  * @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
68
68
  * @param {string} [authorization] Bearer Token
@@ -71,7 +71,7 @@ export declare const PolicyBillingApiFp: (configuration?: Configuration) => {
71
71
  */
72
72
  createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyBillingResponseClass>>;
73
73
  /**
74
- * Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
74
+ * Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"billing-management.invoices.view\"
75
75
  * @summary List policies billings
76
76
  * @param {string} [authorization] Bearer Token
77
77
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -86,7 +86,7 @@ export declare const PolicyBillingApiFp: (configuration?: Configuration) => {
86
86
  */
87
87
  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>>;
88
88
  /**
89
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
89
+ * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"billing-management.invoices.update\"
90
90
  * @summary Update the request message
91
91
  * @param {string} code Unique identifier for the object.
92
92
  * @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
@@ -102,7 +102,7 @@ export declare const PolicyBillingApiFp: (configuration?: Configuration) => {
102
102
  */
103
103
  export declare const PolicyBillingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
104
104
  /**
105
- * Create a new policy billing
105
+ * Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
106
106
  * @summary Create the Policy Billing
107
107
  * @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
108
108
  * @param {string} [authorization] Bearer Token
@@ -111,7 +111,7 @@ export declare const PolicyBillingApiFactory: (configuration?: Configuration, ba
111
111
  */
112
112
  createPolicyBilling(createPolicyBillingRequestDto: CreatePolicyBillingRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyBillingResponseClass>;
113
113
  /**
114
- * Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
114
+ * Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"billing-management.invoices.view\"
115
115
  * @summary List policies billings
116
116
  * @param {string} [authorization] Bearer Token
117
117
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -126,7 +126,7 @@ export declare const PolicyBillingApiFactory: (configuration?: Configuration, ba
126
126
  */
127
127
  listPoliciesBillings(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
128
128
  /**
129
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
129
+ * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"billing-management.invoices.update\"
130
130
  * @summary Update the request message
131
131
  * @param {string} code Unique identifier for the object.
132
132
  * @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
@@ -243,7 +243,7 @@ export interface PolicyBillingApiUpdatePolicyBillingRequest {
243
243
  */
244
244
  export declare class PolicyBillingApi extends BaseAPI {
245
245
  /**
246
- * Create a new policy billing
246
+ * Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
247
247
  * @summary Create the Policy Billing
248
248
  * @param {PolicyBillingApiCreatePolicyBillingRequest} requestParameters Request parameters.
249
249
  * @param {*} [options] Override http request option.
@@ -252,7 +252,7 @@ export declare class PolicyBillingApi extends BaseAPI {
252
252
  */
253
253
  createPolicyBilling(requestParameters: PolicyBillingApiCreatePolicyBillingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicyBillingResponseClass, any>>;
254
254
  /**
255
- * Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
255
+ * Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"billing-management.invoices.view\"
256
256
  * @summary List policies billings
257
257
  * @param {PolicyBillingApiListPoliciesBillingsRequest} requestParameters Request parameters.
258
258
  * @param {*} [options] Override http request option.
@@ -261,7 +261,7 @@ export declare class PolicyBillingApi extends BaseAPI {
261
261
  */
262
262
  listPoliciesBillings(requestParameters?: PolicyBillingApiListPoliciesBillingsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
263
263
  /**
264
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
264
+ * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"billing-management.invoices.update\"
265
265
  * @summary Update the request message
266
266
  * @param {PolicyBillingApiUpdatePolicyBillingRequest} requestParameters Request parameters.
267
267
  * @param {*} [options] Override http request option.
@@ -93,7 +93,7 @@ var PolicyBillingApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * Create a new policy billing
96
+ * Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
97
97
  * @summary Create the Policy Billing
98
98
  * @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
99
99
  * @param {string} [authorization] Bearer Token
@@ -142,7 +142,7 @@ var PolicyBillingApiAxiosParamCreator = function (configuration) {
142
142
  });
143
143
  },
144
144
  /**
145
- * Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
145
+ * Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"billing-management.invoices.view\"
146
146
  * @summary List policies billings
147
147
  * @param {string} [authorization] Bearer Token
148
148
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -214,7 +214,7 @@ var PolicyBillingApiAxiosParamCreator = function (configuration) {
214
214
  });
215
215
  },
216
216
  /**
217
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
217
+ * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"billing-management.invoices.update\"
218
218
  * @summary Update the request message
219
219
  * @param {string} code Unique identifier for the object.
220
220
  * @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
@@ -277,7 +277,7 @@ var PolicyBillingApiFp = function (configuration) {
277
277
  var localVarAxiosParamCreator = (0, exports.PolicyBillingApiAxiosParamCreator)(configuration);
278
278
  return {
279
279
  /**
280
- * Create a new policy billing
280
+ * Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
281
281
  * @summary Create the Policy Billing
282
282
  * @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
283
283
  * @param {string} [authorization] Bearer Token
@@ -298,7 +298,7 @@ var PolicyBillingApiFp = function (configuration) {
298
298
  });
299
299
  },
300
300
  /**
301
- * Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
301
+ * Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"billing-management.invoices.view\"
302
302
  * @summary List policies billings
303
303
  * @param {string} [authorization] Bearer Token
304
304
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -325,7 +325,7 @@ var PolicyBillingApiFp = function (configuration) {
325
325
  });
326
326
  },
327
327
  /**
328
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
328
+ * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"billing-management.invoices.update\"
329
329
  * @summary Update the request message
330
330
  * @param {string} code Unique identifier for the object.
331
331
  * @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
@@ -357,7 +357,7 @@ var PolicyBillingApiFactory = function (configuration, basePath, axios) {
357
357
  var localVarFp = (0, exports.PolicyBillingApiFp)(configuration);
358
358
  return {
359
359
  /**
360
- * Create a new policy billing
360
+ * Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
361
361
  * @summary Create the Policy Billing
362
362
  * @param {CreatePolicyBillingRequestDto} createPolicyBillingRequestDto
363
363
  * @param {string} [authorization] Bearer Token
@@ -368,7 +368,7 @@ var PolicyBillingApiFactory = function (configuration, basePath, axios) {
368
368
  return localVarFp.createPolicyBilling(createPolicyBillingRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
369
369
  },
370
370
  /**
371
- * Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
371
+ * Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"billing-management.invoices.view\"
372
372
  * @summary List policies billings
373
373
  * @param {string} [authorization] Bearer Token
374
374
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -385,7 +385,7 @@ var PolicyBillingApiFactory = function (configuration, basePath, axios) {
385
385
  return localVarFp.listPoliciesBillings(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
386
386
  },
387
387
  /**
388
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
388
+ * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"billing-management.invoices.update\"
389
389
  * @summary Update the request message
390
390
  * @param {string} code Unique identifier for the object.
391
391
  * @param {UpdatePolicyBillingRequestDto} updatePolicyBillingRequestDto
@@ -411,7 +411,7 @@ var PolicyBillingApi = /** @class */ (function (_super) {
411
411
  return _super !== null && _super.apply(this, arguments) || this;
412
412
  }
413
413
  /**
414
- * Create a new policy billing
414
+ * Create a new policy billing **Required Permissions** \"billing-management.invoices.create\"
415
415
  * @summary Create the Policy Billing
416
416
  * @param {PolicyBillingApiCreatePolicyBillingRequest} requestParameters Request parameters.
417
417
  * @param {*} [options] Override http request option.
@@ -423,7 +423,7 @@ var PolicyBillingApi = /** @class */ (function (_super) {
423
423
  return (0, exports.PolicyBillingApiFp)(this.configuration).createPolicyBilling(requestParameters.createPolicyBillingRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
424
424
  };
425
425
  /**
426
- * Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
426
+ * Returns a list of policies billings you have previously created. The policies billings are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"billing-management.invoices.view\"
427
427
  * @summary List policies billings
428
428
  * @param {PolicyBillingApiListPoliciesBillingsRequest} requestParameters Request parameters.
429
429
  * @param {*} [options] Override http request option.
@@ -436,7 +436,7 @@ var PolicyBillingApi = /** @class */ (function (_super) {
436
436
  return (0, exports.PolicyBillingApiFp)(this.configuration).listPoliciesBillings(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
437
437
  };
438
438
  /**
439
- * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
439
+ * Updates the specified request message by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"billing-management.invoices.update\"
440
440
  * @summary Update the request message
441
441
  * @param {PolicyBillingApiUpdatePolicyBillingRequest} requestParameters Request parameters.
442
442
  * @param {*} [options] Override http request option.
@@ -20,7 +20,7 @@ import { CreateInvoiceResponseClass } from '../models';
20
20
  */
21
21
  export declare const RecurringInvoicesApiAxiosParamCreator: (configuration?: Configuration) => {
22
22
  /**
23
- * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
23
+ * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy. **Required Permissions** \"billing-management.invoices.create\"
24
24
  * @summary Create the recurring invoice
25
25
  * @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
26
26
  * @param {string} [authorization] Bearer Token
@@ -36,7 +36,7 @@ export declare const RecurringInvoicesApiAxiosParamCreator: (configuration?: Con
36
36
  */
37
37
  export declare const RecurringInvoicesApiFp: (configuration?: Configuration) => {
38
38
  /**
39
- * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
39
+ * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy. **Required Permissions** \"billing-management.invoices.create\"
40
40
  * @summary Create the recurring invoice
41
41
  * @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
42
42
  * @param {string} [authorization] Bearer Token
@@ -52,7 +52,7 @@ export declare const RecurringInvoicesApiFp: (configuration?: Configuration) =>
52
52
  */
53
53
  export declare const RecurringInvoicesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
54
54
  /**
55
- * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
55
+ * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy. **Required Permissions** \"billing-management.invoices.create\"
56
56
  * @summary Create the recurring invoice
57
57
  * @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
58
58
  * @param {string} [authorization] Bearer Token
@@ -95,7 +95,7 @@ export interface RecurringInvoicesApiCreateRecurringInvoiceRequest {
95
95
  */
96
96
  export declare class RecurringInvoicesApi extends BaseAPI {
97
97
  /**
98
- * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
98
+ * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy. **Required Permissions** \"billing-management.invoices.create\"
99
99
  * @summary Create the recurring invoice
100
100
  * @param {RecurringInvoicesApiCreateRecurringInvoiceRequest} requestParameters Request parameters.
101
101
  * @param {*} [options] Override http request option.
@@ -93,7 +93,7 @@ var RecurringInvoicesApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
96
+ * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy. **Required Permissions** \"billing-management.invoices.create\"
97
97
  * @summary Create the recurring invoice
98
98
  * @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
99
99
  * @param {string} [authorization] Bearer Token
@@ -156,7 +156,7 @@ var RecurringInvoicesApiFp = function (configuration) {
156
156
  var localVarAxiosParamCreator = (0, exports.RecurringInvoicesApiAxiosParamCreator)(configuration);
157
157
  return {
158
158
  /**
159
- * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
159
+ * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy. **Required Permissions** \"billing-management.invoices.create\"
160
160
  * @summary Create the recurring invoice
161
161
  * @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
162
162
  * @param {string} [authorization] Bearer Token
@@ -188,7 +188,7 @@ var RecurringInvoicesApiFactory = function (configuration, basePath, axios) {
188
188
  var localVarFp = (0, exports.RecurringInvoicesApiFp)(configuration);
189
189
  return {
190
190
  /**
191
- * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
191
+ * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy. **Required Permissions** \"billing-management.invoices.create\"
192
192
  * @summary Create the recurring invoice
193
193
  * @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
194
194
  * @param {string} [authorization] Bearer Token
@@ -214,7 +214,7 @@ var RecurringInvoicesApi = /** @class */ (function (_super) {
214
214
  return _super !== null && _super.apply(this, arguments) || this;
215
215
  }
216
216
  /**
217
- * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy.
217
+ * This will create recurring invoice. It will be generated on a cyclical basis during the lifetime of a policy. **Required Permissions** \"billing-management.invoices.create\"
218
218
  * @summary Create the recurring invoice
219
219
  * @param {RecurringInvoicesApiCreateRecurringInvoiceRequest} requestParameters Request parameters.
220
220
  * @param {*} [options] Override http request option.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/billing-sdk",
3
- "version": "1.39.1-beta.2",
3
+ "version": "1.40.1-beta.0",
4
4
  "description": "OpenAPI client for @emilgroup/billing-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [