@mojaloop/api-snippets 17.7.9 → 17.7.11
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/docs/sdk-scheme-adapter-backend-v2_1_0-openapi3-snippets.yaml +21 -23
- package/docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml +30 -31
- 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.js +6 -2
- package/lib/scripts/json-schema-generator.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/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 +114 -201
- package/lib/sdk-scheme-adapter/v2_1_0/backend/openapi.d.ts +21 -21
- package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.d.ts +3 -90
- package/lib/sdk-scheme-adapter/v2_1_0/backend/schemas.js +141 -141
- 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 +3 -3
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/json-schemas.json +226 -338
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.d.ts +30 -30
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.d.ts +3 -115
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js +138 -138
- 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 +3 -3
- package/package.json +12 -12
- package/sdk-scheme-adapter/v2_1_0/backend/openapi.yaml +0 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/ErrorInformation.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/{ExtensionKey.yaml → ExtensionKey_v2_1_0.yaml} +1 -2
- package/sdk-scheme-adapter/v2_1_0/components/schemas/{ExtensionList.yaml → ExtensionList_v2_1_0.yaml} +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/{Extension.yaml → Extension_v2_1_0.yaml} +2 -2
- 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/bulkQuoteRequest.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkQuoteResponse.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransfer.yaml +2 -2
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionIndividualTransferResult.yaml +2 -2
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionRequest.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransactionResponse.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/bulkTransferRequest.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/extensionListEmptiable.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/individualQuote.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/individualTransfer.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
@@ -914,30 +914,30 @@ export interface components {
|
|
914
914
|
*/
|
915
915
|
PartySubIdOrType: string;
|
916
916
|
/**
|
917
|
-
*
|
917
|
+
* ExtensionKey_v2_1_0
|
918
918
|
* @description Extension key.
|
919
919
|
*/
|
920
|
-
|
920
|
+
ExtensionKey_v2_1_0: string;
|
921
921
|
/**
|
922
922
|
* ExtensionValue
|
923
923
|
* @description Extension value.
|
924
924
|
*/
|
925
925
|
ExtensionValue: string;
|
926
926
|
/**
|
927
|
-
*
|
927
|
+
* Extension_v2_1_0
|
928
928
|
* @description Data model for the complex type Extension.
|
929
929
|
*/
|
930
|
-
|
931
|
-
key: components["schemas"]["
|
930
|
+
Extension_v2_1_0: {
|
931
|
+
key: components["schemas"]["ExtensionKey_v2_1_0"];
|
932
932
|
value: components["schemas"]["ExtensionValue"];
|
933
933
|
};
|
934
934
|
/**
|
935
935
|
* ExtensionList
|
936
936
|
* @description Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.
|
937
937
|
*/
|
938
|
-
|
938
|
+
ExtensionList_v2_1_0: {
|
939
939
|
/** @description Number of Extension elements. */
|
940
|
-
extension: components["schemas"]["
|
940
|
+
extension: components["schemas"]["Extension_v2_1_0"][];
|
941
941
|
};
|
942
942
|
/**
|
943
943
|
* PartyIdInfo
|
@@ -948,7 +948,7 @@ export interface components {
|
|
948
948
|
partyIdentifier: components["schemas"]["PartyIdentifier"];
|
949
949
|
partySubIdOrType?: components["schemas"]["PartySubIdOrType"];
|
950
950
|
fspId?: components["schemas"]["FspId"];
|
951
|
-
extensionList?: components["schemas"]["
|
951
|
+
extensionList?: components["schemas"]["ExtensionList_v2_1_0"];
|
952
952
|
};
|
953
953
|
/**
|
954
954
|
* PartyName
|
@@ -1057,7 +1057,7 @@ export interface components {
|
|
1057
1057
|
ErrorInformation: {
|
1058
1058
|
errorCode: components["schemas"]["ErrorCode"];
|
1059
1059
|
errorDescription: components["schemas"]["ErrorDescription"];
|
1060
|
-
extensionList?: components["schemas"]["
|
1060
|
+
extensionList?: components["schemas"]["ExtensionList_v2_1_0"];
|
1061
1061
|
};
|
1062
1062
|
mojaloopError: {
|
1063
1063
|
errorInformation?: components["schemas"]["ErrorInformation"];
|
@@ -1077,7 +1077,7 @@ export interface components {
|
|
1077
1077
|
geoCode?: components["schemas"]["GeoCode"];
|
1078
1078
|
ilpPacket?: components["schemas"]["IlpPacket"];
|
1079
1079
|
condition?: components["schemas"]["IlpCondition"];
|
1080
|
-
extensionList?: components["schemas"]["
|
1080
|
+
extensionList?: components["schemas"]["ExtensionList_v2_1_0"];
|
1081
1081
|
lastError?: components["schemas"]["quoteError"];
|
1082
1082
|
};
|
1083
1083
|
/**
|
@@ -1106,7 +1106,7 @@ export interface components {
|
|
1106
1106
|
individualTransferResult: {
|
1107
1107
|
transferId: components["schemas"]["CorrelationId"];
|
1108
1108
|
fulfilment?: components["schemas"]["IlpFulfilment"];
|
1109
|
-
extensionList?: components["schemas"]["
|
1109
|
+
extensionList?: components["schemas"]["ExtensionList_v2_1_0"];
|
1110
1110
|
transferState?: components["schemas"]["TransferState"];
|
1111
1111
|
lastError?: components["schemas"]["transferError"];
|
1112
1112
|
};
|
@@ -1125,8 +1125,8 @@ export interface components {
|
|
1125
1125
|
quoteId?: components["schemas"]["CorrelationId"];
|
1126
1126
|
quoteResponse?: components["schemas"]["individualQuoteResult"];
|
1127
1127
|
fulfil?: components["schemas"]["individualTransferResult"];
|
1128
|
-
quoteExtensions?: components["schemas"]["
|
1129
|
-
transferExtensions?: components["schemas"]["
|
1128
|
+
quoteExtensions?: components["schemas"]["ExtensionList_v2_1_0"];
|
1129
|
+
transferExtensions?: components["schemas"]["ExtensionList_v2_1_0"];
|
1130
1130
|
lastError?: components["schemas"]["transferError"];
|
1131
1131
|
};
|
1132
1132
|
/** BulkTransactionResponse */
|
@@ -1138,7 +1138,7 @@ export interface components {
|
|
1138
1138
|
options?: components["schemas"]["bulkTransactionOptions"];
|
1139
1139
|
/** @description List of individual transfer result in a bulk transfer response. */
|
1140
1140
|
individualTransferResults: components["schemas"]["bulkTransactionIndividualTransferResult"][];
|
1141
|
-
extensions?: components["schemas"]["
|
1141
|
+
extensions?: components["schemas"]["ExtensionList_v2_1_0"];
|
1142
1142
|
};
|
1143
1143
|
/**
|
1144
1144
|
* CurrencyConverter
|
@@ -1172,7 +1172,7 @@ export interface components {
|
|
1172
1172
|
fulfilment?: components["schemas"]["IlpFulfilment"];
|
1173
1173
|
completedTimestamp?: components["schemas"]["DateTime"];
|
1174
1174
|
transferState: components["schemas"]["TransferState"];
|
1175
|
-
extensionList?: components["schemas"]["
|
1175
|
+
extensionList?: components["schemas"]["ExtensionList_v2_1_0"];
|
1176
1176
|
};
|
1177
1177
|
/**
|
1178
1178
|
* TransfersPostRequest
|
@@ -1186,7 +1186,7 @@ export interface components {
|
|
1186
1186
|
ilpPacket: components["schemas"]["IlpPacket"];
|
1187
1187
|
condition: components["schemas"]["IlpCondition"];
|
1188
1188
|
expiration: components["schemas"]["DateTime"];
|
1189
|
-
extensionList?: components["schemas"]["
|
1189
|
+
extensionList?: components["schemas"]["ExtensionList_v2_1_0"];
|
1190
1190
|
};
|
1191
1191
|
/**
|
1192
1192
|
* QuotesIDPutResponse
|
@@ -1201,7 +1201,7 @@ export interface components {
|
|
1201
1201
|
geoCode?: components["schemas"]["GeoCode"];
|
1202
1202
|
ilpPacket: components["schemas"]["IlpPacket"];
|
1203
1203
|
condition: components["schemas"]["IlpCondition"];
|
1204
|
-
extensionList?: components["schemas"]["
|
1204
|
+
extensionList?: components["schemas"]["ExtensionList_v2_1_0"];
|
1205
1205
|
};
|
1206
1206
|
/**
|
1207
1207
|
* TransactionScenario
|
@@ -1286,7 +1286,7 @@ export interface components {
|
|
1286
1286
|
geoCode?: components["schemas"]["GeoCode"];
|
1287
1287
|
note?: components["schemas"]["Note"];
|
1288
1288
|
expiration?: components["schemas"]["DateTime"];
|
1289
|
-
extensionList?: components["schemas"]["
|
1289
|
+
extensionList?: components["schemas"]["ExtensionList_v2_1_0"];
|
1290
1290
|
};
|
1291
1291
|
/**
|
1292
1292
|
* FxMoney
|
@@ -1321,7 +1321,7 @@ export interface components {
|
|
1321
1321
|
expiration: components["schemas"]["DateTime"] & unknown;
|
1322
1322
|
/** @description One or more charges which the FXP intends to levy as part of the currency conversion, or which the payee DFSP intends to add to the amount transferred. */
|
1323
1323
|
charges?: components["schemas"]["FxCharge"][];
|
1324
|
-
extensionList?: components["schemas"]["
|
1324
|
+
extensionList?: components["schemas"]["ExtensionList_v2_1_0"] & unknown;
|
1325
1325
|
};
|
1326
1326
|
/**
|
1327
1327
|
* FxQuotesPostBackendRequest
|
@@ -1375,7 +1375,7 @@ export interface components {
|
|
1375
1375
|
fulfilment?: components["schemas"]["fulfilment"];
|
1376
1376
|
completedTimestamp?: components["schemas"]["completedTimestamp"];
|
1377
1377
|
conversionState: components["schemas"]["conversionState"];
|
1378
|
-
extensionList?: components["schemas"]["
|
1378
|
+
extensionList?: components["schemas"]["ExtensionList_v2_1_0"];
|
1379
1379
|
};
|
1380
1380
|
/**
|
1381
1381
|
* FxTransfersPutBackendRequest
|
@@ -1387,7 +1387,7 @@ export interface components {
|
|
1387
1387
|
fulfilment?: components["schemas"]["fulfilment"];
|
1388
1388
|
completedTimestamp?: components["schemas"]["completedTimestamp"];
|
1389
1389
|
conversionState: components["schemas"]["conversionState"];
|
1390
|
-
extensionList?: components["schemas"]["
|
1390
|
+
extensionList?: components["schemas"]["ExtensionList_v2_1_0"];
|
1391
1391
|
};
|
1392
1392
|
/**
|
1393
1393
|
* fxTransfersPatchBackendRequest
|