@payabli/sdk-node 0.0.131 → 0.0.133
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 +1 -1
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/bill/types/BillOutData.d.ts +3 -3
- package/dist/cjs/api/resources/bill/types/BillResponseData.d.ts +3 -3
- package/dist/cjs/api/resources/boarding/client/Client.d.ts +41 -5
- package/dist/cjs/api/resources/boarding/client/Client.js +41 -5
- package/dist/cjs/api/resources/chargeBacks/client/requests/ResponseChargeBack.d.ts +1 -1
- package/dist/cjs/api/resources/invoice/client/requests/AddInvoiceRequest.d.ts +1 -1
- package/dist/cjs/api/resources/invoice/types/GetInvoiceRecord.d.ts +5 -5
- package/dist/cjs/api/resources/invoice/types/QueryInvoiceResponse.d.ts +5 -5
- package/dist/cjs/api/resources/moneyIn/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/moneyIn/client/Client.js +1 -1
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestCredit.d.ts +1 -1
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestPayment.d.ts +2 -2
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentAuthorize.d.ts +1 -1
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentAuthorizeV2.d.ts +1 -1
- package/dist/cjs/api/resources/moneyIn/client/requests/RequestPaymentV2.d.ts +2 -2
- package/dist/cjs/api/resources/moneyIn/types/ResponseDataRefunds.d.ts +1 -1
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailCustomer.d.ts +1 -1
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailInvoiceData.d.ts +9 -9
- package/dist/cjs/api/resources/moneyIn/types/TransactionDetailRecord.d.ts +1 -1
- package/dist/cjs/api/resources/moneyOut/client/Client.d.ts +21 -0
- package/dist/cjs/api/resources/moneyOut/client/Client.js +21 -0
- package/dist/cjs/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.ts +21 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.ts +2 -2
- package/dist/cjs/api/resources/moneyOutTypes/types/MethodElementOut.d.ts +21 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/MethodsListOut.d.ts +11 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/PaymentLinkStatus.d.ts +8 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/PaymentLinkStatus.js +11 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/moneyOutTypes/types/index.js +3 -0
- package/dist/cjs/api/resources/notification/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/notification/client/Client.js +4 -4
- package/dist/cjs/api/resources/organization/client/requests/AddOrganizationRequest.d.ts +1 -1
- package/dist/cjs/api/resources/organization/client/requests/OrganizationData.d.ts +1 -1
- package/dist/cjs/api/resources/paymentLink/client/Client.d.ts +231 -46
- package/dist/cjs/api/resources/paymentLink/client/Client.js +325 -46
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataBill.d.ts +69 -22
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataOut.d.ts +8 -25
- package/dist/cjs/api/resources/paymentLink/types/PatchOutPaymentLinkRequest.d.ts +12 -0
- package/dist/cjs/api/resources/paymentLink/types/PatchOutPaymentLinkRequest.js +3 -0
- package/dist/cjs/api/resources/paymentLink/types/PaymentPageRequestBody.d.ts +0 -79
- package/dist/cjs/api/resources/paymentLink/types/PaymentPageRequestBodyOut.d.ts +88 -0
- package/dist/cjs/api/resources/paymentLink/types/PaymentPageRequestBodyOut.js +3 -0
- package/dist/cjs/api/resources/paymentLink/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/paymentLink/types/index.js +2 -0
- package/dist/cjs/api/resources/query/client/requests/ListTransfersPaypointRequest.d.ts +1 -1
- package/dist/cjs/api/resources/queryTypes/types/LimitRecord.d.ts +1 -1
- package/dist/cjs/api/resources/queryTypes/types/QueryTransferDetailResponse.d.ts +8 -8
- package/dist/cjs/api/resources/subscription/client/requests/RequestSchedule.d.ts +1 -1
- package/dist/cjs/api/resources/tokenStorage/client/Client.d.ts +4 -1
- package/dist/cjs/api/resources/tokenStorage/client/Client.js +4 -1
- package/dist/cjs/api/resources/tokenStorage/client/requests/AddMethodRequest.d.ts +6 -3
- package/dist/cjs/api/resources/tokenStorage/client/requests/UpdateMethodRequest.d.ts +1 -1
- package/dist/cjs/api/resources/tokenStorage/types/CreateAnonymous.d.ts +1 -1
- package/dist/cjs/api/resources/tokenStorage/types/Temporary.d.ts +1 -1
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2DeclinedTransactionResponseWrapper.d.ts +2 -2
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionDetails.d.ts +14 -14
- package/dist/cjs/api/types/AcceptOauth.d.ts +1 -1
- package/dist/cjs/api/types/AcceptRegister.d.ts +1 -1
- package/dist/cjs/api/types/AchValidation.d.ts +1 -1
- package/dist/cjs/api/types/Annualrevenue.d.ts +1 -1
- package/dist/cjs/api/types/ApplePayType.d.ts +1 -1
- package/dist/cjs/api/types/ApplicationData.d.ts +1 -1
- package/dist/cjs/api/types/ApplicationDataPayIn.d.ts +3 -5
- package/dist/cjs/api/types/ApplicationDetailsRecord.d.ts +1 -1
- package/dist/cjs/api/types/ApplicationQueryRecord.d.ts +1 -1
- package/dist/cjs/api/types/Attachments.d.ts +1 -1
- package/dist/cjs/api/types/Avgmonthly.d.ts +1 -1
- package/dist/cjs/api/types/Avgticketamt.d.ts +1 -1
- package/dist/cjs/api/types/BankData.d.ts +1 -1
- package/dist/cjs/api/types/BillApprovals.d.ts +1 -1
- package/dist/cjs/api/types/BillData.d.ts +3 -3
- package/dist/cjs/api/types/BillDetailsResponse.d.ts +2 -2
- package/dist/cjs/api/types/BillEvents.d.ts +1 -1
- package/dist/cjs/api/types/BillPayOutData.d.ts +2 -2
- package/dist/cjs/api/types/BillPayOutDataRequest.d.ts +2 -2
- package/dist/cjs/api/types/BillQueryRecord2.d.ts +4 -4
- package/dist/cjs/api/types/BillQueryRecord2BillApprovalsItem.d.ts +1 -1
- package/dist/cjs/api/types/Billitems.d.ts +1 -1
- package/dist/cjs/api/types/ContactsField.d.ts +1 -1
- package/dist/cjs/api/types/DeviceId.d.ts +1 -1
- package/dist/cjs/api/types/Discount.d.ts +1 -1
- package/dist/cjs/api/types/DutyAmount.d.ts +1 -1
- package/dist/cjs/api/types/EnrollmentStatus.d.ts +1 -1
- package/dist/cjs/api/types/ExpectedProcessingDateTime.d.ts +1 -1
- package/dist/cjs/api/types/ForceCustomerCreation.d.ts +1 -1
- package/dist/cjs/api/types/FreightAmount.d.ts +1 -1
- package/dist/cjs/api/types/HasVcardTransactions.d.ts +1 -1
- package/dist/cjs/api/types/Highticketamt.d.ts +1 -1
- package/dist/cjs/api/types/Initiator.d.ts +1 -1
- package/dist/cjs/api/types/IsRoot.d.ts +1 -1
- package/dist/cjs/api/types/IsSameDayAch.d.ts +1 -1
- package/dist/cjs/api/types/LastModified.d.ts +1 -1
- package/dist/cjs/api/types/Mfa.d.ts +1 -1
- package/dist/cjs/api/types/Netamountnullable.d.ts +1 -1
- package/dist/cjs/api/types/Ownerid.d.ts +5 -1
- package/dist/cjs/api/types/Ownership.d.ts +1 -1
- package/dist/cjs/api/types/PayabliCredentials.d.ts +2 -0
- package/dist/cjs/api/types/PayabliCredentialsPascal.d.ts +2 -0
- package/dist/cjs/api/types/PaymentDetail.d.ts +1 -1
- package/dist/cjs/api/types/PayorId.d.ts +1 -1
- package/dist/cjs/api/types/PciAttestation.d.ts +1 -1
- package/dist/cjs/api/types/PendingFeeAmount.d.ts +1 -1
- package/dist/cjs/api/types/ReadOnly.d.ts +1 -1
- package/dist/cjs/api/types/RiskActionCode.d.ts +1 -1
- package/dist/cjs/api/types/RiskFlagged.d.ts +1 -1
- package/dist/cjs/api/types/RiskFlaggedOn.d.ts +1 -1
- package/dist/cjs/api/types/SaveIfSuccess.d.ts +1 -1
- package/dist/cjs/api/types/Sequence.d.ts +1 -1
- package/dist/cjs/api/types/SignerAcceptance.d.ts +1 -1
- package/dist/cjs/api/types/SignerData.d.ts +6 -2
- package/dist/cjs/api/types/SignerDataRequest.d.ts +1 -1
- package/dist/cjs/api/types/SplitFunding.d.ts +1 -1
- package/dist/cjs/api/types/StoredMethodUsageType.d.ts +1 -1
- package/dist/cjs/api/types/SubscriptionQueryRecords.d.ts +4 -4
- package/dist/cjs/api/types/Tax.d.ts +1 -1
- package/dist/cjs/api/types/TemplateCode.d.ts +1 -1
- package/dist/cjs/api/types/Ticketamt.d.ts +1 -1
- package/dist/cjs/api/types/TransactionQueryRecords.d.ts +1 -1
- package/dist/cjs/api/types/TransactionQueryRecordsCustomer.d.ts +1 -1
- package/dist/cjs/api/types/VendorPhone.d.ts +1 -1
- package/dist/cjs/api/types/Visible.d.ts +1 -1
- package/dist/cjs/api/types/index.d.ts +0 -2
- package/dist/cjs/api/types/index.js +0 -2
- 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/types/BillOutData.d.mts +3 -3
- package/dist/esm/api/resources/bill/types/BillResponseData.d.mts +3 -3
- package/dist/esm/api/resources/boarding/client/Client.d.mts +41 -5
- package/dist/esm/api/resources/boarding/client/Client.mjs +41 -5
- package/dist/esm/api/resources/chargeBacks/client/requests/ResponseChargeBack.d.mts +1 -1
- package/dist/esm/api/resources/invoice/client/requests/AddInvoiceRequest.d.mts +1 -1
- package/dist/esm/api/resources/invoice/types/GetInvoiceRecord.d.mts +5 -5
- package/dist/esm/api/resources/invoice/types/QueryInvoiceResponse.d.mts +5 -5
- package/dist/esm/api/resources/moneyIn/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/moneyIn/client/Client.mjs +1 -1
- package/dist/esm/api/resources/moneyIn/client/requests/RequestCredit.d.mts +1 -1
- package/dist/esm/api/resources/moneyIn/client/requests/RequestPayment.d.mts +2 -2
- package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentAuthorize.d.mts +1 -1
- package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentAuthorizeV2.d.mts +1 -1
- package/dist/esm/api/resources/moneyIn/client/requests/RequestPaymentV2.d.mts +2 -2
- package/dist/esm/api/resources/moneyIn/types/ResponseDataRefunds.d.mts +1 -1
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailCustomer.d.mts +1 -1
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailInvoiceData.d.mts +9 -9
- package/dist/esm/api/resources/moneyIn/types/TransactionDetailRecord.d.mts +1 -1
- package/dist/esm/api/resources/moneyOut/client/Client.d.mts +21 -0
- package/dist/esm/api/resources/moneyOut/client/Client.mjs +21 -0
- package/dist/esm/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.mts +21 -0
- package/dist/esm/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.mts +2 -2
- package/dist/esm/api/resources/moneyOutTypes/types/MethodElementOut.d.mts +21 -0
- package/dist/esm/api/resources/moneyOutTypes/types/MethodsListOut.d.mts +11 -0
- package/dist/esm/api/resources/moneyOutTypes/types/PaymentLinkStatus.d.mts +8 -0
- package/dist/esm/api/resources/moneyOutTypes/types/PaymentLinkStatus.mjs +8 -0
- package/dist/esm/api/resources/moneyOutTypes/types/index.d.mts +3 -0
- package/dist/esm/api/resources/moneyOutTypes/types/index.mjs +3 -0
- package/dist/esm/api/resources/notification/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/notification/client/Client.mjs +4 -4
- package/dist/esm/api/resources/organization/client/requests/AddOrganizationRequest.d.mts +1 -1
- package/dist/esm/api/resources/organization/client/requests/OrganizationData.d.mts +1 -1
- package/dist/esm/api/resources/paymentLink/client/Client.d.mts +231 -46
- package/dist/esm/api/resources/paymentLink/client/Client.mjs +325 -46
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataBill.d.mts +69 -22
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataOut.d.mts +8 -25
- package/dist/esm/api/resources/paymentLink/types/PatchOutPaymentLinkRequest.d.mts +12 -0
- package/dist/esm/api/resources/paymentLink/types/PatchOutPaymentLinkRequest.mjs +2 -0
- package/dist/esm/api/resources/paymentLink/types/PaymentPageRequestBody.d.mts +0 -79
- package/dist/esm/api/resources/paymentLink/types/PaymentPageRequestBodyOut.d.mts +88 -0
- package/dist/esm/api/resources/paymentLink/types/PaymentPageRequestBodyOut.mjs +2 -0
- package/dist/esm/api/resources/paymentLink/types/index.d.mts +2 -0
- package/dist/esm/api/resources/paymentLink/types/index.mjs +2 -0
- package/dist/esm/api/resources/query/client/requests/ListTransfersPaypointRequest.d.mts +1 -1
- package/dist/esm/api/resources/queryTypes/types/LimitRecord.d.mts +1 -1
- package/dist/esm/api/resources/queryTypes/types/QueryTransferDetailResponse.d.mts +8 -8
- package/dist/esm/api/resources/subscription/client/requests/RequestSchedule.d.mts +1 -1
- package/dist/esm/api/resources/tokenStorage/client/Client.d.mts +4 -1
- package/dist/esm/api/resources/tokenStorage/client/Client.mjs +4 -1
- package/dist/esm/api/resources/tokenStorage/client/requests/AddMethodRequest.d.mts +6 -3
- package/dist/esm/api/resources/tokenStorage/client/requests/UpdateMethodRequest.d.mts +1 -1
- package/dist/esm/api/resources/tokenStorage/types/CreateAnonymous.d.mts +1 -1
- package/dist/esm/api/resources/tokenStorage/types/Temporary.d.mts +1 -1
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2DeclinedTransactionResponseWrapper.d.mts +2 -2
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionDetails.d.mts +14 -14
- package/dist/esm/api/types/AcceptOauth.d.mts +1 -1
- package/dist/esm/api/types/AcceptRegister.d.mts +1 -1
- package/dist/esm/api/types/AchValidation.d.mts +1 -1
- package/dist/esm/api/types/Annualrevenue.d.mts +1 -1
- package/dist/esm/api/types/ApplePayType.d.mts +1 -1
- package/dist/esm/api/types/ApplicationData.d.mts +1 -1
- package/dist/esm/api/types/ApplicationDataPayIn.d.mts +3 -5
- package/dist/esm/api/types/ApplicationDetailsRecord.d.mts +1 -1
- package/dist/esm/api/types/ApplicationQueryRecord.d.mts +1 -1
- package/dist/esm/api/types/Attachments.d.mts +1 -1
- package/dist/esm/api/types/Avgmonthly.d.mts +1 -1
- package/dist/esm/api/types/Avgticketamt.d.mts +1 -1
- package/dist/esm/api/types/BankData.d.mts +1 -1
- package/dist/esm/api/types/BillApprovals.d.mts +1 -1
- package/dist/esm/api/types/BillData.d.mts +3 -3
- package/dist/esm/api/types/BillDetailsResponse.d.mts +2 -2
- package/dist/esm/api/types/BillEvents.d.mts +1 -1
- package/dist/esm/api/types/BillPayOutData.d.mts +2 -2
- package/dist/esm/api/types/BillPayOutDataRequest.d.mts +2 -2
- package/dist/esm/api/types/BillQueryRecord2.d.mts +4 -4
- package/dist/esm/api/types/BillQueryRecord2BillApprovalsItem.d.mts +1 -1
- package/dist/esm/api/types/Billitems.d.mts +1 -1
- package/dist/esm/api/types/ContactsField.d.mts +1 -1
- package/dist/esm/api/types/DeviceId.d.mts +1 -1
- package/dist/esm/api/types/Discount.d.mts +1 -1
- package/dist/esm/api/types/DutyAmount.d.mts +1 -1
- package/dist/esm/api/types/EnrollmentStatus.d.mts +1 -1
- package/dist/esm/api/types/ExpectedProcessingDateTime.d.mts +1 -1
- package/dist/esm/api/types/ForceCustomerCreation.d.mts +1 -1
- package/dist/esm/api/types/FreightAmount.d.mts +1 -1
- package/dist/esm/api/types/HasVcardTransactions.d.mts +1 -1
- package/dist/esm/api/types/Highticketamt.d.mts +1 -1
- package/dist/esm/api/types/Initiator.d.mts +1 -1
- package/dist/esm/api/types/IsRoot.d.mts +1 -1
- package/dist/esm/api/types/IsSameDayAch.d.mts +1 -1
- package/dist/esm/api/types/LastModified.d.mts +1 -1
- package/dist/esm/api/types/Mfa.d.mts +1 -1
- package/dist/esm/api/types/Netamountnullable.d.mts +1 -1
- package/dist/esm/api/types/Ownerid.d.mts +5 -1
- package/dist/esm/api/types/Ownership.d.mts +1 -1
- package/dist/esm/api/types/PayabliCredentials.d.mts +2 -0
- package/dist/esm/api/types/PayabliCredentialsPascal.d.mts +2 -0
- package/dist/esm/api/types/PaymentDetail.d.mts +1 -1
- package/dist/esm/api/types/PayorId.d.mts +1 -1
- package/dist/esm/api/types/PciAttestation.d.mts +1 -1
- package/dist/esm/api/types/PendingFeeAmount.d.mts +1 -1
- package/dist/esm/api/types/ReadOnly.d.mts +1 -1
- package/dist/esm/api/types/RiskActionCode.d.mts +1 -1
- package/dist/esm/api/types/RiskFlagged.d.mts +1 -1
- package/dist/esm/api/types/RiskFlaggedOn.d.mts +1 -1
- package/dist/esm/api/types/SaveIfSuccess.d.mts +1 -1
- package/dist/esm/api/types/Sequence.d.mts +1 -1
- package/dist/esm/api/types/SignerAcceptance.d.mts +1 -1
- package/dist/esm/api/types/SignerData.d.mts +6 -2
- package/dist/esm/api/types/SignerDataRequest.d.mts +1 -1
- package/dist/esm/api/types/SplitFunding.d.mts +1 -1
- package/dist/esm/api/types/StoredMethodUsageType.d.mts +1 -1
- package/dist/esm/api/types/SubscriptionQueryRecords.d.mts +4 -4
- package/dist/esm/api/types/Tax.d.mts +1 -1
- package/dist/esm/api/types/TemplateCode.d.mts +1 -1
- package/dist/esm/api/types/Ticketamt.d.mts +1 -1
- package/dist/esm/api/types/TransactionQueryRecords.d.mts +1 -1
- package/dist/esm/api/types/TransactionQueryRecordsCustomer.d.mts +1 -1
- package/dist/esm/api/types/VendorPhone.d.mts +1 -1
- package/dist/esm/api/types/Visible.d.mts +1 -1
- package/dist/esm/api/types/index.d.mts +0 -2
- package/dist/esm/api/types/index.mjs +0 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +253 -56
- package/dist/cjs/api/types/Datenullable.d.ts +0 -4
- package/dist/cjs/api/types/DatetimeNullable.d.ts +0 -4
- package/dist/esm/api/types/Datenullable.d.mts +0 -4
- package/dist/esm/api/types/DatetimeNullable.d.mts +0 -4
- /package/dist/cjs/api/{types/Datenullable.js → resources/moneyOutTypes/types/MethodElementOut.js} +0 -0
- /package/dist/cjs/api/{types/DatetimeNullable.js → resources/moneyOutTypes/types/MethodsListOut.js} +0 -0
- /package/dist/esm/api/{types/Datenullable.mjs → resources/moneyOutTypes/types/MethodElementOut.mjs} +0 -0
- /package/dist/esm/api/{types/DatetimeNullable.mjs → resources/moneyOutTypes/types/MethodsListOut.mjs} +0 -0
package/LICENSE.md
CHANGED
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@payabli/sdk-node",
|
|
46
|
-
"X-Fern-SDK-Version": "0.0.
|
|
47
|
-
"User-Agent": "@payabli/sdk-node/0.0.
|
|
46
|
+
"X-Fern-SDK-Version": "0.0.133",
|
|
47
|
+
"User-Agent": "@payabli/sdk-node/0.0.133",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -6,7 +6,7 @@ export interface BillOutData {
|
|
|
6
6
|
/** An array of bill images. Attachments aren't required, but we strongly recommend including them. Including a bill image can make payouts smoother and prevent delays. You can include either the Base64-encoded file content, or you can include an fURL to a public file. The maximum file size for image uploads is 30 MB. */
|
|
7
7
|
attachments?: Payabli.Attachments | undefined;
|
|
8
8
|
/** Date of bill. Accepted formats: YYYY-MM-DD, MM/DD/YYYY. */
|
|
9
|
-
billDate?:
|
|
9
|
+
billDate?: string | undefined;
|
|
10
10
|
billItems?: Payabli.Billitems | undefined;
|
|
11
11
|
/** Unique identifier for the bill. Required when adding a bill. */
|
|
12
12
|
billNumber?: string | undefined;
|
|
@@ -14,9 +14,9 @@ export interface BillOutData {
|
|
|
14
14
|
/** Discount amount applied to the bill. */
|
|
15
15
|
discount?: number | undefined;
|
|
16
16
|
/** Due date of bill. Accepted formats: YYYY-MM-DD, MM/DD/YYYY. */
|
|
17
|
-
dueDate?:
|
|
17
|
+
dueDate?: string | undefined;
|
|
18
18
|
/** End Date for scheduled bills. Applied only in `Mode` = 1. Accepted formats: YYYY-MM-DD, MM/DD/YYYY */
|
|
19
|
-
endDate?:
|
|
19
|
+
endDate?: string | undefined;
|
|
20
20
|
/** Frequency for scheduled bills. Applied only in `Mode` = 1. */
|
|
21
21
|
frequency?: Payabli.Frequency | undefined;
|
|
22
22
|
/** Lot number associated with the bill. */
|
|
@@ -10,9 +10,9 @@ export interface BillResponseData {
|
|
|
10
10
|
/** Total amount for the bill. */
|
|
11
11
|
TotalAmount?: number | undefined;
|
|
12
12
|
/** Date of bill. Accepted formats: YYYY-MM-DD, MM/DD/YYYY */
|
|
13
|
-
BillDate
|
|
13
|
+
BillDate: string | null;
|
|
14
14
|
/** Due Date of bill. Accepted formats: YYYY-MM-DD, MM/DD/YYYY */
|
|
15
|
-
DueDate
|
|
15
|
+
DueDate: string | null;
|
|
16
16
|
/** Comments associated with the bill. For managed payables, the character limit is 200. For on demand payouts, the characters limit is 250. */
|
|
17
17
|
Comments?: string | undefined;
|
|
18
18
|
/** The batch number that the bill belongs to. */
|
|
@@ -35,7 +35,7 @@ export interface BillResponseData {
|
|
|
35
35
|
Status?: Payabli.Billstatus | undefined;
|
|
36
36
|
CreatedAt?: Payabli.CreatedAt | undefined;
|
|
37
37
|
/** End date for scheduled bills. Applied only in `Mode` = 1. */
|
|
38
|
-
EndDate
|
|
38
|
+
EndDate: string | null;
|
|
39
39
|
LastUpdated?: Payabli.LastModified | undefined;
|
|
40
40
|
/** Frequency for scheduled bills. Applied only in `Mode` = 1. */
|
|
41
41
|
Frequency?: Payabli.Frequency | undefined;
|
|
@@ -38,7 +38,27 @@ export declare class BoardingClient {
|
|
|
38
38
|
* avgmonthly: 1000,
|
|
39
39
|
* baddress: "123 Walnut Street",
|
|
40
40
|
* baddress1: "Suite 103",
|
|
41
|
-
* bankData: {
|
|
41
|
+
* bankData: [{
|
|
42
|
+
* accountNumber: "123123123",
|
|
43
|
+
* bankAccountFunction: 1,
|
|
44
|
+
* bankAccountHolderName: "Gruzya Adventure Outfitters LLC",
|
|
45
|
+
* bankAccountHolderType: "Business",
|
|
46
|
+
* bankName: "Test Bank",
|
|
47
|
+
* nickname: "Withdrawal Account",
|
|
48
|
+
* routingAccount: "123123123",
|
|
49
|
+
* typeAccount: "Checking",
|
|
50
|
+
* accountId: "123-456"
|
|
51
|
+
* }, {
|
|
52
|
+
* accountNumber: "123123123",
|
|
53
|
+
* bankAccountFunction: 0,
|
|
54
|
+
* bankAccountHolderName: "Gruzya Adventure Outfitters LLC",
|
|
55
|
+
* bankAccountHolderType: "Business",
|
|
56
|
+
* bankName: "Test Bank",
|
|
57
|
+
* nickname: "Deposit Account",
|
|
58
|
+
* routingAccount: "123123123",
|
|
59
|
+
* typeAccount: "Checking",
|
|
60
|
+
* accountId: "123-456"
|
|
61
|
+
* }],
|
|
42
62
|
* bcity: "New Vegas",
|
|
43
63
|
* bcountry: "US",
|
|
44
64
|
* binperson: 60,
|
|
@@ -108,7 +128,11 @@ export declare class BoardingClient {
|
|
|
108
128
|
* signedDocumentReference: "https://example.com/signed-document.pdf",
|
|
109
129
|
* attestationDate: "04/20/2025",
|
|
110
130
|
* signDate: "04/20/2025",
|
|
111
|
-
* additionalData:
|
|
131
|
+
* additionalData: {
|
|
132
|
+
* "deviceId": "499585-389fj484-3jcj8hj3",
|
|
133
|
+
* "session": "fifji4-fiu443-fn4843",
|
|
134
|
+
* "timeWithCompany": "6 Years"
|
|
135
|
+
* }
|
|
112
136
|
* },
|
|
113
137
|
* startdate: "01/01/1990",
|
|
114
138
|
* taxFillName: "Sunshine LLC",
|
|
@@ -220,7 +244,11 @@ export declare class BoardingClient {
|
|
|
220
244
|
* signedDocumentReference: "https://example.com/signed-document.pdf",
|
|
221
245
|
* attestationDate: "04/20/2025",
|
|
222
246
|
* signDate: "04/20/2025",
|
|
223
|
-
* additionalData:
|
|
247
|
+
* additionalData: {
|
|
248
|
+
* "deviceId": "499585-389fj484-3jcj8hj3",
|
|
249
|
+
* "session": "fifji4-fiu443-fn4843",
|
|
250
|
+
* "timeWithCompany": "6 Years"
|
|
251
|
+
* }
|
|
224
252
|
* },
|
|
225
253
|
* startdate: "01/01/2015",
|
|
226
254
|
* taxfillname: "Herman's Coatings LLC",
|
|
@@ -353,7 +381,11 @@ export declare class BoardingClient {
|
|
|
353
381
|
* signedDocumentReference: "https://example.com/signed-document.pdf",
|
|
354
382
|
* attestationDate: "04/20/2025",
|
|
355
383
|
* signDate: "04/20/2025",
|
|
356
|
-
* additionalData:
|
|
384
|
+
* additionalData: {
|
|
385
|
+
* "deviceId": "499585-389fj484-3jcj8hj3",
|
|
386
|
+
* "session": "fifji4-fiu443-fn4843",
|
|
387
|
+
* "timeWithCompany": "6 Years"
|
|
388
|
+
* }
|
|
357
389
|
* },
|
|
358
390
|
* startdate: "01/01/2015",
|
|
359
391
|
* taxfillname: "Herman's Coatings LLC",
|
|
@@ -488,7 +520,11 @@ export declare class BoardingClient {
|
|
|
488
520
|
* signedDocumentReference: "https://example.com/signed-document.pdf",
|
|
489
521
|
* attestationDate: "04/20/2025",
|
|
490
522
|
* signDate: "04/20/2025",
|
|
491
|
-
* additionalData:
|
|
523
|
+
* additionalData: {
|
|
524
|
+
* "deviceId": "499585-389fj484-3jcj8hj3",
|
|
525
|
+
* "session": "fifji4-fiu443-fn4843",
|
|
526
|
+
* "timeWithCompany": "6 Years"
|
|
527
|
+
* }
|
|
492
528
|
* },
|
|
493
529
|
* startdate: "01/01/2015",
|
|
494
530
|
* taxfillname: "Herman's Coatings LLC",
|
|
@@ -84,7 +84,27 @@ class BoardingClient {
|
|
|
84
84
|
* avgmonthly: 1000,
|
|
85
85
|
* baddress: "123 Walnut Street",
|
|
86
86
|
* baddress1: "Suite 103",
|
|
87
|
-
* bankData: {
|
|
87
|
+
* bankData: [{
|
|
88
|
+
* accountNumber: "123123123",
|
|
89
|
+
* bankAccountFunction: 1,
|
|
90
|
+
* bankAccountHolderName: "Gruzya Adventure Outfitters LLC",
|
|
91
|
+
* bankAccountHolderType: "Business",
|
|
92
|
+
* bankName: "Test Bank",
|
|
93
|
+
* nickname: "Withdrawal Account",
|
|
94
|
+
* routingAccount: "123123123",
|
|
95
|
+
* typeAccount: "Checking",
|
|
96
|
+
* accountId: "123-456"
|
|
97
|
+
* }, {
|
|
98
|
+
* accountNumber: "123123123",
|
|
99
|
+
* bankAccountFunction: 0,
|
|
100
|
+
* bankAccountHolderName: "Gruzya Adventure Outfitters LLC",
|
|
101
|
+
* bankAccountHolderType: "Business",
|
|
102
|
+
* bankName: "Test Bank",
|
|
103
|
+
* nickname: "Deposit Account",
|
|
104
|
+
* routingAccount: "123123123",
|
|
105
|
+
* typeAccount: "Checking",
|
|
106
|
+
* accountId: "123-456"
|
|
107
|
+
* }],
|
|
88
108
|
* bcity: "New Vegas",
|
|
89
109
|
* bcountry: "US",
|
|
90
110
|
* binperson: 60,
|
|
@@ -154,7 +174,11 @@ class BoardingClient {
|
|
|
154
174
|
* signedDocumentReference: "https://example.com/signed-document.pdf",
|
|
155
175
|
* attestationDate: "04/20/2025",
|
|
156
176
|
* signDate: "04/20/2025",
|
|
157
|
-
* additionalData:
|
|
177
|
+
* additionalData: {
|
|
178
|
+
* "deviceId": "499585-389fj484-3jcj8hj3",
|
|
179
|
+
* "session": "fifji4-fiu443-fn4843",
|
|
180
|
+
* "timeWithCompany": "6 Years"
|
|
181
|
+
* }
|
|
158
182
|
* },
|
|
159
183
|
* startdate: "01/01/1990",
|
|
160
184
|
* taxFillName: "Sunshine LLC",
|
|
@@ -266,7 +290,11 @@ class BoardingClient {
|
|
|
266
290
|
* signedDocumentReference: "https://example.com/signed-document.pdf",
|
|
267
291
|
* attestationDate: "04/20/2025",
|
|
268
292
|
* signDate: "04/20/2025",
|
|
269
|
-
* additionalData:
|
|
293
|
+
* additionalData: {
|
|
294
|
+
* "deviceId": "499585-389fj484-3jcj8hj3",
|
|
295
|
+
* "session": "fifji4-fiu443-fn4843",
|
|
296
|
+
* "timeWithCompany": "6 Years"
|
|
297
|
+
* }
|
|
270
298
|
* },
|
|
271
299
|
* startdate: "01/01/2015",
|
|
272
300
|
* taxfillname: "Herman's Coatings LLC",
|
|
@@ -399,7 +427,11 @@ class BoardingClient {
|
|
|
399
427
|
* signedDocumentReference: "https://example.com/signed-document.pdf",
|
|
400
428
|
* attestationDate: "04/20/2025",
|
|
401
429
|
* signDate: "04/20/2025",
|
|
402
|
-
* additionalData:
|
|
430
|
+
* additionalData: {
|
|
431
|
+
* "deviceId": "499585-389fj484-3jcj8hj3",
|
|
432
|
+
* "session": "fifji4-fiu443-fn4843",
|
|
433
|
+
* "timeWithCompany": "6 Years"
|
|
434
|
+
* }
|
|
403
435
|
* },
|
|
404
436
|
* startdate: "01/01/2015",
|
|
405
437
|
* taxfillname: "Herman's Coatings LLC",
|
|
@@ -534,7 +566,11 @@ class BoardingClient {
|
|
|
534
566
|
* signedDocumentReference: "https://example.com/signed-document.pdf",
|
|
535
567
|
* attestationDate: "04/20/2025",
|
|
536
568
|
* signDate: "04/20/2025",
|
|
537
|
-
* additionalData:
|
|
569
|
+
* additionalData: {
|
|
570
|
+
* "deviceId": "499585-389fj484-3jcj8hj3",
|
|
571
|
+
* "session": "fifji4-fiu443-fn4843",
|
|
572
|
+
* "timeWithCompany": "6 Years"
|
|
573
|
+
* }
|
|
538
574
|
* },
|
|
539
575
|
* startdate: "01/01/2015",
|
|
540
576
|
* taxfillname: "Herman's Coatings LLC",
|
|
@@ -8,7 +8,7 @@ import type * as Payabli from "../../../../index.js";
|
|
|
8
8
|
export interface ResponseChargeBack {
|
|
9
9
|
idempotencyKey?: Payabli.IdempotencyKey;
|
|
10
10
|
/** Array of attached files to response. */
|
|
11
|
-
attachments?: Payabli.Attachments
|
|
11
|
+
attachments?: Payabli.Attachments;
|
|
12
12
|
/** Email of response submitter. */
|
|
13
13
|
contactEmail?: Payabli.Email;
|
|
14
14
|
/** Name of response submitter */
|
|
@@ -35,7 +35,7 @@ import type * as Payabli from "../../../../index.js";
|
|
|
35
35
|
* }
|
|
36
36
|
*/
|
|
37
37
|
export interface AddInvoiceRequest {
|
|
38
|
-
forceCustomerCreation?: Payabli.ForceCustomerCreation
|
|
38
|
+
forceCustomerCreation?: Payabli.ForceCustomerCreation;
|
|
39
39
|
idempotencyKey?: Payabli.IdempotencyKey;
|
|
40
40
|
body: Payabli.InvoiceDataRequest;
|
|
41
41
|
}
|
|
@@ -4,11 +4,11 @@ export interface GetInvoiceRecord {
|
|
|
4
4
|
customerId: Payabli.CustomerId;
|
|
5
5
|
paypointId: Payabli.PaypointId;
|
|
6
6
|
invoiceNumber: Payabli.InvoiceNumber;
|
|
7
|
-
invoiceDate
|
|
8
|
-
invoiceDueDate
|
|
9
|
-
invoiceSentDate
|
|
10
|
-
invoiceEndDate
|
|
11
|
-
lastPaymentDate
|
|
7
|
+
invoiceDate: string | null;
|
|
8
|
+
invoiceDueDate: string | null;
|
|
9
|
+
invoiceSentDate: string | null;
|
|
10
|
+
invoiceEndDate: string | null;
|
|
11
|
+
lastPaymentDate: string | null;
|
|
12
12
|
createdAt: Payabli.CreatedAt;
|
|
13
13
|
invoiceStatus: Payabli.Invoicestatus;
|
|
14
14
|
invoiceType: Payabli.InvoiceType;
|
|
@@ -12,15 +12,15 @@ export declare namespace QueryInvoiceResponse {
|
|
|
12
12
|
paypointId: Payabli.PaypointId;
|
|
13
13
|
invoiceNumber: Payabli.InvoiceNumber;
|
|
14
14
|
/** Invoice date in any of the accepted formats: YYYY-MM-DD, MM/DD/YYYY. */
|
|
15
|
-
invoiceDate
|
|
15
|
+
invoiceDate: string | null;
|
|
16
16
|
/** Invoice due date in any of the accepted formats: YYYY-MM-DD, MM/DD/YYYY. */
|
|
17
|
-
invoiceDueDate
|
|
17
|
+
invoiceDueDate: string | null;
|
|
18
18
|
/** Invoice sent date in any of the accepted formats: YYYY-MM-DD, MM/DD/YYYY. */
|
|
19
|
-
invoiceSentDate
|
|
19
|
+
invoiceSentDate: string | null;
|
|
20
20
|
/** The end date for a scheduled invoice cycle (`invoiceType` = 1). */
|
|
21
|
-
invoiceEndDate
|
|
21
|
+
invoiceEndDate: string | null;
|
|
22
22
|
/** Timestamp of last payment. */
|
|
23
|
-
lastPaymentDate
|
|
23
|
+
lastPaymentDate: string | null;
|
|
24
24
|
createdAt: Payabli.CreatedAt;
|
|
25
25
|
invoiceStatus: Payabli.Invoicestatus;
|
|
26
26
|
invoiceType: Payabli.InvoiceType;
|
|
@@ -117,7 +117,7 @@ export declare class MoneyInClient {
|
|
|
117
117
|
captureAuth(transId: string, request: Payabli.CaptureRequest, requestOptions?: MoneyInClient.RequestOptions): core.HttpResponsePromise<Payabli.CaptureResponse>;
|
|
118
118
|
private __captureAuth;
|
|
119
119
|
/**
|
|
120
|
-
* Make a temporary microdeposit in a customer account to verify the customer's ownership and access to the target account. Reverse the microdeposit with `reverseCredit`.
|
|
120
|
+
* Make a temporary microdeposit in a customer account to verify the customer's ownership and access to the target account. Reverse the microdeposit with `reverseCredit`. Payabli doesn't automatically make microdeposits when you add a bank account, you must manually make the requests.
|
|
121
121
|
*
|
|
122
122
|
* This feature must be enabled by Payabli on a per-merchant basis. Contact support for help.
|
|
123
123
|
*
|
|
@@ -306,7 +306,7 @@ class MoneyInClient {
|
|
|
306
306
|
});
|
|
307
307
|
}
|
|
308
308
|
/**
|
|
309
|
-
* Make a temporary microdeposit in a customer account to verify the customer's ownership and access to the target account. Reverse the microdeposit with `reverseCredit`.
|
|
309
|
+
* Make a temporary microdeposit in a customer account to verify the customer's ownership and access to the target account. Reverse the microdeposit with `reverseCredit`. Payabli doesn't automatically make microdeposits when you add a bank account, you must manually make the requests.
|
|
310
310
|
*
|
|
311
311
|
* This feature must be enabled by Payabli on a per-merchant basis. Contact support for help.
|
|
312
312
|
*
|
|
@@ -48,7 +48,7 @@ import type * as Payabli from "../../../../index.js";
|
|
|
48
48
|
* }
|
|
49
49
|
*/
|
|
50
50
|
export interface RequestCredit {
|
|
51
|
-
forceCustomerCreation?: Payabli.ForceCustomerCreation
|
|
51
|
+
forceCustomerCreation?: Payabli.ForceCustomerCreation;
|
|
52
52
|
idempotencyKey?: Payabli.IdempotencyKey;
|
|
53
53
|
accountId?: Payabli.Accountid;
|
|
54
54
|
/** Object describing the customer/payor. */
|
|
@@ -200,8 +200,8 @@ import type * as Payabli from "../../../../index.js";
|
|
|
200
200
|
* }
|
|
201
201
|
*/
|
|
202
202
|
export interface RequestPayment {
|
|
203
|
-
achValidation?: Payabli.AchValidation
|
|
204
|
-
forceCustomerCreation?: Payabli.ForceCustomerCreation
|
|
203
|
+
achValidation?: Payabli.AchValidation;
|
|
204
|
+
forceCustomerCreation?: Payabli.ForceCustomerCreation;
|
|
205
205
|
/** When `true`, transactionDetails object is returned in the response. See a full example of the `transactionDetails` object in the [Transaction integration guide](/developers/developer-guides/money-in-transaction-add#includedetailstrue-response). */
|
|
206
206
|
includeDetails?: boolean;
|
|
207
207
|
idempotencyKey?: Payabli.IdempotencyKey;
|
|
@@ -25,7 +25,7 @@ import type * as Payabli from "../../../../index.js";
|
|
|
25
25
|
* }
|
|
26
26
|
*/
|
|
27
27
|
export interface RequestPaymentAuthorize {
|
|
28
|
-
forceCustomerCreation?: Payabli.ForceCustomerCreation
|
|
28
|
+
forceCustomerCreation?: Payabli.ForceCustomerCreation;
|
|
29
29
|
idempotencyKey?: Payabli.IdempotencyKey;
|
|
30
30
|
body: Payabli.TransRequestBody;
|
|
31
31
|
}
|
|
@@ -25,7 +25,7 @@ import type * as Payabli from "../../../../index.js";
|
|
|
25
25
|
* }
|
|
26
26
|
*/
|
|
27
27
|
export interface RequestPaymentAuthorizeV2 {
|
|
28
|
-
forceCustomerCreation?: Payabli.ForceCustomerCreation
|
|
28
|
+
forceCustomerCreation?: Payabli.ForceCustomerCreation;
|
|
29
29
|
idempotencyKey?: Payabli.IdempotencyKey;
|
|
30
30
|
body: Payabli.TransRequestBody;
|
|
31
31
|
}
|
|
@@ -90,8 +90,8 @@ import type * as Payabli from "../../../../index.js";
|
|
|
90
90
|
* }
|
|
91
91
|
*/
|
|
92
92
|
export interface RequestPaymentV2 {
|
|
93
|
-
achValidation?: Payabli.AchValidation
|
|
94
|
-
forceCustomerCreation?: Payabli.ForceCustomerCreation
|
|
93
|
+
achValidation?: Payabli.AchValidation;
|
|
94
|
+
forceCustomerCreation?: Payabli.ForceCustomerCreation;
|
|
95
95
|
idempotencyKey?: Payabli.IdempotencyKey;
|
|
96
96
|
/** Value obtained from user when an API generated CAPTCHA is used in payment page */
|
|
97
97
|
validationCode?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as Payabli from "../../../index.js";
|
|
2
2
|
export interface ResponseDataRefunds {
|
|
3
3
|
authCode: Payabli.Authcode;
|
|
4
|
-
expectedProcessingDateTime:
|
|
4
|
+
expectedProcessingDateTime: Payabli.ExpectedProcessingDateTime | null;
|
|
5
5
|
/** This field isn't applicable to refund operations. */
|
|
6
6
|
avsResponseText?: Payabli.AvsResponseText | undefined;
|
|
7
7
|
customerId: Payabli.CustomerId | null;
|
|
@@ -24,5 +24,5 @@ export interface TransactionDetailCustomer {
|
|
|
24
24
|
shippingCountry: Payabli.Shippingcountry;
|
|
25
25
|
customerId: Payabli.CustomerId;
|
|
26
26
|
customerStatus: Payabli.CustomerStatus;
|
|
27
|
-
additionalData: Payabli.
|
|
27
|
+
additionalData: Payabli.AdditionalDataMap | null;
|
|
28
28
|
}
|
|
@@ -4,20 +4,20 @@ import type * as Payabli from "../../../index.js";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface TransactionDetailInvoiceData {
|
|
6
6
|
invoiceNumber: Payabli.InvoiceNumber | null;
|
|
7
|
-
invoiceDate:
|
|
8
|
-
invoiceDueDate:
|
|
9
|
-
invoiceEndDate:
|
|
7
|
+
invoiceDate: string | null;
|
|
8
|
+
invoiceDueDate: string | null;
|
|
9
|
+
invoiceEndDate: string | null;
|
|
10
10
|
invoiceStatus: Payabli.Invoicestatus | null;
|
|
11
11
|
invoiceType: Payabli.InvoiceType | null;
|
|
12
12
|
frequency: Payabli.Frequency | null;
|
|
13
13
|
paymentTerms: string | null;
|
|
14
14
|
termsConditions: Payabli.TermsConditions | null;
|
|
15
15
|
notes: string | null;
|
|
16
|
-
tax:
|
|
17
|
-
discount:
|
|
16
|
+
tax: Payabli.Tax | null;
|
|
17
|
+
discount: Payabli.Discount | null;
|
|
18
18
|
invoiceAmount: Payabli.InvoiceAmount | null;
|
|
19
|
-
freightAmount:
|
|
20
|
-
dutyAmount:
|
|
19
|
+
freightAmount: Payabli.FreightAmount | null;
|
|
20
|
+
dutyAmount: Payabli.DutyAmount | null;
|
|
21
21
|
purchaseOrder: Payabli.PurchaseOrder | null;
|
|
22
22
|
firstName: string | null;
|
|
23
23
|
lastName: string | null;
|
|
@@ -33,6 +33,6 @@ export interface TransactionDetailInvoiceData {
|
|
|
33
33
|
shippingFromZip: Payabli.ShippingFromZip | null;
|
|
34
34
|
summaryCommodityCode: Payabli.SummaryCommodityCode | null;
|
|
35
35
|
items: Payabli.BillItem[] | null;
|
|
36
|
-
attachments:
|
|
37
|
-
additionalData: Payabli.
|
|
36
|
+
attachments: Payabli.Attachments | null;
|
|
37
|
+
additionalData: Payabli.AdditionalDataMap | null;
|
|
38
38
|
}
|
|
@@ -39,7 +39,7 @@ export interface TransactionDetailRecord {
|
|
|
39
39
|
isValidatedACH: boolean;
|
|
40
40
|
transactionTime: string;
|
|
41
41
|
customer: Payabli.TransactionDetailCustomer;
|
|
42
|
-
splitFundingInstructions:
|
|
42
|
+
splitFundingInstructions: Payabli.SplitFunding | null;
|
|
43
43
|
cfeeTransactions: Payabli.QueryCFeeTransaction[];
|
|
44
44
|
transactionEvents: Payabli.TransactionDetailEvent[];
|
|
45
45
|
pendingFeeAmount?: Payabli.PendingFeeAmount | undefined;
|
|
@@ -92,6 +92,27 @@ export declare class MoneyOutClient {
|
|
|
92
92
|
* @example
|
|
93
93
|
* await client.moneyOut.authorizeOut({
|
|
94
94
|
* body: {
|
|
95
|
+
* entryPoint: "48acde49",
|
|
96
|
+
* invoiceData: [{
|
|
97
|
+
* billId: 54323
|
|
98
|
+
* }],
|
|
99
|
+
* orderDescription: "Office Supplies",
|
|
100
|
+
* paymentDetails: {
|
|
101
|
+
* totalAmount: 1500,
|
|
102
|
+
* checkNumber: "10001"
|
|
103
|
+
* },
|
|
104
|
+
* paymentMethod: {
|
|
105
|
+
* method: "check"
|
|
106
|
+
* },
|
|
107
|
+
* vendorData: {
|
|
108
|
+
* vendorNumber: "7895433"
|
|
109
|
+
* }
|
|
110
|
+
* }
|
|
111
|
+
* })
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* await client.moneyOut.authorizeOut({
|
|
115
|
+
* body: {
|
|
95
116
|
* entryPoint: "47ced57b",
|
|
96
117
|
* paymentMethod: {
|
|
97
118
|
* method: "ach",
|
|
@@ -137,6 +137,27 @@ class MoneyOutClient {
|
|
|
137
137
|
* @example
|
|
138
138
|
* await client.moneyOut.authorizeOut({
|
|
139
139
|
* body: {
|
|
140
|
+
* entryPoint: "48acde49",
|
|
141
|
+
* invoiceData: [{
|
|
142
|
+
* billId: 54323
|
|
143
|
+
* }],
|
|
144
|
+
* orderDescription: "Office Supplies",
|
|
145
|
+
* paymentDetails: {
|
|
146
|
+
* totalAmount: 1500,
|
|
147
|
+
* checkNumber: "10001"
|
|
148
|
+
* },
|
|
149
|
+
* paymentMethod: {
|
|
150
|
+
* method: "check"
|
|
151
|
+
* },
|
|
152
|
+
* vendorData: {
|
|
153
|
+
* vendorNumber: "7895433"
|
|
154
|
+
* }
|
|
155
|
+
* }
|
|
156
|
+
* })
|
|
157
|
+
*
|
|
158
|
+
* @example
|
|
159
|
+
* await client.moneyOut.authorizeOut({
|
|
160
|
+
* body: {
|
|
140
161
|
* entryPoint: "47ced57b",
|
|
141
162
|
* paymentMethod: {
|
|
142
163
|
* method: "ach",
|
package/dist/cjs/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.ts
CHANGED
|
@@ -71,6 +71,27 @@ import type * as Payabli from "../../../../index.js";
|
|
|
71
71
|
* @example
|
|
72
72
|
* {
|
|
73
73
|
* body: {
|
|
74
|
+
* entryPoint: "48acde49",
|
|
75
|
+
* invoiceData: [{
|
|
76
|
+
* billId: 54323
|
|
77
|
+
* }],
|
|
78
|
+
* orderDescription: "Office Supplies",
|
|
79
|
+
* paymentDetails: {
|
|
80
|
+
* totalAmount: 1500,
|
|
81
|
+
* checkNumber: "10001"
|
|
82
|
+
* },
|
|
83
|
+
* paymentMethod: {
|
|
84
|
+
* method: "check"
|
|
85
|
+
* },
|
|
86
|
+
* vendorData: {
|
|
87
|
+
* vendorNumber: "7895433"
|
|
88
|
+
* }
|
|
89
|
+
* }
|
|
90
|
+
* }
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* {
|
|
94
|
+
* body: {
|
|
74
95
|
* entryPoint: "47ced57b",
|
|
75
96
|
* paymentMethod: {
|
|
76
97
|
* method: "ach",
|
|
@@ -85,9 +85,9 @@ export declare namespace AuthorizePayoutBody {
|
|
|
85
85
|
invoiceNumber?: Payabli.InvoiceNumber | undefined;
|
|
86
86
|
netAmount?: Payabli.NetAmountstring | undefined;
|
|
87
87
|
/** Invoice date in any of the accepted formats: YYYY-MM-DD, MM/DD/YYYY. */
|
|
88
|
-
invoiceDate?:
|
|
88
|
+
invoiceDate?: string | undefined;
|
|
89
89
|
/** Invoice due date in any of the accepted formats: YYYY-MM-DD, MM/DD/YYYY. */
|
|
90
|
-
dueDate?:
|
|
90
|
+
dueDate?: string | undefined;
|
|
91
91
|
comments?: Payabli.Comments | undefined;
|
|
92
92
|
lotNumber?: Payabli.LotNumber | undefined;
|
|
93
93
|
billId?: Payabli.BillId | undefined;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type * as Payabli from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Configuration for payment method selection on Pay Out payment links.
|
|
4
|
+
*/
|
|
5
|
+
export interface MethodElementOut {
|
|
6
|
+
/** Flag indicating if all allowed payment methods will be pre-selected. */
|
|
7
|
+
allMethodsChecked?: boolean | undefined;
|
|
8
|
+
/** When `true`, the vendor can select from multiple payment methods. When `false`, only the default method is shown. */
|
|
9
|
+
allowMultipleMethods?: boolean | undefined;
|
|
10
|
+
/** The default payment method to highlight on the payment link page. For example, `"vcard"`, `"ach"`, or `"check"`. */
|
|
11
|
+
defaultMethod?: string | undefined;
|
|
12
|
+
/** When `true`, the payment methods section is displayed on the payment link page. */
|
|
13
|
+
enabled?: boolean | undefined;
|
|
14
|
+
/** Header text for the payment methods section. */
|
|
15
|
+
header?: string | undefined;
|
|
16
|
+
methods?: Payabli.MethodsListOut | undefined;
|
|
17
|
+
/** Display order of the payment methods section on the page. */
|
|
18
|
+
order?: number | undefined;
|
|
19
|
+
/** When `true`, a preview of the virtual card is shown on the payment link page. */
|
|
20
|
+
showPreviewVirtualCard?: boolean | undefined;
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Payment methods available for Pay Out payment links. Controls which payout options are offered to the vendor.
|
|
3
|
+
*/
|
|
4
|
+
export interface MethodsListOut {
|
|
5
|
+
/** When `true`, ACH bank transfer is offered as a payout method. */
|
|
6
|
+
ach?: boolean | undefined;
|
|
7
|
+
/** When `true`, physical check is offered as a payout method. */
|
|
8
|
+
check?: boolean | undefined;
|
|
9
|
+
/** When `true`, virtual card (vCard) is offered as a payout method. */
|
|
10
|
+
vcard?: boolean | undefined;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** The status of a payment link. */
|
|
2
|
+
export declare const PaymentLinkStatus: {
|
|
3
|
+
readonly Active: "Active";
|
|
4
|
+
readonly Expired: "Expired";
|
|
5
|
+
readonly Canceled: "Canceled";
|
|
6
|
+
readonly Deleted: "Deleted";
|
|
7
|
+
};
|
|
8
|
+
export type PaymentLinkStatus = (typeof PaymentLinkStatus)[keyof typeof PaymentLinkStatus];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PaymentLinkStatus = void 0;
|
|
5
|
+
/** The status of a payment link. */
|
|
6
|
+
exports.PaymentLinkStatus = {
|
|
7
|
+
Active: "Active",
|
|
8
|
+
Expired: "Expired",
|
|
9
|
+
Canceled: "Canceled",
|
|
10
|
+
Deleted: "Deleted",
|
|
11
|
+
};
|
|
@@ -4,5 +4,8 @@ export * from "./AuthorizePaymentMethod.js";
|
|
|
4
4
|
export * from "./AuthorizePayoutBody.js";
|
|
5
5
|
export * from "./CaptureAllOutResponse.js";
|
|
6
6
|
export * from "./LotNumber.js";
|
|
7
|
+
export * from "./MethodElementOut.js";
|
|
8
|
+
export * from "./MethodsListOut.js";
|
|
7
9
|
export * from "./OperationResult.js";
|
|
10
|
+
export * from "./PaymentLinkStatus.js";
|
|
8
11
|
export * from "./VCardGetResponse.js";
|
|
@@ -20,5 +20,8 @@ __exportStar(require("./AuthorizePaymentMethod.js"), exports);
|
|
|
20
20
|
__exportStar(require("./AuthorizePayoutBody.js"), exports);
|
|
21
21
|
__exportStar(require("./CaptureAllOutResponse.js"), exports);
|
|
22
22
|
__exportStar(require("./LotNumber.js"), exports);
|
|
23
|
+
__exportStar(require("./MethodElementOut.js"), exports);
|
|
24
|
+
__exportStar(require("./MethodsListOut.js"), exports);
|
|
23
25
|
__exportStar(require("./OperationResult.js"), exports);
|
|
26
|
+
__exportStar(require("./PaymentLinkStatus.js"), exports);
|
|
24
27
|
__exportStar(require("./VCardGetResponse.js"), exports);
|