@emilgroup/billing-sdk-node 1.44.0 → 1.44.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/billing-sdk-node@1.44.0 --save
20
+ npm install @emilgroup/billing-sdk-node@1.44.1-beta.1 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/billing-sdk-node@1.44.0
24
+ yarn add @emilgroup/billing-sdk-node@1.44.1-beta.1
25
25
  ```
26
26
 
27
27
  And then you can import `InvoicesApi`.
@@ -35,7 +35,7 @@ const FormData = require('form-data');
35
35
  export const CorrectionInvoicesApiAxiosParamCreator = function (configuration?: Configuration) {
36
36
  return {
37
37
  /**
38
- * This will create a correction invoice. That will be generated on policy update which affects the price, These invoices usually are positive or negative value. The main purpose of this invoices is to recalculate the customer invoices and be created if any price difference.
38
+ * This will create a correction invoice. That will be generated on policy update which affects the price, These invoices usually are positive or negative value. The main purpose of this invoices is to recalculate the customer invoices and be created if any price difference. **Required Permissions** \"billing-management.invoices.create\"
39
39
  * @summary Create the correction invoice
40
40
  * @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
41
41
  * @param {string} [authorization] Bearer Token
@@ -97,7 +97,7 @@ export const CorrectionInvoicesApiFp = function(configuration?: Configuration) {
97
97
  const localVarAxiosParamCreator = CorrectionInvoicesApiAxiosParamCreator(configuration)
98
98
  return {
99
99
  /**
100
- * This will create a correction invoice. That will be generated on policy update which affects the price, These invoices usually are positive or negative value. The main purpose of this invoices is to recalculate the customer invoices and be created if any price difference.
100
+ * This will create a correction invoice. That will be generated on policy update which affects the price, These invoices usually are positive or negative value. The main purpose of this invoices is to recalculate the customer invoices and be created if any price difference. **Required Permissions** \"billing-management.invoices.create\"
101
101
  * @summary Create the correction invoice
102
102
  * @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
103
103
  * @param {string} [authorization] Bearer Token
@@ -120,7 +120,7 @@ export const CorrectionInvoicesApiFactory = function (configuration?: Configurat
120
120
  const localVarFp = CorrectionInvoicesApiFp(configuration)
121
121
  return {
122
122
  /**
123
- * This will create a correction invoice. That will be generated on policy update which affects the price, These invoices usually are positive or negative value. The main purpose of this invoices is to recalculate the customer invoices and be created if any price difference.
123
+ * This will create a correction invoice. That will be generated on policy update which affects the price, These invoices usually are positive or negative value. The main purpose of this invoices is to recalculate the customer invoices and be created if any price difference. **Required Permissions** \"billing-management.invoices.create\"
124
124
  * @summary Create the correction invoice
125
125
  * @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
126
126
  * @param {string} [authorization] Bearer Token
@@ -170,7 +170,7 @@ export interface CorrectionInvoicesApiCreateCorrectionInvoiceRequest {
170
170
  */
171
171
  export class CorrectionInvoicesApi extends BaseAPI {
172
172
  /**
173
- * This will create a correction invoice. That will be generated on policy update which affects the price, These invoices usually are positive or negative value. The main purpose of this invoices is to recalculate the customer invoices and be created if any price difference.
173
+ * This will create a correction invoice. That will be generated on policy update which affects the price, These invoices usually are positive or negative value. The main purpose of this invoices is to recalculate the customer invoices and be created if any price difference. **Required Permissions** \"billing-management.invoices.create\"
174
174
  * @summary Create the correction invoice
175
175
  * @param {CorrectionInvoicesApiCreateCorrectionInvoiceRequest} requestParameters Request parameters.
176
176
  * @param {*} [options] Override http request option.
@@ -33,7 +33,7 @@ const FormData = require('form-data');
33
33
  export const DraftInvoiceApiAxiosParamCreator = function (configuration?: Configuration) {
34
34
  return {
35
35
  /**
36
- *
36
+ * undefined **Required Permissions** \"billing-management.invoices.create\"
37
37
  * @param {CreateDraftInvoiceRequestDto} createDraftInvoiceRequestDto
38
38
  * @param {string} [authorization] Bearer Token
39
39
  * @param {*} [options] Override http request option.
@@ -79,7 +79,7 @@ export const DraftInvoiceApiAxiosParamCreator = function (configuration?: Config
79
79
  };
80
80
  },
81
81
  /**
82
- *
82
+ * undefined **Required Permissions** \"billing-management.invoices.delete\"
83
83
  * @param {string} [authorization] Bearer Token
84
84
  * @param {*} [options] Override http request option.
85
85
  * @throws {RequiredError}
@@ -119,7 +119,7 @@ export const DraftInvoiceApiAxiosParamCreator = function (configuration?: Config
119
119
  };
120
120
  },
121
121
  /**
122
- *
122
+ * undefined **Required Permissions** \"billing-management.invoices.delete\"
123
123
  * @param {object} body
124
124
  * @param {string} [authorization] Bearer Token
125
125
  * @param {*} [options] Override http request option.
@@ -175,7 +175,7 @@ export const DraftInvoiceApiFp = function(configuration?: Configuration) {
175
175
  const localVarAxiosParamCreator = DraftInvoiceApiAxiosParamCreator(configuration)
176
176
  return {
177
177
  /**
178
- *
178
+ * undefined **Required Permissions** \"billing-management.invoices.create\"
179
179
  * @param {CreateDraftInvoiceRequestDto} createDraftInvoiceRequestDto
180
180
  * @param {string} [authorization] Bearer Token
181
181
  * @param {*} [options] Override http request option.
@@ -186,7 +186,7 @@ export const DraftInvoiceApiFp = function(configuration?: Configuration) {
186
186
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
187
187
  },
188
188
  /**
189
- *
189
+ * undefined **Required Permissions** \"billing-management.invoices.delete\"
190
190
  * @param {string} [authorization] Bearer Token
191
191
  * @param {*} [options] Override http request option.
192
192
  * @throws {RequiredError}
@@ -196,7 +196,7 @@ export const DraftInvoiceApiFp = function(configuration?: Configuration) {
196
196
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
197
197
  },
198
198
  /**
199
- *
199
+ * undefined **Required Permissions** \"billing-management.invoices.delete\"
200
200
  * @param {object} body
201
201
  * @param {string} [authorization] Bearer Token
202
202
  * @param {*} [options] Override http request option.
@@ -217,7 +217,7 @@ export const DraftInvoiceApiFactory = function (configuration?: Configuration, b
217
217
  const localVarFp = DraftInvoiceApiFp(configuration)
218
218
  return {
219
219
  /**
220
- *
220
+ * undefined **Required Permissions** \"billing-management.invoices.create\"
221
221
  * @param {CreateDraftInvoiceRequestDto} createDraftInvoiceRequestDto
222
222
  * @param {string} [authorization] Bearer Token
223
223
  * @param {*} [options] Override http request option.
@@ -227,7 +227,7 @@ export const DraftInvoiceApiFactory = function (configuration?: Configuration, b
227
227
  return localVarFp.createDraftInvoice(createDraftInvoiceRequestDto, authorization, options).then((request) => request(axios, basePath));
228
228
  },
229
229
  /**
230
- *
230
+ * undefined **Required Permissions** \"billing-management.invoices.delete\"
231
231
  * @param {string} [authorization] Bearer Token
232
232
  * @param {*} [options] Override http request option.
233
233
  * @throws {RequiredError}
@@ -236,7 +236,7 @@ export const DraftInvoiceApiFactory = function (configuration?: Configuration, b
236
236
  return localVarFp.deleteAllDraftInvoices(authorization, options).then((request) => request(axios, basePath));
237
237
  },
238
238
  /**
239
- *
239
+ * undefined **Required Permissions** \"billing-management.invoices.delete\"
240
240
  * @param {object} body
241
241
  * @param {string} [authorization] Bearer Token
242
242
  * @param {*} [options] Override http request option.
@@ -312,7 +312,7 @@ export interface DraftInvoiceApiDeleteDraftInvoiceRequest {
312
312
  */
313
313
  export class DraftInvoiceApi extends BaseAPI {
314
314
  /**
315
- *
315
+ * undefined **Required Permissions** \"billing-management.invoices.create\"
316
316
  * @param {DraftInvoiceApiCreateDraftInvoiceRequest} requestParameters Request parameters.
317
317
  * @param {*} [options] Override http request option.
318
318
  * @throws {RequiredError}
@@ -323,7 +323,7 @@ export class DraftInvoiceApi extends BaseAPI {
323
323
  }
324
324
 
325
325
  /**
326
- *
326
+ * undefined **Required Permissions** \"billing-management.invoices.delete\"
327
327
  * @param {DraftInvoiceApiDeleteAllDraftInvoicesRequest} requestParameters Request parameters.
328
328
  * @param {*} [options] Override http request option.
329
329
  * @throws {RequiredError}
@@ -334,7 +334,7 @@ export class DraftInvoiceApi extends BaseAPI {
334
334
  }
335
335
 
336
336
  /**
337
- *
337
+ * undefined **Required Permissions** \"billing-management.invoices.delete\"
338
338
  * @param {DraftInvoiceApiDeleteDraftInvoiceRequest} requestParameters Request parameters.
339
339
  * @param {*} [options] Override http request option.
340
340
  * @throws {RequiredError}
@@ -43,7 +43,7 @@ const FormData = require('form-data');
43
43
  export const EstimatedInvoicesApiAxiosParamCreator = function (configuration?: Configuration) {
44
44
  return {
45
45
  /**
46
- * This will create a custom estimated invoice.
46
+ * This will create a custom estimated invoice. **Required Permissions** \"billing-management.invoices.create\"
47
47
  * @summary Create the custom estimated invoice
48
48
  * @param {CreateCustomEstimatedInvoiceRequestDto} createCustomEstimatedInvoiceRequestDto
49
49
  * @param {string} [authorization] Bearer Token
@@ -90,7 +90,7 @@ export const EstimatedInvoicesApiAxiosParamCreator = function (configuration?: C
90
90
  };
91
91
  },
92
92
  /**
93
- * This creates an estimated invoice. It will not be saved in the database.
93
+ * This creates an estimated invoice. It will not be saved in the database. **Required Permissions** \"billing-management.invoices.create\"
94
94
  * @summary Create the estimated invoice
95
95
  * @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
96
96
  * @param {string} [authorization] Bearer Token
@@ -137,7 +137,7 @@ export const EstimatedInvoicesApiAxiosParamCreator = function (configuration?: C
137
137
  };
138
138
  },
139
139
  /**
140
- * This creates an estimated invoice. It will not be saved in the database.
140
+ * This creates an estimated invoice. It will not be saved in the database. **Required Permissions** \"billing-management.invoices.create\"
141
141
  * @summary Create the estimated invoice
142
142
  * @param {CreateEstimatedInvoiceForIntervalRequestDto} createEstimatedInvoiceForIntervalRequestDto
143
143
  * @param {string} [authorization] Bearer Token
@@ -194,7 +194,7 @@ export const EstimatedInvoicesApiFp = function(configuration?: Configuration) {
194
194
  const localVarAxiosParamCreator = EstimatedInvoicesApiAxiosParamCreator(configuration)
195
195
  return {
196
196
  /**
197
- * This will create a custom estimated invoice.
197
+ * This will create a custom estimated invoice. **Required Permissions** \"billing-management.invoices.create\"
198
198
  * @summary Create the custom estimated invoice
199
199
  * @param {CreateCustomEstimatedInvoiceRequestDto} createCustomEstimatedInvoiceRequestDto
200
200
  * @param {string} [authorization] Bearer Token
@@ -206,7 +206,7 @@ export const EstimatedInvoicesApiFp = function(configuration?: Configuration) {
206
206
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
207
207
  },
208
208
  /**
209
- * This creates an estimated invoice. It will not be saved in the database.
209
+ * This creates an estimated invoice. It will not be saved in the database. **Required Permissions** \"billing-management.invoices.create\"
210
210
  * @summary Create the estimated invoice
211
211
  * @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
212
212
  * @param {string} [authorization] Bearer Token
@@ -218,7 +218,7 @@ export const EstimatedInvoicesApiFp = function(configuration?: Configuration) {
218
218
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
219
219
  },
220
220
  /**
221
- * This creates an estimated invoice. It will not be saved in the database.
221
+ * This creates an estimated invoice. It will not be saved in the database. **Required Permissions** \"billing-management.invoices.create\"
222
222
  * @summary Create the estimated invoice
223
223
  * @param {CreateEstimatedInvoiceForIntervalRequestDto} createEstimatedInvoiceForIntervalRequestDto
224
224
  * @param {string} [authorization] Bearer Token
@@ -240,7 +240,7 @@ export const EstimatedInvoicesApiFactory = function (configuration?: Configurati
240
240
  const localVarFp = EstimatedInvoicesApiFp(configuration)
241
241
  return {
242
242
  /**
243
- * This will create a custom estimated invoice.
243
+ * This will create a custom estimated invoice. **Required Permissions** \"billing-management.invoices.create\"
244
244
  * @summary Create the custom estimated invoice
245
245
  * @param {CreateCustomEstimatedInvoiceRequestDto} createCustomEstimatedInvoiceRequestDto
246
246
  * @param {string} [authorization] Bearer Token
@@ -251,7 +251,7 @@ export const EstimatedInvoicesApiFactory = function (configuration?: Configurati
251
251
  return localVarFp.createCustomEstimatedInvoice(createCustomEstimatedInvoiceRequestDto, authorization, options).then((request) => request(axios, basePath));
252
252
  },
253
253
  /**
254
- * This creates an estimated invoice. It will not be saved in the database.
254
+ * This creates an estimated invoice. It will not be saved in the database. **Required Permissions** \"billing-management.invoices.create\"
255
255
  * @summary Create the estimated invoice
256
256
  * @param {CreateEstimatedInvoiceRequestDto} createEstimatedInvoiceRequestDto
257
257
  * @param {string} [authorization] Bearer Token
@@ -262,7 +262,7 @@ export const EstimatedInvoicesApiFactory = function (configuration?: Configurati
262
262
  return localVarFp.createEstimatedInvoice(createEstimatedInvoiceRequestDto, authorization, options).then((request) => request(axios, basePath));
263
263
  },
264
264
  /**
265
- * This creates an estimated invoice. It will not be saved in the database.
265
+ * This creates an estimated invoice. It will not be saved in the database. **Required Permissions** \"billing-management.invoices.create\"
266
266
  * @summary Create the estimated invoice
267
267
  * @param {CreateEstimatedInvoiceForIntervalRequestDto} createEstimatedInvoiceForIntervalRequestDto
268
268
  * @param {string} [authorization] Bearer Token
@@ -346,7 +346,7 @@ export interface EstimatedInvoicesApiCreateEstimatedInvoiceFromIntervalRequest {
346
346
  */
347
347
  export class EstimatedInvoicesApi extends BaseAPI {
348
348
  /**
349
- * This will create a custom estimated invoice.
349
+ * This will create a custom estimated invoice. **Required Permissions** \"billing-management.invoices.create\"
350
350
  * @summary Create the custom estimated invoice
351
351
  * @param {EstimatedInvoicesApiCreateCustomEstimatedInvoiceRequest} requestParameters Request parameters.
352
352
  * @param {*} [options] Override http request option.
@@ -358,7 +358,7 @@ export class EstimatedInvoicesApi extends BaseAPI {
358
358
  }
359
359
 
360
360
  /**
361
- * This creates an estimated invoice. It will not be saved in the database.
361
+ * This creates an estimated invoice. It will not be saved in the database. **Required Permissions** \"billing-management.invoices.create\"
362
362
  * @summary Create the estimated invoice
363
363
  * @param {EstimatedInvoicesApiCreateEstimatedInvoiceRequest} requestParameters Request parameters.
364
364
  * @param {*} [options] Override http request option.
@@ -370,7 +370,7 @@ export class EstimatedInvoicesApi extends BaseAPI {
370
370
  }
371
371
 
372
372
  /**
373
- * This creates an estimated invoice. It will not be saved in the database.
373
+ * This creates an estimated invoice. It will not be saved in the database. **Required Permissions** \"billing-management.invoices.create\"
374
374
  * @summary Create the estimated invoice
375
375
  * @param {EstimatedInvoicesApiCreateEstimatedInvoiceFromIntervalRequest} requestParameters Request parameters.
376
376
  * @param {*} [options] Override http request option.
@@ -35,7 +35,7 @@ const FormData = require('form-data');
35
35
  export const InitialInvoicesApiAxiosParamCreator = function (configuration?: Configuration) {
36
36
  return {
37
37
  /**
38
- * This will create an initial invoice. It will be created once a policy is approved and it will cover a partial until the issuing of the regular invoice.
38
+ * This will create an initial invoice. It will be created once a policy is approved and it will cover a partial until the issuing of the regular invoice. **Required Permissions** \"billing-management.invoices.create\"
39
39
  * @summary Create the initial invoice
40
40
  * @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
41
41
  * @param {string} [authorization] Bearer Token
@@ -97,7 +97,7 @@ export const InitialInvoicesApiFp = function(configuration?: Configuration) {
97
97
  const localVarAxiosParamCreator = InitialInvoicesApiAxiosParamCreator(configuration)
98
98
  return {
99
99
  /**
100
- * This will create an initial invoice. It will be created once a policy is approved and it will cover a partial until the issuing of the regular invoice.
100
+ * This will create an initial invoice. It will be created once a policy is approved and it will cover a partial until the issuing of the regular invoice. **Required Permissions** \"billing-management.invoices.create\"
101
101
  * @summary Create the initial invoice
102
102
  * @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
103
103
  * @param {string} [authorization] Bearer Token
@@ -120,7 +120,7 @@ export const InitialInvoicesApiFactory = function (configuration?: Configuration
120
120
  const localVarFp = InitialInvoicesApiFp(configuration)
121
121
  return {
122
122
  /**
123
- * This will create an initial invoice. It will be created once a policy is approved and it will cover a partial until the issuing of the regular invoice.
123
+ * This will create an initial invoice. It will be created once a policy is approved and it will cover a partial until the issuing of the regular invoice. **Required Permissions** \"billing-management.invoices.create\"
124
124
  * @summary Create the initial invoice
125
125
  * @param {CreateInvoiceForPolicyRequestDto} createInvoiceForPolicyRequestDto
126
126
  * @param {string} [authorization] Bearer Token
@@ -170,7 +170,7 @@ export interface InitialInvoicesApiCreateInitialInvoiceRequest {
170
170
  */
171
171
  export class InitialInvoicesApi extends BaseAPI {
172
172
  /**
173
- * This will create an initial invoice. It will be created once a policy is approved and it will cover a partial until the issuing of the regular invoice.
173
+ * This will create an initial invoice. It will be created once a policy is approved and it will cover a partial until the issuing of the regular invoice. **Required Permissions** \"billing-management.invoices.create\"
174
174
  * @summary Create the initial invoice
175
175
  * @param {InitialInvoicesApiCreateInitialInvoiceRequest} requestParameters Request parameters.
176
176
  * @param {*} [options] Override http request option.