@payabli/sdk-node 0.0.129 → 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/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/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/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/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/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
|
@@ -2162,6 +2162,232 @@ export class QueryClient {
|
|
|
2162
2162
|
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/Query/transfers/org/{orgId}");
|
|
2163
2163
|
});
|
|
2164
2164
|
}
|
|
2165
|
+
/**
|
|
2166
|
+
* Retrieve a list of outbound transfers for an organization. Use filters to limit results.
|
|
2167
|
+
*
|
|
2168
|
+
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
2169
|
+
* @param {Payabli.ListTransfersOutOrgRequest} request
|
|
2170
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2171
|
+
*
|
|
2172
|
+
* @throws {@link Payabli.BadRequestError}
|
|
2173
|
+
* @throws {@link Payabli.UnauthorizedError}
|
|
2174
|
+
* @throws {@link Payabli.InternalServerError}
|
|
2175
|
+
* @throws {@link Payabli.ServiceUnavailableError}
|
|
2176
|
+
*
|
|
2177
|
+
* @example
|
|
2178
|
+
* await client.query.listTransfersOutOrg(77, {
|
|
2179
|
+
* fromRecord: 0,
|
|
2180
|
+
* limitRecord: 20
|
|
2181
|
+
* })
|
|
2182
|
+
*/
|
|
2183
|
+
listTransfersOutOrg(orgId, request = {}, requestOptions) {
|
|
2184
|
+
return core.HttpResponsePromise.fromPromise(this.__listTransfersOutOrg(orgId, request, requestOptions));
|
|
2185
|
+
}
|
|
2186
|
+
__listTransfersOutOrg(orgId_1) {
|
|
2187
|
+
return __awaiter(this, arguments, void 0, function* (orgId, request = {}, requestOptions) {
|
|
2188
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2189
|
+
const { fromRecord, limitRecord, parameters, sortBy } = request;
|
|
2190
|
+
const _queryParams = {};
|
|
2191
|
+
if (fromRecord != null) {
|
|
2192
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
2193
|
+
}
|
|
2194
|
+
if (limitRecord != null) {
|
|
2195
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
2196
|
+
}
|
|
2197
|
+
if (parameters != null) {
|
|
2198
|
+
_queryParams.parameters = toJson(parameters);
|
|
2199
|
+
}
|
|
2200
|
+
if (sortBy != null) {
|
|
2201
|
+
_queryParams.sortBy = sortBy;
|
|
2202
|
+
}
|
|
2203
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2204
|
+
const _response = yield core.fetcher({
|
|
2205
|
+
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)}`),
|
|
2206
|
+
method: "GET",
|
|
2207
|
+
headers: _headers,
|
|
2208
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
2209
|
+
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,
|
|
2210
|
+
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,
|
|
2211
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2212
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
2213
|
+
logging: this._options.logging,
|
|
2214
|
+
});
|
|
2215
|
+
if (_response.ok) {
|
|
2216
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
2217
|
+
}
|
|
2218
|
+
if (_response.error.reason === "status-code") {
|
|
2219
|
+
switch (_response.error.statusCode) {
|
|
2220
|
+
case 400:
|
|
2221
|
+
throw new Payabli.BadRequestError(_response.error.body, _response.rawResponse);
|
|
2222
|
+
case 401:
|
|
2223
|
+
throw new Payabli.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
2224
|
+
case 500:
|
|
2225
|
+
throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
|
|
2226
|
+
case 503:
|
|
2227
|
+
throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
2228
|
+
default:
|
|
2229
|
+
throw new errors.PayabliError({
|
|
2230
|
+
statusCode: _response.error.statusCode,
|
|
2231
|
+
body: _response.error.body,
|
|
2232
|
+
rawResponse: _response.rawResponse,
|
|
2233
|
+
});
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
2236
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/Query/transfersOut/org/{orgId}");
|
|
2237
|
+
});
|
|
2238
|
+
}
|
|
2239
|
+
/**
|
|
2240
|
+
* Retrieve a list of outbound transfers for a paypoint. Use filters to limit results.
|
|
2241
|
+
*
|
|
2242
|
+
* @param {Payabli.Entry} entry
|
|
2243
|
+
* @param {Payabli.ListTransfersOutPaypointRequest} request
|
|
2244
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2245
|
+
*
|
|
2246
|
+
* @throws {@link Payabli.BadRequestError}
|
|
2247
|
+
* @throws {@link Payabli.UnauthorizedError}
|
|
2248
|
+
* @throws {@link Payabli.InternalServerError}
|
|
2249
|
+
* @throws {@link Payabli.ServiceUnavailableError}
|
|
2250
|
+
*
|
|
2251
|
+
* @example
|
|
2252
|
+
* await client.query.listTransfersOutPaypoint("47cade237", {
|
|
2253
|
+
* fromRecord: 0,
|
|
2254
|
+
* limitRecord: 20
|
|
2255
|
+
* })
|
|
2256
|
+
*/
|
|
2257
|
+
listTransfersOutPaypoint(entry, request = {}, requestOptions) {
|
|
2258
|
+
return core.HttpResponsePromise.fromPromise(this.__listTransfersOutPaypoint(entry, request, requestOptions));
|
|
2259
|
+
}
|
|
2260
|
+
__listTransfersOutPaypoint(entry_1) {
|
|
2261
|
+
return __awaiter(this, arguments, void 0, function* (entry, request = {}, requestOptions) {
|
|
2262
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2263
|
+
const { fromRecord, limitRecord, parameters, sortBy } = request;
|
|
2264
|
+
const _queryParams = {};
|
|
2265
|
+
if (fromRecord != null) {
|
|
2266
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
2267
|
+
}
|
|
2268
|
+
if (limitRecord != null) {
|
|
2269
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
2270
|
+
}
|
|
2271
|
+
if (parameters != null) {
|
|
2272
|
+
_queryParams.parameters = toJson(parameters);
|
|
2273
|
+
}
|
|
2274
|
+
if (sortBy != null) {
|
|
2275
|
+
_queryParams.sortBy = sortBy;
|
|
2276
|
+
}
|
|
2277
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2278
|
+
const _response = yield core.fetcher({
|
|
2279
|
+
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)}`),
|
|
2280
|
+
method: "GET",
|
|
2281
|
+
headers: _headers,
|
|
2282
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
2283
|
+
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,
|
|
2284
|
+
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,
|
|
2285
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2286
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
2287
|
+
logging: this._options.logging,
|
|
2288
|
+
});
|
|
2289
|
+
if (_response.ok) {
|
|
2290
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
2291
|
+
}
|
|
2292
|
+
if (_response.error.reason === "status-code") {
|
|
2293
|
+
switch (_response.error.statusCode) {
|
|
2294
|
+
case 400:
|
|
2295
|
+
throw new Payabli.BadRequestError(_response.error.body, _response.rawResponse);
|
|
2296
|
+
case 401:
|
|
2297
|
+
throw new Payabli.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
2298
|
+
case 500:
|
|
2299
|
+
throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
|
|
2300
|
+
case 503:
|
|
2301
|
+
throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
2302
|
+
default:
|
|
2303
|
+
throw new errors.PayabliError({
|
|
2304
|
+
statusCode: _response.error.statusCode,
|
|
2305
|
+
body: _response.error.body,
|
|
2306
|
+
rawResponse: _response.rawResponse,
|
|
2307
|
+
});
|
|
2308
|
+
}
|
|
2309
|
+
}
|
|
2310
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/Query/transfersOut/{entry}");
|
|
2311
|
+
});
|
|
2312
|
+
}
|
|
2313
|
+
/**
|
|
2314
|
+
* Retrieve details for a specific outbound transfer. Use filters to limit results.
|
|
2315
|
+
*
|
|
2316
|
+
* @param {Payabli.Entry} entry
|
|
2317
|
+
* @param {number} transferId - The numeric identifier for the transfer, assigned by Payabli.
|
|
2318
|
+
* @param {Payabli.ListTransferDetailsOutRequest} request
|
|
2319
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2320
|
+
*
|
|
2321
|
+
* @throws {@link Payabli.BadRequestError}
|
|
2322
|
+
* @throws {@link Payabli.UnauthorizedError}
|
|
2323
|
+
* @throws {@link Payabli.InternalServerError}
|
|
2324
|
+
* @throws {@link Payabli.ServiceUnavailableError}
|
|
2325
|
+
*
|
|
2326
|
+
* @example
|
|
2327
|
+
* await client.query.listTransferDetailsOut("47ace2b25", 4521, {
|
|
2328
|
+
* fromRecord: 0,
|
|
2329
|
+
* limitRecord: 20
|
|
2330
|
+
* })
|
|
2331
|
+
*/
|
|
2332
|
+
listTransferDetailsOut(entry, transferId, request = {}, requestOptions) {
|
|
2333
|
+
return core.HttpResponsePromise.fromPromise(this.__listTransferDetailsOut(entry, transferId, request, requestOptions));
|
|
2334
|
+
}
|
|
2335
|
+
__listTransferDetailsOut(entry_1, transferId_1) {
|
|
2336
|
+
return __awaiter(this, arguments, void 0, function* (entry, transferId, request = {}, requestOptions) {
|
|
2337
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
2338
|
+
const { fromRecord, limitRecord, parameters, sortBy } = request;
|
|
2339
|
+
const _queryParams = {};
|
|
2340
|
+
if (fromRecord != null) {
|
|
2341
|
+
_queryParams.fromRecord = fromRecord.toString();
|
|
2342
|
+
}
|
|
2343
|
+
if (limitRecord != null) {
|
|
2344
|
+
_queryParams.limitRecord = limitRecord.toString();
|
|
2345
|
+
}
|
|
2346
|
+
if (parameters != null) {
|
|
2347
|
+
_queryParams.parameters = toJson(parameters);
|
|
2348
|
+
}
|
|
2349
|
+
if (sortBy != null) {
|
|
2350
|
+
_queryParams.sortBy = sortBy;
|
|
2351
|
+
}
|
|
2352
|
+
const _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2353
|
+
const _response = yield core.fetcher({
|
|
2354
|
+
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)}`),
|
|
2355
|
+
method: "GET",
|
|
2356
|
+
headers: _headers,
|
|
2357
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
2358
|
+
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,
|
|
2359
|
+
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,
|
|
2360
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2361
|
+
fetchFn: (_j = this._options) === null || _j === void 0 ? void 0 : _j.fetch,
|
|
2362
|
+
logging: this._options.logging,
|
|
2363
|
+
});
|
|
2364
|
+
if (_response.ok) {
|
|
2365
|
+
return {
|
|
2366
|
+
data: _response.body,
|
|
2367
|
+
rawResponse: _response.rawResponse,
|
|
2368
|
+
};
|
|
2369
|
+
}
|
|
2370
|
+
if (_response.error.reason === "status-code") {
|
|
2371
|
+
switch (_response.error.statusCode) {
|
|
2372
|
+
case 400:
|
|
2373
|
+
throw new Payabli.BadRequestError(_response.error.body, _response.rawResponse);
|
|
2374
|
+
case 401:
|
|
2375
|
+
throw new Payabli.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
2376
|
+
case 500:
|
|
2377
|
+
throw new Payabli.InternalServerError(_response.error.body, _response.rawResponse);
|
|
2378
|
+
case 503:
|
|
2379
|
+
throw new Payabli.ServiceUnavailableError(_response.error.body, _response.rawResponse);
|
|
2380
|
+
default:
|
|
2381
|
+
throw new errors.PayabliError({
|
|
2382
|
+
statusCode: _response.error.statusCode,
|
|
2383
|
+
body: _response.error.body,
|
|
2384
|
+
rawResponse: _response.rawResponse,
|
|
2385
|
+
});
|
|
2386
|
+
}
|
|
2387
|
+
}
|
|
2388
|
+
return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/Query/transferDetailsOut/{entry}/{transferId}");
|
|
2389
|
+
});
|
|
2390
|
+
}
|
|
2165
2391
|
/**
|
|
2166
2392
|
* Get list of users for an org. Use filters to limit results.
|
|
2167
2393
|
*
|
|
@@ -2241,7 +2467,7 @@ export class QueryClient {
|
|
|
2241
2467
|
/**
|
|
2242
2468
|
* Get list of users for a paypoint. Use filters to limit results.
|
|
2243
2469
|
*
|
|
2244
|
-
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
2470
|
+
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/developers/api-reference/api-overview#entrypoint-vs-entry)
|
|
2245
2471
|
* @param {Payabli.ListUsersPaypointRequest} request
|
|
2246
2472
|
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2247
2473
|
*
|
|
@@ -2317,7 +2543,7 @@ export class QueryClient {
|
|
|
2317
2543
|
/**
|
|
2318
2544
|
* 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.
|
|
2319
2545
|
*
|
|
2320
|
-
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
2546
|
+
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/developers/api-reference/api-overview#entrypoint-vs-entry)
|
|
2321
2547
|
* @param {Payabli.ListVendorsRequest} request
|
|
2322
2548
|
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2323
2549
|
*
|
|
@@ -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.mjs";
|
|
23
23
|
export type { ListTransactionsOrgRequest } from "./ListTransactionsOrgRequest.mjs";
|
|
24
24
|
export type { ListTransactionsRequest } from "./ListTransactionsRequest.mjs";
|
|
25
|
+
export type { ListTransferDetailsOutRequest } from "./ListTransferDetailsOutRequest.mjs";
|
|
26
|
+
export type { ListTransfersOutOrgRequest } from "./ListTransfersOutOrgRequest.mjs";
|
|
27
|
+
export type { ListTransfersOutPaypointRequest } from "./ListTransfersOutPaypointRequest.mjs";
|
|
25
28
|
export type { ListTransfersPaypointRequest } from "./ListTransfersPaypointRequest.mjs";
|
|
26
29
|
export type { ListTransfersRequest } from "./ListTransfersRequest.mjs";
|
|
27
30
|
export type { ListTransfersRequestOrg } from "./ListTransfersRequestOrg.mjs";
|
|
@@ -39,7 +39,7 @@ import type * as Payabli from "../../../index.mjs";
|
|
|
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.mjs";
|
|
|
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.mjs";
|
|
|
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.mjs";
|
|
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.mjs";
|
|
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
|
+
}
|