@mojaloop/api-snippets 17.0.0-snapshot.2 → 17.0.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.
Files changed (26) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml +2673 -0
  3. package/lib/example.d.ts +1 -1
  4. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/index.d.ts +0 -0
  5. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/index.js +0 -0
  6. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/index.js.map +1 -1
  7. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/json-schemas.json +8987 -8769
  8. package/lib/sdk-scheme-adapter/v2_0_0/backend/openapi.d.ts +4391 -0
  9. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/openapi.js +0 -0
  10. package/lib/sdk-scheme-adapter/v2_0_0/backend/openapi.js.map +1 -0
  11. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/schemas.d.ts +3158 -3295
  12. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/schemas.js +51 -58
  13. package/lib/sdk-scheme-adapter/v2_0_0/backend/schemas.js.map +1 -0
  14. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/types.d.ts +51 -58
  15. package/lib/sdk-scheme-adapter/v2_0_0/{inbound → backend}/types.js +0 -0
  16. package/lib/sdk-scheme-adapter/v2_0_0/backend/types.js.map +1 -0
  17. package/lib/sdk-scheme-adapter/v2_0_0/index.d.ts +2 -2
  18. package/lib/sdk-scheme-adapter/v2_0_0/index.js +3 -3
  19. package/package.json +22 -22
  20. package/sdk-scheme-adapter/v2_0_0/backend/openapi.yaml +1704 -0
  21. package/docs/sdk-scheme-adapter-inbound-v2_0_0-openapi3-snippets.yaml +0 -2889
  22. package/lib/sdk-scheme-adapter/v2_0_0/inbound/openapi.d.ts +0 -4350
  23. package/lib/sdk-scheme-adapter/v2_0_0/inbound/openapi.js.map +0 -1
  24. package/lib/sdk-scheme-adapter/v2_0_0/inbound/schemas.js.map +0 -1
  25. package/lib/sdk-scheme-adapter/v2_0_0/inbound/types.js.map +0 -1
  26. package/sdk-scheme-adapter/v2_0_0/inbound/openapi.yaml +0 -1074
@@ -7,90 +7,83 @@ 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;
34
78
  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
79
  Schemas.transactionTypeObject = json_schemas_json_1.default.transactionTypeObject;
38
- Schemas.ilpPacketData = json_schemas_json_1.default.ilpPacketData;
80
+ Schemas.transferDetailsResponse = json_schemas_json_1.default.transferDetailsResponse;
81
+ Schemas.transferError = json_schemas_json_1.default.transferError;
39
82
  Schemas.transferId = json_schemas_json_1.default.transferId;
40
83
  Schemas.transferParty = json_schemas_json_1.default.transferParty;
41
- Schemas.transferState = json_schemas_json_1.default.transferState;
42
84
  Schemas.transferRequest = json_schemas_json_1.default.transferRequest;
43
85
  Schemas.transferResponse = json_schemas_json_1.default.transferResponse;
44
- Schemas.transferDetailsResponse = json_schemas_json_1.default.transferDetailsResponse;
86
+ Schemas.transferState = json_schemas_json_1.default.transferState;
45
87
  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
88
  })(Schemas = exports.Schemas || (exports.Schemas = {}));
96
89
  //# 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,CA+EvB;AA/ED,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,CAAC,KAAK,CAAA;IACzB,uBAAe,GAAG,2BAAW,CAAC,eAAe,CAAA;IAC7C,mCAA2B,GAAG,2BAAW,CAAC,2BAA2B,CAAA;IACrE,oCAA4B,GAAG,2BAAW,CAAC,4BAA4B,CAAA;IACvE,0BAAkB,GAAG,2BAAW,CAAC,kBAAkB,CAAA;IACnD,gCAAwB,GAAG,2BAAW,CAAC,wBAAwB,CAAA;IAC/D,gBAAQ,GAAG,2BAAW,CAAC,QAAQ,CAAA;IAC/B,kCAA0B,GAAG,2BAAW,CAAC,0BAA0B,CAAA;IACnE,kBAAU,GAAG,2BAAW,CAAC,UAAU,CAAA;IACnC,aAAK,GAAG,2BAAW,CAAC,KAAK,CAAA;IACzB,wBAAgB,GAAG,2BAAW,CAAC,gBAAgB,CAAA;IAC/C,mBAAW,GAAG,2BAAW,CAAC,WAAW,CAAA;IACrC,mBAAW,GAAG,2BAAW,CAAC,WAAW,CAAA;IACrC,uBAAe,GAAG,2BAAW,CAAC,eAAe,CAAA;IAC7C,iBAAS,GA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AAA;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,EA/EgB,OAAO,GAAP,eAAO,KAAP,eAAO,QA+EvB"}
@@ -1,89 +1,82 @@
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'];
28
72
  type transactionType = components['schemas']['transactionType'];
29
- type scenario = components['schemas']['scenario'];
30
- type amountCurrency = components['schemas']['amountCurrency'];
31
73
  type transactionTypeObject = components['schemas']['transactionTypeObject'];
32
- type ilpPacketData = components['schemas']['ilpPacketData'];
74
+ type transferDetailsResponse = components['schemas']['transferDetailsResponse'];
75
+ type transferError = components['schemas']['transferError'];
33
76
  type transferId = components['schemas']['transferId'];
34
77
  type transferParty = components['schemas']['transferParty'];
35
- type transferState = components['schemas']['transferState'];
36
78
  type transferRequest = components['schemas']['transferRequest'];
37
79
  type transferResponse = components['schemas']['transferResponse'];
38
- type transferDetailsResponse = components['schemas']['transferDetailsResponse'];
80
+ type transferState = components['schemas']['transferState'];
39
81
  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
82
  }
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mojaloop/api-snippets",
3
- "version": "17.0.0-snapshot.2",
3
+ "version": "17.0.1",
4
4
  "description": "Mojaloop API specification reusable snippets",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -12,22 +12,22 @@
12
12
  "audit:check": "SHELL=sh check-audit --production",
13
13
  "build": "npm run build:openapi; npm run build:dto; npm run build:schemas; tsc -p ./tsconfig.build.json",
14
14
  "build:dto": "npm run build:dto:v1.0; npm run build:dto:v1.1; npm run build:dto:thirdparty; npm run build:dto:sdk-scheme-adapter;",
15
- "build:schemas": "npm run build:schemas:sdk-scheme-adapter:inbound; npm run build:schemas:sdk-scheme-adapter:outbound;",
15
+ "build:schemas": "npm run build:schemas:sdk-scheme-adapter:backend; npm run build:schemas:sdk-scheme-adapter:outbound;",
16
16
  "build:dto:v1.0": "openapi-typescript docs/fspiop-rest-v1.0-openapi3-snippets.yaml --output src/fspiop/v1_0/openapi.ts",
17
17
  "build:dto:v1.1": "openapi-typescript docs/fspiop-rest-v1.1-openapi3-snippets.yaml --output src/fspiop/v1_1/openapi.ts",
18
18
  "build:dto:thirdparty": "openapi-typescript docs/thirdparty-openapi3-snippets.yaml --output src/thirdparty/openapi.ts",
19
- "build:dto:sdk-scheme-adapter": "npm run build:dto:sdk-scheme-adapter:inbound; npm run build:dto:sdk-scheme-adapter:outbound;",
20
- "build:dto:sdk-scheme-adapter:inbound": "openapi-typescript docs/sdk-scheme-adapter-inbound-v2_0_0-openapi3-snippets.yaml --output src/sdk-scheme-adapter/v2_0_0/inbound/openapi.ts",
19
+ "build:dto:sdk-scheme-adapter": "npm run build:dto:sdk-scheme-adapter:backend; npm run build:dto:sdk-scheme-adapter:outbound;",
20
+ "build:dto:sdk-scheme-adapter:backend": "openapi-typescript docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml --output src/sdk-scheme-adapter/v2_0_0/backend/openapi.ts",
21
21
  "build:dto:sdk-scheme-adapter:outbound": "openapi-typescript docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml --output src/sdk-scheme-adapter/v2_0_0/outbound/openapi.ts",
22
- "build:openapi": "npm run build:v1.0; npm run build:v1.1; npm run build:thirdparty; npm run build:sdk-scheme-adapter:inbound; npm run build:sdk-scheme-adapter:outbound;",
22
+ "build:openapi": "npm run build:v1.0; npm run build:v1.1; npm run build:thirdparty; npm run build:sdk-scheme-adapter:backend; npm run build:sdk-scheme-adapter:outbound;",
23
23
  "build:v1.0": "openapi bundle --output docs/fspiop-rest-v1.0-openapi3-snippets.yaml --ext yaml fspiop/v1_0/openapi3/openapi.yaml && swagger-cli validate docs/fspiop-rest-v1.0-openapi3-snippets.yaml",
24
24
  "build:v1.1": "openapi bundle --output docs/fspiop-rest-v1.1-openapi3-snippets.yaml --ext yaml fspiop/v1_1/openapi3/openapi.yaml && swagger-cli validate docs/fspiop-rest-v1.1-openapi3-snippets.yaml",
25
25
  "build:thirdparty": "openapi bundle --dereferenced --output docs/thirdparty-openapi3-snippets.yaml --ext yaml thirdparty/v1_0/openapi3/openapi.yaml && swagger-cli validate docs/thirdparty-openapi3-snippets.yaml",
26
26
  "build:thirdparty-dfsp": "swagger-cli bundle -o ./thirdparty/v1_0/openapi3/thirdparty-dfsp-api.yaml -t yaml ./thirdparty/v1_0/openapi3/thirdparty-dfsp-api.template.yaml",
27
27
  "build:thirdparty-pisp": "swagger-cli bundle -o ./thirdparty/v1_0/openapi3/thirdparty-pisp-api.yaml -t yaml ./thirdparty/v1_0/openapi3/thirdparty-pisp-api.template.yaml",
28
- "build:sdk-scheme-adapter:inbound": "openapi bundle --dereferenced --output docs/sdk-scheme-adapter-inbound-v2_0_0-openapi3-snippets.yaml --ext yaml sdk-scheme-adapter/v2_0_0/inbound/openapi.yaml && swagger-cli validate docs/sdk-scheme-adapter-inbound-v2_0_0-openapi3-snippets.yaml",
28
+ "build:sdk-scheme-adapter:backend": "openapi bundle --dereferenced --output docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml --ext yaml sdk-scheme-adapter/v2_0_0/backend/openapi.yaml && swagger-cli validate docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml",
29
29
  "build:sdk-scheme-adapter:outbound": "openapi bundle --dereferenced --output docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml --ext yaml sdk-scheme-adapter/v2_0_0/outbound/openapi.yaml && swagger-cli validate docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml",
30
- "build:schemas:sdk-scheme-adapter:inbound": "npx ts-node --transpile-only src/scripts/json-schema-generator.ts docs/sdk-scheme-adapter-inbound-v2_0_0-openapi3-snippets.yaml src/sdk-scheme-adapter/v2_0_0/inbound",
30
+ "build:schemas:sdk-scheme-adapter:backend": "npx ts-node --transpile-only src/scripts/json-schema-generator.ts docs/sdk-scheme-adapter-backend-v2_0_0-openapi3-snippets.yaml src/sdk-scheme-adapter/v2_0_0/backend",
31
31
  "build:schemas:sdk-scheme-adapter:outbound": "npx ts-node --transpile-only src/scripts/json-schema-generator.ts docs/sdk-scheme-adapter-outbound-v2_0_0-openapi3-snippets.yaml src/sdk-scheme-adapter/v2_0_0/outbound",
32
32
  "lint": "eslint --ext ts --ext js test src",
33
33
  "lint:fix": "eslint --fix --ext ts --ext js test src",
@@ -67,29 +67,29 @@
67
67
  ],
68
68
  "license": "Apache-2.0",
69
69
  "dependencies": {
70
- "@apidevtools/json-schema-ref-parser": "^9.0.9",
70
+ "@apidevtools/json-schema-ref-parser": "^9.1.0",
71
71
  "commander": "^9.4.1",
72
72
  "jest-ts-auto-mock": "^2.1.0",
73
73
  "js-yaml": "^4.1.0",
74
74
  "json-refs": "^3.0.15",
75
- "openapi-types": "^12.0.2",
75
+ "openapi-types": "^12.1.0",
76
76
  "openapi-typescript": "^5.4.1",
77
- "ts-auto-mock": "^3.6.2",
78
- "ttypescript": "^1.5.13"
77
+ "ts-auto-mock": "^3.6.4",
78
+ "ttypescript": "^1.5.15"
79
79
  },
80
80
  "overrides": {
81
81
  "@types/cacheable-request": "^6.0.2",
82
82
  "@types/responselike": "^1.0.0"
83
83
  },
84
84
  "devDependencies": {
85
- "@commitlint/cli": "^17.2.0",
86
- "@commitlint/config-conventional": "^17.2.0",
85
+ "@commitlint/cli": "^17.3.0",
86
+ "@commitlint/config-conventional": "^17.3.0",
87
87
  "@redocly/openapi-cli": "^1.0.0-beta.94",
88
- "@types/jest": "^29.2.2",
89
- "@typescript-eslint/eslint-plugin": "^5.42.1",
90
- "@typescript-eslint/parser": "^5.42.1",
88
+ "@types/jest": "^29.2.4",
89
+ "@typescript-eslint/eslint-plugin": "^5.46.1",
90
+ "@typescript-eslint/parser": "^5.46.1",
91
91
  "diff": "^5.1.0",
92
- "eslint": "^8.27.0",
92
+ "eslint": "^8.29.0",
93
93
  "eslint-config-prettier": "^8.5.0",
94
94
  "eslint-config-standard": "^17.0.0",
95
95
  "eslint-import-resolver-typescript": "^3.5.2",
@@ -101,17 +101,17 @@
101
101
  "eslint-plugin-standard": "^5.0.0",
102
102
  "husky": "4.3.8",
103
103
  "jest": "^29.3.1",
104
- "jest-junit": "^14.0.1",
105
- "lint-staged": "^13.0.3",
104
+ "jest-junit": "^15.0.0",
105
+ "lint-staged": "^13.1.0",
106
106
  "npm-audit-resolver": "^3.0.0-7",
107
- "npm-check-updates": "^16.3.18",
108
- "prettier": "^2.7.1",
107
+ "npm-check-updates": "^16.6.0",
108
+ "prettier": "^2.8.1",
109
109
  "standard-version": "^9.5.0",
110
110
  "swagger-cli": "^4.0.4",
111
111
  "ts-jest": "^29.0.3",
112
112
  "ts-node": "^10.9.1",
113
113
  "tslib": "^2.4.1",
114
- "typescript": "^4.8.4"
114
+ "typescript": "^4.9.4"
115
115
  },
116
116
  "publishConfig": {
117
117
  "registry": "https://registry.npmjs.org/"