@gigapay-dev/contracts 3.7.0 → 3.9.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.
- package/build/domains/products/commands.d.ts +446 -0
- package/build/domains/products/commands.d.ts.map +1 -1
- package/build/domains/products/commands.js +117 -1
- package/build/domains/products/commands.js.map +1 -1
- package/build/domains/products/dtos.d.ts +37 -0
- package/build/domains/products/dtos.d.ts.map +1 -1
- package/build/domains/products/dtos.js +13 -1
- package/build/domains/products/dtos.js.map +1 -1
- package/build/domains/products/index.d.ts +214 -0
- package/build/domains/products/index.d.ts.map +1 -1
- package/build/domains/products/queries.d.ts +80 -0
- package/build/domains/products/queries.d.ts.map +1 -1
- package/build/index.d.ts +214 -0
- package/build/index.d.ts.map +1 -1
- package/package.json +43 -43
package/build/index.d.ts
CHANGED
|
@@ -837,6 +837,71 @@ export declare const AllEndpoints: {
|
|
|
837
837
|
readonly requiresAuth: true;
|
|
838
838
|
readonly requiresAdmin: true;
|
|
839
839
|
};
|
|
840
|
+
readonly update: {
|
|
841
|
+
readonly method: "PUT";
|
|
842
|
+
readonly path: "/api/admin/products/:id";
|
|
843
|
+
readonly params: import("zod").ZodObject<{
|
|
844
|
+
id: import("zod").ZodCoercedNumber<unknown>;
|
|
845
|
+
}, import("zod/v4/core").$strip>;
|
|
846
|
+
readonly request: import("zod").ZodObject<{
|
|
847
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
848
|
+
originalTitle: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
849
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
850
|
+
GAME_KEY: "GAME_KEY";
|
|
851
|
+
GAME_GIFT: "GAME_GIFT";
|
|
852
|
+
TOPUP: "TOPUP";
|
|
853
|
+
SUBSCRIPTION: "SUBSCRIPTION";
|
|
854
|
+
IN_GAME_ITEM: "IN_GAME_ITEM";
|
|
855
|
+
DLC: "DLC";
|
|
856
|
+
CURRENCY: "CURRENCY";
|
|
857
|
+
VOUCHER: "VOUCHER";
|
|
858
|
+
}>>;
|
|
859
|
+
description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
860
|
+
shortDescription: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
861
|
+
coverImageUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodURL>>;
|
|
862
|
+
catalogImageUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodURL>>;
|
|
863
|
+
cardImageUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodURL>>;
|
|
864
|
+
basePriceUsd: import("zod").ZodOptional<import("zod").ZodString>;
|
|
865
|
+
steamAppId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
866
|
+
categoryId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
867
|
+
}, import("zod/v4/core").$strip>;
|
|
868
|
+
readonly response: import("zod").ZodObject<{
|
|
869
|
+
id: import("zod").ZodNumber;
|
|
870
|
+
}, import("zod/v4/core").$strip>;
|
|
871
|
+
readonly requiresAuth: true;
|
|
872
|
+
readonly requiresAdmin: true;
|
|
873
|
+
};
|
|
874
|
+
readonly replaceMedia: {
|
|
875
|
+
readonly method: "PUT";
|
|
876
|
+
readonly path: "/api/admin/products/:id/media";
|
|
877
|
+
readonly params: import("zod").ZodObject<{
|
|
878
|
+
id: import("zod").ZodCoercedNumber<unknown>;
|
|
879
|
+
}, import("zod/v4/core").$strip>;
|
|
880
|
+
readonly request: import("zod").ZodObject<{
|
|
881
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
882
|
+
type: import("zod").ZodEnum<{
|
|
883
|
+
IMAGE: "IMAGE";
|
|
884
|
+
VIDEO: "VIDEO";
|
|
885
|
+
}>;
|
|
886
|
+
url: import("zod").ZodURL;
|
|
887
|
+
thumbnailUrl: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
888
|
+
}, import("zod/v4/core").$strip>>;
|
|
889
|
+
}, import("zod/v4/core").$strip>;
|
|
890
|
+
readonly response: import("zod").ZodObject<{
|
|
891
|
+
media: import("zod").ZodArray<import("zod").ZodObject<{
|
|
892
|
+
id: import("zod").ZodNumber;
|
|
893
|
+
type: import("zod").ZodEnum<{
|
|
894
|
+
IMAGE: "IMAGE";
|
|
895
|
+
VIDEO: "VIDEO";
|
|
896
|
+
}>;
|
|
897
|
+
url: import("zod").ZodString;
|
|
898
|
+
thumbnailUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
899
|
+
sortOrder: import("zod").ZodNumber;
|
|
900
|
+
}, import("zod/v4/core").$strip>>;
|
|
901
|
+
}, import("zod/v4/core").$strip>;
|
|
902
|
+
readonly requiresAuth: true;
|
|
903
|
+
readonly requiresAdmin: true;
|
|
904
|
+
};
|
|
840
905
|
readonly archive: {
|
|
841
906
|
readonly method: "POST";
|
|
842
907
|
readonly path: "/api/admin/products/:id/archive";
|
|
@@ -975,6 +1040,14 @@ export declare const AllEndpoints: {
|
|
|
975
1040
|
background: import("zod").ZodNullable<import("zod").ZodString>;
|
|
976
1041
|
screenshots: import("zod").ZodArray<import("zod").ZodString>;
|
|
977
1042
|
}, import("zod/v4/core").$strip>;
|
|
1043
|
+
gallery: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1044
|
+
type: import("zod").ZodEnum<{
|
|
1045
|
+
IMAGE: "IMAGE";
|
|
1046
|
+
VIDEO: "VIDEO";
|
|
1047
|
+
}>;
|
|
1048
|
+
url: import("zod").ZodURL;
|
|
1049
|
+
thumbnailUrl: import("zod").ZodOptional<import("zod").ZodURL>;
|
|
1050
|
+
}, import("zod/v4/core").$strip>>;
|
|
978
1051
|
appId: import("zod").ZodNumber;
|
|
979
1052
|
slug: import("zod").ZodString;
|
|
980
1053
|
title: import("zod").ZodString;
|
|
@@ -1013,6 +1086,107 @@ export declare const AllEndpoints: {
|
|
|
1013
1086
|
readonly requiresAuth: true;
|
|
1014
1087
|
readonly requiresAdmin: true;
|
|
1015
1088
|
};
|
|
1089
|
+
readonly importSteamGift: {
|
|
1090
|
+
readonly method: "POST";
|
|
1091
|
+
readonly path: "/api/admin/products/import/steam-gift";
|
|
1092
|
+
readonly request: import("zod").ZodObject<{
|
|
1093
|
+
regions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
1094
|
+
marginPct: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1095
|
+
limit: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1096
|
+
dryRun: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1097
|
+
}, import("zod/v4/core").$strip>;
|
|
1098
|
+
readonly response: import("zod").ZodObject<{
|
|
1099
|
+
id: import("zod").ZodString;
|
|
1100
|
+
source: import("zod").ZodString;
|
|
1101
|
+
status: import("zod").ZodEnum<{
|
|
1102
|
+
SUCCESS: "SUCCESS";
|
|
1103
|
+
FAILED: "FAILED";
|
|
1104
|
+
RUNNING: "RUNNING";
|
|
1105
|
+
}>;
|
|
1106
|
+
triggeredBy: import("zod").ZodString;
|
|
1107
|
+
dryRun: import("zod").ZodBoolean;
|
|
1108
|
+
totalGames: import("zod").ZodNumber;
|
|
1109
|
+
processedGames: import("zod").ZodNumber;
|
|
1110
|
+
stats: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1111
|
+
productsCreated: import("zod").ZodNumber;
|
|
1112
|
+
productsUpdated: import("zod").ZodNumber;
|
|
1113
|
+
variantsCreated: import("zod").ZodNumber;
|
|
1114
|
+
variantsUpdated: import("zod").ZodNumber;
|
|
1115
|
+
gamesSkipped: import("zod").ZodNumber;
|
|
1116
|
+
errors: import("zod").ZodNumber;
|
|
1117
|
+
}, import("zod/v4/core").$strip>>;
|
|
1118
|
+
errorMessage: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1119
|
+
startedAt: import("zod").ZodString;
|
|
1120
|
+
finishedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1121
|
+
}, import("zod/v4/core").$strip>;
|
|
1122
|
+
readonly requiresAuth: true;
|
|
1123
|
+
readonly requiresAdmin: true;
|
|
1124
|
+
};
|
|
1125
|
+
readonly getImportRun: {
|
|
1126
|
+
readonly method: "GET";
|
|
1127
|
+
readonly path: "/api/admin/products/import/runs/:id";
|
|
1128
|
+
readonly params: import("zod").ZodObject<{
|
|
1129
|
+
id: import("zod").ZodString;
|
|
1130
|
+
}, import("zod/v4/core").$strip>;
|
|
1131
|
+
readonly response: import("zod").ZodObject<{
|
|
1132
|
+
id: import("zod").ZodString;
|
|
1133
|
+
source: import("zod").ZodString;
|
|
1134
|
+
status: import("zod").ZodEnum<{
|
|
1135
|
+
SUCCESS: "SUCCESS";
|
|
1136
|
+
FAILED: "FAILED";
|
|
1137
|
+
RUNNING: "RUNNING";
|
|
1138
|
+
}>;
|
|
1139
|
+
triggeredBy: import("zod").ZodString;
|
|
1140
|
+
dryRun: import("zod").ZodBoolean;
|
|
1141
|
+
totalGames: import("zod").ZodNumber;
|
|
1142
|
+
processedGames: import("zod").ZodNumber;
|
|
1143
|
+
stats: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1144
|
+
productsCreated: import("zod").ZodNumber;
|
|
1145
|
+
productsUpdated: import("zod").ZodNumber;
|
|
1146
|
+
variantsCreated: import("zod").ZodNumber;
|
|
1147
|
+
variantsUpdated: import("zod").ZodNumber;
|
|
1148
|
+
gamesSkipped: import("zod").ZodNumber;
|
|
1149
|
+
errors: import("zod").ZodNumber;
|
|
1150
|
+
}, import("zod/v4/core").$strip>>;
|
|
1151
|
+
errorMessage: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1152
|
+
startedAt: import("zod").ZodString;
|
|
1153
|
+
finishedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1154
|
+
}, import("zod/v4/core").$strip>;
|
|
1155
|
+
readonly requiresAuth: true;
|
|
1156
|
+
readonly requiresAdmin: true;
|
|
1157
|
+
};
|
|
1158
|
+
readonly listImportRuns: {
|
|
1159
|
+
readonly method: "GET";
|
|
1160
|
+
readonly path: "/api/admin/products/import/runs";
|
|
1161
|
+
readonly response: import("zod").ZodObject<{
|
|
1162
|
+
runs: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1163
|
+
id: import("zod").ZodString;
|
|
1164
|
+
source: import("zod").ZodString;
|
|
1165
|
+
status: import("zod").ZodEnum<{
|
|
1166
|
+
SUCCESS: "SUCCESS";
|
|
1167
|
+
FAILED: "FAILED";
|
|
1168
|
+
RUNNING: "RUNNING";
|
|
1169
|
+
}>;
|
|
1170
|
+
triggeredBy: import("zod").ZodString;
|
|
1171
|
+
dryRun: import("zod").ZodBoolean;
|
|
1172
|
+
totalGames: import("zod").ZodNumber;
|
|
1173
|
+
processedGames: import("zod").ZodNumber;
|
|
1174
|
+
stats: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
1175
|
+
productsCreated: import("zod").ZodNumber;
|
|
1176
|
+
productsUpdated: import("zod").ZodNumber;
|
|
1177
|
+
variantsCreated: import("zod").ZodNumber;
|
|
1178
|
+
variantsUpdated: import("zod").ZodNumber;
|
|
1179
|
+
gamesSkipped: import("zod").ZodNumber;
|
|
1180
|
+
errors: import("zod").ZodNumber;
|
|
1181
|
+
}, import("zod/v4/core").$strip>>;
|
|
1182
|
+
errorMessage: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1183
|
+
startedAt: import("zod").ZodString;
|
|
1184
|
+
finishedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1185
|
+
}, import("zod/v4/core").$strip>>;
|
|
1186
|
+
}, import("zod/v4/core").$strip>;
|
|
1187
|
+
readonly requiresAuth: true;
|
|
1188
|
+
readonly requiresAdmin: true;
|
|
1189
|
+
};
|
|
1016
1190
|
readonly list: {
|
|
1017
1191
|
readonly method: "GET";
|
|
1018
1192
|
readonly path: "/api/products";
|
|
@@ -1095,6 +1269,16 @@ export declare const AllEndpoints: {
|
|
|
1095
1269
|
}>>;
|
|
1096
1270
|
isActive: import("zod").ZodBoolean;
|
|
1097
1271
|
}, import("zod/v4/core").$strip>>;
|
|
1272
|
+
media: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1273
|
+
id: import("zod").ZodNumber;
|
|
1274
|
+
type: import("zod").ZodEnum<{
|
|
1275
|
+
IMAGE: "IMAGE";
|
|
1276
|
+
VIDEO: "VIDEO";
|
|
1277
|
+
}>;
|
|
1278
|
+
url: import("zod").ZodString;
|
|
1279
|
+
thumbnailUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1280
|
+
sortOrder: import("zod").ZodNumber;
|
|
1281
|
+
}, import("zod/v4/core").$strip>>;
|
|
1098
1282
|
}, import("zod/v4/core").$strip>>;
|
|
1099
1283
|
total: import("zod").ZodNumber;
|
|
1100
1284
|
skip: import("zod").ZodNumber;
|
|
@@ -1169,6 +1353,16 @@ export declare const AllEndpoints: {
|
|
|
1169
1353
|
}>>;
|
|
1170
1354
|
isActive: import("zod").ZodBoolean;
|
|
1171
1355
|
}, import("zod/v4/core").$strip>>;
|
|
1356
|
+
media: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1357
|
+
id: import("zod").ZodNumber;
|
|
1358
|
+
type: import("zod").ZodEnum<{
|
|
1359
|
+
IMAGE: "IMAGE";
|
|
1360
|
+
VIDEO: "VIDEO";
|
|
1361
|
+
}>;
|
|
1362
|
+
url: import("zod").ZodString;
|
|
1363
|
+
thumbnailUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1364
|
+
sortOrder: import("zod").ZodNumber;
|
|
1365
|
+
}, import("zod/v4/core").$strip>>;
|
|
1172
1366
|
}, import("zod/v4/core").$strip>;
|
|
1173
1367
|
};
|
|
1174
1368
|
readonly getVariantStock: {
|
|
@@ -1241,6 +1435,16 @@ export declare const AllEndpoints: {
|
|
|
1241
1435
|
uah: import("zod").ZodString;
|
|
1242
1436
|
kzt: import("zod").ZodString;
|
|
1243
1437
|
}, import("zod/v4/core").$strip>;
|
|
1438
|
+
media: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1439
|
+
id: import("zod").ZodNumber;
|
|
1440
|
+
type: import("zod").ZodEnum<{
|
|
1441
|
+
IMAGE: "IMAGE";
|
|
1442
|
+
VIDEO: "VIDEO";
|
|
1443
|
+
}>;
|
|
1444
|
+
url: import("zod").ZodString;
|
|
1445
|
+
thumbnailUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1446
|
+
sortOrder: import("zod").ZodNumber;
|
|
1447
|
+
}, import("zod/v4/core").$strip>>;
|
|
1244
1448
|
originalTitle: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1245
1449
|
catalogImageUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1246
1450
|
cardImageUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
@@ -1360,6 +1564,16 @@ export declare const AllEndpoints: {
|
|
|
1360
1564
|
uah: import("zod").ZodString;
|
|
1361
1565
|
kzt: import("zod").ZodString;
|
|
1362
1566
|
}, import("zod/v4/core").$strip>;
|
|
1567
|
+
media: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1568
|
+
id: import("zod").ZodNumber;
|
|
1569
|
+
type: import("zod").ZodEnum<{
|
|
1570
|
+
IMAGE: "IMAGE";
|
|
1571
|
+
VIDEO: "VIDEO";
|
|
1572
|
+
}>;
|
|
1573
|
+
url: import("zod").ZodString;
|
|
1574
|
+
thumbnailUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1575
|
+
sortOrder: import("zod").ZodNumber;
|
|
1576
|
+
}, import("zod/v4/core").$strip>>;
|
|
1363
1577
|
originalTitle: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1364
1578
|
catalogImageUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
1365
1579
|
cardImageUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYf,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC;AAE/C,MAAM,MAAM,SAAS,GAAG,MAAM,YAAY,CAAC;AAC3C,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,SAAS,IAAI,MAAM,YAAY,CAAC,CAAC,CAAC,CAAC;AACrE,MAAM,MAAM,WAAW,CAAC,CAAC,SAAS,SAAS,EAAE,CAAC,SAAS,WAAW,CAAC,CAAC,CAAC,IAAI,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@gigapay-dev/contracts",
|
|
3
|
-
"version": "3.
|
|
4
|
-
"description": "API contracts for GigaPay v3 platform — Zod schemas, endpoint definitions, typed client",
|
|
5
|
-
"main": "./build/index.js",
|
|
6
|
-
"types": "./build/index.d.ts",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": {
|
|
9
|
-
"types": "./build/index.d.ts",
|
|
10
|
-
"import": "./build/index.js",
|
|
11
|
-
"require": "./build/index.js"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"files": [
|
|
15
|
-
"build/**"
|
|
16
|
-
],
|
|
17
|
-
"publishConfig": {
|
|
18
|
-
"access": "public"
|
|
19
|
-
},
|
|
20
|
-
"scripts": {
|
|
21
|
-
"build": "tsc",
|
|
22
|
-
"typecheck": "tsc --noEmit",
|
|
23
|
-
"prepublishOnly": "npm run build",
|
|
24
|
-
"version:patch": "npm version patch",
|
|
25
|
-
"version:minor": "npm version minor",
|
|
26
|
-
"version:major": "npm version major"
|
|
27
|
-
},
|
|
28
|
-
"keywords": [
|
|
29
|
-
"gigapay",
|
|
30
|
-
"contracts",
|
|
31
|
-
"api",
|
|
32
|
-
"zod",
|
|
33
|
-
"typescript"
|
|
34
|
-
],
|
|
35
|
-
"author": "sergei-js",
|
|
36
|
-
"license": "ISC",
|
|
37
|
-
"dependencies": {
|
|
38
|
-
"zod": "^4.4.3"
|
|
39
|
-
},
|
|
40
|
-
"devDependencies": {
|
|
41
|
-
"typescript": "^5.7.3"
|
|
42
|
-
}
|
|
43
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@gigapay-dev/contracts",
|
|
3
|
+
"version": "3.9.0",
|
|
4
|
+
"description": "API contracts for GigaPay v3 platform — Zod schemas, endpoint definitions, typed client",
|
|
5
|
+
"main": "./build/index.js",
|
|
6
|
+
"types": "./build/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./build/index.d.ts",
|
|
10
|
+
"import": "./build/index.js",
|
|
11
|
+
"require": "./build/index.js"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"build/**"
|
|
16
|
+
],
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "tsc",
|
|
22
|
+
"typecheck": "tsc --noEmit",
|
|
23
|
+
"prepublishOnly": "npm run build",
|
|
24
|
+
"version:patch": "npm version patch",
|
|
25
|
+
"version:minor": "npm version minor",
|
|
26
|
+
"version:major": "npm version major"
|
|
27
|
+
},
|
|
28
|
+
"keywords": [
|
|
29
|
+
"gigapay",
|
|
30
|
+
"contracts",
|
|
31
|
+
"api",
|
|
32
|
+
"zod",
|
|
33
|
+
"typescript"
|
|
34
|
+
],
|
|
35
|
+
"author": "sergei-js",
|
|
36
|
+
"license": "ISC",
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"zod": "^4.4.3"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"typescript": "^5.7.3"
|
|
42
|
+
}
|
|
43
|
+
}
|