@emilgroup/payment-sdk-node 1.21.1-beta.6 → 1.21.1-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +0 -3
- package/README.md +2 -2
- package/api/bank-transaction-api.ts +28 -131
- package/dist/api/bank-transaction-api.d.ts +28 -84
- package/dist/api/bank-transaction-api.js +22 -114
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +2 -22
- package/dist/models/bank-transaction-class.d.ts +2 -22
- package/dist/models/index.d.ts +0 -3
- package/dist/models/index.js +0 -3
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +2 -22
- package/models/bank-transaction-class-without-expand-properties.ts +2 -22
- package/models/bank-transaction-class.ts +2 -22
- package/models/index.ts +0 -3
- package/models/unlinked-bank-transaction-response-class.ts +2 -22
- package/package.json +1 -1
- package/dist/models/generate-invoice-match-suggestions-response-class.d.ts +0 -25
- package/dist/models/generate-invoice-match-suggestions-response-class.js +0 -15
- package/dist/models/invoice-match-suggestion-class.d.ts +0 -60
- package/dist/models/invoice-match-suggestion-class.js +0 -15
- package/dist/models/suggestion-generation-progress-class.d.ts +0 -43
- package/dist/models/suggestion-generation-progress-class.js +0 -22
- package/models/generate-invoice-match-suggestions-response-class.ts +0 -31
- package/models/invoice-match-suggestion-class.ts +0 -66
- package/models/suggestion-generation-progress-class.ts +0 -52
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { GenerateInvoiceMatchSuggestionsResponseClass } from '../models';
|
|
16
15
|
import { GetBankTransactionsResponseClass } from '../models';
|
|
17
16
|
import { ImportBankTransactionsResponseClass } from '../models';
|
|
18
17
|
import { LinkBankTransactionRequestDtoRest } from '../models';
|
|
@@ -25,29 +24,20 @@ import { UnlinkBankTransactionsResponseClass } from '../models';
|
|
|
25
24
|
* @export
|
|
26
25
|
*/
|
|
27
26
|
export declare const BankTransactionApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
28
|
-
/**
|
|
29
|
-
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
30
|
-
* @summary Invoice Match Suggestion
|
|
31
|
-
* @param {string} code Code of the bank transaction to generate match suggestions for
|
|
32
|
-
* @param {string} [authorization] Bearer Token
|
|
33
|
-
* @param {*} [options] Override http request option.
|
|
34
|
-
* @throws {RequiredError}
|
|
35
|
-
*/
|
|
36
|
-
generateInvoiceMatchSuggestion: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
27
|
/**
|
|
38
28
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
39
29
|
* @summary Retrieve the bank transaction
|
|
40
30
|
* @param {string} code
|
|
41
31
|
* @param {string} [authorization] Bearer Token
|
|
42
|
-
* @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
|
|
32
|
+
* @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>
|
|
43
33
|
* @param {*} [options] Override http request option.
|
|
44
34
|
* @throws {RequiredError}
|
|
45
35
|
*/
|
|
46
36
|
getBankTransaction: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
37
|
/**
|
|
48
|
-
* This will import bank transactions from a MT940
|
|
38
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
49
39
|
* @summary Create the bank transactions
|
|
50
|
-
* @param {any} file MT940
|
|
40
|
+
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
51
41
|
* @param {string} [authorization] Bearer Token
|
|
52
42
|
* @param {*} [options] Override http request option.
|
|
53
43
|
* @throws {RequiredError}
|
|
@@ -67,11 +57,11 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
67
57
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
68
58
|
* @summary List bank transactions
|
|
69
59
|
* @param {string} [authorization] Bearer Token
|
|
70
|
-
* @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: id, code, bankAccountId, bankAccountNumber,
|
|
71
|
-
* @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: id, code, bankAccountId, bankAccountNumber,
|
|
60
|
+
* @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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
61
|
+
* @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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
72
62
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
73
|
-
* @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: id, createdAt, transactionDate, entryDate</i>
|
|
74
|
-
* @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
|
|
63
|
+
* @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: id, createdAt, amount, transactionDate, entryDate</i>
|
|
64
|
+
* @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>
|
|
75
65
|
* @param {*} [options] Override http request option.
|
|
76
66
|
* @throws {RequiredError}
|
|
77
67
|
*/
|
|
@@ -92,29 +82,20 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
92
82
|
* @export
|
|
93
83
|
*/
|
|
94
84
|
export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
95
|
-
/**
|
|
96
|
-
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
97
|
-
* @summary Invoice Match Suggestion
|
|
98
|
-
* @param {string} code Code of the bank transaction to generate match suggestions for
|
|
99
|
-
* @param {string} [authorization] Bearer Token
|
|
100
|
-
* @param {*} [options] Override http request option.
|
|
101
|
-
* @throws {RequiredError}
|
|
102
|
-
*/
|
|
103
|
-
generateInvoiceMatchSuggestion(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerateInvoiceMatchSuggestionsResponseClass>>;
|
|
104
85
|
/**
|
|
105
86
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
106
87
|
* @summary Retrieve the bank transaction
|
|
107
88
|
* @param {string} code
|
|
108
89
|
* @param {string} [authorization] Bearer Token
|
|
109
|
-
* @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
|
|
90
|
+
* @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>
|
|
110
91
|
* @param {*} [options] Override http request option.
|
|
111
92
|
* @throws {RequiredError}
|
|
112
93
|
*/
|
|
113
94
|
getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
|
|
114
95
|
/**
|
|
115
|
-
* This will import bank transactions from a MT940
|
|
96
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
116
97
|
* @summary Create the bank transactions
|
|
117
|
-
* @param {any} file MT940
|
|
98
|
+
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
118
99
|
* @param {string} [authorization] Bearer Token
|
|
119
100
|
* @param {*} [options] Override http request option.
|
|
120
101
|
* @throws {RequiredError}
|
|
@@ -134,11 +115,11 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
134
115
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
135
116
|
* @summary List bank transactions
|
|
136
117
|
* @param {string} [authorization] Bearer Token
|
|
137
|
-
* @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: id, code, bankAccountId, bankAccountNumber,
|
|
138
|
-
* @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: id, code, bankAccountId, bankAccountNumber,
|
|
118
|
+
* @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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
119
|
+
* @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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
139
120
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
140
|
-
* @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: id, createdAt, transactionDate, entryDate</i>
|
|
141
|
-
* @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
|
|
121
|
+
* @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: id, createdAt, amount, transactionDate, entryDate</i>
|
|
122
|
+
* @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>
|
|
142
123
|
* @param {*} [options] Override http request option.
|
|
143
124
|
* @throws {RequiredError}
|
|
144
125
|
*/
|
|
@@ -159,29 +140,20 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
159
140
|
* @export
|
|
160
141
|
*/
|
|
161
142
|
export declare const BankTransactionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
162
|
-
/**
|
|
163
|
-
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
164
|
-
* @summary Invoice Match Suggestion
|
|
165
|
-
* @param {string} code Code of the bank transaction to generate match suggestions for
|
|
166
|
-
* @param {string} [authorization] Bearer Token
|
|
167
|
-
* @param {*} [options] Override http request option.
|
|
168
|
-
* @throws {RequiredError}
|
|
169
|
-
*/
|
|
170
|
-
generateInvoiceMatchSuggestion(code: string, authorization?: string, options?: any): AxiosPromise<GenerateInvoiceMatchSuggestionsResponseClass>;
|
|
171
143
|
/**
|
|
172
144
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
173
145
|
* @summary Retrieve the bank transaction
|
|
174
146
|
* @param {string} code
|
|
175
147
|
* @param {string} [authorization] Bearer Token
|
|
176
|
-
* @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
|
|
148
|
+
* @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>
|
|
177
149
|
* @param {*} [options] Override http request option.
|
|
178
150
|
* @throws {RequiredError}
|
|
179
151
|
*/
|
|
180
152
|
getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
|
|
181
153
|
/**
|
|
182
|
-
* This will import bank transactions from a MT940
|
|
154
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
183
155
|
* @summary Create the bank transactions
|
|
184
|
-
* @param {any} file MT940
|
|
156
|
+
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
185
157
|
* @param {string} [authorization] Bearer Token
|
|
186
158
|
* @param {*} [options] Override http request option.
|
|
187
159
|
* @throws {RequiredError}
|
|
@@ -201,11 +173,11 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
201
173
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
202
174
|
* @summary List bank transactions
|
|
203
175
|
* @param {string} [authorization] Bearer Token
|
|
204
|
-
* @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: id, code, bankAccountId, bankAccountNumber,
|
|
205
|
-
* @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: id, code, bankAccountId, bankAccountNumber,
|
|
176
|
+
* @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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
177
|
+
* @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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
206
178
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
207
|
-
* @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: id, createdAt, transactionDate, entryDate</i>
|
|
208
|
-
* @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
|
|
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.<br/> <br/> <i>Allowed values: id, createdAt, amount, transactionDate, entryDate</i>
|
|
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.<br/> <br/> <i>Allowed values: bankAccount, transaction<i>
|
|
209
181
|
* @param {*} [options] Override http request option.
|
|
210
182
|
* @throws {RequiredError}
|
|
211
183
|
*/
|
|
@@ -221,25 +193,6 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
221
193
|
*/
|
|
222
194
|
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<UnlinkBankTransactionsResponseClass>;
|
|
223
195
|
};
|
|
224
|
-
/**
|
|
225
|
-
* Request parameters for generateInvoiceMatchSuggestion operation in BankTransactionApi.
|
|
226
|
-
* @export
|
|
227
|
-
* @interface BankTransactionApiGenerateInvoiceMatchSuggestionRequest
|
|
228
|
-
*/
|
|
229
|
-
export interface BankTransactionApiGenerateInvoiceMatchSuggestionRequest {
|
|
230
|
-
/**
|
|
231
|
-
* Code of the bank transaction to generate match suggestions for
|
|
232
|
-
* @type {string}
|
|
233
|
-
* @memberof BankTransactionApiGenerateInvoiceMatchSuggestion
|
|
234
|
-
*/
|
|
235
|
-
readonly code: string;
|
|
236
|
-
/**
|
|
237
|
-
* Bearer Token
|
|
238
|
-
* @type {string}
|
|
239
|
-
* @memberof BankTransactionApiGenerateInvoiceMatchSuggestion
|
|
240
|
-
*/
|
|
241
|
-
readonly authorization?: string;
|
|
242
|
-
}
|
|
243
196
|
/**
|
|
244
197
|
* Request parameters for getBankTransaction operation in BankTransactionApi.
|
|
245
198
|
* @export
|
|
@@ -259,7 +212,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
|
|
|
259
212
|
*/
|
|
260
213
|
readonly authorization?: string;
|
|
261
214
|
/**
|
|
262
|
-
* 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
|
|
215
|
+
* 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>
|
|
263
216
|
* @type {string}
|
|
264
217
|
* @memberof BankTransactionApiGetBankTransaction
|
|
265
218
|
*/
|
|
@@ -272,7 +225,7 @@ export interface BankTransactionApiGetBankTransactionRequest {
|
|
|
272
225
|
*/
|
|
273
226
|
export interface BankTransactionApiImportBankTransactionsRequest {
|
|
274
227
|
/**
|
|
275
|
-
* MT940
|
|
228
|
+
* Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
276
229
|
* @type {any}
|
|
277
230
|
* @memberof BankTransactionApiImportBankTransactions
|
|
278
231
|
*/
|
|
@@ -322,13 +275,13 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
322
275
|
*/
|
|
323
276
|
readonly authorization?: string;
|
|
324
277
|
/**
|
|
325
|
-
* 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: id, code, bankAccountId, bankAccountNumber,
|
|
278
|
+
* 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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
326
279
|
* @type {string}
|
|
327
280
|
* @memberof BankTransactionApiListBankTransactions
|
|
328
281
|
*/
|
|
329
282
|
readonly filter?: string;
|
|
330
283
|
/**
|
|
331
|
-
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber,
|
|
284
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
332
285
|
* @type {string}
|
|
333
286
|
* @memberof BankTransactionApiListBankTransactions
|
|
334
287
|
*/
|
|
@@ -340,13 +293,13 @@ export interface BankTransactionApiListBankTransactionsRequest {
|
|
|
340
293
|
*/
|
|
341
294
|
readonly search?: string;
|
|
342
295
|
/**
|
|
343
|
-
* 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: id, createdAt, transactionDate, entryDate</i>
|
|
296
|
+
* 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: id, createdAt, amount, transactionDate, entryDate</i>
|
|
344
297
|
* @type {string}
|
|
345
298
|
* @memberof BankTransactionApiListBankTransactions
|
|
346
299
|
*/
|
|
347
300
|
readonly order?: string;
|
|
348
301
|
/**
|
|
349
|
-
* 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
|
|
302
|
+
* 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>
|
|
350
303
|
* @type {string}
|
|
351
304
|
* @memberof BankTransactionApiListBankTransactions
|
|
352
305
|
*/
|
|
@@ -384,15 +337,6 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
|
384
337
|
* @extends {BaseAPI}
|
|
385
338
|
*/
|
|
386
339
|
export declare class BankTransactionApi extends BaseAPI {
|
|
387
|
-
/**
|
|
388
|
-
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
389
|
-
* @summary Invoice Match Suggestion
|
|
390
|
-
* @param {BankTransactionApiGenerateInvoiceMatchSuggestionRequest} requestParameters Request parameters.
|
|
391
|
-
* @param {*} [options] Override http request option.
|
|
392
|
-
* @throws {RequiredError}
|
|
393
|
-
* @memberof BankTransactionApi
|
|
394
|
-
*/
|
|
395
|
-
generateInvoiceMatchSuggestion(requestParameters: BankTransactionApiGenerateInvoiceMatchSuggestionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerateInvoiceMatchSuggestionsResponseClass, any>>;
|
|
396
340
|
/**
|
|
397
341
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
398
342
|
* @summary Retrieve the bank transaction
|
|
@@ -403,7 +347,7 @@ export declare class BankTransactionApi extends BaseAPI {
|
|
|
403
347
|
*/
|
|
404
348
|
getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
|
|
405
349
|
/**
|
|
406
|
-
* This will import bank transactions from a MT940
|
|
350
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
407
351
|
* @summary Create the bank transactions
|
|
408
352
|
* @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
|
|
409
353
|
* @param {*} [options] Override http request option.
|
|
@@ -96,60 +96,12 @@ var FormData = require('form-data');
|
|
|
96
96
|
var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
97
97
|
var _this = this;
|
|
98
98
|
return {
|
|
99
|
-
/**
|
|
100
|
-
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
101
|
-
* @summary Invoice Match Suggestion
|
|
102
|
-
* @param {string} code Code of the bank transaction to generate match suggestions for
|
|
103
|
-
* @param {string} [authorization] Bearer Token
|
|
104
|
-
* @param {*} [options] Override http request option.
|
|
105
|
-
* @throws {RequiredError}
|
|
106
|
-
*/
|
|
107
|
-
generateInvoiceMatchSuggestion: function (code, authorization, options) {
|
|
108
|
-
if (options === void 0) { options = {}; }
|
|
109
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
110
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
111
|
-
return __generator(this, function (_a) {
|
|
112
|
-
switch (_a.label) {
|
|
113
|
-
case 0:
|
|
114
|
-
// verify required parameter 'code' is not null or undefined
|
|
115
|
-
(0, common_1.assertParamExists)('generateInvoiceMatchSuggestion', 'code', code);
|
|
116
|
-
localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/generate-invoice-match-suggestion"
|
|
117
|
-
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
118
|
-
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
119
|
-
if (configuration) {
|
|
120
|
-
baseOptions = configuration.baseOptions;
|
|
121
|
-
baseAccessToken = configuration.accessToken;
|
|
122
|
-
}
|
|
123
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
124
|
-
localVarHeaderParameter = {};
|
|
125
|
-
localVarQueryParameter = {};
|
|
126
|
-
// authentication bearer required
|
|
127
|
-
// http bearer authentication required
|
|
128
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
129
|
-
case 1:
|
|
130
|
-
// authentication bearer required
|
|
131
|
-
// http bearer authentication required
|
|
132
|
-
_a.sent();
|
|
133
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
134
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
135
|
-
}
|
|
136
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
137
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
139
|
-
return [2 /*return*/, {
|
|
140
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
141
|
-
options: localVarRequestOptions,
|
|
142
|
-
}];
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
});
|
|
146
|
-
},
|
|
147
99
|
/**
|
|
148
100
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
149
101
|
* @summary Retrieve the bank transaction
|
|
150
102
|
* @param {string} code
|
|
151
103
|
* @param {string} [authorization] Bearer Token
|
|
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: bankAccount, transaction
|
|
104
|
+
* @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>
|
|
153
105
|
* @param {*} [options] Override http request option.
|
|
154
106
|
* @throws {RequiredError}
|
|
155
107
|
*/
|
|
@@ -197,9 +149,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
197
149
|
});
|
|
198
150
|
},
|
|
199
151
|
/**
|
|
200
|
-
* This will import bank transactions from a MT940
|
|
152
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
201
153
|
* @summary Create the bank transactions
|
|
202
|
-
* @param {any} file MT940
|
|
154
|
+
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
203
155
|
* @param {string} [authorization] Bearer Token
|
|
204
156
|
* @param {*} [options] Override http request option.
|
|
205
157
|
* @throws {RequiredError}
|
|
@@ -306,11 +258,11 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
306
258
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
307
259
|
* @summary List bank transactions
|
|
308
260
|
* @param {string} [authorization] Bearer Token
|
|
309
|
-
* @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: id, code, bankAccountId, bankAccountNumber,
|
|
310
|
-
* @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: id, code, bankAccountId, bankAccountNumber,
|
|
261
|
+
* @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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
262
|
+
* @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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
311
263
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
312
|
-
* @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: id, createdAt, transactionDate, entryDate</i>
|
|
313
|
-
* @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
|
|
264
|
+
* @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: id, createdAt, amount, transactionDate, entryDate</i>
|
|
265
|
+
* @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>
|
|
314
266
|
* @param {*} [options] Override http request option.
|
|
315
267
|
* @throws {RequiredError}
|
|
316
268
|
*/
|
|
@@ -429,33 +381,12 @@ exports.BankTransactionApiAxiosParamCreator = BankTransactionApiAxiosParamCreato
|
|
|
429
381
|
var BankTransactionApiFp = function (configuration) {
|
|
430
382
|
var localVarAxiosParamCreator = (0, exports.BankTransactionApiAxiosParamCreator)(configuration);
|
|
431
383
|
return {
|
|
432
|
-
/**
|
|
433
|
-
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
434
|
-
* @summary Invoice Match Suggestion
|
|
435
|
-
* @param {string} code Code of the bank transaction to generate match suggestions for
|
|
436
|
-
* @param {string} [authorization] Bearer Token
|
|
437
|
-
* @param {*} [options] Override http request option.
|
|
438
|
-
* @throws {RequiredError}
|
|
439
|
-
*/
|
|
440
|
-
generateInvoiceMatchSuggestion: function (code, authorization, options) {
|
|
441
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
442
|
-
var localVarAxiosArgs;
|
|
443
|
-
return __generator(this, function (_a) {
|
|
444
|
-
switch (_a.label) {
|
|
445
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.generateInvoiceMatchSuggestion(code, authorization, options)];
|
|
446
|
-
case 1:
|
|
447
|
-
localVarAxiosArgs = _a.sent();
|
|
448
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
449
|
-
}
|
|
450
|
-
});
|
|
451
|
-
});
|
|
452
|
-
},
|
|
453
384
|
/**
|
|
454
385
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
455
386
|
* @summary Retrieve the bank transaction
|
|
456
387
|
* @param {string} code
|
|
457
388
|
* @param {string} [authorization] Bearer Token
|
|
458
|
-
* @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
|
|
389
|
+
* @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>
|
|
459
390
|
* @param {*} [options] Override http request option.
|
|
460
391
|
* @throws {RequiredError}
|
|
461
392
|
*/
|
|
@@ -473,9 +404,9 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
473
404
|
});
|
|
474
405
|
},
|
|
475
406
|
/**
|
|
476
|
-
* This will import bank transactions from a MT940
|
|
407
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
477
408
|
* @summary Create the bank transactions
|
|
478
|
-
* @param {any} file MT940
|
|
409
|
+
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
479
410
|
* @param {string} [authorization] Bearer Token
|
|
480
411
|
* @param {*} [options] Override http request option.
|
|
481
412
|
* @throws {RequiredError}
|
|
@@ -519,11 +450,11 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
519
450
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
520
451
|
* @summary List bank transactions
|
|
521
452
|
* @param {string} [authorization] Bearer Token
|
|
522
|
-
* @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: id, code, bankAccountId, bankAccountNumber,
|
|
523
|
-
* @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: id, code, bankAccountId, bankAccountNumber,
|
|
453
|
+
* @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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
454
|
+
* @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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
524
455
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
525
|
-
* @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: id, createdAt, transactionDate, entryDate</i>
|
|
526
|
-
* @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
|
|
456
|
+
* @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: id, createdAt, amount, transactionDate, entryDate</i>
|
|
457
|
+
* @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>
|
|
527
458
|
* @param {*} [options] Override http request option.
|
|
528
459
|
* @throws {RequiredError}
|
|
529
460
|
*/
|
|
@@ -572,23 +503,12 @@ exports.BankTransactionApiFp = BankTransactionApiFp;
|
|
|
572
503
|
var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
573
504
|
var localVarFp = (0, exports.BankTransactionApiFp)(configuration);
|
|
574
505
|
return {
|
|
575
|
-
/**
|
|
576
|
-
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
577
|
-
* @summary Invoice Match Suggestion
|
|
578
|
-
* @param {string} code Code of the bank transaction to generate match suggestions for
|
|
579
|
-
* @param {string} [authorization] Bearer Token
|
|
580
|
-
* @param {*} [options] Override http request option.
|
|
581
|
-
* @throws {RequiredError}
|
|
582
|
-
*/
|
|
583
|
-
generateInvoiceMatchSuggestion: function (code, authorization, options) {
|
|
584
|
-
return localVarFp.generateInvoiceMatchSuggestion(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
585
|
-
},
|
|
586
506
|
/**
|
|
587
507
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
588
508
|
* @summary Retrieve the bank transaction
|
|
589
509
|
* @param {string} code
|
|
590
510
|
* @param {string} [authorization] Bearer Token
|
|
591
|
-
* @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
|
|
511
|
+
* @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>
|
|
592
512
|
* @param {*} [options] Override http request option.
|
|
593
513
|
* @throws {RequiredError}
|
|
594
514
|
*/
|
|
@@ -596,9 +516,9 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
596
516
|
return localVarFp.getBankTransaction(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
597
517
|
},
|
|
598
518
|
/**
|
|
599
|
-
* This will import bank transactions from a MT940
|
|
519
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
600
520
|
* @summary Create the bank transactions
|
|
601
|
-
* @param {any} file MT940
|
|
521
|
+
* @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
|
|
602
522
|
* @param {string} [authorization] Bearer Token
|
|
603
523
|
* @param {*} [options] Override http request option.
|
|
604
524
|
* @throws {RequiredError}
|
|
@@ -622,11 +542,11 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
622
542
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
623
543
|
* @summary List bank transactions
|
|
624
544
|
* @param {string} [authorization] Bearer Token
|
|
625
|
-
* @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: id, code, bankAccountId, bankAccountNumber,
|
|
626
|
-
* @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: id, code, bankAccountId, bankAccountNumber,
|
|
545
|
+
* @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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
546
|
+
* @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: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
627
547
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, amount</i>
|
|
628
|
-
* @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: id, createdAt, transactionDate, entryDate</i>
|
|
629
|
-
* @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
|
|
548
|
+
* @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: id, createdAt, amount, transactionDate, entryDate</i>
|
|
549
|
+
* @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>
|
|
630
550
|
* @param {*} [options] Override http request option.
|
|
631
551
|
* @throws {RequiredError}
|
|
632
552
|
*/
|
|
@@ -659,18 +579,6 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
659
579
|
function BankTransactionApi() {
|
|
660
580
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
661
581
|
}
|
|
662
|
-
/**
|
|
663
|
-
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
664
|
-
* @summary Invoice Match Suggestion
|
|
665
|
-
* @param {BankTransactionApiGenerateInvoiceMatchSuggestionRequest} requestParameters Request parameters.
|
|
666
|
-
* @param {*} [options] Override http request option.
|
|
667
|
-
* @throws {RequiredError}
|
|
668
|
-
* @memberof BankTransactionApi
|
|
669
|
-
*/
|
|
670
|
-
BankTransactionApi.prototype.generateInvoiceMatchSuggestion = function (requestParameters, options) {
|
|
671
|
-
var _this = this;
|
|
672
|
-
return (0, exports.BankTransactionApiFp)(this.configuration).generateInvoiceMatchSuggestion(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
673
|
-
};
|
|
674
582
|
/**
|
|
675
583
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
676
584
|
* @summary Retrieve the bank transaction
|
|
@@ -684,7 +592,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
684
592
|
return (0, exports.BankTransactionApiFp)(this.configuration).getBankTransaction(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
685
593
|
};
|
|
686
594
|
/**
|
|
687
|
-
* This will import bank transactions from a MT940
|
|
595
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
688
596
|
* @summary Create the bank transactions
|
|
689
597
|
* @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
|
|
690
598
|
* @param {*} [options] Override http request option.
|
|
@@ -9,8 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { InvoiceMatchSuggestionClass } from './invoice-match-suggestion-class';
|
|
13
|
-
import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
|
|
14
12
|
/**
|
|
15
13
|
*
|
|
16
14
|
* @export
|
|
@@ -42,11 +40,11 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
42
40
|
*/
|
|
43
41
|
'bankAccountNumber': string;
|
|
44
42
|
/**
|
|
45
|
-
* Reference number derived from the MT940
|
|
43
|
+
* Reference number derived from the MT940 swift Insturctions
|
|
46
44
|
* @type {string}
|
|
47
45
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
48
46
|
*/
|
|
49
|
-
'
|
|
47
|
+
'swiftMessageReference'?: string;
|
|
50
48
|
/**
|
|
51
49
|
* Currency of the transaction.
|
|
52
50
|
* @type {string}
|
|
@@ -107,12 +105,6 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
107
105
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
108
106
|
*/
|
|
109
107
|
'isLinked': boolean;
|
|
110
|
-
/**
|
|
111
|
-
* The file format of the bank transaction
|
|
112
|
-
* @type {string}
|
|
113
|
-
* @memberof BankTransactionClassWithoutExpandProperties
|
|
114
|
-
*/
|
|
115
|
-
'importedFrom': string;
|
|
116
108
|
/**
|
|
117
109
|
* Time at which the object was created.
|
|
118
110
|
* @type {string}
|
|
@@ -131,16 +123,4 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
131
123
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
132
124
|
*/
|
|
133
125
|
'updatedBy': string;
|
|
134
|
-
/**
|
|
135
|
-
* The match suggestions for invoices
|
|
136
|
-
* @type {Array<InvoiceMatchSuggestionClass>}
|
|
137
|
-
* @memberof BankTransactionClassWithoutExpandProperties
|
|
138
|
-
*/
|
|
139
|
-
'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
|
|
140
|
-
/**
|
|
141
|
-
* The progress of the suggestion generation
|
|
142
|
-
* @type {SuggestionGenerationProgressClass}
|
|
143
|
-
* @memberof BankTransactionClassWithoutExpandProperties
|
|
144
|
-
*/
|
|
145
|
-
'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
|
|
146
126
|
}
|