@mojaloop/api-snippets 12.8.0 → 13.0.2

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 (65) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/docs/fspiop-rest-v1.0-openapi3-snippets.yaml +2 -0
  3. package/docs/fspiop-rest-v1.1-openapi3-snippets.yaml +2 -0
  4. package/docs/thirdparty-openapi3-snippets.yaml +832 -1082
  5. package/fspiop/v1_0/openapi3/components/schemas/Currency.yaml +2 -0
  6. package/fspiop/v1_1/openapi3/components/schemas/Currency.yaml +2 -0
  7. package/lib/fspiop/v1_0/openapi.d.ts +1 -1
  8. package/lib/fspiop/v1_1/openapi.d.ts +1 -1
  9. package/lib/thirdparty/index.d.ts +9 -5
  10. package/lib/thirdparty/openapi.d.ts +2325 -2925
  11. package/package.json +4 -2
  12. package/tests/dto/thirdparty.test.ts +37 -25
  13. package/thirdparty/openapi3/components/schemas/Account.yaml +2 -2
  14. package/thirdparty/openapi3/components/schemas/AccountAddress.yaml +7 -0
  15. package/thirdparty/openapi3/components/schemas/AccountsIDPutResponse.yaml +2 -1
  16. package/thirdparty/openapi3/components/schemas/ConsentRequestsIDPatchRequest.yaml +1 -1
  17. package/thirdparty/openapi3/components/schemas/ConsentRequestsIDPutResponseOTP.yaml +8 -8
  18. package/thirdparty/openapi3/components/schemas/ConsentRequestsIDPutResponseWeb.yaml +11 -11
  19. package/thirdparty/openapi3/components/schemas/ConsentRequestsPostRequest.yaml +12 -5
  20. package/thirdparty/openapi3/components/schemas/ConsentStatus.yaml +9 -0
  21. package/thirdparty/openapi3/components/schemas/ConsentStatusIssued.yaml +7 -0
  22. package/thirdparty/openapi3/components/schemas/ConsentStatusRevoked.yaml +7 -0
  23. package/thirdparty/openapi3/components/schemas/ConsentsIDPatchResponseRevoked.yaml +1 -1
  24. package/thirdparty/openapi3/components/schemas/ConsentsIDPatchResponseVerified.yaml +1 -1
  25. package/thirdparty/openapi3/components/schemas/ConsentsIDPutResponseSigned.yaml +2 -0
  26. package/thirdparty/openapi3/components/schemas/ConsentsIDPutResponseVerified.yaml +2 -0
  27. package/thirdparty/openapi3/components/schemas/ConsentsPostRequestAUTH.yaml +6 -1
  28. package/thirdparty/openapi3/components/schemas/ConsentsPostRequestPISP.yaml +10 -6
  29. package/thirdparty/openapi3/components/schemas/CredentialStatusPending.yaml +7 -0
  30. package/thirdparty/openapi3/components/schemas/CredentialStatusVerified.yaml +7 -0
  31. package/thirdparty/openapi3/components/schemas/CredentialType.yaml +2 -0
  32. package/thirdparty/openapi3/components/schemas/FIDOPublicKeyCredentialAttestation.yaml +6 -6
  33. package/thirdparty/openapi3/components/schemas/GenericCredential.yaml +13 -0
  34. package/thirdparty/openapi3/components/schemas/Scope.yaml +6 -9
  35. package/thirdparty/openapi3/components/schemas/ScopeAction.yaml +12 -0
  36. package/thirdparty/openapi3/components/schemas/ServicesServiceTypePutResponse.yaml +2 -0
  37. package/thirdparty/openapi3/components/schemas/SignedCredential.yaml +5 -6
  38. package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsAuthorizationsIDPutResponseFIDO.yaml +2 -2
  39. package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsAuthorizationsIDPutResponseGeneric.yaml +2 -2
  40. package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsTransactionsIDPutResponse.yaml +0 -3
  41. package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsTransactionsPostRequest.yaml +8 -3
  42. package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsVerificationsPostRequestFIDO.yaml +2 -2
  43. package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsVerificationsPostRequestGeneric.yaml +2 -2
  44. package/thirdparty/openapi3/components/schemas/Uri.yaml +8 -0
  45. package/thirdparty/openapi3/openapi.yaml +0 -14
  46. package/thirdparty/openapi3/paths/consentRequests.yaml +2 -1
  47. package/thirdparty/openapi3/paths/consentRequests_ID.yaml +41 -5
  48. package/thirdparty/openapi3/paths/consents.yaml +2 -2
  49. package/thirdparty/openapi3/paths/consents_ID.yaml +8 -5
  50. package/thirdparty/openapi3/paths/thirdpartyRequests_authorizations.yaml +3 -30
  51. package/thirdparty/openapi3/paths/thirdpartyRequests_authorizations_ID.yaml +36 -14
  52. package/thirdparty/openapi3/paths/thirdpartyRequests_transactions.yaml +6 -27
  53. package/thirdparty/openapi3/paths/thirdpartyRequests_transactions_ID.yaml +0 -2
  54. package/thirdparty/openapi3/paths/thirdpartyRequests_verifications.yaml +0 -13
  55. package/thirdparty/openapi3/paths/thirdpartyRequests_verifications_ID.yaml +32 -0
  56. package/thirdparty/openapi3/thirdparty-dfsp-api.template.yaml +53 -0
  57. package/thirdparty/openapi3/thirdparty-dfsp-api.yaml +2637 -0
  58. package/thirdparty/openapi3/thirdparty-pisp-api.template.yaml +57 -0
  59. package/thirdparty/openapi3/thirdparty-pisp-api.yaml +2842 -0
  60. package/thirdparty/openapi3/components/schemas/AccountId.yaml +0 -9
  61. package/thirdparty/openapi3/components/schemas/AuthenticationInfo.yaml +0 -11
  62. package/thirdparty/openapi3/components/schemas/ConsentScopeType.yaml +0 -9
  63. package/thirdparty/openapi3/components/schemas/ConsentStatusTypeRevoked.yaml +0 -7
  64. package/thirdparty/openapi3/components/schemas/ConsentStatusTypeVerified.yaml +0 -7
  65. package/thirdparty/openapi3/paths/thirdpartyRequests_transactions_tsa.yaml +0 -73
@@ -166,6 +166,8 @@ enum:
166
166
  - XDR
167
167
  - XOF
168
168
  - XPF
169
+ - XTS
170
+ - XXX
169
171
  - YER
170
172
  - ZAR
171
173
  - ZMW
@@ -166,6 +166,8 @@ enum:
166
166
  - XDR
167
167
  - XOF
168
168
  - XPF
169
+ - XTS
170
+ - XXX
169
171
  - YER
170
172
  - ZAR
171
173
  - ZMW
@@ -1736,7 +1736,7 @@ export interface components {
1736
1736
  /**
1737
1737
  * The currency codes defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) as three-letter alphabetic codes are used as the standard naming representation for currencies.
1738
1738
  */
1739
- Currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD";
1739
+ Currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "XTS" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWD";
1740
1740
  /**
1741
1741
  * The API data type Date is a JSON String in a lexical format that is restricted by a regular expression for interoperability reasons. This format, as specified in ISO 8601, contains a date only. A more readable version of the format is yyyy-MM-dd. Examples are "1982-05-23", "1987-08-05”.
1742
1742
  */
@@ -1838,7 +1838,7 @@ export interface components {
1838
1838
  /**
1839
1839
  * The currency codes defined in [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html) as three-letter alphabetic codes are used as the standard naming representation for currencies.
1840
1840
  */
1841
- Currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "YER" | "ZAR" | "ZMW" | "ZWD";
1841
+ Currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CLP" | "CNY" | "COP" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GGP" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "IMP" | "INR" | "IQD" | "IRR" | "ISK" | "JEP" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRO" | "MUR" | "MVR" | "MWK" | "MXN" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SPL" | "SRD" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TVD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "UYU" | "UZS" | "VEF" | "VND" | "VUV" | "WST" | "XAF" | "XCD" | "XDR" | "XOF" | "XPF" | "XTS" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWD";
1842
1842
  /**
1843
1843
  * The API data type Amount is a JSON String in a canonical format that is restricted by a regular expression for interoperability reasons. This pattern does not allow any trailing zeroes at all, but allows an amount without a minor currency unit. It also only allows four digits in the minor currency unit; a negative value is not allowed. Using more than 18 digits in the major currency unit is not allowed.
1844
1844
  */
@@ -2,7 +2,7 @@ import { components } from './openapi';
2
2
  export * as openapi from './openapi';
3
3
  export declare namespace Schemas {
4
4
  type Account = components['schemas']['Account'];
5
- type AccountId = components['schemas']['AccountId'];
5
+ type AccountAddress = components['schemas']['AccountAddress'];
6
6
  type AccountsIDPutResponse = components['schemas']['AccountsIDPutResponse'];
7
7
  type Amount = components['schemas']['Amount'];
8
8
  type AmountType = components['schemas']['AmountType'];
@@ -16,20 +16,22 @@ export declare namespace Schemas {
16
16
  type ConsentRequestChannelTypeOTP = components['schemas']['ConsentRequestChannelTypeOTP'];
17
17
  type ConsentRequestChannelTypeWeb = components['schemas']['ConsentRequestChannelTypeWeb'];
18
18
  type ConsentRequestsIDPatchRequest = components['schemas']['ConsentRequestsIDPatchRequest'];
19
- type AuthorizationsIDPutResponse = components['schemas']['AuthorizationsIDPutResponse'];
20
19
  type ConsentRequestsIDPutResponseOTP = components['schemas']['ConsentRequestsIDPutResponseOTP'];
21
20
  type ConsentRequestsIDPutResponseWeb = components['schemas']['ConsentRequestsIDPutResponseWeb'];
22
21
  type ConsentRequestsPostRequest = components['schemas']['ConsentRequestsPostRequest'];
23
- type ConsentScopeType = components['schemas']['ConsentScopeType'];
24
22
  type ConsentsIDPatchResponseRevoked = components['schemas']['ConsentsIDPatchResponseRevoked'];
25
23
  type ConsentsIDPatchResponseVerified = components['schemas']['ConsentsIDPatchResponseVerified'];
26
24
  type ConsentsIDPutResponseSigned = components['schemas']['ConsentsIDPutResponseSigned'];
27
25
  type ConsentsIDPutResponseVerified = components['schemas']['ConsentsIDPutResponseVerified'];
28
26
  type ConsentsPostRequestAUTH = components['schemas']['ConsentsPostRequestAUTH'];
29
27
  type ConsentsPostRequestPISP = components['schemas']['ConsentsPostRequestPISP'];
30
- type ConsentStatusTypeRevoked = components['schemas']['ConsentStatusTypeRevoked'];
31
- type ConsentStatusTypeVerified = components['schemas']['ConsentStatusTypeVerified'];
28
+ type ConsentStatusRevoked = components['schemas']['ConsentStatusRevoked'];
29
+ type ConsentStatusIssued = components['schemas']['ConsentStatusIssued'];
30
+ type ConsentStatus = ConsentStatusRevoked | ConsentStatusIssued;
32
31
  type CorrelationId = components['schemas']['CorrelationId'];
32
+ type CredentialStatusVerified = components['schemas']['CredentialStatusVerified'];
33
+ type CredentialStatusPending = components['schemas']['CredentialStatusPending'];
34
+ type CredentialStatus = CredentialStatusVerified | CredentialStatusPending;
33
35
  type CredentialType = components['schemas']['CredentialType'];
34
36
  type Currency = components['schemas']['Currency'];
35
37
  type DateOfBirth = components['schemas']['DateOfBirth'];
@@ -72,6 +74,7 @@ export declare namespace Schemas {
72
74
  type PartyName = components['schemas']['PartyName'];
73
75
  type FIDOPublicKeyCredentialAssertion = components['schemas']['FIDOPublicKeyCredentialAssertion'];
74
76
  type FIDOPublicKeyCredentialAttestation = components['schemas']['FIDOPublicKeyCredentialAttestation'];
77
+ type GenericCredential = components['schemas']['GenericCredential'];
75
78
  type PartyPersonalInfo = components['schemas']['PartyPersonalInfo'];
76
79
  type PartyResult = components['schemas']['PartyResult'];
77
80
  type PartySubIdOrType = components['schemas']['PartySubIdOrType'];
@@ -79,6 +82,7 @@ export declare namespace Schemas {
79
82
  type Refund = components['schemas']['Refund'];
80
83
  type RefundReason = components['schemas']['RefundReason'];
81
84
  type Scope = components['schemas']['Scope'];
85
+ type ScopeAction = components['schemas']['ScopeAction'];
82
86
  type ServicesServiceTypePutResponse = components['schemas']['ServicesServiceTypePutResponse'];
83
87
  type ServiceType = components['schemas']['ServiceType'];
84
88
  type SignedCredential = components['schemas']['SignedCredential'];