@mojaloop/api-snippets 13.0.1 → 13.0.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/docs/fspiop-rest-v1.0-openapi3-snippets.yaml +15 -13
  3. package/docs/fspiop-rest-v1.1-openapi3-snippets.yaml +2 -0
  4. package/docs/thirdparty-openapi3-snippets.yaml +101 -95
  5. package/fspiop/v1_0/openapi3/components/schemas/BulkQuotesPostRequest.yaml +2 -2
  6. package/fspiop/v1_0/openapi3/components/schemas/Currency.yaml +2 -0
  7. package/fspiop/v1_0/openapi3/components/schemas/IndividualQuote.yaml +2 -2
  8. package/fspiop/v1_0/openapi3/components/schemas/IndividualQuoteResult.yaml +4 -4
  9. package/fspiop/v1_0/openapi3/components/schemas/Money.yaml +1 -1
  10. package/fspiop/v1_0/openapi3/components/schemas/QuotesIDPutResponse.yaml +4 -4
  11. package/fspiop/v1_1/openapi3/components/schemas/Currency.yaml +2 -0
  12. package/lib/fspiop/v1_0/openapi.d.ts +1 -1
  13. package/lib/fspiop/v1_1/openapi.d.ts +1 -1
  14. package/lib/thirdparty/index.d.ts +1 -0
  15. package/lib/thirdparty/openapi.d.ts +268 -195
  16. package/package.json +5 -2
  17. package/thirdparty/openapi3/components/schemas/AuthenticationResponse.yaml +9 -0
  18. package/thirdparty/openapi3/components/schemas/AuthorizationResponseTypeRejected.yaml +1 -1
  19. package/thirdparty/openapi3/components/schemas/ConsentsPostRequestAUTH.yaml +3 -5
  20. package/thirdparty/openapi3/components/schemas/ConsentsPostRequestPISP.yaml +2 -1
  21. package/thirdparty/openapi3/components/schemas/CredentialStatusPending.yaml +1 -1
  22. package/thirdparty/openapi3/components/schemas/CredentialStatusVerified.yaml +1 -1
  23. package/thirdparty/openapi3/components/schemas/PartyIdType.yaml +9 -6
  24. package/thirdparty/openapi3/components/schemas/PartyIdTypeTPLink.yaml +0 -2
  25. package/thirdparty/openapi3/components/schemas/SignedCredential.yaml +1 -1
  26. package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsAuthorizationsIDPutResponseRejected.yaml +3 -3
  27. package/thirdparty/openapi3/components/schemas/ThirdpartyRequestsVerificationsIDPutResponse.yaml +1 -5
  28. package/thirdparty/openapi3/components/schemas/Uri.yaml +1 -1
  29. package/thirdparty/openapi3/components/schemas/index.yaml +4 -2
  30. package/thirdparty/openapi3/paths/consentRequests.yaml +0 -14
  31. package/thirdparty/openapi3/paths/thirdpartyRequests_verifications_ID.yaml +6 -4
  32. package/thirdparty/openapi3/thirdparty-dfsp-api.yaml +17 -29
  33. package/thirdparty/openapi3/thirdparty-pisp-api.yaml +17 -29
@@ -11,7 +11,7 @@ properties:
11
11
  amount:
12
12
  type: string
13
13
  description: Amount of money.
14
- example: 124.45
14
+ example: '124.45'
15
15
  payeeReceiveAmount:
16
16
  properties:
17
17
  currency:
@@ -21,7 +21,7 @@ properties:
21
21
  amount:
22
22
  type: string
23
23
  description: Amount of money.
24
- example: 123.45
24
+ example: '123.45'
25
25
  payeeFspFee:
26
26
  properties:
27
27
  currency:
@@ -31,7 +31,7 @@ properties:
31
31
  amount:
32
32
  type: string
33
33
  description: Amount of money.
34
- example: 1.45
34
+ example: '1.45'
35
35
  payeeFspCommission:
36
36
  properties:
37
37
  currency:
@@ -41,7 +41,7 @@ properties:
41
41
  amount:
42
42
  type: string
43
43
  description: Amount of money.
44
- example: 0
44
+ example: '0'
45
45
  expiration:
46
46
  type: string
47
47
  description: >-
@@ -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
  */
@@ -6,6 +6,7 @@ export declare namespace Schemas {
6
6
  type AccountsIDPutResponse = components['schemas']['AccountsIDPutResponse'];
7
7
  type Amount = components['schemas']['Amount'];
8
8
  type AmountType = components['schemas']['AmountType'];
9
+ type AuthenticationResponse = components['schemas']['AuthenticationResponse'];
9
10
  type AuthenticationType = components['schemas']['AuthenticationType'];
10
11
  type AuthorizationChannelType = components['schemas']['AuthorizationChannelType'];
11
12
  type AuthorizationResponseType = components['schemas']['AuthorizationResponseType'];