@mojaloop/api-snippets 17.0.0 → 17.0.2-snapshot.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml +2744 -0
  3. package/docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml +40 -8
  4. package/lib/example.d.ts +1 -1
  5. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/index.d.ts +0 -0
  6. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/index.js +0 -0
  7. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/index.js.map +1 -1
  8. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/json-schemas.json +9599 -9297
  9. package/lib/sdk-scheme-adapter/v2_0_0/backend/openapi.d.ts +4505 -0
  10. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/openapi.js +0 -0
  11. package/lib/sdk-scheme-adapter/v2_0_0/backend/openapi.js.map +1 -0
  12. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/schemas.d.ts +3224 -3277
  13. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/schemas.js +52 -58
  14. package/lib/sdk-scheme-adapter/v2_0_0/backend/schemas.js.map +1 -0
  15. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/types.d.ts +52 -58
  16. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/types.js +0 -0
  17. package/lib/sdk-scheme-adapter/v2_0_0/backend/types.js.map +1 -0
  18. package/lib/sdk-scheme-adapter/v2_0_0/index.d.ts +2 -2
  19. package/lib/sdk-scheme-adapter/v2_0_0/index.js +3 -3
  20. package/lib/sdk-scheme-adapter/v2_0_0/outbound/json-schemas.json +63 -7
  21. package/lib/sdk-scheme-adapter/v2_0_0/outbound/openapi.d.ts +186 -6
  22. package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.d.ts +63 -7
  23. package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.js +1 -1
  24. package/lib/sdk-scheme-adapter/v2_0_0/outbound/schemas.js.map +1 -1
  25. package/lib/sdk-scheme-adapter/v2_0_0/outbound/types.d.ts +1 -1
  26. package/package.json +23 -23
  27. package/sdk-scheme-adapter/v2_0_0/backend/openapi.yaml +1723 -0
  28. package/sdk-scheme-adapter/v2_0_0/components/schemas/individualQuote.yaml +2 -0
  29. package/sdk-scheme-adapter/v2_0_0/components/schemas/individualTransfer.yaml +2 -0
  30. package/sdk-scheme-adapter/v2_0_0/components/schemas/transferRequest.yaml +2 -0
  31. package/sdk-scheme-adapter/v2_0_0/components/schemas/transferResponse.yaml +2 -0
  32. package/docs/sdk-scheme-adapter-inbound-v2_0_0-openapi3-snippets.yaml +0 -2889
  33. package/lib/sdk-scheme-adapter/v2_0_0/inbound/openapi.d.ts +0 -4350
  34. package/lib/sdk-scheme-adapter/v2_0_0/inbound/openapi.js.map +0 -1
  35. package/lib/sdk-scheme-adapter/v2_0_0/inbound/schemas.js.map +0 -1
  36. package/lib/sdk-scheme-adapter/v2_0_0/inbound/types.js.map +0 -1
  37. package/sdk-scheme-adapter/v2_0_0/inbound/openapi.yaml +0 -1074
@@ -7,90 +7,84 @@ const tslib_1 = require("tslib");
7
7
  const json_schemas_json_1 = tslib_1.__importDefault(require("./json-schemas.json"));
8
8
  var Schemas;
9
9
  (function (Schemas) {
10
+ Schemas.DateOfBirth = json_schemas_json_1.default.DateOfBirth;
11
+ Schemas.Extension = json_schemas_json_1.default.Extension;
12
+ Schemas.ExtensionKey = json_schemas_json_1.default.ExtensionKey;
13
+ Schemas.ExtensionList = json_schemas_json_1.default.ExtensionList;
14
+ Schemas.ExtensionValue = json_schemas_json_1.default.ExtensionValue;
15
+ Schemas.FirstName = json_schemas_json_1.default.FirstName;
16
+ Schemas.FspId = json_schemas_json_1.default.FspId;
17
+ Schemas.IndividualQuote = json_schemas_json_1.default.IndividualQuote;
18
+ Schemas.IndividualQuoteResultFailed = json_schemas_json_1.default.IndividualQuoteResultFailed;
19
+ Schemas.IndividualQuoteResultSuccess = json_schemas_json_1.default.IndividualQuoteResultSuccess;
20
+ Schemas.IndividualTransfer = json_schemas_json_1.default.IndividualTransfer;
21
+ Schemas.IndividualTransferResult = json_schemas_json_1.default.IndividualTransferResult;
22
+ Schemas.LastName = json_schemas_json_1.default.LastName;
23
+ Schemas.MerchantClassificationCode = json_schemas_json_1.default.MerchantClassificationCode;
24
+ Schemas.MiddleName = json_schemas_json_1.default.MiddleName;
25
+ Schemas.Party = json_schemas_json_1.default.Party;
26
+ Schemas.PartyComplexName = json_schemas_json_1.default.PartyComplexName;
27
+ Schemas.PartyIdInfo = json_schemas_json_1.default.PartyIdInfo;
28
+ Schemas.PartyIdType = json_schemas_json_1.default.PartyIdType;
29
+ Schemas.PartyIdentifier = json_schemas_json_1.default.PartyIdentifier;
30
+ Schemas.PartyName = json_schemas_json_1.default.PartyName;
31
+ Schemas.PartyPersonalInfo = json_schemas_json_1.default.PartyPersonalInfo;
32
+ Schemas.PartySubIdOrType = json_schemas_json_1.default.PartySubIdOrType;
33
+ Schemas.amountCurrency = json_schemas_json_1.default.amountCurrency;
10
34
  Schemas.amountType = json_schemas_json_1.default.amountType;
35
+ Schemas.bulkQuoteId = json_schemas_json_1.default.bulkQuoteId;
36
+ Schemas.bulkQuoteRequest = json_schemas_json_1.default.bulkQuoteRequest;
37
+ Schemas.bulkQuoteResponse = json_schemas_json_1.default.bulkQuoteResponse;
38
+ Schemas.bulkTransferId = json_schemas_json_1.default.bulkTransferId;
39
+ Schemas.bulkTransferRequest = json_schemas_json_1.default.bulkTransferRequest;
40
+ Schemas.bulkTransferResponse = json_schemas_json_1.default.bulkTransferResponse;
11
41
  Schemas.currency = json_schemas_json_1.default.currency;
12
42
  Schemas.dateOfBirth = json_schemas_json_1.default.dateOfBirth;
43
+ Schemas.errorCode = json_schemas_json_1.default.errorCode;
44
+ Schemas.errorDescription = json_schemas_json_1.default.errorDescription;
45
+ Schemas.errorInformation = json_schemas_json_1.default.errorInformation;
13
46
  Schemas.errorResponse = json_schemas_json_1.default.errorResponse;
14
- Schemas.fspId = json_schemas_json_1.default.fspId;
47
+ Schemas.extensionItem = json_schemas_json_1.default.extensionItem;
15
48
  Schemas.extensionList = json_schemas_json_1.default.extensionList;
49
+ Schemas.extensionListComplex = json_schemas_json_1.default.extensionListComplex;
50
+ Schemas.fspId = json_schemas_json_1.default.fspId;
51
+ Schemas.fulfilNotification = json_schemas_json_1.default.fulfilNotification;
52
+ Schemas.generalError = json_schemas_json_1.default.generalError;
16
53
  Schemas.geoCode = json_schemas_json_1.default.geoCode;
54
+ Schemas.idSubValue = json_schemas_json_1.default.idSubValue;
17
55
  Schemas.idType = json_schemas_json_1.default.idType;
18
- Schemas.personalIdType = json_schemas_json_1.default.personalIdType;
19
56
  Schemas.idValue = json_schemas_json_1.default.idValue;
20
- Schemas.idSubValue = json_schemas_json_1.default.idSubValue;
57
+ Schemas.ilpFulfilment = json_schemas_json_1.default.ilpFulfilment;
58
+ Schemas.ilpPacketData = json_schemas_json_1.default.ilpPacketData;
21
59
  Schemas.initiator = json_schemas_json_1.default.initiator;
22
- Schemas.extensionItem = json_schemas_json_1.default.extensionItem;
23
60
  Schemas.initiatorType = json_schemas_json_1.default.initiatorType;
24
61
  Schemas.latitude = json_schemas_json_1.default.latitude;
25
62
  Schemas.longitude = json_schemas_json_1.default.longitude;
63
+ Schemas.mojaloopError = json_schemas_json_1.default.mojaloopError;
26
64
  Schemas.money = json_schemas_json_1.default.money;
65
+ Schemas.otpDetails = json_schemas_json_1.default.otpDetails;
27
66
  Schemas.participantsResponse = json_schemas_json_1.default.participantsResponse;
28
67
  Schemas.payerType = json_schemas_json_1.default.payerType;
29
68
  Schemas.quoteId = json_schemas_json_1.default.quoteId;
30
69
  Schemas.quoteRequest = json_schemas_json_1.default.quoteRequest;
31
70
  Schemas.quoteResponse = json_schemas_json_1.default.quoteResponse;
71
+ Schemas.scenario = json_schemas_json_1.default.scenario;
32
72
  Schemas.timestamp = json_schemas_json_1.default.timestamp;
33
73
  Schemas.transactionId = json_schemas_json_1.default.transactionId;
74
+ Schemas.transactionRequest = json_schemas_json_1.default.transactionRequest;
75
+ Schemas.transactionRequestId = json_schemas_json_1.default.transactionRequestId;
76
+ Schemas.transactionRequestResponse = json_schemas_json_1.default.transactionRequestResponse;
77
+ Schemas.transactionRequestState = json_schemas_json_1.default.transactionRequestState;
78
+ Schemas.transactionSubScenario = json_schemas_json_1.default.transactionSubScenario;
34
79
  Schemas.transactionType = json_schemas_json_1.default.transactionType;
35
- Schemas.scenario = json_schemas_json_1.default.scenario;
36
- Schemas.amountCurrency = json_schemas_json_1.default.amountCurrency;
37
80
  Schemas.transactionTypeObject = json_schemas_json_1.default.transactionTypeObject;
38
- Schemas.ilpPacketData = json_schemas_json_1.default.ilpPacketData;
81
+ Schemas.transferDetailsResponse = json_schemas_json_1.default.transferDetailsResponse;
82
+ Schemas.transferError = json_schemas_json_1.default.transferError;
39
83
  Schemas.transferId = json_schemas_json_1.default.transferId;
40
84
  Schemas.transferParty = json_schemas_json_1.default.transferParty;
41
- Schemas.transferState = json_schemas_json_1.default.transferState;
42
85
  Schemas.transferRequest = json_schemas_json_1.default.transferRequest;
43
86
  Schemas.transferResponse = json_schemas_json_1.default.transferResponse;
44
- Schemas.transferDetailsResponse = json_schemas_json_1.default.transferDetailsResponse;
87
+ Schemas.transferState = json_schemas_json_1.default.transferState;
45
88
  Schemas.transferStatus = json_schemas_json_1.default.transferStatus;
46
- Schemas.fulfilNotification = json_schemas_json_1.default.fulfilNotification;
47
- Schemas.extensionListComplex = json_schemas_json_1.default.extensionListComplex;
48
- Schemas.generalError = json_schemas_json_1.default.generalError;
49
- Schemas.IlpFulfilment = json_schemas_json_1.default.IlpFulfilment;
50
- Schemas.ErrorCode = json_schemas_json_1.default.ErrorCode;
51
- Schemas.ErrorDescription = json_schemas_json_1.default.ErrorDescription;
52
- Schemas.ExtensionKey = json_schemas_json_1.default.ExtensionKey;
53
- Schemas.ExtensionValue = json_schemas_json_1.default.ExtensionValue;
54
- Schemas.Extension = json_schemas_json_1.default.Extension;
55
- Schemas.ExtensionList = json_schemas_json_1.default.ExtensionList;
56
- Schemas.ErrorInformation = json_schemas_json_1.default.ErrorInformation;
57
- Schemas.mojaloopError = json_schemas_json_1.default.mojaloopError;
58
- Schemas.transferError = json_schemas_json_1.default.transferError;
59
- Schemas.CorrelationId = json_schemas_json_1.default.CorrelationId;
60
- Schemas.bulkTransactionStatus = json_schemas_json_1.default.bulkTransactionStatus;
61
- Schemas.autoAcceptPartyOption = json_schemas_json_1.default.autoAcceptPartyOption;
62
- Schemas.Currency = json_schemas_json_1.default.Currency;
63
- Schemas.Amount = json_schemas_json_1.default.Amount;
64
- Schemas.bulkPerTransferFeeLimit = json_schemas_json_1.default.bulkPerTransferFeeLimit;
65
- Schemas.autoAcceptQuote = json_schemas_json_1.default.autoAcceptQuote;
66
- Schemas.DateTime = json_schemas_json_1.default.DateTime;
67
- Schemas.bulkTransactionOptions = json_schemas_json_1.default.bulkTransactionOptions;
68
- Schemas.PartyIdType = json_schemas_json_1.default.PartyIdType;
69
- Schemas.PartyIdentifier = json_schemas_json_1.default.PartyIdentifier;
70
- Schemas.PartySubIdOrType = json_schemas_json_1.default.PartySubIdOrType;
71
- Schemas.FspId = json_schemas_json_1.default.FspId;
72
- Schemas.PartyIdInfo = json_schemas_json_1.default.PartyIdInfo;
73
- Schemas.MerchantClassificationCode = json_schemas_json_1.default.MerchantClassificationCode;
74
- Schemas.PartyName = json_schemas_json_1.default.PartyName;
75
- Schemas.FirstName = json_schemas_json_1.default.FirstName;
76
- Schemas.MiddleName = json_schemas_json_1.default.MiddleName;
77
- Schemas.LastName = json_schemas_json_1.default.LastName;
78
- Schemas.PartyComplexName = json_schemas_json_1.default.PartyComplexName;
79
- Schemas.DateOfBirth = json_schemas_json_1.default.DateOfBirth;
80
- Schemas.PartyPersonalInfo = json_schemas_json_1.default.PartyPersonalInfo;
81
- Schemas.Party = json_schemas_json_1.default.Party;
82
- Schemas.AmountType = json_schemas_json_1.default.AmountType;
83
- Schemas.Note = json_schemas_json_1.default.Note;
84
- Schemas.Money = json_schemas_json_1.default.Money;
85
- Schemas.Latitude = json_schemas_json_1.default.Latitude;
86
- Schemas.Longitude = json_schemas_json_1.default.Longitude;
87
- Schemas.GeoCode = json_schemas_json_1.default.GeoCode;
88
- Schemas.IlpPacket = json_schemas_json_1.default.IlpPacket;
89
- Schemas.IlpCondition = json_schemas_json_1.default.IlpCondition;
90
- Schemas.QuotesIDPutResponse = json_schemas_json_1.default.QuotesIDPutResponse;
91
- Schemas.TransferState = json_schemas_json_1.default.TransferState;
92
- Schemas.TransfersIDPutResponse = json_schemas_json_1.default.TransfersIDPutResponse;
93
- Schemas.bulkTransactionIndividualTransferResult = json_schemas_json_1.default.bulkTransactionIndividualTransferResult;
94
- Schemas.bulkTransactionResponse = json_schemas_json_1.default.bulkTransactionResponse;
95
89
  })(Schemas = exports.Schemas || (exports.Schemas = {}));
96
90
  //# sourceMappingURL=schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/sdk-scheme-adapter/v2_0_0/backend/schemas.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;;AAEpD,kEAAkE;AAElE,oFAA6C;AAE7C,IAAiB,OAAO,CAgFvB;AAhFD,WAAiB,OAAO;IACT,mBAAW,GAAG,2BAAW,CAAC,WAAW,CAAA;IACrC,iBAAS,GAAG,2BAAW,CAAC,SAAS,CAAA;IACjC,oBAAY,GAAG,2BAAW,CAAC,YAAY,CAAA;IACvC,qBAAa,GAAG,2BAAW,CAAC,aAAa,CAAA;IACzC,sBAAc,GAAG,2BAAW,CAAC,cAAc,CAAA;IAC3C,iBAAS,GAAG,2BAAW,CAAC,SAAS,CAAA;IACjC,aAAK,GAAG,2BAAW,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qBAAa,GAAG,2BAAW,CAAC,aAAa,CAAA;IACzC,gBAAQ,GAAG,2BAAW,CAAC,QAAQ,CAAA;IAC/B,iBAAS,GAAG,2BAAW,CAAC,SAAS,CAAA;IACjC,qBAAa,GAAG,2BAAW,CAAC,aAAa,CAAA;IACzC,0BAAkB,GAAG,2BAAW,CAAC,kBAAkB,CAAA;IACnD,4BAAoB,GAAG,2BAAW,CAAC,oBAAoB,CAAA;IACvD,kCAA0B,GAAG,2BAAW,CAAC,0BAA0B,CAAA;IACnE,+BAAuB,GAAG,2BAAW,CAAC,uBAAuB,CAAA;IAC7D,8BAAsB,GAAG,2BAAW,CAAC,sBAAsB,CAAA;IAC3D,uBAAe,GAAG,2BAAW,CAAC,eAAe,CAAA;IAC7C,6BAAqB,GAAG,2BAAW,CAAC,qBAAqB,CAAA;IACzD,+BAAuB,GAAG,2BAAW,CAAC,uBAAuB,CAAA;IAC7D,qBAAa,GAAG,2BAAW,CAAC,aAAa,CAAA;IACzC,kBAAU,GAAG,2BAAW,CAAC,UAAU,CAAA;IACnC,qBAAa,GAAG,2BAAW,CAAC,aAAa,CAAA;IACzC,uBAAe,GAAG,2BAAW,CAAC,eAAe,CAAA;IAC7C,wBAAgB,GAAG,2BAAW,CAAC,gBAAgB,CAAA;IAC/C,qBAAa,GAAG,2BAAW,CAAC,aAAa,CAAA;IACzC,sBAAc,GAAG,2BAAW,CAAC,cAAc,CAAA;AAC1D,CAAC,EAhFgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAgFvB"}
@@ -1,89 +1,83 @@
1
1
  /** This file is generated by json-schema-generator.js program **/
2
2
  import { components } from './openapi';
3
3
  export declare namespace Types {
4
+ type DateOfBirth = components['schemas']['DateOfBirth'];
5
+ type Extension = components['schemas']['Extension'];
6
+ type ExtensionKey = components['schemas']['ExtensionKey'];
7
+ type ExtensionList = components['schemas']['ExtensionList'];
8
+ type ExtensionValue = components['schemas']['ExtensionValue'];
9
+ type FirstName = components['schemas']['FirstName'];
10
+ type FspId = components['schemas']['FspId'];
11
+ type IndividualQuote = components['schemas']['IndividualQuote'];
12
+ type IndividualQuoteResultFailed = components['schemas']['IndividualQuoteResultFailed'];
13
+ type IndividualQuoteResultSuccess = components['schemas']['IndividualQuoteResultSuccess'];
14
+ type IndividualTransfer = components['schemas']['IndividualTransfer'];
15
+ type IndividualTransferResult = components['schemas']['IndividualTransferResult'];
16
+ type LastName = components['schemas']['LastName'];
17
+ type MerchantClassificationCode = components['schemas']['MerchantClassificationCode'];
18
+ type MiddleName = components['schemas']['MiddleName'];
19
+ type Party = components['schemas']['Party'];
20
+ type PartyComplexName = components['schemas']['PartyComplexName'];
21
+ type PartyIdInfo = components['schemas']['PartyIdInfo'];
22
+ type PartyIdType = components['schemas']['PartyIdType'];
23
+ type PartyIdentifier = components['schemas']['PartyIdentifier'];
24
+ type PartyName = components['schemas']['PartyName'];
25
+ type PartyPersonalInfo = components['schemas']['PartyPersonalInfo'];
26
+ type PartySubIdOrType = components['schemas']['PartySubIdOrType'];
27
+ type amountCurrency = components['schemas']['amountCurrency'];
4
28
  type amountType = components['schemas']['amountType'];
29
+ type bulkQuoteId = components['schemas']['bulkQuoteId'];
30
+ type bulkQuoteRequest = components['schemas']['bulkQuoteRequest'];
31
+ type bulkQuoteResponse = components['schemas']['bulkQuoteResponse'];
32
+ type bulkTransferId = components['schemas']['bulkTransferId'];
33
+ type bulkTransferRequest = components['schemas']['bulkTransferRequest'];
34
+ type bulkTransferResponse = components['schemas']['bulkTransferResponse'];
5
35
  type currency = components['schemas']['currency'];
6
36
  type dateOfBirth = components['schemas']['dateOfBirth'];
37
+ type errorCode = components['schemas']['errorCode'];
38
+ type errorDescription = components['schemas']['errorDescription'];
39
+ type errorInformation = components['schemas']['errorInformation'];
7
40
  type errorResponse = components['schemas']['errorResponse'];
8
- type fspId = components['schemas']['fspId'];
41
+ type extensionItem = components['schemas']['extensionItem'];
9
42
  type extensionList = components['schemas']['extensionList'];
43
+ type extensionListComplex = components['schemas']['extensionListComplex'];
44
+ type fspId = components['schemas']['fspId'];
45
+ type fulfilNotification = components['schemas']['fulfilNotification'];
46
+ type generalError = components['schemas']['generalError'];
10
47
  type geoCode = components['schemas']['geoCode'];
48
+ type idSubValue = components['schemas']['idSubValue'];
11
49
  type idType = components['schemas']['idType'];
12
- type personalIdType = components['schemas']['personalIdType'];
13
50
  type idValue = components['schemas']['idValue'];
14
- type idSubValue = components['schemas']['idSubValue'];
51
+ type ilpFulfilment = components['schemas']['ilpFulfilment'];
52
+ type ilpPacketData = components['schemas']['ilpPacketData'];
15
53
  type initiator = components['schemas']['initiator'];
16
- type extensionItem = components['schemas']['extensionItem'];
17
54
  type initiatorType = components['schemas']['initiatorType'];
18
55
  type latitude = components['schemas']['latitude'];
19
56
  type longitude = components['schemas']['longitude'];
57
+ type mojaloopError = components['schemas']['mojaloopError'];
20
58
  type money = components['schemas']['money'];
59
+ type otpDetails = components['schemas']['otpDetails'];
21
60
  type participantsResponse = components['schemas']['participantsResponse'];
22
61
  type payerType = components['schemas']['payerType'];
23
62
  type quoteId = components['schemas']['quoteId'];
24
63
  type quoteRequest = components['schemas']['quoteRequest'];
25
64
  type quoteResponse = components['schemas']['quoteResponse'];
65
+ type scenario = components['schemas']['scenario'];
26
66
  type timestamp = components['schemas']['timestamp'];
27
67
  type transactionId = components['schemas']['transactionId'];
68
+ type transactionRequest = components['schemas']['transactionRequest'];
69
+ type transactionRequestId = components['schemas']['transactionRequestId'];
70
+ type transactionRequestResponse = components['schemas']['transactionRequestResponse'];
71
+ type transactionRequestState = components['schemas']['transactionRequestState'];
72
+ type transactionSubScenario = components['schemas']['transactionSubScenario'];
28
73
  type transactionType = components['schemas']['transactionType'];
29
- type scenario = components['schemas']['scenario'];
30
- type amountCurrency = components['schemas']['amountCurrency'];
31
74
  type transactionTypeObject = components['schemas']['transactionTypeObject'];
32
- type ilpPacketData = components['schemas']['ilpPacketData'];
75
+ type transferDetailsResponse = components['schemas']['transferDetailsResponse'];
76
+ type transferError = components['schemas']['transferError'];
33
77
  type transferId = components['schemas']['transferId'];
34
78
  type transferParty = components['schemas']['transferParty'];
35
- type transferState = components['schemas']['transferState'];
36
79
  type transferRequest = components['schemas']['transferRequest'];
37
80
  type transferResponse = components['schemas']['transferResponse'];
38
- type transferDetailsResponse = components['schemas']['transferDetailsResponse'];
81
+ type transferState = components['schemas']['transferState'];
39
82
  type transferStatus = components['schemas']['transferStatus'];
40
- type fulfilNotification = components['schemas']['fulfilNotification'];
41
- type extensionListComplex = components['schemas']['extensionListComplex'];
42
- type generalError = components['schemas']['generalError'];
43
- type IlpFulfilment = components['schemas']['IlpFulfilment'];
44
- type ErrorCode = components['schemas']['ErrorCode'];
45
- type ErrorDescription = components['schemas']['ErrorDescription'];
46
- type ExtensionKey = components['schemas']['ExtensionKey'];
47
- type ExtensionValue = components['schemas']['ExtensionValue'];
48
- type Extension = components['schemas']['Extension'];
49
- type ExtensionList = components['schemas']['ExtensionList'];
50
- type ErrorInformation = components['schemas']['ErrorInformation'];
51
- type mojaloopError = components['schemas']['mojaloopError'];
52
- type transferError = components['schemas']['transferError'];
53
- type CorrelationId = components['schemas']['CorrelationId'];
54
- type bulkTransactionStatus = components['schemas']['bulkTransactionStatus'];
55
- type autoAcceptPartyOption = components['schemas']['autoAcceptPartyOption'];
56
- type Currency = components['schemas']['Currency'];
57
- type Amount = components['schemas']['Amount'];
58
- type bulkPerTransferFeeLimit = components['schemas']['bulkPerTransferFeeLimit'];
59
- type autoAcceptQuote = components['schemas']['autoAcceptQuote'];
60
- type DateTime = components['schemas']['DateTime'];
61
- type bulkTransactionOptions = components['schemas']['bulkTransactionOptions'];
62
- type PartyIdType = components['schemas']['PartyIdType'];
63
- type PartyIdentifier = components['schemas']['PartyIdentifier'];
64
- type PartySubIdOrType = components['schemas']['PartySubIdOrType'];
65
- type FspId = components['schemas']['FspId'];
66
- type PartyIdInfo = components['schemas']['PartyIdInfo'];
67
- type MerchantClassificationCode = components['schemas']['MerchantClassificationCode'];
68
- type PartyName = components['schemas']['PartyName'];
69
- type FirstName = components['schemas']['FirstName'];
70
- type MiddleName = components['schemas']['MiddleName'];
71
- type LastName = components['schemas']['LastName'];
72
- type PartyComplexName = components['schemas']['PartyComplexName'];
73
- type DateOfBirth = components['schemas']['DateOfBirth'];
74
- type PartyPersonalInfo = components['schemas']['PartyPersonalInfo'];
75
- type Party = components['schemas']['Party'];
76
- type AmountType = components['schemas']['AmountType'];
77
- type Note = components['schemas']['Note'];
78
- type Money = components['schemas']['Money'];
79
- type Latitude = components['schemas']['Latitude'];
80
- type Longitude = components['schemas']['Longitude'];
81
- type GeoCode = components['schemas']['GeoCode'];
82
- type IlpPacket = components['schemas']['IlpPacket'];
83
- type IlpCondition = components['schemas']['IlpCondition'];
84
- type QuotesIDPutResponse = components['schemas']['QuotesIDPutResponse'];
85
- type TransferState = components['schemas']['TransferState'];
86
- type TransfersIDPutResponse = components['schemas']['TransfersIDPutResponse'];
87
- type bulkTransactionIndividualTransferResult = components['schemas']['bulkTransactionIndividualTransferResult'];
88
- type bulkTransactionResponse = components['schemas']['bulkTransactionResponse'];
89
83
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/sdk-scheme-adapter/v2_0_0/backend/types.ts"],"names":[],"mappings":";AAAA,oDAAoD"}
@@ -26,6 +26,6 @@
26
26
 
27
27
  --------------
28
28
  ******/
29
- import * as Inbound from './inbound';
29
+ import * as Backend from './backend';
30
30
  import * as Outbound from './outbound';
31
- export { Inbound, Outbound };
31
+ export { Backend, Outbound };
@@ -28,10 +28,10 @@
28
28
  ******/
29
29
  'use strict';
30
30
  Object.defineProperty(exports, "__esModule", { value: true });
31
- exports.Outbound = exports.Inbound = void 0;
31
+ exports.Outbound = exports.Backend = void 0;
32
32
  const tslib_1 = require("tslib");
33
- const Inbound = tslib_1.__importStar(require("./inbound"));
34
- exports.Inbound = Inbound;
33
+ const Backend = tslib_1.__importStar(require("./backend"));
34
+ exports.Backend = Backend;
35
35
  const Outbound = tslib_1.__importStar(require("./outbound"));
36
36
  exports.Outbound = Outbound;
37
37
  //# sourceMappingURL=index.js.map
@@ -495,6 +495,13 @@
495
495
  ],
496
496
  "description": "Type of transaction."
497
497
  },
498
+ "TransactionSubScenario": {
499
+ "title": "TransactionSubScenario",
500
+ "type": "string",
501
+ "pattern": "^[A-Z_]{1,32}$",
502
+ "description": "Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type).",
503
+ "example": "LOCALLY_DEFINED_SUBSCENARIO"
504
+ },
498
505
  "Note": {
499
506
  "title": "Note",
500
507
  "type": "string",
@@ -985,6 +992,13 @@
985
992
  ],
986
993
  "description": "Type of transaction."
987
994
  },
995
+ "subScenario": {
996
+ "title": "TransactionSubScenario",
997
+ "type": "string",
998
+ "pattern": "^[A-Z_]{1,32}$",
999
+ "description": "Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type).",
1000
+ "example": "LOCALLY_DEFINED_SUBSCENARIO"
1001
+ },
988
1002
  "note": {
989
1003
  "title": "Note",
990
1004
  "type": "string",
@@ -3055,6 +3069,13 @@
3055
3069
  ],
3056
3070
  "description": "Type of transaction."
3057
3071
  },
3072
+ "subScenario": {
3073
+ "title": "TransactionSubScenario",
3074
+ "type": "string",
3075
+ "pattern": "^[A-Z_]{1,32}$",
3076
+ "description": "Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type).",
3077
+ "example": "LOCALLY_DEFINED_SUBSCENARIO"
3078
+ },
3058
3079
  "note": {
3059
3080
  "title": "Note",
3060
3081
  "type": "string",
@@ -4674,6 +4695,13 @@
4674
4695
  ],
4675
4696
  "description": "Type of transaction."
4676
4697
  },
4698
+ "subScenario": {
4699
+ "title": "TransactionSubScenario",
4700
+ "type": "string",
4701
+ "pattern": "^[A-Z_]{1,32}$",
4702
+ "description": "Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type).",
4703
+ "example": "LOCALLY_DEFINED_SUBSCENARIO"
4704
+ },
4677
4705
  "note": {
4678
4706
  "title": "Note",
4679
4707
  "type": "string",
@@ -10114,6 +10142,13 @@
10114
10142
  ],
10115
10143
  "description": "Type of transaction."
10116
10144
  },
10145
+ "subScenario": {
10146
+ "title": "TransactionSubScenario",
10147
+ "type": "string",
10148
+ "pattern": "^[A-Z_]{1,32}$",
10149
+ "description": "Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type).",
10150
+ "example": "LOCALLY_DEFINED_SUBSCENARIO"
10151
+ },
10117
10152
  "ilpPacket": {
10118
10153
  "title": "IlpPacket",
10119
10154
  "type": "string",
@@ -10701,6 +10736,13 @@
10701
10736
  ],
10702
10737
  "description": "Type of transaction."
10703
10738
  },
10739
+ "subScenario": {
10740
+ "title": "TransactionSubScenario",
10741
+ "type": "string",
10742
+ "pattern": "^[A-Z_]{1,32}$",
10743
+ "description": "Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type).",
10744
+ "example": "LOCALLY_DEFINED_SUBSCENARIO"
10745
+ },
10704
10746
  "ilpPacket": {
10705
10747
  "title": "IlpPacket",
10706
10748
  "type": "string",
@@ -11304,6 +11346,13 @@
11304
11346
  ],
11305
11347
  "description": "Type of transaction."
11306
11348
  },
11349
+ "subScenario": {
11350
+ "title": "TransactionSubScenario",
11351
+ "type": "string",
11352
+ "pattern": "^[A-Z_]{1,32}$",
11353
+ "description": "Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type).",
11354
+ "example": "LOCALLY_DEFINED_SUBSCENARIO"
11355
+ },
11307
11356
  "note": {
11308
11357
  "title": "Note",
11309
11358
  "type": "string",
@@ -11865,6 +11914,13 @@
11865
11914
  ],
11866
11915
  "description": "Type of transaction."
11867
11916
  },
11917
+ "subScenario": {
11918
+ "title": "TransactionSubScenario",
11919
+ "type": "string",
11920
+ "pattern": "^[A-Z_]{1,32}$",
11921
+ "description": "Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type).",
11922
+ "example": "LOCALLY_DEFINED_SUBSCENARIO"
11923
+ },
11868
11924
  "note": {
11869
11925
  "title": "Note",
11870
11926
  "type": "string",
@@ -15372,6 +15428,13 @@
15372
15428
  ],
15373
15429
  "description": "Type of transaction."
15374
15430
  },
15431
+ "subScenario": {
15432
+ "title": "TransactionSubScenario",
15433
+ "type": "string",
15434
+ "pattern": "^[A-Z_]{1,32}$",
15435
+ "description": "Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type).",
15436
+ "example": "LOCALLY_DEFINED_SUBSCENARIO"
15437
+ },
15375
15438
  "note": {
15376
15439
  "title": "Note",
15377
15440
  "type": "string",
@@ -15447,13 +15510,6 @@
15447
15510
  "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.",
15448
15511
  "example": "DEPOSIT"
15449
15512
  },
15450
- "TransactionSubScenario": {
15451
- "title": "TransactionSubScenario",
15452
- "type": "string",
15453
- "pattern": "^[A-Z_]{1,32}$",
15454
- "description": "Possible sub-scenario, defined locally within the scheme (UndefinedEnum Type).",
15455
- "example": "LOCALLY_DEFINED_SUBSCENARIO"
15456
- },
15457
15513
  "TransactionInitiator": {
15458
15514
  "title": "TransactionInitiator",
15459
15515
  "type": "string",