@mojaloop/api-snippets 17.2.4 → 17.3.0-snapshot.0
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/CHANGELOG.md +7 -0
- package/README.md +13 -1
- package/audit-ci.jsonc +1 -0
- package/docs/dist/openapi.yaml +2 -2
- package/docs/fspiop-rest-v1.0-openapi3-snippets.yaml +2 -3
- package/docs/fspiop-rest-v1.1-openapi3-snippets.yaml +4 -4
- package/docs/fspiop-rest-v2.0-openapi3-snippets.yaml +4855 -0
- package/docs/index.html +5 -0
- package/docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml +3 -2
- package/docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml +2837 -0
- package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +4 -21
- package/docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml +3451 -0
- package/docs/thirdparty-openapi3-snippets.yaml +19 -19
- package/fspiop/v1_0/openapi3/components/parameters/FSPIOP-HTTP-Method.yaml +1 -1
- package/fspiop/v1_0/openapi3/components/parameters/FSPIOP-URI.yaml +1 -1
- package/fspiop/v1_0/openapi3/components/schemas/PartiesTypeIDPutResponse.yaml +0 -1
- package/fspiop/v1_1/openapi3/components/parameters/FSPIOP-HTTP-Method.yaml +1 -1
- package/fspiop/v1_1/openapi3/components/parameters/FSPIOP-URI.yaml +1 -1
- package/fspiop/v1_1/openapi3/openapi.yaml +2 -2
- package/fspiop/v2_0/openapi3/components/headers/Content-Length.yaml +9 -0
- package/fspiop/v2_0/openapi3/components/headers/Content-Type.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/parameters/Accept.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/parameters/Content-Length.yaml +11 -0
- package/fspiop/v2_0/openapi3/components/parameters/Content-Type.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/parameters/Date.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Destination.yaml +13 -0
- package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Encryption.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-HTTP-Method.yaml +11 -0
- package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Signature.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-Source.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/parameters/FSPIOP-URI.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/parameters/ID.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/parameters/SourceCurrency.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/parameters/SubId.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/parameters/TargetCurrency.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/parameters/Type.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/parameters/X-Forwarded-For.yaml +15 -0
- package/fspiop/v2_0/openapi3/components/responses/200.yaml +1 -0
- package/fspiop/v2_0/openapi3/components/responses/202.yaml +1 -0
- package/fspiop/v2_0/openapi3/components/responses/400.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/responses/401.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/responses/403.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/responses/404.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/responses/405.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/responses/406.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/responses/501.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/responses/503.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/schemas/Amount.yaml +11 -0
- package/fspiop/v2_0/openapi3/components/schemas/AmountType.yaml +14 -0
- package/fspiop/v2_0/openapi3/components/schemas/AuthenticationInfo.yaml +11 -0
- package/fspiop/v2_0/openapi3/components/schemas/AuthenticationType.yaml +12 -0
- package/fspiop/v2_0/openapi3/components/schemas/AuthenticationValue.yaml +9 -0
- package/fspiop/v2_0/openapi3/components/schemas/AuthorizationResponse.yaml +12 -0
- package/fspiop/v2_0/openapi3/components/schemas/AuthorizationsIDPutResponse.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/schemas/BalanceOfPayments.yaml +9 -0
- package/fspiop/v2_0/openapi3/components/schemas/BinaryString.yaml +7 -0
- package/fspiop/v2_0/openapi3/components/schemas/BinaryString32.yaml +7 -0
- package/fspiop/v2_0/openapi3/components/schemas/BulkQuotesIDPutResponse.yaml +18 -0
- package/fspiop/v2_0/openapi3/components/schemas/BulkQuotesPostRequest.yaml +25 -0
- package/fspiop/v2_0/openapi3/components/schemas/BulkTransferState.yaml +18 -0
- package/fspiop/v2_0/openapi3/components/schemas/BulkTransfersIDPutResponse.yaml +18 -0
- package/fspiop/v2_0/openapi3/components/schemas/BulkTransfersPostRequest.yaml +30 -0
- package/fspiop/v2_0/openapi3/components/schemas/Code.yaml +5 -0
- package/fspiop/v2_0/openapi3/components/schemas/CorrelationId.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/schemas/Currency.yaml +174 -0
- package/fspiop/v2_0/openapi3/components/schemas/CurrencyConverter.yaml +9 -0
- package/fspiop/v2_0/openapi3/components/schemas/Date.yaml +9 -0
- package/fspiop/v2_0/openapi3/components/schemas/DateOfBirth.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/schemas/DateTime.yaml +14 -0
- package/fspiop/v2_0/openapi3/components/schemas/ErrorCode.yaml +11 -0
- package/fspiop/v2_0/openapi3/components/schemas/ErrorDescription.yaml +5 -0
- package/fspiop/v2_0/openapi3/components/schemas/ErrorInformation.yaml +13 -0
- package/fspiop/v2_0/openapi3/components/schemas/ErrorInformationObject.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/schemas/ErrorInformationResponse.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/schemas/Extension.yaml +11 -0
- package/fspiop/v2_0/openapi3/components/schemas/ExtensionKey.yaml +5 -0
- package/fspiop/v2_0/openapi3/components/schemas/ExtensionList.yaml +15 -0
- package/fspiop/v2_0/openapi3/components/schemas/ExtensionValue.yaml +5 -0
- package/fspiop/v2_0/openapi3/components/schemas/FirstName.yaml +9 -0
- package/fspiop/v2_0/openapi3/components/schemas/FspId.yaml +5 -0
- package/fspiop/v2_0/openapi3/components/schemas/FxCharge.yaml +19 -0
- package/fspiop/v2_0/openapi3/components/schemas/FxConversion.yaml +57 -0
- package/fspiop/v2_0/openapi3/components/schemas/FxMoney.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/schemas/FxQuotesIDPutResponse.yaml +15 -0
- package/fspiop/v2_0/openapi3/components/schemas/FxQuotesPostRequest.yaml +15 -0
- package/fspiop/v2_0/openapi3/components/schemas/FxRate.yaml +15 -0
- package/fspiop/v2_0/openapi3/components/schemas/FxTransfersIDPatchResponse.yaml +16 -0
- package/fspiop/v2_0/openapi3/components/schemas/FxTransfersIDPutResponse.yaml +20 -0
- package/fspiop/v2_0/openapi3/components/schemas/FxTransfersPostRequest.yaml +41 -0
- package/fspiop/v2_0/openapi3/components/schemas/GeoCode.yaml +13 -0
- package/fspiop/v2_0/openapi3/components/schemas/IlpCondition.yaml +5 -0
- package/fspiop/v2_0/openapi3/components/schemas/IlpFulfilment.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/schemas/IlpPacket.yaml +7 -0
- package/fspiop/v2_0/openapi3/components/schemas/IndividualQuote.yaml +29 -0
- package/fspiop/v2_0/openapi3/components/schemas/IndividualQuoteResult.yaml +26 -0
- package/fspiop/v2_0/openapi3/components/schemas/IndividualTransfer.yaml +19 -0
- package/fspiop/v2_0/openapi3/components/schemas/IndividualTransferResult.yaml +14 -0
- package/fspiop/v2_0/openapi3/components/schemas/Integer.yaml +7 -0
- package/fspiop/v2_0/openapi3/components/schemas/KYCInformation.yaml +33 -0
- package/fspiop/v2_0/openapi3/components/schemas/LastName.yaml +9 -0
- package/fspiop/v2_0/openapi3/components/schemas/Latitude.yaml +7 -0
- package/fspiop/v2_0/openapi3/components/schemas/Longitude.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/schemas/MerchantClassificationCode.yaml +7 -0
- package/fspiop/v2_0/openapi3/components/schemas/MiddleName.yaml +9 -0
- package/fspiop/v2_0/openapi3/components/schemas/Money.yaml +11 -0
- package/fspiop/v2_0/openapi3/components/schemas/Name.yaml +17 -0
- package/fspiop/v2_0/openapi3/components/schemas/Note.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/schemas/OtpValue.yaml +7 -0
- package/fspiop/v2_0/openapi3/components/schemas/ParticipantsIDPutResponse.yaml +17 -0
- package/fspiop/v2_0/openapi3/components/schemas/ParticipantsPostRequest.yaml +20 -0
- package/fspiop/v2_0/openapi3/components/schemas/ParticipantsTypeIDPutResponse.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/schemas/ParticipantsTypeIDSubIDPostRequest.yaml +15 -0
- package/fspiop/v2_0/openapi3/components/schemas/PartiesTypeIDPutResponse.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/schemas/Party.yaml +21 -0
- package/fspiop/v2_0/openapi3/components/schemas/PartyComplexName.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/schemas/PartyIdInfo.yaml +19 -0
- package/fspiop/v2_0/openapi3/components/schemas/PartyIdType.yaml +54 -0
- package/fspiop/v2_0/openapi3/components/schemas/PartyIdentifier.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/schemas/PartyName.yaml +5 -0
- package/fspiop/v2_0/openapi3/components/schemas/PartyPersonalInfo.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/schemas/PartyResult.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/schemas/PartySubIdOrType.yaml +7 -0
- package/fspiop/v2_0/openapi3/components/schemas/PersonalIdentifierType.yaml +51 -0
- package/fspiop/v2_0/openapi3/components/schemas/QRCODE.yaml +5 -0
- package/fspiop/v2_0/openapi3/components/schemas/QuotesIDPutResponse.yaml +27 -0
- package/fspiop/v2_0/openapi3/components/schemas/QuotesPostRequest.yaml +53 -0
- package/fspiop/v2_0/openapi3/components/schemas/Refund.yaml +10 -0
- package/fspiop/v2_0/openapi3/components/schemas/RefundReason.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/schemas/ServicesFXPPutResponse.yaml +13 -0
- package/fspiop/v2_0/openapi3/components/schemas/ServicesFXPSourceCurrencyTargetCurrencyPutResponse.yaml +13 -0
- package/fspiop/v2_0/openapi3/components/schemas/TokenCode.yaml +6 -0
- package/fspiop/v2_0/openapi3/components/schemas/Transaction.yaml +50 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionInitiator.yaml +16 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionInitiatorType.yaml +14 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionRequestState.yaml +14 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionRequestsIDPutResponse.yaml +12 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionRequestsPostRequest.yaml +30 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionScenario.yaml +32 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionState.yaml +14 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionSubScenario.yaml +5 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionType.yaml +20 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransactionsIDPutResponse.yaml +14 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransferState.yaml +19 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransfersIDPatchResponse.yaml +13 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransfersIDPutResponse.yaml +14 -0
- package/fspiop/v2_0/openapi3/components/schemas/TransfersPostRequest.yaml +28 -0
- package/fspiop/v2_0/openapi3/components/schemas/U2FPIN.yaml +8 -0
- package/fspiop/v2_0/openapi3/components/schemas/U2FPinValue.yaml +19 -0
- package/fspiop/v2_0/openapi3/components/schemas/UndefinedEnum.yaml +6 -0
- package/fspiop/v2_0/openapi3/openapi.yaml +126 -0
- package/fspiop/v2_0/openapi3/paths/authorizations_ID.yaml +110 -0
- package/fspiop/v2_0/openapi3/paths/authorizations_ID_error.yaml +48 -0
- package/fspiop/v2_0/openapi3/paths/bulkQuotes.yaml +46 -0
- package/fspiop/v2_0/openapi3/paths/bulkQuotes_ID.yaml +79 -0
- package/fspiop/v2_0/openapi3/paths/bulkQuotes_ID_error.yaml +49 -0
- package/fspiop/v2_0/openapi3/paths/bulkTransfers.yaml +46 -0
- package/fspiop/v2_0/openapi3/paths/bulkTransfers_ID.yaml +81 -0
- package/fspiop/v2_0/openapi3/paths/bulkTransfers_ID_error.yaml +49 -0
- package/fspiop/v2_0/openapi3/paths/fxQuotes.yaml +45 -0
- package/fspiop/v2_0/openapi3/paths/fxQuotes_ID.yaml +79 -0
- package/fspiop/v2_0/openapi3/paths/fxQuotes_ID_error.yaml +49 -0
- package/fspiop/v2_0/openapi3/paths/fxTransfers.yaml +45 -0
- package/fspiop/v2_0/openapi3/paths/fxTransfers_ID.yaml +118 -0
- package/fspiop/v2_0/openapi3/paths/fxTransfers_ID_error.yaml +49 -0
- package/fspiop/v2_0/openapi3/paths/participants.yaml +49 -0
- package/fspiop/v2_0/openapi3/paths/participants_ID.yaml +46 -0
- package/fspiop/v2_0/openapi3/paths/participants_ID_error.yaml +48 -0
- package/fspiop/v2_0/openapi3/paths/participants_Type_ID.yaml +167 -0
- package/fspiop/v2_0/openapi3/paths/participants_Type_ID_SubId.yaml +168 -0
- package/fspiop/v2_0/openapi3/paths/participants_Type_ID_SubId_error.yaml +50 -0
- package/fspiop/v2_0/openapi3/paths/participants_Type_ID_error.yaml +49 -0
- package/fspiop/v2_0/openapi3/paths/parties_Type_ID.yaml +81 -0
- package/fspiop/v2_0/openapi3/paths/parties_Type_ID_SubId.yaml +82 -0
- package/fspiop/v2_0/openapi3/paths/parties_Type_ID_SubId_error.yaml +50 -0
- package/fspiop/v2_0/openapi3/paths/parties_Type_ID_error.yaml +49 -0
- package/fspiop/v2_0/openapi3/paths/quotes.yaml +46 -0
- package/fspiop/v2_0/openapi3/paths/quotes_ID.yaml +79 -0
- package/fspiop/v2_0/openapi3/paths/quotes_ID_error.yaml +49 -0
- package/fspiop/v2_0/openapi3/paths/services_FXP.yaml +73 -0
- package/fspiop/v2_0/openapi3/paths/services_FXP_SourceCurrency_TargetCurrency.yaml +77 -0
- package/fspiop/v2_0/openapi3/paths/transactionRequests.yaml +47 -0
- package/fspiop/v2_0/openapi3/paths/transactionRequests_ID.yaml +81 -0
- package/fspiop/v2_0/openapi3/paths/transactionRequests_ID_error.yaml +50 -0
- package/fspiop/v2_0/openapi3/paths/transactions_ID.yaml +80 -0
- package/fspiop/v2_0/openapi3/paths/transactions_ID_error.yaml +48 -0
- package/fspiop/v2_0/openapi3/paths/transfers.yaml +46 -0
- package/fspiop/v2_0/openapi3/paths/transfers_ID.yaml +119 -0
- package/fspiop/v2_0/openapi3/paths/transfers_ID_error.yaml +49 -0
- package/lib/fspiop/v1_0/openapi.d.ts +2 -3
- package/lib/fspiop/v1_1/openapi.d.ts +2 -2
- package/lib/fspiop/v2_0/openapi.d.ts +3982 -0
- package/lib/fspiop/v2_0/openapi.js +7 -0
- package/lib/fspiop/v2_0/openapi.js.map +1 -0
- package/lib/scripts/json-schema-generator.js +4 -5
- package/lib/scripts/json-schema-generator.js.map +1 -1
- package/lib/sdk-scheme-adapter/v2_0_0/backend/json-schemas.json +7 -7
- package/lib/sdk-scheme-adapter/v2_0_0/backend/openapi.d.ts +1 -1
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/json-schemas.json +12 -12
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/openapi.d.ts +1 -7
- package/lib/sdk-scheme-adapter/v2_1_0/backend/json-schemas.json +26898 -0
- package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.d.ts +1476 -0
- package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.js +7 -0
- package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.js.map +1 -0
- package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.d.ts +8814 -0
- package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js +140 -0
- package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js.map +1 -0
- package/lib/sdk-scheme-adapter/v2_1_0/backend/types.d.ts +133 -0
- package/lib/sdk-scheme-adapter/v2_1_0/backend/types.js +4 -0
- package/lib/sdk-scheme-adapter/v2_1_0/backend/types.js.map +1 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/json-schemas.json +38718 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.d.ts +1897 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.js +7 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.js.map +1 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.d.ts +15536 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js +149 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js.map +1 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.d.ts +142 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.js +4 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.js.map +1 -0
- package/lib/thirdparty/openapi.d.ts +18 -18
- package/package.json +45 -30
- package/sdk-bulk.yaml +1 -1
- package/sdk-outbound-old.yaml +1 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/getPartiesResponse.yaml +0 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/partiesByIdResponse.yaml +0 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayResponse.yaml +0 -5
- package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayTransferResponse.yaml +0 -5
- package/sdk-scheme-adapter/v2_0_0/components/schemas/simpleQuotesPostRequest.yaml +0 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/transferError.yaml +3 -2
- package/sdk-scheme-adapter/v2_0_0/components/schemas/transferResponse.yaml +0 -5
- package/sdk-scheme-adapter/v2_0_0/outbound/openapi.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/backend/openapi.yaml +1494 -0
- package/sdk-scheme-adapter/v2_1_0/backend/paths/fxQuotes.yaml +26 -0
- package/sdk-scheme-adapter/v2_1_0/backend/paths/fxTransfers.yaml +25 -0
- package/sdk-scheme-adapter/v2_1_0/backend/paths/fxTransfersById.yaml +21 -0
- package/sdk-scheme-adapter/v2_1_0/components/parameters/ID.yaml +6 -0
- package/sdk-scheme-adapter/v2_1_0/components/parameters/SubId.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/parameters/Type.yaml +6 -0
- package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkQuoteId.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkTransactionId.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/parameters/bulkTransferId.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/parameters/transactionRequestId.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/parameters/transferId.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/200.yaml +1 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/400.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/404.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/500.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationCompleted.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationError.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/accountsCreationTimeout.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteBadRequest.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteServerError.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteSuccess.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkQuoteTimeout.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionAccepted.yaml +1 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionBadRequest.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransactionPutBadRequest.yaml +7 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferBadRequest.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferStatusResponse.yaml +16 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/bulkTransferSuccess.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/errorResponse.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/partiesByIdError404.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/partiesByIdSuccess.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/quotesPostSuccess.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/quotesServerError.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPaySuccess.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPayTransferBadRequest.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/requestToPayTransferSuccess.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/servicesFXPSucess.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/simpleTransfersPostSuccess.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/simpleTransfersServerError.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/transferBadRequest.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/transferServerError.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/transferSuccess.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/transferTimeout.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Amount.yaml +11 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/AmountType.yaml +14 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationInfo.yaml +11 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationType.yaml +12 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthenticationValue.yaml +44 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthorizationIDPutResponse.yaml +10 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/AuthorizationResponseType.yaml +12 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/BalanceOfPayments.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/CorrelationId.yaml +10 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Currency.yaml +174 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/DateOfBirth.yaml +6 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/DateTime.yaml +14 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorCode.yaml +11 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorDescription.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorInformation.yaml +13 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Extension.yaml +11 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionKey.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionList.yaml +15 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ExtensionValue.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FirstName.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FspId.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendRequest.yaml +16 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendResponse.yaml +14 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundRequest.yaml +19 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundResponse.yaml +18 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendRequest.yaml +28 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendResponse.yaml +17 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundRequest.yaml +28 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundResponse.yaml +17 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPutBackendRequest.yaml +17 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/GeoCode.yaml +13 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpCondition.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpFulfilment.yaml +6 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/IlpPacket.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/LastName.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Latitude.yaml +7 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Longitude.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/MerchantClassificationCode.yaml +7 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/MiddleName.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Money.yaml +11 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Name.yaml +17 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Note.yaml +6 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Party.yaml +21 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyComplexName.yaml +10 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdInfo.yaml +19 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdType.yaml +54 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdentifier.yaml +6 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyName.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyPersonalInfo.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartySubIdOrType.yaml +7 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesIDPutResponse.yaml +27 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesPostRequest.yaml +53 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/Refund.yaml +10 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/RefundReason.yaml +6 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionInitiator.yaml +16 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionInitiatorType.yaml +14 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestResponse.yaml +20 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestState.yaml +14 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionScenario.yaml +32 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionSubScenario.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionType.yaml +20 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransferState.yaml +19 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersIDPutResponse.yaml +14 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersPostRequest.yaml +28 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/accountCreationStatus.yaml +15 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsCreationState.yaml +4 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsRequest.yaml +16 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/accountsResponse.yaml +23 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/async2SyncCurrentState.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/autoAcceptPartyOption.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/autoAcceptQuote.yaml +14 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkPerTransferFeeLimit.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteErrorResponse.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteRequest.yaml +24 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteResponse.yaml +26 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteStatus.yaml +4 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteStatusResponse.yaml +16 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionAcceptPartyErrorResponse.yaml +10 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionAcceptQuoteErrorResponse.yaml +10 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionContinuationAcceptParty.yaml +17 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionContinuationAcceptQuote.yaml +13 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransfer.yaml +34 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferAccept.yaml +7 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferResult.yaml +38 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionOptions.yaml +35 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionRequest.yaml +27 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionResponse.yaml +27 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionStatus.yaml +6 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferErrorResponse.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferRequest.yaml +28 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferResponse.yaml +29 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferStatus.yaml +4 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/errorAccountsResponse.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/errorQuotesResponse.yaml +3 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/errorResponse.yaml +10 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/errorSimpleTransfersResponse.yaml +3 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/errorTransferResponse.yaml +8 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/extensionListEmptiable.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/getPartiesResponse.yaml +11 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuote.yaml +29 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuoteResult.yaml +25 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransfer.yaml +34 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferFulfilment.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferResult.yaml +14 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/mojaloopError.yaml +4 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/partiesByIdResponse.yaml +18 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/partyError.yaml +12 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/quoteError.yaml +12 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/quotesPostResponse.yaml +48 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayRequest.yaml +32 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayResponse.yaml +35 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayStatus.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayTransferRequest.yaml +42 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/requestToPayTransferResponse.yaml +72 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleQuotesPostRequest.yaml +10 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleTransfersPostRequest.yaml +10 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/simpleTransfersPostResponse.yaml +17 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptConversion.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptOTP.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptParty.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferContinuationAcceptQuote.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferError.yaml +12 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferParty.yaml +38 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferRequest.yaml +41 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferResponse.yaml +93 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferStatus.yaml +7 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferStatusResponse.yaml +19 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/transferTransactionType.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/openapi.yaml +66 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/accounts.yaml +26 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkQuotes.yaml +23 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkQuotes_bulkQuoteId.yaml +24 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransactions.yaml +21 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransactions_bulkTransactionId.yaml +33 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransfers.yaml +21 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/bulkTransfers_bulkTransferId.yaml +24 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/fxQuotes.yaml +26 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/fxTransfers.yaml +25 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/parties_Type_ID.yaml +18 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/parties_Type_ID_SubId.yaml +19 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/quotes.yaml +18 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPay.yaml +22 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPayTransfer.yaml +57 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPayTransfer_transactionRequestId.yaml +34 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/requestToPay_transactionRequestId.yaml +29 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/services_FXP.yaml +15 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/services_FXP_SourceCurrency_TargetCurrency.yaml +18 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/simpleTransfers.yaml +18 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/transfers.yaml +55 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/transfers_transferId.yaml +59 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths.yaml +12 -0
- package/thirdparty/v1_0/openapi3/components/schemas/Account.yaml +1 -1
- package/thirdparty/v1_0/openapi3/components/schemas/AccountAddress.yaml +1 -1
- package/thirdparty/v1_0/openapi3/components/schemas/AccountList.yaml +1 -1
- package/thirdparty/v1_0/openapi3/components/schemas/AccountsIDPutResponse.yaml +1 -1
- package/thirdparty/v1_0/openapi3/components/schemas/AuthenticatorAssertionResponse.yaml +1 -1
- package/thirdparty/v1_0/openapi3/components/schemas/AuthenticatorAttestationResponse.yaml +1 -1
- package/thirdparty/v1_0/openapi3/components/schemas/ConsentRequestsIDPatchRequest.yaml +1 -1
- package/thirdparty/v1_0/openapi3/components/schemas/ConsentRequestsPostRequest.yaml +1 -1
- package/thirdparty/v1_0/openapi3/components/schemas/CredentialType.yaml +1 -1
- package/thirdparty/v1_0/openapi3/components/schemas/FIDOPublicKeyCredentialAssertion.yaml +1 -1
- package/thirdparty/v1_0/openapi3/components/schemas/Scope.yaml +1 -1
- package/thirdparty/v1_0/openapi3/components/schemas/ServiceType.yaml +1 -1
- package/thirdparty/v1_0/openapi3/components/schemas/ServicesServiceTypePutResponse.yaml +1 -1
- package/thirdparty/v1_0/openapi3/components/schemas/ThirdpartyRequestsAuthorizationsPostRequest.yaml +1 -1
- package/thirdparty/v1_0/openapi3/components/schemas/ThirdpartyRequestsTransactionsIDPatchResponse.yaml +1 -1
- package/thirdparty/v1_0/openapi3/components/schemas/ThirdpartyRequestsTransactionsIDPutResponse.yaml +1 -1
- package/thirdparty/v1_0/openapi3/components/schemas/ThirdpartyRequestsTransactionsPostRequest.yaml +1 -1
- package/thirdparty/v1_0/openapi3/components/schemas/ThirdpartyRequestsVerificationsIDPutResponse.yaml +1 -1
- package/thirdparty/v1_0/openapi3/openapi.yaml +1 -1
- package/thirdparty/v1_0/openapi3/thirdparty-dfsp-api.template.yaml +1 -1
- package/thirdparty/v1_0/openapi3/thirdparty-dfsp-api.yaml +17 -17
- package/thirdparty/v1_0/openapi3/thirdparty-pisp-api.template.yaml +1 -1
- package/thirdparty/v1_0/openapi3/thirdparty-pisp-api.yaml +17 -17
- package/tsconfig.build.json +1 -1
package/package.json
CHANGED
@@ -1,39 +1,53 @@
|
|
1
1
|
{
|
2
2
|
"name": "@mojaloop/api-snippets",
|
3
|
-
"version": "17.
|
3
|
+
"version": "17.3.0-snapshot.0",
|
4
4
|
"description": "Mojaloop API specification reusable snippets",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"types": "lib/index.d.ts",
|
7
7
|
"scripts": {
|
8
8
|
"audit:fix": "npm audit fix",
|
9
9
|
"audit:check": "npx audit-ci --config ./audit-ci.jsonc",
|
10
|
-
"build": "npm run build:openapi; npm run build:dto; npm run build:schemas; tsc -p ./tsconfig.build.json",
|
11
|
-
"build:dto": "npm run build:dto:v1.0; npm run build:dto:v1.1; npm run build:dto:thirdparty; npm run build:dto:sdk-scheme-adapter;",
|
12
|
-
"build:schemas": "npm run build:schemas:sdk-scheme-adapter:backend; npm run build:schemas:sdk-scheme-adapter:outbound;",
|
10
|
+
"build": "npm run build:openapi; npm run build:dto; npm run build:schemas:v2.0.0; npm run build:schemas:v2.1.0; tsc -p ./tsconfig.build.json",
|
11
|
+
"build:dto": "npm run build:dto:v1.0; npm run build:dto:v1.1; npm run build:dto:v2.0; npm run build:dto:thirdparty; npm run build:dto:sdk-scheme-adapter:v2.0.0; npm run build:dto:sdk-scheme-adapter:v2.1.0;",
|
12
|
+
"build:schemas:v2.0.0": "npm run build:schemas:sdk-scheme-adapter:backend:v2.0.0; npm run build:schemas:sdk-scheme-adapter:outbound:v2.0.0;",
|
13
|
+
"build:schemas:v2.1.0": "npm run build:schemas:sdk-scheme-adapter:backend:v2.1.0; npm run build:schemas:sdk-scheme-adapter:outbound:v2.1.0;",
|
13
14
|
"build:dto:v1.0": "openapi-typescript docs/fspiop-rest-v1.0-openapi3-snippets.yaml --output src/fspiop/v1_0/openapi.ts",
|
14
15
|
"build:dto:v1.1": "openapi-typescript docs/fspiop-rest-v1.1-openapi3-snippets.yaml --output src/fspiop/v1_1/openapi.ts",
|
16
|
+
"build:dto:v2.0": "openapi-typescript docs/fspiop-rest-v2.0-openapi3-snippets.yaml --output src/fspiop/v2_0/openapi.ts",
|
15
17
|
"build:dto:thirdparty": "openapi-typescript docs/thirdparty-openapi3-snippets.yaml --output src/thirdparty/openapi.ts",
|
16
|
-
"build:dto:sdk-scheme-adapter": "npm run build:dto:sdk-scheme-adapter:backend; npm run build:dto:sdk-scheme-adapter:outbound;",
|
17
|
-
"build:dto:sdk-scheme-adapter:
|
18
|
-
"build:dto:sdk-scheme-adapter:
|
19
|
-
"build:
|
18
|
+
"build:dto:sdk-scheme-adapter:v2.0.0": "npm run build:dto:sdk-scheme-adapter:backend:v2.0.0; npm run build:dto:sdk-scheme-adapter:outbound:v2.0.0;",
|
19
|
+
"build:dto:sdk-scheme-adapter:v2.1.0": "npm run build:dto:sdk-scheme-adapter:backend:v2.1.0; npm run build:dto:sdk-scheme-adapter:outbound:v2.1.0;",
|
20
|
+
"build:dto:sdk-scheme-adapter:backend:v2.0.0": "openapi-typescript docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml --output src/sdk-scheme-adapter/v2_0_0/backend/openapi.ts",
|
21
|
+
"build:dto:sdk-scheme-adapter:outbound:v2.0.0": "openapi-typescript docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml --output src/sdk-scheme-adapter/v2_0_0/outbound/openapi.ts",
|
22
|
+
"build:dto:sdk-scheme-adapter:backend:v2.1.0": "openapi-typescript docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml --output src/sdk-scheme-adapter/v2_1_0/backend/openapi.ts",
|
23
|
+
"build:dto:sdk-scheme-adapter:outbound:v2.1.0": "openapi-typescript docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml --output src/sdk-scheme-adapter/v2_1_0/outbound/openapi.ts",
|
24
|
+
"build:openapi": "npm run build:v1.0; npm run build:v1.1; npm run build:v2.0; npm run build:thirdparty; npm run build:sdk-scheme-adapter:v2.0.0; npm run build:sdk-scheme-adapter:v2.1.0;",
|
20
25
|
"build:v1.0": "openapi bundle --output docs/fspiop-rest-v1.0-openapi3-snippets.yaml --ext yaml fspiop/v1_0/openapi3/openapi.yaml && swagger-cli validate docs/fspiop-rest-v1.0-openapi3-snippets.yaml",
|
21
26
|
"build:v1.1": "openapi bundle --output docs/fspiop-rest-v1.1-openapi3-snippets.yaml --ext yaml fspiop/v1_1/openapi3/openapi.yaml && swagger-cli validate docs/fspiop-rest-v1.1-openapi3-snippets.yaml",
|
27
|
+
"build:v2.0": "openapi bundle --output docs/fspiop-rest-v2.0-openapi3-snippets.yaml --ext yaml fspiop/v2_0/openapi3/openapi.yaml && swagger-cli validate docs/fspiop-rest-v2.0-openapi3-snippets.yaml",
|
22
28
|
"build:thirdparty": "openapi bundle --output docs/thirdparty-openapi3-snippets.yaml --ext yaml thirdparty/v1_0/openapi3/openapi.yaml && swagger-cli validate docs/thirdparty-openapi3-snippets.yaml",
|
23
29
|
"build:thirdparty-dfsp": "swagger-cli bundle -o ./thirdparty/v1_0/openapi3/thirdparty-dfsp-api.yaml -t yaml ./thirdparty/v1_0/openapi3/thirdparty-dfsp-api.template.yaml",
|
24
30
|
"build:thirdparty-pisp": "swagger-cli bundle -o ./thirdparty/v1_0/openapi3/thirdparty-pisp-api.yaml -t yaml ./thirdparty/v1_0/openapi3/thirdparty-pisp-api.template.yaml",
|
25
|
-
"build:sdk-scheme-adapter:
|
26
|
-
"build:sdk-scheme-adapter:
|
27
|
-
"build:
|
28
|
-
"build:
|
31
|
+
"build:sdk-scheme-adapter:v2.0.0": "npm run build:sdk-scheme-adapter:backend:v2.0.0; npm run build:sdk-scheme-adapter:outbound:v2.0.0;",
|
32
|
+
"build:sdk-scheme-adapter:v2.1.0": "npm run build:sdk-scheme-adapter:backend:v2.1.0; npm run build:sdk-scheme-adapter:outbound:v2.1.0;",
|
33
|
+
"build:sdk-scheme-adapter:backend:v2.0.0": "openapi bundle --output docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml --ext yaml sdk-scheme-adapter/v2_0_0/backend/openapi.yaml && swagger-cli validate docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml",
|
34
|
+
"build:sdk-scheme-adapter:outbound:v2.0.0": "openapi bundle --output docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml --ext yaml sdk-scheme-adapter/v2_0_0/outbound/openapi.yaml && swagger-cli validate docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml",
|
35
|
+
"build:sdk-scheme-adapter:backend:v2.1.0": "openapi bundle --output docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml --ext yaml sdk-scheme-adapter/v2_1_0/backend/openapi.yaml && swagger-cli validate docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml",
|
36
|
+
"build:sdk-scheme-adapter:outbound:v2.1.0": "openapi bundle --output docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml --ext yaml sdk-scheme-adapter/v2_1_0/outbound/openapi.yaml && swagger-cli validate docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml",
|
37
|
+
"build:schemas:sdk-scheme-adapter:backend:v2.0.0": "npx ts-node --transpile-only src/scripts/json-schema-generator.ts docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml src/sdk-scheme-adapter/v2_0_0/backend",
|
38
|
+
"build:schemas:sdk-scheme-adapter:outbound:v2.0.0": "npx ts-node --transpile-only src/scripts/json-schema-generator.ts docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml src/sdk-scheme-adapter/v2_0_0/outbound",
|
39
|
+
"build:schemas:sdk-scheme-adapter:backend:v2.1.0": "npx ts-node --transpile-only src/scripts/json-schema-generator.ts docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml src/sdk-scheme-adapter/v2_1_0/backend",
|
40
|
+
"build:schemas:sdk-scheme-adapter:outbound:v2.1.0": "npx ts-node --transpile-only src/scripts/json-schema-generator.ts docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml src/sdk-scheme-adapter/v2_1_0/outbound",
|
29
41
|
"lint": "eslint --ext ts --ext js test src",
|
30
42
|
"lint:fix": "eslint --fix --ext ts --ext js test src",
|
31
|
-
"prepare": "npm run build",
|
43
|
+
"prepare": "husky install && npm run build",
|
32
44
|
"dep:check": "ncu -e 2",
|
33
45
|
"dep:update": "ncu -u",
|
34
46
|
"release": "standard-version --releaseCommitMessageFormat 'chore(release): {{currentTag}} [skip ci]'",
|
35
47
|
"snapshot": "standard-version --no-verify --skip.changelog --prerelease snapshot --releaseCommitMessageFormat 'chore(snapshot): {{currentTag}}'",
|
36
|
-
"test
|
48
|
+
"test": "npm run test:unit",
|
49
|
+
"test:unit": "jest --testMatch '**/test/dto/*.(test|spec).ts'",
|
50
|
+
"dev:watch": "browser-sync start --server 'docs' --cwd 'docs' --files '*.yaml'"
|
37
51
|
},
|
38
52
|
"lint-staged": {
|
39
53
|
"*.{js,ts}": "eslint --cache --fix"
|
@@ -58,12 +72,12 @@
|
|
58
72
|
"license": "Apache-2.0",
|
59
73
|
"dependencies": {
|
60
74
|
"@apidevtools/json-schema-ref-parser": "^9.1.2",
|
61
|
-
"commander": "^11.
|
75
|
+
"commander": "^11.1.0",
|
62
76
|
"jest-ts-auto-mock": "^2.1.0",
|
63
77
|
"js-yaml": "^4.1.0",
|
64
78
|
"json-refs": "^3.0.15",
|
65
79
|
"openapi-types": "^12.1.3",
|
66
|
-
"openapi-typescript": "^6.
|
80
|
+
"openapi-typescript": "^6.7.1",
|
67
81
|
"ts-auto-mock": "^3.7.1"
|
68
82
|
},
|
69
83
|
"overrides": {
|
@@ -71,37 +85,38 @@
|
|
71
85
|
"@types/responselike": "^1.0.0"
|
72
86
|
},
|
73
87
|
"devDependencies": {
|
74
|
-
"@commitlint/cli": "^
|
75
|
-
"@commitlint/config-conventional": "^
|
88
|
+
"@commitlint/cli": "^18.4.3",
|
89
|
+
"@commitlint/config-conventional": "^18.4.3",
|
76
90
|
"@redocly/openapi-cli": "^1.0.0-beta.94",
|
77
|
-
"@types/jest": "^29.5.
|
78
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
79
|
-
"@typescript-eslint/parser": "^6.
|
91
|
+
"@types/jest": "^29.5.9",
|
92
|
+
"@typescript-eslint/eslint-plugin": "^6.12.0",
|
93
|
+
"@typescript-eslint/parser": "^6.12.0",
|
80
94
|
"audit-ci": "^6.6.1",
|
95
|
+
"browser-sync": "^2.29.3",
|
81
96
|
"diff": "^5.1.0",
|
82
|
-
"eslint": "^8.
|
97
|
+
"eslint": "^8.54.0",
|
83
98
|
"eslint-config-prettier": "^9.0.0",
|
84
99
|
"eslint-config-standard": "^17.1.0",
|
85
|
-
"eslint-import-resolver-typescript": "^3.6.
|
100
|
+
"eslint-import-resolver-typescript": "^3.6.1",
|
86
101
|
"eslint-plugin-cucumber": "^2.0.0",
|
87
|
-
"eslint-plugin-import": "^2.
|
102
|
+
"eslint-plugin-import": "^2.29.0",
|
88
103
|
"eslint-plugin-node": "^11.1.0",
|
89
|
-
"eslint-plugin-prettier": "^5.0.
|
104
|
+
"eslint-plugin-prettier": "^5.0.1",
|
90
105
|
"eslint-plugin-promise": "^6.1.1",
|
91
106
|
"eslint-plugin-standard": "^5.0.0",
|
92
107
|
"husky": "8.0.3",
|
93
|
-
"jest": "^29.
|
108
|
+
"jest": "^29.7.0",
|
94
109
|
"jest-junit": "^16.0.0",
|
95
|
-
"lint-staged": "^
|
96
|
-
"npm-check-updates": "^16.
|
97
|
-
"prettier": "^3.0
|
110
|
+
"lint-staged": "^15.1.0",
|
111
|
+
"npm-check-updates": "^16.14.11",
|
112
|
+
"prettier": "^3.1.0",
|
98
113
|
"standard-version": "^9.5.0",
|
99
114
|
"swagger-cli": "^4.0.4",
|
100
115
|
"ts-jest": "^29.1.1",
|
101
116
|
"ts-node": "^10.9.1",
|
102
117
|
"ts-patch": "^3.0.2",
|
103
118
|
"tslib": "^2.6.2",
|
104
|
-
"typescript": "^5.
|
119
|
+
"typescript": "^5.3.2"
|
105
120
|
},
|
106
121
|
"publishConfig": {
|
107
122
|
"registry": "https://registry.npmjs.org/"
|
package/sdk-bulk.yaml
CHANGED
@@ -17,7 +17,7 @@ info:
|
|
17
17
|
the term "FSP" is equal to the term "DFSP".
|
18
18
|
license:
|
19
19
|
name: Apache License Version 2.0, January 2004
|
20
|
-
url: https://github.com/mojaloop/documentation/blob/
|
20
|
+
url: https://github.com/mojaloop/documentation/blob/main/LICENSE.md
|
21
21
|
version: 1.0.0
|
22
22
|
paths:
|
23
23
|
/:
|
package/sdk-outbound-old.yaml
CHANGED
@@ -17,7 +17,7 @@ info:
|
|
17
17
|
the term "FSP" is equal to the term "DFSP".
|
18
18
|
license:
|
19
19
|
name: 'Apache License Version 2.0, January 2004'
|
20
|
-
url: 'https://github.com/mojaloop/documentation/blob/
|
20
|
+
url: 'https://github.com/mojaloop/documentation/blob/main/LICENSE.md'
|
21
21
|
version: 2.0.0
|
22
22
|
paths:
|
23
23
|
/:
|
@@ -32,9 +32,4 @@ properties:
|
|
32
32
|
transactionRequestResponse:
|
33
33
|
$ref: ./TransactionRequestResponse.yaml
|
34
34
|
lastError:
|
35
|
-
description: >
|
36
|
-
Object representing the last error to occur during a transfer process.
|
37
|
-
This may be a Mojaloop API error returned from another entity in the
|
38
|
-
scheme or an object representing other types of error e.g. exceptions that
|
39
|
-
may occur inside the scheme adapter.
|
40
35
|
$ref: ./transferError.yaml
|
@@ -69,9 +69,4 @@ properties:
|
|
69
69
|
headers:
|
70
70
|
type: object
|
71
71
|
lastError:
|
72
|
-
description: >
|
73
|
-
Object representing the last error to occur during a transfer process.
|
74
|
-
This may be a Mojaloop API error returned from another entity in the
|
75
|
-
scheme or an object representing other types of error e.g. exceptions that
|
76
|
-
may occur inside the scheme adapter.
|
77
72
|
$ref: ./transferError.yaml
|
@@ -1,7 +1,8 @@
|
|
1
1
|
type: object
|
2
2
|
description: >-
|
3
|
-
This
|
4
|
-
|
3
|
+
This may be a Mojaloop API error returned from another entity in the
|
4
|
+
scheme or an object representing other types of error e.g. exceptions that
|
5
|
+
may occur inside the scheme adapter.
|
5
6
|
properties:
|
6
7
|
httpStatusCode:
|
7
8
|
type: integer
|
@@ -69,11 +69,6 @@ properties:
|
|
69
69
|
headers:
|
70
70
|
type: object
|
71
71
|
lastError:
|
72
|
-
description: >
|
73
|
-
Object representing the last error to occur during a transfer process.
|
74
|
-
This may be a Mojaloop API error returned from another entity in the
|
75
|
-
scheme or an object representing other types of error e.g. exceptions that
|
76
|
-
may occur inside the scheme adapter.
|
77
72
|
$ref: ./transferError.yaml
|
78
73
|
skipPartyLookup:
|
79
74
|
description: >-
|
@@ -17,7 +17,7 @@ info:
|
|
17
17
|
the term "FSP" is equal to the term "DFSP".
|
18
18
|
license:
|
19
19
|
name: Apache License Version 2.0, January 2004
|
20
|
-
url: https://github.com/mojaloop/documentation/blob/
|
20
|
+
url: https://github.com/mojaloop/documentation/blob/main/LICENSE.md
|
21
21
|
version: 1.0.0
|
22
22
|
paths:
|
23
23
|
/:
|