@emilgroup/billing-sdk-node 1.51.1-beta.8 → 1.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -41,7 +41,6 @@ models/inline-response503.ts
41
41
  models/invoice-class.ts
42
42
  models/invoice-item-class.ts
43
43
  models/invoice-payment-class.ts
44
- models/invoice-payment-method-class.ts
45
44
  models/invoice-payments-class.ts
46
45
  models/invoice-status-class.ts
47
46
  models/list-invoices-response-class.ts
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.51.1-beta.8 --save
20
+ npm install @emilgroup/billing-sdk-node@1.52.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/billing-sdk-node@1.51.1-beta.8
24
+ yarn add @emilgroup/billing-sdk-node@1.52.0
25
25
  ```
26
26
 
27
27
  And then you can import `InvoicesApi`.
@@ -150,11 +150,11 @@ export const InvoicesApiAxiosParamCreator = function (configuration?: Configurat
150
150
  * @param {string} [authorization] Bearer Token
151
151
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
152
152
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
153
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt</i>
153
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt, dueDate, paymentMethodType, paymentMethodPsp</i>
154
154
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
155
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: invoiceNumber, status, netAmount, grossAmount, createdAt, dueDate, id</i>
155
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: invoiceNumber, status, netAmount, grossAmount, createdAt, dueDate, id, paymentMethodType, paymentMethodPsp</i>
156
156
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: statuses, payments, invoiceItems<i>
157
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt</i>
157
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt, dueDate, paymentMethodType, paymentMethodPsp</i>
158
158
  * @param {*} [options] Override http request option.
159
159
  * @throws {RequiredError}
160
160
  */
@@ -339,11 +339,11 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
339
339
  * @param {string} [authorization] Bearer Token
340
340
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
341
341
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
342
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt</i>
342
+ * @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, dueDate, paymentMethodType, paymentMethodPsp</i>
343
343
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
344
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: invoiceNumber, status, netAmount, grossAmount, createdAt, dueDate, id</i>
344
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: invoiceNumber, status, netAmount, grossAmount, createdAt, dueDate, id, paymentMethodType, paymentMethodPsp</i>
345
345
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: statuses, payments, invoiceItems<i>
346
- * @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>
346
+ * @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, dueDate, paymentMethodType, paymentMethodPsp</i>
347
347
  * @param {*} [options] Override http request option.
348
348
  * @throws {RequiredError}
349
349
  */
@@ -410,11 +410,11 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
410
410
  * @param {string} [authorization] Bearer Token
411
411
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
412
412
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
413
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt</i>
413
+ * @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, dueDate, paymentMethodType, paymentMethodPsp</i>
414
414
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
415
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: invoiceNumber, status, netAmount, grossAmount, createdAt, dueDate, id</i>
415
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: invoiceNumber, status, netAmount, grossAmount, createdAt, dueDate, id, paymentMethodType, paymentMethodPsp</i>
416
416
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: statuses, payments, invoiceItems<i>
417
- * @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>
417
+ * @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, dueDate, paymentMethodType, paymentMethodPsp</i>
418
418
  * @param {*} [options] Override http request option.
419
419
  * @throws {RequiredError}
420
420
  */
@@ -526,7 +526,7 @@ export interface InvoicesApiListInvoicesRequest {
526
526
  readonly pageToken?: string
527
527
 
528
528
  /**
529
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt</i>
529
+ * 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, dueDate, paymentMethodType, paymentMethodPsp</i>
530
530
  * @type {string}
531
531
  * @memberof InvoicesApiListInvoices
532
532
  */
@@ -540,7 +540,7 @@ export interface InvoicesApiListInvoicesRequest {
540
540
  readonly search?: string
541
541
 
542
542
  /**
543
- * 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>
543
+ * 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, paymentMethodType, paymentMethodPsp</i>
544
544
  * @type {string}
545
545
  * @memberof InvoicesApiListInvoices
546
546
  */
@@ -554,7 +554,7 @@ export interface InvoicesApiListInvoicesRequest {
554
554
  readonly expand?: string
555
555
 
556
556
  /**
557
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt</i>
557
+ * 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, dueDate, paymentMethodType, paymentMethodPsp</i>
558
558
  * @type {string}
559
559
  * @memberof InvoicesApiListInvoices
560
560
  */
@@ -48,11 +48,11 @@ export declare const InvoicesApiAxiosParamCreator: (configuration?: Configuratio
48
48
  * @param {string} [authorization] Bearer Token
49
49
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
50
50
  * @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.
51
- * @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>
51
+ * @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, dueDate, paymentMethodType, paymentMethodPsp</i>
52
52
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
53
- * @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>
53
+ * @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, paymentMethodType, paymentMethodPsp</i>
54
54
  * @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, invoiceItems<i>
55
- * @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>
55
+ * @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, dueDate, paymentMethodType, paymentMethodPsp</i>
56
56
  * @param {*} [options] Override http request option.
57
57
  * @throws {RequiredError}
58
58
  */
@@ -105,11 +105,11 @@ export declare const InvoicesApiFp: (configuration?: Configuration) => {
105
105
  * @param {string} [authorization] Bearer Token
106
106
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
107
107
  * @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.
108
- * @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>
108
+ * @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, dueDate, paymentMethodType, paymentMethodPsp</i>
109
109
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
110
- * @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>
110
+ * @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, paymentMethodType, paymentMethodPsp</i>
111
111
  * @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, invoiceItems<i>
112
- * @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>
112
+ * @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, dueDate, paymentMethodType, paymentMethodPsp</i>
113
113
  * @param {*} [options] Override http request option.
114
114
  * @throws {RequiredError}
115
115
  */
@@ -162,11 +162,11 @@ export declare const InvoicesApiFactory: (configuration?: Configuration, basePat
162
162
  * @param {string} [authorization] Bearer Token
163
163
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
164
164
  * @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.
165
- * @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>
165
+ * @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, dueDate, paymentMethodType, paymentMethodPsp</i>
166
166
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
167
- * @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>
167
+ * @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, paymentMethodType, paymentMethodPsp</i>
168
168
  * @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, invoiceItems<i>
169
- * @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>
169
+ * @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, dueDate, paymentMethodType, paymentMethodPsp</i>
170
170
  * @param {*} [options] Override http request option.
171
171
  * @throws {RequiredError}
172
172
  */
@@ -263,7 +263,7 @@ export interface InvoicesApiListInvoicesRequest {
263
263
  */
264
264
  readonly pageToken?: string;
265
265
  /**
266
- * 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>
266
+ * 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, dueDate, paymentMethodType, paymentMethodPsp</i>
267
267
  * @type {string}
268
268
  * @memberof InvoicesApiListInvoices
269
269
  */
@@ -275,7 +275,7 @@ export interface InvoicesApiListInvoicesRequest {
275
275
  */
276
276
  readonly search?: string;
277
277
  /**
278
- * 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>
278
+ * 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, paymentMethodType, paymentMethodPsp</i>
279
279
  * @type {string}
280
280
  * @memberof InvoicesApiListInvoices
281
281
  */
@@ -287,7 +287,7 @@ export interface InvoicesApiListInvoicesRequest {
287
287
  */
288
288
  readonly expand?: string;
289
289
  /**
290
- * 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>
290
+ * 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, dueDate, paymentMethodType, paymentMethodPsp</i>
291
291
  * @type {string}
292
292
  * @memberof InvoicesApiListInvoices
293
293
  */
@@ -209,11 +209,11 @@ var InvoicesApiAxiosParamCreator = function (configuration) {
209
209
  * @param {string} [authorization] Bearer Token
210
210
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
211
211
  * @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.
212
- * @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>
212
+ * @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, dueDate, paymentMethodType, paymentMethodPsp</i>
213
213
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
214
- * @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>
214
+ * @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, paymentMethodType, paymentMethodPsp</i>
215
215
  * @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, invoiceItems<i>
216
- * @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>
216
+ * @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, dueDate, paymentMethodType, paymentMethodPsp</i>
217
217
  * @param {*} [options] Override http request option.
218
218
  * @throws {RequiredError}
219
219
  */
@@ -408,11 +408,11 @@ var InvoicesApiFp = function (configuration) {
408
408
  * @param {string} [authorization] Bearer Token
409
409
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
410
410
  * @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.
411
- * @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>
411
+ * @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, dueDate, paymentMethodType, paymentMethodPsp</i>
412
412
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
413
- * @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>
413
+ * @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, paymentMethodType, paymentMethodPsp</i>
414
414
  * @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, invoiceItems<i>
415
- * @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>
415
+ * @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, dueDate, paymentMethodType, paymentMethodPsp</i>
416
416
  * @param {*} [options] Override http request option.
417
417
  * @throws {RequiredError}
418
418
  */
@@ -497,11 +497,11 @@ var InvoicesApiFactory = function (configuration, basePath, axios) {
497
497
  * @param {string} [authorization] Bearer Token
498
498
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
499
499
  * @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.
500
- * @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>
500
+ * @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, dueDate, paymentMethodType, paymentMethodPsp</i>
501
501
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
502
- * @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>
502
+ * @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, paymentMethodType, paymentMethodPsp</i>
503
503
  * @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, invoiceItems<i>
504
- * @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>
504
+ * @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, dueDate, paymentMethodType, paymentMethodPsp</i>
505
505
  * @param {*} [options] Override http request option.
506
506
  * @throws {RequiredError}
507
507
  */
@@ -21,7 +21,6 @@ export * from './inline-response503';
21
21
  export * from './invoice-class';
22
22
  export * from './invoice-item-class';
23
23
  export * from './invoice-payment-class';
24
- export * from './invoice-payment-method-class';
25
24
  export * from './invoice-payments-class';
26
25
  export * from './invoice-status-class';
27
26
  export * from './list-invoices-response-class';
@@ -37,7 +37,6 @@ __exportStar(require("./inline-response503"), exports);
37
37
  __exportStar(require("./invoice-class"), exports);
38
38
  __exportStar(require("./invoice-item-class"), exports);
39
39
  __exportStar(require("./invoice-payment-class"), exports);
40
- __exportStar(require("./invoice-payment-method-class"), exports);
41
40
  __exportStar(require("./invoice-payments-class"), exports);
42
41
  __exportStar(require("./invoice-status-class"), exports);
43
42
  __exportStar(require("./list-invoices-response-class"), exports);
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { InvoiceItemClass } from './invoice-item-class';
13
- import { InvoicePaymentMethodClass } from './invoice-payment-method-class';
14
13
  import { InvoicePaymentsClass } from './invoice-payments-class';
15
14
  import { InvoiceStatusClass } from './invoice-status-class';
16
15
  /**
@@ -164,11 +163,41 @@ export interface InvoiceClass {
164
163
  */
165
164
  'updatedBy': string;
166
165
  /**
167
- * Invoice payment method.
168
- * @type {InvoicePaymentMethodClass}
166
+ * Invoice payment method code.
167
+ * @type {string}
168
+ * @memberof InvoiceClass
169
+ */
170
+ 'paymentMethodCode': string;
171
+ /**
172
+ * Invoice payment method Payment Service Provider.
173
+ * @type {string}
174
+ * @memberof InvoiceClass
175
+ */
176
+ 'paymentMethodPsp': string;
177
+ /**
178
+ * Invoice payment method type (e.g. card, bank transfer, etc.).
179
+ * @type {string}
180
+ * @memberof InvoiceClass
181
+ */
182
+ 'paymentMethodType': string;
183
+ /**
184
+ * Dunning fees.
185
+ * @type {number}
186
+ * @memberof InvoiceClass
187
+ */
188
+ 'dunningFees': number;
189
+ /**
190
+ * Total amount.
191
+ * @type {number}
192
+ * @memberof InvoiceClass
193
+ */
194
+ 'totalAmount': number;
195
+ /**
196
+ * Open amount.
197
+ * @type {number}
169
198
  * @memberof InvoiceClass
170
199
  */
171
- 'paymentMethod': InvoicePaymentMethodClass;
200
+ 'openAmount': number;
172
201
  }
173
202
  export declare const InvoiceClassTypeEnum: {
174
203
  readonly Initial: "initial";
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { InvoiceItemClass } from './invoice-item-class';
13
- import { InvoicePaymentMethodClass } from './invoice-payment-method-class';
14
13
  import { InvoicePaymentsClass } from './invoice-payments-class';
15
14
  /**
16
15
  *
@@ -157,11 +156,41 @@ export interface OmitTypeClass {
157
156
  */
158
157
  'updatedBy': string;
159
158
  /**
160
- * Invoice payment method.
161
- * @type {InvoicePaymentMethodClass}
159
+ * Invoice payment method code.
160
+ * @type {string}
161
+ * @memberof OmitTypeClass
162
+ */
163
+ 'paymentMethodCode': string;
164
+ /**
165
+ * Invoice payment method Payment Service Provider.
166
+ * @type {string}
167
+ * @memberof OmitTypeClass
168
+ */
169
+ 'paymentMethodPsp': string;
170
+ /**
171
+ * Invoice payment method type (e.g. card, bank transfer, etc.).
172
+ * @type {string}
173
+ * @memberof OmitTypeClass
174
+ */
175
+ 'paymentMethodType': string;
176
+ /**
177
+ * Dunning fees.
178
+ * @type {number}
179
+ * @memberof OmitTypeClass
180
+ */
181
+ 'dunningFees': number;
182
+ /**
183
+ * Total amount.
184
+ * @type {number}
185
+ * @memberof OmitTypeClass
186
+ */
187
+ 'totalAmount': number;
188
+ /**
189
+ * Open amount.
190
+ * @type {number}
162
191
  * @memberof OmitTypeClass
163
192
  */
164
- 'paymentMethod': InvoicePaymentMethodClass;
193
+ 'openAmount': number;
165
194
  }
166
195
  export declare const OmitTypeClassTypeEnum: {
167
196
  readonly Initial: "initial";
package/models/index.ts CHANGED
@@ -21,7 +21,6 @@ export * from './inline-response503';
21
21
  export * from './invoice-class';
22
22
  export * from './invoice-item-class';
23
23
  export * from './invoice-payment-class';
24
- export * from './invoice-payment-method-class';
25
24
  export * from './invoice-payments-class';
26
25
  export * from './invoice-status-class';
27
26
  export * from './list-invoices-response-class';
@@ -14,7 +14,6 @@
14
14
 
15
15
 
16
16
  import { InvoiceItemClass } from './invoice-item-class';
17
- import { InvoicePaymentMethodClass } from './invoice-payment-method-class';
18
17
  import { InvoicePaymentsClass } from './invoice-payments-class';
19
18
  import { InvoiceStatusClass } from './invoice-status-class';
20
19
 
@@ -169,11 +168,41 @@ export interface InvoiceClass {
169
168
  */
170
169
  'updatedBy': string;
171
170
  /**
172
- * Invoice payment method.
173
- * @type {InvoicePaymentMethodClass}
171
+ * Invoice payment method code.
172
+ * @type {string}
173
+ * @memberof InvoiceClass
174
+ */
175
+ 'paymentMethodCode': string;
176
+ /**
177
+ * Invoice payment method Payment Service Provider.
178
+ * @type {string}
179
+ * @memberof InvoiceClass
180
+ */
181
+ 'paymentMethodPsp': string;
182
+ /**
183
+ * Invoice payment method type (e.g. card, bank transfer, etc.).
184
+ * @type {string}
185
+ * @memberof InvoiceClass
186
+ */
187
+ 'paymentMethodType': string;
188
+ /**
189
+ * Dunning fees.
190
+ * @type {number}
191
+ * @memberof InvoiceClass
192
+ */
193
+ 'dunningFees': number;
194
+ /**
195
+ * Total amount.
196
+ * @type {number}
197
+ * @memberof InvoiceClass
198
+ */
199
+ 'totalAmount': number;
200
+ /**
201
+ * Open amount.
202
+ * @type {number}
174
203
  * @memberof InvoiceClass
175
204
  */
176
- 'paymentMethod': InvoicePaymentMethodClass;
205
+ 'openAmount': number;
177
206
  }
178
207
 
179
208
  export const InvoiceClassTypeEnum = {
@@ -14,7 +14,6 @@
14
14
 
15
15
 
16
16
  import { InvoiceItemClass } from './invoice-item-class';
17
- import { InvoicePaymentMethodClass } from './invoice-payment-method-class';
18
17
  import { InvoicePaymentsClass } from './invoice-payments-class';
19
18
 
20
19
  /**
@@ -162,11 +161,41 @@ export interface OmitTypeClass {
162
161
  */
163
162
  'updatedBy': string;
164
163
  /**
165
- * Invoice payment method.
166
- * @type {InvoicePaymentMethodClass}
164
+ * Invoice payment method code.
165
+ * @type {string}
166
+ * @memberof OmitTypeClass
167
+ */
168
+ 'paymentMethodCode': string;
169
+ /**
170
+ * Invoice payment method Payment Service Provider.
171
+ * @type {string}
172
+ * @memberof OmitTypeClass
173
+ */
174
+ 'paymentMethodPsp': string;
175
+ /**
176
+ * Invoice payment method type (e.g. card, bank transfer, etc.).
177
+ * @type {string}
178
+ * @memberof OmitTypeClass
179
+ */
180
+ 'paymentMethodType': string;
181
+ /**
182
+ * Dunning fees.
183
+ * @type {number}
184
+ * @memberof OmitTypeClass
185
+ */
186
+ 'dunningFees': number;
187
+ /**
188
+ * Total amount.
189
+ * @type {number}
190
+ * @memberof OmitTypeClass
191
+ */
192
+ 'totalAmount': number;
193
+ /**
194
+ * Open amount.
195
+ * @type {number}
167
196
  * @memberof OmitTypeClass
168
197
  */
169
- 'paymentMethod': InvoicePaymentMethodClass;
198
+ 'openAmount': number;
170
199
  }
171
200
 
172
201
  export const OmitTypeClassTypeEnum = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/billing-sdk-node",
3
- "version": "1.51.1-beta.8",
3
+ "version": "1.52.0",
4
4
  "description": "OpenAPI client for @emilgroup/billing-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -1,72 +0,0 @@
1
- /**
2
- * EMIL BillingService
3
- * The EMIL BillingService API description
4
- *
5
- * The version of the OpenAPI document: 1.0
6
- * Contact: kontakt@emil.de
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface InvoicePaymentMethodClass
16
- */
17
- export interface InvoicePaymentMethodClass {
18
- /**
19
- * Internal unique identifier for the object. You should not have to use this, use code instead.
20
- * @type {number}
21
- * @memberof InvoicePaymentMethodClass
22
- */
23
- 'id': number;
24
- /**
25
- * Unique identifier for the object.
26
- * @type {string}
27
- * @memberof InvoicePaymentMethodClass
28
- */
29
- 'code': string;
30
- /**
31
- * The payment service provider associated with this payment method.
32
- * @type {string}
33
- * @memberof InvoicePaymentMethodClass
34
- */
35
- 'psp': string;
36
- /**
37
- * The payment method type.
38
- * @type {string}
39
- * @memberof InvoicePaymentMethodClass
40
- */
41
- 'type': string;
42
- /**
43
- * A unique identifier generated by the payment service provider for this payment method.
44
- * @type {string}
45
- * @memberof InvoicePaymentMethodClass
46
- */
47
- 'providerToken': string;
48
- /**
49
- * Customer identifier for the payment service provider.
50
- * @type {string}
51
- * @memberof InvoicePaymentMethodClass
52
- */
53
- 'pspCustomerId': string;
54
- /**
55
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
56
- * @type {string}
57
- * @memberof InvoicePaymentMethodClass
58
- */
59
- 'productSlug'?: string;
60
- /**
61
- * Identifier of the user who created the record.
62
- * @type {string}
63
- * @memberof InvoicePaymentMethodClass
64
- */
65
- 'createdBy': string;
66
- /**
67
- * Identifier of the user who last updated the record.
68
- * @type {string}
69
- * @memberof InvoicePaymentMethodClass
70
- */
71
- 'updatedBy': string;
72
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * EMIL BillingService
6
- * The EMIL BillingService API description
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,78 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * EMIL BillingService
5
- * The EMIL BillingService API description
6
- *
7
- * The version of the OpenAPI document: 1.0
8
- * Contact: kontakt@emil.de
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
-
17
- /**
18
- *
19
- * @export
20
- * @interface InvoicePaymentMethodClass
21
- */
22
- export interface InvoicePaymentMethodClass {
23
- /**
24
- * Internal unique identifier for the object. You should not have to use this, use code instead.
25
- * @type {number}
26
- * @memberof InvoicePaymentMethodClass
27
- */
28
- 'id': number;
29
- /**
30
- * Unique identifier for the object.
31
- * @type {string}
32
- * @memberof InvoicePaymentMethodClass
33
- */
34
- 'code': string;
35
- /**
36
- * The payment service provider associated with this payment method.
37
- * @type {string}
38
- * @memberof InvoicePaymentMethodClass
39
- */
40
- 'psp': string;
41
- /**
42
- * The payment method type.
43
- * @type {string}
44
- * @memberof InvoicePaymentMethodClass
45
- */
46
- 'type': string;
47
- /**
48
- * A unique identifier generated by the payment service provider for this payment method.
49
- * @type {string}
50
- * @memberof InvoicePaymentMethodClass
51
- */
52
- 'providerToken': string;
53
- /**
54
- * Customer identifier for the payment service provider.
55
- * @type {string}
56
- * @memberof InvoicePaymentMethodClass
57
- */
58
- 'pspCustomerId': string;
59
- /**
60
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
61
- * @type {string}
62
- * @memberof InvoicePaymentMethodClass
63
- */
64
- 'productSlug'?: string;
65
- /**
66
- * Identifier of the user who created the record.
67
- * @type {string}
68
- * @memberof InvoicePaymentMethodClass
69
- */
70
- 'createdBy': string;
71
- /**
72
- * Identifier of the user who last updated the record.
73
- * @type {string}
74
- * @memberof InvoicePaymentMethodClass
75
- */
76
- 'updatedBy': string;
77
- }
78
-