@mojaloop/api-snippets 17.2.3 → 17.2.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/CHANGELOG.md +14 -0
- package/README.md +1 -1
- package/audit-ci.jsonc +8 -0
- package/docs/dist/openapi.yaml +2 -2
- package/docs/fspiop-rest-v1.0-openapi3-snippets.yaml +2 -2
- package/docs/fspiop-rest-v1.1-openapi3-snippets.yaml +4 -4
- package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +1 -1
- 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_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/lib/fspiop/v1_0/openapi.d.ts +3 -2
- package/lib/fspiop/v1_1/openapi.d.ts +3 -2
- package/lib/sdk-scheme-adapter/v2_0_0/backend/openapi.d.ts +1 -0
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/openapi.d.ts +1 -0
- package/lib/thirdparty/openapi.d.ts +19 -18
- package/package.json +18 -17
- package/sdk-bulk.yaml +1 -1
- package/sdk-outbound-old.yaml +1 -1
- package/sdk-scheme-adapter/v2_0_0/outbound/openapi.yaml +1 -1
- 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
@@ -7,7 +7,7 @@ info:
|
|
7
7
|
DFSPs who want to enable Payment Initiation Service Providers (PISPs) should implement the accompanying API - Mojaloop Third Party API (DFSP) instead.
|
8
8
|
license:
|
9
9
|
name: Open API for FSP Interoperability (FSPIOP) (Implementation Friendly Version)
|
10
|
-
url: 'https://github.com/mojaloop/mojaloop-specification/blob/
|
10
|
+
url: 'https://github.com/mojaloop/mojaloop-specification/blob/main/LICENSE.md'
|
11
11
|
servers:
|
12
12
|
- url: /
|
13
13
|
paths:
|
@@ -73,20 +73,20 @@ paths:
|
|
73
73
|
Callback and data model information for GET /accounts/{ID}:
|
74
74
|
Callback - PUT /accounts/{ID} Error Callback - PUT /accounts/{ID}/error Data Model - Empty body
|
75
75
|
The PUT /accounts/{ID} response is used to inform the requester of the result of a request for accounts information. The identifier ID given in the call are the values given in the original request.
|
76
|
-
https://github.com/mojaloop/documentation/blob/
|
76
|
+
https://github.com/mojaloop/documentation/blob/main/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#31121--put-accountsid
|
77
77
|
properties:
|
78
78
|
accountList:
|
79
79
|
title: AccountList
|
80
80
|
type: array
|
81
81
|
description: |-
|
82
82
|
The AccountList data model is used to hold information about the accounts that a party controls.
|
83
|
-
https://github.com/mojaloop/documentation/blob/
|
83
|
+
https://github.com/mojaloop/documentation/blob/main/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#3213-accountlist
|
84
84
|
items:
|
85
85
|
title: Account
|
86
86
|
type: object
|
87
87
|
description: |-
|
88
88
|
Data model for the complex type Account.
|
89
|
-
https://github.com/mojaloop/documentation/blob/
|
89
|
+
https://github.com/mojaloop/documentation/blob/main/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#3211-account
|
90
90
|
properties:
|
91
91
|
accountNickname:
|
92
92
|
title: Name
|
@@ -249,7 +249,7 @@ paths:
|
|
249
249
|
The HTTP request POST /consentRequests is used to request a DFSP to grant access to one or more accounts owned by a customer of the DFSP for the PISP who sends the request.
|
250
250
|
Callback and data model for POST /consentRequests:
|
251
251
|
Callback: PUT /consentRequests/{ID} Error callback: PUT /consentRequests/{ID}/error Data model - see below url
|
252
|
-
https://github.com/mojaloop/documentation/blob/
|
252
|
+
https://github.com/mojaloop/documentation/blob/main/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#31212-post-consentrequests
|
253
253
|
properties:
|
254
254
|
consentRequestId:
|
255
255
|
title: CorrelationId
|
@@ -271,7 +271,7 @@ paths:
|
|
271
271
|
type: object
|
272
272
|
description: |-
|
273
273
|
The Scope element contains an identifier defining, in the terms of a DFSP, an account on which access types can be requested or granted. It also defines the access types which are requested or granted.
|
274
|
-
https://github.com/mojaloop/documentation/blob/
|
274
|
+
https://github.com/mojaloop/documentation/blob/main/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#32121-scope
|
275
275
|
properties:
|
276
276
|
address:
|
277
277
|
title: AccountAddress
|
@@ -282,7 +282,7 @@ paths:
|
|
282
282
|
- Underscore (_) - Tilde (~) - Hyphen (-) - Period (.) Addresses MUST NOT end in a period (.) character
|
283
283
|
An entity providing accounts to parties (i.e. a participant) can provide any value for an AccountAddress that is meaningful to that entity. It does not need to provide an address that makes the account identifiable outside the entity's domain.
|
284
284
|
IMPORTANT: The policy for defining addresses and the life-cycle of these is at the discretion of the address space owner (the payer DFSP in this case).
|
285
|
-
https://github.com/mojaloop/documentation/blob/
|
285
|
+
https://github.com/mojaloop/documentation/blob/main/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#3212-accountaddress
|
286
286
|
pattern: '^([0-9A-Za-z_~\-\.]+[0-9A-Za-z_~\-])$'
|
287
287
|
minLength: 1
|
288
288
|
maxLength: 1023
|
@@ -565,7 +565,7 @@ paths:
|
|
565
565
|
description: |-
|
566
566
|
Used by: PISP
|
567
567
|
After the user completes an out-of-band authorization with the DFSP, the PISP will receive a token which they can use to prove to the DFSP that the user trusts this PISP.
|
568
|
-
https://github.com/mojaloop/documentation/blob/
|
568
|
+
https://github.com/mojaloop/documentation/blob/main/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#31222-patch-consentrequestsid
|
569
569
|
properties:
|
570
570
|
authToken:
|
571
571
|
type: string
|
@@ -949,7 +949,7 @@ paths:
|
|
949
949
|
- GENERIC
|
950
950
|
description: |-
|
951
951
|
The type of the Credential. - "FIDO" - The credential is based on a FIDO challenge. Its payload is a FIDOPublicKeyCredentialAttestation object. - "GENERIC" - The credential is based on a simple public key validation. Its payload is a GenericCredential object.
|
952
|
-
https://github.com/mojaloop/documentation/blob/
|
952
|
+
https://github.com/mojaloop/documentation/blob/main/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#3226-credentialtype
|
953
953
|
status:
|
954
954
|
title: CredentialStatusPending
|
955
955
|
type: string
|
@@ -1213,7 +1213,7 @@ paths:
|
|
1213
1213
|
The HTTP request POST /thirdpartyRequests/authorizations is used to request the validation by a customer for the transfer described in the request.
|
1214
1214
|
Callback and data model information for POST /thirdpartyRequests/authorizations:
|
1215
1215
|
Callback - PUT /thirdpartyRequests/authorizations/{ID} Error Callback - PUT /thirdpartyRequests/authorizations/{ID}/error Data Model - See below url
|
1216
|
-
https://github.com/mojaloop/documentation/blob/
|
1216
|
+
https://github.com/mojaloop/documentation/blob/main/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#31612-post-thirdpartyrequestsauthorizations
|
1217
1217
|
type: object
|
1218
1218
|
properties:
|
1219
1219
|
authorizationRequestId:
|
@@ -1469,7 +1469,7 @@ paths:
|
|
1469
1469
|
Javascript ArrayBuffer.
|
1470
1470
|
For this API, we represent ArrayBuffers as base64 encoded utf-8 strings.
|
1471
1471
|
|
1472
|
-
https://github.com/mojaloop/documentation/blob/
|
1472
|
+
https://github.com/mojaloop/documentation/blob/main/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#32128-fidopublickeycredentialassertion
|
1473
1473
|
properties:
|
1474
1474
|
id:
|
1475
1475
|
type: string
|
@@ -1675,7 +1675,7 @@ paths:
|
|
1675
1675
|
The HTTP request POST /thirdpartyRequests/transactions is used to request the creation of a transaction request on the server for the transfer described in the request.
|
1676
1676
|
Callback and data model information for POST /thirdpartyRequests/transactions:
|
1677
1677
|
Callback - PUT /thirdpartyRequests/transactions/{ID} Error Callback - PUT /thirdpartyRequests/transactions/{ID}/error Data Model - See link below
|
1678
|
-
https://github.com/mojaloop/documentation/blob/
|
1678
|
+
https://github.com/mojaloop/documentation/blob/main/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#31712-post-thirdpartyrequeststransactions
|
1679
1679
|
properties:
|
1680
1680
|
transactionRequestId:
|
1681
1681
|
allOf:
|
@@ -2093,7 +2093,7 @@ paths:
|
|
2093
2093
|
description: |-
|
2094
2094
|
Used by: DFSP
|
2095
2095
|
After a PISP requests the creation of a Third Party Transaction request (POST /thirdpartyRequests/transactions) or the status of a previously created Third Party Transaction request (GET /thirdpartyRequests/transactions/{ID}), the DFSP will send this callback.
|
2096
|
-
https://github.com/mojaloop/documentation/blob/
|
2096
|
+
https://github.com/mojaloop/documentation/blob/main/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#31721-put-thirdpartyrequeststransactionsid
|
2097
2097
|
properties:
|
2098
2098
|
transactionRequestState:
|
2099
2099
|
title: TransactionRequestState
|
@@ -2160,7 +2160,7 @@ paths:
|
|
2160
2160
|
The issuing PISP will expect a response to their request for a transfer which describes the finalized state of the requested transfer.
|
2161
2161
|
This response will be given by a PATCH call on the /thirdpartyRequests/transactions/{ID} resource.
|
2162
2162
|
The {ID} given in the query string should be the transactionRequestId which was originally used by the PISP to identify the transaction request.
|
2163
|
-
https://github.com/mojaloop/documentation/blob/
|
2163
|
+
https://github.com/mojaloop/documentation/blob/main/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#31612-post-thirdpartyrequestsauthorizations
|
2164
2164
|
properties:
|
2165
2165
|
completedTimestamp:
|
2166
2166
|
title: DateTime
|
@@ -2327,13 +2327,13 @@ paths:
|
|
2327
2327
|
schema:
|
2328
2328
|
type: string
|
2329
2329
|
required: false
|
2330
|
-
description: 'The `FSPIOP-URI` header field is a non-HTTP standard field used by the API for signature verification, should contain the service URI. Required if signature verification is used, for more information, see [the API Signature document](https://github.com/mojaloop/docs/tree/
|
2330
|
+
description: 'The `FSPIOP-URI` header field is a non-HTTP standard field used by the API for signature verification, should contain the service URI. Required if signature verification is used, for more information, see [the API Signature document](https://github.com/mojaloop/docs/tree/main/Specification%20Document%20Set).'
|
2331
2331
|
- name: FSPIOP-HTTP-Method
|
2332
2332
|
in: header
|
2333
2333
|
schema:
|
2334
2334
|
type: string
|
2335
2335
|
required: false
|
2336
|
-
description: 'The `FSPIOP-HTTP-Method` header field is a non-HTTP standard field used by the API for signature verification, should contain the service HTTP method. Required if signature verification is used, for more information, see [the API Signature document](https://github.com/mojaloop/docs/tree/
|
2336
|
+
description: 'The `FSPIOP-HTTP-Method` header field is a non-HTTP standard field used by the API for signature verification, should contain the service HTTP method. Required if signature verification is used, for more information, see [the API Signature document](https://github.com/mojaloop/docs/tree/main/Specification%20Document%20Set).'
|
2337
2337
|
get:
|
2338
2338
|
description: 'The HTTP request `GET /parties/{Type}/{ID}` (or `GET /parties/{Type}/{ID}/{SubId}`) is used to look up information regarding the requested Party, defined by `{Type}`, `{ID}` and optionally `{SubId}` (for example, `GET /parties/MSISDN/123456789`, or `GET /parties/BUSINESS/shoecompany/employee1`).'
|
2339
2339
|
summary: Look up party information
|
@@ -2838,7 +2838,7 @@ paths:
|
|
2838
2838
|
The callback PUT /services/{ServiceType} is used to inform the client of a successful result of the service information lookup.
|
2839
2839
|
Callback and data model information for GET /services/{ServiceType}:
|
2840
2840
|
Callback - PUT /services/{ServiceType} Error Callback - PUT /services/{ServiceType}/error Data Model - Empty body
|
2841
|
-
https://github.com/mojaloop/documentation/blob/
|
2841
|
+
https://github.com/mojaloop/documentation/blob/main/website/versioned_docs/v1.0.1/api/thirdparty/data-models.md#31531-put-servicesservicetype
|
2842
2842
|
properties:
|
2843
2843
|
providers:
|
2844
2844
|
type: array
|