@emilgroup/billing-sdk 1.49.1-beta.14 → 1.49.1-beta.16

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@1.49.1-beta.14 --save
20
+ npm install @emilgroup/billing-sdk@1.49.1-beta.16 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/billing-sdk@1.49.1-beta.14
24
+ yarn add @emilgroup/billing-sdk@1.49.1-beta.16
25
25
  ```
26
26
 
27
27
  And then you can import `InvoicesApi`.
@@ -146,11 +146,11 @@ export const InvoicesApiAxiosParamCreator = function (configuration?: Configurat
146
146
  * @param {string} [authorization] Bearer Token
147
147
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
148
148
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
149
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt, dueDate</i>
149
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt, dueDate, paymentMethodType, paymentMethodPsp</i>
150
150
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
151
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: invoiceNumber, status, netAmount, grossAmount, createdAt, dueDate, id</i>
151
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: invoiceNumber, status, netAmount, grossAmount, createdAt, dueDate, id, paymentMethodType, paymentMethodPsp</i>
152
152
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: statuses, payments, invoiceItems<i>
153
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt, dueDate</i>
153
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt, dueDate, paymentMethodType, paymentMethodPsp</i>
154
154
  * @param {*} [options] Override http request option.
155
155
  * @throws {RequiredError}
156
156
  */
@@ -335,11 +335,11 @@ export const InvoicesApiFp = function(configuration?: Configuration) {
335
335
  * @param {string} [authorization] Bearer Token
336
336
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
337
337
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
338
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt, dueDate</i>
338
+ * @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>
339
339
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
340
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: invoiceNumber, status, netAmount, grossAmount, createdAt, dueDate, id</i>
340
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: invoiceNumber, status, netAmount, grossAmount, createdAt, dueDate, id, paymentMethodType, paymentMethodPsp</i>
341
341
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: statuses, payments, invoiceItems<i>
342
- * @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</i>
342
+ * @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>
343
343
  * @param {*} [options] Override http request option.
344
344
  * @throws {RequiredError}
345
345
  */
@@ -406,11 +406,11 @@ export const InvoicesApiFactory = function (configuration?: Configuration, baseP
406
406
  * @param {string} [authorization] Bearer Token
407
407
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
408
408
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
409
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt, dueDate</i>
409
+ * @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>
410
410
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
411
- * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: invoiceNumber, status, netAmount, grossAmount, createdAt, dueDate, id</i>
411
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: invoiceNumber, status, netAmount, grossAmount, createdAt, dueDate, id, paymentMethodType, paymentMethodPsp</i>
412
412
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: statuses, payments, invoiceItems<i>
413
- * @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</i>
413
+ * @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>
414
414
  * @param {*} [options] Override http request option.
415
415
  * @throws {RequiredError}
416
416
  */
@@ -522,7 +522,7 @@ export interface InvoicesApiListInvoicesRequest {
522
522
  readonly pageToken?: string
523
523
 
524
524
  /**
525
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt, dueDate</i>
525
+ * 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>
526
526
  * @type {string}
527
527
  * @memberof InvoicesApiListInvoices
528
528
  */
@@ -536,7 +536,7 @@ export interface InvoicesApiListInvoicesRequest {
536
536
  readonly search?: string
537
537
 
538
538
  /**
539
- * 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>
539
+ * 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>
540
540
  * @type {string}
541
541
  * @memberof InvoicesApiListInvoices
542
542
  */
@@ -550,7 +550,7 @@ export interface InvoicesApiListInvoicesRequest {
550
550
  readonly expand?: string
551
551
 
552
552
  /**
553
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, policyCode, invoiceNumber, id, type, accountNumber, status, billingIntervalFrom, billingIntervalTo, createdAt, dueDate</i>
553
+ * 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>
554
554
  * @type {string}
555
555
  * @memberof InvoicesApiListInvoices
556
556
  */
@@ -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, dueDate</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, dueDate</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, dueDate</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, dueDate</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, dueDate</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, dueDate</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, dueDate</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, dueDate</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
  */
@@ -205,11 +205,11 @@ var InvoicesApiAxiosParamCreator = function (configuration) {
205
205
  * @param {string} [authorization] Bearer Token
206
206
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
207
207
  * @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.
208
- * @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</i>
208
+ * @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>
209
209
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
210
- * @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>
210
+ * @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>
211
211
  * @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>
212
- * @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</i>
212
+ * @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>
213
213
  * @param {*} [options] Override http request option.
214
214
  * @throws {RequiredError}
215
215
  */
@@ -404,11 +404,11 @@ var InvoicesApiFp = function (configuration) {
404
404
  * @param {string} [authorization] Bearer Token
405
405
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
406
406
  * @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.
407
- * @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</i>
407
+ * @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>
408
408
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
409
- * @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>
409
+ * @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>
410
410
  * @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>
411
- * @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</i>
411
+ * @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>
412
412
  * @param {*} [options] Override http request option.
413
413
  * @throws {RequiredError}
414
414
  */
@@ -493,11 +493,11 @@ var InvoicesApiFactory = function (configuration, basePath, axios) {
493
493
  * @param {string} [authorization] Bearer Token
494
494
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
495
495
  * @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.
496
- * @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</i>
496
+ * @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>
497
497
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
498
- * @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>
498
+ * @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>
499
499
  * @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>
500
- * @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</i>
500
+ * @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>
501
501
  * @param {*} [options] Override http request option.
502
502
  * @throws {RequiredError}
503
503
  */
@@ -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,23 @@ 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}
169
180
  * @memberof InvoiceClass
170
181
  */
171
- 'paymentMethod': InvoicePaymentMethodClass;
182
+ 'paymentMethodType': string;
172
183
  }
173
184
  export declare const InvoiceClassTypeEnum: {
174
185
  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,23 @@ 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}
162
173
  * @memberof OmitTypeClass
163
174
  */
164
- 'paymentMethod': InvoicePaymentMethodClass;
175
+ 'paymentMethodType': string;
165
176
  }
166
177
  export declare const OmitTypeClassTypeEnum: {
167
178
  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,23 @@ 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}
174
185
  * @memberof InvoiceClass
175
186
  */
176
- 'paymentMethod': InvoicePaymentMethodClass;
187
+ 'paymentMethodType': string;
177
188
  }
178
189
 
179
190
  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,23 @@ 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}
167
178
  * @memberof OmitTypeClass
168
179
  */
169
- 'paymentMethod': InvoicePaymentMethodClass;
180
+ 'paymentMethodType': string;
170
181
  }
171
182
 
172
183
  export const OmitTypeClassTypeEnum = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/billing-sdk",
3
- "version": "1.49.1-beta.14",
3
+ "version": "1.49.1-beta.16",
4
4
  "description": "OpenAPI client for @emilgroup/billing-sdk",
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
-