@mojaloop/api-snippets 17.4.0 → 17.5.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.
@@ -0,0 +1,113 @@
1
+ "use strict";
2
+ /* eslint-disable @typescript-eslint/no-namespace */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Schemas = void 0;
5
+ const tslib_1 = require("tslib");
6
+ /** This file is generated by json-schema-generator.js program **/
7
+ const json_schemas_json_1 = tslib_1.__importDefault(require("./json-schemas.json"));
8
+ var Schemas;
9
+ (function (Schemas) {
10
+ Schemas.Amount = json_schemas_json_1.default.Amount;
11
+ Schemas.AmountType = json_schemas_json_1.default.AmountType;
12
+ Schemas.AuthenticationInfo = json_schemas_json_1.default.AuthenticationInfo;
13
+ Schemas.AuthenticationType = json_schemas_json_1.default.AuthenticationType;
14
+ Schemas.AuthenticationValue = json_schemas_json_1.default.AuthenticationValue;
15
+ Schemas.AuthorizationResponse = json_schemas_json_1.default.AuthorizationResponse;
16
+ Schemas.AuthorizationsIDPutResponse = json_schemas_json_1.default.AuthorizationsIDPutResponse;
17
+ Schemas.BalanceOfPayments = json_schemas_json_1.default.BalanceOfPayments;
18
+ Schemas.BinaryString = json_schemas_json_1.default.BinaryString;
19
+ Schemas.BinaryString32 = json_schemas_json_1.default.BinaryString32;
20
+ Schemas.BulkQuotesIDPutResponse = json_schemas_json_1.default.BulkQuotesIDPutResponse;
21
+ Schemas.BulkQuotesPostRequest = json_schemas_json_1.default.BulkQuotesPostRequest;
22
+ Schemas.BulkTransferState = json_schemas_json_1.default.BulkTransferState;
23
+ Schemas.BulkTransfersIDPutResponse = json_schemas_json_1.default.BulkTransfersIDPutResponse;
24
+ Schemas.BulkTransfersPostRequest = json_schemas_json_1.default.BulkTransfersPostRequest;
25
+ Schemas.Code = json_schemas_json_1.default.Code;
26
+ Schemas.CorrelationId = json_schemas_json_1.default.CorrelationId;
27
+ Schemas.Currency = json_schemas_json_1.default.Currency;
28
+ Schemas.CurrencyConverter = json_schemas_json_1.default.CurrencyConverter;
29
+ Schemas.Date = json_schemas_json_1.default.Date;
30
+ Schemas.DateOfBirth = json_schemas_json_1.default.DateOfBirth;
31
+ Schemas.DateTime = json_schemas_json_1.default.DateTime;
32
+ Schemas.ErrorCode = json_schemas_json_1.default.ErrorCode;
33
+ Schemas.ErrorDescription = json_schemas_json_1.default.ErrorDescription;
34
+ Schemas.ErrorInformation = json_schemas_json_1.default.ErrorInformation;
35
+ Schemas.ErrorInformationObject = json_schemas_json_1.default.ErrorInformationObject;
36
+ Schemas.ErrorInformationResponse = json_schemas_json_1.default.ErrorInformationResponse;
37
+ Schemas.Extension = json_schemas_json_1.default.Extension;
38
+ Schemas.ExtensionKey = json_schemas_json_1.default.ExtensionKey;
39
+ Schemas.ExtensionList = json_schemas_json_1.default.ExtensionList;
40
+ Schemas.ExtensionValue = json_schemas_json_1.default.ExtensionValue;
41
+ Schemas.FirstName = json_schemas_json_1.default.FirstName;
42
+ Schemas.FspId = json_schemas_json_1.default.FspId;
43
+ Schemas.FxCharge = json_schemas_json_1.default.FxCharge;
44
+ Schemas.FxConversion = json_schemas_json_1.default.FxConversion;
45
+ Schemas.FxMoney = json_schemas_json_1.default.FxMoney;
46
+ Schemas.FxQuotesIDPutResponse = json_schemas_json_1.default.FxQuotesIDPutResponse;
47
+ Schemas.FxQuotesPostRequest = json_schemas_json_1.default.FxQuotesPostRequest;
48
+ Schemas.FxRate = json_schemas_json_1.default.FxRate;
49
+ Schemas.FxTransfersIDPatchResponse = json_schemas_json_1.default.FxTransfersIDPatchResponse;
50
+ Schemas.FxTransfersIDPutResponse = json_schemas_json_1.default.FxTransfersIDPutResponse;
51
+ Schemas.FxTransfersPostRequest = json_schemas_json_1.default.FxTransfersPostRequest;
52
+ Schemas.GeoCode = json_schemas_json_1.default.GeoCode;
53
+ Schemas.IlpCondition = json_schemas_json_1.default.IlpCondition;
54
+ Schemas.IlpFulfilment = json_schemas_json_1.default.IlpFulfilment;
55
+ Schemas.IlpPacket = json_schemas_json_1.default.IlpPacket;
56
+ Schemas.IndividualQuote = json_schemas_json_1.default.IndividualQuote;
57
+ Schemas.IndividualQuoteResult = json_schemas_json_1.default.IndividualQuoteResult;
58
+ Schemas.IndividualTransfer = json_schemas_json_1.default.IndividualTransfer;
59
+ Schemas.IndividualTransferResult = json_schemas_json_1.default.IndividualTransferResult;
60
+ Schemas.Integer = json_schemas_json_1.default.Integer;
61
+ Schemas.KYCInformation = json_schemas_json_1.default.KYCInformation;
62
+ Schemas.LastName = json_schemas_json_1.default.LastName;
63
+ Schemas.Latitude = json_schemas_json_1.default.Latitude;
64
+ Schemas.Longitude = json_schemas_json_1.default.Longitude;
65
+ Schemas.MerchantClassificationCode = json_schemas_json_1.default.MerchantClassificationCode;
66
+ Schemas.MiddleName = json_schemas_json_1.default.MiddleName;
67
+ Schemas.Money = json_schemas_json_1.default.Money;
68
+ Schemas.Name = json_schemas_json_1.default.Name;
69
+ Schemas.Note = json_schemas_json_1.default.Note;
70
+ Schemas.OtpValue = json_schemas_json_1.default.OtpValue;
71
+ Schemas.ParticipantsIDPutResponse = json_schemas_json_1.default.ParticipantsIDPutResponse;
72
+ Schemas.ParticipantsPostRequest = json_schemas_json_1.default.ParticipantsPostRequest;
73
+ Schemas.ParticipantsTypeIDPutResponse = json_schemas_json_1.default.ParticipantsTypeIDPutResponse;
74
+ Schemas.ParticipantsTypeIDSubIDPostRequest = json_schemas_json_1.default.ParticipantsTypeIDSubIDPostRequest;
75
+ Schemas.PartiesTypeIDPutResponse = json_schemas_json_1.default.PartiesTypeIDPutResponse;
76
+ Schemas.Party = json_schemas_json_1.default.Party;
77
+ Schemas.PartyComplexName = json_schemas_json_1.default.PartyComplexName;
78
+ Schemas.PartyIdInfo = json_schemas_json_1.default.PartyIdInfo;
79
+ Schemas.PartyIdType = json_schemas_json_1.default.PartyIdType;
80
+ Schemas.PartyIdentifier = json_schemas_json_1.default.PartyIdentifier;
81
+ Schemas.PartyName = json_schemas_json_1.default.PartyName;
82
+ Schemas.PartyPersonalInfo = json_schemas_json_1.default.PartyPersonalInfo;
83
+ Schemas.PartyResult = json_schemas_json_1.default.PartyResult;
84
+ Schemas.PartySubIdOrType = json_schemas_json_1.default.PartySubIdOrType;
85
+ Schemas.PersonalIdentifierType = json_schemas_json_1.default.PersonalIdentifierType;
86
+ Schemas.QRCODE = json_schemas_json_1.default.QRCODE;
87
+ Schemas.QuotesIDPutResponse = json_schemas_json_1.default.QuotesIDPutResponse;
88
+ Schemas.QuotesPostRequest = json_schemas_json_1.default.QuotesPostRequest;
89
+ Schemas.Refund = json_schemas_json_1.default.Refund;
90
+ Schemas.RefundReason = json_schemas_json_1.default.RefundReason;
91
+ Schemas.ServicesFXPPutResponse = json_schemas_json_1.default.ServicesFXPPutResponse;
92
+ Schemas.ServicesFXPSourceCurrencyTargetCurrencyPutResponse = json_schemas_json_1.default.ServicesFXPSourceCurrencyTargetCurrencyPutResponse;
93
+ Schemas.TokenCode = json_schemas_json_1.default.TokenCode;
94
+ Schemas.Transaction = json_schemas_json_1.default.Transaction;
95
+ Schemas.TransactionInitiator = json_schemas_json_1.default.TransactionInitiator;
96
+ Schemas.TransactionInitiatorType = json_schemas_json_1.default.TransactionInitiatorType;
97
+ Schemas.TransactionRequestState = json_schemas_json_1.default.TransactionRequestState;
98
+ Schemas.TransactionRequestsIDPutResponse = json_schemas_json_1.default.TransactionRequestsIDPutResponse;
99
+ Schemas.TransactionRequestsPostRequest = json_schemas_json_1.default.TransactionRequestsPostRequest;
100
+ Schemas.TransactionScenario = json_schemas_json_1.default.TransactionScenario;
101
+ Schemas.TransactionState = json_schemas_json_1.default.TransactionState;
102
+ Schemas.TransactionSubScenario = json_schemas_json_1.default.TransactionSubScenario;
103
+ Schemas.TransactionType = json_schemas_json_1.default.TransactionType;
104
+ Schemas.TransactionsIDPutResponse = json_schemas_json_1.default.TransactionsIDPutResponse;
105
+ Schemas.TransferState = json_schemas_json_1.default.TransferState;
106
+ Schemas.TransfersIDPatchResponse = json_schemas_json_1.default.TransfersIDPatchResponse;
107
+ Schemas.TransfersIDPutResponse = json_schemas_json_1.default.TransfersIDPutResponse;
108
+ Schemas.TransfersPostRequest = json_schemas_json_1.default.TransfersPostRequest;
109
+ Schemas.U2FPIN = json_schemas_json_1.default.U2FPIN;
110
+ Schemas.U2FPinValue = json_schemas_json_1.default.U2FPinValue;
111
+ Schemas.UndefinedEnum = json_schemas_json_1.default.UndefinedEnum;
112
+ })(Schemas || (exports.Schemas = Schemas = {}));
113
+ //# sourceMappingURL=schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/fspiop/v2_0/schemas.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;;AAEpD,kEAAkE;AAElE,oFAA6C;AAE7C,IAAiB,OAAO,CAuGvB;AAvGD,WAAiB,OAAO;IACT,cAAM,GAAG,2BAAW,CAAC,MAAM,CAAA;IAC3B,kBAAU,GAAG,2BAAW,CAAC,UAAU,CAAA;IACnC,0BAAkB,GAAG,2BAAW,CAAC,kBAAkB,CAAA;IACnD,0BAAkB,GAAG,2BAAW,CAAC,kBAAkB,CAAA;IACnD,2BAAmB,GAAG,2BAAW,CAAC,mBAAmB,CAAA;IACrD,6BAAqB,GAAG,2BAAW,CAAC,qBAAqB,CAAA;IACzD,mCAA2B,GAAG,2BAAW,CAAC,2BAA2B,CAAA;IACrE,yBAAiB,GAAG,2BAAW,CAAC,iBAAiB,CAAA;IACjD,oBAAY,GAAG,2BAAW,CAAC,YAAY,CAAA;IACvC,sBAAc,GAAG,2BAAW,CAAC,cAAc,CAAA;IAC3C,+BAAuB,GAAG,2BAAW,CAAC,uBAAuB,CAAA;IAC7D,6BAAqB,GAAG,2BAAW,CAAC,qBAAqB,CAAA;IACzD,yBAAiB,GAAG,2BAAW,CAAC,iBAAiB,CAAA;IACjD,kCAA0B,GAAG,2BAAW,CAAC,0BAA0B,CAAA;IACnE,gCAAwB,GAA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,CAAC,eAAe,CAAA;IAC7C,iCAAyB,GAAG,2BAAW,CAAC,yBAAyB,CAAA;IACjE,qBAAa,GAAG,2BAAW,CAAC,aAAa,CAAA;IACzC,gCAAwB,GAAG,2BAAW,CAAC,wBAAwB,CAAA;IAC/D,8BAAsB,GAAG,2BAAW,CAAC,sBAAsB,CAAA;IAC3D,4BAAoB,GAAG,2BAAW,CAAC,oBAAoB,CAAA;IACvD,cAAM,GAAG,2BAAW,CAAC,MAAM,CAAA;IAC3B,mBAAW,GAAG,2BAAW,CAAC,WAAW,CAAA;IACrC,qBAAa,GAAG,2BAAW,CAAC,aAAa,CAAA;AACxD,CAAC,EAvGgB,OAAO,uBAAP,OAAO,QAuGvB"}
@@ -0,0 +1,106 @@
1
+ /** This file is generated by json-schema-generator.js program **/
2
+ import { components } from './openapi';
3
+ export declare namespace Types {
4
+ type Amount = components['schemas']['Amount'];
5
+ type AmountType = components['schemas']['AmountType'];
6
+ type AuthenticationInfo = components['schemas']['AuthenticationInfo'];
7
+ type AuthenticationType = components['schemas']['AuthenticationType'];
8
+ type AuthenticationValue = components['schemas']['AuthenticationValue'];
9
+ type AuthorizationResponse = components['schemas']['AuthorizationResponse'];
10
+ type AuthorizationsIDPutResponse = components['schemas']['AuthorizationsIDPutResponse'];
11
+ type BalanceOfPayments = components['schemas']['BalanceOfPayments'];
12
+ type BinaryString = components['schemas']['BinaryString'];
13
+ type BinaryString32 = components['schemas']['BinaryString32'];
14
+ type BulkQuotesIDPutResponse = components['schemas']['BulkQuotesIDPutResponse'];
15
+ type BulkQuotesPostRequest = components['schemas']['BulkQuotesPostRequest'];
16
+ type BulkTransferState = components['schemas']['BulkTransferState'];
17
+ type BulkTransfersIDPutResponse = components['schemas']['BulkTransfersIDPutResponse'];
18
+ type BulkTransfersPostRequest = components['schemas']['BulkTransfersPostRequest'];
19
+ type Code = components['schemas']['Code'];
20
+ type CorrelationId = components['schemas']['CorrelationId'];
21
+ type Currency = components['schemas']['Currency'];
22
+ type CurrencyConverter = components['schemas']['CurrencyConverter'];
23
+ type Date = components['schemas']['Date'];
24
+ type DateOfBirth = components['schemas']['DateOfBirth'];
25
+ type DateTime = components['schemas']['DateTime'];
26
+ type ErrorCode = components['schemas']['ErrorCode'];
27
+ type ErrorDescription = components['schemas']['ErrorDescription'];
28
+ type ErrorInformation = components['schemas']['ErrorInformation'];
29
+ type ErrorInformationObject = components['schemas']['ErrorInformationObject'];
30
+ type ErrorInformationResponse = components['schemas']['ErrorInformationResponse'];
31
+ type Extension = components['schemas']['Extension'];
32
+ type ExtensionKey = components['schemas']['ExtensionKey'];
33
+ type ExtensionList = components['schemas']['ExtensionList'];
34
+ type ExtensionValue = components['schemas']['ExtensionValue'];
35
+ type FirstName = components['schemas']['FirstName'];
36
+ type FspId = components['schemas']['FspId'];
37
+ type FxCharge = components['schemas']['FxCharge'];
38
+ type FxConversion = components['schemas']['FxConversion'];
39
+ type FxMoney = components['schemas']['FxMoney'];
40
+ type FxQuotesIDPutResponse = components['schemas']['FxQuotesIDPutResponse'];
41
+ type FxQuotesPostRequest = components['schemas']['FxQuotesPostRequest'];
42
+ type FxRate = components['schemas']['FxRate'];
43
+ type FxTransfersIDPatchResponse = components['schemas']['FxTransfersIDPatchResponse'];
44
+ type FxTransfersIDPutResponse = components['schemas']['FxTransfersIDPutResponse'];
45
+ type FxTransfersPostRequest = components['schemas']['FxTransfersPostRequest'];
46
+ type GeoCode = components['schemas']['GeoCode'];
47
+ type IlpCondition = components['schemas']['IlpCondition'];
48
+ type IlpFulfilment = components['schemas']['IlpFulfilment'];
49
+ type IlpPacket = components['schemas']['IlpPacket'];
50
+ type IndividualQuote = components['schemas']['IndividualQuote'];
51
+ type IndividualQuoteResult = components['schemas']['IndividualQuoteResult'];
52
+ type IndividualTransfer = components['schemas']['IndividualTransfer'];
53
+ type IndividualTransferResult = components['schemas']['IndividualTransferResult'];
54
+ type Integer = components['schemas']['Integer'];
55
+ type KYCInformation = components['schemas']['KYCInformation'];
56
+ type LastName = components['schemas']['LastName'];
57
+ type Latitude = components['schemas']['Latitude'];
58
+ type Longitude = components['schemas']['Longitude'];
59
+ type MerchantClassificationCode = components['schemas']['MerchantClassificationCode'];
60
+ type MiddleName = components['schemas']['MiddleName'];
61
+ type Money = components['schemas']['Money'];
62
+ type Name = components['schemas']['Name'];
63
+ type Note = components['schemas']['Note'];
64
+ type OtpValue = components['schemas']['OtpValue'];
65
+ type ParticipantsIDPutResponse = components['schemas']['ParticipantsIDPutResponse'];
66
+ type ParticipantsPostRequest = components['schemas']['ParticipantsPostRequest'];
67
+ type ParticipantsTypeIDPutResponse = components['schemas']['ParticipantsTypeIDPutResponse'];
68
+ type ParticipantsTypeIDSubIDPostRequest = components['schemas']['ParticipantsTypeIDSubIDPostRequest'];
69
+ type PartiesTypeIDPutResponse = components['schemas']['PartiesTypeIDPutResponse'];
70
+ type Party = components['schemas']['Party'];
71
+ type PartyComplexName = components['schemas']['PartyComplexName'];
72
+ type PartyIdInfo = components['schemas']['PartyIdInfo'];
73
+ type PartyIdType = components['schemas']['PartyIdType'];
74
+ type PartyIdentifier = components['schemas']['PartyIdentifier'];
75
+ type PartyName = components['schemas']['PartyName'];
76
+ type PartyPersonalInfo = components['schemas']['PartyPersonalInfo'];
77
+ type PartyResult = components['schemas']['PartyResult'];
78
+ type PartySubIdOrType = components['schemas']['PartySubIdOrType'];
79
+ type PersonalIdentifierType = components['schemas']['PersonalIdentifierType'];
80
+ type QRCODE = components['schemas']['QRCODE'];
81
+ type QuotesIDPutResponse = components['schemas']['QuotesIDPutResponse'];
82
+ type QuotesPostRequest = components['schemas']['QuotesPostRequest'];
83
+ type Refund = components['schemas']['Refund'];
84
+ type RefundReason = components['schemas']['RefundReason'];
85
+ type ServicesFXPPutResponse = components['schemas']['ServicesFXPPutResponse'];
86
+ type ServicesFXPSourceCurrencyTargetCurrencyPutResponse = components['schemas']['ServicesFXPSourceCurrencyTargetCurrencyPutResponse'];
87
+ type TokenCode = components['schemas']['TokenCode'];
88
+ type Transaction = components['schemas']['Transaction'];
89
+ type TransactionInitiator = components['schemas']['TransactionInitiator'];
90
+ type TransactionInitiatorType = components['schemas']['TransactionInitiatorType'];
91
+ type TransactionRequestState = components['schemas']['TransactionRequestState'];
92
+ type TransactionRequestsIDPutResponse = components['schemas']['TransactionRequestsIDPutResponse'];
93
+ type TransactionRequestsPostRequest = components['schemas']['TransactionRequestsPostRequest'];
94
+ type TransactionScenario = components['schemas']['TransactionScenario'];
95
+ type TransactionState = components['schemas']['TransactionState'];
96
+ type TransactionSubScenario = components['schemas']['TransactionSubScenario'];
97
+ type TransactionType = components['schemas']['TransactionType'];
98
+ type TransactionsIDPutResponse = components['schemas']['TransactionsIDPutResponse'];
99
+ type TransferState = components['schemas']['TransferState'];
100
+ type TransfersIDPatchResponse = components['schemas']['TransfersIDPatchResponse'];
101
+ type TransfersIDPutResponse = components['schemas']['TransfersIDPutResponse'];
102
+ type TransfersPostRequest = components['schemas']['TransfersPostRequest'];
103
+ type U2FPIN = components['schemas']['U2FPIN'];
104
+ type U2FPinValue = components['schemas']['U2FPinValue'];
105
+ type UndefinedEnum = components['schemas']['UndefinedEnum'];
106
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ /* eslint-disable @typescript-eslint/no-namespace */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/fspiop/v2_0/types.ts"],"names":[],"mappings":";AAAA,oDAAoD"}
package/package.json CHANGED
@@ -1,16 +1,18 @@
1
1
  {
2
2
  "name": "@mojaloop/api-snippets",
3
- "version": "17.4.0",
3
+ "version": "17.5.0",
4
4
  "description": "Mojaloop API specification reusable snippets",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
7
7
  "scripts": {
8
8
  "audit:fix": "npm audit fix",
9
9
  "audit:check": "npx audit-ci --config ./audit-ci.jsonc",
10
- "build": "npm run build:openapi; npm run build:dto; npm run build:schemas:v2.0.0; npm run build:schemas:v2.1.0; tsc -p ./tsconfig.build.json",
10
+ "build": "npm run build:openapi; npm run build:dto; npm run build:schemas; tsc -p ./tsconfig.build.json",
11
11
  "build:dto": "npm run build:dto:v1.0; npm run build:dto:v1.1; npm run build:dto:v2.0; npm run build:dto:thirdparty; npm run build:dto:sdk-scheme-adapter:v2.0.0; npm run build:dto:sdk-scheme-adapter:v2.1.0;",
12
- "build:schemas:v2.0.0": "npm run build:schemas:sdk-scheme-adapter:backend:v2.0.0; npm run build:schemas:sdk-scheme-adapter:outbound:v2.0.0;",
13
- "build:schemas:v2.1.0": "npm run build:schemas:sdk-scheme-adapter:backend:v2.1.0; npm run build:schemas:sdk-scheme-adapter:outbound:v2.1.0;",
12
+ "build:schemas": "npm run build:schemas:fspiop:v2.0; npm run build:schemas:sdk-scheme-adapter:v2.0.0; npm run build:schemas:sdk-scheme-adapter:v2.1.0;",
13
+ "build:schemas:fspiop:v2.0": "npx ts-node --transpile-only src/scripts/json-schema-generator.ts docs/fspiop-rest-v2.0-openapi3-snippets.yaml src/fspiop/v2_0",
14
+ "build:schemas:sdk-scheme-adapter:v2.0.0": "npm run build:schemas:sdk-scheme-adapter:backend:v2.0.0; npm run build:schemas:sdk-scheme-adapter:outbound:v2.0.0;",
15
+ "build:schemas:sdk-scheme-adapter:v2.1.0": "npm run build:schemas:sdk-scheme-adapter:backend:v2.1.0; npm run build:schemas:sdk-scheme-adapter:outbound:v2.1.0;",
14
16
  "build:dto:v1.0": "openapi-typescript docs/fspiop-rest-v1.0-openapi3-snippets.yaml --output src/fspiop/v1_0/openapi.ts",
15
17
  "build:dto:v1.1": "openapi-typescript docs/fspiop-rest-v1.1-openapi3-snippets.yaml --output src/fspiop/v1_1/openapi.ts",
16
18
  "build:dto:v2.0": "openapi-typescript docs/fspiop-rest-v2.0-openapi3-snippets.yaml --output src/fspiop/v2_0/openapi.ts",
@@ -75,53 +77,53 @@
75
77
  "dependencies": {
76
78
  "@apidevtools/json-schema-ref-parser": "^9.1.2",
77
79
  "@redocly/openapi-core": "^1.5.0",
78
- "commander": "^11.1.0",
80
+ "commander": "^12.1.0",
79
81
  "jest-ts-auto-mock": "^2.1.0",
80
82
  "js-yaml": "^4.1.0",
81
83
  "json-refs": "^3.0.15",
82
84
  "openapi-types": "^12.1.3",
83
- "openapi-typescript": "^6.7.2",
84
- "ts-auto-mock": "^3.7.1"
85
+ "openapi-typescript": "^6.7.6",
86
+ "ts-auto-mock": "^3.7.3"
85
87
  },
86
88
  "overrides": {
87
89
  "@types/cacheable-request": "^6.0.2",
88
90
  "@types/responselike": "^1.0.0"
89
91
  },
90
92
  "devDependencies": {
91
- "@commitlint/cli": "^18.4.3",
92
- "@commitlint/config-conventional": "^18.4.3",
93
+ "@commitlint/cli": "^19.3.0",
94
+ "@commitlint/config-conventional": "^19.2.2",
93
95
  "@redocly/openapi-cli": "^1.0.0-beta.94",
94
96
  "@redocly/cli": "^1.5.0",
95
- "@types/jest": "^29.5.10",
97
+ "@types/jest": "^29.5.12",
96
98
  "@types/js-yaml": "^4.0.9",
97
- "@typescript-eslint/eslint-plugin": "^6.13.2",
98
- "@typescript-eslint/parser": "^6.13.2",
99
- "audit-ci": "^6.6.1",
100
- "browser-sync": "^2.29.3",
101
- "diff": "^5.1.0",
99
+ "@typescript-eslint/eslint-plugin": "^7.11.0",
100
+ "@typescript-eslint/parser": "^7.11.0",
101
+ "audit-ci": "^7.0.0",
102
+ "browser-sync": "^3.0.2",
103
+ "diff": "^5.2.0",
102
104
  "eslint": "^8.55.0",
103
105
  "eslint-config-prettier": "^9.1.0",
104
106
  "eslint-config-standard": "^17.1.0",
105
107
  "eslint-import-resolver-typescript": "^3.6.1",
106
108
  "eslint-plugin-cucumber": "^2.0.0",
107
- "eslint-plugin-import": "^2.29.0",
109
+ "eslint-plugin-import": "^2.29.1",
108
110
  "eslint-plugin-node": "^11.1.0",
109
- "eslint-plugin-prettier": "^5.0.1",
110
- "eslint-plugin-promise": "^6.1.1",
111
+ "eslint-plugin-prettier": "^5.1.3",
112
+ "eslint-plugin-promise": "^6.2.0",
111
113
  "eslint-plugin-standard": "^5.0.0",
112
- "husky": "8.0.3",
114
+ "husky": "9.0.11",
113
115
  "jest": "^29.7.0",
114
116
  "jest-junit": "^16.0.0",
115
- "lint-staged": "^15.2.0",
116
- "npm-check-updates": "^16.14.11",
117
- "prettier": "^3.1.0",
117
+ "lint-staged": "^15.2.5",
118
+ "npm-check-updates": "^16.14.20",
119
+ "prettier": "^3.3.0",
118
120
  "standard-version": "^9.5.0",
119
121
  "swagger-cli": "^4.0.4",
120
- "ts-jest": "^29.1.1",
121
- "ts-node": "^10.9.1",
122
- "ts-patch": "^3.0.2",
122
+ "ts-jest": "^29.1.4",
123
+ "ts-node": "^10.9.2",
124
+ "ts-patch": "^3.1.2",
123
125
  "tslib": "^2.6.2",
124
- "typescript": "^5.3.2"
126
+ "typescript": "^5.4.5"
125
127
  },
126
128
  "publishConfig": {
127
129
  "registry": "https://registry.npmjs.org/"