@mojaloop/api-snippets 17.0.4-snapshot.0 → 17.0.4-snapshot.1
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/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +2 -2
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/json-schemas.json +16 -6
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/openapi.d.ts +2 -2
- package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.d.ts +2 -0
- package/package.json +1 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayRequest.yaml +1 -1
- package/sdk-scheme-adapter/v2_0_0/components/schemas/requestToPayResponse.yaml +1 -1
@@ -2078,7 +2078,7 @@ components:
|
|
2078
2078
|
amount:
|
2079
2079
|
$ref: '#/components/schemas/Amount'
|
2080
2080
|
transactionType:
|
2081
|
-
$ref: '#/components/schemas/
|
2081
|
+
$ref: '#/components/schemas/TransactionScenario'
|
2082
2082
|
subScenario:
|
2083
2083
|
$ref: '#/components/schemas/TransactionSubScenario'
|
2084
2084
|
AuthenticationType:
|
@@ -2134,7 +2134,7 @@ components:
|
|
2134
2134
|
amount:
|
2135
2135
|
$ref: '#/components/schemas/Amount'
|
2136
2136
|
transactionType:
|
2137
|
-
$ref: '#/components/schemas/
|
2137
|
+
$ref: '#/components/schemas/TransactionScenario'
|
2138
2138
|
subScenario:
|
2139
2139
|
$ref: '#/components/schemas/TransactionSubScenario'
|
2140
2140
|
authenticationType:
|
@@ -15335,12 +15335,17 @@
|
|
15335
15335
|
"example": "123.45"
|
15336
15336
|
},
|
15337
15337
|
"transactionType": {
|
15338
|
-
"title": "
|
15338
|
+
"title": "TransactionScenario",
|
15339
15339
|
"type": "string",
|
15340
15340
|
"enum": [
|
15341
|
-
"
|
15341
|
+
"DEPOSIT",
|
15342
|
+
"WITHDRAWAL",
|
15343
|
+
"TRANSFER",
|
15344
|
+
"PAYMENT",
|
15345
|
+
"REFUND"
|
15342
15346
|
],
|
15343
|
-
"description": "
|
15347
|
+
"description": "Below are the allowed values for the enumeration.\n- DEPOSIT - Used for performing a Cash-In (deposit) transaction. In a normal scenario, electronic funds are transferred from a Business account to a Consumer account, and physical cash is given from the Consumer to the Business User.\n- WITHDRAWAL - Used for performing a Cash-Out (withdrawal) transaction. In a normal scenario, electronic funds are transferred from a Consumer’s account to a Business account, and physical cash is given from the Business User to the Consumer.\n- TRANSFER - Used for performing a P2P (Peer to Peer, or Consumer to Consumer) transaction.\n- PAYMENT - Usually used for performing a transaction from a Consumer to a Merchant or Organization, but could also be for a B2B (Business to Business) payment. The transaction could be online for a purchase in an Internet store, in a physical store where both the Consumer and Business User are present, a bill payment, a donation, and so on.\n- REFUND - Used for performing a refund of transaction.",
|
15348
|
+
"example": "DEPOSIT"
|
15344
15349
|
},
|
15345
15350
|
"subScenario": {
|
15346
15351
|
"title": "TransactionSubScenario",
|
@@ -15853,12 +15858,17 @@
|
|
15853
15858
|
"example": "123.45"
|
15854
15859
|
},
|
15855
15860
|
"transactionType": {
|
15856
|
-
"title": "
|
15861
|
+
"title": "TransactionScenario",
|
15857
15862
|
"type": "string",
|
15858
15863
|
"enum": [
|
15859
|
-
"
|
15864
|
+
"DEPOSIT",
|
15865
|
+
"WITHDRAWAL",
|
15866
|
+
"TRANSFER",
|
15867
|
+
"PAYMENT",
|
15868
|
+
"REFUND"
|
15860
15869
|
],
|
15861
|
-
"description": "
|
15870
|
+
"description": "Below are the allowed values for the enumeration.\n- DEPOSIT - Used for performing a Cash-In (deposit) transaction. In a normal scenario, electronic funds are transferred from a Business account to a Consumer account, and physical cash is given from the Consumer to the Business User.\n- WITHDRAWAL - Used for performing a Cash-Out (withdrawal) transaction. In a normal scenario, electronic funds are transferred from a Consumer’s account to a Business account, and physical cash is given from the Business User to the Consumer.\n- TRANSFER - Used for performing a P2P (Peer to Peer, or Consumer to Consumer) transaction.\n- PAYMENT - Usually used for performing a transaction from a Consumer to a Merchant or Organization, but could also be for a B2B (Business to Business) payment. The transaction could be online for a purchase in an Internet store, in a physical store where both the Consumer and Business User are present, a bill payment, a donation, and so on.\n- REFUND - Used for performing a refund of transaction.",
|
15871
|
+
"example": "DEPOSIT"
|
15862
15872
|
},
|
15863
15873
|
"subScenario": {
|
15864
15874
|
"title": "TransactionSubScenario",
|
@@ -1050,7 +1050,7 @@ export interface components {
|
|
1050
1050
|
amountType: components["schemas"]["AmountType"];
|
1051
1051
|
currency: components["schemas"]["Currency"];
|
1052
1052
|
amount: components["schemas"]["Amount"];
|
1053
|
-
transactionType: components["schemas"]["
|
1053
|
+
transactionType: components["schemas"]["TransactionScenario"];
|
1054
1054
|
subScenario?: components["schemas"]["TransactionSubScenario"];
|
1055
1055
|
};
|
1056
1056
|
/**
|
@@ -1081,7 +1081,7 @@ export interface components {
|
|
1081
1081
|
amountType: components["schemas"]["AmountType"];
|
1082
1082
|
currency: components["schemas"]["Currency"];
|
1083
1083
|
amount: components["schemas"]["Amount"];
|
1084
|
-
transactionType: components["schemas"]["
|
1084
|
+
transactionType: components["schemas"]["TransactionScenario"];
|
1085
1085
|
subScenario?: components["schemas"]["TransactionSubScenario"];
|
1086
1086
|
authenticationType?: components["schemas"]["AuthenticationType"];
|
1087
1087
|
requestToPayState: components["schemas"]["TransactionRequestState"];
|
@@ -7938,6 +7938,7 @@ export declare namespace Schemas {
|
|
7938
7938
|
type: string;
|
7939
7939
|
enum: string[];
|
7940
7940
|
description: string;
|
7941
|
+
example: string;
|
7941
7942
|
};
|
7942
7943
|
subScenario: {
|
7943
7944
|
title: string;
|
@@ -8228,6 +8229,7 @@ export declare namespace Schemas {
|
|
8228
8229
|
type: string;
|
8229
8230
|
enum: string[];
|
8230
8231
|
description: string;
|
8232
|
+
example: string;
|
8231
8233
|
};
|
8232
8234
|
subScenario: {
|
8233
8235
|
title: string;
|
package/package.json
CHANGED