@mojaloop/api-snippets 18.0.0-snapshot.0 → 18.0.0-snapshot.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/CHANGELOG.md +35 -0
- package/CODEOWNERS +1 -1
- package/LICENSE.md +1 -1
- package/audit-ci.jsonc +2 -4
- package/docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml +3 -36
- package/docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml +90 -56
- 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.d.ts +7 -6
- package/lib/scripts/json-schema-generator.js +13 -8
- package/lib/scripts/json-schema-generator.js.map +1 -1
- package/lib/scripts/openapi-refactor.d.ts +7 -6
- package/lib/scripts/openapi-refactor.js +7 -6
- package/lib/scripts/openapi-refactor.js.map +1 -1
- package/lib/sdk-scheme-adapter/index.d.ts +7 -6
- package/lib/sdk-scheme-adapter/index.js +7 -6
- package/lib/sdk-scheme-adapter/index.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/index.d.ts +7 -6
- package/lib/sdk-scheme-adapter/v2_0_0/index.js +7 -6
- package/lib/sdk-scheme-adapter/v2_0_0/index.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 +10 -119
- package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.d.ts +3 -24
- package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.d.ts +0 -101
- package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js +141 -144
- 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 +0 -3
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/json-schemas.json +27 -91
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.d.ts +121 -31
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.d.ts +10 -71
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js +139 -141
- 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 +1 -3
- package/package.json +14 -13
- package/sdk-scheme-adapter/v2_1_0/backend/openapi.yaml +0 -1
- package/sdk-scheme-adapter/v2_1_0/components/responses/accountDeletionCompleted.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/accountDeletionError.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/responses/accountDeletionTimeout.yaml +5 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorInformation.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxCharge.yaml +19 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxConversion.yaml +57 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/FxMoney.yaml +10 -0
- 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/accountDeletionResponse.yaml +23 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/accountDeletionState.yaml +4 -0
- package/sdk-scheme-adapter/v2_1_0/components/schemas/accountDeletionStatus.yaml +10 -0
- 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/transferContinuationAcceptQuoteOrConversion.yaml +9 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/openapi.yaml +4 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/accounts_Type_ID.yaml +19 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/accounts_Type_ID_SubId.yaml +20 -0
- package/sdk-scheme-adapter/v2_1_0/outbound/paths/transfers_transferId.yaml +2 -1
@@ -12,6 +12,6 @@ properties:
|
|
12
12
|
conversionState:
|
13
13
|
$ref: "../../../../fspiop/v2_0/openapi3/components/schemas/FxTransfersIDPutResponse.yaml#/properties/conversionState"
|
14
14
|
extensionList:
|
15
|
-
$ref: "
|
15
|
+
$ref: "./ExtensionList_v2_1_0.yaml"
|
16
16
|
required:
|
17
17
|
- conversionState
|
@@ -12,6 +12,6 @@ properties:
|
|
12
12
|
conversionState:
|
13
13
|
$ref: "../../../../fspiop/v2_0/openapi3/components/schemas/FxTransfersIDPutResponse.yaml#/properties/conversionState"
|
14
14
|
extensionList:
|
15
|
-
$ref: "
|
15
|
+
$ref: "./ExtensionList_v2_1_0.yaml"
|
16
16
|
required:
|
17
17
|
- conversionState
|
@@ -0,0 +1,23 @@
|
|
1
|
+
type: object
|
2
|
+
required:
|
3
|
+
- accounts
|
4
|
+
properties:
|
5
|
+
modelId:
|
6
|
+
$ref: ./CorrelationId.yaml
|
7
|
+
fspId:
|
8
|
+
$ref: ./FspId.yaml
|
9
|
+
response:
|
10
|
+
$ref: ./accountDeletionStatus.yaml
|
11
|
+
currentState:
|
12
|
+
$ref: ./accountDeletionState.yaml
|
13
|
+
lastError:
|
14
|
+
$ref: ./transferError.yaml
|
15
|
+
postAccountsResponse:
|
16
|
+
type: object
|
17
|
+
required:
|
18
|
+
- body
|
19
|
+
properties:
|
20
|
+
body:
|
21
|
+
type: object
|
22
|
+
headers:
|
23
|
+
type: object
|
@@ -24,6 +24,10 @@ paths:
|
|
24
24
|
$ref: paths.yaml
|
25
25
|
/accounts:
|
26
26
|
$ref: paths/accounts.yaml
|
27
|
+
/accounts/{Type}/{ID}:
|
28
|
+
$ref: paths/accounts_Type_ID.yaml
|
29
|
+
/accounts/{Type}/{ID}/{SubId}:
|
30
|
+
$ref: paths/accounts_Type_ID_SubId.yaml
|
27
31
|
/bulkQuotes:
|
28
32
|
$ref: paths/bulkQuotes.yaml
|
29
33
|
/bulkQuotes/{bulkQuoteId}:
|
@@ -0,0 +1,19 @@
|
|
1
|
+
delete:
|
2
|
+
summary: Delete account on the Account Lookup Service
|
3
|
+
description: >-
|
4
|
+
The HTTP request `DELETE /accounts/{Type}/{ID}/{SubId}` is used to account account information on
|
5
|
+
the Account Lookup Service (ALS) by Type and ID (and optionally SubId).
|
6
|
+
tags:
|
7
|
+
- Accounts
|
8
|
+
parameters:
|
9
|
+
- $ref: ../../components/parameters/Type.yaml
|
10
|
+
- $ref: ../../components/parameters/ID.yaml
|
11
|
+
responses:
|
12
|
+
'200':
|
13
|
+
$ref: ../../components/responses/accountDeletionCompleted.yaml
|
14
|
+
'400':
|
15
|
+
$ref: ../../components/responses/accountDeletionError.yaml
|
16
|
+
'500':
|
17
|
+
$ref: ../../components/responses/accountDeletionError.yaml
|
18
|
+
'504':
|
19
|
+
$ref: ../../components/responses/accountDeletionTimeout.yaml
|
@@ -0,0 +1,20 @@
|
|
1
|
+
delete:
|
2
|
+
summary: Delete account on the Account Lookup Service
|
3
|
+
description: >-
|
4
|
+
The HTTP request `DELETE /accounts/{Type}/{ID}/{SubId}` is used to account account information on
|
5
|
+
the Account Lookup Service (ALS) by Type and ID (and optionally SubId).
|
6
|
+
tags:
|
7
|
+
- Accounts
|
8
|
+
parameters:
|
9
|
+
- $ref: ../../components/parameters/Type.yaml
|
10
|
+
- $ref: ../../components/parameters/ID.yaml
|
11
|
+
- $ref: ../../components/parameters/SubId.yaml
|
12
|
+
responses:
|
13
|
+
'200':
|
14
|
+
$ref: ../../components/responses/accountDeletionCompleted.yaml
|
15
|
+
'400':
|
16
|
+
$ref: ../../components/responses/accountDeletionError.yaml
|
17
|
+
'500':
|
18
|
+
$ref: ../../components/responses/accountDeletionError.yaml
|
19
|
+
'504':
|
20
|
+
$ref: ../../components/responses/accountDeletionTimeout.yaml
|
@@ -8,7 +8,7 @@ put:
|
|
8
8
|
party lookup and/or quotation stage and/or currency conversion stage.
|
9
9
|
|
10
10
|
|
11
|
-
The request body should contain either the "acceptParty" or "acceptQuote" or "acceptConversion"
|
11
|
+
The request body should contain either the "acceptParty" or "acceptQuote" or "acceptConversion" or "acceptQuoteOrConversion"
|
12
12
|
property set to `true` as required to continue the transfer.
|
13
13
|
|
14
14
|
|
@@ -24,6 +24,7 @@ put:
|
|
24
24
|
- $ref: ../../components/schemas/transferContinuationAcceptParty.yaml
|
25
25
|
- $ref: ../../components/schemas/transferContinuationAcceptQuote.yaml
|
26
26
|
- $ref: ../../components/schemas/transferContinuationAcceptConversion.yaml
|
27
|
+
- $ref: ../../components/schemas/transferContinuationAcceptQuoteOrConversion.yaml
|
27
28
|
parameters:
|
28
29
|
- $ref: ../../components/parameters/transferId.yaml
|
29
30
|
responses:
|