@moovio/sdk 0.11.5 → 0.12.1
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/FUNCTIONS.md +7 -104
- package/README.md +110 -560
- package/bin/mcp-server.js +2663 -1992
- package/bin/mcp-server.js.map +172 -152
- package/docs/sdks/accounts/README.md +79 -261
- package/docs/sdks/accountterminalapplications/README.md +28 -36
- package/docs/sdks/adjustments/README.md +20 -24
- package/docs/sdks/applepay/README.md +47 -57
- package/docs/sdks/authentication/README.md +14 -18
- package/docs/sdks/avatars/README.md +7 -9
- package/docs/sdks/bankaccounts/README.md +99 -117
- package/docs/sdks/branding/README.md +36 -44
- package/docs/sdks/capabilities/README.md +38 -46
- package/docs/sdks/cardissuing/README.md +57 -83
- package/docs/sdks/cards/README.md +45 -85
- package/docs/sdks/disputes/README.md +131 -153
- package/docs/sdks/endtoendencryption/README.md +14 -18
- package/docs/sdks/enrichedaddress/README.md +7 -9
- package/docs/sdks/enrichedprofile/README.md +9 -11
- package/docs/sdks/feeplans/README.md +65 -79
- package/docs/sdks/files/README.md +29 -35
- package/docs/sdks/industries/README.md +11 -13
- package/docs/sdks/institutions/README.md +98 -9
- package/docs/sdks/issuingtransactions/README.md +51 -61
- package/docs/sdks/onboarding/README.md +30 -206
- package/docs/sdks/paymentlinks/README.md +58 -128
- package/docs/sdks/paymentmethods/README.md +20 -24
- package/docs/sdks/ping/README.md +7 -9
- package/docs/sdks/receipts/README.md +19 -33
- package/docs/sdks/representatives/README.md +53 -71
- package/docs/sdks/scheduling/README.md +76 -88
- package/docs/sdks/sweeps/README.md +64 -76
- package/docs/sdks/terminalapplications/README.md +28 -36
- package/docs/sdks/transfers/README.md +127 -195
- package/docs/sdks/underwriting/README.md +44 -48
- package/docs/sdks/wallets/README.md +20 -24
- package/docs/sdks/wallettransactions/README.md +24 -28
- package/funcs/accountTerminalApplicationsGet.js +2 -0
- package/funcs/accountTerminalApplicationsGet.js.map +1 -1
- package/funcs/accountTerminalApplicationsGetConfiguration.js +2 -0
- package/funcs/accountTerminalApplicationsGetConfiguration.js.map +1 -1
- package/funcs/accountTerminalApplicationsLink.js +2 -0
- package/funcs/accountTerminalApplicationsLink.js.map +1 -1
- package/funcs/accountTerminalApplicationsList.js +2 -0
- package/funcs/accountTerminalApplicationsList.js.map +1 -1
- package/funcs/accountsAssignCountries.js +2 -0
- package/funcs/accountsAssignCountries.js.map +1 -1
- package/funcs/accountsCreate.js +2 -0
- package/funcs/accountsCreate.js.map +1 -1
- package/funcs/accountsDisconnect.js +2 -0
- package/funcs/accountsDisconnect.js.map +1 -1
- package/funcs/accountsGet.js +2 -0
- package/funcs/accountsGet.js.map +1 -1
- package/funcs/accountsGetCountries.js +2 -0
- package/funcs/accountsGetCountries.js.map +1 -1
- package/funcs/accountsGetMerchantProcessingAgreement.js +2 -0
- package/funcs/accountsGetMerchantProcessingAgreement.js.map +1 -1
- package/funcs/accountsGetTermsOfServiceToken.js +2 -0
- package/funcs/accountsGetTermsOfServiceToken.js.map +1 -1
- package/funcs/accountsList.js +2 -0
- package/funcs/accountsList.js.map +1 -1
- package/funcs/accountsUpdate.js +2 -0
- package/funcs/accountsUpdate.js.map +1 -1
- package/funcs/adjustmentsGet.js +2 -0
- package/funcs/adjustmentsGet.js.map +1 -1
- package/funcs/adjustmentsList.js +2 -0
- package/funcs/adjustmentsList.js.map +1 -1
- package/funcs/applePayCreateSession.js +2 -0
- package/funcs/applePayCreateSession.js.map +1 -1
- package/funcs/applePayGetMerchantDomains.js +2 -0
- package/funcs/applePayGetMerchantDomains.js.map +1 -1
- package/funcs/applePayLinkToken.js +2 -0
- package/funcs/applePayLinkToken.js.map +1 -1
- package/funcs/applePayRegisterMerchantDomains.js +2 -0
- package/funcs/applePayRegisterMerchantDomains.js.map +1 -1
- package/funcs/applePayUpdateMerchantDomains.js +2 -0
- package/funcs/applePayUpdateMerchantDomains.js.map +1 -1
- package/funcs/authenticationCreateAccessToken.js +2 -0
- package/funcs/authenticationCreateAccessToken.js.map +1 -1
- package/funcs/authenticationRevokeAccessToken.js +2 -0
- package/funcs/authenticationRevokeAccessToken.js.map +1 -1
- package/funcs/avatarsGet.js +2 -0
- package/funcs/avatarsGet.js.map +1 -1
- package/funcs/bankAccountsCompleteMicroDeposits.js +2 -0
- package/funcs/bankAccountsCompleteMicroDeposits.js.map +1 -1
- package/funcs/bankAccountsCompleteVerification.js +2 -0
- package/funcs/bankAccountsCompleteVerification.js.map +1 -1
- package/funcs/bankAccountsDisable.js +2 -0
- package/funcs/bankAccountsDisable.js.map +1 -1
- package/funcs/bankAccountsGet.js +2 -0
- package/funcs/bankAccountsGet.js.map +1 -1
- package/funcs/bankAccountsGetVerification.js +2 -0
- package/funcs/bankAccountsGetVerification.js.map +1 -1
- package/funcs/bankAccountsInitiateMicroDeposits.js +2 -0
- package/funcs/bankAccountsInitiateMicroDeposits.js.map +1 -1
- package/funcs/bankAccountsInitiateVerification.js +2 -0
- package/funcs/bankAccountsInitiateVerification.js.map +1 -1
- package/funcs/bankAccountsLink.js +2 -0
- package/funcs/bankAccountsLink.js.map +1 -1
- package/funcs/bankAccountsList.js +2 -0
- package/funcs/bankAccountsList.js.map +1 -1
- package/funcs/brandingCreate.js +2 -0
- package/funcs/brandingCreate.js.map +1 -1
- package/funcs/brandingGet.js +2 -0
- package/funcs/brandingGet.js.map +1 -1
- package/funcs/brandingUpdate.js +2 -0
- package/funcs/brandingUpdate.js.map +1 -1
- package/funcs/brandingUpsert.js +2 -0
- package/funcs/brandingUpsert.js.map +1 -1
- package/funcs/capabilitiesDisable.js +2 -0
- package/funcs/capabilitiesDisable.js.map +1 -1
- package/funcs/capabilitiesGet.js +2 -0
- package/funcs/capabilitiesGet.js.map +1 -1
- package/funcs/capabilitiesList.js +2 -0
- package/funcs/capabilitiesList.js.map +1 -1
- package/funcs/capabilitiesRequest.js +2 -0
- package/funcs/capabilitiesRequest.js.map +1 -1
- package/funcs/cardIssuingGet.js +2 -0
- package/funcs/cardIssuingGet.js.map +1 -1
- package/funcs/cardIssuingGetFull.js +2 -0
- package/funcs/cardIssuingGetFull.js.map +1 -1
- package/funcs/cardIssuingList.js +2 -0
- package/funcs/cardIssuingList.js.map +1 -1
- package/funcs/cardIssuingRequest.js +2 -0
- package/funcs/cardIssuingRequest.js.map +1 -1
- package/funcs/cardIssuingUpdate.js +2 -0
- package/funcs/cardIssuingUpdate.js.map +1 -1
- package/funcs/cardsDisable.js +2 -0
- package/funcs/cardsDisable.js.map +1 -1
- package/funcs/cardsGet.js +2 -0
- package/funcs/cardsGet.js.map +1 -1
- package/funcs/cardsLink.js +2 -0
- package/funcs/cardsLink.js.map +1 -1
- package/funcs/cardsList.js +2 -0
- package/funcs/cardsList.js.map +1 -1
- package/funcs/cardsUpdate.js +2 -0
- package/funcs/cardsUpdate.js.map +1 -1
- package/funcs/disputesAccept.js +2 -0
- package/funcs/disputesAccept.js.map +1 -1
- package/funcs/disputesDeleteEvidence.js +2 -0
- package/funcs/disputesDeleteEvidence.js.map +1 -1
- package/funcs/disputesGet.js +2 -0
- package/funcs/disputesGet.js.map +1 -1
- package/funcs/disputesGetEvidence.js +2 -0
- package/funcs/disputesGetEvidence.js.map +1 -1
- package/funcs/disputesGetEvidenceData.js +2 -0
- package/funcs/disputesGetEvidenceData.js.map +1 -1
- package/funcs/disputesList.js +2 -0
- package/funcs/disputesList.js.map +1 -1
- package/funcs/disputesListEvidence.js +2 -0
- package/funcs/disputesListEvidence.js.map +1 -1
- package/funcs/disputesSubmitEvidence.js +2 -0
- package/funcs/disputesSubmitEvidence.js.map +1 -1
- package/funcs/disputesUpdateEvidence.js +2 -0
- package/funcs/disputesUpdateEvidence.js.map +1 -1
- package/funcs/disputesUploadEvidenceFile.js +2 -0
- package/funcs/disputesUploadEvidenceFile.js.map +1 -1
- package/funcs/disputesUploadEvidenceText.js +2 -0
- package/funcs/disputesUploadEvidenceText.js.map +1 -1
- package/funcs/endToEndEncryptionGenerateKey.js +2 -0
- package/funcs/endToEndEncryptionGenerateKey.js.map +1 -1
- package/funcs/endToEndEncryptionTestEncryptedToken.js +2 -0
- package/funcs/endToEndEncryptionTestEncryptedToken.js.map +1 -1
- package/funcs/enrichedAddressGet.js +2 -0
- package/funcs/enrichedAddressGet.js.map +1 -1
- package/funcs/enrichedProfileGet.js +2 -0
- package/funcs/enrichedProfileGet.js.map +1 -1
- package/funcs/feePlansCreateFeePlanAgreements.js +2 -0
- package/funcs/feePlansCreateFeePlanAgreements.js.map +1 -1
- package/funcs/feePlansListFeePlanAgreements.js +2 -0
- package/funcs/feePlansListFeePlanAgreements.js.map +1 -1
- package/funcs/feePlansListFeePlans.js +2 -0
- package/funcs/feePlansListFeePlans.js.map +1 -1
- package/funcs/feePlansListFeesFetch.js +2 -0
- package/funcs/feePlansListFeesFetch.js.map +1 -1
- package/funcs/feePlansListPartnerPricing.js +2 -0
- package/funcs/feePlansListPartnerPricing.js.map +1 -1
- package/funcs/feePlansListPartnerPricingAgreements.js +2 -0
- package/funcs/feePlansListPartnerPricingAgreements.js.map +1 -1
- package/funcs/feePlansRetrieveFees.js +2 -0
- package/funcs/feePlansRetrieveFees.js.map +1 -1
- package/funcs/filesGet.js +2 -0
- package/funcs/filesGet.js.map +1 -1
- package/funcs/filesList.js +2 -0
- package/funcs/filesList.js.map +1 -1
- package/funcs/filesUpload.js +2 -0
- package/funcs/filesUpload.js.map +1 -1
- package/funcs/industriesList.d.ts +2 -2
- package/funcs/industriesList.js +4 -2
- package/funcs/industriesList.js.map +1 -1
- package/funcs/institutionsSearch.js +2 -0
- package/funcs/institutionsSearch.js.map +1 -1
- package/funcs/institutionsSearchInstitutions.d.ts +20 -0
- package/funcs/institutionsSearchInstitutions.d.ts.map +1 -0
- package/funcs/institutionsSearchInstitutions.js +129 -0
- package/funcs/institutionsSearchInstitutions.js.map +1 -0
- package/funcs/issuingTransactionsGet.js +2 -0
- package/funcs/issuingTransactionsGet.js.map +1 -1
- package/funcs/issuingTransactionsGetAuthorization.js +2 -0
- package/funcs/issuingTransactionsGetAuthorization.js.map +1 -1
- package/funcs/issuingTransactionsList.js +2 -0
- package/funcs/issuingTransactionsList.js.map +1 -1
- package/funcs/issuingTransactionsListAuthorizationEvents.js +2 -0
- package/funcs/issuingTransactionsListAuthorizationEvents.js.map +1 -1
- package/funcs/issuingTransactionsListAuthorizations.js +2 -0
- package/funcs/issuingTransactionsListAuthorizations.js.map +1 -1
- package/funcs/onboardingCreateInvite.js +2 -0
- package/funcs/onboardingCreateInvite.js.map +1 -1
- package/funcs/onboardingGetInvite.js +2 -0
- package/funcs/onboardingGetInvite.js.map +1 -1
- package/funcs/onboardingListInvites.js +2 -0
- package/funcs/onboardingListInvites.js.map +1 -1
- package/funcs/onboardingRevokeInvite.js +2 -0
- package/funcs/onboardingRevokeInvite.js.map +1 -1
- package/funcs/paymentLinksCreate.js +2 -0
- package/funcs/paymentLinksCreate.js.map +1 -1
- package/funcs/paymentLinksDisable.js +2 -0
- package/funcs/paymentLinksDisable.js.map +1 -1
- package/funcs/paymentLinksGet.js +2 -0
- package/funcs/paymentLinksGet.js.map +1 -1
- package/funcs/paymentLinksGetQRCode.js +2 -0
- package/funcs/paymentLinksGetQRCode.js.map +1 -1
- package/funcs/paymentLinksList.js +2 -0
- package/funcs/paymentLinksList.js.map +1 -1
- package/funcs/paymentLinksUpdate.js +2 -0
- package/funcs/paymentLinksUpdate.js.map +1 -1
- package/funcs/paymentMethodsGet.js +2 -0
- package/funcs/paymentMethodsGet.js.map +1 -1
- package/funcs/paymentMethodsList.js +2 -0
- package/funcs/paymentMethodsList.js.map +1 -1
- package/funcs/pingPing.js +2 -0
- package/funcs/pingPing.js.map +1 -1
- package/funcs/receiptsCreate.js +2 -0
- package/funcs/receiptsCreate.js.map +1 -1
- package/funcs/receiptsList.js +2 -0
- package/funcs/receiptsList.js.map +1 -1
- package/funcs/representativesCreate.js +2 -0
- package/funcs/representativesCreate.js.map +1 -1
- package/funcs/representativesDelete.js +2 -0
- package/funcs/representativesDelete.js.map +1 -1
- package/funcs/representativesGet.js +2 -0
- package/funcs/representativesGet.js.map +1 -1
- package/funcs/representativesList.js +2 -0
- package/funcs/representativesList.js.map +1 -1
- package/funcs/representativesUpdate.js +2 -0
- package/funcs/representativesUpdate.js.map +1 -1
- package/funcs/schedulingCancel.js +2 -0
- package/funcs/schedulingCancel.js.map +1 -1
- package/funcs/schedulingCreate.js +2 -0
- package/funcs/schedulingCreate.js.map +1 -1
- package/funcs/schedulingGet.js +2 -0
- package/funcs/schedulingGet.js.map +1 -1
- package/funcs/schedulingGetOccurrance.js +2 -0
- package/funcs/schedulingGetOccurrance.js.map +1 -1
- package/funcs/schedulingList.js +2 -0
- package/funcs/schedulingList.js.map +1 -1
- package/funcs/schedulingUpdate.js +2 -0
- package/funcs/schedulingUpdate.js.map +1 -1
- package/funcs/sweepsCreateConfig.js +2 -0
- package/funcs/sweepsCreateConfig.js.map +1 -1
- package/funcs/sweepsGet.js +2 -0
- package/funcs/sweepsGet.js.map +1 -1
- package/funcs/sweepsGetConfig.js +2 -0
- package/funcs/sweepsGetConfig.js.map +1 -1
- package/funcs/sweepsList.js +2 -0
- package/funcs/sweepsList.js.map +1 -1
- package/funcs/sweepsListConfigs.js +2 -0
- package/funcs/sweepsListConfigs.js.map +1 -1
- package/funcs/sweepsUpdateConfig.js +2 -0
- package/funcs/sweepsUpdateConfig.js.map +1 -1
- package/funcs/terminalApplicationsCreate.js +2 -0
- package/funcs/terminalApplicationsCreate.js.map +1 -1
- package/funcs/terminalApplicationsDelete.js +2 -0
- package/funcs/terminalApplicationsDelete.js.map +1 -1
- package/funcs/terminalApplicationsGet.js +2 -0
- package/funcs/terminalApplicationsGet.js.map +1 -1
- package/funcs/terminalApplicationsList.js +2 -0
- package/funcs/terminalApplicationsList.js.map +1 -1
- package/funcs/transfersCreate.js +2 -0
- package/funcs/transfersCreate.js.map +1 -1
- package/funcs/transfersCreateCancellation.js +2 -0
- package/funcs/transfersCreateCancellation.js.map +1 -1
- package/funcs/transfersCreateReversal.js +2 -0
- package/funcs/transfersCreateReversal.js.map +1 -1
- package/funcs/transfersGenerateOptions.js +2 -0
- package/funcs/transfersGenerateOptions.js.map +1 -1
- package/funcs/transfersGet.js +2 -0
- package/funcs/transfersGet.js.map +1 -1
- package/funcs/transfersGetCancellation.js +2 -0
- package/funcs/transfersGetCancellation.js.map +1 -1
- package/funcs/transfersGetRefund.js +2 -0
- package/funcs/transfersGetRefund.js.map +1 -1
- package/funcs/transfersInitiateRefund.js +2 -0
- package/funcs/transfersInitiateRefund.js.map +1 -1
- package/funcs/transfersList.js +2 -0
- package/funcs/transfersList.js.map +1 -1
- package/funcs/transfersListRefunds.js +2 -0
- package/funcs/transfersListRefunds.js.map +1 -1
- package/funcs/transfersUpdate.js +2 -0
- package/funcs/transfersUpdate.js.map +1 -1
- package/funcs/underwritingGet.js +2 -0
- package/funcs/underwritingGet.js.map +1 -1
- package/funcs/underwritingUpsert.js +2 -0
- package/funcs/underwritingUpsert.js.map +1 -1
- package/funcs/walletTransactionsGet.js +2 -0
- package/funcs/walletTransactionsGet.js.map +1 -1
- package/funcs/walletTransactionsList.js +2 -0
- package/funcs/walletTransactionsList.js.map +1 -1
- package/funcs/walletsGet.js +2 -0
- package/funcs/walletsGet.js.map +1 -1
- package/funcs/walletsList.js +2 -0
- package/funcs/walletsList.js.map +1 -1
- package/hooks/types.d.ts +2 -0
- package/hooks/types.d.ts.map +1 -1
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +7 -3
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/sdks.d.ts +1 -0
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +3 -3
- package/lib/sdks.js.map +1 -1
- package/mcp-server/cli/start/impl.js +4 -4
- package/mcp-server/cli/start/impl.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/industriesList.js +2 -2
- package/mcp-server/tools/institutionsSearchInstitutions.d.ts +8 -0
- package/mcp-server/tools/institutionsSearchInstitutions.d.ts.map +1 -0
- package/mcp-server/tools/institutionsSearchInstitutions.js +69 -0
- package/mcp-server/tools/institutionsSearchInstitutions.js.map +1 -0
- package/models/components/achinstitution.d.ts +40 -0
- package/models/components/achinstitution.d.ts.map +1 -0
- package/models/components/achinstitution.js +77 -0
- package/models/components/achinstitution.js.map +1 -0
- package/models/components/contact.d.ts +30 -0
- package/models/components/contact.d.ts.map +1 -0
- package/models/components/{enrichedindustry.js → contact.js} +20 -25
- package/models/components/contact.js.map +1 -0
- package/models/components/enrichedindustries.d.ts +3 -3
- package/models/components/enrichedindustries.js +3 -3
- package/models/components/index.d.ts +9 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +9 -1
- package/models/components/index.js.map +1 -1
- package/models/components/industrytaxonomy.d.ts +55 -0
- package/models/components/industrytaxonomy.d.ts.map +1 -0
- package/models/components/industrytaxonomy.js +77 -0
- package/models/components/industrytaxonomy.js.map +1 -0
- package/models/components/institutionssearchresponse.d.ts +36 -0
- package/models/components/institutionssearchresponse.d.ts.map +1 -0
- package/models/components/institutionssearchresponse.js +76 -0
- package/models/components/institutionssearchresponse.js.map +1 -0
- package/models/components/rtpinstitution.d.ts +37 -0
- package/models/components/rtpinstitution.d.ts.map +1 -0
- package/models/components/rtpinstitution.js +74 -0
- package/models/components/rtpinstitution.js.map +1 -0
- package/models/components/rtpservices.d.ts +37 -0
- package/models/components/rtpservices.d.ts.map +1 -0
- package/models/components/rtpservices.js +71 -0
- package/models/components/rtpservices.js.map +1 -0
- package/models/components/sweep.d.ts +6 -0
- package/models/components/sweep.d.ts.map +1 -1
- package/models/components/sweep.js +3 -0
- package/models/components/sweep.js.map +1 -1
- package/models/components/sweepsubtotal.d.ts +44 -0
- package/models/components/sweepsubtotal.d.ts.map +1 -0
- package/models/components/sweepsubtotal.js +75 -0
- package/models/components/sweepsubtotal.js.map +1 -0
- package/models/components/wireinstitution.d.ts +40 -0
- package/models/components/wireinstitution.d.ts.map +1 -0
- package/models/components/wireinstitution.js +77 -0
- package/models/components/wireinstitution.js.map +1 -0
- package/models/components/wireservices.d.ts +42 -0
- package/models/components/wireservices.d.ts.map +1 -0
- package/models/components/wireservices.js +73 -0
- package/models/components/wireservices.js.map +1 -0
- package/models/errors/apierror.d.ts +14 -2
- package/models/errors/apierror.d.ts.map +1 -1
- package/models/errors/apierror.js +1 -1
- package/models/errors/apierror.js.map +1 -1
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/searchinstitutions.d.ts +112 -0
- package/models/operations/searchinstitutions.d.ts.map +1 -0
- package/models/operations/searchinstitutions.js +149 -0
- package/models/operations/searchinstitutions.js.map +1 -0
- package/package.json +2 -2
- package/sdk/industries.d.ts +2 -2
- package/sdk/industries.js +2 -2
- package/sdk/institutions.d.ts +11 -0
- package/sdk/institutions.d.ts.map +1 -1
- package/sdk/institutions.js +14 -0
- package/sdk/institutions.js.map +1 -1
- package/src/funcs/accountTerminalApplicationsGet.ts +2 -0
- package/src/funcs/accountTerminalApplicationsGetConfiguration.ts +2 -0
- package/src/funcs/accountTerminalApplicationsLink.ts +2 -0
- package/src/funcs/accountTerminalApplicationsList.ts +2 -0
- package/src/funcs/accountsAssignCountries.ts +2 -0
- package/src/funcs/accountsCreate.ts +2 -0
- package/src/funcs/accountsDisconnect.ts +2 -0
- package/src/funcs/accountsGet.ts +2 -0
- package/src/funcs/accountsGetCountries.ts +2 -0
- package/src/funcs/accountsGetMerchantProcessingAgreement.ts +2 -0
- package/src/funcs/accountsGetTermsOfServiceToken.ts +2 -0
- package/src/funcs/accountsList.ts +2 -0
- package/src/funcs/accountsUpdate.ts +2 -0
- package/src/funcs/adjustmentsGet.ts +2 -0
- package/src/funcs/adjustmentsList.ts +2 -0
- package/src/funcs/applePayCreateSession.ts +2 -0
- package/src/funcs/applePayGetMerchantDomains.ts +2 -0
- package/src/funcs/applePayLinkToken.ts +2 -0
- package/src/funcs/applePayRegisterMerchantDomains.ts +2 -0
- package/src/funcs/applePayUpdateMerchantDomains.ts +2 -0
- package/src/funcs/authenticationCreateAccessToken.ts +2 -0
- package/src/funcs/authenticationRevokeAccessToken.ts +2 -0
- package/src/funcs/avatarsGet.ts +2 -0
- package/src/funcs/bankAccountsCompleteMicroDeposits.ts +2 -0
- package/src/funcs/bankAccountsCompleteVerification.ts +2 -0
- package/src/funcs/bankAccountsDisable.ts +2 -0
- package/src/funcs/bankAccountsGet.ts +2 -0
- package/src/funcs/bankAccountsGetVerification.ts +2 -0
- package/src/funcs/bankAccountsInitiateMicroDeposits.ts +2 -0
- package/src/funcs/bankAccountsInitiateVerification.ts +2 -0
- package/src/funcs/bankAccountsLink.ts +2 -0
- package/src/funcs/bankAccountsList.ts +2 -0
- package/src/funcs/brandingCreate.ts +2 -0
- package/src/funcs/brandingGet.ts +2 -0
- package/src/funcs/brandingUpdate.ts +2 -0
- package/src/funcs/brandingUpsert.ts +2 -0
- package/src/funcs/capabilitiesDisable.ts +2 -0
- package/src/funcs/capabilitiesGet.ts +2 -0
- package/src/funcs/capabilitiesList.ts +2 -0
- package/src/funcs/capabilitiesRequest.ts +2 -0
- package/src/funcs/cardIssuingGet.ts +2 -0
- package/src/funcs/cardIssuingGetFull.ts +2 -0
- package/src/funcs/cardIssuingList.ts +2 -0
- package/src/funcs/cardIssuingRequest.ts +2 -0
- package/src/funcs/cardIssuingUpdate.ts +2 -0
- package/src/funcs/cardsDisable.ts +2 -0
- package/src/funcs/cardsGet.ts +2 -0
- package/src/funcs/cardsLink.ts +2 -0
- package/src/funcs/cardsList.ts +2 -0
- package/src/funcs/cardsUpdate.ts +2 -0
- package/src/funcs/disputesAccept.ts +2 -0
- package/src/funcs/disputesDeleteEvidence.ts +2 -0
- package/src/funcs/disputesGet.ts +2 -0
- package/src/funcs/disputesGetEvidence.ts +2 -0
- package/src/funcs/disputesGetEvidenceData.ts +2 -0
- package/src/funcs/disputesList.ts +2 -0
- package/src/funcs/disputesListEvidence.ts +2 -0
- package/src/funcs/disputesSubmitEvidence.ts +2 -0
- package/src/funcs/disputesUpdateEvidence.ts +2 -0
- package/src/funcs/disputesUploadEvidenceFile.ts +2 -0
- package/src/funcs/disputesUploadEvidenceText.ts +2 -0
- package/src/funcs/endToEndEncryptionGenerateKey.ts +2 -0
- package/src/funcs/endToEndEncryptionTestEncryptedToken.ts +2 -0
- package/src/funcs/enrichedAddressGet.ts +2 -0
- package/src/funcs/enrichedProfileGet.ts +2 -0
- package/src/funcs/feePlansCreateFeePlanAgreements.ts +2 -0
- package/src/funcs/feePlansListFeePlanAgreements.ts +2 -0
- package/src/funcs/feePlansListFeePlans.ts +2 -0
- package/src/funcs/feePlansListFeesFetch.ts +2 -0
- package/src/funcs/feePlansListPartnerPricing.ts +2 -0
- package/src/funcs/feePlansListPartnerPricingAgreements.ts +2 -0
- package/src/funcs/feePlansRetrieveFees.ts +2 -0
- package/src/funcs/filesGet.ts +2 -0
- package/src/funcs/filesList.ts +2 -0
- package/src/funcs/filesUpload.ts +2 -0
- package/src/funcs/industriesList.ts +4 -2
- package/src/funcs/institutionsSearch.ts +2 -0
- package/src/funcs/institutionsSearchInstitutions.ts +179 -0
- package/src/funcs/issuingTransactionsGet.ts +2 -0
- package/src/funcs/issuingTransactionsGetAuthorization.ts +2 -0
- package/src/funcs/issuingTransactionsList.ts +2 -0
- package/src/funcs/issuingTransactionsListAuthorizationEvents.ts +2 -0
- package/src/funcs/issuingTransactionsListAuthorizations.ts +2 -0
- package/src/funcs/onboardingCreateInvite.ts +2 -0
- package/src/funcs/onboardingGetInvite.ts +2 -0
- package/src/funcs/onboardingListInvites.ts +2 -0
- package/src/funcs/onboardingRevokeInvite.ts +2 -0
- package/src/funcs/paymentLinksCreate.ts +2 -0
- package/src/funcs/paymentLinksDisable.ts +2 -0
- package/src/funcs/paymentLinksGet.ts +2 -0
- package/src/funcs/paymentLinksGetQRCode.ts +2 -0
- package/src/funcs/paymentLinksList.ts +2 -0
- package/src/funcs/paymentLinksUpdate.ts +2 -0
- package/src/funcs/paymentMethodsGet.ts +2 -0
- package/src/funcs/paymentMethodsList.ts +2 -0
- package/src/funcs/pingPing.ts +2 -0
- package/src/funcs/receiptsCreate.ts +2 -0
- package/src/funcs/receiptsList.ts +2 -0
- package/src/funcs/representativesCreate.ts +2 -0
- package/src/funcs/representativesDelete.ts +2 -0
- package/src/funcs/representativesGet.ts +2 -0
- package/src/funcs/representativesList.ts +2 -0
- package/src/funcs/representativesUpdate.ts +2 -0
- package/src/funcs/schedulingCancel.ts +2 -0
- package/src/funcs/schedulingCreate.ts +2 -0
- package/src/funcs/schedulingGet.ts +2 -0
- package/src/funcs/schedulingGetOccurrance.ts +2 -0
- package/src/funcs/schedulingList.ts +2 -0
- package/src/funcs/schedulingUpdate.ts +2 -0
- package/src/funcs/sweepsCreateConfig.ts +2 -0
- package/src/funcs/sweepsGet.ts +2 -0
- package/src/funcs/sweepsGetConfig.ts +2 -0
- package/src/funcs/sweepsList.ts +2 -0
- package/src/funcs/sweepsListConfigs.ts +2 -0
- package/src/funcs/sweepsUpdateConfig.ts +2 -0
- package/src/funcs/terminalApplicationsCreate.ts +2 -0
- package/src/funcs/terminalApplicationsDelete.ts +2 -0
- package/src/funcs/terminalApplicationsGet.ts +2 -0
- package/src/funcs/terminalApplicationsList.ts +2 -0
- package/src/funcs/transfersCreate.ts +2 -0
- package/src/funcs/transfersCreateCancellation.ts +2 -0
- package/src/funcs/transfersCreateReversal.ts +2 -0
- package/src/funcs/transfersGenerateOptions.ts +2 -0
- package/src/funcs/transfersGet.ts +2 -0
- package/src/funcs/transfersGetCancellation.ts +2 -0
- package/src/funcs/transfersGetRefund.ts +2 -0
- package/src/funcs/transfersInitiateRefund.ts +2 -0
- package/src/funcs/transfersList.ts +2 -0
- package/src/funcs/transfersListRefunds.ts +2 -0
- package/src/funcs/transfersUpdate.ts +2 -0
- package/src/funcs/underwritingGet.ts +2 -0
- package/src/funcs/underwritingUpsert.ts +2 -0
- package/src/funcs/walletTransactionsGet.ts +2 -0
- package/src/funcs/walletTransactionsList.ts +2 -0
- package/src/funcs/walletsGet.ts +2 -0
- package/src/funcs/walletsList.ts +2 -0
- package/src/hooks/types.ts +2 -0
- package/src/index.ts +2 -0
- package/src/lib/config.ts +7 -3
- package/src/lib/sdks.ts +10 -4
- package/src/mcp-server/cli/start/impl.ts +4 -4
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/industriesList.ts +2 -2
- package/src/mcp-server/tools/institutionsSearchInstitutions.ts +43 -0
- package/src/models/components/achinstitution.ts +89 -0
- package/src/models/components/contact.ts +65 -0
- package/src/models/components/enrichedindustries.ts +9 -9
- package/src/models/components/index.ts +9 -1
- package/src/models/components/industrytaxonomy.ts +100 -0
- package/src/models/components/institutionssearchresponse.ts +92 -0
- package/src/models/components/rtpinstitution.ts +79 -0
- package/src/models/components/rtpservices.ts +72 -0
- package/src/models/components/sweep.ts +13 -0
- package/src/models/components/sweepsubtotal.ts +90 -0
- package/src/models/components/wireinstitution.ts +91 -0
- package/src/models/components/wireservices.ts +79 -0
- package/src/models/errors/apierror.ts +18 -3
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/searchinstitutions.ts +236 -0
- package/src/sdk/industries.ts +2 -2
- package/src/sdk/institutions.ts +22 -0
- package/test/README.md +2 -0
- package/test/index.ts +1 -0
- package/test/package.json +25 -0
- package/test/setup.ts +119 -0
- package/test/tests/accounts.test.ts +127 -0
- package/test/tests/bankAccounts.test.ts +171 -0
- package/test/tests/capabilities.test.ts +147 -0
- package/test/tests/cards.test.ts +168 -0
- package/test/tests/paymentMethods.test.ts +55 -0
- package/test/tests/representatives.test.ts +83 -0
- package/test/tests/transfers.test.ts +122 -0
- package/test/tests/wallets.test.ts +31 -0
- package/test/tsconfig.json +30 -0
- package/test/utils/utils.ts +276 -0
- package/models/components/enrichedindustry.d.ts +0 -47
- package/models/components/enrichedindustry.d.ts.map +0 -1
- package/models/components/enrichedindustry.js.map +0 -1
- package/src/models/components/enrichedindustry.ts +0 -90
|
@@ -59,6 +59,7 @@ you'll need to specify the `/accounts/{accountID}/representatives.write` scope.
|
|
|
59
59
|
import { Moov } from "@moovio/sdk";
|
|
60
60
|
|
|
61
61
|
const moov = new Moov({
|
|
62
|
+
xMoovVersion: "v2024.01.00",
|
|
62
63
|
security: {
|
|
63
64
|
username: "",
|
|
64
65
|
password: "",
|
|
@@ -67,7 +68,7 @@ const moov = new Moov({
|
|
|
67
68
|
|
|
68
69
|
async function run() {
|
|
69
70
|
const result = await moov.representatives.create({
|
|
70
|
-
accountID: "
|
|
71
|
+
accountID: "5abfe3a5-7cd3-4f92-a8bd-19b64e3ccc10",
|
|
71
72
|
createRepresentative: {
|
|
72
73
|
name: {
|
|
73
74
|
firstName: "Jordan",
|
|
@@ -100,7 +101,6 @@ async function run() {
|
|
|
100
101
|
},
|
|
101
102
|
});
|
|
102
103
|
|
|
103
|
-
// Handle the result
|
|
104
104
|
console.log(result);
|
|
105
105
|
}
|
|
106
106
|
|
|
@@ -118,6 +118,7 @@ import { representativesCreate } from "@moovio/sdk/funcs/representativesCreate.j
|
|
|
118
118
|
// Use `MoovCore` for best tree-shaking performance.
|
|
119
119
|
// You can create one instance of it to use across an application.
|
|
120
120
|
const moov = new MoovCore({
|
|
121
|
+
xMoovVersion: "v2024.01.00",
|
|
121
122
|
security: {
|
|
122
123
|
username: "",
|
|
123
124
|
password: "",
|
|
@@ -126,7 +127,7 @@ const moov = new MoovCore({
|
|
|
126
127
|
|
|
127
128
|
async function run() {
|
|
128
129
|
const res = await representativesCreate(moov, {
|
|
129
|
-
accountID: "
|
|
130
|
+
accountID: "5abfe3a5-7cd3-4f92-a8bd-19b64e3ccc10",
|
|
130
131
|
createRepresentative: {
|
|
131
132
|
name: {
|
|
132
133
|
firstName: "Jordan",
|
|
@@ -158,15 +159,12 @@ async function run() {
|
|
|
158
159
|
},
|
|
159
160
|
},
|
|
160
161
|
});
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
162
|
+
if (res.ok) {
|
|
163
|
+
const { value: result } = res;
|
|
164
|
+
console.log(result);
|
|
165
|
+
} else {
|
|
166
|
+
console.log("representativesCreate failed:", res.error);
|
|
164
167
|
}
|
|
165
|
-
|
|
166
|
-
const { value: result } = res;
|
|
167
|
-
|
|
168
|
-
// Handle the result
|
|
169
|
-
console.log(result);
|
|
170
168
|
}
|
|
171
169
|
|
|
172
170
|
run();
|
|
@@ -209,6 +207,7 @@ you'll need to specify the `/accounts/{accountID}/representatives.read` scope.
|
|
|
209
207
|
import { Moov } from "@moovio/sdk";
|
|
210
208
|
|
|
211
209
|
const moov = new Moov({
|
|
210
|
+
xMoovVersion: "v2024.01.00",
|
|
212
211
|
security: {
|
|
213
212
|
username: "",
|
|
214
213
|
password: "",
|
|
@@ -217,10 +216,9 @@ const moov = new Moov({
|
|
|
217
216
|
|
|
218
217
|
async function run() {
|
|
219
218
|
const result = await moov.representatives.list({
|
|
220
|
-
accountID: "
|
|
219
|
+
accountID: "aa071158-7ed6-4c18-af34-4fa37b755e53",
|
|
221
220
|
});
|
|
222
221
|
|
|
223
|
-
// Handle the result
|
|
224
222
|
console.log(result);
|
|
225
223
|
}
|
|
226
224
|
|
|
@@ -238,6 +236,7 @@ import { representativesList } from "@moovio/sdk/funcs/representativesList.js";
|
|
|
238
236
|
// Use `MoovCore` for best tree-shaking performance.
|
|
239
237
|
// You can create one instance of it to use across an application.
|
|
240
238
|
const moov = new MoovCore({
|
|
239
|
+
xMoovVersion: "v2024.01.00",
|
|
241
240
|
security: {
|
|
242
241
|
username: "",
|
|
243
242
|
password: "",
|
|
@@ -246,17 +245,14 @@ const moov = new MoovCore({
|
|
|
246
245
|
|
|
247
246
|
async function run() {
|
|
248
247
|
const res = await representativesList(moov, {
|
|
249
|
-
accountID: "
|
|
248
|
+
accountID: "aa071158-7ed6-4c18-af34-4fa37b755e53",
|
|
250
249
|
});
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
250
|
+
if (res.ok) {
|
|
251
|
+
const { value: result } = res;
|
|
252
|
+
console.log(result);
|
|
253
|
+
} else {
|
|
254
|
+
console.log("representativesList failed:", res.error);
|
|
254
255
|
}
|
|
255
|
-
|
|
256
|
-
const { value: result } = res;
|
|
257
|
-
|
|
258
|
-
// Handle the result
|
|
259
|
-
console.log(result);
|
|
260
256
|
}
|
|
261
257
|
|
|
262
258
|
run();
|
|
@@ -294,6 +290,7 @@ you'll need to specify the `/accounts/{accountID}/representatives.write` scope.
|
|
|
294
290
|
import { Moov } from "@moovio/sdk";
|
|
295
291
|
|
|
296
292
|
const moov = new Moov({
|
|
293
|
+
xMoovVersion: "v2024.01.00",
|
|
297
294
|
security: {
|
|
298
295
|
username: "",
|
|
299
296
|
password: "",
|
|
@@ -302,11 +299,10 @@ const moov = new Moov({
|
|
|
302
299
|
|
|
303
300
|
async function run() {
|
|
304
301
|
const result = await moov.representatives.delete({
|
|
305
|
-
accountID: "
|
|
306
|
-
representativeID: "
|
|
302
|
+
accountID: "23b950c7-3ccf-4edc-9566-07f765d57c73",
|
|
303
|
+
representativeID: "74d0f56b-b81b-467a-bc86-47a55fe5e503",
|
|
307
304
|
});
|
|
308
305
|
|
|
309
|
-
// Handle the result
|
|
310
306
|
console.log(result);
|
|
311
307
|
}
|
|
312
308
|
|
|
@@ -324,6 +320,7 @@ import { representativesDelete } from "@moovio/sdk/funcs/representativesDelete.j
|
|
|
324
320
|
// Use `MoovCore` for best tree-shaking performance.
|
|
325
321
|
// You can create one instance of it to use across an application.
|
|
326
322
|
const moov = new MoovCore({
|
|
323
|
+
xMoovVersion: "v2024.01.00",
|
|
327
324
|
security: {
|
|
328
325
|
username: "",
|
|
329
326
|
password: "",
|
|
@@ -332,18 +329,15 @@ const moov = new MoovCore({
|
|
|
332
329
|
|
|
333
330
|
async function run() {
|
|
334
331
|
const res = await representativesDelete(moov, {
|
|
335
|
-
accountID: "
|
|
336
|
-
representativeID: "
|
|
332
|
+
accountID: "23b950c7-3ccf-4edc-9566-07f765d57c73",
|
|
333
|
+
representativeID: "74d0f56b-b81b-467a-bc86-47a55fe5e503",
|
|
337
334
|
});
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
335
|
+
if (res.ok) {
|
|
336
|
+
const { value: result } = res;
|
|
337
|
+
console.log(result);
|
|
338
|
+
} else {
|
|
339
|
+
console.log("representativesDelete failed:", res.error);
|
|
341
340
|
}
|
|
342
|
-
|
|
343
|
-
const { value: result } = res;
|
|
344
|
-
|
|
345
|
-
// Handle the result
|
|
346
|
-
console.log(result);
|
|
347
341
|
}
|
|
348
342
|
|
|
349
343
|
run();
|
|
@@ -382,6 +376,7 @@ you'll need to specify the `/accounts/{accountID}/representatives.read` scope.
|
|
|
382
376
|
import { Moov } from "@moovio/sdk";
|
|
383
377
|
|
|
384
378
|
const moov = new Moov({
|
|
379
|
+
xMoovVersion: "v2024.01.00",
|
|
385
380
|
security: {
|
|
386
381
|
username: "",
|
|
387
382
|
password: "",
|
|
@@ -390,11 +385,10 @@ const moov = new Moov({
|
|
|
390
385
|
|
|
391
386
|
async function run() {
|
|
392
387
|
const result = await moov.representatives.get({
|
|
393
|
-
accountID: "
|
|
394
|
-
representativeID: "
|
|
388
|
+
accountID: "071b8a57-e691-4e4b-9143-75f1a828ce9b",
|
|
389
|
+
representativeID: "00d87070-b167-48e6-be2f-198b5e1556c4",
|
|
395
390
|
});
|
|
396
391
|
|
|
397
|
-
// Handle the result
|
|
398
392
|
console.log(result);
|
|
399
393
|
}
|
|
400
394
|
|
|
@@ -412,6 +406,7 @@ import { representativesGet } from "@moovio/sdk/funcs/representativesGet.js";
|
|
|
412
406
|
// Use `MoovCore` for best tree-shaking performance.
|
|
413
407
|
// You can create one instance of it to use across an application.
|
|
414
408
|
const moov = new MoovCore({
|
|
409
|
+
xMoovVersion: "v2024.01.00",
|
|
415
410
|
security: {
|
|
416
411
|
username: "",
|
|
417
412
|
password: "",
|
|
@@ -420,18 +415,15 @@ const moov = new MoovCore({
|
|
|
420
415
|
|
|
421
416
|
async function run() {
|
|
422
417
|
const res = await representativesGet(moov, {
|
|
423
|
-
accountID: "
|
|
424
|
-
representativeID: "
|
|
418
|
+
accountID: "071b8a57-e691-4e4b-9143-75f1a828ce9b",
|
|
419
|
+
representativeID: "00d87070-b167-48e6-be2f-198b5e1556c4",
|
|
425
420
|
});
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
421
|
+
if (res.ok) {
|
|
422
|
+
const { value: result } = res;
|
|
423
|
+
console.log(result);
|
|
424
|
+
} else {
|
|
425
|
+
console.log("representativesGet failed:", res.error);
|
|
429
426
|
}
|
|
430
|
-
|
|
431
|
-
const { value: result } = res;
|
|
432
|
-
|
|
433
|
-
// Handle the result
|
|
434
|
-
console.log(result);
|
|
435
427
|
}
|
|
436
428
|
|
|
437
429
|
run();
|
|
@@ -482,6 +474,7 @@ you'll need to specify the `/accounts/{accountID}/representatives.write` scope.
|
|
|
482
474
|
import { Moov } from "@moovio/sdk";
|
|
483
475
|
|
|
484
476
|
const moov = new Moov({
|
|
477
|
+
xMoovVersion: "v2024.01.00",
|
|
485
478
|
security: {
|
|
486
479
|
username: "",
|
|
487
480
|
password: "",
|
|
@@ -490,8 +483,8 @@ const moov = new Moov({
|
|
|
490
483
|
|
|
491
484
|
async function run() {
|
|
492
485
|
const result = await moov.representatives.update({
|
|
493
|
-
accountID: "
|
|
494
|
-
representativeID: "
|
|
486
|
+
accountID: "76647e2b-97ea-4551-8275-7153219f3317",
|
|
487
|
+
representativeID: "e89d3d0d-fbe3-4df6-8b18-d7cbcb761161",
|
|
495
488
|
updateRepresentative: {
|
|
496
489
|
name: {
|
|
497
490
|
firstName: "Jordan",
|
|
@@ -511,11 +504,7 @@ async function run() {
|
|
|
511
504
|
postalCode: "80301",
|
|
512
505
|
country: "US",
|
|
513
506
|
},
|
|
514
|
-
birthDate:
|
|
515
|
-
day: 9,
|
|
516
|
-
month: 11,
|
|
517
|
-
year: 1989,
|
|
518
|
-
},
|
|
507
|
+
birthDate: null,
|
|
519
508
|
responsibilities: {
|
|
520
509
|
ownershipPercentage: 38,
|
|
521
510
|
jobTitle: "CEO",
|
|
@@ -523,7 +512,6 @@ async function run() {
|
|
|
523
512
|
},
|
|
524
513
|
});
|
|
525
514
|
|
|
526
|
-
// Handle the result
|
|
527
515
|
console.log(result);
|
|
528
516
|
}
|
|
529
517
|
|
|
@@ -541,6 +529,7 @@ import { representativesUpdate } from "@moovio/sdk/funcs/representativesUpdate.j
|
|
|
541
529
|
// Use `MoovCore` for best tree-shaking performance.
|
|
542
530
|
// You can create one instance of it to use across an application.
|
|
543
531
|
const moov = new MoovCore({
|
|
532
|
+
xMoovVersion: "v2024.01.00",
|
|
544
533
|
security: {
|
|
545
534
|
username: "",
|
|
546
535
|
password: "",
|
|
@@ -549,8 +538,8 @@ const moov = new MoovCore({
|
|
|
549
538
|
|
|
550
539
|
async function run() {
|
|
551
540
|
const res = await representativesUpdate(moov, {
|
|
552
|
-
accountID: "
|
|
553
|
-
representativeID: "
|
|
541
|
+
accountID: "76647e2b-97ea-4551-8275-7153219f3317",
|
|
542
|
+
representativeID: "e89d3d0d-fbe3-4df6-8b18-d7cbcb761161",
|
|
554
543
|
updateRepresentative: {
|
|
555
544
|
name: {
|
|
556
545
|
firstName: "Jordan",
|
|
@@ -570,26 +559,19 @@ async function run() {
|
|
|
570
559
|
postalCode: "80301",
|
|
571
560
|
country: "US",
|
|
572
561
|
},
|
|
573
|
-
birthDate:
|
|
574
|
-
day: 9,
|
|
575
|
-
month: 11,
|
|
576
|
-
year: 1989,
|
|
577
|
-
},
|
|
562
|
+
birthDate: null,
|
|
578
563
|
responsibilities: {
|
|
579
564
|
ownershipPercentage: 38,
|
|
580
565
|
jobTitle: "CEO",
|
|
581
566
|
},
|
|
582
567
|
},
|
|
583
568
|
});
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
569
|
+
if (res.ok) {
|
|
570
|
+
const { value: result } = res;
|
|
571
|
+
console.log(result);
|
|
572
|
+
} else {
|
|
573
|
+
console.log("representativesUpdate failed:", res.error);
|
|
587
574
|
}
|
|
588
|
-
|
|
589
|
-
const { value: result } = res;
|
|
590
|
-
|
|
591
|
-
// Handle the result
|
|
592
|
-
console.log(result);
|
|
593
575
|
}
|
|
594
576
|
|
|
595
577
|
run();
|