@mojaloop/api-snippets 17.2.0-snapshot.1 → 17.2.0

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.
@@ -1222,12 +1222,52 @@ export interface components {
1222
1222
  amountType: components["schemas"]["AmountType"];
1223
1223
  currency: components["schemas"]["Currency"];
1224
1224
  amount: components["schemas"]["Amount"];
1225
- scenario: components["schemas"]["TransactionType"];
1225
+ scenario: components["schemas"]["TransactionScenario"];
1226
+ subScenario?: components["schemas"]["TransactionSubScenario"];
1226
1227
  initiator: components["schemas"]["TransactionInitiator"];
1227
1228
  initiatorType: components["schemas"]["TransactionInitiatorType"];
1228
1229
  note?: components["schemas"]["Note"];
1229
1230
  authenticationType?: components["schemas"]["AuthenticationType"];
1230
1231
  };
1232
+ /**
1233
+ * AuthenticationValue
1234
+ * @description Contains the authentication value. The format depends on the authentication type used in the AuthenticationInfo complex type.
1235
+ */
1236
+ AuthenticationValue: Partial<string> & Partial<string> & Partial<{
1237
+ /** @description U2F challenge-response, where payer FSP verifies if the response provided by end-user device matches the previously registered key. */
1238
+ pinValue: string;
1239
+ /**
1240
+ * Integer
1241
+ * @description Sequential counter used for cloning detection. Present only for U2F authentication.
1242
+ */
1243
+ counter: string;
1244
+ }>;
1245
+ /**
1246
+ * AuthenticationInfo
1247
+ * @description Data model for the complex type AuthenticationInfo.
1248
+ */
1249
+ AuthenticationInfo: {
1250
+ authentication: components["schemas"]["AuthenticationType"];
1251
+ authenticationValue: components["schemas"]["AuthenticationValue"];
1252
+ };
1253
+ /**
1254
+ * AuthorizationResponseType
1255
+ * @description Below are the allowed values for the enumeration.
1256
+ * - ENTERED - Consumer entered the authentication value.
1257
+ * - REJECTED - Consumer rejected the transaction.
1258
+ * - RESEND - Consumer requested to resend the authentication value.
1259
+ * @example ENTERED
1260
+ * @enum {string}
1261
+ */
1262
+ AuthorizationResponseType: "ENTERED" | "REJECTED" | "RESEND";
1263
+ /**
1264
+ * AuthorizationIDPutResponse
1265
+ * @description The object sent in the PUT /authorizations/{ID} callback.
1266
+ */
1267
+ AuthorizationIDPutResponse: {
1268
+ authenticationInfo?: components["schemas"]["AuthenticationInfo"];
1269
+ responseType: components["schemas"]["AuthorizationResponseType"];
1270
+ };
1231
1271
  requestToPayTransferResponse: {
1232
1272
  transferId?: components["schemas"]["CorrelationId"];
1233
1273
  /** @description Transaction ID from the DFSP backend, used to reconcile transactions between the Switch and DFSP backend systems. */
@@ -1242,10 +1282,26 @@ export interface components {
1242
1282
  note?: components["schemas"]["Note"];
1243
1283
  currentState?: components["schemas"]["transferStatus"];
1244
1284
  quoteId?: components["schemas"]["CorrelationId"];
1245
- quoteResponse?: components["schemas"]["QuotesIDPutResponse"];
1285
+ quoteResponse?: {
1286
+ body: components["schemas"]["QuotesIDPutResponse"];
1287
+ headers?: {
1288
+ [key: string]: unknown;
1289
+ };
1290
+ };
1246
1291
  /** @description FSPID of the entity that supplied the quote response. This may not be the same as the FSPID of the entity which owns the end user account in the case of a FOREX transfer. i.e. it may be a FOREX gateway. */
1247
1292
  quoteResponseSource?: string;
1248
- fulfil?: components["schemas"]["TransfersIDPutResponse"];
1293
+ authorizationResponse?: {
1294
+ body: components["schemas"]["AuthorizationIDPutResponse"];
1295
+ headers?: {
1296
+ [key: string]: unknown;
1297
+ };
1298
+ };
1299
+ fulfil?: {
1300
+ body: components["schemas"]["TransfersIDPutResponse"];
1301
+ headers?: {
1302
+ [key: string]: unknown;
1303
+ };
1304
+ };
1249
1305
  /** @description Object representing the last error to occur during a transfer process. This may be a Mojaloop API error returned from another entity in the scheme or an object representing other types of error e.g. exceptions that may occur inside the scheme adapter. */
1250
1306
  lastError?: components["schemas"]["transferError"];
1251
1307
  };