@emilgroup/payment-sdk 1.13.1-beta.7 → 1.13.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 -8
- 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 -8
- package/models/bank-transaction-class-without-expand-properties.ts +2 -8
- package/models/bank-transaction-class.ts +2 -22
- package/models/index.ts +0 -3
- package/models/unlinked-bank-transaction-response-class.ts +2 -8
- 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.
|
|
@@ -92,60 +92,12 @@ var base_1 = require("../base");
|
|
|
92
92
|
var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
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: function (code, authorization, options) {
|
|
104
|
-
if (options === void 0) { options = {}; }
|
|
105
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
|
-
return __generator(this, function (_a) {
|
|
108
|
-
switch (_a.label) {
|
|
109
|
-
case 0:
|
|
110
|
-
// verify required parameter 'code' is not null or undefined
|
|
111
|
-
(0, common_1.assertParamExists)('generateInvoiceMatchSuggestion', 'code', code);
|
|
112
|
-
localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/generate-invoice-match-suggestion"
|
|
113
|
-
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
114
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
115
|
-
if (configuration) {
|
|
116
|
-
baseOptions = configuration.baseOptions;
|
|
117
|
-
baseAccessToken = configuration.accessToken;
|
|
118
|
-
}
|
|
119
|
-
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
120
|
-
localVarHeaderParameter = {};
|
|
121
|
-
localVarQueryParameter = {};
|
|
122
|
-
// authentication bearer required
|
|
123
|
-
// http bearer authentication required
|
|
124
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
125
|
-
case 1:
|
|
126
|
-
// authentication bearer required
|
|
127
|
-
// http bearer authentication required
|
|
128
|
-
_a.sent();
|
|
129
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
130
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
131
|
-
}
|
|
132
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
135
|
-
return [2 /*return*/, {
|
|
136
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
137
|
-
options: localVarRequestOptions,
|
|
138
|
-
}];
|
|
139
|
-
}
|
|
140
|
-
});
|
|
141
|
-
});
|
|
142
|
-
},
|
|
143
95
|
/**
|
|
144
96
|
* 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\"
|
|
145
97
|
* @summary Retrieve the bank transaction
|
|
146
98
|
* @param {string} code
|
|
147
99
|
* @param {string} [authorization] Bearer Token
|
|
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
|
|
100
|
+
* @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>
|
|
149
101
|
* @param {*} [options] Override http request option.
|
|
150
102
|
* @throws {RequiredError}
|
|
151
103
|
*/
|
|
@@ -193,9 +145,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
193
145
|
});
|
|
194
146
|
},
|
|
195
147
|
/**
|
|
196
|
-
* This will import bank transactions from a MT940
|
|
148
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
197
149
|
* @summary Create the bank transactions
|
|
198
|
-
* @param {any} file MT940
|
|
150
|
+
* @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
|
|
199
151
|
* @param {string} [authorization] Bearer Token
|
|
200
152
|
* @param {*} [options] Override http request option.
|
|
201
153
|
* @throws {RequiredError}
|
|
@@ -301,11 +253,11 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
301
253
|
* 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\"
|
|
302
254
|
* @summary List bank transactions
|
|
303
255
|
* @param {string} [authorization] Bearer Token
|
|
304
|
-
* @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,
|
|
305
|
-
* @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,
|
|
256
|
+
* @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>
|
|
257
|
+
* @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>
|
|
306
258
|
* @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>
|
|
307
|
-
* @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>
|
|
308
|
-
* @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
|
|
259
|
+
* @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>
|
|
260
|
+
* @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>
|
|
309
261
|
* @param {*} [options] Override http request option.
|
|
310
262
|
* @throws {RequiredError}
|
|
311
263
|
*/
|
|
@@ -424,33 +376,12 @@ exports.BankTransactionApiAxiosParamCreator = BankTransactionApiAxiosParamCreato
|
|
|
424
376
|
var BankTransactionApiFp = function (configuration) {
|
|
425
377
|
var localVarAxiosParamCreator = (0, exports.BankTransactionApiAxiosParamCreator)(configuration);
|
|
426
378
|
return {
|
|
427
|
-
/**
|
|
428
|
-
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
429
|
-
* @summary Invoice Match Suggestion
|
|
430
|
-
* @param {string} code Code of the bank transaction to generate match suggestions for
|
|
431
|
-
* @param {string} [authorization] Bearer Token
|
|
432
|
-
* @param {*} [options] Override http request option.
|
|
433
|
-
* @throws {RequiredError}
|
|
434
|
-
*/
|
|
435
|
-
generateInvoiceMatchSuggestion: function (code, authorization, options) {
|
|
436
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
437
|
-
var localVarAxiosArgs;
|
|
438
|
-
return __generator(this, function (_a) {
|
|
439
|
-
switch (_a.label) {
|
|
440
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.generateInvoiceMatchSuggestion(code, authorization, options)];
|
|
441
|
-
case 1:
|
|
442
|
-
localVarAxiosArgs = _a.sent();
|
|
443
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
444
|
-
}
|
|
445
|
-
});
|
|
446
|
-
});
|
|
447
|
-
},
|
|
448
379
|
/**
|
|
449
380
|
* 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\"
|
|
450
381
|
* @summary Retrieve the bank transaction
|
|
451
382
|
* @param {string} code
|
|
452
383
|
* @param {string} [authorization] Bearer Token
|
|
453
|
-
* @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
|
|
384
|
+
* @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>
|
|
454
385
|
* @param {*} [options] Override http request option.
|
|
455
386
|
* @throws {RequiredError}
|
|
456
387
|
*/
|
|
@@ -468,9 +399,9 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
468
399
|
});
|
|
469
400
|
},
|
|
470
401
|
/**
|
|
471
|
-
* This will import bank transactions from a MT940
|
|
402
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
472
403
|
* @summary Create the bank transactions
|
|
473
|
-
* @param {any} file MT940
|
|
404
|
+
* @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
|
|
474
405
|
* @param {string} [authorization] Bearer Token
|
|
475
406
|
* @param {*} [options] Override http request option.
|
|
476
407
|
* @throws {RequiredError}
|
|
@@ -514,11 +445,11 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
514
445
|
* 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\"
|
|
515
446
|
* @summary List bank transactions
|
|
516
447
|
* @param {string} [authorization] Bearer Token
|
|
517
|
-
* @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,
|
|
518
|
-
* @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,
|
|
448
|
+
* @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>
|
|
449
|
+
* @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>
|
|
519
450
|
* @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>
|
|
520
|
-
* @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>
|
|
521
|
-
* @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
|
|
451
|
+
* @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>
|
|
452
|
+
* @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>
|
|
522
453
|
* @param {*} [options] Override http request option.
|
|
523
454
|
* @throws {RequiredError}
|
|
524
455
|
*/
|
|
@@ -567,23 +498,12 @@ exports.BankTransactionApiFp = BankTransactionApiFp;
|
|
|
567
498
|
var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
568
499
|
var localVarFp = (0, exports.BankTransactionApiFp)(configuration);
|
|
569
500
|
return {
|
|
570
|
-
/**
|
|
571
|
-
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
572
|
-
* @summary Invoice Match Suggestion
|
|
573
|
-
* @param {string} code Code of the bank transaction to generate match suggestions for
|
|
574
|
-
* @param {string} [authorization] Bearer Token
|
|
575
|
-
* @param {*} [options] Override http request option.
|
|
576
|
-
* @throws {RequiredError}
|
|
577
|
-
*/
|
|
578
|
-
generateInvoiceMatchSuggestion: function (code, authorization, options) {
|
|
579
|
-
return localVarFp.generateInvoiceMatchSuggestion(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
580
|
-
},
|
|
581
501
|
/**
|
|
582
502
|
* 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\"
|
|
583
503
|
* @summary Retrieve the bank transaction
|
|
584
504
|
* @param {string} code
|
|
585
505
|
* @param {string} [authorization] Bearer Token
|
|
586
|
-
* @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
|
|
506
|
+
* @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>
|
|
587
507
|
* @param {*} [options] Override http request option.
|
|
588
508
|
* @throws {RequiredError}
|
|
589
509
|
*/
|
|
@@ -591,9 +511,9 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
591
511
|
return localVarFp.getBankTransaction(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
592
512
|
},
|
|
593
513
|
/**
|
|
594
|
-
* This will import bank transactions from a MT940
|
|
514
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
595
515
|
* @summary Create the bank transactions
|
|
596
|
-
* @param {any} file MT940
|
|
516
|
+
* @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
|
|
597
517
|
* @param {string} [authorization] Bearer Token
|
|
598
518
|
* @param {*} [options] Override http request option.
|
|
599
519
|
* @throws {RequiredError}
|
|
@@ -617,11 +537,11 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
617
537
|
* 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\"
|
|
618
538
|
* @summary List bank transactions
|
|
619
539
|
* @param {string} [authorization] Bearer Token
|
|
620
|
-
* @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,
|
|
621
|
-
* @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,
|
|
540
|
+
* @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>
|
|
541
|
+
* @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>
|
|
622
542
|
* @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>
|
|
623
|
-
* @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>
|
|
624
|
-
* @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
|
|
543
|
+
* @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>
|
|
544
|
+
* @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>
|
|
625
545
|
* @param {*} [options] Override http request option.
|
|
626
546
|
* @throws {RequiredError}
|
|
627
547
|
*/
|
|
@@ -654,18 +574,6 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
654
574
|
function BankTransactionApi() {
|
|
655
575
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
656
576
|
}
|
|
657
|
-
/**
|
|
658
|
-
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
659
|
-
* @summary Invoice Match Suggestion
|
|
660
|
-
* @param {BankTransactionApiGenerateInvoiceMatchSuggestionRequest} requestParameters Request parameters.
|
|
661
|
-
* @param {*} [options] Override http request option.
|
|
662
|
-
* @throws {RequiredError}
|
|
663
|
-
* @memberof BankTransactionApi
|
|
664
|
-
*/
|
|
665
|
-
BankTransactionApi.prototype.generateInvoiceMatchSuggestion = function (requestParameters, options) {
|
|
666
|
-
var _this = this;
|
|
667
|
-
return (0, exports.BankTransactionApiFp)(this.configuration).generateInvoiceMatchSuggestion(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
668
|
-
};
|
|
669
577
|
/**
|
|
670
578
|
* 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\"
|
|
671
579
|
* @summary Retrieve the bank transaction
|
|
@@ -679,7 +587,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
679
587
|
return (0, exports.BankTransactionApiFp)(this.configuration).getBankTransaction(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
680
588
|
};
|
|
681
589
|
/**
|
|
682
|
-
* This will import bank transactions from a MT940
|
|
590
|
+
* This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
683
591
|
* @summary Create the bank transactions
|
|
684
592
|
* @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
|
|
685
593
|
* @param {*} [options] Override http request option.
|
|
@@ -40,11 +40,11 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
40
40
|
*/
|
|
41
41
|
'bankAccountNumber': string;
|
|
42
42
|
/**
|
|
43
|
-
* Reference number derived from the MT940
|
|
43
|
+
* Reference number derived from the MT940 swift Insturctions
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
46
46
|
*/
|
|
47
|
-
'
|
|
47
|
+
'swiftMessageReference'?: string;
|
|
48
48
|
/**
|
|
49
49
|
* Currency of the transaction.
|
|
50
50
|
* @type {string}
|
|
@@ -105,12 +105,6 @@ export interface BankTransactionClassWithoutExpandProperties {
|
|
|
105
105
|
* @memberof BankTransactionClassWithoutExpandProperties
|
|
106
106
|
*/
|
|
107
107
|
'isLinked': boolean;
|
|
108
|
-
/**
|
|
109
|
-
* The file format of the bank transaction
|
|
110
|
-
* @type {string}
|
|
111
|
-
* @memberof BankTransactionClassWithoutExpandProperties
|
|
112
|
-
*/
|
|
113
|
-
'importedFrom': string;
|
|
114
108
|
/**
|
|
115
109
|
* Time at which the object was created.
|
|
116
110
|
* @type {string}
|
|
@@ -9,9 +9,7 @@
|
|
|
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
12
|
import { SharedTransactionClass } from './shared-transaction-class';
|
|
14
|
-
import { SuggestionGenerationProgressClass } from './suggestion-generation-progress-class';
|
|
15
13
|
import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
|
|
16
14
|
/**
|
|
17
15
|
*
|
|
@@ -44,11 +42,11 @@ export interface BankTransactionClass {
|
|
|
44
42
|
*/
|
|
45
43
|
'bankAccountNumber': string;
|
|
46
44
|
/**
|
|
47
|
-
* Reference number derived from the MT940
|
|
45
|
+
* Reference number derived from the MT940 swift Insturctions
|
|
48
46
|
* @type {string}
|
|
49
47
|
* @memberof BankTransactionClass
|
|
50
48
|
*/
|
|
51
|
-
'
|
|
49
|
+
'swiftMessageReference'?: string;
|
|
52
50
|
/**
|
|
53
51
|
* Currency of the transaction.
|
|
54
52
|
* @type {string}
|
|
@@ -121,12 +119,6 @@ export interface BankTransactionClass {
|
|
|
121
119
|
* @memberof BankTransactionClass
|
|
122
120
|
*/
|
|
123
121
|
'linkedTransaction'?: SharedTransactionClass;
|
|
124
|
-
/**
|
|
125
|
-
* The file format of the bank transaction
|
|
126
|
-
* @type {string}
|
|
127
|
-
* @memberof BankTransactionClass
|
|
128
|
-
*/
|
|
129
|
-
'importedFrom': string;
|
|
130
122
|
/**
|
|
131
123
|
* Time at which the object was created.
|
|
132
124
|
* @type {string}
|
|
@@ -145,16 +137,4 @@ export interface BankTransactionClass {
|
|
|
145
137
|
* @memberof BankTransactionClass
|
|
146
138
|
*/
|
|
147
139
|
'updatedBy': string;
|
|
148
|
-
/**
|
|
149
|
-
* The match suggestions for invoices
|
|
150
|
-
* @type {Array<InvoiceMatchSuggestionClass>}
|
|
151
|
-
* @memberof BankTransactionClass
|
|
152
|
-
*/
|
|
153
|
-
'invoiceMatchSuggestions': Array<InvoiceMatchSuggestionClass>;
|
|
154
|
-
/**
|
|
155
|
-
* The progress of the suggestion generation
|
|
156
|
-
* @type {SuggestionGenerationProgressClass}
|
|
157
|
-
* @memberof BankTransactionClass
|
|
158
|
-
*/
|
|
159
|
-
'suggestionGenerationProgress'?: SuggestionGenerationProgressClass;
|
|
160
140
|
}
|