mollie-api-typescript 1.8.0 → 1.8.2
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/README.md +21 -16
- package/dist/commonjs/funcs/accountsGet.js +2 -2
- package/dist/commonjs/funcs/accountsGet.js.map +1 -1
- package/dist/commonjs/funcs/accountsGetAccount.js +2 -2
- package/dist/commonjs/funcs/accountsGetAccount.js.map +1 -1
- package/dist/commonjs/funcs/accountsList.js +2 -2
- package/dist/commonjs/funcs/accountsList.js.map +1 -1
- package/dist/commonjs/funcs/accountsListAccounts.js +2 -2
- package/dist/commonjs/funcs/accountsListAccounts.js.map +1 -1
- package/dist/commonjs/funcs/balanceTransfersCreate.js +2 -2
- package/dist/commonjs/funcs/balanceTransfersCreate.js.map +1 -1
- package/dist/commonjs/funcs/balanceTransfersGet.js +2 -2
- package/dist/commonjs/funcs/balanceTransfersGet.js.map +1 -1
- package/dist/commonjs/funcs/balanceTransfersList.js +2 -2
- package/dist/commonjs/funcs/balanceTransfersList.js.map +1 -1
- package/dist/commonjs/funcs/balancesGet.js +2 -2
- package/dist/commonjs/funcs/balancesGet.js.map +1 -1
- package/dist/commonjs/funcs/balancesGetPrimary.d.ts +2 -1
- package/dist/commonjs/funcs/balancesGetPrimary.d.ts.map +1 -1
- package/dist/commonjs/funcs/balancesGetPrimary.js +8 -2
- package/dist/commonjs/funcs/balancesGetPrimary.js.map +1 -1
- package/dist/commonjs/funcs/balancesGetReport.js +2 -2
- package/dist/commonjs/funcs/balancesGetReport.js.map +1 -1
- package/dist/commonjs/funcs/balancesList.js +2 -2
- package/dist/commonjs/funcs/balancesList.js.map +1 -1
- package/dist/commonjs/funcs/balancesListTransactions.js +1 -1
- package/dist/commonjs/funcs/balancesListTransactions.js.map +1 -1
- package/dist/commonjs/funcs/capabilitiesList.d.ts +2 -1
- package/dist/commonjs/funcs/capabilitiesList.d.ts.map +1 -1
- package/dist/commonjs/funcs/capabilitiesList.js +8 -2
- package/dist/commonjs/funcs/capabilitiesList.js.map +1 -1
- package/dist/commonjs/funcs/capturesCreate.js +2 -2
- package/dist/commonjs/funcs/capturesCreate.js.map +1 -1
- package/dist/commonjs/funcs/capturesGet.js +2 -2
- package/dist/commonjs/funcs/capturesGet.js.map +1 -1
- package/dist/commonjs/funcs/capturesList.js +2 -2
- package/dist/commonjs/funcs/capturesList.js.map +1 -1
- package/dist/commonjs/funcs/chargebacksAll.js +2 -2
- package/dist/commonjs/funcs/chargebacksAll.js.map +1 -1
- package/dist/commonjs/funcs/chargebacksGet.js +2 -2
- package/dist/commonjs/funcs/chargebacksGet.js.map +1 -1
- package/dist/commonjs/funcs/chargebacksList.js +2 -2
- package/dist/commonjs/funcs/chargebacksList.js.map +1 -1
- package/dist/commonjs/funcs/clientLinksCreate.js +2 -2
- package/dist/commonjs/funcs/clientLinksCreate.js.map +1 -1
- package/dist/commonjs/funcs/clientsGet.js +2 -2
- package/dist/commonjs/funcs/clientsGet.js.map +1 -1
- package/dist/commonjs/funcs/clientsList.js +2 -2
- package/dist/commonjs/funcs/clientsList.js.map +1 -1
- package/dist/commonjs/funcs/customersCreate.js +2 -2
- package/dist/commonjs/funcs/customersCreate.js.map +1 -1
- package/dist/commonjs/funcs/customersCreatePayment.js +2 -2
- package/dist/commonjs/funcs/customersCreatePayment.js.map +1 -1
- package/dist/commonjs/funcs/customersDelete.js +2 -2
- package/dist/commonjs/funcs/customersDelete.js.map +1 -1
- package/dist/commonjs/funcs/customersGet.js +2 -2
- package/dist/commonjs/funcs/customersGet.js.map +1 -1
- package/dist/commonjs/funcs/customersList.js +2 -2
- package/dist/commonjs/funcs/customersList.js.map +1 -1
- package/dist/commonjs/funcs/customersListPayments.js +2 -2
- package/dist/commonjs/funcs/customersListPayments.js.map +1 -1
- package/dist/commonjs/funcs/customersUpdate.js +2 -2
- package/dist/commonjs/funcs/customersUpdate.js.map +1 -1
- package/dist/commonjs/funcs/delayedRoutingCreate.js +2 -2
- package/dist/commonjs/funcs/delayedRoutingCreate.js.map +1 -1
- package/dist/commonjs/funcs/delayedRoutingGet.js +2 -2
- package/dist/commonjs/funcs/delayedRoutingGet.js.map +1 -1
- package/dist/commonjs/funcs/delayedRoutingList.js +2 -2
- package/dist/commonjs/funcs/delayedRoutingList.js.map +1 -1
- package/dist/commonjs/funcs/invoicesGet.js +2 -2
- package/dist/commonjs/funcs/invoicesGet.js.map +1 -1
- package/dist/commonjs/funcs/invoicesList.js +2 -2
- package/dist/commonjs/funcs/invoicesList.js.map +1 -1
- package/dist/commonjs/funcs/mandatesCreate.js +2 -2
- package/dist/commonjs/funcs/mandatesCreate.js.map +1 -1
- package/dist/commonjs/funcs/mandatesGet.js +2 -2
- package/dist/commonjs/funcs/mandatesGet.js.map +1 -1
- package/dist/commonjs/funcs/mandatesList.js +2 -2
- package/dist/commonjs/funcs/mandatesList.js.map +1 -1
- package/dist/commonjs/funcs/mandatesRevoke.js +2 -2
- package/dist/commonjs/funcs/mandatesRevoke.js.map +1 -1
- package/dist/commonjs/funcs/methodsAll.js +2 -2
- package/dist/commonjs/funcs/methodsAll.js.map +1 -1
- package/dist/commonjs/funcs/methodsGet.js +2 -2
- package/dist/commonjs/funcs/methodsGet.js.map +1 -1
- package/dist/commonjs/funcs/methodsList.js +2 -2
- package/dist/commonjs/funcs/methodsList.js.map +1 -1
- package/dist/commonjs/funcs/oauthGenerate.d.ts +2 -1
- package/dist/commonjs/funcs/oauthGenerate.d.ts.map +1 -1
- package/dist/commonjs/funcs/oauthGenerate.js +8 -2
- package/dist/commonjs/funcs/oauthGenerate.js.map +1 -1
- package/dist/commonjs/funcs/oauthRevoke.d.ts +2 -1
- package/dist/commonjs/funcs/oauthRevoke.d.ts.map +1 -1
- package/dist/commonjs/funcs/oauthRevoke.js +9 -3
- package/dist/commonjs/funcs/oauthRevoke.js.map +1 -1
- package/dist/commonjs/funcs/onboardingGet.d.ts +2 -1
- package/dist/commonjs/funcs/onboardingGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/onboardingGet.js +8 -2
- package/dist/commonjs/funcs/onboardingGet.js.map +1 -1
- package/dist/commonjs/funcs/onboardingSubmit.d.ts +2 -1
- package/dist/commonjs/funcs/onboardingSubmit.d.ts.map +1 -1
- package/dist/commonjs/funcs/onboardingSubmit.js +9 -3
- package/dist/commonjs/funcs/onboardingSubmit.js.map +1 -1
- package/dist/commonjs/funcs/organizationsGet.js +2 -2
- package/dist/commonjs/funcs/organizationsGet.js.map +1 -1
- package/dist/commonjs/funcs/organizationsGetCurrent.d.ts +2 -1
- package/dist/commonjs/funcs/organizationsGetCurrent.d.ts.map +1 -1
- package/dist/commonjs/funcs/organizationsGetCurrent.js +8 -2
- package/dist/commonjs/funcs/organizationsGetCurrent.js.map +1 -1
- package/dist/commonjs/funcs/organizationsGetPartner.d.ts +2 -1
- package/dist/commonjs/funcs/organizationsGetPartner.d.ts.map +1 -1
- package/dist/commonjs/funcs/organizationsGetPartner.js +8 -2
- package/dist/commonjs/funcs/organizationsGetPartner.js.map +1 -1
- package/dist/commonjs/funcs/paymentLinksCreate.js +2 -2
- package/dist/commonjs/funcs/paymentLinksCreate.js.map +1 -1
- package/dist/commonjs/funcs/paymentLinksDelete.js +2 -2
- package/dist/commonjs/funcs/paymentLinksDelete.js.map +1 -1
- package/dist/commonjs/funcs/paymentLinksGet.js +2 -2
- package/dist/commonjs/funcs/paymentLinksGet.js.map +1 -1
- package/dist/commonjs/funcs/paymentLinksList.js +2 -2
- package/dist/commonjs/funcs/paymentLinksList.js.map +1 -1
- package/dist/commonjs/funcs/paymentLinksListPayments.js +2 -2
- package/dist/commonjs/funcs/paymentLinksListPayments.js.map +1 -1
- package/dist/commonjs/funcs/paymentLinksUpdate.js +2 -2
- package/dist/commonjs/funcs/paymentLinksUpdate.js.map +1 -1
- package/dist/commonjs/funcs/paymentsCancel.js +2 -2
- package/dist/commonjs/funcs/paymentsCancel.js.map +1 -1
- package/dist/commonjs/funcs/paymentsCreate.js +2 -2
- package/dist/commonjs/funcs/paymentsCreate.js.map +1 -1
- package/dist/commonjs/funcs/paymentsGet.js +2 -2
- package/dist/commonjs/funcs/paymentsGet.js.map +1 -1
- package/dist/commonjs/funcs/paymentsList.js +2 -2
- package/dist/commonjs/funcs/paymentsList.js.map +1 -1
- package/dist/commonjs/funcs/paymentsReleaseAuthorization.js +2 -2
- package/dist/commonjs/funcs/paymentsReleaseAuthorization.js.map +1 -1
- package/dist/commonjs/funcs/paymentsUpdate.js +2 -2
- package/dist/commonjs/funcs/paymentsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/payoutsCancel.js +2 -2
- package/dist/commonjs/funcs/payoutsCancel.js.map +1 -1
- package/dist/commonjs/funcs/payoutsCreate.js +2 -2
- package/dist/commonjs/funcs/payoutsCreate.js.map +1 -1
- package/dist/commonjs/funcs/payoutsGet.js +2 -2
- package/dist/commonjs/funcs/payoutsGet.js.map +1 -1
- package/dist/commonjs/funcs/payoutsList.js +2 -2
- package/dist/commonjs/funcs/payoutsList.js.map +1 -1
- package/dist/commonjs/funcs/permissionsGet.js +2 -2
- package/dist/commonjs/funcs/permissionsGet.js.map +1 -1
- package/dist/commonjs/funcs/permissionsList.js +2 -2
- package/dist/commonjs/funcs/permissionsList.js.map +1 -1
- package/dist/commonjs/funcs/profilesCreate.js +2 -2
- package/dist/commonjs/funcs/profilesCreate.js.map +1 -1
- package/dist/commonjs/funcs/profilesDelete.js +2 -2
- package/dist/commonjs/funcs/profilesDelete.js.map +1 -1
- package/dist/commonjs/funcs/profilesGet.js +2 -2
- package/dist/commonjs/funcs/profilesGet.js.map +1 -1
- package/dist/commonjs/funcs/profilesGetCurrent.d.ts +2 -1
- package/dist/commonjs/funcs/profilesGetCurrent.d.ts.map +1 -1
- package/dist/commonjs/funcs/profilesGetCurrent.js +8 -2
- package/dist/commonjs/funcs/profilesGetCurrent.js.map +1 -1
- package/dist/commonjs/funcs/profilesList.js +2 -2
- package/dist/commonjs/funcs/profilesList.js.map +1 -1
- package/dist/commonjs/funcs/profilesUpdate.js +2 -2
- package/dist/commonjs/funcs/profilesUpdate.js.map +1 -1
- package/dist/commonjs/funcs/refundsAll.js +2 -2
- package/dist/commonjs/funcs/refundsAll.js.map +1 -1
- package/dist/commonjs/funcs/refundsCancel.js +2 -2
- package/dist/commonjs/funcs/refundsCancel.js.map +1 -1
- package/dist/commonjs/funcs/refundsCreate.js +2 -2
- package/dist/commonjs/funcs/refundsCreate.js.map +1 -1
- package/dist/commonjs/funcs/refundsGet.js +2 -2
- package/dist/commonjs/funcs/refundsGet.js.map +1 -1
- package/dist/commonjs/funcs/refundsList.js +2 -2
- package/dist/commonjs/funcs/refundsList.js.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesCreate.js +2 -2
- package/dist/commonjs/funcs/salesInvoicesCreate.js.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesDelete.js +2 -2
- package/dist/commonjs/funcs/salesInvoicesDelete.js.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesGet.js +2 -2
- package/dist/commonjs/funcs/salesInvoicesGet.js.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesList.js +2 -2
- package/dist/commonjs/funcs/salesInvoicesList.js.map +1 -1
- package/dist/commonjs/funcs/salesInvoicesUpdate.js +2 -2
- package/dist/commonjs/funcs/salesInvoicesUpdate.js.map +1 -1
- package/dist/commonjs/funcs/sessionsCreate.js +2 -2
- package/dist/commonjs/funcs/sessionsCreate.js.map +1 -1
- package/dist/commonjs/funcs/sessionsGet.d.ts +2 -1
- package/dist/commonjs/funcs/sessionsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/sessionsGet.js +8 -2
- package/dist/commonjs/funcs/sessionsGet.js.map +1 -1
- package/dist/commonjs/funcs/settlementsGet.js +2 -2
- package/dist/commonjs/funcs/settlementsGet.js.map +1 -1
- package/dist/commonjs/funcs/settlementsGetNext.d.ts +2 -1
- package/dist/commonjs/funcs/settlementsGetNext.d.ts.map +1 -1
- package/dist/commonjs/funcs/settlementsGetNext.js +8 -2
- package/dist/commonjs/funcs/settlementsGetNext.js.map +1 -1
- package/dist/commonjs/funcs/settlementsGetOpen.d.ts +2 -1
- package/dist/commonjs/funcs/settlementsGetOpen.d.ts.map +1 -1
- package/dist/commonjs/funcs/settlementsGetOpen.js +8 -2
- package/dist/commonjs/funcs/settlementsGetOpen.js.map +1 -1
- package/dist/commonjs/funcs/settlementsList.js +2 -2
- package/dist/commonjs/funcs/settlementsList.js.map +1 -1
- package/dist/commonjs/funcs/settlementsListCaptures.js +2 -2
- package/dist/commonjs/funcs/settlementsListCaptures.js.map +1 -1
- package/dist/commonjs/funcs/settlementsListChargebacks.js +2 -2
- package/dist/commonjs/funcs/settlementsListChargebacks.js.map +1 -1
- package/dist/commonjs/funcs/settlementsListPayments.js +2 -2
- package/dist/commonjs/funcs/settlementsListPayments.js.map +1 -1
- package/dist/commonjs/funcs/settlementsListRefunds.js +2 -2
- package/dist/commonjs/funcs/settlementsListRefunds.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsAll.js +2 -2
- package/dist/commonjs/funcs/subscriptionsAll.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsCancel.js +2 -2
- package/dist/commonjs/funcs/subscriptionsCancel.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsCreate.js +2 -2
- package/dist/commonjs/funcs/subscriptionsCreate.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsGet.js +2 -2
- package/dist/commonjs/funcs/subscriptionsGet.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsList.js +2 -2
- package/dist/commonjs/funcs/subscriptionsList.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsListPayments.js +2 -2
- package/dist/commonjs/funcs/subscriptionsListPayments.js.map +1 -1
- package/dist/commonjs/funcs/subscriptionsUpdate.js +2 -2
- package/dist/commonjs/funcs/subscriptionsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/terminalsGet.js +2 -2
- package/dist/commonjs/funcs/terminalsGet.js.map +1 -1
- package/dist/commonjs/funcs/terminalsList.js +2 -2
- package/dist/commonjs/funcs/terminalsList.js.map +1 -1
- package/dist/commonjs/funcs/terminalsTerminalsGetPairingCode.d.ts +28 -0
- package/dist/commonjs/funcs/terminalsTerminalsGetPairingCode.d.ts.map +1 -0
- package/dist/commonjs/funcs/terminalsTerminalsGetPairingCode.js +153 -0
- package/dist/commonjs/funcs/terminalsTerminalsGetPairingCode.js.map +1 -0
- package/dist/commonjs/funcs/terminalsTerminalsListPairingCodes.d.ts +24 -0
- package/dist/commonjs/funcs/terminalsTerminalsListPairingCodes.d.ts.map +1 -0
- package/dist/commonjs/funcs/terminalsTerminalsListPairingCodes.js +147 -0
- package/dist/commonjs/funcs/terminalsTerminalsListPairingCodes.js.map +1 -0
- package/dist/commonjs/funcs/terminalsTerminalsRequestPairingCode.d.ts +30 -0
- package/dist/commonjs/funcs/terminalsTerminalsRequestPairingCode.d.ts.map +1 -0
- package/dist/commonjs/funcs/terminalsTerminalsRequestPairingCode.js +151 -0
- package/dist/commonjs/funcs/terminalsTerminalsRequestPairingCode.js.map +1 -0
- package/dist/commonjs/funcs/terminalsTerminalsRevokePairingCode.d.ts +27 -0
- package/dist/commonjs/funcs/terminalsTerminalsRevokePairingCode.d.ts.map +1 -0
- package/dist/commonjs/funcs/terminalsTerminalsRevokePairingCode.js +148 -0
- package/dist/commonjs/funcs/terminalsTerminalsRevokePairingCode.js.map +1 -0
- package/dist/commonjs/funcs/transfersCreate.js +2 -2
- package/dist/commonjs/funcs/transfersCreate.js.map +1 -1
- package/dist/commonjs/funcs/transfersGet.js +2 -2
- package/dist/commonjs/funcs/transfersGet.js.map +1 -1
- package/dist/commonjs/funcs/unmatchedCreditTransfersGet.js +2 -2
- package/dist/commonjs/funcs/unmatchedCreditTransfersGet.js.map +1 -1
- package/dist/commonjs/funcs/unmatchedCreditTransfersList.js +2 -2
- package/dist/commonjs/funcs/unmatchedCreditTransfersList.js.map +1 -1
- package/dist/commonjs/funcs/unmatchedCreditTransfersMatch.js +2 -2
- package/dist/commonjs/funcs/unmatchedCreditTransfersMatch.js.map +1 -1
- package/dist/commonjs/funcs/unmatchedCreditTransfersReturn.js +2 -2
- package/dist/commonjs/funcs/unmatchedCreditTransfersReturn.js.map +1 -1
- package/dist/commonjs/funcs/verifyPayeeCreate.js +1 -1
- package/dist/commonjs/funcs/verifyPayeeCreate.js.map +1 -1
- package/dist/commonjs/funcs/walletsRequestApplePaySession.js +2 -2
- package/dist/commonjs/funcs/walletsRequestApplePaySession.js.map +1 -1
- package/dist/commonjs/funcs/webhookEventsGet.js +2 -2
- package/dist/commonjs/funcs/webhookEventsGet.js.map +1 -1
- package/dist/commonjs/funcs/webhooksCreate.js +2 -2
- package/dist/commonjs/funcs/webhooksCreate.js.map +1 -1
- package/dist/commonjs/funcs/webhooksDelete.js +2 -2
- package/dist/commonjs/funcs/webhooksDelete.js.map +1 -1
- package/dist/commonjs/funcs/webhooksGet.js +2 -2
- package/dist/commonjs/funcs/webhooksGet.js.map +1 -1
- package/dist/commonjs/funcs/webhooksList.js +2 -2
- package/dist/commonjs/funcs/webhooksList.js.map +1 -1
- package/dist/commonjs/funcs/webhooksTest.js +2 -2
- package/dist/commonjs/funcs/webhooksTest.js.map +1 -1
- package/dist/commonjs/funcs/webhooksUpdate.js +2 -2
- package/dist/commonjs/funcs/webhooksUpdate.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/models/entitypairingcode.d.ts +122 -0
- package/dist/commonjs/models/entitypairingcode.d.ts.map +1 -0
- package/dist/commonjs/models/entitypairingcode.js +109 -0
- package/dist/commonjs/models/entitypairingcode.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +1 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +1 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +4 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +4 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/terminalsgetpairingcode.d.ts +25 -0
- package/dist/commonjs/models/operations/terminalsgetpairingcode.d.ts.map +1 -0
- package/dist/commonjs/models/operations/terminalsgetpairingcode.js +57 -0
- package/dist/commonjs/models/operations/terminalsgetpairingcode.js.map +1 -0
- package/dist/commonjs/models/operations/terminalslistpairingcodes.d.ts +99 -0
- package/dist/commonjs/models/operations/terminalslistpairingcodes.d.ts.map +1 -0
- package/dist/commonjs/models/operations/terminalslistpairingcodes.js +95 -0
- package/dist/commonjs/models/operations/terminalslistpairingcodes.js.map +1 -0
- package/dist/commonjs/models/operations/terminalsrequestpairingcode.d.ts +35 -0
- package/dist/commonjs/models/operations/terminalsrequestpairingcode.d.ts.map +1 -0
- package/dist/commonjs/models/operations/terminalsrequestpairingcode.js +66 -0
- package/dist/commonjs/models/operations/terminalsrequestpairingcode.js.map +1 -0
- package/dist/commonjs/models/operations/terminalsrevokepairingcode.d.ts +20 -0
- package/dist/commonjs/models/operations/terminalsrevokepairingcode.d.ts.map +1 -0
- package/dist/commonjs/models/operations/terminalsrevokepairingcode.js +56 -0
- package/dist/commonjs/models/operations/terminalsrevokepairingcode.js.map +1 -0
- package/dist/commonjs/sdk/terminals.d.ts +54 -0
- package/dist/commonjs/sdk/terminals.d.ts.map +1 -1
- package/dist/commonjs/sdk/terminals.js +66 -0
- package/dist/commonjs/sdk/terminals.js.map +1 -1
- package/dist/esm/funcs/accountsGet.js +2 -2
- package/dist/esm/funcs/accountsGet.js.map +1 -1
- package/dist/esm/funcs/accountsGetAccount.js +2 -2
- package/dist/esm/funcs/accountsGetAccount.js.map +1 -1
- package/dist/esm/funcs/accountsList.js +2 -2
- package/dist/esm/funcs/accountsList.js.map +1 -1
- package/dist/esm/funcs/accountsListAccounts.js +2 -2
- package/dist/esm/funcs/accountsListAccounts.js.map +1 -1
- package/dist/esm/funcs/balanceTransfersCreate.js +2 -2
- package/dist/esm/funcs/balanceTransfersCreate.js.map +1 -1
- package/dist/esm/funcs/balanceTransfersGet.js +2 -2
- package/dist/esm/funcs/balanceTransfersGet.js.map +1 -1
- package/dist/esm/funcs/balanceTransfersList.js +2 -2
- package/dist/esm/funcs/balanceTransfersList.js.map +1 -1
- package/dist/esm/funcs/balancesGet.js +2 -2
- package/dist/esm/funcs/balancesGet.js.map +1 -1
- package/dist/esm/funcs/balancesGetPrimary.d.ts +2 -1
- package/dist/esm/funcs/balancesGetPrimary.d.ts.map +1 -1
- package/dist/esm/funcs/balancesGetPrimary.js +8 -2
- package/dist/esm/funcs/balancesGetPrimary.js.map +1 -1
- package/dist/esm/funcs/balancesGetReport.js +2 -2
- package/dist/esm/funcs/balancesGetReport.js.map +1 -1
- package/dist/esm/funcs/balancesList.js +2 -2
- package/dist/esm/funcs/balancesList.js.map +1 -1
- package/dist/esm/funcs/balancesListTransactions.js +1 -1
- package/dist/esm/funcs/balancesListTransactions.js.map +1 -1
- package/dist/esm/funcs/capabilitiesList.d.ts +2 -1
- package/dist/esm/funcs/capabilitiesList.d.ts.map +1 -1
- package/dist/esm/funcs/capabilitiesList.js +8 -2
- package/dist/esm/funcs/capabilitiesList.js.map +1 -1
- package/dist/esm/funcs/capturesCreate.js +2 -2
- package/dist/esm/funcs/capturesCreate.js.map +1 -1
- package/dist/esm/funcs/capturesGet.js +2 -2
- package/dist/esm/funcs/capturesGet.js.map +1 -1
- package/dist/esm/funcs/capturesList.js +2 -2
- package/dist/esm/funcs/capturesList.js.map +1 -1
- package/dist/esm/funcs/chargebacksAll.js +2 -2
- package/dist/esm/funcs/chargebacksAll.js.map +1 -1
- package/dist/esm/funcs/chargebacksGet.js +2 -2
- package/dist/esm/funcs/chargebacksGet.js.map +1 -1
- package/dist/esm/funcs/chargebacksList.js +2 -2
- package/dist/esm/funcs/chargebacksList.js.map +1 -1
- package/dist/esm/funcs/clientLinksCreate.js +2 -2
- package/dist/esm/funcs/clientLinksCreate.js.map +1 -1
- package/dist/esm/funcs/clientsGet.js +2 -2
- package/dist/esm/funcs/clientsGet.js.map +1 -1
- package/dist/esm/funcs/clientsList.js +2 -2
- package/dist/esm/funcs/clientsList.js.map +1 -1
- package/dist/esm/funcs/customersCreate.js +2 -2
- package/dist/esm/funcs/customersCreate.js.map +1 -1
- package/dist/esm/funcs/customersCreatePayment.js +2 -2
- package/dist/esm/funcs/customersCreatePayment.js.map +1 -1
- package/dist/esm/funcs/customersDelete.js +2 -2
- package/dist/esm/funcs/customersDelete.js.map +1 -1
- package/dist/esm/funcs/customersGet.js +2 -2
- package/dist/esm/funcs/customersGet.js.map +1 -1
- package/dist/esm/funcs/customersList.js +2 -2
- package/dist/esm/funcs/customersList.js.map +1 -1
- package/dist/esm/funcs/customersListPayments.js +2 -2
- package/dist/esm/funcs/customersListPayments.js.map +1 -1
- package/dist/esm/funcs/customersUpdate.js +2 -2
- package/dist/esm/funcs/customersUpdate.js.map +1 -1
- package/dist/esm/funcs/delayedRoutingCreate.js +2 -2
- package/dist/esm/funcs/delayedRoutingCreate.js.map +1 -1
- package/dist/esm/funcs/delayedRoutingGet.js +2 -2
- package/dist/esm/funcs/delayedRoutingGet.js.map +1 -1
- package/dist/esm/funcs/delayedRoutingList.js +2 -2
- package/dist/esm/funcs/delayedRoutingList.js.map +1 -1
- package/dist/esm/funcs/invoicesGet.js +2 -2
- package/dist/esm/funcs/invoicesGet.js.map +1 -1
- package/dist/esm/funcs/invoicesList.js +2 -2
- package/dist/esm/funcs/invoicesList.js.map +1 -1
- package/dist/esm/funcs/mandatesCreate.js +2 -2
- package/dist/esm/funcs/mandatesCreate.js.map +1 -1
- package/dist/esm/funcs/mandatesGet.js +2 -2
- package/dist/esm/funcs/mandatesGet.js.map +1 -1
- package/dist/esm/funcs/mandatesList.js +2 -2
- package/dist/esm/funcs/mandatesList.js.map +1 -1
- package/dist/esm/funcs/mandatesRevoke.js +2 -2
- package/dist/esm/funcs/mandatesRevoke.js.map +1 -1
- package/dist/esm/funcs/methodsAll.js +2 -2
- package/dist/esm/funcs/methodsAll.js.map +1 -1
- package/dist/esm/funcs/methodsGet.js +2 -2
- package/dist/esm/funcs/methodsGet.js.map +1 -1
- package/dist/esm/funcs/methodsList.js +2 -2
- package/dist/esm/funcs/methodsList.js.map +1 -1
- package/dist/esm/funcs/oauthGenerate.d.ts +2 -1
- package/dist/esm/funcs/oauthGenerate.d.ts.map +1 -1
- package/dist/esm/funcs/oauthGenerate.js +8 -2
- package/dist/esm/funcs/oauthGenerate.js.map +1 -1
- package/dist/esm/funcs/oauthRevoke.d.ts +2 -1
- package/dist/esm/funcs/oauthRevoke.d.ts.map +1 -1
- package/dist/esm/funcs/oauthRevoke.js +9 -3
- package/dist/esm/funcs/oauthRevoke.js.map +1 -1
- package/dist/esm/funcs/onboardingGet.d.ts +2 -1
- package/dist/esm/funcs/onboardingGet.d.ts.map +1 -1
- package/dist/esm/funcs/onboardingGet.js +8 -2
- package/dist/esm/funcs/onboardingGet.js.map +1 -1
- package/dist/esm/funcs/onboardingSubmit.d.ts +2 -1
- package/dist/esm/funcs/onboardingSubmit.d.ts.map +1 -1
- package/dist/esm/funcs/onboardingSubmit.js +9 -3
- package/dist/esm/funcs/onboardingSubmit.js.map +1 -1
- package/dist/esm/funcs/organizationsGet.js +2 -2
- package/dist/esm/funcs/organizationsGet.js.map +1 -1
- package/dist/esm/funcs/organizationsGetCurrent.d.ts +2 -1
- package/dist/esm/funcs/organizationsGetCurrent.d.ts.map +1 -1
- package/dist/esm/funcs/organizationsGetCurrent.js +8 -2
- package/dist/esm/funcs/organizationsGetCurrent.js.map +1 -1
- package/dist/esm/funcs/organizationsGetPartner.d.ts +2 -1
- package/dist/esm/funcs/organizationsGetPartner.d.ts.map +1 -1
- package/dist/esm/funcs/organizationsGetPartner.js +8 -2
- package/dist/esm/funcs/organizationsGetPartner.js.map +1 -1
- package/dist/esm/funcs/paymentLinksCreate.js +2 -2
- package/dist/esm/funcs/paymentLinksCreate.js.map +1 -1
- package/dist/esm/funcs/paymentLinksDelete.js +2 -2
- package/dist/esm/funcs/paymentLinksDelete.js.map +1 -1
- package/dist/esm/funcs/paymentLinksGet.js +2 -2
- package/dist/esm/funcs/paymentLinksGet.js.map +1 -1
- package/dist/esm/funcs/paymentLinksList.js +2 -2
- package/dist/esm/funcs/paymentLinksList.js.map +1 -1
- package/dist/esm/funcs/paymentLinksListPayments.js +2 -2
- package/dist/esm/funcs/paymentLinksListPayments.js.map +1 -1
- package/dist/esm/funcs/paymentLinksUpdate.js +2 -2
- package/dist/esm/funcs/paymentLinksUpdate.js.map +1 -1
- package/dist/esm/funcs/paymentsCancel.js +2 -2
- package/dist/esm/funcs/paymentsCancel.js.map +1 -1
- package/dist/esm/funcs/paymentsCreate.js +2 -2
- package/dist/esm/funcs/paymentsCreate.js.map +1 -1
- package/dist/esm/funcs/paymentsGet.js +2 -2
- package/dist/esm/funcs/paymentsGet.js.map +1 -1
- package/dist/esm/funcs/paymentsList.js +2 -2
- package/dist/esm/funcs/paymentsList.js.map +1 -1
- package/dist/esm/funcs/paymentsReleaseAuthorization.js +2 -2
- package/dist/esm/funcs/paymentsReleaseAuthorization.js.map +1 -1
- package/dist/esm/funcs/paymentsUpdate.js +2 -2
- package/dist/esm/funcs/paymentsUpdate.js.map +1 -1
- package/dist/esm/funcs/payoutsCancel.js +2 -2
- package/dist/esm/funcs/payoutsCancel.js.map +1 -1
- package/dist/esm/funcs/payoutsCreate.js +2 -2
- package/dist/esm/funcs/payoutsCreate.js.map +1 -1
- package/dist/esm/funcs/payoutsGet.js +2 -2
- package/dist/esm/funcs/payoutsGet.js.map +1 -1
- package/dist/esm/funcs/payoutsList.js +2 -2
- package/dist/esm/funcs/payoutsList.js.map +1 -1
- package/dist/esm/funcs/permissionsGet.js +2 -2
- package/dist/esm/funcs/permissionsGet.js.map +1 -1
- package/dist/esm/funcs/permissionsList.js +2 -2
- package/dist/esm/funcs/permissionsList.js.map +1 -1
- package/dist/esm/funcs/profilesCreate.js +2 -2
- package/dist/esm/funcs/profilesCreate.js.map +1 -1
- package/dist/esm/funcs/profilesDelete.js +2 -2
- package/dist/esm/funcs/profilesDelete.js.map +1 -1
- package/dist/esm/funcs/profilesGet.js +2 -2
- package/dist/esm/funcs/profilesGet.js.map +1 -1
- package/dist/esm/funcs/profilesGetCurrent.d.ts +2 -1
- package/dist/esm/funcs/profilesGetCurrent.d.ts.map +1 -1
- package/dist/esm/funcs/profilesGetCurrent.js +8 -2
- package/dist/esm/funcs/profilesGetCurrent.js.map +1 -1
- package/dist/esm/funcs/profilesList.js +2 -2
- package/dist/esm/funcs/profilesList.js.map +1 -1
- package/dist/esm/funcs/profilesUpdate.js +2 -2
- package/dist/esm/funcs/profilesUpdate.js.map +1 -1
- package/dist/esm/funcs/refundsAll.js +2 -2
- package/dist/esm/funcs/refundsAll.js.map +1 -1
- package/dist/esm/funcs/refundsCancel.js +2 -2
- package/dist/esm/funcs/refundsCancel.js.map +1 -1
- package/dist/esm/funcs/refundsCreate.js +2 -2
- package/dist/esm/funcs/refundsCreate.js.map +1 -1
- package/dist/esm/funcs/refundsGet.js +2 -2
- package/dist/esm/funcs/refundsGet.js.map +1 -1
- package/dist/esm/funcs/refundsList.js +2 -2
- package/dist/esm/funcs/refundsList.js.map +1 -1
- package/dist/esm/funcs/salesInvoicesCreate.js +2 -2
- package/dist/esm/funcs/salesInvoicesCreate.js.map +1 -1
- package/dist/esm/funcs/salesInvoicesDelete.js +2 -2
- package/dist/esm/funcs/salesInvoicesDelete.js.map +1 -1
- package/dist/esm/funcs/salesInvoicesGet.js +2 -2
- package/dist/esm/funcs/salesInvoicesGet.js.map +1 -1
- package/dist/esm/funcs/salesInvoicesList.js +2 -2
- package/dist/esm/funcs/salesInvoicesList.js.map +1 -1
- package/dist/esm/funcs/salesInvoicesUpdate.js +2 -2
- package/dist/esm/funcs/salesInvoicesUpdate.js.map +1 -1
- package/dist/esm/funcs/sessionsCreate.js +2 -2
- package/dist/esm/funcs/sessionsCreate.js.map +1 -1
- package/dist/esm/funcs/sessionsGet.d.ts +2 -1
- package/dist/esm/funcs/sessionsGet.d.ts.map +1 -1
- package/dist/esm/funcs/sessionsGet.js +8 -2
- package/dist/esm/funcs/sessionsGet.js.map +1 -1
- package/dist/esm/funcs/settlementsGet.js +2 -2
- package/dist/esm/funcs/settlementsGet.js.map +1 -1
- package/dist/esm/funcs/settlementsGetNext.d.ts +2 -1
- package/dist/esm/funcs/settlementsGetNext.d.ts.map +1 -1
- package/dist/esm/funcs/settlementsGetNext.js +8 -2
- package/dist/esm/funcs/settlementsGetNext.js.map +1 -1
- package/dist/esm/funcs/settlementsGetOpen.d.ts +2 -1
- package/dist/esm/funcs/settlementsGetOpen.d.ts.map +1 -1
- package/dist/esm/funcs/settlementsGetOpen.js +8 -2
- package/dist/esm/funcs/settlementsGetOpen.js.map +1 -1
- package/dist/esm/funcs/settlementsList.js +2 -2
- package/dist/esm/funcs/settlementsList.js.map +1 -1
- package/dist/esm/funcs/settlementsListCaptures.js +2 -2
- package/dist/esm/funcs/settlementsListCaptures.js.map +1 -1
- package/dist/esm/funcs/settlementsListChargebacks.js +2 -2
- package/dist/esm/funcs/settlementsListChargebacks.js.map +1 -1
- package/dist/esm/funcs/settlementsListPayments.js +2 -2
- package/dist/esm/funcs/settlementsListPayments.js.map +1 -1
- package/dist/esm/funcs/settlementsListRefunds.js +2 -2
- package/dist/esm/funcs/settlementsListRefunds.js.map +1 -1
- package/dist/esm/funcs/subscriptionsAll.js +2 -2
- package/dist/esm/funcs/subscriptionsAll.js.map +1 -1
- package/dist/esm/funcs/subscriptionsCancel.js +2 -2
- package/dist/esm/funcs/subscriptionsCancel.js.map +1 -1
- package/dist/esm/funcs/subscriptionsCreate.js +2 -2
- package/dist/esm/funcs/subscriptionsCreate.js.map +1 -1
- package/dist/esm/funcs/subscriptionsGet.js +2 -2
- package/dist/esm/funcs/subscriptionsGet.js.map +1 -1
- package/dist/esm/funcs/subscriptionsList.js +2 -2
- package/dist/esm/funcs/subscriptionsList.js.map +1 -1
- package/dist/esm/funcs/subscriptionsListPayments.js +2 -2
- package/dist/esm/funcs/subscriptionsListPayments.js.map +1 -1
- package/dist/esm/funcs/subscriptionsUpdate.js +2 -2
- package/dist/esm/funcs/subscriptionsUpdate.js.map +1 -1
- package/dist/esm/funcs/terminalsGet.js +2 -2
- package/dist/esm/funcs/terminalsGet.js.map +1 -1
- package/dist/esm/funcs/terminalsList.js +2 -2
- package/dist/esm/funcs/terminalsList.js.map +1 -1
- package/dist/esm/funcs/terminalsTerminalsGetPairingCode.d.ts +28 -0
- package/dist/esm/funcs/terminalsTerminalsGetPairingCode.d.ts.map +1 -0
- package/dist/esm/funcs/terminalsTerminalsGetPairingCode.js +117 -0
- package/dist/esm/funcs/terminalsTerminalsGetPairingCode.js.map +1 -0
- package/dist/esm/funcs/terminalsTerminalsListPairingCodes.d.ts +24 -0
- package/dist/esm/funcs/terminalsTerminalsListPairingCodes.d.ts.map +1 -0
- package/dist/esm/funcs/terminalsTerminalsListPairingCodes.js +111 -0
- package/dist/esm/funcs/terminalsTerminalsListPairingCodes.js.map +1 -0
- package/dist/esm/funcs/terminalsTerminalsRequestPairingCode.d.ts +30 -0
- package/dist/esm/funcs/terminalsTerminalsRequestPairingCode.d.ts.map +1 -0
- package/dist/esm/funcs/terminalsTerminalsRequestPairingCode.js +115 -0
- package/dist/esm/funcs/terminalsTerminalsRequestPairingCode.js.map +1 -0
- package/dist/esm/funcs/terminalsTerminalsRevokePairingCode.d.ts +27 -0
- package/dist/esm/funcs/terminalsTerminalsRevokePairingCode.d.ts.map +1 -0
- package/dist/esm/funcs/terminalsTerminalsRevokePairingCode.js +112 -0
- package/dist/esm/funcs/terminalsTerminalsRevokePairingCode.js.map +1 -0
- package/dist/esm/funcs/transfersCreate.js +2 -2
- package/dist/esm/funcs/transfersCreate.js.map +1 -1
- package/dist/esm/funcs/transfersGet.js +2 -2
- package/dist/esm/funcs/transfersGet.js.map +1 -1
- package/dist/esm/funcs/unmatchedCreditTransfersGet.js +2 -2
- package/dist/esm/funcs/unmatchedCreditTransfersGet.js.map +1 -1
- package/dist/esm/funcs/unmatchedCreditTransfersList.js +2 -2
- package/dist/esm/funcs/unmatchedCreditTransfersList.js.map +1 -1
- package/dist/esm/funcs/unmatchedCreditTransfersMatch.js +2 -2
- package/dist/esm/funcs/unmatchedCreditTransfersMatch.js.map +1 -1
- package/dist/esm/funcs/unmatchedCreditTransfersReturn.js +2 -2
- package/dist/esm/funcs/unmatchedCreditTransfersReturn.js.map +1 -1
- package/dist/esm/funcs/verifyPayeeCreate.js +1 -1
- package/dist/esm/funcs/verifyPayeeCreate.js.map +1 -1
- package/dist/esm/funcs/walletsRequestApplePaySession.js +2 -2
- package/dist/esm/funcs/walletsRequestApplePaySession.js.map +1 -1
- package/dist/esm/funcs/webhookEventsGet.js +2 -2
- package/dist/esm/funcs/webhookEventsGet.js.map +1 -1
- package/dist/esm/funcs/webhooksCreate.js +2 -2
- package/dist/esm/funcs/webhooksCreate.js.map +1 -1
- package/dist/esm/funcs/webhooksDelete.js +2 -2
- package/dist/esm/funcs/webhooksDelete.js.map +1 -1
- package/dist/esm/funcs/webhooksGet.js +2 -2
- package/dist/esm/funcs/webhooksGet.js.map +1 -1
- package/dist/esm/funcs/webhooksList.js +2 -2
- package/dist/esm/funcs/webhooksList.js.map +1 -1
- package/dist/esm/funcs/webhooksTest.js +2 -2
- package/dist/esm/funcs/webhooksTest.js.map +1 -1
- package/dist/esm/funcs/webhooksUpdate.js +2 -2
- package/dist/esm/funcs/webhooksUpdate.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/models/entitypairingcode.d.ts +122 -0
- package/dist/esm/models/entitypairingcode.d.ts.map +1 -0
- package/dist/esm/models/entitypairingcode.js +69 -0
- package/dist/esm/models/entitypairingcode.js.map +1 -0
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +1 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +4 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +4 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/terminalsgetpairingcode.d.ts +25 -0
- package/dist/esm/models/operations/terminalsgetpairingcode.d.ts.map +1 -0
- package/dist/esm/models/operations/terminalsgetpairingcode.js +20 -0
- package/dist/esm/models/operations/terminalsgetpairingcode.js.map +1 -0
- package/dist/esm/models/operations/terminalslistpairingcodes.d.ts +99 -0
- package/dist/esm/models/operations/terminalslistpairingcodes.d.ts.map +1 -0
- package/dist/esm/models/operations/terminalslistpairingcodes.js +55 -0
- package/dist/esm/models/operations/terminalslistpairingcodes.js.map +1 -0
- package/dist/esm/models/operations/terminalsrequestpairingcode.d.ts +35 -0
- package/dist/esm/models/operations/terminalsrequestpairingcode.d.ts.map +1 -0
- package/dist/esm/models/operations/terminalsrequestpairingcode.js +28 -0
- package/dist/esm/models/operations/terminalsrequestpairingcode.js.map +1 -0
- package/dist/esm/models/operations/terminalsrevokepairingcode.d.ts +20 -0
- package/dist/esm/models/operations/terminalsrevokepairingcode.d.ts.map +1 -0
- package/dist/esm/models/operations/terminalsrevokepairingcode.js +19 -0
- package/dist/esm/models/operations/terminalsrevokepairingcode.js.map +1 -0
- package/dist/esm/sdk/terminals.d.ts +54 -0
- package/dist/esm/sdk/terminals.d.ts.map +1 -1
- package/dist/esm/sdk/terminals.js +66 -0
- package/dist/esm/sdk/terminals.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/accountsGet.ts +2 -2
- package/src/funcs/accountsGetAccount.ts +2 -2
- package/src/funcs/accountsList.ts +2 -2
- package/src/funcs/accountsListAccounts.ts +2 -2
- package/src/funcs/balanceTransfersCreate.ts +2 -2
- package/src/funcs/balanceTransfersGet.ts +2 -2
- package/src/funcs/balanceTransfersList.ts +2 -2
- package/src/funcs/balancesGet.ts +2 -2
- package/src/funcs/balancesGetPrimary.ts +13 -2
- package/src/funcs/balancesGetReport.ts +2 -2
- package/src/funcs/balancesList.ts +2 -2
- package/src/funcs/balancesListTransactions.ts +1 -1
- package/src/funcs/capabilitiesList.ts +13 -2
- package/src/funcs/capturesCreate.ts +2 -2
- package/src/funcs/capturesGet.ts +2 -2
- package/src/funcs/capturesList.ts +2 -2
- package/src/funcs/chargebacksAll.ts +2 -2
- package/src/funcs/chargebacksGet.ts +2 -2
- package/src/funcs/chargebacksList.ts +2 -2
- package/src/funcs/clientLinksCreate.ts +2 -2
- package/src/funcs/clientsGet.ts +2 -2
- package/src/funcs/clientsList.ts +2 -2
- package/src/funcs/customersCreate.ts +2 -2
- package/src/funcs/customersCreatePayment.ts +2 -2
- package/src/funcs/customersDelete.ts +2 -2
- package/src/funcs/customersGet.ts +2 -2
- package/src/funcs/customersList.ts +2 -2
- package/src/funcs/customersListPayments.ts +2 -2
- package/src/funcs/customersUpdate.ts +2 -2
- package/src/funcs/delayedRoutingCreate.ts +2 -2
- package/src/funcs/delayedRoutingGet.ts +2 -2
- package/src/funcs/delayedRoutingList.ts +2 -2
- package/src/funcs/invoicesGet.ts +2 -2
- package/src/funcs/invoicesList.ts +2 -2
- package/src/funcs/mandatesCreate.ts +2 -2
- package/src/funcs/mandatesGet.ts +2 -2
- package/src/funcs/mandatesList.ts +2 -2
- package/src/funcs/mandatesRevoke.ts +2 -2
- package/src/funcs/methodsAll.ts +2 -2
- package/src/funcs/methodsGet.ts +2 -2
- package/src/funcs/methodsList.ts +2 -2
- package/src/funcs/oauthGenerate.ts +13 -2
- package/src/funcs/oauthRevoke.ts +14 -3
- package/src/funcs/onboardingGet.ts +13 -2
- package/src/funcs/onboardingSubmit.ts +14 -3
- package/src/funcs/organizationsGet.ts +2 -2
- package/src/funcs/organizationsGetCurrent.ts +13 -2
- package/src/funcs/organizationsGetPartner.ts +13 -2
- package/src/funcs/paymentLinksCreate.ts +2 -2
- package/src/funcs/paymentLinksDelete.ts +2 -2
- package/src/funcs/paymentLinksGet.ts +2 -2
- package/src/funcs/paymentLinksList.ts +2 -2
- package/src/funcs/paymentLinksListPayments.ts +2 -2
- package/src/funcs/paymentLinksUpdate.ts +2 -2
- package/src/funcs/paymentsCancel.ts +2 -2
- package/src/funcs/paymentsCreate.ts +2 -2
- package/src/funcs/paymentsGet.ts +2 -2
- package/src/funcs/paymentsList.ts +2 -2
- package/src/funcs/paymentsReleaseAuthorization.ts +2 -2
- package/src/funcs/paymentsUpdate.ts +2 -2
- package/src/funcs/payoutsCancel.ts +2 -2
- package/src/funcs/payoutsCreate.ts +2 -2
- package/src/funcs/payoutsGet.ts +2 -2
- package/src/funcs/payoutsList.ts +2 -2
- package/src/funcs/permissionsGet.ts +2 -2
- package/src/funcs/permissionsList.ts +2 -2
- package/src/funcs/profilesCreate.ts +2 -2
- package/src/funcs/profilesDelete.ts +2 -2
- package/src/funcs/profilesGet.ts +2 -2
- package/src/funcs/profilesGetCurrent.ts +13 -2
- package/src/funcs/profilesList.ts +2 -2
- package/src/funcs/profilesUpdate.ts +2 -2
- package/src/funcs/refundsAll.ts +2 -2
- package/src/funcs/refundsCancel.ts +2 -2
- package/src/funcs/refundsCreate.ts +2 -2
- package/src/funcs/refundsGet.ts +2 -2
- package/src/funcs/refundsList.ts +2 -2
- package/src/funcs/salesInvoicesCreate.ts +2 -2
- package/src/funcs/salesInvoicesDelete.ts +2 -2
- package/src/funcs/salesInvoicesGet.ts +2 -2
- package/src/funcs/salesInvoicesList.ts +2 -2
- package/src/funcs/salesInvoicesUpdate.ts +2 -2
- package/src/funcs/sessionsCreate.ts +2 -2
- package/src/funcs/sessionsGet.ts +13 -2
- package/src/funcs/settlementsGet.ts +2 -2
- package/src/funcs/settlementsGetNext.ts +13 -2
- package/src/funcs/settlementsGetOpen.ts +13 -2
- package/src/funcs/settlementsList.ts +2 -2
- package/src/funcs/settlementsListCaptures.ts +2 -2
- package/src/funcs/settlementsListChargebacks.ts +2 -2
- package/src/funcs/settlementsListPayments.ts +2 -2
- package/src/funcs/settlementsListRefunds.ts +2 -2
- package/src/funcs/subscriptionsAll.ts +2 -2
- package/src/funcs/subscriptionsCancel.ts +2 -2
- package/src/funcs/subscriptionsCreate.ts +2 -2
- package/src/funcs/subscriptionsGet.ts +2 -2
- package/src/funcs/subscriptionsList.ts +2 -2
- package/src/funcs/subscriptionsListPayments.ts +2 -2
- package/src/funcs/subscriptionsUpdate.ts +2 -2
- package/src/funcs/terminalsGet.ts +2 -2
- package/src/funcs/terminalsList.ts +2 -2
- package/src/funcs/terminalsTerminalsGetPairingCode.ts +213 -0
- package/src/funcs/terminalsTerminalsListPairingCodes.ts +205 -0
- package/src/funcs/terminalsTerminalsRequestPairingCode.ts +209 -0
- package/src/funcs/terminalsTerminalsRevokePairingCode.ts +207 -0
- package/src/funcs/transfersCreate.ts +2 -2
- package/src/funcs/transfersGet.ts +2 -2
- package/src/funcs/unmatchedCreditTransfersGet.ts +2 -2
- package/src/funcs/unmatchedCreditTransfersList.ts +2 -2
- package/src/funcs/unmatchedCreditTransfersMatch.ts +2 -2
- package/src/funcs/unmatchedCreditTransfersReturn.ts +2 -2
- package/src/funcs/verifyPayeeCreate.ts +1 -1
- package/src/funcs/walletsRequestApplePaySession.ts +2 -2
- package/src/funcs/webhookEventsGet.ts +2 -2
- package/src/funcs/webhooksCreate.ts +2 -2
- package/src/funcs/webhooksDelete.ts +2 -2
- package/src/funcs/webhooksGet.ts +2 -2
- package/src/funcs/webhooksList.ts +2 -2
- package/src/funcs/webhooksTest.ts +2 -2
- package/src/funcs/webhooksUpdate.ts +2 -2
- package/src/lib/config.ts +3 -3
- package/src/models/entitypairingcode.ts +223 -0
- package/src/models/index.ts +1 -0
- package/src/models/operations/index.ts +4 -0
- package/src/models/operations/terminalsgetpairingcode.ts +54 -0
- package/src/models/operations/terminalslistpairingcodes.ts +195 -0
- package/src/models/operations/terminalsrequestpairingcode.ts +86 -0
- package/src/models/operations/terminalsrevokepairingcode.ts +48 -0
- package/src/sdk/terminals.ts +98 -0
|
@@ -150,7 +150,7 @@ async function $do(
|
|
|
150
150
|
retryConnectionErrors: true,
|
|
151
151
|
}
|
|
152
152
|
|| { strategy: "none" },
|
|
153
|
-
retryCodes: options?.retryCodes || ["5xx"],
|
|
153
|
+
retryCodes: options?.retryCodes || ["429", "5xx"],
|
|
154
154
|
};
|
|
155
155
|
|
|
156
156
|
const requestRes = client._createRequest(context, {
|
|
@@ -199,7 +199,7 @@ async function $do(
|
|
|
199
199
|
M.json(201, models.UnmatchedCreditTransferActionResponse$inboundSchema, {
|
|
200
200
|
ctype: "application/hal+json",
|
|
201
201
|
}),
|
|
202
|
-
M.jsonErr([404, 422], errors.ErrorResponse$inboundSchema, {
|
|
202
|
+
M.jsonErr([404, 422, 429], errors.ErrorResponse$inboundSchema, {
|
|
203
203
|
ctype: "application/hal+json",
|
|
204
204
|
}),
|
|
205
205
|
M.fail("4XX"),
|
|
@@ -145,7 +145,7 @@ async function $do(
|
|
|
145
145
|
retryConnectionErrors: true,
|
|
146
146
|
}
|
|
147
147
|
|| { strategy: "none" },
|
|
148
|
-
retryCodes: options?.retryCodes || ["5xx"],
|
|
148
|
+
retryCodes: options?.retryCodes || ["429", "5xx"],
|
|
149
149
|
};
|
|
150
150
|
|
|
151
151
|
const requestRes = client._createRequest(context, {
|
|
@@ -194,7 +194,7 @@ async function $do(
|
|
|
194
194
|
M.json(201, models.UnmatchedCreditTransferActionResponse$inboundSchema, {
|
|
195
195
|
ctype: "application/hal+json",
|
|
196
196
|
}),
|
|
197
|
-
M.jsonErr(404, errors.ErrorResponse$inboundSchema, {
|
|
197
|
+
M.jsonErr([404, 429], errors.ErrorResponse$inboundSchema, {
|
|
198
198
|
ctype: "application/hal+json",
|
|
199
199
|
}),
|
|
200
200
|
M.fail("4XX"),
|
|
@@ -154,7 +154,7 @@ async function $do(
|
|
|
154
154
|
retryConnectionErrors: true,
|
|
155
155
|
}
|
|
156
156
|
|| { strategy: "none" },
|
|
157
|
-
retryCodes: options?.retryCodes || ["5xx"],
|
|
157
|
+
retryCodes: options?.retryCodes || ["429", "5xx"],
|
|
158
158
|
};
|
|
159
159
|
|
|
160
160
|
const requestRes = client._createRequest(context, {
|
|
@@ -150,7 +150,7 @@ async function $do(
|
|
|
150
150
|
retryConnectionErrors: true,
|
|
151
151
|
}
|
|
152
152
|
|| { strategy: "none" },
|
|
153
|
-
retryCodes: options?.retryCodes || ["5xx"],
|
|
153
|
+
retryCodes: options?.retryCodes || ["429", "5xx"],
|
|
154
154
|
};
|
|
155
155
|
|
|
156
156
|
const requestRes = client._createRequest(context, {
|
|
@@ -197,7 +197,7 @@ async function $do(
|
|
|
197
197
|
| SDKValidationError
|
|
198
198
|
>(
|
|
199
199
|
M.json(201, z.record(z.any()), { ctype: "application/hal+json" }),
|
|
200
|
-
M.jsonErr(422, errors.ErrorResponse$inboundSchema, {
|
|
200
|
+
M.jsonErr([422, 429], errors.ErrorResponse$inboundSchema, {
|
|
201
201
|
ctype: "application/hal+json",
|
|
202
202
|
}),
|
|
203
203
|
M.fail("4XX"),
|
|
@@ -139,7 +139,7 @@ async function $do(
|
|
|
139
139
|
retryConnectionErrors: true,
|
|
140
140
|
}
|
|
141
141
|
|| { strategy: "none" },
|
|
142
|
-
retryCodes: options?.retryCodes || ["5xx"],
|
|
142
|
+
retryCodes: options?.retryCodes || ["429", "5xx"],
|
|
143
143
|
};
|
|
144
144
|
|
|
145
145
|
const requestRes = client._createRequest(context, {
|
|
@@ -189,7 +189,7 @@ async function $do(
|
|
|
189
189
|
M.json(200, models.EntityWebhookEvent$inboundSchema, {
|
|
190
190
|
ctype: "application/hal+json",
|
|
191
191
|
}),
|
|
192
|
-
M.jsonErr(404, errors.ErrorResponse$inboundSchema, {
|
|
192
|
+
M.jsonErr([404, 429], errors.ErrorResponse$inboundSchema, {
|
|
193
193
|
ctype: "application/hal+json",
|
|
194
194
|
}),
|
|
195
195
|
M.fail("4XX"),
|
|
@@ -131,7 +131,7 @@ async function $do(
|
|
|
131
131
|
retryConnectionErrors: true,
|
|
132
132
|
}
|
|
133
133
|
|| { strategy: "none" },
|
|
134
|
-
retryCodes: options?.retryCodes || ["5xx"],
|
|
134
|
+
retryCodes: options?.retryCodes || ["429", "5xx"],
|
|
135
135
|
};
|
|
136
136
|
|
|
137
137
|
const requestRes = client._createRequest(context, {
|
|
@@ -180,7 +180,7 @@ async function $do(
|
|
|
180
180
|
M.json(201, models.CreateWebhook$inboundSchema, {
|
|
181
181
|
ctype: "application/hal+json",
|
|
182
182
|
}),
|
|
183
|
-
M.jsonErr(422, errors.ErrorResponse$inboundSchema, {
|
|
183
|
+
M.jsonErr([422, 429], errors.ErrorResponse$inboundSchema, {
|
|
184
184
|
ctype: "application/hal+json",
|
|
185
185
|
}),
|
|
186
186
|
M.fail("4XX"),
|
|
@@ -136,7 +136,7 @@ async function $do(
|
|
|
136
136
|
retryConnectionErrors: true,
|
|
137
137
|
}
|
|
138
138
|
|| { strategy: "none" },
|
|
139
|
-
retryCodes: options?.retryCodes || ["5xx"],
|
|
139
|
+
retryCodes: options?.retryCodes || ["429", "5xx"],
|
|
140
140
|
};
|
|
141
141
|
|
|
142
142
|
const requestRes = client._createRequest(context, {
|
|
@@ -183,7 +183,7 @@ async function $do(
|
|
|
183
183
|
| SDKValidationError
|
|
184
184
|
>(
|
|
185
185
|
M.nil(204, z.void()),
|
|
186
|
-
M.jsonErr([404, 422], errors.ErrorResponse$inboundSchema, {
|
|
186
|
+
M.jsonErr([404, 422, 429], errors.ErrorResponse$inboundSchema, {
|
|
187
187
|
ctype: "application/hal+json",
|
|
188
188
|
}),
|
|
189
189
|
M.fail("4XX"),
|
package/src/funcs/webhooksGet.ts
CHANGED
|
@@ -139,7 +139,7 @@ async function $do(
|
|
|
139
139
|
retryConnectionErrors: true,
|
|
140
140
|
}
|
|
141
141
|
|| { strategy: "none" },
|
|
142
|
-
retryCodes: options?.retryCodes || ["5xx"],
|
|
142
|
+
retryCodes: options?.retryCodes || ["429", "5xx"],
|
|
143
143
|
};
|
|
144
144
|
|
|
145
145
|
const requestRes = client._createRequest(context, {
|
|
@@ -189,7 +189,7 @@ async function $do(
|
|
|
189
189
|
M.json(200, models.EntityWebhook$inboundSchema, {
|
|
190
190
|
ctype: "application/hal+json",
|
|
191
191
|
}),
|
|
192
|
-
M.jsonErr([404, 422], errors.ErrorResponse$inboundSchema, {
|
|
192
|
+
M.jsonErr([404, 422, 429], errors.ErrorResponse$inboundSchema, {
|
|
193
193
|
ctype: "application/hal+json",
|
|
194
194
|
}),
|
|
195
195
|
M.fail("4XX"),
|
|
@@ -155,7 +155,7 @@ async function $do(
|
|
|
155
155
|
retryConnectionErrors: true,
|
|
156
156
|
}
|
|
157
157
|
|| { strategy: "none" },
|
|
158
|
-
retryCodes: options?.retryCodes || ["5xx"],
|
|
158
|
+
retryCodes: options?.retryCodes || ["429", "5xx"],
|
|
159
159
|
};
|
|
160
160
|
|
|
161
161
|
const requestRes = client._createRequest(context, {
|
|
@@ -206,7 +206,7 @@ async function $do(
|
|
|
206
206
|
ctype: "application/hal+json",
|
|
207
207
|
key: "Result",
|
|
208
208
|
}),
|
|
209
|
-
M.jsonErr(400, errors.ErrorResponse$inboundSchema, {
|
|
209
|
+
M.jsonErr([400, 429], errors.ErrorResponse$inboundSchema, {
|
|
210
210
|
ctype: "application/hal+json",
|
|
211
211
|
}),
|
|
212
212
|
M.fail("4XX"),
|
|
@@ -136,7 +136,7 @@ async function $do(
|
|
|
136
136
|
retryConnectionErrors: true,
|
|
137
137
|
}
|
|
138
138
|
|| { strategy: "none" },
|
|
139
|
-
retryCodes: options?.retryCodes || ["5xx"],
|
|
139
|
+
retryCodes: options?.retryCodes || ["429", "5xx"],
|
|
140
140
|
};
|
|
141
141
|
|
|
142
142
|
const requestRes = client._createRequest(context, {
|
|
@@ -183,7 +183,7 @@ async function $do(
|
|
|
183
183
|
| SDKValidationError
|
|
184
184
|
>(
|
|
185
185
|
M.nil(202, z.void()),
|
|
186
|
-
M.jsonErr([404, 422], errors.ErrorResponse$inboundSchema, {
|
|
186
|
+
M.jsonErr([404, 422, 429], errors.ErrorResponse$inboundSchema, {
|
|
187
187
|
ctype: "application/hal+json",
|
|
188
188
|
}),
|
|
189
189
|
M.fail("4XX"),
|
|
@@ -136,7 +136,7 @@ async function $do(
|
|
|
136
136
|
retryConnectionErrors: true,
|
|
137
137
|
}
|
|
138
138
|
|| { strategy: "none" },
|
|
139
|
-
retryCodes: options?.retryCodes || ["5xx"],
|
|
139
|
+
retryCodes: options?.retryCodes || ["429", "5xx"],
|
|
140
140
|
};
|
|
141
141
|
|
|
142
142
|
const requestRes = client._createRequest(context, {
|
|
@@ -185,7 +185,7 @@ async function $do(
|
|
|
185
185
|
M.json(200, models.EntityWebhook$inboundSchema, {
|
|
186
186
|
ctype: "application/hal+json",
|
|
187
187
|
}),
|
|
188
|
-
M.jsonErr([404, 422], errors.ErrorResponse$inboundSchema, {
|
|
188
|
+
M.jsonErr([404, 422, 429], errors.ErrorResponse$inboundSchema, {
|
|
189
189
|
ctype: "application/hal+json",
|
|
190
190
|
}),
|
|
191
191
|
M.fail("4XX"),
|
package/src/lib/config.ts
CHANGED
|
@@ -78,8 +78,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
78
78
|
export const SDK_METADATA = {
|
|
79
79
|
language: "typescript",
|
|
80
80
|
openapiDocVersion: "1.0.0",
|
|
81
|
-
sdkVersion: "1.8.
|
|
82
|
-
genVersion: "2.884.
|
|
81
|
+
sdkVersion: "1.8.2",
|
|
82
|
+
genVersion: "2.884.11",
|
|
83
83
|
userAgent:
|
|
84
|
-
"speakeasy-sdk/typescript 1.8.
|
|
84
|
+
"speakeasy-sdk/typescript 1.8.2 2.884.11 1.0.0 mollie-api-typescript",
|
|
85
85
|
} as const;
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 01b26dbb30ac
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
8
|
+
import { safeParse } from "../lib/schemas.js";
|
|
9
|
+
import * as openEnums from "../types/enums.js";
|
|
10
|
+
import { OpenEnum } from "../types/enums.js";
|
|
11
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
12
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
13
|
+
import { Mode, Mode$inboundSchema } from "./mode.js";
|
|
14
|
+
import { Url, Url$inboundSchema } from "./url.js";
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The status of the pairing code.
|
|
18
|
+
*/
|
|
19
|
+
export const EntityPairingCodeStatus = {
|
|
20
|
+
Active: "active",
|
|
21
|
+
Expired: "expired",
|
|
22
|
+
Revoked: "revoked",
|
|
23
|
+
} as const;
|
|
24
|
+
/**
|
|
25
|
+
* The status of the pairing code.
|
|
26
|
+
*/
|
|
27
|
+
export type EntityPairingCodeStatus = OpenEnum<typeof EntityPairingCodeStatus>;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* The QR code representation of the pairing code.
|
|
31
|
+
*/
|
|
32
|
+
export type EntityPairingCodeQrCode = {
|
|
33
|
+
height?: number | undefined;
|
|
34
|
+
width?: number | undefined;
|
|
35
|
+
src?: string | undefined;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Additional pairing code data, present only when requested via the `include` parameter.
|
|
40
|
+
*/
|
|
41
|
+
export type EntityPairingCodeDetails = {
|
|
42
|
+
/**
|
|
43
|
+
* The QR code representation of the pairing code.
|
|
44
|
+
*/
|
|
45
|
+
qrCode?: EntityPairingCodeQrCode | null | undefined;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
50
|
+
*/
|
|
51
|
+
export type EntityPairingCodeLinks = {
|
|
52
|
+
/**
|
|
53
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
54
|
+
*/
|
|
55
|
+
self: Url;
|
|
56
|
+
/**
|
|
57
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
58
|
+
*/
|
|
59
|
+
profile: Url;
|
|
60
|
+
/**
|
|
61
|
+
* In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
|
|
62
|
+
*/
|
|
63
|
+
documentation: Url;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export type EntityPairingCode = {
|
|
67
|
+
/**
|
|
68
|
+
* Indicates the response contains a terminal pairing code object. Will always contain the string
|
|
69
|
+
*
|
|
70
|
+
* @remarks
|
|
71
|
+
* `terminal-pairing-code` for this endpoint.
|
|
72
|
+
*/
|
|
73
|
+
resource: string;
|
|
74
|
+
/**
|
|
75
|
+
* The unique identifier of the pairing code. Example: `termpc_R7gX5Ea9bC4DkFj3G`.
|
|
76
|
+
*/
|
|
77
|
+
id: string;
|
|
78
|
+
/**
|
|
79
|
+
* Whether this entity was created in live mode or in test mode.
|
|
80
|
+
*/
|
|
81
|
+
mode: Mode;
|
|
82
|
+
/**
|
|
83
|
+
* The human-readable pairing code to be entered on the terminal. This code is multi-use and will expire after the
|
|
84
|
+
*
|
|
85
|
+
* @remarks
|
|
86
|
+
* time indicated in `expiresAt`.
|
|
87
|
+
*/
|
|
88
|
+
code: string;
|
|
89
|
+
/**
|
|
90
|
+
* The ID of the profile the terminal is being paired with.
|
|
91
|
+
*/
|
|
92
|
+
profileId: string;
|
|
93
|
+
status: EntityPairingCodeStatus;
|
|
94
|
+
/**
|
|
95
|
+
* Additional pairing code data, present only when requested via the `include` parameter.
|
|
96
|
+
*/
|
|
97
|
+
details?: EntityPairingCodeDetails | null | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* The date and time the pairing code expires, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. Pairing
|
|
100
|
+
*
|
|
101
|
+
* @remarks
|
|
102
|
+
* codes expire 90 days after creation. After this time, the code can no longer be used to pair a terminal.
|
|
103
|
+
*/
|
|
104
|
+
expiresAt: string;
|
|
105
|
+
/**
|
|
106
|
+
* The date and time the pairing code was revoked, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
107
|
+
*
|
|
108
|
+
* @remarks
|
|
109
|
+
* `null` if the code has not been revoked.
|
|
110
|
+
*/
|
|
111
|
+
revokedAt?: string | null | undefined;
|
|
112
|
+
/**
|
|
113
|
+
* The entity's date and time of creation, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
114
|
+
*/
|
|
115
|
+
createdAt: string;
|
|
116
|
+
/**
|
|
117
|
+
* An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
|
|
118
|
+
*/
|
|
119
|
+
links: EntityPairingCodeLinks;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
/** @internal */
|
|
123
|
+
export const EntityPairingCodeStatus$inboundSchema: z.ZodType<
|
|
124
|
+
EntityPairingCodeStatus,
|
|
125
|
+
z.ZodTypeDef,
|
|
126
|
+
unknown
|
|
127
|
+
> = openEnums.inboundSchema(EntityPairingCodeStatus);
|
|
128
|
+
|
|
129
|
+
/** @internal */
|
|
130
|
+
export const EntityPairingCodeQrCode$inboundSchema: z.ZodType<
|
|
131
|
+
EntityPairingCodeQrCode,
|
|
132
|
+
z.ZodTypeDef,
|
|
133
|
+
unknown
|
|
134
|
+
> = z.object({
|
|
135
|
+
height: z.number().optional(),
|
|
136
|
+
width: z.number().optional(),
|
|
137
|
+
src: z.string().optional(),
|
|
138
|
+
});
|
|
139
|
+
|
|
140
|
+
export function entityPairingCodeQrCodeFromJSON(
|
|
141
|
+
jsonString: string,
|
|
142
|
+
): SafeParseResult<EntityPairingCodeQrCode, SDKValidationError> {
|
|
143
|
+
return safeParse(
|
|
144
|
+
jsonString,
|
|
145
|
+
(x) => EntityPairingCodeQrCode$inboundSchema.parse(JSON.parse(x)),
|
|
146
|
+
`Failed to parse 'EntityPairingCodeQrCode' from JSON`,
|
|
147
|
+
);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/** @internal */
|
|
151
|
+
export const EntityPairingCodeDetails$inboundSchema: z.ZodType<
|
|
152
|
+
EntityPairingCodeDetails,
|
|
153
|
+
z.ZodTypeDef,
|
|
154
|
+
unknown
|
|
155
|
+
> = z.object({
|
|
156
|
+
qrCode: z.nullable(z.lazy(() => EntityPairingCodeQrCode$inboundSchema))
|
|
157
|
+
.optional(),
|
|
158
|
+
});
|
|
159
|
+
|
|
160
|
+
export function entityPairingCodeDetailsFromJSON(
|
|
161
|
+
jsonString: string,
|
|
162
|
+
): SafeParseResult<EntityPairingCodeDetails, SDKValidationError> {
|
|
163
|
+
return safeParse(
|
|
164
|
+
jsonString,
|
|
165
|
+
(x) => EntityPairingCodeDetails$inboundSchema.parse(JSON.parse(x)),
|
|
166
|
+
`Failed to parse 'EntityPairingCodeDetails' from JSON`,
|
|
167
|
+
);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/** @internal */
|
|
171
|
+
export const EntityPairingCodeLinks$inboundSchema: z.ZodType<
|
|
172
|
+
EntityPairingCodeLinks,
|
|
173
|
+
z.ZodTypeDef,
|
|
174
|
+
unknown
|
|
175
|
+
> = z.object({
|
|
176
|
+
self: Url$inboundSchema,
|
|
177
|
+
profile: Url$inboundSchema,
|
|
178
|
+
documentation: Url$inboundSchema,
|
|
179
|
+
});
|
|
180
|
+
|
|
181
|
+
export function entityPairingCodeLinksFromJSON(
|
|
182
|
+
jsonString: string,
|
|
183
|
+
): SafeParseResult<EntityPairingCodeLinks, SDKValidationError> {
|
|
184
|
+
return safeParse(
|
|
185
|
+
jsonString,
|
|
186
|
+
(x) => EntityPairingCodeLinks$inboundSchema.parse(JSON.parse(x)),
|
|
187
|
+
`Failed to parse 'EntityPairingCodeLinks' from JSON`,
|
|
188
|
+
);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/** @internal */
|
|
192
|
+
export const EntityPairingCode$inboundSchema: z.ZodType<
|
|
193
|
+
EntityPairingCode,
|
|
194
|
+
z.ZodTypeDef,
|
|
195
|
+
unknown
|
|
196
|
+
> = z.object({
|
|
197
|
+
resource: z.string(),
|
|
198
|
+
id: z.string(),
|
|
199
|
+
mode: Mode$inboundSchema,
|
|
200
|
+
code: z.string(),
|
|
201
|
+
profileId: z.string(),
|
|
202
|
+
status: EntityPairingCodeStatus$inboundSchema,
|
|
203
|
+
details: z.nullable(z.lazy(() => EntityPairingCodeDetails$inboundSchema))
|
|
204
|
+
.optional(),
|
|
205
|
+
expiresAt: z.string(),
|
|
206
|
+
revokedAt: z.nullable(z.string()).optional(),
|
|
207
|
+
createdAt: z.string(),
|
|
208
|
+
_links: z.lazy(() => EntityPairingCodeLinks$inboundSchema),
|
|
209
|
+
}).transform((v) => {
|
|
210
|
+
return remap$(v, {
|
|
211
|
+
"_links": "links",
|
|
212
|
+
});
|
|
213
|
+
});
|
|
214
|
+
|
|
215
|
+
export function entityPairingCodeFromJSON(
|
|
216
|
+
jsonString: string,
|
|
217
|
+
): SafeParseResult<EntityPairingCode, SDKValidationError> {
|
|
218
|
+
return safeParse(
|
|
219
|
+
jsonString,
|
|
220
|
+
(x) => EntityPairingCode$inboundSchema.parse(JSON.parse(x)),
|
|
221
|
+
`Failed to parse 'EntityPairingCode' from JSON`,
|
|
222
|
+
);
|
|
223
|
+
}
|
package/src/models/index.ts
CHANGED
|
@@ -61,6 +61,7 @@ export * from "./entityinvoice.js";
|
|
|
61
61
|
export * from "./entitymethodget.js";
|
|
62
62
|
export * from "./entityonboardingstatus.js";
|
|
63
63
|
export * from "./entityorganization.js";
|
|
64
|
+
export * from "./entitypairingcode.js";
|
|
64
65
|
export * from "./entitypaymentroute.js";
|
|
65
66
|
export * from "./entitypaymentrouteresponse.js";
|
|
66
67
|
export * from "./entitypayoutresponse.js";
|
|
@@ -110,6 +110,10 @@ export * from "./requestapplepaypaymentsession.js";
|
|
|
110
110
|
export * from "./returnunmatchedcredittransfer.js";
|
|
111
111
|
export * from "./revokemandate.js";
|
|
112
112
|
export * from "./submitonboardingdata.js";
|
|
113
|
+
export * from "./terminalsgetpairingcode.js";
|
|
114
|
+
export * from "./terminalslistpairingcodes.js";
|
|
115
|
+
export * from "./terminalsrequestpairingcode.js";
|
|
116
|
+
export * from "./terminalsrevokepairingcode.js";
|
|
113
117
|
export * from "./testwebhook.js";
|
|
114
118
|
export * from "./updatecustomer.js";
|
|
115
119
|
export * from "./updatepayment.js";
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: b30f839af4d4
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import * as z from "zod/v3";
|
|
7
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
8
|
+
|
|
9
|
+
export type TerminalsGetPairingCodeRequest = {
|
|
10
|
+
/**
|
|
11
|
+
* Provide the ID of the terminal pairing code.
|
|
12
|
+
*/
|
|
13
|
+
pairingCodeId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Include additional information in the response.
|
|
16
|
+
*/
|
|
17
|
+
include?: string | null | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* A unique key to ensure idempotent requests. This key should be a UUID v4 string.
|
|
20
|
+
*/
|
|
21
|
+
idempotencyKey?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export type TerminalsGetPairingCodeRequest$Outbound = {
|
|
26
|
+
pairingCodeId: string;
|
|
27
|
+
include?: string | null | undefined;
|
|
28
|
+
"idempotency-key"?: string | undefined;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export const TerminalsGetPairingCodeRequest$outboundSchema: z.ZodType<
|
|
33
|
+
TerminalsGetPairingCodeRequest$Outbound,
|
|
34
|
+
z.ZodTypeDef,
|
|
35
|
+
TerminalsGetPairingCodeRequest
|
|
36
|
+
> = z.object({
|
|
37
|
+
pairingCodeId: z.string(),
|
|
38
|
+
include: z.nullable(z.string()).optional(),
|
|
39
|
+
idempotencyKey: z.string().optional(),
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
idempotencyKey: "idempotency-key",
|
|
43
|
+
});
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
export function terminalsGetPairingCodeRequestToJSON(
|
|
47
|
+
terminalsGetPairingCodeRequest: TerminalsGetPairingCodeRequest,
|
|
48
|
+
): string {
|
|
49
|
+
return JSON.stringify(
|
|
50
|
+
TerminalsGetPairingCodeRequest$outboundSchema.parse(
|
|
51
|
+
terminalsGetPairingCodeRequest,
|
|
52
|
+
),
|
|
53
|
+
);
|
|
54
|
+
}
|