@emilgroup/payment-sdk 1.4.1-beta.30 → 1.4.1-beta.32

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.
Files changed (93) hide show
  1. package/.openapi-generator/FILES +5 -15
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +34 -38
  4. package/api/bank-transaction-api.ts +73 -77
  5. package/api/{default-api.ts → health-check-api.ts} +21 -17
  6. package/api/payment-methods-api.ts +52 -70
  7. package/api/payment-reminders-api.ts +63 -49
  8. package/api/payment-setup-api.ts +16 -8
  9. package/api/payments-api.ts +52 -70
  10. package/api/refunds-api.ts +76 -88
  11. package/api/tenant-bank-account-api.ts +79 -63
  12. package/api/webhooks-api.ts +16 -12
  13. package/api.ts +2 -2
  14. package/base.ts +15 -7
  15. package/dist/api/bank-accounts-api.d.ts +37 -39
  16. package/dist/api/bank-accounts-api.js +18 -18
  17. package/dist/api/bank-transaction-api.d.ts +77 -79
  18. package/dist/api/bank-transaction-api.js +45 -45
  19. package/dist/api/health-check-api.d.ts +70 -0
  20. package/dist/api/{default-api.js → health-check-api.js} +30 -26
  21. package/dist/api/payment-methods-api.d.ts +49 -58
  22. package/dist/api/payment-methods-api.js +32 -42
  23. package/dist/api/payment-reminders-api.d.ts +55 -46
  24. package/dist/api/payment-reminders-api.js +40 -34
  25. package/dist/api/payment-setup-api.d.ts +16 -8
  26. package/dist/api/payment-setup-api.js +16 -8
  27. package/dist/api/payments-api.d.ts +49 -58
  28. package/dist/api/payments-api.js +32 -42
  29. package/dist/api/refunds-api.d.ts +76 -76
  30. package/dist/api/refunds-api.js +51 -49
  31. package/dist/api/tenant-bank-account-api.d.ts +71 -61
  32. package/dist/api/tenant-bank-account-api.js +51 -45
  33. package/dist/api/webhooks-api.d.ts +16 -12
  34. package/dist/api/webhooks-api.js +14 -10
  35. package/dist/api.d.ts +1 -1
  36. package/dist/api.js +1 -1
  37. package/dist/base.d.ts +3 -1
  38. package/dist/base.js +27 -20
  39. package/dist/models/{bank-transaction-response-class.d.ts → bank-transaction-class-without-expand-properties.d.ts} +20 -34
  40. package/dist/models/create-tenant-bank-account-response-class.d.ts +4 -4
  41. package/dist/models/get-tenant-bank-account-response-class.d.ts +4 -4
  42. package/dist/models/index.d.ts +4 -14
  43. package/dist/models/index.js +4 -14
  44. package/dist/models/list-tenant-bank-account-response-class.d.ts +5 -5
  45. package/dist/models/{tenant-bank-account-response-class.d.ts → tenant-bank-account-class-without-expand-properties.d.ts} +10 -10
  46. package/dist/models/tenant-bank-account-class.d.ts +73 -0
  47. package/dist/models/{get-bank-account-response-class.d.ts → update-tenant-bank-account-response-class.d.ts} +7 -7
  48. package/models/{bank-transaction-response-class.ts → bank-transaction-class-without-expand-properties.ts} +20 -34
  49. package/models/create-tenant-bank-account-response-class.ts +4 -4
  50. package/models/get-tenant-bank-account-response-class.ts +4 -4
  51. package/models/index.ts +4 -14
  52. package/models/list-tenant-bank-account-response-class.ts +5 -5
  53. package/models/{tenant-bank-account-response-class.ts → tenant-bank-account-class-without-expand-properties.ts} +10 -10
  54. package/models/tenant-bank-account-class.ts +79 -0
  55. package/models/{create-refund-response-class.ts → update-tenant-bank-account-response-class.ts} +7 -7
  56. package/package.json +1 -1
  57. package/dist/api/default-api.d.ts +0 -66
  58. package/dist/models/bank-account-class.d.ts +0 -73
  59. package/dist/models/create-refund-response-class.d.ts +0 -25
  60. package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
  61. package/dist/models/get-bank-transactions-response-class.js +0 -15
  62. package/dist/models/get-refund-response-class.d.ts +0 -25
  63. package/dist/models/get-refund-response-class.js +0 -15
  64. package/dist/models/get-request-dto.d.ts +0 -30
  65. package/dist/models/get-request-dto.js +0 -15
  66. package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
  67. package/dist/models/list-bank-transactions-response-class.js +0 -15
  68. package/dist/models/list-refunds-response-class.d.ts +0 -31
  69. package/dist/models/list-refunds-response-class.js +0 -15
  70. package/dist/models/primary-bank-account-response-class.d.ts +0 -42
  71. package/dist/models/primary-bank-account-response-class.js +0 -15
  72. package/dist/models/refund-class.d.ts +0 -105
  73. package/dist/models/refund-class.js +0 -29
  74. package/dist/models/tenant-bank-account-response-class.js +0 -15
  75. package/dist/models/transaction-class.d.ts +0 -54
  76. package/dist/models/transaction-class.js +0 -15
  77. package/dist/models/update-bank-account-response-class.d.ts +0 -25
  78. package/dist/models/update-bank-account-response-class.js +0 -15
  79. package/models/bank-account-class.ts +0 -79
  80. package/models/get-bank-account-response-class.ts +0 -31
  81. package/models/get-bank-transactions-response-class.ts +0 -31
  82. package/models/get-refund-response-class.ts +0 -31
  83. package/models/get-request-dto.ts +0 -36
  84. package/models/list-bank-transactions-response-class.ts +0 -37
  85. package/models/list-refunds-response-class.ts +0 -37
  86. package/models/primary-bank-account-response-class.ts +0 -48
  87. package/models/refund-class.ts +0 -115
  88. package/models/transaction-class.ts +0 -60
  89. package/models/update-bank-account-response-class.ts +0 -31
  90. /package/dist/models/{bank-account-class.js → bank-transaction-class-without-expand-properties.js} +0 -0
  91. /package/dist/models/{bank-transaction-response-class.js → tenant-bank-account-class-without-expand-properties.js} +0 -0
  92. /package/dist/models/{create-refund-response-class.js → tenant-bank-account-class.js} +0 -0
  93. /package/dist/models/{get-bank-account-response-class.js → update-tenant-bank-account-response-class.js} +0 -0
@@ -12,9 +12,7 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
- import { GetBankTransactionsResponseClass } from '../models';
16
15
  import { LinkBankTransactionRequestDtoRest } from '../models';
17
- import { ListBankTransactionsResponseClass } from '../models';
18
16
  import { UnlinkBankTransactionRequestDtoRest } from '../models';
19
17
  /**
20
18
  * BankTransactionApi - axios parameter creator
@@ -22,17 +20,17 @@ import { UnlinkBankTransactionRequestDtoRest } from '../models';
22
20
  */
23
21
  export declare const BankTransactionApiAxiosParamCreator: (configuration?: Configuration) => {
24
22
  /**
25
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
26
- * @summary Retrieve the Bank Transaction
27
- * @param {string} code
23
+ * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
24
+ * @summary Retrieve the bank transaction
25
+ * @param {string} code Unique identifier for the object.
28
26
  * @param {string} [authorization] Bearer Token
29
- * @param {string} [expand] Expand the response with additional entities
27
+ * @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: bankAccount, transaction.<i>
30
28
  * @param {*} [options] Override http request option.
31
29
  * @throws {RequiredError}
32
30
  */
33
31
  getBankTransaction: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34
32
  /**
35
- * Import bank transactions from a swift MT940 file
33
+ * This will import bank transactions from a swift MT940 file
36
34
  * @summary Create the bank transactions
37
35
  * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
38
36
  * @param {string} [authorization] Bearer Token
@@ -42,7 +40,7 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
42
40
  importBankTransactions: (file: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
43
41
  /**
44
42
  * Links a bank transaction with an invoice
45
- * @summary Link Bank Transaction
43
+ * @summary Link bank transaction
46
44
  * @param {string} code Code of the bank transaction to link
47
45
  * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
48
46
  * @param {string} [authorization] Bearer Token
@@ -51,23 +49,23 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
51
49
  */
52
50
  linkBankTransaction: (code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
51
  /**
54
- * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
52
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
55
53
  * @summary List bank transactions
56
54
  * @param {string} [authorization] Bearer Token
57
55
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
58
56
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
59
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
60
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
61
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
62
- * @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
63
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
57
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
58
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
59
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, amount, transactionDate, entryDate&lt;/i&gt;
60
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction.&lt;i&gt;
61
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
64
62
  * @param {*} [options] Override http request option.
65
63
  * @throws {RequiredError}
66
64
  */
67
- listBankTransactions: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
+ listBankTransactions: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
66
  /**
69
67
  * Unlinks an already linked bank transaction
70
- * @summary Unlink Bank Transaction
68
+ * @summary Unlink bank transaction
71
69
  * @param {string} code Code of the bank transaction to unlink
72
70
  * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
73
71
  * @param {string} [authorization] Bearer Token
@@ -82,59 +80,59 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
82
80
  */
83
81
  export declare const BankTransactionApiFp: (configuration?: Configuration) => {
84
82
  /**
85
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
86
- * @summary Retrieve the Bank Transaction
87
- * @param {string} code
83
+ * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
84
+ * @summary Retrieve the bank transaction
85
+ * @param {string} code Unique identifier for the object.
88
86
  * @param {string} [authorization] Bearer Token
89
- * @param {string} [expand] Expand the response with additional entities
87
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction.&lt;i&gt;
90
88
  * @param {*} [options] Override http request option.
91
89
  * @throws {RequiredError}
92
90
  */
93
- getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
91
+ getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
94
92
  /**
95
- * Import bank transactions from a swift MT940 file
93
+ * This will import bank transactions from a swift MT940 file
96
94
  * @summary Create the bank transactions
97
95
  * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
98
96
  * @param {string} [authorization] Bearer Token
99
97
  * @param {*} [options] Override http request option.
100
98
  * @throws {RequiredError}
101
99
  */
102
- importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>>;
100
+ importBankTransactions(file: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
103
101
  /**
104
102
  * Links a bank transaction with an invoice
105
- * @summary Link Bank Transaction
103
+ * @summary Link bank transaction
106
104
  * @param {string} code Code of the bank transaction to link
107
105
  * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
108
106
  * @param {string} [authorization] Bearer Token
109
107
  * @param {*} [options] Override http request option.
110
108
  * @throws {RequiredError}
111
109
  */
112
- linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
110
+ linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
113
111
  /**
114
- * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
112
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
115
113
  * @summary List bank transactions
116
114
  * @param {string} [authorization] Bearer Token
117
115
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
116
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
119
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
120
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
121
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
122
- * @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
123
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
117
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
118
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
119
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, amount, transactionDate, entryDate&lt;/i&gt;
120
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction.&lt;i&gt;
121
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
124
122
  * @param {*} [options] Override http request option.
125
123
  * @throws {RequiredError}
126
124
  */
127
- listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
125
+ listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
128
126
  /**
129
127
  * Unlinks an already linked bank transaction
130
- * @summary Unlink Bank Transaction
128
+ * @summary Unlink bank transaction
131
129
  * @param {string} code Code of the bank transaction to unlink
132
130
  * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
133
131
  * @param {string} [authorization] Bearer Token
134
132
  * @param {*} [options] Override http request option.
135
133
  * @throws {RequiredError}
136
134
  */
137
- unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
135
+ unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
138
136
  };
139
137
  /**
140
138
  * BankTransactionApi - factory interface
@@ -142,59 +140,59 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
142
140
  */
143
141
  export declare const BankTransactionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
144
142
  /**
145
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
146
- * @summary Retrieve the Bank Transaction
147
- * @param {string} code
143
+ * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
144
+ * @summary Retrieve the bank transaction
145
+ * @param {string} code Unique identifier for the object.
148
146
  * @param {string} [authorization] Bearer Token
149
- * @param {string} [expand] Expand the response with additional entities
147
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction.&lt;i&gt;
150
148
  * @param {*} [options] Override http request option.
151
149
  * @throws {RequiredError}
152
150
  */
153
- getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
151
+ getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
154
152
  /**
155
- * Import bank transactions from a swift MT940 file
153
+ * This will import bank transactions from a swift MT940 file
156
154
  * @summary Create the bank transactions
157
155
  * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
158
156
  * @param {string} [authorization] Bearer Token
159
157
  * @param {*} [options] Override http request option.
160
158
  * @throws {RequiredError}
161
159
  */
162
- importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass>;
160
+ importBankTransactions(file: any, authorization?: string, options?: any): AxiosPromise<void>;
163
161
  /**
164
162
  * Links a bank transaction with an invoice
165
- * @summary Link Bank Transaction
163
+ * @summary Link bank transaction
166
164
  * @param {string} code Code of the bank transaction to link
167
165
  * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
168
166
  * @param {string} [authorization] Bearer Token
169
167
  * @param {*} [options] Override http request option.
170
168
  * @throws {RequiredError}
171
169
  */
172
- linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
170
+ linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
173
171
  /**
174
- * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
172
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
175
173
  * @summary List bank transactions
176
174
  * @param {string} [authorization] Bearer Token
177
175
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
178
176
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
179
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
180
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
181
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
182
- * @param {'bankAccount' | 'transaction'} [expand] Expand the response with additional entities
183
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
177
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
178
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
179
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, amount, transactionDate, entryDate&lt;/i&gt;
180
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction.&lt;i&gt;
181
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
184
182
  * @param {*} [options] Override http request option.
185
183
  * @throws {RequiredError}
186
184
  */
187
- listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'bankAccount' | 'transaction', filters?: any, options?: any): AxiosPromise<void>;
185
+ listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
188
186
  /**
189
187
  * Unlinks an already linked bank transaction
190
- * @summary Unlink Bank Transaction
188
+ * @summary Unlink bank transaction
191
189
  * @param {string} code Code of the bank transaction to unlink
192
190
  * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
193
191
  * @param {string} [authorization] Bearer Token
194
192
  * @param {*} [options] Override http request option.
195
193
  * @throws {RequiredError}
196
194
  */
197
- unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
195
+ unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<void>;
198
196
  };
199
197
  /**
200
198
  * Request parameters for getBankTransaction operation in BankTransactionApi.
@@ -203,7 +201,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
203
201
  */
204
202
  export interface BankTransactionApiGetBankTransactionRequest {
205
203
  /**
206
- *
204
+ * Unique identifier for the object.
207
205
  * @type {string}
208
206
  * @memberof BankTransactionApiGetBankTransaction
209
207
  */
@@ -215,7 +213,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
215
213
  */
216
214
  readonly authorization?: string;
217
215
  /**
218
- * Expand the response with additional entities
216
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction.&lt;i&gt;
219
217
  * @type {string}
220
218
  * @memberof BankTransactionApiGetBankTransaction
221
219
  */
@@ -290,35 +288,35 @@ export interface BankTransactionApiListBankTransactionsRequest {
290
288
  */
291
289
  readonly pageToken?: any;
292
290
  /**
293
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
294
- * @type {any}
291
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
292
+ * @type {string}
295
293
  * @memberof BankTransactionApiListBankTransactions
296
294
  */
297
- readonly filter?: any;
295
+ readonly filter?: string;
298
296
  /**
299
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
300
- * @type {any}
297
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
298
+ * @type {string}
301
299
  * @memberof BankTransactionApiListBankTransactions
302
300
  */
303
- readonly search?: any;
301
+ readonly search?: string;
304
302
  /**
305
- * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
306
- * @type {any}
303
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, amount, transactionDate, entryDate&lt;/i&gt;
304
+ * @type {string}
307
305
  * @memberof BankTransactionApiListBankTransactions
308
306
  */
309
- readonly order?: any;
307
+ readonly order?: string;
310
308
  /**
311
- * Expand the response with additional entities
312
- * @type {'bankAccount' | 'transaction'}
309
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction.&lt;i&gt;
310
+ * @type {string}
313
311
  * @memberof BankTransactionApiListBankTransactions
314
312
  */
315
- readonly expand?: 'bankAccount' | 'transaction';
313
+ readonly expand?: string;
316
314
  /**
317
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
318
- * @type {any}
315
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
316
+ * @type {string}
319
317
  * @memberof BankTransactionApiListBankTransactions
320
318
  */
321
- readonly filters?: any;
319
+ readonly filters?: string;
322
320
  }
323
321
  /**
324
322
  * Request parameters for unlinkBankTransaction operation in BankTransactionApi.
@@ -353,34 +351,34 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
353
351
  */
354
352
  export declare class BankTransactionApi extends BaseAPI {
355
353
  /**
356
- * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
357
- * @summary Retrieve the Bank Transaction
354
+ * Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information.
355
+ * @summary Retrieve the bank transaction
358
356
  * @param {BankTransactionApiGetBankTransactionRequest} requestParameters Request parameters.
359
357
  * @param {*} [options] Override http request option.
360
358
  * @throws {RequiredError}
361
359
  * @memberof BankTransactionApi
362
360
  */
363
- getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
361
+ getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
364
362
  /**
365
- * Import bank transactions from a swift MT940 file
363
+ * This will import bank transactions from a swift MT940 file
366
364
  * @summary Create the bank transactions
367
365
  * @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
368
366
  * @param {*} [options] Override http request option.
369
367
  * @throws {RequiredError}
370
368
  * @memberof BankTransactionApi
371
369
  */
372
- importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankTransactionsResponseClass, any>>;
370
+ importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
373
371
  /**
374
372
  * Links a bank transaction with an invoice
375
- * @summary Link Bank Transaction
373
+ * @summary Link bank transaction
376
374
  * @param {BankTransactionApiLinkBankTransactionRequest} requestParameters Request parameters.
377
375
  * @param {*} [options] Override http request option.
378
376
  * @throws {RequiredError}
379
377
  * @memberof BankTransactionApi
380
378
  */
381
- linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
379
+ linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
382
380
  /**
383
- * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
381
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
384
382
  * @summary List bank transactions
385
383
  * @param {BankTransactionApiListBankTransactionsRequest} requestParameters Request parameters.
386
384
  * @param {*} [options] Override http request option.
@@ -390,11 +388,11 @@ export declare class BankTransactionApi extends BaseAPI {
390
388
  listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
391
389
  /**
392
390
  * Unlinks an already linked bank transaction
393
- * @summary Unlink Bank Transaction
391
+ * @summary Unlink bank transaction
394
392
  * @param {BankTransactionApiUnlinkBankTransactionRequest} requestParameters Request parameters.
395
393
  * @param {*} [options] Override http request option.
396
394
  * @throws {RequiredError}
397
395
  * @memberof BankTransactionApi
398
396
  */
399
- unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
397
+ unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
400
398
  }