@payabli/sdk-node 0.0.128 → 0.0.130
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/LICENSE.md +8 -0
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/bill/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/bill/client/Client.js +2 -2
- package/dist/cjs/api/resources/cloud/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/cloud/client/Client.js +4 -4
- package/dist/cjs/api/resources/export/client/Client.d.ts +14 -14
- package/dist/cjs/api/resources/export/client/Client.js +14 -14
- package/dist/cjs/api/resources/hostedPaymentPages/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/hostedPaymentPages/client/Client.js +3 -3
- package/dist/cjs/api/resources/invoice/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/invoice/client/Client.js +3 -3
- package/dist/cjs/api/resources/lineItem/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/lineItem/client/Client.js +2 -2
- package/dist/cjs/api/resources/moneyIn/client/Client.d.ts +10 -10
- package/dist/cjs/api/resources/moneyIn/client/Client.js +10 -10
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailResponseData.d.ts +2 -2
- package/dist/cjs/api/resources/moneyOut/client/Client.d.ts +31 -0
- package/dist/cjs/api/resources/moneyOut/client/Client.js +75 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/AllowedCheckPaymentStatus.d.ts +10 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/AllowedCheckPaymentStatus.js +13 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/index.js +1 -0
- package/dist/cjs/api/resources/organization/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/organization/client/Client.js +1 -1
- package/dist/cjs/api/resources/paypoint/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/paypoint/client/Client.js +6 -6
- package/dist/cjs/api/resources/query/client/Client.d.ts +63 -2
- package/dist/cjs/api/resources/query/client/Client.js +228 -2
- package/dist/cjs/api/resources/query/client/requests/ListTransactionsOrgRequest.d.ts +0 -1
- package/dist/cjs/api/resources/query/client/requests/ListTransferDetailsOutRequest.d.ts +45 -0
- package/dist/cjs/api/resources/query/client/requests/ListTransferDetailsOutRequest.js +3 -0
- package/dist/cjs/api/resources/query/client/requests/ListTransfersOutOrgRequest.d.ts +46 -0
- package/dist/cjs/api/resources/query/client/requests/ListTransfersOutOrgRequest.js +3 -0
- package/dist/cjs/api/resources/query/client/requests/ListTransfersOutPaypointRequest.d.ts +46 -0
- package/dist/cjs/api/resources/query/client/requests/ListTransfersOutPaypointRequest.js +3 -0
- package/dist/cjs/api/resources/query/client/requests/ListTransfersPaypointRequest.d.ts +0 -1
- package/dist/cjs/api/resources/query/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/queryTypes/types/QueryBatchesResponse.d.ts +3 -3
- package/dist/cjs/api/resources/queryTypes/types/TransferOutBankAccount.d.ts +11 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutBankAccount.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutDetailBill.d.ts +36 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutDetailBill.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutDetailBillAttachment.d.ts +15 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutDetailBillAttachment.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutDetailCheckData.d.ts +9 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutDetailCheckData.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutDetailEvent.d.ts +11 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutDetailEvent.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutDetailPaymentData.d.ts +41 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutDetailPaymentData.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutDetailQueryResponse.d.ts +10 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutDetailQueryResponse.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutDetailRecord.d.ts +132 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutDetailRecord.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutDetailVendor.d.ts +96 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutDetailVendor.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutDetailVendorBillingData.d.ts +35 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutDetailVendorBillingData.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutEventData.d.ts +15 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutEventData.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutMessage.d.ts +22 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutMessage.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutMessageProperties.d.ts +9 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutMessageProperties.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutQueryResponse.d.ts +10 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutQueryResponse.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutRecord.d.ts +74 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutRecord.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutSummary.d.ts +11 -0
- package/dist/cjs/api/resources/queryTypes/types/TransferOutSummary.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/index.d.ts +16 -0
- package/dist/cjs/api/resources/queryTypes/types/index.js +16 -0
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2BadRequestError.d.ts +1 -1
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2ResponseCode.d.ts +1 -1
- package/dist/cjs/api/types/Entry.d.ts +1 -1
- package/dist/cjs/api/types/MaxTicket.d.ts +1 -1
- package/dist/cjs/api/types/MinTicket.d.ts +1 -1
- package/dist/cjs/api/types/PendingFeeAmount.d.ts +1 -1
- package/dist/cjs/api/types/QueryTransactionEvents.d.ts +1 -1
- package/dist/cjs/api/types/Responsecode.d.ts +1 -1
- package/dist/cjs/api/types/ResultCodeText.d.ts +1 -1
- package/dist/cjs/api/types/ResultCodev2.d.ts +1 -1
- package/dist/cjs/api/types/SettingElement.d.ts +1 -1
- package/dist/cjs/api/types/TransactionQueryRecordsCustomer.d.ts +1 -1
- package/dist/cjs/api/types/Transfer.d.ts +2 -1
- package/dist/cjs/api/types/TransferBankAccount.d.ts +1 -0
- package/dist/cjs/api/types/TransferQueryResponse.d.ts +2 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/bill/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/bill/client/Client.mjs +2 -2
- package/dist/esm/api/resources/cloud/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/cloud/client/Client.mjs +4 -4
- package/dist/esm/api/resources/export/client/Client.d.mts +14 -14
- package/dist/esm/api/resources/export/client/Client.mjs +14 -14
- package/dist/esm/api/resources/hostedPaymentPages/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/hostedPaymentPages/client/Client.mjs +3 -3
- package/dist/esm/api/resources/invoice/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/invoice/client/Client.mjs +3 -3
- package/dist/esm/api/resources/lineItem/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/lineItem/client/Client.mjs +2 -2
- package/dist/esm/api/resources/moneyIn/client/Client.d.mts +10 -10
- package/dist/esm/api/resources/moneyIn/client/Client.mjs +10 -10
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailResponseData.d.mts +2 -2
- package/dist/esm/api/resources/moneyOut/client/Client.d.mts +31 -0
- package/dist/esm/api/resources/moneyOut/client/Client.mjs +75 -0
- package/dist/esm/api/resources/moneyOutTypes/types/AllowedCheckPaymentStatus.d.mts +10 -0
- package/dist/esm/api/resources/moneyOutTypes/types/AllowedCheckPaymentStatus.mjs +10 -0
- package/dist/esm/api/resources/moneyOutTypes/types/index.d.mts +1 -0
- package/dist/esm/api/resources/moneyOutTypes/types/index.mjs +1 -0
- package/dist/esm/api/resources/organization/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/organization/client/Client.mjs +1 -1
- package/dist/esm/api/resources/paypoint/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/paypoint/client/Client.mjs +6 -6
- package/dist/esm/api/resources/query/client/Client.d.mts +63 -2
- package/dist/esm/api/resources/query/client/Client.mjs +228 -2
- package/dist/esm/api/resources/query/client/requests/ListTransactionsOrgRequest.d.mts +0 -1
- package/dist/esm/api/resources/query/client/requests/ListTransferDetailsOutRequest.d.mts +45 -0
- package/dist/esm/api/resources/query/client/requests/ListTransferDetailsOutRequest.mjs +2 -0
- package/dist/esm/api/resources/query/client/requests/ListTransfersOutOrgRequest.d.mts +46 -0
- package/dist/esm/api/resources/query/client/requests/ListTransfersOutOrgRequest.mjs +2 -0
- package/dist/esm/api/resources/query/client/requests/ListTransfersOutPaypointRequest.d.mts +46 -0
- package/dist/esm/api/resources/query/client/requests/ListTransfersOutPaypointRequest.mjs +2 -0
- package/dist/esm/api/resources/query/client/requests/ListTransfersPaypointRequest.d.mts +0 -1
- package/dist/esm/api/resources/query/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/queryTypes/types/QueryBatchesResponse.d.mts +3 -3
- package/dist/esm/api/resources/queryTypes/types/TransferOutBankAccount.d.mts +11 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutBankAccount.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutDetailBill.d.mts +36 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutDetailBill.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutDetailBillAttachment.d.mts +15 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutDetailBillAttachment.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutDetailCheckData.d.mts +9 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutDetailCheckData.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutDetailEvent.d.mts +11 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutDetailEvent.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutDetailPaymentData.d.mts +41 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutDetailPaymentData.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutDetailQueryResponse.d.mts +10 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutDetailQueryResponse.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutDetailRecord.d.mts +132 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutDetailRecord.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutDetailVendor.d.mts +96 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutDetailVendor.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutDetailVendorBillingData.d.mts +35 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutDetailVendorBillingData.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutEventData.d.mts +15 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutEventData.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutMessage.d.mts +22 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutMessage.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutMessageProperties.d.mts +9 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutMessageProperties.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutQueryResponse.d.mts +10 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutQueryResponse.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutRecord.d.mts +74 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutRecord.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutSummary.d.mts +11 -0
- package/dist/esm/api/resources/queryTypes/types/TransferOutSummary.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/index.d.mts +16 -0
- package/dist/esm/api/resources/queryTypes/types/index.mjs +16 -0
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2BadRequestError.d.mts +1 -1
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2ResponseCode.d.mts +1 -1
- package/dist/esm/api/types/Entry.d.mts +1 -1
- package/dist/esm/api/types/MaxTicket.d.mts +1 -1
- package/dist/esm/api/types/MinTicket.d.mts +1 -1
- package/dist/esm/api/types/PendingFeeAmount.d.mts +1 -1
- package/dist/esm/api/types/QueryTransactionEvents.d.mts +1 -1
- package/dist/esm/api/types/Responsecode.d.mts +1 -1
- package/dist/esm/api/types/ResultCodeText.d.mts +1 -1
- package/dist/esm/api/types/ResultCodev2.d.mts +1 -1
- package/dist/esm/api/types/SettingElement.d.mts +1 -1
- package/dist/esm/api/types/TransactionQueryRecordsCustomer.d.mts +1 -1
- package/dist/esm/api/types/Transfer.d.mts +2 -1
- package/dist/esm/api/types/TransferBankAccount.d.mts +1 -0
- package/dist/esm/api/types/TransferQueryResponse.d.mts +2 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +360 -48
|
@@ -2198,6 +2198,232 @@ class QueryClient {
|
|
|
2198
2198
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Query/transfers/org/{orgId}");
|
|
2199
2199
|
});
|
|
2200
2200
|
}
|
|
2201
|
+
/**
|
|
2202
|
+
* Retrieve a list of outbound transfers for an organization. Use filters to limit results.
|
|
2203
|
+
*
|
|
2204
|
+
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
2205
|
+
* @param {Payabli.ListTransfersOutOrgRequest} request
|
|
2206
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2207
|
+
*
|
|
2208
|
+
* @throws {@link Payabli.BadRequestError}
|
|
2209
|
+
* @throws {@link Payabli.UnauthorizedError}
|
|
2210
|
+
* @throws {@link Payabli.InternalServerError}
|
|
2211
|
+
* @throws {@link Payabli.ServiceUnavailableError}
|
|
2212
|
+
*
|
|
2213
|
+
* @example
|
|
2214
|
+
* await client.query.listTransfersOutOrg(77, {
|
|
2215
|
+
* fromRecord: 0,
|
|
2216
|
+
* limitRecord: 20
|
|
2217
|
+
* })
|
|
2218
|
+
*/
|
|
2219
|
+
listTransfersOutOrg(orgId, request = {}, requestOptions) {
|
|
2220
|
+
return core.HttpResponsePromise.fromPromise(this.__listTransfersOutOrg(orgId, request, requestOptions));
|
|
2221
|
+
}
|
|
2222
|
+
__listTransfersOutOrg(orgId_1) {
|
|
2223
|
+
return __awaiter(this, arguments, void 0, function* (orgId, request = {}, requestOptions) {
|
|
2224
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2225
|
+
const { fromRecord, limitRecord, parameters, sortBy } = request;
|
|
2226
|
+
const _queryParams = {};
|
|
2227
|
+
if (fromRecord != null) {
|
|
2228
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
2229
|
+
}
|
|
2230
|
+
if (limitRecord != null) {
|
|
2231
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
2232
|
+
}
|
|
2233
|
+
if (parameters != null) {
|
|
2234
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
2235
|
+
}
|
|
2236
|
+
if (sortBy != null) {
|
|
2237
|
+
_queryParams.sortBy = sortBy;
|
|
2238
|
+
}
|
|
2239
|
+
const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2240
|
+
const _response = yield core.fetcher({
|
|
2241
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Query/transfersOut/org/${core.url.encodePathParam(orgId)}`),
|
|
2242
|
+
method: "GET",
|
|
2243
|
+
headers: _headers,
|
|
2244
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
2245
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
2246
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
2247
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2248
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
2249
|
+
logging: this._options.logging,
|
|
2250
|
+
});
|
|
2251
|
+
if (_response.ok) {
|
|
2252
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
2253
|
+
}
|
|
2254
|
+
if (_response.error.reason === "status-code") {
|
|
2255
|
+
switch (_response.error.statusCode) {
|
|
2256
|
+
case 400:
|
|
2257
|
+
throw new Payabli.BadRequestError(_response.error.body, _response.rawResponse);
|
|
2258
|
+
case 401:
|
|
2259
|
+
throw new Payabli.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
2260
|
+
case 500:
|
|
2261
|
+
throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
|
|
2262
|
+
case 503:
|
|
2263
|
+
throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
2264
|
+
default:
|
|
2265
|
+
throw new errors.PayabliError({
|
|
2266
|
+
statusCode: _response.error.statusCode,
|
|
2267
|
+
body: _response.error.body,
|
|
2268
|
+
rawResponse: _response.rawResponse,
|
|
2269
|
+
});
|
|
2270
|
+
}
|
|
2271
|
+
}
|
|
2272
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Query/transfersOut/org/{orgId}");
|
|
2273
|
+
});
|
|
2274
|
+
}
|
|
2275
|
+
/**
|
|
2276
|
+
* Retrieve a list of outbound transfers for a paypoint. Use filters to limit results.
|
|
2277
|
+
*
|
|
2278
|
+
* @param {Payabli.Entry} entry
|
|
2279
|
+
* @param {Payabli.ListTransfersOutPaypointRequest} request
|
|
2280
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2281
|
+
*
|
|
2282
|
+
* @throws {@link Payabli.BadRequestError}
|
|
2283
|
+
* @throws {@link Payabli.UnauthorizedError}
|
|
2284
|
+
* @throws {@link Payabli.InternalServerError}
|
|
2285
|
+
* @throws {@link Payabli.ServiceUnavailableError}
|
|
2286
|
+
*
|
|
2287
|
+
* @example
|
|
2288
|
+
* await client.query.listTransfersOutPaypoint("47cade237", {
|
|
2289
|
+
* fromRecord: 0,
|
|
2290
|
+
* limitRecord: 20
|
|
2291
|
+
* })
|
|
2292
|
+
*/
|
|
2293
|
+
listTransfersOutPaypoint(entry, request = {}, requestOptions) {
|
|
2294
|
+
return core.HttpResponsePromise.fromPromise(this.__listTransfersOutPaypoint(entry, request, requestOptions));
|
|
2295
|
+
}
|
|
2296
|
+
__listTransfersOutPaypoint(entry_1) {
|
|
2297
|
+
return __awaiter(this, arguments, void 0, function* (entry, request = {}, requestOptions) {
|
|
2298
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2299
|
+
const { fromRecord, limitRecord, parameters, sortBy } = request;
|
|
2300
|
+
const _queryParams = {};
|
|
2301
|
+
if (fromRecord != null) {
|
|
2302
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
2303
|
+
}
|
|
2304
|
+
if (limitRecord != null) {
|
|
2305
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
2306
|
+
}
|
|
2307
|
+
if (parameters != null) {
|
|
2308
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
2309
|
+
}
|
|
2310
|
+
if (sortBy != null) {
|
|
2311
|
+
_queryParams.sortBy = sortBy;
|
|
2312
|
+
}
|
|
2313
|
+
const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2314
|
+
const _response = yield core.fetcher({
|
|
2315
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Query/transfersOut/${core.url.encodePathParam(entry)}`),
|
|
2316
|
+
method: "GET",
|
|
2317
|
+
headers: _headers,
|
|
2318
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
2319
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
2320
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
2321
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2322
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
2323
|
+
logging: this._options.logging,
|
|
2324
|
+
});
|
|
2325
|
+
if (_response.ok) {
|
|
2326
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
2327
|
+
}
|
|
2328
|
+
if (_response.error.reason === "status-code") {
|
|
2329
|
+
switch (_response.error.statusCode) {
|
|
2330
|
+
case 400:
|
|
2331
|
+
throw new Payabli.BadRequestError(_response.error.body, _response.rawResponse);
|
|
2332
|
+
case 401:
|
|
2333
|
+
throw new Payabli.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
2334
|
+
case 500:
|
|
2335
|
+
throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
|
|
2336
|
+
case 503:
|
|
2337
|
+
throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
2338
|
+
default:
|
|
2339
|
+
throw new errors.PayabliError({
|
|
2340
|
+
statusCode: _response.error.statusCode,
|
|
2341
|
+
body: _response.error.body,
|
|
2342
|
+
rawResponse: _response.rawResponse,
|
|
2343
|
+
});
|
|
2344
|
+
}
|
|
2345
|
+
}
|
|
2346
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Query/transfersOut/{entry}");
|
|
2347
|
+
});
|
|
2348
|
+
}
|
|
2349
|
+
/**
|
|
2350
|
+
* Retrieve details for a specific outbound transfer. Use filters to limit results.
|
|
2351
|
+
*
|
|
2352
|
+
* @param {Payabli.Entry} entry
|
|
2353
|
+
* @param {number} transferId - The numeric identifier for the transfer, assigned by Payabli.
|
|
2354
|
+
* @param {Payabli.ListTransferDetailsOutRequest} request
|
|
2355
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2356
|
+
*
|
|
2357
|
+
* @throws {@link Payabli.BadRequestError}
|
|
2358
|
+
* @throws {@link Payabli.UnauthorizedError}
|
|
2359
|
+
* @throws {@link Payabli.InternalServerError}
|
|
2360
|
+
* @throws {@link Payabli.ServiceUnavailableError}
|
|
2361
|
+
*
|
|
2362
|
+
* @example
|
|
2363
|
+
* await client.query.listTransferDetailsOut("47ace2b25", 4521, {
|
|
2364
|
+
* fromRecord: 0,
|
|
2365
|
+
* limitRecord: 20
|
|
2366
|
+
* })
|
|
2367
|
+
*/
|
|
2368
|
+
listTransferDetailsOut(entry, transferId, request = {}, requestOptions) {
|
|
2369
|
+
return core.HttpResponsePromise.fromPromise(this.__listTransferDetailsOut(entry, transferId, request, requestOptions));
|
|
2370
|
+
}
|
|
2371
|
+
__listTransferDetailsOut(entry_1, transferId_1) {
|
|
2372
|
+
return __awaiter(this, arguments, void 0, function* (entry, transferId, request = {}, requestOptions) {
|
|
2373
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2374
|
+
const { fromRecord, limitRecord, parameters, sortBy } = request;
|
|
2375
|
+
const _queryParams = {};
|
|
2376
|
+
if (fromRecord != null) {
|
|
2377
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
2378
|
+
}
|
|
2379
|
+
if (limitRecord != null) {
|
|
2380
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
2381
|
+
}
|
|
2382
|
+
if (parameters != null) {
|
|
2383
|
+
_queryParams.parameters = (0, json_js_1.toJson)(parameters);
|
|
2384
|
+
}
|
|
2385
|
+
if (sortBy != null) {
|
|
2386
|
+
_queryParams.sortBy = sortBy;
|
|
2387
|
+
}
|
|
2388
|
+
const _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2389
|
+
const _response = yield core.fetcher({
|
|
2390
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Query/transferDetailsOut/${core.url.encodePathParam(entry)}/${core.url.encodePathParam(transferId)}`),
|
|
2391
|
+
method: "GET",
|
|
2392
|
+
headers: _headers,
|
|
2393
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
2394
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
2395
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
2396
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2397
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
2398
|
+
logging: this._options.logging,
|
|
2399
|
+
});
|
|
2400
|
+
if (_response.ok) {
|
|
2401
|
+
return {
|
|
2402
|
+
data: _response.body,
|
|
2403
|
+
rawResponse: _response.rawResponse,
|
|
2404
|
+
};
|
|
2405
|
+
}
|
|
2406
|
+
if (_response.error.reason === "status-code") {
|
|
2407
|
+
switch (_response.error.statusCode) {
|
|
2408
|
+
case 400:
|
|
2409
|
+
throw new Payabli.BadRequestError(_response.error.body, _response.rawResponse);
|
|
2410
|
+
case 401:
|
|
2411
|
+
throw new Payabli.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
2412
|
+
case 500:
|
|
2413
|
+
throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
|
|
2414
|
+
case 503:
|
|
2415
|
+
throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
2416
|
+
default:
|
|
2417
|
+
throw new errors.PayabliError({
|
|
2418
|
+
statusCode: _response.error.statusCode,
|
|
2419
|
+
body: _response.error.body,
|
|
2420
|
+
rawResponse: _response.rawResponse,
|
|
2421
|
+
});
|
|
2422
|
+
}
|
|
2423
|
+
}
|
|
2424
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/Query/transferDetailsOut/{entry}/{transferId}");
|
|
2425
|
+
});
|
|
2426
|
+
}
|
|
2201
2427
|
/**
|
|
2202
2428
|
* Get list of users for an org. Use filters to limit results.
|
|
2203
2429
|
*
|
|
@@ -2277,7 +2503,7 @@ class QueryClient {
|
|
|
2277
2503
|
/**
|
|
2278
2504
|
* Get list of users for a paypoint. Use filters to limit results.
|
|
2279
2505
|
*
|
|
2280
|
-
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
2506
|
+
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/developers/api-reference/api-overview#entrypoint-vs-entry)
|
|
2281
2507
|
* @param {Payabli.ListUsersPaypointRequest} request
|
|
2282
2508
|
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2283
2509
|
*
|
|
@@ -2353,7 +2579,7 @@ class QueryClient {
|
|
|
2353
2579
|
/**
|
|
2354
2580
|
* Retrieve a list of vendors for an entrypoint. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
2355
2581
|
*
|
|
2356
|
-
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
2582
|
+
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/developers/api-reference/api-overview#entrypoint-vs-entry)
|
|
2357
2583
|
* @param {Payabli.ListVendorsRequest} request
|
|
2358
2584
|
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2359
2585
|
*
|
|
@@ -96,7 +96,6 @@ export interface ListTransactionsOrgRequest {
|
|
|
96
96
|
* - `nct` => not contains
|
|
97
97
|
* - `in` => inside array
|
|
98
98
|
* - `nin` => not inside array
|
|
99
|
-
*
|
|
100
99
|
*/
|
|
101
100
|
parameters?: Record<string, string | undefined>;
|
|
102
101
|
/** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* fromRecord: 0,
|
|
5
|
+
* limitRecord: 20
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface ListTransferDetailsOutRequest {
|
|
9
|
+
/** The number of records to skip before starting to collect the result set. */
|
|
10
|
+
fromRecord?: number;
|
|
11
|
+
/** Max number of records to return for the query. Use `0` or negative value to return all records. */
|
|
12
|
+
limitRecord?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Collection of field names, conditions, and values used to filter the query. See [Filters and Conditions Reference](/developers/developer-guides/pay-ops-reporting-engine-overview#filters-and-conditions-reference) for more information.
|
|
15
|
+
* <Info>
|
|
16
|
+
* **You must remove `parameters=` from the request before you send it, otherwise Payabli will ignore the filters.**
|
|
17
|
+
*
|
|
18
|
+
* Because of a technical limitation, you can't make a request that includes filters from the API console on this page. The response won't be filtered. Instead, copy the request, remove `parameters=` and run the request in a different client.
|
|
19
|
+
*
|
|
20
|
+
* For example:
|
|
21
|
+
*
|
|
22
|
+
* --url https://api-sandbox.payabli.com/api/Query/transactions/org/236?parameters=totalAmount(gt)=1000&limitRecord=20
|
|
23
|
+
*
|
|
24
|
+
* should become:
|
|
25
|
+
*
|
|
26
|
+
* --url https://api-sandbox.payabli.com/api/Query/transactions/org/236?totalAmount(gt)=1000&limitRecord=20
|
|
27
|
+
* </Info>
|
|
28
|
+
* List of field names accepted:
|
|
29
|
+
*
|
|
30
|
+
* - `grossAmount` (gt, ge, lt, le, eq, ne)
|
|
31
|
+
* - `returnedAmount` (gt, ge, lt, le, eq, ne)
|
|
32
|
+
* - `billingFeeAmount` (gt, ge, lt, le, eq, ne)
|
|
33
|
+
* - `netFundedAmount` (gt, ge, lt, le, eq, ne)
|
|
34
|
+
* - `adjustmentAmount` (gt, ge, lt, le, eq, ne)
|
|
35
|
+
* - `transactionId` (eq, ne, in, nin)
|
|
36
|
+
* - `category` (eq, ne, ct, nct)
|
|
37
|
+
* - `type` (eq, ne, in, nin)
|
|
38
|
+
* - `method` (eq, ne, in, nin)
|
|
39
|
+
* - `walletType` (eq, ne, in, nin)
|
|
40
|
+
* - `splitFundingAmount` (gt, ge, lt, le, eq, ne)
|
|
41
|
+
*/
|
|
42
|
+
parameters?: Record<string, string | undefined>;
|
|
43
|
+
/** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
|
|
44
|
+
sortBy?: string;
|
|
45
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* fromRecord: 0,
|
|
5
|
+
* limitRecord: 20
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface ListTransfersOutOrgRequest {
|
|
9
|
+
/** The number of records to skip before starting to collect the result set. */
|
|
10
|
+
fromRecord?: number;
|
|
11
|
+
/** Max number of records to return for the query. Use `0` or negative value to return all records. */
|
|
12
|
+
limitRecord?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Collection of field names, conditions, and values used to filter the query. See [Filters and Conditions Reference](/developers/developer-guides/pay-ops-reporting-engine-overview#filters-and-conditions-reference) for more information.
|
|
15
|
+
* <Info>
|
|
16
|
+
* **You must remove `parameters=` from the request before you send it, otherwise Payabli will ignore the filters.**
|
|
17
|
+
*
|
|
18
|
+
* Because of a technical limitation, you can't make a request that includes filters from the API console on this page. The response won't be filtered. Instead, copy the request, remove `parameters=` and run the request in a different client.
|
|
19
|
+
*
|
|
20
|
+
* For example:
|
|
21
|
+
*
|
|
22
|
+
* --url https://api-sandbox.payabli.com/api/Query/transactions/org/236?parameters=totalAmount(gt)=1000&limitRecord=20
|
|
23
|
+
*
|
|
24
|
+
* should become:
|
|
25
|
+
*
|
|
26
|
+
* --url https://api-sandbox.payabli.com/api/Query/transactions/org/236?totalAmount(gt)=1000&limitRecord=20
|
|
27
|
+
* </Info>
|
|
28
|
+
* List of field names accepted:
|
|
29
|
+
*
|
|
30
|
+
* - `transferDate` (gt, ge, lt, le, eq, ne)
|
|
31
|
+
* - `grossAmount` (gt, ge, lt, le, eq, ne)
|
|
32
|
+
* - `returnedAmount` (gt, ge, lt, le, eq, ne)
|
|
33
|
+
* - `billingFeeAmount` (gt, ge, lt, le, eq, ne)
|
|
34
|
+
* - `netFundedAmount` (gt, ge, lt, le, eq, ne)
|
|
35
|
+
* - `processor` (ne, eq, ct, nct)
|
|
36
|
+
* - `transferStatus` (ne, eq, in, nin)
|
|
37
|
+
* - `transferId` (ne, eq, in, nin)
|
|
38
|
+
* - `paypointLegalName` (ne, eq, ct, nct)
|
|
39
|
+
* - `paypointDbaName` (ne, eq, ct, nct)
|
|
40
|
+
* - `batchNumber` (ne, eq, ct, nct)
|
|
41
|
+
* - `batchId` (ne, eq, in, nin)
|
|
42
|
+
*/
|
|
43
|
+
parameters?: Record<string, string | undefined>;
|
|
44
|
+
/** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
|
|
45
|
+
sortBy?: string;
|
|
46
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* fromRecord: 0,
|
|
5
|
+
* limitRecord: 20
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface ListTransfersOutPaypointRequest {
|
|
9
|
+
/** The number of records to skip before starting to collect the result set. */
|
|
10
|
+
fromRecord?: number;
|
|
11
|
+
/** Max number of records to return for the query. Use `0` or negative value to return all records. */
|
|
12
|
+
limitRecord?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Collection of field names, conditions, and values used to filter the query. See [Filters and Conditions Reference](/developers/developer-guides/pay-ops-reporting-engine-overview#filters-and-conditions-reference) for more information.
|
|
15
|
+
* <Info>
|
|
16
|
+
* **You must remove `parameters=` from the request before you send it, otherwise Payabli will ignore the filters.**
|
|
17
|
+
*
|
|
18
|
+
* Because of a technical limitation, you can't make a request that includes filters from the API console on this page. The response won't be filtered. Instead, copy the request, remove `parameters=` and run the request in a different client.
|
|
19
|
+
*
|
|
20
|
+
* For example:
|
|
21
|
+
*
|
|
22
|
+
* --url https://api-sandbox.payabli.com/api/Query/transactions/org/236?parameters=totalAmount(gt)=1000&limitRecord=20
|
|
23
|
+
*
|
|
24
|
+
* should become:
|
|
25
|
+
*
|
|
26
|
+
* --url https://api-sandbox.payabli.com/api/Query/transactions/org/236?totalAmount(gt)=1000&limitRecord=20
|
|
27
|
+
* </Info>
|
|
28
|
+
* List of field names accepted:
|
|
29
|
+
*
|
|
30
|
+
* - `transferDate` (gt, ge, lt, le, eq, ne)
|
|
31
|
+
* - `grossAmount` (gt, ge, lt, le, eq, ne)
|
|
32
|
+
* - `returnedAmount` (gt, ge, lt, le, eq, ne)
|
|
33
|
+
* - `billingFeeAmount` (gt, ge, lt, le, eq, ne)
|
|
34
|
+
* - `netFundedAmount` (gt, ge, lt, le, eq, ne)
|
|
35
|
+
* - `processor` (ne, eq, ct, nct)
|
|
36
|
+
* - `transferStatus` (ne, eq, in, nin)
|
|
37
|
+
* - `transferId` (ne, eq, in, nin)
|
|
38
|
+
* - `paypointLegalName` (ne, eq, ct, nct)
|
|
39
|
+
* - `paypointDbaName` (ne, eq, ct, nct)
|
|
40
|
+
* - `batchNumber` (ne, eq, ct, nct)
|
|
41
|
+
* - `batchId` (ne, eq, in, nin)
|
|
42
|
+
*/
|
|
43
|
+
parameters?: Record<string, string | undefined>;
|
|
44
|
+
/** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
|
|
45
|
+
sortBy?: string;
|
|
46
|
+
}
|
|
@@ -46,7 +46,6 @@ export interface ListTransfersPaypointRequest {
|
|
|
46
46
|
* - `category` (eq, ne, ct, nct)
|
|
47
47
|
* - `type` (eq, ne, in, nin)
|
|
48
48
|
* - `method` (eq, ne, in, nin)
|
|
49
|
-
*
|
|
50
49
|
*/
|
|
51
50
|
parameters?: Record<string, string | undefined>;
|
|
52
51
|
/** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
|
|
@@ -22,6 +22,9 @@ export type { ListSubscriptionsOrgRequest } from "./ListSubscriptionsOrgRequest.
|
|
|
22
22
|
export type { ListSubscriptionsRequest } from "./ListSubscriptionsRequest.js";
|
|
23
23
|
export type { ListTransactionsOrgRequest } from "./ListTransactionsOrgRequest.js";
|
|
24
24
|
export type { ListTransactionsRequest } from "./ListTransactionsRequest.js";
|
|
25
|
+
export type { ListTransferDetailsOutRequest } from "./ListTransferDetailsOutRequest.js";
|
|
26
|
+
export type { ListTransfersOutOrgRequest } from "./ListTransfersOutOrgRequest.js";
|
|
27
|
+
export type { ListTransfersOutPaypointRequest } from "./ListTransfersOutPaypointRequest.js";
|
|
25
28
|
export type { ListTransfersPaypointRequest } from "./ListTransfersPaypointRequest.js";
|
|
26
29
|
export type { ListTransfersRequest } from "./ListTransfersRequest.js";
|
|
27
30
|
export type { ListTransfersRequestOrg } from "./ListTransfersRequestOrg.js";
|
|
@@ -39,7 +39,7 @@ import type * as Payabli from "../../../index.js";
|
|
|
39
39
|
* ParentOrgId: 105,
|
|
40
40
|
* externalPaypointID: null,
|
|
41
41
|
* EntryName: "47f4f8c7e1",
|
|
42
|
-
* BankName:
|
|
42
|
+
* BankName: "Riverdale Community Bank",
|
|
43
43
|
* BatchType: 0,
|
|
44
44
|
* Method: "combined",
|
|
45
45
|
* ExpectedDepositDate: "2025-08-26T00:00:00Z",
|
|
@@ -70,7 +70,7 @@ import type * as Payabli from "../../../index.js";
|
|
|
70
70
|
* ParentOrgId: 105,
|
|
71
71
|
* externalPaypointID: null,
|
|
72
72
|
* EntryName: "d193cf9a46",
|
|
73
|
-
* BankName:
|
|
73
|
+
* BankName: "Riverdale Community Bank",
|
|
74
74
|
* BatchType: 0,
|
|
75
75
|
* Method: "card",
|
|
76
76
|
* ExpectedDepositDate: "2023-04-19T00:00:00Z",
|
|
@@ -110,7 +110,7 @@ import type * as Payabli from "../../../index.js";
|
|
|
110
110
|
* ParentOrgId: 105,
|
|
111
111
|
* externalPaypointID: null,
|
|
112
112
|
* EntryName: "d193cf9a46",
|
|
113
|
-
* BankName:
|
|
113
|
+
* BankName: "Riverdale Community Bank",
|
|
114
114
|
* BatchType: 0,
|
|
115
115
|
* Method: "card",
|
|
116
116
|
* ExpectedDepositDate: "2023-04-15T00:00:00Z",
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bank account information for an outbound transfer.
|
|
3
|
+
*/
|
|
4
|
+
export interface TransferOutBankAccount {
|
|
5
|
+
/** The masked bank account number. */
|
|
6
|
+
accountNumber: string | null;
|
|
7
|
+
/** The bank routing number. */
|
|
8
|
+
routingNumber: string | null;
|
|
9
|
+
/** The bank name. */
|
|
10
|
+
bankName: string | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type * as Payabli from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Bill information for an outbound transfer detail.
|
|
4
|
+
*/
|
|
5
|
+
export interface TransferOutDetailBill {
|
|
6
|
+
/** Unique identifier for the bill. */
|
|
7
|
+
billId: number | null;
|
|
8
|
+
/** Lot number. */
|
|
9
|
+
LotNumber: string | null;
|
|
10
|
+
/** Accounting field 1. */
|
|
11
|
+
AccountingField1: string | null;
|
|
12
|
+
/** Accounting field 2. */
|
|
13
|
+
AccountingField2: string | null;
|
|
14
|
+
/** Payment terms. */
|
|
15
|
+
Terms: string | null;
|
|
16
|
+
/** Additional data for the bill. */
|
|
17
|
+
AdditionalData: Record<string, unknown> | null;
|
|
18
|
+
/** Attachments for the bill. */
|
|
19
|
+
attachments: Payabli.TransferOutDetailBillAttachment[] | null;
|
|
20
|
+
/** Invoice number. */
|
|
21
|
+
invoiceNumber: string | null;
|
|
22
|
+
/** Net amount of the bill. */
|
|
23
|
+
netAmount: string | null;
|
|
24
|
+
/** Date of the invoice. */
|
|
25
|
+
invoiceDate: string | null;
|
|
26
|
+
/** Due date for the bill. */
|
|
27
|
+
dueDate: string | null;
|
|
28
|
+
/** Comments on the bill. */
|
|
29
|
+
comments: string | null;
|
|
30
|
+
/** Identifier for the bill. */
|
|
31
|
+
identifier: string | null;
|
|
32
|
+
/** Discount applied. */
|
|
33
|
+
discount: number | null;
|
|
34
|
+
/** Total amount of the bill. */
|
|
35
|
+
totalAmount: number | null;
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Attachment for a bill.
|
|
3
|
+
*/
|
|
4
|
+
export interface TransferOutDetailBillAttachment {
|
|
5
|
+
/** File type. */
|
|
6
|
+
ftype: string | null;
|
|
7
|
+
/** File name. */
|
|
8
|
+
filename: string | null;
|
|
9
|
+
/** File descriptor. */
|
|
10
|
+
fileDescriptor: string | null;
|
|
11
|
+
/** File URL. */
|
|
12
|
+
furl: string | null;
|
|
13
|
+
/** File content. */
|
|
14
|
+
fContent: string | null;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Event data for an outbound transfer detail.
|
|
3
|
+
*/
|
|
4
|
+
export interface TransferOutDetailEvent {
|
|
5
|
+
/** Description of the transaction event. */
|
|
6
|
+
TransEvent: string | null;
|
|
7
|
+
/** Additional event data. */
|
|
8
|
+
EventData: string | null;
|
|
9
|
+
/** Time the event occurred. */
|
|
10
|
+
EventTime: string | null;
|
|
11
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Payment data for an outbound transfer detail.
|
|
3
|
+
*/
|
|
4
|
+
export interface TransferOutDetailPaymentData {
|
|
5
|
+
/** Masked account number. */
|
|
6
|
+
MaskedAccount: string | null;
|
|
7
|
+
/** Type of account. */
|
|
8
|
+
AccountType: string | null;
|
|
9
|
+
/** Account expiration date. */
|
|
10
|
+
AccountExp: string | null;
|
|
11
|
+
/** ZIP code associated with the account. */
|
|
12
|
+
AccountZip: string | null;
|
|
13
|
+
/** Name of the account holder. */
|
|
14
|
+
HolderName: string | null;
|
|
15
|
+
/** ID of the stored payment method. */
|
|
16
|
+
StoredId: string | null;
|
|
17
|
+
/** Initiator of the payment. */
|
|
18
|
+
Initiator: string | null;
|
|
19
|
+
/** Usage type for stored method. */
|
|
20
|
+
StoredMethodUsageType: string | null;
|
|
21
|
+
/** Sequence number. */
|
|
22
|
+
Sequence: string | null;
|
|
23
|
+
/** Description of the order. */
|
|
24
|
+
orderDescription: string | null;
|
|
25
|
+
/** Cloud signature data. */
|
|
26
|
+
cloudSignatureData: string | null;
|
|
27
|
+
/** Format of cloud signature. */
|
|
28
|
+
cloudSignatureFormat: string | null;
|
|
29
|
+
/** Additional payment details. */
|
|
30
|
+
paymentDetails: unknown | null;
|
|
31
|
+
/** Data about the payor. */
|
|
32
|
+
payorData: string | null;
|
|
33
|
+
/** Account ID. */
|
|
34
|
+
accountId: string | null;
|
|
35
|
+
/** Bank account information. */
|
|
36
|
+
bankAccount: string | null;
|
|
37
|
+
/** Gateway connector used. */
|
|
38
|
+
gatewayConnector: string | null;
|
|
39
|
+
/** BIN data for the card. */
|
|
40
|
+
binData: unknown | null;
|
|
41
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Payabli from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Response body for queries about outbound transfer details.
|
|
4
|
+
*/
|
|
5
|
+
export interface TransferOutDetailQueryResponse {
|
|
6
|
+
/** Summary information about the transfer details. */
|
|
7
|
+
Summary: Payabli.QueryTransferSummary;
|
|
8
|
+
/** List of outbound transfer detail records. */
|
|
9
|
+
Records: Payabli.TransferOutDetailRecord[];
|
|
10
|
+
}
|