@moovio/sdk 0.14.4 → 0.14.5
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 +38 -52
- package/bin/mcp-server.js +140 -297
- package/bin/mcp-server.js.map +11 -14
- package/docs/sdks/transfers/README.md +11 -116
- package/examples/package-lock.json +1 -1
- package/funcs/transfersGenerateOptions.d.ts +4 -3
- package/funcs/transfersGenerateOptions.d.ts.map +1 -1
- package/funcs/transfersGenerateOptions.js +14 -5
- package/funcs/transfersGenerateOptions.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +2 -4
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/transfersGenerateOptions.d.ts +2 -2
- package/mcp-server/tools/transfersGenerateOptions.d.ts.map +1 -1
- package/mcp-server/tools/transfersGenerateOptions.js +5 -3
- package/mcp-server/tools/transfersGenerateOptions.js.map +1 -1
- package/models/components/terminalcard.d.ts +10 -0
- package/models/components/terminalcard.d.ts.map +1 -1
- package/models/components/terminalcard.js +4 -0
- package/models/components/terminalcard.js.map +1 -1
- package/models/operations/createtransferoptions.d.ts +30 -0
- package/models/operations/createtransferoptions.d.ts.map +1 -1
- package/models/operations/createtransferoptions.js +38 -1
- package/models/operations/createtransferoptions.js.map +1 -1
- package/models/operations/index.d.ts +0 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -1
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/transfers.d.ts +1 -12
- package/sdk/transfers.d.ts.map +1 -1
- package/sdk/transfers.js +2 -15
- package/sdk/transfers.js.map +1 -1
- package/src/funcs/transfersGenerateOptions.ts +18 -7
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +2 -4
- package/src/mcp-server/tools/transfersGenerateOptions.ts +5 -3
- package/src/models/components/terminalcard.ts +14 -0
- package/src/models/operations/createtransferoptions.ts +75 -0
- package/src/models/operations/index.ts +0 -1
- package/src/sdk/transfers.ts +4 -26
- package/funcs/transfersGenerateOptionsForAccount.d.ts +0 -23
- package/funcs/transfersGenerateOptionsForAccount.d.ts.map +0 -1
- package/funcs/transfersGenerateOptionsForAccount.js +0 -133
- package/funcs/transfersGenerateOptionsForAccount.js.map +0 -1
- package/mcp-server/tools/transfersGenerateOptionsForAccount.d.ts +0 -8
- package/mcp-server/tools/transfersGenerateOptionsForAccount.d.ts.map +0 -1
- package/mcp-server/tools/transfersGenerateOptionsForAccount.js +0 -70
- package/mcp-server/tools/transfersGenerateOptionsForAccount.js.map +0 -1
- package/models/operations/createtransferoptionsforaccount.d.ts +0 -104
- package/models/operations/createtransferoptionsforaccount.d.ts.map +0 -1
- package/models/operations/createtransferoptionsforaccount.js +0 -155
- package/models/operations/createtransferoptionsforaccount.js.map +0 -1
- package/src/funcs/transfersGenerateOptionsForAccount.ts +0 -202
- package/src/mcp-server/tools/transfersGenerateOptionsForAccount.ts +0 -46
- package/src/models/operations/createtransferoptionsforaccount.ts +0 -257
package/README.md
CHANGED
|
@@ -1009,7 +1009,7 @@ you'll need to specify the `/terminal-applications.write` scope.
|
|
|
1009
1009
|
|
|
1010
1010
|
### [transfers](docs/sdks/transfers/README.md)
|
|
1011
1011
|
|
|
1012
|
-
* [
|
|
1012
|
+
* [generateOptions](docs/sdks/transfers/README.md#generateoptions) - Generate available payment method options for one or multiple transfer participants depending on the accountID or paymentMethodID you
|
|
1013
1013
|
supply in the request body.
|
|
1014
1014
|
|
|
1015
1015
|
The accountID in the route should the partner's accountID.
|
|
@@ -1077,13 +1077,6 @@ to learn more.
|
|
|
1077
1077
|
|
|
1078
1078
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
1079
1079
|
to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
1080
|
-
* [generateOptions](docs/sdks/transfers/README.md#generateoptions) - Generate available payment method options for one or multiple transfer participants depending on the accountID or paymentMethodID you
|
|
1081
|
-
supply in the request.
|
|
1082
|
-
|
|
1083
|
-
Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
|
|
1084
|
-
|
|
1085
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1086
|
-
you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
1087
1080
|
|
|
1088
1081
|
### [underwriting](docs/sdks/underwriting/README.md)
|
|
1089
1082
|
|
|
@@ -1838,13 +1831,6 @@ to learn more.
|
|
|
1838
1831
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
1839
1832
|
to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
1840
1833
|
- [`transfersGenerateOptions`](docs/sdks/transfers/README.md#generateoptions) - Generate available payment method options for one or multiple transfer participants depending on the accountID or paymentMethodID you
|
|
1841
|
-
supply in the request.
|
|
1842
|
-
|
|
1843
|
-
Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
|
|
1844
|
-
|
|
1845
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
1846
|
-
you'll need to specify the `/accounts/{accountID}/transfers.write` scope.
|
|
1847
|
-
- [`transfersGenerateOptionsForAccount`](docs/sdks/transfers/README.md#generateoptionsforaccount) - Generate available payment method options for one or multiple transfer participants depending on the accountID or paymentMethodID you
|
|
1848
1834
|
supply in the request body.
|
|
1849
1835
|
|
|
1850
1836
|
The accountID in the route should the partner's accountID.
|
|
@@ -2147,43 +2133,43 @@ run();
|
|
|
2147
2133
|
|
|
2148
2134
|
|
|
2149
2135
|
**Inherit from [`MoovError`](./src/models/errors/mooverror.ts)**:
|
|
2150
|
-
* [`GenericError`](./src/models/errors/genericerror.ts): Applicable to
|
|
2151
|
-
* [`BrandValidationError`](./src/models/errors/brandvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 3 of
|
|
2152
|
-
* [`ScheduleValidationError`](./src/models/errors/schedulevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of
|
|
2153
|
-
* [`
|
|
2154
|
-
* [`
|
|
2155
|
-
* [`
|
|
2156
|
-
* [`
|
|
2157
|
-
* [`
|
|
2158
|
-
* [`
|
|
2159
|
-
* [`
|
|
2160
|
-
* [`
|
|
2161
|
-
* [`
|
|
2162
|
-
* [`
|
|
2163
|
-
* [`
|
|
2164
|
-
* [`
|
|
2165
|
-
* [`
|
|
2166
|
-
* [`
|
|
2167
|
-
* [`
|
|
2168
|
-
* [`
|
|
2169
|
-
* [`
|
|
2170
|
-
* [`
|
|
2171
|
-
* [`
|
|
2172
|
-
* [`
|
|
2173
|
-
* [`
|
|
2174
|
-
* [`
|
|
2175
|
-
* [`
|
|
2176
|
-
* [`TransferValidationError`](./src/models/errors/transfervalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
2177
|
-
* [`RefundValidationError`](./src/models/errors/refundvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
2178
|
-
* [`ReversalValidationError`](./src/models/errors/reversalvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
2179
|
-
* [`UpsertUnderwritingError`](./src/models/errors/upsertunderwritingerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
2180
|
-
* [`UpdateUnderwritingError`](./src/models/errors/updateunderwritingerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
2181
|
-
* [`RequestCardError`](./src/models/errors/requestcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
2182
|
-
* [`UpdateIssuedCardError`](./src/models/errors/updateissuedcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
2183
|
-
* [`RevokeTokenRequestError`](./src/models/errors/revoketokenrequesterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
2184
|
-
* [`AuthTokenRequestError`](./src/models/errors/authtokenrequesterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
2185
|
-
* [`OnboardingInviteError`](./src/models/errors/onboardinginviteerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
2186
|
-
* [`TerminalApplicationError`](./src/models/errors/terminalapplicationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of
|
|
2136
|
+
* [`GenericError`](./src/models/errors/genericerror.ts): Applicable to 61 of 142 methods.*
|
|
2137
|
+
* [`BrandValidationError`](./src/models/errors/brandvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 3 of 142 methods.*
|
|
2138
|
+
* [`ScheduleValidationError`](./src/models/errors/schedulevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 2 of 142 methods.*
|
|
2139
|
+
* [`Transfer`](./src/models/errors/transfer.ts): Details of a Transfer. Status code `409`. Applicable to 1 of 142 methods.*
|
|
2140
|
+
* [`CardAcquiringRefund`](./src/models/errors/cardacquiringrefund.ts): Details of a card refund. Status code `409`. Applicable to 1 of 142 methods.*
|
|
2141
|
+
* [`CreateAccountResponseBody`](./src/models/errors/createaccountresponsebody.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2142
|
+
* [`UpdateAccountResponseBody`](./src/models/errors/updateaccountresponsebody.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2143
|
+
* [`AssignCountriesError`](./src/models/errors/assigncountrieserror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2144
|
+
* [`LinkApplePayError`](./src/models/errors/linkapplepayerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2145
|
+
* [`BankAccountValidationError`](./src/models/errors/bankaccountvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2146
|
+
* [`MicroDepositValidationError`](./src/models/errors/microdepositvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2147
|
+
* [`AddCapabilitiesError`](./src/models/errors/addcapabilitieserror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2148
|
+
* [`LinkCardError`](./src/models/errors/linkcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2149
|
+
* [`UpdateCardError`](./src/models/errors/updatecarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2150
|
+
* [`FileUploadValidationError`](./src/models/errors/fileuploadvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2151
|
+
* [`FeePlanAgreementError`](./src/models/errors/feeplanagreementerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2152
|
+
* [`FileValidationError`](./src/models/errors/filevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2153
|
+
* [`CreatePaymentLinkError`](./src/models/errors/createpaymentlinkerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2154
|
+
* [`UpdatePaymentLinkError`](./src/models/errors/updatepaymentlinkerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2155
|
+
* [`RepresentativeValidationError`](./src/models/errors/representativevalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2156
|
+
* [`CreateSweepConfigError`](./src/models/errors/createsweepconfigerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2157
|
+
* [`PatchSweepConfigError`](./src/models/errors/patchsweepconfigerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2158
|
+
* [`AccountTerminalApplicationError`](./src/models/errors/accountterminalapplicationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2159
|
+
* [`CreateTicketError`](./src/models/errors/createticketerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2160
|
+
* [`UpdateTicketError`](./src/models/errors/updateticketerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2161
|
+
* [`TransferOptionsValidationError`](./src/models/errors/transferoptionsvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2162
|
+
* [`TransferValidationError`](./src/models/errors/transfervalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2163
|
+
* [`RefundValidationError`](./src/models/errors/refundvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2164
|
+
* [`ReversalValidationError`](./src/models/errors/reversalvalidationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2165
|
+
* [`UpsertUnderwritingError`](./src/models/errors/upsertunderwritingerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2166
|
+
* [`UpdateUnderwritingError`](./src/models/errors/updateunderwritingerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2167
|
+
* [`RequestCardError`](./src/models/errors/requestcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2168
|
+
* [`UpdateIssuedCardError`](./src/models/errors/updateissuedcarderror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2169
|
+
* [`RevokeTokenRequestError`](./src/models/errors/revoketokenrequesterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2170
|
+
* [`AuthTokenRequestError`](./src/models/errors/authtokenrequesterror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2171
|
+
* [`OnboardingInviteError`](./src/models/errors/onboardinginviteerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2172
|
+
* [`TerminalApplicationError`](./src/models/errors/terminalapplicationerror.ts): The request was well-formed, but the contents failed validation. Check the request for missing or invalid fields. Status code `422`. Applicable to 1 of 142 methods.*
|
|
2187
2173
|
* [`ResponseValidationError`](./src/models/errors/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
|
|
2188
2174
|
|
|
2189
2175
|
</details>
|