@mojaloop/api-snippets 13.0.4 → 13.0.7

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.
Files changed (98) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/docs/thirdparty-openapi3-snippets.yaml +3031 -2495
  3. package/lib/thirdparty/index.d.ts +2 -4
  4. package/lib/thirdparty/openapi.d.ts +4725 -3729
  5. package/package.json +4 -1
  6. package/tests/dto/thirdparty.test.ts +4 -48
  7. package/thirdparty/openapi3/components/parameters/Accept.yaml +1 -1
  8. package/thirdparty/openapi3/components/parameters/Content-Length.yaml +1 -1
  9. package/thirdparty/openapi3/components/parameters/Content-Type.yaml +1 -1
  10. package/thirdparty/openapi3/components/parameters/Date.yaml +1 -1
  11. package/thirdparty/openapi3/components/parameters/FSPIOP-Destination.yaml +1 -1
  12. package/thirdparty/openapi3/components/parameters/FSPIOP-Encryption.yaml +1 -1
  13. package/thirdparty/openapi3/components/parameters/FSPIOP-HTTP-Method.yaml +1 -1
  14. package/thirdparty/openapi3/components/parameters/FSPIOP-Signature.yaml +1 -1
  15. package/thirdparty/openapi3/components/parameters/FSPIOP-Source.yaml +1 -1
  16. package/thirdparty/openapi3/components/parameters/FSPIOP-URI.yaml +1 -1
  17. package/thirdparty/openapi3/components/parameters/ID.yaml +1 -1
  18. package/thirdparty/openapi3/components/parameters/SubId.yaml +1 -1
  19. package/thirdparty/openapi3/components/parameters/Type.yaml +1 -1
  20. package/thirdparty/openapi3/components/parameters/X-Forwarded-For.yaml +1 -1
  21. package/thirdparty/openapi3/components/responses/200.yaml +1 -1
  22. package/thirdparty/openapi3/components/responses/202.yaml +1 -1
  23. package/thirdparty/openapi3/components/responses/400.yaml +1 -1
  24. package/thirdparty/openapi3/components/responses/401.yaml +1 -1
  25. package/thirdparty/openapi3/components/responses/403.yaml +1 -1
  26. package/thirdparty/openapi3/components/responses/404.yaml +1 -1
  27. package/thirdparty/openapi3/components/responses/405.yaml +1 -1
  28. package/thirdparty/openapi3/components/responses/406.yaml +1 -1
  29. package/thirdparty/openapi3/components/responses/501.yaml +1 -1
  30. package/thirdparty/openapi3/components/responses/503.yaml +1 -1
  31. package/thirdparty/openapi3/components/schemas/Account.yaml +5 -2
  32. package/thirdparty/openapi3/components/schemas/AccountAddress.yaml +20 -2
  33. package/thirdparty/openapi3/components/schemas/AccountList.yaml +11 -0
  34. package/thirdparty/openapi3/components/schemas/AccountsIDPutResponse.yaml +15 -5
  35. package/thirdparty/openapi3/components/schemas/AuthenticationResponse.yaml +10 -0
  36. package/thirdparty/openapi3/components/schemas/AuthenticatorAssertionResponse.yaml +32 -0
  37. package/thirdparty/openapi3/components/schemas/AuthenticatorAttestationResponse.yaml +23 -0
  38. package/thirdparty/openapi3/components/schemas/AuthorizationResponseTypeRejected.yaml +1 -1
  39. package/thirdparty/openapi3/components/schemas/ConsentRequestChannelType.yaml +3 -3
  40. package/thirdparty/openapi3/components/schemas/ConsentRequestChannelTypeOTP.yaml +1 -1
  41. package/thirdparty/openapi3/components/schemas/ConsentRequestChannelTypeWeb.yaml +1 -1
  42. package/thirdparty/openapi3/components/schemas/ConsentRequestsIDPatchRequest.yaml +10 -1
  43. package/thirdparty/openapi3/components/schemas/ConsentRequestsIDPutResponseOTP.yaml +2 -0
  44. package/thirdparty/openapi3/components/schemas/ConsentRequestsIDPutResponseWeb.yaml +2 -0
  45. package/thirdparty/openapi3/components/schemas/ConsentRequestsPostRequest.yaml +19 -3
  46. package/thirdparty/openapi3/components/schemas/ConsentStatusIssued.yaml +1 -1
  47. package/thirdparty/openapi3/components/schemas/ConsentStatusRevoked.yaml +1 -1
  48. package/thirdparty/openapi3/components/schemas/ConsentsIDPatchResponseRevoked.yaml +2 -0
  49. package/thirdparty/openapi3/components/schemas/ConsentsIDPatchResponseVerified.yaml +3 -1
  50. package/thirdparty/openapi3/components/schemas/ConsentsIDPutResponseSigned.yaml +5 -3
  51. package/thirdparty/openapi3/components/schemas/ConsentsIDPutResponseVerified.yaml +5 -3
  52. package/thirdparty/openapi3/components/schemas/ConsentsPostRequestAUTH.yaml +6 -2
  53. package/thirdparty/openapi3/components/schemas/ConsentsPostRequestPISP.yaml +6 -4
  54. package/thirdparty/openapi3/components/schemas/CredentialStatusPending.yaml +1 -1
  55. package/thirdparty/openapi3/components/schemas/CredentialStatusVerified.yaml +1 -1
  56. package/thirdparty/openapi3/components/schemas/CredentialType.yaml +5 -3
  57. package/thirdparty/openapi3/components/schemas/FIDOPublicKeyCredentialAssertion.yaml +8 -3
  58. package/thirdparty/openapi3/components/schemas/GenericCredential.yaml +1 -1
  59. package/thirdparty/openapi3/components/schemas/Scope.yaml +6 -1
  60. package/thirdparty/openapi3/components/schemas/ScopeAction.yaml +8 -6
  61. package/thirdparty/openapi3/components/schemas/ServiceType.yaml +11 -3
  62. package/thirdparty/openapi3/components/schemas/ServicesServiceTypePutResponse.yaml +15 -1
  63. package/thirdparty/openapi3/components/schemas/SignedCredential.yaml +1 -1
  64. package/thirdparty/openapi3/components/schemas/SignedPayloadFIDO.yaml +11 -0
  65. package/thirdparty/openapi3/components/schemas/SignedPayloadGeneric.yaml +11 -0
  66. package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsAuthorizationsIDPutResponseFIDO.yaml +4 -11
  67. package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsAuthorizationsIDPutResponseGeneric.yaml +4 -11
  68. package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsAuthorizationsIDPutResponseRejected.yaml +5 -3
  69. package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsAuthorizationsPostRequest.yaml +15 -3
  70. package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsTransactionsIDPatchResponse.yaml +15 -1
  71. package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsTransactionsIDPutResponse.yaml +11 -1
  72. package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsTransactionsPostRequest.yaml +15 -2
  73. package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsVerificationsIDPutResponse.yaml +13 -6
  74. package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsVerificationsPostRequestFIDO.yaml +4 -2
  75. package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsVerificationsPostRequestGeneric.yaml +4 -2
  76. package/thirdparty/openapi3/components/schemas/VerifiedCredential.yaml +6 -7
  77. package/thirdparty/openapi3/openapi.yaml +9 -9
  78. package/thirdparty/openapi3/paths/consentRequests_ID.yaml +6 -6
  79. package/thirdparty/openapi3/paths/consents_ID.yaml +2 -2
  80. package/thirdparty/openapi3/paths/thirdpartyRequests_authorizations.yaml +1 -1
  81. package/thirdparty/openapi3/paths/thirdpartyRequests_authorizations_ID.yaml +3 -3
  82. package/thirdparty/openapi3/paths/thirdpartyRequests_transactions.yaml +1 -1
  83. package/thirdparty/openapi3/paths/thirdpartyRequests_verifications_ID.yaml +6 -4
  84. package/thirdparty/openapi3/thirdparty-dfsp-api.yaml +66 -66
  85. package/thirdparty/openapi3/thirdparty-pisp-api.yaml +65 -65
  86. package/thirdparty/openapi3/components/schemas/AuthenticationType.yaml +0 -11
  87. package/thirdparty/openapi3/components/schemas/AuthenticationValue.yaml +0 -9
  88. package/thirdparty/openapi3/components/schemas/AuthorizationChannelType.yaml +0 -11
  89. package/thirdparty/openapi3/components/schemas/AuthorizationsIDPutResponse.yaml +0 -10
  90. package/thirdparty/openapi3/components/schemas/AuthorizationsPostRequest.yaml +0 -24
  91. package/thirdparty/openapi3/components/schemas/IndividualQuote.yaml +0 -51
  92. package/thirdparty/openapi3/components/schemas/IndividualQuoteResult.yaml +0 -46
  93. package/thirdparty/openapi3/components/schemas/TransactionRequestsPostRequest.yaml +0 -30
  94. package/thirdparty/openapi3/components/schemas/U2FPIN.yaml +0 -8
  95. package/thirdparty/openapi3/components/schemas/U2FPinValue.yaml +0 -19
  96. package/thirdparty/openapi3/components/schemas/index.yaml +0 -180
  97. package/thirdparty/openapi3/paths/authorizations.yaml +0 -51
  98. package/thirdparty/openapi3/paths/authorizations_ID.yaml +0 -56
@@ -1,19 +0,0 @@
1
- title: U2FPinValue
2
- type: object
3
- description: >
4
- U2F challenge-response, where payer FSP verifies if the response
5
- provided by end-user device matches the previously registered key.
6
- properties:
7
- pinValue:
8
- allOf:
9
- - $ref: ./U2FPIN.yaml
10
- description: U2F challenge-response.
11
- counter:
12
- allOf:
13
- - $ref: '../../../../fspiop/v1_1/openapi3/components/schemas/Integer.yaml'
14
- description: >-
15
- Sequential counter used for cloning detection. Present only for U2F
16
- authentication.
17
- required:
18
- - pinValue
19
- - counter
@@ -1,180 +0,0 @@
1
- Account:
2
- $ref: ./Account.yaml
3
- AccountId:
4
- $ref: ./AccountId.yaml
5
- AccountsIDPutResponse:
6
- $ref: ./AccountsIDPutResponse.yaml
7
- Amount:
8
- $ref: ./Amount.yaml
9
- AmountType:
10
- $ref: ./AmountType.yaml
11
- AuthenticationInfo:
12
- $ref: ./AuthenticationInfo.yaml
13
- AuthenticationType:
14
- $ref: ./AuthenticationType.yaml
15
- AuthenticationValue:
16
- $ref: ./AuthenticationValue.yaml
17
- AuthorizationChannelType:
18
- $ref: ./AuthorizationChannelType.yaml
19
- AuthorizationResponseType:
20
- $ref: ./AuthorizationResponseType.yaml
21
- AuthorizationsPostRequest:
22
- $ref: ./AuthorizationsPostRequest.yaml
23
- BinaryString:
24
- $ref: ./BinaryString.yaml
25
- ConsentRequestChannelType:
26
- $ref: ./ConsentRequestChannelType.yaml
27
- ConsentRequestChannelTypeOTP:
28
- $ref: ./ConsentRequestChannelTypeOTP.yaml
29
- ConsentRequestChannelTypeWeb:
30
- $ref: ./ConsentRequestChannelTypeWeb.yaml
31
- ConsentRequestsIDPatchRequest:
32
- $ref: ./ConsentRequestsIDPatchRequest.yaml
33
- ConsentRequestsIDPutResponseOTP:
34
- $ref: ./ConsentRequestsIDPutResponseOTP.yaml
35
- ConsentRequestsIDPutResponseWeb:
36
- $ref: ./ConsentRequestsIDPutResponseWeb.yaml
37
- ConsentRequestsPostRequest:
38
- $ref: ./ConsentRequestsPostRequest.yaml
39
- ConsentScopeType:
40
- $ref: ./ConsentScopeType.yaml
41
- ConsentsIDPatchResponseRevoked:
42
- $ref: ./ConsentsIDPatchResponseRevoked.yaml
43
- ConsentsIDPatchResponseVerified:
44
- $ref: ./ConsentsIDPatchResponseVerified.yaml
45
- ConsentsIDPutResponseSigned:
46
- $ref: ./ConsentsIDPutResponseSigned.yaml
47
- ConsentsIDPutResponseVerified:
48
- $ref: ./ConsentsIDPutResponseVerified.yaml
49
- ConsentsPostRequest:
50
- $ref: ./ConsentsPostRequest.yaml
51
- ConsentStatusTypeRevoked:
52
- $ref: ./ConsentStatusTypeRevoked.yaml
53
- ConsentStatusTypeVerified:
54
- $ref: ./ConsentStatusTypeVerified.yaml
55
- CorrelationId:
56
- $ref: ./CorrelationId.yaml
57
- Currency:
58
- $ref: ./Currency.yaml
59
- CredentialChallengeSigned:
60
- $ref: ./CredentialChallengeSigned.yaml
61
- CredentialChallengeUnsigned:
62
- $ref: ./CredentialChallengeUnsigned.yaml
63
- CredentialType:
64
- $ref: ./CredentialType.yaml
65
- DateTime:
66
- $ref: ./DateTime.yaml
67
- ErrorCode:
68
- $ref: ./ErrorCode.yaml
69
- ErrorDescription:
70
- $ref: ./ErrorDescription.yaml
71
- ErrorInformation:
72
- $ref: ./ErrorInformation.yaml
73
- DateOfBirth:
74
- $ref: ./DateOfBirth.yaml
75
- Extension:
76
- $ref: ./Extension.yaml
77
- ExtensionKey:
78
- $ref: ./ExtensionKey.yaml
79
- ExtensionList:
80
- $ref: ./ExtensionList.yaml
81
- ExtensionValue:
82
- $ref: ./ExtensionValue.yaml
83
- FirstName:
84
- $ref: ./FirstName.yaml
85
- FspId:
86
- $ref: ./FspId.yaml
87
- GeoCode:
88
- $ref: ./GeoCode.yaml
89
- IlpCondition:
90
- $ref: ./IlpCondition.yaml
91
- LastName:
92
- $ref: ./LastName.yaml
93
- IlpFulfilment:
94
- $ref: ./IlpFulfilment.yaml
95
- IlpPacket:
96
- $ref: ./IlpPacket.yaml
97
- IndividualQuote:
98
- $ref: ./IndividualQuote.yaml
99
- IndividualQuoteResult:
100
- $ref: ./IndividualQuoteResult.yaml
101
- Integer:
102
- $ref: ./Integer.yaml
103
- Latitude:
104
- $ref: ./Latitude.yaml
105
- Longitude:
106
- $ref: ./Longitude.yaml
107
- MerchantClassificationCode:
108
- $ref: ./MerchantClassificationCode.yaml
109
- MiddleName:
110
- $ref: ./MiddleName.yaml
111
- Money:
112
- $ref: ./Money.yaml
113
- Name:
114
- $ref: ./Name.yaml
115
- Note:
116
- $ref: ./Note.yaml
117
- ParticipantsIDPutResponse:
118
- $ref: ./ParticipantsIDPutResponse.yaml
119
- ParticipantsPostRequest:
120
- $ref: ./ParticipantsPostRequest.yaml
121
- PartiesTypeIDPutResponse:
122
- $ref: ./PartiesTypeIDPutResponse.yaml
123
- Party:
124
- $ref: ./Party.yaml
125
- PartyComplexName:
126
- $ref: ./PartyComplexName.yaml
127
- PartyIdentifier:
128
- $ref: ./PartyIdentifier.yaml
129
- PartyIdInfo:
130
- $ref: ./PartyIdInfo.yaml
131
- PartyIdType:
132
- $ref: ./PartyIdType.yaml
133
- PartyName:
134
- $ref: ./PartyName.yaml
135
- PartyPersonalInfo:
136
- $ref: ./PartyPersonalInfo.yaml
137
- PartyResult:
138
- $ref: ./PartyResult.yaml
139
- PartySubIdOrType:
140
- $ref: ./PartySubIdOrType.yaml
141
- QuotesIDPutResponse:
142
- $ref: ./QuotesIDPutResponse.yaml
143
- QuotesPostRequest:
144
- $ref: ./QuotesPostRequest.yaml
145
- Scope:
146
- $ref: ./Scope.yaml
147
- ServicesServiceTypePutResponse:
148
- $ref: ./ServicesServiceTypePutResponse.yaml
149
- ServiceType:
150
- $ref: ./ServiceType.yaml
151
- SignedCredential:
152
- $ref: ./SignedCredential.yaml
153
- ThirdpartyRequestsTransactionsIDAuthorizationsPostRequest:
154
- $ref: ./ThirdpartyRequestsTransactionsIDAuthorizationsPostRequest.yaml
155
- ThirdpartyRequestsTransactionsIDAuthorizationsPutResponse:
156
- $ref: ./ThirdpartyRequestsTransactionsIDAuthorizationsPutResponse.yaml
157
- ThirdpartyRequestsTransactionsIDPatchResponse:
158
- $ref: ./ThirdpartyRequestsTransactionsIDPatchResponse.yaml
159
- ThirdpartyRequestsTransactionsIDPutResponse:
160
- $ref: ./ThirdpartyRequestsTransactionsIDPutResponse.yaml
161
- ThirdpartyRequestsTransactionsPostRequest:
162
- $ref: ./ThirdpartyRequestsTransactionsPostRequest.yaml
163
- TransactionRequestsPostRequest:
164
- $ref: ./TransactionRequestsPostRequest.yaml
165
- Transactione:
166
- $ref: ./Transaction.yaml
167
- TransactionRequestState:
168
- $ref: ./TransactionRequestState.yaml
169
- TransactionState:
170
- $ref: ./TransactionState.yaml
171
- TransactionType:
172
- $ref: ./TransactionType.yaml
173
- U2FPIN:
174
- $ref: ./U2FPIN.yaml
175
- U2FPinValue:
176
- $ref: ./U2FPinValue.yaml
177
- UnsignedCredential:
178
- $ref: ./UnsignedCredential.yaml
179
- VerifiedCredential:
180
- $ref: ./VerifiedCredential.yaml
@@ -1,51 +0,0 @@
1
- # Note: this resource is deprecated in the latest API Draft, and will
2
- # be removed in the next MAJOR version release of API-Snippets
3
- # Please use /thirdpartyRequests/authorizations instead
4
- # TODO: remove in next major version release
5
-
6
- # todo: uncomment parameters after header middleware similar to
7
- # `sdk-scheme-adapter` is implemented in `thirdparty-scheme-adapter`
8
- #parameters:
9
- # - $ref: ../components/parameters/ID.yaml
10
- # - $ref: ../components/parameters/Content-Type.yaml
11
- # - $ref: ../components/parameters/Date.yaml
12
- # - $ref: ../components/parameters/X-Forwarded-For.yaml
13
- # - $ref: ../components/parameters/FSPIOP-Source.yaml
14
- # - $ref: ../components/parameters/FSPIOP-Destination.yaml
15
- # - $ref: ../components/parameters/FSPIOP-Encryption.yaml
16
- # - $ref: ../components/parameters/FSPIOP-Signature.yaml
17
- # - $ref: ../components/parameters/FSPIOP-URI.yaml
18
- # - $ref: ../components/parameters/FSPIOP-HTTP-Method.yaml
19
- post:
20
- description: >
21
- The HTTP request `POST /authorizations` is used to request the Payer to enter the
22
- applicable credentials in the PISP system.
23
- operationId: AuthorizationsPostRequest
24
- tags:
25
- - authorizations
26
- requestBody:
27
- description: Authorization request details
28
- required: true
29
- content:
30
- application/json:
31
- schema:
32
- $ref: ../components/schemas/AuthorizationsPostRequest.yaml
33
- responses:
34
- 202:
35
- $ref: ../components/responses/202.yaml
36
- 400:
37
- $ref: ../components/responses/400.yaml
38
- 401:
39
- $ref: ../components/responses/401.yaml
40
- 403:
41
- $ref: ../components/responses/403.yaml
42
- 404:
43
- $ref: ../components/responses/404.yaml
44
- 405:
45
- $ref: ../components/responses/405.yaml
46
- 406:
47
- $ref: ../components/responses/406.yaml
48
- 501:
49
- $ref: ../components/responses/501.yaml
50
- 503:
51
- $ref: ../components/responses/503.yaml
@@ -1,56 +0,0 @@
1
- # Note: this resource is deprecated in the latest API Draft, and will
2
- # be removed in the next MAJOR version release of API-Snippets
3
- # Please use /thirdpartyRequests/authorizations/{ID} instead
4
- # TODO: remove in next major version release
5
-
6
- # todo: uncomment parameters after header middleware similar to
7
- # `sdk-scheme-adapter` is implemented in `thirdparty-scheme-adapter`
8
- # parameters:
9
- # - $ref: ../components/parameters/ID.yaml
10
- # - $ref: ../components/parameters/Content-Type.yaml
11
- # - $ref: ../components/parameters/Date.yaml
12
- # - $ref: ../components/parameters/X-Forwarded-For.yaml
13
- # - $ref: ../components/parameters/FSPIOP-Source.yaml
14
- # - $ref: ../components/parameters/FSPIOP-Destination.yaml
15
- # - $ref: ../components/parameters/FSPIOP-Encryption.yaml
16
- # - $ref: ../components/parameters/FSPIOP-Signature.yaml
17
- # - $ref: ../components/parameters/FSPIOP-URI.yaml
18
- # - $ref: ../components/parameters/FSPIOP-HTTP-Method.yaml
19
- put:
20
- description: |
21
- The callback PUT /authorizations/ is used to inform the client of the
22
- result of a previously-requested authorization. The ID in the URI should
23
- contain the one that was used in the POST /authorizations/ requestBody.transactionRequestId @ OUTBOUND
24
- operationId: InboundAuthorizationsIDPutResponse
25
- tags:
26
- - authorizations
27
- parameters:
28
- - name: ID
29
- in: path
30
- required: true
31
- schema:
32
- type: string
33
- responses:
34
- 200:
35
- description: |
36
- information about result of required (via POST) /authorization
37
- content:
38
- application/json:
39
- schema:
40
- $ref: '../components/schemas/AuthorizationsIDPutResponse.yaml'
41
- 400:
42
- $ref: ../components/responses/400.yaml
43
- 401:
44
- $ref: ../components/responses/401.yaml
45
- 403:
46
- $ref: ../components/responses/403.yaml
47
- 404:
48
- $ref: ../components/responses/404.yaml
49
- 405:
50
- $ref: ../components/responses/405.yaml
51
- 406:
52
- $ref: ../components/responses/406.yaml
53
- 501:
54
- $ref: ../components/responses/501.yaml
55
- 503:
56
- $ref: ../components/responses/503.yaml