@mojaloop/api-snippets 17.7.11 → 18.0.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 +0 -14
- package/docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml +36 -3
- package/docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml +34 -2
- package/lib/fspiop/v2_0/schemas.js +102 -102
- package/lib/fspiop/v2_0/schemas.js.map +1 -1
- package/lib/fspiop/v2_0_ISO20022/schemas.js +166 -166
- package/lib/fspiop/v2_0_ISO20022/schemas.js.map +1 -1
- package/lib/scripts/json-schema-generator.js +2 -6
- package/lib/scripts/json-schema-generator.js.map +1 -1
- package/lib/sdk-scheme-adapter/v2_0_0/backend/schemas.js +108 -108
- package/lib/sdk-scheme-adapter/v2_0_0/backend/schemas.js.map +1 -1
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.js +116 -116
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.js.map +1 -1
- package/lib/sdk-scheme-adapter/v2_1_0/backend/json-schemas.json +119 -10
- package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.d.ts +24 -3
- package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.d.ts +101 -0
- package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js +144 -141
- package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js.map +1 -1
- package/lib/sdk-scheme-adapter/v2_1_0/backend/types.d.ts +3 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/json-schemas.json +91 -12
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.d.ts +23 -2
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.d.ts +71 -0
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js +141 -138
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js.map +1 -1
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.d.ts +3 -0
- package/package.json +4 -4
- package/sdk-scheme-adapter/v2_1_0/backend/openapi.yaml +1 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorInformation.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendRequest.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostBackendResponse.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundRequest.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxQuotesPostOutboundResponse.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostBackendResponse.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPostOutboundResponse.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxTransfersPutBackendRequest.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/PartyIdInfo.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesIDPutResponse.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/QuotesPostRequest.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransactionRequestResponse.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersIDPutResponse.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/TransfersPostRequest.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteResponse.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferResponse.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuoteResult.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferFulfilment.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/individualTransferResult.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/quotesPostResponse.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxCharge.yaml +0 -19
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxConversion.yaml +0 -57
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxMoney.yaml +0 -10
@@ -1,57 +0,0 @@
|
|
1
|
-
title: FxConversion
|
2
|
-
type: object
|
3
|
-
description: A DFSP will be able to request a currency conversion, and an FX provider will be able to describe its involvement in a proposed transfer, using a FxConversion object.
|
4
|
-
properties:
|
5
|
-
conversionId:
|
6
|
-
allOf:
|
7
|
-
- $ref: ./CorrelationId.yaml
|
8
|
-
- description: An end-to-end identifier for the conversion request.
|
9
|
-
determiningTransferId:
|
10
|
-
allOf:
|
11
|
-
- $ref: ./CorrelationId.yaml
|
12
|
-
- description: The transaction ID of the transfer on whose success this currency conversion depends.
|
13
|
-
initiatingFsp:
|
14
|
-
allOf:
|
15
|
-
- $ref: ./FspId.yaml
|
16
|
-
- description: The id of the participant who is requesting a currency conversion.
|
17
|
-
counterPartyFsp:
|
18
|
-
allOf:
|
19
|
-
- $ref: ./FspId.yaml
|
20
|
-
- description: The ID of the FXP performing the conversion.
|
21
|
-
amountType:
|
22
|
-
allOf:
|
23
|
-
- $ref: ./AmountType.yaml
|
24
|
-
- description: This is the AmountType for the base transaction -
|
25
|
-
If SEND - then any charges levied by the FXP as part of the transaction will be deducted by the FXP from the amount shown for the target party in the conversion.
|
26
|
-
If RECEIVE - then any charges levied by the FXP as part of the transaction will be added by the FXP to the amount shown for the source party in the conversion.
|
27
|
-
sourceAmount:
|
28
|
-
allOf:
|
29
|
-
- $ref: ./FxMoney.yaml
|
30
|
-
- description: The amount to be converted, expressed in the source currency.
|
31
|
-
targetAmount:
|
32
|
-
allOf:
|
33
|
-
- $ref: ./FxMoney.yaml
|
34
|
-
- description: The converted amount, expressed in the target currency.
|
35
|
-
expiration:
|
36
|
-
allOf:
|
37
|
-
- $ref: ./DateTime.yaml
|
38
|
-
- description: The end of the period for which the currency conversion is required to remain valid.
|
39
|
-
charges:
|
40
|
-
type: array
|
41
|
-
description: One or more charges which the FXP intends to levy as part of the currency conversion, or which the payee DFSP intends to add to the amount transferred.
|
42
|
-
items:
|
43
|
-
$ref: ./FxCharge.yaml
|
44
|
-
minItems: 0
|
45
|
-
maxItems: 16
|
46
|
-
extensionList:
|
47
|
-
allOf:
|
48
|
-
- $ref: ./ExtensionList_v2_1_0.yaml
|
49
|
-
- description: The extension list for the currency conversion request.
|
50
|
-
required:
|
51
|
-
- conversionId
|
52
|
-
- initiatingFsp
|
53
|
-
- counterPartyFsp
|
54
|
-
- amountType
|
55
|
-
- sourceAmount
|
56
|
-
- targetAmount
|
57
|
-
- expiration
|
@@ -1,10 +0,0 @@
|
|
1
|
-
title: FxMoney
|
2
|
-
type: object
|
3
|
-
description: Data model for the complex type FxMoney; This is based on the type Money but allows the amount to be optional to support FX quotations.
|
4
|
-
properties:
|
5
|
-
currency:
|
6
|
-
$ref: ./Currency.yaml
|
7
|
-
amount:
|
8
|
-
$ref: ./Amount.yaml
|
9
|
-
required:
|
10
|
-
- currency
|