@gigapay-dev/contracts 1.8.6 → 2.0.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/README.md +1 -0
- package/build/client.d.ts +934 -0
- package/build/client.d.ts.map +1 -0
- package/build/client.js +184 -0
- package/build/client.js.map +1 -0
- package/build/commands/api-response.d.ts +1 -0
- package/build/commands/api-response.d.ts.map +1 -0
- package/build/commands/api-response.js +1 -0
- package/build/commands/api-response.js.map +1 -0
- package/build/commands/auth/confirm.d.ts +1 -0
- package/build/commands/auth/confirm.d.ts.map +1 -0
- package/build/commands/auth/confirm.js +1 -0
- package/build/commands/auth/confirm.js.map +1 -0
- package/build/commands/auth/endpoints.d.ts +1 -0
- package/build/commands/auth/endpoints.d.ts.map +1 -0
- package/build/commands/auth/endpoints.js +1 -0
- package/build/commands/auth/endpoints.js.map +1 -0
- package/build/commands/auth/index.d.ts +2 -0
- package/build/commands/auth/index.d.ts.map +1 -0
- package/build/commands/auth/index.js +2 -0
- package/build/commands/auth/index.js.map +1 -0
- package/build/commands/auth/login.d.ts +1 -0
- package/build/commands/auth/login.d.ts.map +1 -0
- package/build/commands/auth/login.js +1 -0
- package/build/commands/auth/login.js.map +1 -0
- package/build/commands/auth/profile.d.ts +1 -0
- package/build/commands/auth/profile.d.ts.map +1 -0
- package/build/commands/auth/profile.js +1 -0
- package/build/commands/auth/profile.js.map +1 -0
- package/build/commands/auth/register.d.ts +1 -0
- package/build/commands/auth/register.d.ts.map +1 -0
- package/build/commands/auth/register.js +1 -0
- package/build/commands/auth/register.js.map +1 -0
- package/build/commands/auth/reset.d.ts +1 -0
- package/build/commands/auth/reset.d.ts.map +1 -0
- package/build/commands/auth/reset.js +1 -0
- package/build/commands/auth/reset.js.map +1 -0
- package/build/commands/common.d.ts +65 -0
- package/build/commands/common.d.ts.map +1 -0
- package/build/commands/common.js +29 -0
- package/build/commands/common.js.map +1 -0
- package/build/commands/consts.d.ts +1 -0
- package/build/commands/consts.d.ts.map +1 -0
- package/build/commands/consts.js +1 -0
- package/build/commands/consts.js.map +1 -0
- package/build/commands/endpoints.d.ts +4643 -0
- package/build/commands/endpoints.d.ts.map +1 -0
- package/build/commands/endpoints.js +26 -0
- package/build/commands/endpoints.js.map +1 -0
- package/build/commands/index.d.ts +3 -0
- package/build/commands/index.d.ts.map +1 -0
- package/build/commands/index.js +3 -0
- package/build/commands/index.js.map +1 -0
- package/build/commands/orders/create.d.ts +5 -0
- package/build/commands/orders/create.d.ts.map +1 -0
- package/build/commands/orders/create.js +3 -0
- package/build/commands/orders/create.js.map +1 -0
- package/build/commands/orders/endpoints.d.ts +40 -24
- package/build/commands/orders/endpoints.d.ts.map +1 -0
- package/build/commands/orders/endpoints.js +1 -0
- package/build/commands/orders/endpoints.js.map +1 -0
- package/build/commands/orders/enums.d.ts +1 -0
- package/build/commands/orders/enums.d.ts.map +1 -0
- package/build/commands/orders/enums.js +1 -0
- package/build/commands/orders/enums.js.map +1 -0
- package/build/commands/orders/index.d.ts +1 -0
- package/build/commands/orders/index.d.ts.map +1 -0
- package/build/commands/orders/index.js +1 -0
- package/build/commands/orders/index.js.map +1 -0
- package/build/commands/orders/query.d.ts +7 -6
- package/build/commands/orders/query.d.ts.map +1 -0
- package/build/commands/orders/query.js +1 -0
- package/build/commands/orders/query.js.map +1 -0
- package/build/commands/orders/read.d.ts +8 -3
- package/build/commands/orders/read.d.ts.map +1 -0
- package/build/commands/orders/read.js +4 -1
- package/build/commands/orders/read.js.map +1 -0
- package/build/commands/orders/update.d.ts +1 -0
- package/build/commands/orders/update.d.ts.map +1 -0
- package/build/commands/orders/update.js +1 -0
- package/build/commands/orders/update.js.map +1 -0
- package/build/commands/pagination.d.ts +8 -7
- package/build/commands/pagination.d.ts.map +1 -0
- package/build/commands/pagination.js +5 -7
- package/build/commands/pagination.js.map +1 -0
- package/build/commands/payment-methods/create.d.ts +1 -0
- package/build/commands/payment-methods/create.d.ts.map +1 -0
- package/build/commands/payment-methods/create.js +1 -0
- package/build/commands/payment-methods/create.js.map +1 -0
- package/build/commands/payment-methods/endpoints.d.ts +1 -0
- package/build/commands/payment-methods/endpoints.d.ts.map +1 -0
- package/build/commands/payment-methods/endpoints.js +1 -0
- package/build/commands/payment-methods/endpoints.js.map +1 -0
- package/build/commands/payment-methods/index.d.ts +1 -0
- package/build/commands/payment-methods/index.d.ts.map +1 -0
- package/build/commands/payment-methods/index.js +1 -0
- package/build/commands/payment-methods/index.js.map +1 -0
- package/build/commands/payment-methods/read.d.ts +1 -0
- package/build/commands/payment-methods/read.d.ts.map +1 -0
- package/build/commands/payment-methods/read.js +1 -0
- package/build/commands/payment-methods/read.js.map +1 -0
- package/build/commands/payment-methods/update.d.ts +1 -0
- package/build/commands/payment-methods/update.d.ts.map +1 -0
- package/build/commands/payment-methods/update.js +1 -0
- package/build/commands/payment-methods/update.js.map +1 -0
- package/build/commands/products/create.d.ts +13 -0
- package/build/commands/products/create.d.ts.map +1 -0
- package/build/commands/products/create.js +7 -0
- package/build/commands/products/create.js.map +1 -0
- package/build/commands/products/endpoints.d.ts +99 -0
- package/build/commands/products/endpoints.d.ts.map +1 -0
- package/build/commands/products/endpoints.js +1 -0
- package/build/commands/products/endpoints.js.map +1 -0
- package/build/commands/products/enums.d.ts +1 -0
- package/build/commands/products/enums.d.ts.map +1 -0
- package/build/commands/products/enums.js +1 -0
- package/build/commands/products/enums.js.map +1 -0
- package/build/commands/products/index.d.ts +1 -0
- package/build/commands/products/index.d.ts.map +1 -0
- package/build/commands/products/index.js +1 -0
- package/build/commands/products/index.js.map +1 -0
- package/build/commands/products/query.d.ts +1 -0
- package/build/commands/products/query.d.ts.map +1 -0
- package/build/commands/products/query.js +1 -0
- package/build/commands/products/query.js.map +1 -0
- package/build/commands/products/read.d.ts +55 -0
- package/build/commands/products/read.d.ts.map +1 -0
- package/build/commands/products/read.js +11 -0
- package/build/commands/products/read.js.map +1 -0
- package/build/commands/products/update.d.ts +7 -0
- package/build/commands/products/update.d.ts.map +1 -0
- package/build/commands/products/update.js +1 -0
- package/build/commands/products/update.js.map +1 -0
- package/build/commands/promocode-activations/create.d.ts +1 -0
- package/build/commands/promocode-activations/create.d.ts.map +1 -0
- package/build/commands/promocode-activations/create.js +1 -0
- package/build/commands/promocode-activations/create.js.map +1 -0
- package/build/commands/promocode-activations/endpoints.d.ts +158 -0
- package/build/commands/promocode-activations/endpoints.d.ts.map +1 -0
- package/build/commands/promocode-activations/endpoints.js +39 -0
- package/build/commands/promocode-activations/endpoints.js.map +1 -0
- package/build/commands/promocode-activations/index.d.ts +2 -0
- package/build/commands/promocode-activations/index.d.ts.map +1 -0
- package/build/commands/promocode-activations/index.js +2 -0
- package/build/commands/promocode-activations/index.js.map +1 -0
- package/build/commands/promocode-activations/read.d.ts +1 -0
- package/build/commands/promocode-activations/read.d.ts.map +1 -0
- package/build/commands/promocode-activations/read.js +1 -0
- package/build/commands/promocode-activations/read.js.map +1 -0
- package/build/commands/promocode-activations/update.d.ts +1 -0
- package/build/commands/promocode-activations/update.d.ts.map +1 -0
- package/build/commands/promocode-activations/update.js +1 -0
- package/build/commands/promocode-activations/update.js.map +1 -0
- package/build/commands/promocodes/create.d.ts +1 -0
- package/build/commands/promocodes/create.d.ts.map +1 -0
- package/build/commands/promocodes/create.js +1 -0
- package/build/commands/promocodes/create.js.map +1 -0
- package/build/commands/promocodes/endpoints.d.ts +1 -0
- package/build/commands/promocodes/endpoints.d.ts.map +1 -0
- package/build/commands/promocodes/endpoints.js +1 -0
- package/build/commands/promocodes/endpoints.js.map +1 -0
- package/build/commands/promocodes/enums.d.ts +1 -0
- package/build/commands/promocodes/enums.d.ts.map +1 -0
- package/build/commands/promocodes/enums.js +1 -0
- package/build/commands/promocodes/enums.js.map +1 -0
- package/build/commands/promocodes/index.d.ts +1 -0
- package/build/commands/promocodes/index.d.ts.map +1 -0
- package/build/commands/promocodes/index.js +1 -0
- package/build/commands/promocodes/index.js.map +1 -0
- package/build/commands/promocodes/read.d.ts +1 -0
- package/build/commands/promocodes/read.d.ts.map +1 -0
- package/build/commands/promocodes/read.js +1 -0
- package/build/commands/promocodes/read.js.map +1 -0
- package/build/commands/promocodes/update.d.ts +1 -0
- package/build/commands/promocodes/update.d.ts.map +1 -0
- package/build/commands/promocodes/update.js +1 -0
- package/build/commands/promocodes/update.js.map +1 -0
- package/build/commands/refresh-sessions/create.d.ts +1 -0
- package/build/commands/refresh-sessions/create.d.ts.map +1 -0
- package/build/commands/refresh-sessions/create.js +1 -0
- package/build/commands/refresh-sessions/create.js.map +1 -0
- package/build/commands/refresh-sessions/endpoints.d.ts +216 -0
- package/build/commands/refresh-sessions/endpoints.d.ts.map +1 -0
- package/build/commands/refresh-sessions/endpoints.js +47 -0
- package/build/commands/refresh-sessions/endpoints.js.map +1 -0
- package/build/commands/refresh-sessions/enums.d.ts +1 -0
- package/build/commands/refresh-sessions/enums.d.ts.map +1 -0
- package/build/commands/refresh-sessions/enums.js +1 -0
- package/build/commands/refresh-sessions/enums.js.map +1 -0
- package/build/commands/refresh-sessions/index.d.ts +2 -0
- package/build/commands/refresh-sessions/index.d.ts.map +1 -0
- package/build/commands/refresh-sessions/index.js +2 -0
- package/build/commands/refresh-sessions/index.js.map +1 -0
- package/build/commands/refresh-sessions/read.d.ts +1 -0
- package/build/commands/refresh-sessions/read.d.ts.map +1 -0
- package/build/commands/refresh-sessions/read.js +1 -0
- package/build/commands/refresh-sessions/read.js.map +1 -0
- package/build/commands/refresh-sessions/update.d.ts +1 -0
- package/build/commands/refresh-sessions/update.d.ts.map +1 -0
- package/build/commands/refresh-sessions/update.js +1 -0
- package/build/commands/refresh-sessions/update.js.map +1 -0
- package/build/commands/settings/endpoints.d.ts +1 -0
- package/build/commands/settings/endpoints.d.ts.map +1 -0
- package/build/commands/settings/endpoints.js +1 -0
- package/build/commands/settings/endpoints.js.map +1 -0
- package/build/commands/settings/index.d.ts +1 -0
- package/build/commands/settings/index.d.ts.map +1 -0
- package/build/commands/settings/index.js +1 -0
- package/build/commands/settings/index.js.map +1 -0
- package/build/commands/settings/read.d.ts +1 -0
- package/build/commands/settings/read.d.ts.map +1 -0
- package/build/commands/settings/read.js +1 -0
- package/build/commands/settings/read.js.map +1 -0
- package/build/commands/settings/update.d.ts +1 -0
- package/build/commands/settings/update.d.ts.map +1 -0
- package/build/commands/settings/update.js +1 -0
- package/build/commands/settings/update.js.map +1 -0
- package/build/commands/stats/endpoints.d.ts +1 -0
- package/build/commands/stats/endpoints.d.ts.map +1 -0
- package/build/commands/stats/endpoints.js +1 -0
- package/build/commands/stats/endpoints.js.map +1 -0
- package/build/commands/stats/index.d.ts +1 -0
- package/build/commands/stats/index.d.ts.map +1 -0
- package/build/commands/stats/index.js +1 -0
- package/build/commands/stats/index.js.map +1 -0
- package/build/commands/stats/query.d.ts +1 -0
- package/build/commands/stats/query.d.ts.map +1 -0
- package/build/commands/stats/query.js +1 -0
- package/build/commands/stats/query.js.map +1 -0
- package/build/commands/stats/read.d.ts +1 -0
- package/build/commands/stats/read.d.ts.map +1 -0
- package/build/commands/stats/read.js +1 -0
- package/build/commands/stats/read.js.map +1 -0
- package/build/commands/users/create.d.ts +1 -0
- package/build/commands/users/create.d.ts.map +1 -0
- package/build/commands/users/create.js +1 -0
- package/build/commands/users/create.js.map +1 -0
- package/build/commands/users/endpoints.d.ts +7 -6
- package/build/commands/users/endpoints.d.ts.map +1 -0
- package/build/commands/users/endpoints.js +1 -0
- package/build/commands/users/endpoints.js.map +1 -0
- package/build/commands/users/enums.d.ts +1 -0
- package/build/commands/users/enums.d.ts.map +1 -0
- package/build/commands/users/enums.js +1 -0
- package/build/commands/users/enums.js.map +1 -0
- package/build/commands/users/index.d.ts +1 -0
- package/build/commands/users/index.d.ts.map +1 -0
- package/build/commands/users/index.js +1 -0
- package/build/commands/users/index.js.map +1 -0
- package/build/commands/users/query.d.ts +7 -6
- package/build/commands/users/query.d.ts.map +1 -0
- package/build/commands/users/query.js +1 -0
- package/build/commands/users/query.js.map +1 -0
- package/build/commands/users/read.d.ts +1 -0
- package/build/commands/users/read.d.ts.map +1 -0
- package/build/commands/users/read.js +1 -0
- package/build/commands/users/read.js.map +1 -0
- package/build/commands/users/update.d.ts +1 -0
- package/build/commands/users/update.d.ts.map +1 -0
- package/build/commands/users/update.js +1 -0
- package/build/commands/users/update.js.map +1 -0
- package/build/index.d.ts +1 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +1 -0
- package/build/index.js.map +1 -0
- package/build/types.d.ts +1 -0
- package/build/types.d.ts.map +1 -0
- package/build/types.js +1 -0
- package/build/types.js.map +1 -0
- package/package.json +48 -17
- package/commands/api-response.ts +0 -10
- package/commands/auth/confirm.ts +0 -10
- package/commands/auth/endpoints.ts +0 -51
- package/commands/auth/index.ts +0 -5
- package/commands/auth/login.ts +0 -13
- package/commands/auth/profile.ts +0 -10
- package/commands/auth/register.ts +0 -8
- package/commands/auth/reset.ts +0 -9
- package/commands/consts.ts +0 -1
- package/commands/index.ts +0 -13
- package/commands/orders/create.ts +0 -41
- package/commands/orders/endpoints.ts +0 -51
- package/commands/orders/enums.ts +0 -25
- package/commands/orders/index.ts +0 -6
- package/commands/orders/query.ts +0 -46
- package/commands/orders/read.ts +0 -83
- package/commands/orders/update.ts +0 -16
- package/commands/pagination.ts +0 -8
- package/commands/payment-methods/create.ts +0 -19
- package/commands/payment-methods/endpoints.ts +0 -67
- package/commands/payment-methods/index.ts +0 -4
- package/commands/payment-methods/read.ts +0 -30
- package/commands/payment-methods/update.ts +0 -19
- package/commands/products/create.ts +0 -134
- package/commands/products/endpoints.ts +0 -108
- package/commands/products/enums.ts +0 -33
- package/commands/products/index.ts +0 -6
- package/commands/products/query.ts +0 -52
- package/commands/products/read.ts +0 -268
- package/commands/products/update.ts +0 -11
- package/commands/promocode-activations/create.ts +0 -10
- package/commands/promocode-activations/index.ts +0 -3
- package/commands/promocode-activations/read.ts +0 -11
- package/commands/promocode-activations/update.ts +0 -10
- package/commands/promocodes/create.ts +0 -18
- package/commands/promocodes/endpoints.ts +0 -62
- package/commands/promocodes/enums.ts +0 -9
- package/commands/promocodes/index.ts +0 -5
- package/commands/promocodes/read.ts +0 -20
- package/commands/promocodes/update.ts +0 -16
- package/commands/refresh-sessions/create.ts +0 -13
- package/commands/refresh-sessions/enums.ts +0 -4
- package/commands/refresh-sessions/index.ts +0 -4
- package/commands/refresh-sessions/read.ts +0 -14
- package/commands/refresh-sessions/update.ts +0 -13
- package/commands/settings/endpoints.ts +0 -52
- package/commands/settings/index.ts +0 -3
- package/commands/settings/read.ts +0 -10
- package/commands/settings/update.ts +0 -10
- package/commands/stats/endpoints.ts +0 -23
- package/commands/stats/index.ts +0 -3
- package/commands/stats/query.ts +0 -18
- package/commands/stats/read.ts +0 -14
- package/commands/users/create.ts +0 -19
- package/commands/users/endpoints.ts +0 -47
- package/commands/users/enums.ts +0 -10
- package/commands/users/index.ts +0 -6
- package/commands/users/query.ts +0 -20
- package/commands/users/read.ts +0 -25
- package/commands/users/update.ts +0 -19
- package/index.ts +0 -1
- package/tsconfig.json +0 -111
- package/types.ts +0 -9
|
@@ -137,6 +137,7 @@ export declare const RegionResponseSchema: z.ZodObject<{
|
|
|
137
137
|
export declare const VariantCatalogSchema: z.ZodObject<{
|
|
138
138
|
id: z.ZodNumber;
|
|
139
139
|
name: z.ZodString;
|
|
140
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
140
141
|
price: z.ZodString;
|
|
141
142
|
originalPrice: z.ZodNullable<z.ZodString>;
|
|
142
143
|
platform: z.ZodNullable<z.ZodString>;
|
|
@@ -145,6 +146,7 @@ export declare const VariantCatalogSchema: z.ZodObject<{
|
|
|
145
146
|
id: number;
|
|
146
147
|
price: string;
|
|
147
148
|
name: string;
|
|
149
|
+
imageUrl: string | null;
|
|
148
150
|
originalPrice: string | null;
|
|
149
151
|
platform: string | null;
|
|
150
152
|
regionCode: string | null;
|
|
@@ -152,6 +154,7 @@ export declare const VariantCatalogSchema: z.ZodObject<{
|
|
|
152
154
|
id: number;
|
|
153
155
|
price: string;
|
|
154
156
|
name: string;
|
|
157
|
+
imageUrl: string | null;
|
|
155
158
|
originalPrice: string | null;
|
|
156
159
|
platform: string | null;
|
|
157
160
|
regionCode: string | null;
|
|
@@ -161,6 +164,7 @@ export declare const VariantDetailSchema: z.ZodObject<{
|
|
|
161
164
|
id: z.ZodNumber;
|
|
162
165
|
name: z.ZodString;
|
|
163
166
|
sku: z.ZodString;
|
|
167
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
164
168
|
price: z.ZodString;
|
|
165
169
|
originalPrice: z.ZodNullable<z.ZodString>;
|
|
166
170
|
topupAmount: z.ZodNullable<z.ZodString>;
|
|
@@ -175,6 +179,7 @@ export declare const VariantDetailSchema: z.ZodObject<{
|
|
|
175
179
|
price: string;
|
|
176
180
|
name: string;
|
|
177
181
|
sku: string;
|
|
182
|
+
imageUrl: string | null;
|
|
178
183
|
originalPrice: string | null;
|
|
179
184
|
topupAmount: string | null;
|
|
180
185
|
currency: string | null;
|
|
@@ -188,6 +193,7 @@ export declare const VariantDetailSchema: z.ZodObject<{
|
|
|
188
193
|
price: string;
|
|
189
194
|
name: string;
|
|
190
195
|
sku: string;
|
|
196
|
+
imageUrl: string | null;
|
|
191
197
|
originalPrice: string | null;
|
|
192
198
|
topupAmount: string | null;
|
|
193
199
|
currency: string | null;
|
|
@@ -252,6 +258,8 @@ export declare const DlcBriefSchema: z.ZodObject<{
|
|
|
252
258
|
slug: z.ZodString;
|
|
253
259
|
title: z.ZodString;
|
|
254
260
|
coverImageUrl: z.ZodNullable<z.ZodString>;
|
|
261
|
+
catalogImageUrl: z.ZodNullable<z.ZodString>;
|
|
262
|
+
cardImageUrl: z.ZodNullable<z.ZodString>;
|
|
255
263
|
variants: z.ZodArray<z.ZodObject<{
|
|
256
264
|
price: z.ZodAny;
|
|
257
265
|
originalPrice: z.ZodAny;
|
|
@@ -267,6 +275,8 @@ export declare const DlcBriefSchema: z.ZodObject<{
|
|
|
267
275
|
slug: string;
|
|
268
276
|
title: string;
|
|
269
277
|
coverImageUrl: string | null;
|
|
278
|
+
catalogImageUrl: string | null;
|
|
279
|
+
cardImageUrl: string | null;
|
|
270
280
|
variants: {
|
|
271
281
|
price?: any;
|
|
272
282
|
originalPrice?: any;
|
|
@@ -276,6 +286,8 @@ export declare const DlcBriefSchema: z.ZodObject<{
|
|
|
276
286
|
slug: string;
|
|
277
287
|
title: string;
|
|
278
288
|
coverImageUrl: string | null;
|
|
289
|
+
catalogImageUrl: string | null;
|
|
290
|
+
cardImageUrl: string | null;
|
|
279
291
|
variants: {
|
|
280
292
|
price?: any;
|
|
281
293
|
originalPrice?: any;
|
|
@@ -289,6 +301,8 @@ export declare const ProductCatalogResponseSchema: z.ZodObject<{
|
|
|
289
301
|
type: z.ZodString;
|
|
290
302
|
shortDescription: z.ZodNullable<z.ZodString>;
|
|
291
303
|
coverImageUrl: z.ZodNullable<z.ZodString>;
|
|
304
|
+
catalogImageUrl: z.ZodNullable<z.ZodString>;
|
|
305
|
+
cardImageUrl: z.ZodNullable<z.ZodString>;
|
|
292
306
|
steamRating: z.ZodNullable<z.ZodNumber>;
|
|
293
307
|
hasMultiplayer: z.ZodBoolean;
|
|
294
308
|
hasCoop: z.ZodBoolean;
|
|
@@ -328,6 +342,7 @@ export declare const ProductCatalogResponseSchema: z.ZodObject<{
|
|
|
328
342
|
variants: z.ZodArray<z.ZodObject<{
|
|
329
343
|
id: z.ZodNumber;
|
|
330
344
|
name: z.ZodString;
|
|
345
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
331
346
|
price: z.ZodString;
|
|
332
347
|
originalPrice: z.ZodNullable<z.ZodString>;
|
|
333
348
|
platform: z.ZodNullable<z.ZodString>;
|
|
@@ -336,6 +351,7 @@ export declare const ProductCatalogResponseSchema: z.ZodObject<{
|
|
|
336
351
|
id: number;
|
|
337
352
|
price: string;
|
|
338
353
|
name: string;
|
|
354
|
+
imageUrl: string | null;
|
|
339
355
|
originalPrice: string | null;
|
|
340
356
|
platform: string | null;
|
|
341
357
|
regionCode: string | null;
|
|
@@ -343,6 +359,7 @@ export declare const ProductCatalogResponseSchema: z.ZodObject<{
|
|
|
343
359
|
id: number;
|
|
344
360
|
price: string;
|
|
345
361
|
name: string;
|
|
362
|
+
imageUrl: string | null;
|
|
346
363
|
originalPrice: string | null;
|
|
347
364
|
platform: string | null;
|
|
348
365
|
regionCode: string | null;
|
|
@@ -356,6 +373,8 @@ export declare const ProductCatalogResponseSchema: z.ZodObject<{
|
|
|
356
373
|
title: string;
|
|
357
374
|
shortDescription: string | null;
|
|
358
375
|
coverImageUrl: string | null;
|
|
376
|
+
catalogImageUrl: string | null;
|
|
377
|
+
cardImageUrl: string | null;
|
|
359
378
|
publisher: string | null;
|
|
360
379
|
releaseDate: Date | null;
|
|
361
380
|
hasMultiplayer: boolean;
|
|
@@ -364,6 +383,7 @@ export declare const ProductCatalogResponseSchema: z.ZodObject<{
|
|
|
364
383
|
id: number;
|
|
365
384
|
price: string;
|
|
366
385
|
name: string;
|
|
386
|
+
imageUrl: string | null;
|
|
367
387
|
originalPrice: string | null;
|
|
368
388
|
platform: string | null;
|
|
369
389
|
regionCode: string | null;
|
|
@@ -391,6 +411,8 @@ export declare const ProductCatalogResponseSchema: z.ZodObject<{
|
|
|
391
411
|
title: string;
|
|
392
412
|
shortDescription: string | null;
|
|
393
413
|
coverImageUrl: string | null;
|
|
414
|
+
catalogImageUrl: string | null;
|
|
415
|
+
cardImageUrl: string | null;
|
|
394
416
|
publisher: string | null;
|
|
395
417
|
releaseDate: Date | null;
|
|
396
418
|
hasMultiplayer: boolean;
|
|
@@ -399,6 +421,7 @@ export declare const ProductCatalogResponseSchema: z.ZodObject<{
|
|
|
399
421
|
id: number;
|
|
400
422
|
price: string;
|
|
401
423
|
name: string;
|
|
424
|
+
imageUrl: string | null;
|
|
402
425
|
originalPrice: string | null;
|
|
403
426
|
platform: string | null;
|
|
404
427
|
regionCode: string | null;
|
|
@@ -432,6 +455,8 @@ export declare const ProductDetailResponseSchema: z.ZodObject<{
|
|
|
432
455
|
customDescription: z.ZodNullable<z.ZodString>;
|
|
433
456
|
shortDescription: z.ZodNullable<z.ZodString>;
|
|
434
457
|
coverImageUrl: z.ZodNullable<z.ZodString>;
|
|
458
|
+
catalogImageUrl: z.ZodNullable<z.ZodString>;
|
|
459
|
+
cardImageUrl: z.ZodNullable<z.ZodString>;
|
|
435
460
|
developer: z.ZodNullable<z.ZodString>;
|
|
436
461
|
publisher: z.ZodNullable<z.ZodString>;
|
|
437
462
|
releaseDate: z.ZodNullable<z.ZodDate>;
|
|
@@ -462,6 +487,7 @@ export declare const ProductDetailResponseSchema: z.ZodObject<{
|
|
|
462
487
|
id: z.ZodNumber;
|
|
463
488
|
name: z.ZodString;
|
|
464
489
|
sku: z.ZodString;
|
|
490
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
465
491
|
price: z.ZodString;
|
|
466
492
|
originalPrice: z.ZodNullable<z.ZodString>;
|
|
467
493
|
topupAmount: z.ZodNullable<z.ZodString>;
|
|
@@ -476,6 +502,7 @@ export declare const ProductDetailResponseSchema: z.ZodObject<{
|
|
|
476
502
|
price: string;
|
|
477
503
|
name: string;
|
|
478
504
|
sku: string;
|
|
505
|
+
imageUrl: string | null;
|
|
479
506
|
originalPrice: string | null;
|
|
480
507
|
topupAmount: string | null;
|
|
481
508
|
currency: string | null;
|
|
@@ -489,6 +516,7 @@ export declare const ProductDetailResponseSchema: z.ZodObject<{
|
|
|
489
516
|
price: string;
|
|
490
517
|
name: string;
|
|
491
518
|
sku: string;
|
|
519
|
+
imageUrl: string | null;
|
|
492
520
|
originalPrice: string | null;
|
|
493
521
|
topupAmount: string | null;
|
|
494
522
|
currency: string | null;
|
|
@@ -596,6 +624,8 @@ export declare const ProductDetailResponseSchema: z.ZodObject<{
|
|
|
596
624
|
slug: z.ZodString;
|
|
597
625
|
title: z.ZodString;
|
|
598
626
|
coverImageUrl: z.ZodNullable<z.ZodString>;
|
|
627
|
+
catalogImageUrl: z.ZodNullable<z.ZodString>;
|
|
628
|
+
cardImageUrl: z.ZodNullable<z.ZodString>;
|
|
599
629
|
variants: z.ZodArray<z.ZodObject<{
|
|
600
630
|
price: z.ZodAny;
|
|
601
631
|
originalPrice: z.ZodAny;
|
|
@@ -611,6 +641,8 @@ export declare const ProductDetailResponseSchema: z.ZodObject<{
|
|
|
611
641
|
slug: string;
|
|
612
642
|
title: string;
|
|
613
643
|
coverImageUrl: string | null;
|
|
644
|
+
catalogImageUrl: string | null;
|
|
645
|
+
cardImageUrl: string | null;
|
|
614
646
|
variants: {
|
|
615
647
|
price?: any;
|
|
616
648
|
originalPrice?: any;
|
|
@@ -620,6 +652,8 @@ export declare const ProductDetailResponseSchema: z.ZodObject<{
|
|
|
620
652
|
slug: string;
|
|
621
653
|
title: string;
|
|
622
654
|
coverImageUrl: string | null;
|
|
655
|
+
catalogImageUrl: string | null;
|
|
656
|
+
cardImageUrl: string | null;
|
|
623
657
|
variants: {
|
|
624
658
|
price?: any;
|
|
625
659
|
originalPrice?: any;
|
|
@@ -640,6 +674,8 @@ export declare const ProductDetailResponseSchema: z.ZodObject<{
|
|
|
640
674
|
customDescription: string | null;
|
|
641
675
|
shortDescription: string | null;
|
|
642
676
|
coverImageUrl: string | null;
|
|
677
|
+
catalogImageUrl: string | null;
|
|
678
|
+
cardImageUrl: string | null;
|
|
643
679
|
developer: string | null;
|
|
644
680
|
publisher: string | null;
|
|
645
681
|
releaseDate: Date | null;
|
|
@@ -654,6 +690,7 @@ export declare const ProductDetailResponseSchema: z.ZodObject<{
|
|
|
654
690
|
price: string;
|
|
655
691
|
name: string;
|
|
656
692
|
sku: string;
|
|
693
|
+
imageUrl: string | null;
|
|
657
694
|
originalPrice: string | null;
|
|
658
695
|
topupAmount: string | null;
|
|
659
696
|
currency: string | null;
|
|
@@ -708,6 +745,8 @@ export declare const ProductDetailResponseSchema: z.ZodObject<{
|
|
|
708
745
|
slug: string;
|
|
709
746
|
title: string;
|
|
710
747
|
coverImageUrl: string | null;
|
|
748
|
+
catalogImageUrl: string | null;
|
|
749
|
+
cardImageUrl: string | null;
|
|
711
750
|
variants: {
|
|
712
751
|
price?: any;
|
|
713
752
|
originalPrice?: any;
|
|
@@ -726,6 +765,8 @@ export declare const ProductDetailResponseSchema: z.ZodObject<{
|
|
|
726
765
|
customDescription: string | null;
|
|
727
766
|
shortDescription: string | null;
|
|
728
767
|
coverImageUrl: string | null;
|
|
768
|
+
catalogImageUrl: string | null;
|
|
769
|
+
cardImageUrl: string | null;
|
|
729
770
|
developer: string | null;
|
|
730
771
|
publisher: string | null;
|
|
731
772
|
releaseDate: Date | null;
|
|
@@ -740,6 +781,7 @@ export declare const ProductDetailResponseSchema: z.ZodObject<{
|
|
|
740
781
|
price: string;
|
|
741
782
|
name: string;
|
|
742
783
|
sku: string;
|
|
784
|
+
imageUrl: string | null;
|
|
743
785
|
originalPrice: string | null;
|
|
744
786
|
topupAmount: string | null;
|
|
745
787
|
currency: string | null;
|
|
@@ -794,6 +836,8 @@ export declare const ProductDetailResponseSchema: z.ZodObject<{
|
|
|
794
836
|
slug: string;
|
|
795
837
|
title: string;
|
|
796
838
|
coverImageUrl: string | null;
|
|
839
|
+
catalogImageUrl: string | null;
|
|
840
|
+
cardImageUrl: string | null;
|
|
797
841
|
variants: {
|
|
798
842
|
price?: any;
|
|
799
843
|
originalPrice?: any;
|
|
@@ -825,6 +869,8 @@ export declare const SteamParseResponseSchema: z.ZodObject<{
|
|
|
825
869
|
description: z.ZodString;
|
|
826
870
|
shortDescription: z.ZodString;
|
|
827
871
|
coverImageUrl: z.ZodString;
|
|
872
|
+
catalogImageUrl: z.ZodString;
|
|
873
|
+
cardImageUrl: z.ZodString;
|
|
828
874
|
developer: z.ZodOptional<z.ZodString>;
|
|
829
875
|
publisher: z.ZodOptional<z.ZodString>;
|
|
830
876
|
releaseDate: z.ZodOptional<z.ZodString>;
|
|
@@ -930,6 +976,8 @@ export declare const SteamParseResponseSchema: z.ZodObject<{
|
|
|
930
976
|
description: string;
|
|
931
977
|
shortDescription: string;
|
|
932
978
|
coverImageUrl: string;
|
|
979
|
+
catalogImageUrl: string;
|
|
980
|
+
cardImageUrl: string;
|
|
933
981
|
steamAppId: number;
|
|
934
982
|
hasMultiplayer: boolean;
|
|
935
983
|
hasCoop: boolean;
|
|
@@ -966,6 +1014,8 @@ export declare const SteamParseResponseSchema: z.ZodObject<{
|
|
|
966
1014
|
description: string;
|
|
967
1015
|
shortDescription: string;
|
|
968
1016
|
coverImageUrl: string;
|
|
1017
|
+
catalogImageUrl: string;
|
|
1018
|
+
cardImageUrl: string;
|
|
969
1019
|
steamAppId: number;
|
|
970
1020
|
hasMultiplayer: boolean;
|
|
971
1021
|
hasCoop: boolean;
|
|
@@ -1066,6 +1116,8 @@ export declare const SteamParseResponseSchema: z.ZodObject<{
|
|
|
1066
1116
|
description: string;
|
|
1067
1117
|
shortDescription: string;
|
|
1068
1118
|
coverImageUrl: string;
|
|
1119
|
+
catalogImageUrl: string;
|
|
1120
|
+
cardImageUrl: string;
|
|
1069
1121
|
steamAppId: number;
|
|
1070
1122
|
hasMultiplayer: boolean;
|
|
1071
1123
|
hasCoop: boolean;
|
|
@@ -1116,6 +1168,8 @@ export declare const SteamParseResponseSchema: z.ZodObject<{
|
|
|
1116
1168
|
description: string;
|
|
1117
1169
|
shortDescription: string;
|
|
1118
1170
|
coverImageUrl: string;
|
|
1171
|
+
catalogImageUrl: string;
|
|
1172
|
+
cardImageUrl: string;
|
|
1119
1173
|
steamAppId: number;
|
|
1120
1174
|
hasMultiplayer: boolean;
|
|
1121
1175
|
hasCoop: boolean;
|
|
@@ -1176,3 +1230,4 @@ export type ProductCatalogResponse = z.infer<typeof ProductCatalogResponseSchema
|
|
|
1176
1230
|
export type ProductDetailResponse = z.infer<typeof ProductDetailResponseSchema>;
|
|
1177
1231
|
export type KeysCountResponse = z.infer<typeof KeysCountResponseSchema>;
|
|
1178
1232
|
export type SteamParseResponse = z.infer<typeof SteamParseResponseSchema>;
|
|
1233
|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ports.RegionResponseSchema = zod_1.default.object({
|
|
|
60
60
|
exports.VariantCatalogSchema = zod_1.default.object({
|
|
61
61
|
id: zod_1.default.number(),
|
|
62
62
|
name: zod_1.default.string(),
|
|
63
|
+
imageUrl: zod_1.default.string().nullable(),
|
|
63
64
|
price: zod_1.default.string(),
|
|
64
65
|
originalPrice: zod_1.default.string().nullable(),
|
|
65
66
|
platform: zod_1.default.string().nullable(),
|
|
@@ -70,6 +71,7 @@ exports.VariantDetailSchema = zod_1.default.object({
|
|
|
70
71
|
id: zod_1.default.number(),
|
|
71
72
|
name: zod_1.default.string(),
|
|
72
73
|
sku: zod_1.default.string(),
|
|
74
|
+
imageUrl: zod_1.default.string().nullable(),
|
|
73
75
|
price: zod_1.default.string(),
|
|
74
76
|
originalPrice: zod_1.default.string().nullable(),
|
|
75
77
|
topupAmount: zod_1.default.string().nullable(),
|
|
@@ -105,6 +107,8 @@ exports.DlcBriefSchema = zod_1.default.object({
|
|
|
105
107
|
slug: zod_1.default.string(),
|
|
106
108
|
title: zod_1.default.string(),
|
|
107
109
|
coverImageUrl: zod_1.default.string().nullable(),
|
|
110
|
+
catalogImageUrl: zod_1.default.string().nullable(),
|
|
111
|
+
cardImageUrl: zod_1.default.string().nullable(),
|
|
108
112
|
variants: zod_1.default.array(zod_1.default.object({
|
|
109
113
|
price: zod_1.default.any(),
|
|
110
114
|
originalPrice: zod_1.default.any(),
|
|
@@ -119,6 +123,8 @@ exports.ProductCatalogResponseSchema = zod_1.default.object({
|
|
|
119
123
|
type: zod_1.default.string(),
|
|
120
124
|
shortDescription: zod_1.default.string().nullable(),
|
|
121
125
|
coverImageUrl: zod_1.default.string().nullable(),
|
|
126
|
+
catalogImageUrl: zod_1.default.string().nullable(),
|
|
127
|
+
cardImageUrl: zod_1.default.string().nullable(),
|
|
122
128
|
steamRating: zod_1.default.number().nullable(),
|
|
123
129
|
hasMultiplayer: zod_1.default.boolean(),
|
|
124
130
|
hasCoop: zod_1.default.boolean(),
|
|
@@ -144,6 +150,8 @@ exports.ProductDetailResponseSchema = zod_1.default.object({
|
|
|
144
150
|
customDescription: zod_1.default.string().nullable(),
|
|
145
151
|
shortDescription: zod_1.default.string().nullable(),
|
|
146
152
|
coverImageUrl: zod_1.default.string().nullable(),
|
|
153
|
+
catalogImageUrl: zod_1.default.string().nullable(),
|
|
154
|
+
cardImageUrl: zod_1.default.string().nullable(),
|
|
147
155
|
developer: zod_1.default.string().nullable(),
|
|
148
156
|
publisher: zod_1.default.string().nullable(),
|
|
149
157
|
releaseDate: zod_1.default.coerce.date().nullable(),
|
|
@@ -192,6 +200,8 @@ const SteamParsedDataSchema = zod_1.default.object({
|
|
|
192
200
|
description: zod_1.default.string(),
|
|
193
201
|
shortDescription: zod_1.default.string(),
|
|
194
202
|
coverImageUrl: zod_1.default.string(),
|
|
203
|
+
catalogImageUrl: zod_1.default.string(),
|
|
204
|
+
cardImageUrl: zod_1.default.string(),
|
|
195
205
|
developer: zod_1.default.string().optional(),
|
|
196
206
|
publisher: zod_1.default.string().optional(),
|
|
197
207
|
releaseDate: zod_1.default.string().optional(),
|
|
@@ -229,3 +239,4 @@ exports.SteamParseResponseSchema = zod_1.default.object({
|
|
|
229
239
|
steam: SteamParsedDataSchema.nullable(),
|
|
230
240
|
dessly: DesslyParsedDataSchema.nullable(),
|
|
231
241
|
});
|
|
242
|
+
//# sourceMappingURL=read.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"read.js","sourceRoot":"","sources":["../../../commands/products/read.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAoB;AAGpB,0BAA0B;AAE1B,0BAA0B;AACb,QAAA,mBAAmB,GAAG,aAAC,CAAC,MAAM,CAAC;IAC3C,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,aAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC;AAEH,+CAA+C;AAClC,QAAA,sBAAsB,GAAG,aAAC,CAAC,MAAM,CAAC;IAC9C,E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K,CAAC,mBAAmB,CAAC;CACtC,CAAC,CAAC;AAEH,0CAA0C;AAC7B,QAAA,wBAAwB,GAAG,aAAC,CAAC,MAAM,CAAC;IAChD,KAAK,EAAE,qBAAqB,CAAC,QAAQ,EAAE;IACvC,MAAM,EAAE,sBAAsB,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC"}
|
|
@@ -11,6 +11,8 @@ export declare const ProductUpdateRequestSchema: z.ZodObject<{
|
|
|
11
11
|
customDescription: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12
12
|
shortDescription: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
13
13
|
coverImageUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
14
|
+
catalogImageUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
15
|
+
cardImageUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
14
16
|
developer: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
15
17
|
publisher: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
16
18
|
releaseDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -38,6 +40,8 @@ export declare const ProductUpdateRequestSchema: z.ZodObject<{
|
|
|
38
40
|
customDescription?: string | undefined;
|
|
39
41
|
shortDescription?: string | undefined;
|
|
40
42
|
coverImageUrl?: string | undefined;
|
|
43
|
+
catalogImageUrl?: string | undefined;
|
|
44
|
+
cardImageUrl?: string | undefined;
|
|
41
45
|
developer?: string | undefined;
|
|
42
46
|
publisher?: string | undefined;
|
|
43
47
|
releaseDate?: string | undefined;
|
|
@@ -62,6 +66,8 @@ export declare const ProductUpdateRequestSchema: z.ZodObject<{
|
|
|
62
66
|
customDescription?: string | undefined;
|
|
63
67
|
shortDescription?: string | undefined;
|
|
64
68
|
coverImageUrl?: string | undefined;
|
|
69
|
+
catalogImageUrl?: string | undefined;
|
|
70
|
+
cardImageUrl?: string | undefined;
|
|
65
71
|
developer?: string | undefined;
|
|
66
72
|
publisher?: string | undefined;
|
|
67
73
|
releaseDate?: string | undefined;
|
|
@@ -76,3 +82,4 @@ export declare const ProductUpdateRequestSchema: z.ZodObject<{
|
|
|
76
82
|
regionIds?: number[] | undefined;
|
|
77
83
|
}>;
|
|
78
84
|
export type ProductUpdateRequest = z.infer<typeof ProductUpdateRequestSchema>;
|
|
85
|
+
//# sourceMappingURL=update.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../commands/products/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,gDAAgD;AAChD,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;IACtC,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAErB,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.js","sourceRoot":"","sources":["../../../commands/products/update.ts"],"names":[],"mappings":";;;AACA,qCAAsD;AACtD,mCAAwC;AAExC,gDAAgD;AACnC,QAAA,0BAA0B,GAAG,mCAA0B,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC;IACrF,sBAAsB;IACtB,MAAM,EAAE,qBAAa,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../commands/promocode-activations/create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;EAK1C,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../commands/promocode-activations/create.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,+BAA+B,GAAG,OAAC,CAAC,MAAM,CAAC;IACvD,WAAW,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAC3B,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAC7B,aAAa,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE;IAChC,WAAW,EAAE,OAAC,CAAC,MAAM,CAAC,IAAI,EAAE;CAC/B,CAAC,CAAC"}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const PromoCodeActivationEndpoints: {
|
|
3
|
+
create: {
|
|
4
|
+
method: "POST";
|
|
5
|
+
path: string;
|
|
6
|
+
request: z.ZodObject<{
|
|
7
|
+
promocodeId: z.ZodNumber;
|
|
8
|
+
refferalId: z.ZodNumber;
|
|
9
|
+
discountValue: z.ZodNumber;
|
|
10
|
+
activatedAt: z.ZodDate;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
promocodeId: number;
|
|
13
|
+
discountValue: number;
|
|
14
|
+
refferalId: number;
|
|
15
|
+
activatedAt: Date;
|
|
16
|
+
}, {
|
|
17
|
+
promocodeId: number;
|
|
18
|
+
discountValue: number;
|
|
19
|
+
refferalId: number;
|
|
20
|
+
activatedAt: Date;
|
|
21
|
+
}>;
|
|
22
|
+
response: z.ZodObject<{
|
|
23
|
+
id: z.ZodNumber;
|
|
24
|
+
promocodeId: z.ZodNumber;
|
|
25
|
+
refferalId: z.ZodNumber;
|
|
26
|
+
discountValue: z.ZodString;
|
|
27
|
+
activatedAt: z.ZodDate;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
id: number;
|
|
30
|
+
promocodeId: number;
|
|
31
|
+
discountValue: string;
|
|
32
|
+
refferalId: number;
|
|
33
|
+
activatedAt: Date;
|
|
34
|
+
}, {
|
|
35
|
+
id: number;
|
|
36
|
+
promocodeId: number;
|
|
37
|
+
discountValue: string;
|
|
38
|
+
refferalId: number;
|
|
39
|
+
activatedAt: Date;
|
|
40
|
+
}>;
|
|
41
|
+
};
|
|
42
|
+
list: {
|
|
43
|
+
method: "GET";
|
|
44
|
+
path: string;
|
|
45
|
+
request: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
46
|
+
response: z.ZodArray<z.ZodObject<{
|
|
47
|
+
id: z.ZodNumber;
|
|
48
|
+
promocodeId: z.ZodNumber;
|
|
49
|
+
refferalId: z.ZodNumber;
|
|
50
|
+
discountValue: z.ZodString;
|
|
51
|
+
activatedAt: z.ZodDate;
|
|
52
|
+
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
id: number;
|
|
54
|
+
promocodeId: number;
|
|
55
|
+
discountValue: string;
|
|
56
|
+
refferalId: number;
|
|
57
|
+
activatedAt: Date;
|
|
58
|
+
}, {
|
|
59
|
+
id: number;
|
|
60
|
+
promocodeId: number;
|
|
61
|
+
discountValue: string;
|
|
62
|
+
refferalId: number;
|
|
63
|
+
activatedAt: Date;
|
|
64
|
+
}>, "many">;
|
|
65
|
+
};
|
|
66
|
+
getById: {
|
|
67
|
+
method: "GET";
|
|
68
|
+
path: string;
|
|
69
|
+
request: z.ZodObject<{
|
|
70
|
+
id: z.ZodNumber;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
id: number;
|
|
73
|
+
}, {
|
|
74
|
+
id: number;
|
|
75
|
+
}>;
|
|
76
|
+
response: z.ZodObject<{
|
|
77
|
+
id: z.ZodNumber;
|
|
78
|
+
promocodeId: z.ZodNumber;
|
|
79
|
+
refferalId: z.ZodNumber;
|
|
80
|
+
discountValue: z.ZodString;
|
|
81
|
+
activatedAt: z.ZodDate;
|
|
82
|
+
}, "strip", z.ZodTypeAny, {
|
|
83
|
+
id: number;
|
|
84
|
+
promocodeId: number;
|
|
85
|
+
discountValue: string;
|
|
86
|
+
refferalId: number;
|
|
87
|
+
activatedAt: Date;
|
|
88
|
+
}, {
|
|
89
|
+
id: number;
|
|
90
|
+
promocodeId: number;
|
|
91
|
+
discountValue: string;
|
|
92
|
+
refferalId: number;
|
|
93
|
+
activatedAt: Date;
|
|
94
|
+
}>;
|
|
95
|
+
};
|
|
96
|
+
update: {
|
|
97
|
+
method: "PATCH";
|
|
98
|
+
path: string;
|
|
99
|
+
request: z.ZodObject<{
|
|
100
|
+
id: z.ZodNumber;
|
|
101
|
+
body: z.ZodObject<{
|
|
102
|
+
promocodeId: z.ZodOptional<z.ZodNumber>;
|
|
103
|
+
refferalId: z.ZodOptional<z.ZodNumber>;
|
|
104
|
+
discountValue: z.ZodOptional<z.ZodNumber>;
|
|
105
|
+
activatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
106
|
+
}, "strip", z.ZodTypeAny, {
|
|
107
|
+
promocodeId?: number | undefined;
|
|
108
|
+
discountValue?: number | undefined;
|
|
109
|
+
refferalId?: number | undefined;
|
|
110
|
+
activatedAt?: Date | null | undefined;
|
|
111
|
+
}, {
|
|
112
|
+
promocodeId?: number | undefined;
|
|
113
|
+
discountValue?: number | undefined;
|
|
114
|
+
refferalId?: number | undefined;
|
|
115
|
+
activatedAt?: Date | null | undefined;
|
|
116
|
+
}>;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
id: number;
|
|
119
|
+
body: {
|
|
120
|
+
promocodeId?: number | undefined;
|
|
121
|
+
discountValue?: number | undefined;
|
|
122
|
+
refferalId?: number | undefined;
|
|
123
|
+
activatedAt?: Date | null | undefined;
|
|
124
|
+
};
|
|
125
|
+
}, {
|
|
126
|
+
id: number;
|
|
127
|
+
body: {
|
|
128
|
+
promocodeId?: number | undefined;
|
|
129
|
+
discountValue?: number | undefined;
|
|
130
|
+
refferalId?: number | undefined;
|
|
131
|
+
activatedAt?: Date | null | undefined;
|
|
132
|
+
};
|
|
133
|
+
}>;
|
|
134
|
+
response: z.ZodObject<{
|
|
135
|
+
id: z.ZodNumber;
|
|
136
|
+
promocodeId: z.ZodNumber;
|
|
137
|
+
refferalId: z.ZodNumber;
|
|
138
|
+
discountValue: z.ZodString;
|
|
139
|
+
activatedAt: z.ZodDate;
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
id: number;
|
|
142
|
+
promocodeId: number;
|
|
143
|
+
discountValue: string;
|
|
144
|
+
refferalId: number;
|
|
145
|
+
activatedAt: Date;
|
|
146
|
+
}, {
|
|
147
|
+
id: number;
|
|
148
|
+
promocodeId: number;
|
|
149
|
+
discountValue: string;
|
|
150
|
+
refferalId: number;
|
|
151
|
+
activatedAt: Date;
|
|
152
|
+
}>;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
export type PromoCodeActivationEndpointKey = keyof typeof PromoCodeActivationEndpoints;
|
|
156
|
+
export type GetPromoCodeActivationRequest<K extends PromoCodeActivationEndpointKey> = z.infer<typeof PromoCodeActivationEndpoints[K]["request"]>;
|
|
157
|
+
export type GetPromoCodeActivationResponse<K extends PromoCodeActivationEndpointKey> = z.infer<typeof PromoCodeActivationEndpoints[K]["response"]>;
|
|
158
|
+
//# sourceMappingURL=endpoints.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../../commands/promocode-activations/endpoints.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BG,CAAC;AAE7C,MAAM,MAAM,8BAA8B,GAAG,MAAM,OAAO,4BAA4B,CAAC;AAEvF,MAAM,MAAM,6BAA6B,CAAC,CAAC,SAAS,8BAA8B,IAC9E,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;AAE/D,MAAM,MAAM,8BAA8B,CAAC,CAAC,SAAS,8BAA8B,IAC/E,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PromoCodeActivationEndpoints = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const create_1 = require("./create");
|
|
6
|
+
const read_1 = require("./read");
|
|
7
|
+
const update_1 = require("./update");
|
|
8
|
+
exports.PromoCodeActivationEndpoints = {
|
|
9
|
+
create: {
|
|
10
|
+
method: "POST",
|
|
11
|
+
path: "/promo-code-activations",
|
|
12
|
+
request: create_1.PromoCodeActivationCreateSchema,
|
|
13
|
+
response: read_1.PromoCodeActivationReadResponseSchema,
|
|
14
|
+
},
|
|
15
|
+
list: {
|
|
16
|
+
method: "GET",
|
|
17
|
+
path: "/promo-code-activations",
|
|
18
|
+
request: zod_1.z.object({}),
|
|
19
|
+
response: zod_1.z.array(read_1.PromoCodeActivationReadResponseSchema),
|
|
20
|
+
},
|
|
21
|
+
getById: {
|
|
22
|
+
method: "GET",
|
|
23
|
+
path: "/promo-code-activations/:id",
|
|
24
|
+
request: zod_1.z.object({
|
|
25
|
+
id: zod_1.z.coerce.number().positive(),
|
|
26
|
+
}),
|
|
27
|
+
response: read_1.PromoCodeActivationReadResponseSchema,
|
|
28
|
+
},
|
|
29
|
+
update: {
|
|
30
|
+
method: "PATCH",
|
|
31
|
+
path: "/promo-code-activations/:id",
|
|
32
|
+
request: zod_1.z.object({
|
|
33
|
+
id: zod_1.z.coerce.number().positive(),
|
|
34
|
+
body: update_1.PromoCodeActivationUpdateSchema,
|
|
35
|
+
}),
|
|
36
|
+
response: read_1.PromoCodeActivationReadResponseSchema,
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=endpoints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../../commands/promocode-activations/endpoints.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,qCAA2D;AAC3D,iCAA+D;AAC/D,qCAA2D;AAE9C,QAAA,4BAA4B,GAAG;IACxC,MAAM,EAAE;QACJ,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,yBAAyB;QAC/B,OAAO,EAAE,wCAA+B;QACxC,QAAQ,EAAE,4CAAqC;KAClD;IACD,IAAI,EAAE;QACF,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,yBAAyB;QAC/B,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC;QACrB,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,4CAAqC,CAAC;KAC3D;IACD,OAAO,EAAE;QACL,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,6BAA6B;QACnC,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;YACd,EAAE,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SACnC,CAAC;QACF,QAAQ,EAAE,4CAAqC;KAClD;IACD,MAAM,EAAE;QACJ,MAAM,EAAE,OAAO;QACf,IAAI,EAAE,6BAA6B;QACnC,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;YACd,EAAE,EAAE,OAAC,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YAChC,IAAI,EAAE,wCAA+B;SACxC,CAAC;QACF,QAAQ,EAAE,4CAAqC;KAClD;CACuC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/promocode-activations/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA"}
|
|
@@ -17,3 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./create"), exports);
|
|
18
18
|
__exportStar(require("./read"), exports);
|
|
19
19
|
__exportStar(require("./update"), exports);
|
|
20
|
+
__exportStar(require("./endpoints"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../commands/promocode-activations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,yCAAsB;AACtB,2CAAwB;AACxB,8CAA2B"}
|