@gigapay-dev/contracts 2.0.0 → 3.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/build/domains/admin/index.d.ts +150 -0
- package/build/domains/admin/index.d.ts.map +1 -0
- package/build/domains/admin/index.js +72 -0
- package/build/domains/admin/index.js.map +1 -0
- package/build/domains/auth/commands.d.ts +294 -0
- package/build/domains/auth/commands.d.ts.map +1 -0
- package/build/domains/auth/commands.js +116 -0
- package/build/domains/auth/commands.js.map +1 -0
- package/build/domains/auth/dtos.d.ts +37 -0
- package/build/domains/auth/dtos.d.ts.map +1 -0
- package/build/domains/auth/dtos.js +26 -0
- package/build/domains/auth/dtos.js.map +1 -0
- package/build/domains/auth/events.d.ts +35 -0
- package/build/domains/auth/events.d.ts.map +1 -0
- package/build/domains/auth/events.js +24 -0
- package/build/domains/auth/events.js.map +1 -0
- package/build/domains/auth/index.d.ts +165 -0
- package/build/domains/auth/index.d.ts.map +1 -0
- package/build/{commands/products → domains/auth}/index.js +11 -6
- package/build/domains/auth/index.js.map +1 -0
- package/build/domains/auth/queries.d.ts +75 -0
- package/build/domains/auth/queries.d.ts.map +1 -0
- package/build/domains/auth/queries.js +25 -0
- package/build/domains/auth/queries.js.map +1 -0
- package/build/domains/catalog/commands.d.ts +255 -0
- package/build/domains/catalog/commands.d.ts.map +1 -0
- package/build/domains/catalog/commands.js +82 -0
- package/build/domains/catalog/commands.js.map +1 -0
- package/build/domains/catalog/dtos.d.ts +89 -0
- package/build/domains/catalog/dtos.d.ts.map +1 -0
- package/build/domains/catalog/dtos.js +43 -0
- package/build/domains/catalog/dtos.js.map +1 -0
- package/build/domains/catalog/index.d.ts +194 -0
- package/build/domains/catalog/index.d.ts.map +1 -0
- package/build/{commands/payment-methods → domains/catalog}/index.js +10 -4
- package/build/domains/catalog/index.js.map +1 -0
- package/build/domains/catalog/queries.d.ts +168 -0
- package/build/domains/catalog/queries.d.ts.map +1 -0
- package/build/domains/catalog/queries.js +29 -0
- package/build/domains/catalog/queries.js.map +1 -0
- package/build/domains/config/index.d.ts +40 -0
- package/build/domains/config/index.d.ts.map +1 -0
- package/build/domains/config/index.js +18 -0
- package/build/domains/config/index.js.map +1 -0
- package/build/domains/orders/commands.d.ts +262 -0
- package/build/domains/orders/commands.d.ts.map +1 -0
- package/build/domains/orders/commands.js +47 -0
- package/build/domains/orders/commands.js.map +1 -0
- package/build/domains/orders/dtos.d.ts +112 -0
- package/build/domains/orders/dtos.d.ts.map +1 -0
- package/build/domains/orders/dtos.js +44 -0
- package/build/domains/orders/dtos.js.map +1 -0
- package/build/domains/orders/events.d.ts +21 -0
- package/build/domains/orders/events.d.ts.map +1 -0
- package/build/domains/orders/events.js +19 -0
- package/build/domains/orders/events.js.map +1 -0
- package/build/domains/orders/index.d.ts +381 -0
- package/build/domains/orders/index.d.ts.map +1 -0
- package/build/domains/orders/index.js +28 -0
- package/build/domains/orders/index.js.map +1 -0
- package/build/domains/orders/queries.d.ts +532 -0
- package/build/domains/orders/queries.d.ts.map +1 -0
- package/build/domains/orders/queries.js +40 -0
- package/build/domains/orders/queries.js.map +1 -0
- package/build/domains/payments/index.d.ts +96 -0
- package/build/domains/payments/index.d.ts.map +1 -0
- package/build/domains/payments/index.js +34 -0
- package/build/domains/payments/index.js.map +1 -0
- package/build/domains/products/commands.d.ts +302 -0
- package/build/domains/products/commands.d.ts.map +1 -0
- package/build/domains/products/commands.js +101 -0
- package/build/domains/products/commands.js.map +1 -0
- package/build/domains/products/dtos.d.ts +122 -0
- package/build/domains/products/dtos.d.ts.map +1 -0
- package/build/domains/products/dtos.js +54 -0
- package/build/domains/products/dtos.js.map +1 -0
- package/build/domains/products/index.d.ts +276 -0
- package/build/domains/products/index.d.ts.map +1 -0
- package/build/{commands/auth → domains/products}/index.js +10 -6
- package/build/domains/products/index.js.map +1 -0
- package/build/domains/products/queries.d.ts +334 -0
- package/build/domains/products/queries.d.ts.map +1 -0
- package/build/domains/products/queries.js +41 -0
- package/build/domains/products/queries.js.map +1 -0
- package/build/domains/promo-codes/index.d.ts +92 -0
- package/build/domains/promo-codes/index.d.ts.map +1 -0
- package/build/domains/promo-codes/index.js +40 -0
- package/build/domains/promo-codes/index.js.map +1 -0
- package/build/domains/stats/index.d.ts +274 -0
- package/build/domains/stats/index.d.ts.map +1 -0
- package/build/domains/stats/index.js +76 -0
- package/build/domains/stats/index.js.map +1 -0
- package/build/domains/users/dtos.d.ts +9 -0
- package/build/domains/users/dtos.d.ts.map +1 -0
- package/build/domains/users/dtos.js +11 -0
- package/build/domains/users/dtos.js.map +1 -0
- package/build/domains/users/index.d.ts +101 -0
- package/build/domains/users/index.d.ts.map +1 -0
- package/build/domains/users/index.js +52 -0
- package/build/domains/users/index.js.map +1 -0
- package/build/index.d.ts +1309 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +34 -1
- package/build/index.js.map +1 -1
- package/build/shared/api-response.d.ts +17 -0
- package/build/shared/api-response.d.ts.map +1 -0
- package/build/shared/api-response.js +22 -0
- package/build/shared/api-response.js.map +1 -0
- package/build/shared/common.d.ts +14 -0
- package/build/shared/common.d.ts.map +1 -0
- package/build/shared/common.js +8 -0
- package/build/shared/common.js.map +1 -0
- package/build/shared/errors.d.ts +34 -0
- package/build/shared/errors.d.ts.map +1 -0
- package/build/shared/errors.js +36 -0
- package/build/shared/errors.js.map +1 -0
- package/build/shared/index.d.ts +7 -0
- package/build/shared/index.d.ts.map +1 -0
- package/build/{commands/orders → shared}/index.js +6 -6
- package/build/shared/index.js.map +1 -0
- package/build/shared/money.d.ts +32 -0
- package/build/shared/money.d.ts.map +1 -0
- package/build/shared/money.js +20 -0
- package/build/shared/money.js.map +1 -0
- package/build/shared/pagination.d.ts +27 -0
- package/build/shared/pagination.d.ts.map +1 -0
- package/build/{commands/common.js → shared/pagination.js} +2 -9
- package/build/shared/pagination.js.map +1 -0
- package/build/shared/types.d.ts +20 -0
- package/build/shared/types.d.ts.map +1 -0
- package/build/shared/types.js.map +1 -0
- package/package.json +43 -48
- package/build/client.d.ts +0 -934
- package/build/client.d.ts.map +0 -1
- package/build/client.js +0 -184
- package/build/client.js.map +0 -1
- package/build/commands/api-response.d.ts +0 -19
- package/build/commands/api-response.d.ts.map +0 -1
- package/build/commands/api-response.js +0 -14
- package/build/commands/api-response.js.map +0 -1
- package/build/commands/auth/confirm.d.ts +0 -12
- package/build/commands/auth/confirm.d.ts.map +0 -1
- package/build/commands/auth/confirm.js +0 -12
- package/build/commands/auth/confirm.js.map +0 -1
- package/build/commands/auth/endpoints.d.ts +0 -115
- package/build/commands/auth/endpoints.d.ts.map +0 -1
- package/build/commands/auth/endpoints.js +0 -51
- package/build/commands/auth/endpoints.js.map +0 -1
- package/build/commands/auth/index.d.ts +0 -7
- package/build/commands/auth/index.d.ts.map +0 -1
- package/build/commands/auth/index.js.map +0 -1
- package/build/commands/auth/login.d.ts +0 -21
- package/build/commands/auth/login.d.ts.map +0 -1
- package/build/commands/auth/login.js +0 -12
- package/build/commands/auth/login.js.map +0 -1
- package/build/commands/auth/profile.d.ts +0 -19
- package/build/commands/auth/profile.d.ts.map +0 -1
- package/build/commands/auth/profile.js +0 -11
- package/build/commands/auth/profile.js.map +0 -1
- package/build/commands/auth/register.d.ts +0 -13
- package/build/commands/auth/register.d.ts.map +0 -1
- package/build/commands/auth/register.js +0 -12
- package/build/commands/auth/register.js.map +0 -1
- package/build/commands/auth/reset.d.ts +0 -13
- package/build/commands/auth/reset.d.ts.map +0 -1
- package/build/commands/auth/reset.js +0 -10
- package/build/commands/auth/reset.js.map +0 -1
- package/build/commands/common.d.ts +0 -65
- package/build/commands/common.d.ts.map +0 -1
- package/build/commands/common.js.map +0 -1
- package/build/commands/consts.d.ts +0 -2
- package/build/commands/consts.d.ts.map +0 -1
- package/build/commands/consts.js +0 -5
- package/build/commands/consts.js.map +0 -1
- package/build/commands/endpoints.d.ts +0 -4643
- package/build/commands/endpoints.d.ts.map +0 -1
- package/build/commands/endpoints.js +0 -26
- package/build/commands/endpoints.js.map +0 -1
- package/build/commands/index.d.ts +0 -16
- package/build/commands/index.d.ts.map +0 -1
- package/build/commands/index.js +0 -32
- package/build/commands/index.js.map +0 -1
- package/build/commands/orders/create.d.ts +0 -100
- package/build/commands/orders/create.d.ts.map +0 -1
- package/build/commands/orders/create.js +0 -43
- package/build/commands/orders/create.js.map +0 -1
- package/build/commands/orders/endpoints.d.ts +0 -742
- package/build/commands/orders/endpoints.d.ts.map +0 -1
- package/build/commands/orders/endpoints.js +0 -48
- package/build/commands/orders/endpoints.js.map +0 -1
- package/build/commands/orders/enums.d.ts +0 -8
- package/build/commands/orders/enums.d.ts.map +0 -1
- package/build/commands/orders/enums.js +0 -26
- package/build/commands/orders/enums.js.map +0 -1
- package/build/commands/orders/index.d.ts +0 -7
- package/build/commands/orders/index.d.ts.map +0 -1
- package/build/commands/orders/index.js.map +0 -1
- package/build/commands/orders/query.d.ts +0 -104
- package/build/commands/orders/query.d.ts.map +0 -1
- package/build/commands/orders/query.js +0 -46
- package/build/commands/orders/query.js.map +0 -1
- package/build/commands/orders/read.d.ts +0 -235
- package/build/commands/orders/read.d.ts.map +0 -1
- package/build/commands/orders/read.js +0 -84
- package/build/commands/orders/read.js.map +0 -1
- package/build/commands/orders/update.d.ts +0 -24
- package/build/commands/orders/update.d.ts.map +0 -1
- package/build/commands/orders/update.js +0 -17
- package/build/commands/orders/update.js.map +0 -1
- package/build/commands/pagination.d.ts +0 -13
- package/build/commands/pagination.d.ts.map +0 -1
- package/build/commands/pagination.js +0 -9
- package/build/commands/pagination.js.map +0 -1
- package/build/commands/payment-methods/create.d.ts +0 -46
- package/build/commands/payment-methods/create.d.ts.map +0 -1
- package/build/commands/payment-methods/create.js +0 -23
- package/build/commands/payment-methods/create.js.map +0 -1
- package/build/commands/payment-methods/endpoints.d.ts +0 -537
- package/build/commands/payment-methods/endpoints.d.ts.map +0 -1
- package/build/commands/payment-methods/endpoints.js +0 -64
- package/build/commands/payment-methods/endpoints.js.map +0 -1
- package/build/commands/payment-methods/index.d.ts +0 -5
- package/build/commands/payment-methods/index.d.ts.map +0 -1
- package/build/commands/payment-methods/index.js.map +0 -1
- package/build/commands/payment-methods/read.d.ts +0 -72
- package/build/commands/payment-methods/read.d.ts.map +0 -1
- package/build/commands/payment-methods/read.js +0 -29
- package/build/commands/payment-methods/read.js.map +0 -1
- package/build/commands/payment-methods/update.d.ts +0 -46
- package/build/commands/payment-methods/update.d.ts.map +0 -1
- package/build/commands/payment-methods/update.js +0 -20
- package/build/commands/payment-methods/update.js.map +0 -1
- package/build/commands/products/create.d.ts +0 -242
- package/build/commands/products/create.d.ts.map +0 -1
- package/build/commands/products/create.js +0 -129
- package/build/commands/products/create.js.map +0 -1
- package/build/commands/products/endpoints.d.ts +0 -1980
- package/build/commands/products/endpoints.d.ts.map +0 -1
- package/build/commands/products/endpoints.js +0 -100
- package/build/commands/products/endpoints.js.map +0 -1
- package/build/commands/products/enums.d.ts +0 -20
- package/build/commands/products/enums.d.ts.map +0 -1
- package/build/commands/products/enums.js +0 -28
- package/build/commands/products/enums.js.map +0 -1
- package/build/commands/products/index.d.ts +0 -7
- package/build/commands/products/index.d.ts.map +0 -1
- package/build/commands/products/index.js.map +0 -1
- package/build/commands/products/query.d.ts +0 -80
- package/build/commands/products/query.d.ts.map +0 -1
- package/build/commands/products/query.js +0 -56
- package/build/commands/products/query.js.map +0 -1
- package/build/commands/products/read.d.ts +0 -1233
- package/build/commands/products/read.d.ts.map +0 -1
- package/build/commands/products/read.js +0 -242
- package/build/commands/products/read.js.map +0 -1
- package/build/commands/products/update.d.ts +0 -85
- package/build/commands/products/update.d.ts.map +0 -1
- package/build/commands/products/update.js +0 -11
- package/build/commands/products/update.js.map +0 -1
- package/build/commands/promocode-activations/create.d.ts +0 -19
- package/build/commands/promocode-activations/create.d.ts.map +0 -1
- package/build/commands/promocode-activations/create.js +0 -11
- package/build/commands/promocode-activations/create.js.map +0 -1
- package/build/commands/promocode-activations/endpoints.d.ts +0 -158
- package/build/commands/promocode-activations/endpoints.d.ts.map +0 -1
- package/build/commands/promocode-activations/endpoints.js +0 -39
- package/build/commands/promocode-activations/endpoints.js.map +0 -1
- package/build/commands/promocode-activations/index.d.ts +0 -5
- package/build/commands/promocode-activations/index.d.ts.map +0 -1
- package/build/commands/promocode-activations/index.js +0 -21
- package/build/commands/promocode-activations/index.js.map +0 -1
- package/build/commands/promocode-activations/read.d.ts +0 -22
- package/build/commands/promocode-activations/read.d.ts.map +0 -1
- package/build/commands/promocode-activations/read.js +0 -15
- package/build/commands/promocode-activations/read.js.map +0 -1
- package/build/commands/promocode-activations/update.d.ts +0 -19
- package/build/commands/promocode-activations/update.d.ts.map +0 -1
- package/build/commands/promocode-activations/update.js +0 -11
- package/build/commands/promocode-activations/update.js.map +0 -1
- package/build/commands/promocodes/create.d.ts +0 -40
- package/build/commands/promocodes/create.d.ts.map +0 -1
- package/build/commands/promocodes/create.js +0 -19
- package/build/commands/promocodes/create.js.map +0 -1
- package/build/commands/promocodes/endpoints.d.ts +0 -354
- package/build/commands/promocodes/endpoints.d.ts.map +0 -1
- package/build/commands/promocodes/endpoints.js +0 -47
- package/build/commands/promocodes/endpoints.js.map +0 -1
- package/build/commands/promocodes/enums.d.ts +0 -6
- package/build/commands/promocodes/enums.d.ts.map +0 -1
- package/build/commands/promocodes/enums.js +0 -10
- package/build/commands/promocodes/enums.js.map +0 -1
- package/build/commands/promocodes/index.d.ts +0 -6
- package/build/commands/promocodes/index.d.ts.map +0 -1
- package/build/commands/promocodes/index.js +0 -22
- package/build/commands/promocodes/index.js.map +0 -1
- package/build/commands/promocodes/read.d.ts +0 -46
- package/build/commands/promocodes/read.d.ts.map +0 -1
- package/build/commands/promocodes/read.js +0 -24
- package/build/commands/promocodes/read.js.map +0 -1
- package/build/commands/promocodes/update.d.ts +0 -34
- package/build/commands/promocodes/update.d.ts.map +0 -1
- package/build/commands/promocodes/update.js +0 -17
- package/build/commands/promocodes/update.js.map +0 -1
- package/build/commands/refresh-sessions/create.d.ts +0 -25
- package/build/commands/refresh-sessions/create.d.ts.map +0 -1
- package/build/commands/refresh-sessions/create.js +0 -14
- package/build/commands/refresh-sessions/create.js.map +0 -1
- package/build/commands/refresh-sessions/endpoints.d.ts +0 -216
- package/build/commands/refresh-sessions/endpoints.d.ts.map +0 -1
- package/build/commands/refresh-sessions/endpoints.js +0 -47
- package/build/commands/refresh-sessions/endpoints.js.map +0 -1
- package/build/commands/refresh-sessions/enums.d.ts +0 -4
- package/build/commands/refresh-sessions/enums.d.ts.map +0 -1
- package/build/commands/refresh-sessions/enums.js +0 -9
- package/build/commands/refresh-sessions/enums.js.map +0 -1
- package/build/commands/refresh-sessions/index.d.ts +0 -6
- package/build/commands/refresh-sessions/index.d.ts.map +0 -1
- package/build/commands/refresh-sessions/index.js +0 -22
- package/build/commands/refresh-sessions/index.js.map +0 -1
- package/build/commands/refresh-sessions/read.d.ts +0 -28
- package/build/commands/refresh-sessions/read.d.ts.map +0 -1
- package/build/commands/refresh-sessions/read.js +0 -18
- package/build/commands/refresh-sessions/read.js.map +0 -1
- package/build/commands/refresh-sessions/update.d.ts +0 -25
- package/build/commands/refresh-sessions/update.d.ts.map +0 -1
- package/build/commands/refresh-sessions/update.js +0 -17
- package/build/commands/refresh-sessions/update.js.map +0 -1
- package/build/commands/settings/endpoints.d.ts +0 -109
- package/build/commands/settings/endpoints.d.ts.map +0 -1
- package/build/commands/settings/endpoints.js +0 -44
- package/build/commands/settings/endpoints.js.map +0 -1
- package/build/commands/settings/index.d.ts +0 -4
- package/build/commands/settings/index.d.ts.map +0 -1
- package/build/commands/settings/index.js +0 -20
- package/build/commands/settings/index.js.map +0 -1
- package/build/commands/settings/read.d.ts +0 -19
- package/build/commands/settings/read.d.ts.map +0 -1
- package/build/commands/settings/read.js +0 -11
- package/build/commands/settings/read.js.map +0 -1
- package/build/commands/settings/update.d.ts +0 -19
- package/build/commands/settings/update.d.ts.map +0 -1
- package/build/commands/settings/update.js +0 -11
- package/build/commands/settings/update.js.map +0 -1
- package/build/commands/stats/endpoints.d.ts +0 -68
- package/build/commands/stats/endpoints.d.ts.map +0 -1
- package/build/commands/stats/endpoints.js +0 -14
- package/build/commands/stats/endpoints.js.map +0 -1
- package/build/commands/stats/index.d.ts +0 -4
- package/build/commands/stats/index.d.ts.map +0 -1
- package/build/commands/stats/index.js +0 -20
- package/build/commands/stats/index.js.map +0 -1
- package/build/commands/stats/query.d.ts +0 -32
- package/build/commands/stats/query.d.ts.map +0 -1
- package/build/commands/stats/query.js +0 -16
- package/build/commands/stats/query.js.map +0 -1
- package/build/commands/stats/read.d.ts +0 -31
- package/build/commands/stats/read.d.ts.map +0 -1
- package/build/commands/stats/read.js +0 -18
- package/build/commands/stats/read.js.map +0 -1
- package/build/commands/users/create.d.ts +0 -43
- package/build/commands/users/create.d.ts.map +0 -1
- package/build/commands/users/create.js +0 -20
- package/build/commands/users/create.js.map +0 -1
- package/build/commands/users/endpoints.d.ts +0 -404
- package/build/commands/users/endpoints.d.ts.map +0 -1
- package/build/commands/users/endpoints.js +0 -40
- package/build/commands/users/endpoints.js.map +0 -1
- package/build/commands/users/enums.d.ts +0 -7
- package/build/commands/users/enums.d.ts.map +0 -1
- package/build/commands/users/enums.js +0 -11
- package/build/commands/users/enums.js.map +0 -1
- package/build/commands/users/index.d.ts +0 -7
- package/build/commands/users/index.d.ts.map +0 -1
- package/build/commands/users/index.js +0 -23
- package/build/commands/users/index.js.map +0 -1
- package/build/commands/users/query.d.ts +0 -53
- package/build/commands/users/query.d.ts.map +0 -1
- package/build/commands/users/query.js +0 -22
- package/build/commands/users/query.js.map +0 -1
- package/build/commands/users/read.d.ts +0 -61
- package/build/commands/users/read.d.ts.map +0 -1
- package/build/commands/users/read.js +0 -29
- package/build/commands/users/read.js.map +0 -1
- package/build/commands/users/update.d.ts +0 -43
- package/build/commands/users/update.d.ts.map +0 -1
- package/build/commands/users/update.js +0 -20
- package/build/commands/users/update.js.map +0 -1
- package/build/types.d.ts +0 -9
- package/build/types.d.ts.map +0 -1
- package/build/types.js.map +0 -1
- /package/build/{types.js → shared/types.js} +0 -0
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const AdminDashboardSummarySchema: z.ZodObject<{
|
|
3
|
+
usersTotal: z.ZodNumber;
|
|
4
|
+
ordersPending: z.ZodNumber;
|
|
5
|
+
ordersSucceeded: z.ZodNumber;
|
|
6
|
+
outboxPending: z.ZodNumber;
|
|
7
|
+
outboxOldestAgeSeconds: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
export declare const GetDashboardSummaryEndpoint: {
|
|
10
|
+
readonly method: "GET";
|
|
11
|
+
readonly path: "/api/admin/dashboard/summary";
|
|
12
|
+
readonly response: z.ZodObject<{
|
|
13
|
+
usersTotal: z.ZodNumber;
|
|
14
|
+
ordersPending: z.ZodNumber;
|
|
15
|
+
ordersSucceeded: z.ZodNumber;
|
|
16
|
+
outboxPending: z.ZodNumber;
|
|
17
|
+
outboxOldestAgeSeconds: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
readonly requiresAuth: true;
|
|
20
|
+
readonly requiresAdmin: true;
|
|
21
|
+
};
|
|
22
|
+
export declare const DesslyTxIdParamSchema: z.ZodObject<{
|
|
23
|
+
txId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
export declare const DesslyBalanceEndpoint: {
|
|
26
|
+
readonly method: "GET";
|
|
27
|
+
readonly path: "/api/admin/dessly/balance";
|
|
28
|
+
readonly response: z.ZodObject<{
|
|
29
|
+
balance: z.ZodString;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
readonly requiresAuth: true;
|
|
32
|
+
readonly requiresAdmin: true;
|
|
33
|
+
};
|
|
34
|
+
export declare const DesslySteamGamesEndpoint: {
|
|
35
|
+
readonly method: "GET";
|
|
36
|
+
readonly path: "/api/admin/dessly/steam/games";
|
|
37
|
+
readonly response: z.ZodObject<{
|
|
38
|
+
games: z.ZodArray<z.ZodObject<{
|
|
39
|
+
name: z.ZodString;
|
|
40
|
+
appid: z.ZodNumber;
|
|
41
|
+
}, z.core.$strip>>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
readonly requiresAuth: true;
|
|
44
|
+
readonly requiresAdmin: true;
|
|
45
|
+
};
|
|
46
|
+
export declare const DesslyMobileGamesEndpoint: {
|
|
47
|
+
readonly method: "GET";
|
|
48
|
+
readonly path: "/api/admin/dessly/mobile/games";
|
|
49
|
+
readonly response: z.ZodObject<{
|
|
50
|
+
games: z.ZodArray<z.ZodObject<{
|
|
51
|
+
id: z.ZodNumber;
|
|
52
|
+
name: z.ZodString;
|
|
53
|
+
}, z.core.$strip>>;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
readonly requiresAuth: true;
|
|
56
|
+
readonly requiresAdmin: true;
|
|
57
|
+
};
|
|
58
|
+
export declare const DesslyTransactionsEndpoint: {
|
|
59
|
+
readonly method: "GET";
|
|
60
|
+
readonly path: "/api/admin/dessly/transactions";
|
|
61
|
+
readonly query: z.ZodObject<{
|
|
62
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
readonly response: z.ZodObject<{
|
|
65
|
+
transactions: z.ZodArray<z.ZodObject<{
|
|
66
|
+
transaction_id: z.ZodString;
|
|
67
|
+
status: z.ZodString;
|
|
68
|
+
amount: z.ZodString;
|
|
69
|
+
commission: z.ZodString;
|
|
70
|
+
final_amount: z.ZodString;
|
|
71
|
+
created_at: z.ZodString;
|
|
72
|
+
updated_at: z.ZodString;
|
|
73
|
+
description: z.ZodString;
|
|
74
|
+
}, z.core.$strip>>;
|
|
75
|
+
count: z.ZodNumber;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
readonly requiresAuth: true;
|
|
78
|
+
readonly requiresAdmin: true;
|
|
79
|
+
};
|
|
80
|
+
export declare const AdminEndpoints: {
|
|
81
|
+
readonly dashboardSummary: {
|
|
82
|
+
readonly method: "GET";
|
|
83
|
+
readonly path: "/api/admin/dashboard/summary";
|
|
84
|
+
readonly response: z.ZodObject<{
|
|
85
|
+
usersTotal: z.ZodNumber;
|
|
86
|
+
ordersPending: z.ZodNumber;
|
|
87
|
+
ordersSucceeded: z.ZodNumber;
|
|
88
|
+
outboxPending: z.ZodNumber;
|
|
89
|
+
outboxOldestAgeSeconds: z.ZodNullable<z.ZodNumber>;
|
|
90
|
+
}, z.core.$strip>;
|
|
91
|
+
readonly requiresAuth: true;
|
|
92
|
+
readonly requiresAdmin: true;
|
|
93
|
+
};
|
|
94
|
+
readonly desslyBalance: {
|
|
95
|
+
readonly method: "GET";
|
|
96
|
+
readonly path: "/api/admin/dessly/balance";
|
|
97
|
+
readonly response: z.ZodObject<{
|
|
98
|
+
balance: z.ZodString;
|
|
99
|
+
}, z.core.$strip>;
|
|
100
|
+
readonly requiresAuth: true;
|
|
101
|
+
readonly requiresAdmin: true;
|
|
102
|
+
};
|
|
103
|
+
readonly desslySteamGames: {
|
|
104
|
+
readonly method: "GET";
|
|
105
|
+
readonly path: "/api/admin/dessly/steam/games";
|
|
106
|
+
readonly response: z.ZodObject<{
|
|
107
|
+
games: z.ZodArray<z.ZodObject<{
|
|
108
|
+
name: z.ZodString;
|
|
109
|
+
appid: z.ZodNumber;
|
|
110
|
+
}, z.core.$strip>>;
|
|
111
|
+
}, z.core.$strip>;
|
|
112
|
+
readonly requiresAuth: true;
|
|
113
|
+
readonly requiresAdmin: true;
|
|
114
|
+
};
|
|
115
|
+
readonly desslyMobileGames: {
|
|
116
|
+
readonly method: "GET";
|
|
117
|
+
readonly path: "/api/admin/dessly/mobile/games";
|
|
118
|
+
readonly response: z.ZodObject<{
|
|
119
|
+
games: z.ZodArray<z.ZodObject<{
|
|
120
|
+
id: z.ZodNumber;
|
|
121
|
+
name: z.ZodString;
|
|
122
|
+
}, z.core.$strip>>;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
readonly requiresAuth: true;
|
|
125
|
+
readonly requiresAdmin: true;
|
|
126
|
+
};
|
|
127
|
+
readonly desslyTransactions: {
|
|
128
|
+
readonly method: "GET";
|
|
129
|
+
readonly path: "/api/admin/dessly/transactions";
|
|
130
|
+
readonly query: z.ZodObject<{
|
|
131
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
132
|
+
}, z.core.$strip>;
|
|
133
|
+
readonly response: z.ZodObject<{
|
|
134
|
+
transactions: z.ZodArray<z.ZodObject<{
|
|
135
|
+
transaction_id: z.ZodString;
|
|
136
|
+
status: z.ZodString;
|
|
137
|
+
amount: z.ZodString;
|
|
138
|
+
commission: z.ZodString;
|
|
139
|
+
final_amount: z.ZodString;
|
|
140
|
+
created_at: z.ZodString;
|
|
141
|
+
updated_at: z.ZodString;
|
|
142
|
+
description: z.ZodString;
|
|
143
|
+
}, z.core.$strip>>;
|
|
144
|
+
count: z.ZodNumber;
|
|
145
|
+
}, z.core.$strip>;
|
|
146
|
+
readonly requiresAuth: true;
|
|
147
|
+
readonly requiresAdmin: true;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/domains/admin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,2BAA2B;;;;;;iBAMtC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;CAMH,CAAC;AAEtC,eAAO,MAAM,qBAAqB;;iBAAwC,CAAC;AAE3E,eAAO,MAAM,qBAAqB;;;;;;;;CAMG,CAAC;AAEtC,eAAO,MAAM,wBAAwB;;;;;;;;;;;CAQA,CAAC;AAEtC,eAAO,MAAM,yBAAyB;;;;;;;;;;;CAQD,CAAC;AAEtC,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;CAqBF,CAAC;AAEtC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMjB,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdminEndpoints = exports.DesslyTransactionsEndpoint = exports.DesslyMobileGamesEndpoint = exports.DesslySteamGamesEndpoint = exports.DesslyBalanceEndpoint = exports.DesslyTxIdParamSchema = exports.GetDashboardSummaryEndpoint = exports.AdminDashboardSummarySchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.AdminDashboardSummarySchema = zod_1.z.object({
|
|
6
|
+
usersTotal: zod_1.z.number().int().nonnegative(),
|
|
7
|
+
ordersPending: zod_1.z.number().int().nonnegative(),
|
|
8
|
+
ordersSucceeded: zod_1.z.number().int().nonnegative(),
|
|
9
|
+
outboxPending: zod_1.z.number().int().nonnegative(),
|
|
10
|
+
outboxOldestAgeSeconds: zod_1.z.number().nullable(),
|
|
11
|
+
});
|
|
12
|
+
exports.GetDashboardSummaryEndpoint = {
|
|
13
|
+
method: "GET",
|
|
14
|
+
path: "/api/admin/dashboard/summary",
|
|
15
|
+
response: exports.AdminDashboardSummarySchema,
|
|
16
|
+
requiresAuth: true,
|
|
17
|
+
requiresAdmin: true,
|
|
18
|
+
};
|
|
19
|
+
exports.DesslyTxIdParamSchema = zod_1.z.object({ txId: zod_1.z.string().min(1) });
|
|
20
|
+
exports.DesslyBalanceEndpoint = {
|
|
21
|
+
method: "GET",
|
|
22
|
+
path: "/api/admin/dessly/balance",
|
|
23
|
+
response: zod_1.z.object({ balance: zod_1.z.string() }),
|
|
24
|
+
requiresAuth: true,
|
|
25
|
+
requiresAdmin: true,
|
|
26
|
+
};
|
|
27
|
+
exports.DesslySteamGamesEndpoint = {
|
|
28
|
+
method: "GET",
|
|
29
|
+
path: "/api/admin/dessly/steam/games",
|
|
30
|
+
response: zod_1.z.object({
|
|
31
|
+
games: zod_1.z.array(zod_1.z.object({ name: zod_1.z.string(), appid: zod_1.z.number().int() })),
|
|
32
|
+
}),
|
|
33
|
+
requiresAuth: true,
|
|
34
|
+
requiresAdmin: true,
|
|
35
|
+
};
|
|
36
|
+
exports.DesslyMobileGamesEndpoint = {
|
|
37
|
+
method: "GET",
|
|
38
|
+
path: "/api/admin/dessly/mobile/games",
|
|
39
|
+
response: zod_1.z.object({
|
|
40
|
+
games: zod_1.z.array(zod_1.z.object({ id: zod_1.z.number().int(), name: zod_1.z.string() })),
|
|
41
|
+
}),
|
|
42
|
+
requiresAuth: true,
|
|
43
|
+
requiresAdmin: true,
|
|
44
|
+
};
|
|
45
|
+
exports.DesslyTransactionsEndpoint = {
|
|
46
|
+
method: "GET",
|
|
47
|
+
path: "/api/admin/dessly/transactions",
|
|
48
|
+
query: zod_1.z.object({ page: zod_1.z.coerce.number().int().positive().optional() }),
|
|
49
|
+
response: zod_1.z.object({
|
|
50
|
+
transactions: zod_1.z.array(zod_1.z.object({
|
|
51
|
+
transaction_id: zod_1.z.string(),
|
|
52
|
+
status: zod_1.z.string(),
|
|
53
|
+
amount: zod_1.z.string(),
|
|
54
|
+
commission: zod_1.z.string(),
|
|
55
|
+
final_amount: zod_1.z.string(),
|
|
56
|
+
created_at: zod_1.z.string(),
|
|
57
|
+
updated_at: zod_1.z.string(),
|
|
58
|
+
description: zod_1.z.string(),
|
|
59
|
+
})),
|
|
60
|
+
count: zod_1.z.number().int().nonnegative(),
|
|
61
|
+
}),
|
|
62
|
+
requiresAuth: true,
|
|
63
|
+
requiresAdmin: true,
|
|
64
|
+
};
|
|
65
|
+
exports.AdminEndpoints = {
|
|
66
|
+
dashboardSummary: exports.GetDashboardSummaryEndpoint,
|
|
67
|
+
desslyBalance: exports.DesslyBalanceEndpoint,
|
|
68
|
+
desslySteamGames: exports.DesslySteamGamesEndpoint,
|
|
69
|
+
desslyMobileGames: exports.DesslyMobileGamesEndpoint,
|
|
70
|
+
desslyTransactions: exports.DesslyTransactionsEndpoint,
|
|
71
|
+
};
|
|
72
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/domains/admin/index.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAGX,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC1C,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC7C,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC/C,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IAC7C,sBAAsB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7C,CAAC,CAAC;AAEU,QAAA,2BAA2B,GAAG;IAC1C,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,8BAA8B;IACpC,QAAQ,EAAE,mCAA2B;IACrC,YAAY,EAAE,IAAI;IAClB,aAAa,EAAE,IAAI;CACiB,CAAC;AAEzB,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AAE9D,QAAA,qBAAqB,GAAG;IACpC,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,2BAA2B;IACjC,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,EAAE,CAAC;IAC3C,YAAY,EAAE,IAAI;IAClB,aAAa,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,OAAC,CAAC,MAAM,EAAE;YAClB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;YACtB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;YACxB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;YACtB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;YACtB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;SACvB,CAAC,CACF;QACD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;KACrC,CAAC;IACF,YAAY,EAAE,IAAI;IAClB,aAAa,EAAE,IAAI;CACiB,CAAC;AAEzB,QAAA,cAAc,GAAG;IAC7B,gBAAgB,EAAE,mCAA2B;IAC7C,aAAa,EAAE,6BAAqB;IACpC,gBAAgB,EAAE,gCAAwB;IAC1C,iBAAiB,EAAE,iCAAyB;IAC5C,kBAAkB,EAAE,kCAA0B;CACrC,CAAC"}
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const RegisterRequestSchema: z.ZodObject<{
|
|
3
|
+
email: z.ZodEmail;
|
|
4
|
+
password: z.ZodString;
|
|
5
|
+
utmSource: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export type RegisterRequest = z.infer<typeof RegisterRequestSchema>;
|
|
8
|
+
export declare const RegisterResponseSchema: z.ZodObject<{
|
|
9
|
+
userId: z.ZodNumber;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export type RegisterResponse = z.infer<typeof RegisterResponseSchema>;
|
|
12
|
+
export declare const RegisterEndpoint: {
|
|
13
|
+
readonly method: "POST";
|
|
14
|
+
readonly path: "/api/auth/register";
|
|
15
|
+
readonly request: z.ZodObject<{
|
|
16
|
+
email: z.ZodEmail;
|
|
17
|
+
password: z.ZodString;
|
|
18
|
+
utmSource: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
readonly response: z.ZodObject<{
|
|
21
|
+
userId: z.ZodNumber;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
readonly requiresCaptcha: "register";
|
|
24
|
+
readonly rateLimit: {
|
|
25
|
+
readonly limit: 3;
|
|
26
|
+
readonly ttlSec: 3600;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export declare const LoginRequestSchema: z.ZodObject<{
|
|
30
|
+
email: z.ZodEmail;
|
|
31
|
+
password: z.ZodString;
|
|
32
|
+
totpCode: z.ZodOptional<z.ZodString>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
export type LoginRequest = z.infer<typeof LoginRequestSchema>;
|
|
35
|
+
export declare const LoginEndpoint: {
|
|
36
|
+
readonly method: "POST";
|
|
37
|
+
readonly path: "/api/auth/login";
|
|
38
|
+
readonly request: z.ZodObject<{
|
|
39
|
+
email: z.ZodEmail;
|
|
40
|
+
password: z.ZodString;
|
|
41
|
+
totpCode: z.ZodOptional<z.ZodString>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
readonly response: z.ZodObject<{
|
|
44
|
+
accessToken: z.ZodString;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
readonly rateLimit: {
|
|
47
|
+
readonly limit: 5;
|
|
48
|
+
readonly ttlSec: 900;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
export declare const RefreshEndpoint: {
|
|
52
|
+
readonly method: "POST";
|
|
53
|
+
readonly path: "/api/auth/refresh";
|
|
54
|
+
readonly response: z.ZodObject<{
|
|
55
|
+
accessToken: z.ZodString;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
readonly rateLimit: {
|
|
58
|
+
readonly limit: 30;
|
|
59
|
+
readonly ttlSec: 60;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
export declare const LogoutEndpoint: {
|
|
63
|
+
readonly method: "POST";
|
|
64
|
+
readonly path: "/api/auth/logout";
|
|
65
|
+
readonly response: z.ZodObject<{
|
|
66
|
+
ok: z.ZodLiteral<true>;
|
|
67
|
+
}, z.core.$strip>;
|
|
68
|
+
readonly requiresAuth: true;
|
|
69
|
+
};
|
|
70
|
+
export declare const LogoutAllEndpoint: {
|
|
71
|
+
readonly method: "POST";
|
|
72
|
+
readonly path: "/api/auth/logout-all";
|
|
73
|
+
readonly response: z.ZodObject<{
|
|
74
|
+
ok: z.ZodLiteral<true>;
|
|
75
|
+
}, z.core.$strip>;
|
|
76
|
+
readonly requiresAuth: true;
|
|
77
|
+
};
|
|
78
|
+
export declare const RevokeSessionParamsSchema: z.ZodObject<{
|
|
79
|
+
sid: z.ZodString;
|
|
80
|
+
}, z.core.$strip>;
|
|
81
|
+
export declare const RevokeSessionEndpoint: {
|
|
82
|
+
readonly method: "DELETE";
|
|
83
|
+
readonly path: "/api/auth/sessions/:sid";
|
|
84
|
+
readonly params: z.ZodObject<{
|
|
85
|
+
sid: z.ZodString;
|
|
86
|
+
}, z.core.$strip>;
|
|
87
|
+
readonly response: z.ZodObject<{
|
|
88
|
+
ok: z.ZodLiteral<true>;
|
|
89
|
+
}, z.core.$strip>;
|
|
90
|
+
readonly requiresAuth: true;
|
|
91
|
+
};
|
|
92
|
+
export declare const ForgotPasswordRequestSchema: z.ZodObject<{
|
|
93
|
+
email: z.ZodEmail;
|
|
94
|
+
}, z.core.$strip>;
|
|
95
|
+
export declare const ForgotPasswordEndpoint: {
|
|
96
|
+
readonly method: "POST";
|
|
97
|
+
readonly path: "/api/auth/forgot-password";
|
|
98
|
+
readonly request: z.ZodObject<{
|
|
99
|
+
email: z.ZodEmail;
|
|
100
|
+
}, z.core.$strip>;
|
|
101
|
+
readonly response: z.ZodObject<{
|
|
102
|
+
ok: z.ZodLiteral<true>;
|
|
103
|
+
}, z.core.$strip>;
|
|
104
|
+
readonly requiresCaptcha: "forgot_password";
|
|
105
|
+
readonly rateLimit: {
|
|
106
|
+
readonly limit: 3;
|
|
107
|
+
readonly ttlSec: 3600;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
export declare const ConfirmPasswordResetRequestSchema: z.ZodObject<{
|
|
111
|
+
code: z.ZodString;
|
|
112
|
+
password: z.ZodString;
|
|
113
|
+
}, z.core.$strip>;
|
|
114
|
+
export declare const ConfirmPasswordResetEndpoint: {
|
|
115
|
+
readonly method: "POST";
|
|
116
|
+
readonly path: "/api/auth/reset-password";
|
|
117
|
+
readonly request: z.ZodObject<{
|
|
118
|
+
code: z.ZodString;
|
|
119
|
+
password: z.ZodString;
|
|
120
|
+
}, z.core.$strip>;
|
|
121
|
+
readonly response: z.ZodObject<{
|
|
122
|
+
ok: z.ZodLiteral<true>;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
};
|
|
125
|
+
export declare const ConfirmEmailRequestSchema: z.ZodObject<{
|
|
126
|
+
code: z.ZodString;
|
|
127
|
+
}, z.core.$strip>;
|
|
128
|
+
export declare const ConfirmEmailEndpoint: {
|
|
129
|
+
readonly method: "POST";
|
|
130
|
+
readonly path: "/api/auth/confirm-email";
|
|
131
|
+
readonly request: z.ZodObject<{
|
|
132
|
+
code: z.ZodString;
|
|
133
|
+
}, z.core.$strip>;
|
|
134
|
+
readonly response: z.ZodObject<{
|
|
135
|
+
ok: z.ZodLiteral<true>;
|
|
136
|
+
}, z.core.$strip>;
|
|
137
|
+
};
|
|
138
|
+
export declare const EnableTotpResponseSchema: z.ZodObject<{
|
|
139
|
+
otpAuthUri: z.ZodString;
|
|
140
|
+
secret: z.ZodString;
|
|
141
|
+
}, z.core.$strip>;
|
|
142
|
+
export declare const EnableTotpEndpoint: {
|
|
143
|
+
readonly method: "POST";
|
|
144
|
+
readonly path: "/api/auth/totp/enable";
|
|
145
|
+
readonly response: z.ZodObject<{
|
|
146
|
+
otpAuthUri: z.ZodString;
|
|
147
|
+
secret: z.ZodString;
|
|
148
|
+
}, z.core.$strip>;
|
|
149
|
+
readonly requiresAuth: true;
|
|
150
|
+
};
|
|
151
|
+
export declare const VerifyTotpRequestSchema: z.ZodObject<{
|
|
152
|
+
code: z.ZodString;
|
|
153
|
+
}, z.core.$strip>;
|
|
154
|
+
export declare const VerifyTotpEndpoint: {
|
|
155
|
+
readonly method: "POST";
|
|
156
|
+
readonly path: "/api/auth/totp/verify";
|
|
157
|
+
readonly request: z.ZodObject<{
|
|
158
|
+
code: z.ZodString;
|
|
159
|
+
}, z.core.$strip>;
|
|
160
|
+
readonly response: z.ZodObject<{
|
|
161
|
+
ok: z.ZodLiteral<true>;
|
|
162
|
+
}, z.core.$strip>;
|
|
163
|
+
readonly requiresAuth: true;
|
|
164
|
+
};
|
|
165
|
+
export declare const AuthCommands: {
|
|
166
|
+
readonly register: {
|
|
167
|
+
readonly method: "POST";
|
|
168
|
+
readonly path: "/api/auth/register";
|
|
169
|
+
readonly request: z.ZodObject<{
|
|
170
|
+
email: z.ZodEmail;
|
|
171
|
+
password: z.ZodString;
|
|
172
|
+
utmSource: z.ZodOptional<z.ZodString>;
|
|
173
|
+
}, z.core.$strip>;
|
|
174
|
+
readonly response: z.ZodObject<{
|
|
175
|
+
userId: z.ZodNumber;
|
|
176
|
+
}, z.core.$strip>;
|
|
177
|
+
readonly requiresCaptcha: "register";
|
|
178
|
+
readonly rateLimit: {
|
|
179
|
+
readonly limit: 3;
|
|
180
|
+
readonly ttlSec: 3600;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
readonly login: {
|
|
184
|
+
readonly method: "POST";
|
|
185
|
+
readonly path: "/api/auth/login";
|
|
186
|
+
readonly request: z.ZodObject<{
|
|
187
|
+
email: z.ZodEmail;
|
|
188
|
+
password: z.ZodString;
|
|
189
|
+
totpCode: z.ZodOptional<z.ZodString>;
|
|
190
|
+
}, z.core.$strip>;
|
|
191
|
+
readonly response: z.ZodObject<{
|
|
192
|
+
accessToken: z.ZodString;
|
|
193
|
+
}, z.core.$strip>;
|
|
194
|
+
readonly rateLimit: {
|
|
195
|
+
readonly limit: 5;
|
|
196
|
+
readonly ttlSec: 900;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
readonly refresh: {
|
|
200
|
+
readonly method: "POST";
|
|
201
|
+
readonly path: "/api/auth/refresh";
|
|
202
|
+
readonly response: z.ZodObject<{
|
|
203
|
+
accessToken: z.ZodString;
|
|
204
|
+
}, z.core.$strip>;
|
|
205
|
+
readonly rateLimit: {
|
|
206
|
+
readonly limit: 30;
|
|
207
|
+
readonly ttlSec: 60;
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
readonly logout: {
|
|
211
|
+
readonly method: "POST";
|
|
212
|
+
readonly path: "/api/auth/logout";
|
|
213
|
+
readonly response: z.ZodObject<{
|
|
214
|
+
ok: z.ZodLiteral<true>;
|
|
215
|
+
}, z.core.$strip>;
|
|
216
|
+
readonly requiresAuth: true;
|
|
217
|
+
};
|
|
218
|
+
readonly logoutAll: {
|
|
219
|
+
readonly method: "POST";
|
|
220
|
+
readonly path: "/api/auth/logout-all";
|
|
221
|
+
readonly response: z.ZodObject<{
|
|
222
|
+
ok: z.ZodLiteral<true>;
|
|
223
|
+
}, z.core.$strip>;
|
|
224
|
+
readonly requiresAuth: true;
|
|
225
|
+
};
|
|
226
|
+
readonly revokeSession: {
|
|
227
|
+
readonly method: "DELETE";
|
|
228
|
+
readonly path: "/api/auth/sessions/:sid";
|
|
229
|
+
readonly params: z.ZodObject<{
|
|
230
|
+
sid: z.ZodString;
|
|
231
|
+
}, z.core.$strip>;
|
|
232
|
+
readonly response: z.ZodObject<{
|
|
233
|
+
ok: z.ZodLiteral<true>;
|
|
234
|
+
}, z.core.$strip>;
|
|
235
|
+
readonly requiresAuth: true;
|
|
236
|
+
};
|
|
237
|
+
readonly forgotPassword: {
|
|
238
|
+
readonly method: "POST";
|
|
239
|
+
readonly path: "/api/auth/forgot-password";
|
|
240
|
+
readonly request: z.ZodObject<{
|
|
241
|
+
email: z.ZodEmail;
|
|
242
|
+
}, z.core.$strip>;
|
|
243
|
+
readonly response: z.ZodObject<{
|
|
244
|
+
ok: z.ZodLiteral<true>;
|
|
245
|
+
}, z.core.$strip>;
|
|
246
|
+
readonly requiresCaptcha: "forgot_password";
|
|
247
|
+
readonly rateLimit: {
|
|
248
|
+
readonly limit: 3;
|
|
249
|
+
readonly ttlSec: 3600;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
readonly confirmPasswordReset: {
|
|
253
|
+
readonly method: "POST";
|
|
254
|
+
readonly path: "/api/auth/reset-password";
|
|
255
|
+
readonly request: z.ZodObject<{
|
|
256
|
+
code: z.ZodString;
|
|
257
|
+
password: z.ZodString;
|
|
258
|
+
}, z.core.$strip>;
|
|
259
|
+
readonly response: z.ZodObject<{
|
|
260
|
+
ok: z.ZodLiteral<true>;
|
|
261
|
+
}, z.core.$strip>;
|
|
262
|
+
};
|
|
263
|
+
readonly confirmEmail: {
|
|
264
|
+
readonly method: "POST";
|
|
265
|
+
readonly path: "/api/auth/confirm-email";
|
|
266
|
+
readonly request: z.ZodObject<{
|
|
267
|
+
code: z.ZodString;
|
|
268
|
+
}, z.core.$strip>;
|
|
269
|
+
readonly response: z.ZodObject<{
|
|
270
|
+
ok: z.ZodLiteral<true>;
|
|
271
|
+
}, z.core.$strip>;
|
|
272
|
+
};
|
|
273
|
+
readonly enableTotp: {
|
|
274
|
+
readonly method: "POST";
|
|
275
|
+
readonly path: "/api/auth/totp/enable";
|
|
276
|
+
readonly response: z.ZodObject<{
|
|
277
|
+
otpAuthUri: z.ZodString;
|
|
278
|
+
secret: z.ZodString;
|
|
279
|
+
}, z.core.$strip>;
|
|
280
|
+
readonly requiresAuth: true;
|
|
281
|
+
};
|
|
282
|
+
readonly verifyTotp: {
|
|
283
|
+
readonly method: "POST";
|
|
284
|
+
readonly path: "/api/auth/totp/verify";
|
|
285
|
+
readonly request: z.ZodObject<{
|
|
286
|
+
code: z.ZodString;
|
|
287
|
+
}, z.core.$strip>;
|
|
288
|
+
readonly response: z.ZodObject<{
|
|
289
|
+
ok: z.ZodLiteral<true>;
|
|
290
|
+
}, z.core.$strip>;
|
|
291
|
+
readonly requiresAuth: true;
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
//# sourceMappingURL=commands.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../src/domains/auth/commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,qBAAqB;;;;iBAIhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,eAAO,MAAM,sBAAsB;;iBAAoD,CAAC;AACxF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;CAOQ,CAAC;AAEtC,eAAO,MAAM,kBAAkB;;;;iBAI7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;CAMW,CAAC;AAEtC,eAAO,MAAM,eAAe;;;;;;;;;;CAKS,CAAC;AAEtC,eAAO,MAAM,cAAc;;;;;;;CAKU,CAAC;AAEtC,eAAO,MAAM,iBAAiB;;;;;;;CAKO,CAAC;AAEtC,eAAO,MAAM,yBAAyB;;iBAAuC,CAAC;AAC9E,eAAO,MAAM,qBAAqB;;;;;;;;;;CAMG,CAAC;AAEtC,eAAO,MAAM,2BAA2B;;iBAAiC,CAAC;AAC1E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;CAOE,CAAC;AAEtC,eAAO,MAAM,iCAAiC;;;iBAG5C,CAAC;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;CAKJ,CAAC;AAEtC,eAAO,MAAM,yBAAyB;;iBAAwC,CAAC;AAC/E,eAAO,MAAM,oBAAoB;;;;;;;;;CAKI,CAAC;AAEtC,eAAO,MAAM,wBAAwB;;;iBAGnC,CAAC;AACH,eAAO,MAAM,kBAAkB;;;;;;;;CAKM,CAAC;AAEtC,eAAO,MAAM,uBAAuB;;iBAAkD,CAAC;AACvF,eAAO,MAAM,kBAAkB;;;;;;;;;;CAMM,CAAC;AAEtC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYf,CAAC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuthCommands = exports.VerifyTotpEndpoint = exports.VerifyTotpRequestSchema = exports.EnableTotpEndpoint = exports.EnableTotpResponseSchema = exports.ConfirmEmailEndpoint = exports.ConfirmEmailRequestSchema = exports.ConfirmPasswordResetEndpoint = exports.ConfirmPasswordResetRequestSchema = exports.ForgotPasswordEndpoint = exports.ForgotPasswordRequestSchema = exports.RevokeSessionEndpoint = exports.RevokeSessionParamsSchema = exports.LogoutAllEndpoint = exports.LogoutEndpoint = exports.RefreshEndpoint = exports.LoginEndpoint = exports.LoginRequestSchema = exports.RegisterEndpoint = exports.RegisterResponseSchema = exports.RegisterRequestSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const common_1 = require("../../shared/common");
|
|
6
|
+
const dtos_1 = require("./dtos");
|
|
7
|
+
exports.RegisterRequestSchema = zod_1.z.object({
|
|
8
|
+
email: zod_1.z.email(),
|
|
9
|
+
password: zod_1.z.string().min(8).max(128),
|
|
10
|
+
utmSource: zod_1.z.string().max(32).optional(),
|
|
11
|
+
});
|
|
12
|
+
exports.RegisterResponseSchema = zod_1.z.object({ userId: zod_1.z.number().int().positive() });
|
|
13
|
+
exports.RegisterEndpoint = {
|
|
14
|
+
method: "POST",
|
|
15
|
+
path: "/api/auth/register",
|
|
16
|
+
request: exports.RegisterRequestSchema,
|
|
17
|
+
response: exports.RegisterResponseSchema,
|
|
18
|
+
requiresCaptcha: "register",
|
|
19
|
+
rateLimit: { limit: 3, ttlSec: 3600 },
|
|
20
|
+
};
|
|
21
|
+
exports.LoginRequestSchema = zod_1.z.object({
|
|
22
|
+
email: zod_1.z.email(),
|
|
23
|
+
password: zod_1.z.string().min(1),
|
|
24
|
+
totpCode: zod_1.z.string().regex(/^\d{6}$/).optional(),
|
|
25
|
+
});
|
|
26
|
+
exports.LoginEndpoint = {
|
|
27
|
+
method: "POST",
|
|
28
|
+
path: "/api/auth/login",
|
|
29
|
+
request: exports.LoginRequestSchema,
|
|
30
|
+
response: dtos_1.TokensResponseSchema,
|
|
31
|
+
rateLimit: { limit: 5, ttlSec: 900 },
|
|
32
|
+
};
|
|
33
|
+
exports.RefreshEndpoint = {
|
|
34
|
+
method: "POST",
|
|
35
|
+
path: "/api/auth/refresh",
|
|
36
|
+
response: dtos_1.TokensResponseSchema,
|
|
37
|
+
rateLimit: { limit: 30, ttlSec: 60 },
|
|
38
|
+
};
|
|
39
|
+
exports.LogoutEndpoint = {
|
|
40
|
+
method: "POST",
|
|
41
|
+
path: "/api/auth/logout",
|
|
42
|
+
response: common_1.SuccessResponseSchema,
|
|
43
|
+
requiresAuth: true,
|
|
44
|
+
};
|
|
45
|
+
exports.LogoutAllEndpoint = {
|
|
46
|
+
method: "POST",
|
|
47
|
+
path: "/api/auth/logout-all",
|
|
48
|
+
response: common_1.SuccessResponseSchema,
|
|
49
|
+
requiresAuth: true,
|
|
50
|
+
};
|
|
51
|
+
exports.RevokeSessionParamsSchema = zod_1.z.object({ sid: zod_1.z.string().min(1) });
|
|
52
|
+
exports.RevokeSessionEndpoint = {
|
|
53
|
+
method: "DELETE",
|
|
54
|
+
path: "/api/auth/sessions/:sid",
|
|
55
|
+
params: exports.RevokeSessionParamsSchema,
|
|
56
|
+
response: common_1.SuccessResponseSchema,
|
|
57
|
+
requiresAuth: true,
|
|
58
|
+
};
|
|
59
|
+
exports.ForgotPasswordRequestSchema = zod_1.z.object({ email: zod_1.z.email() });
|
|
60
|
+
exports.ForgotPasswordEndpoint = {
|
|
61
|
+
method: "POST",
|
|
62
|
+
path: "/api/auth/forgot-password",
|
|
63
|
+
request: exports.ForgotPasswordRequestSchema,
|
|
64
|
+
response: common_1.SuccessResponseSchema,
|
|
65
|
+
requiresCaptcha: "forgot_password",
|
|
66
|
+
rateLimit: { limit: 3, ttlSec: 3600 },
|
|
67
|
+
};
|
|
68
|
+
exports.ConfirmPasswordResetRequestSchema = zod_1.z.object({
|
|
69
|
+
code: zod_1.z.string().min(1),
|
|
70
|
+
password: zod_1.z.string().min(8).max(128),
|
|
71
|
+
});
|
|
72
|
+
exports.ConfirmPasswordResetEndpoint = {
|
|
73
|
+
method: "POST",
|
|
74
|
+
path: "/api/auth/reset-password",
|
|
75
|
+
request: exports.ConfirmPasswordResetRequestSchema,
|
|
76
|
+
response: common_1.SuccessResponseSchema,
|
|
77
|
+
};
|
|
78
|
+
exports.ConfirmEmailRequestSchema = zod_1.z.object({ code: zod_1.z.string().min(1) });
|
|
79
|
+
exports.ConfirmEmailEndpoint = {
|
|
80
|
+
method: "POST",
|
|
81
|
+
path: "/api/auth/confirm-email",
|
|
82
|
+
request: exports.ConfirmEmailRequestSchema,
|
|
83
|
+
response: common_1.SuccessResponseSchema,
|
|
84
|
+
};
|
|
85
|
+
exports.EnableTotpResponseSchema = zod_1.z.object({
|
|
86
|
+
otpAuthUri: zod_1.z.string(),
|
|
87
|
+
secret: zod_1.z.string(),
|
|
88
|
+
});
|
|
89
|
+
exports.EnableTotpEndpoint = {
|
|
90
|
+
method: "POST",
|
|
91
|
+
path: "/api/auth/totp/enable",
|
|
92
|
+
response: exports.EnableTotpResponseSchema,
|
|
93
|
+
requiresAuth: true,
|
|
94
|
+
};
|
|
95
|
+
exports.VerifyTotpRequestSchema = zod_1.z.object({ code: zod_1.z.string().regex(/^\d{6}$/) });
|
|
96
|
+
exports.VerifyTotpEndpoint = {
|
|
97
|
+
method: "POST",
|
|
98
|
+
path: "/api/auth/totp/verify",
|
|
99
|
+
request: exports.VerifyTotpRequestSchema,
|
|
100
|
+
response: common_1.SuccessResponseSchema,
|
|
101
|
+
requiresAuth: true,
|
|
102
|
+
};
|
|
103
|
+
exports.AuthCommands = {
|
|
104
|
+
register: exports.RegisterEndpoint,
|
|
105
|
+
login: exports.LoginEndpoint,
|
|
106
|
+
refresh: exports.RefreshEndpoint,
|
|
107
|
+
logout: exports.LogoutEndpoint,
|
|
108
|
+
logoutAll: exports.LogoutAllEndpoint,
|
|
109
|
+
revokeSession: exports.RevokeSessionEndpoint,
|
|
110
|
+
forgotPassword: exports.ForgotPasswordEndpoint,
|
|
111
|
+
confirmPasswordReset: exports.ConfirmPasswordResetEndpoint,
|
|
112
|
+
confirmEmail: exports.ConfirmEmailEndpoint,
|
|
113
|
+
enableTotp: exports.EnableTotpEndpoint,
|
|
114
|
+
verifyTotp: exports.VerifyTotpEndpoint,
|
|
115
|
+
};
|
|
116
|
+
//# sourceMappingURL=commands.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commands.js","sourceRoot":"","sources":["../../../src/domains/auth/commands.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,gDAA4D;AAC5D,iCAA8C;AAEjC,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,KAAK,EAAE,OAAC,CAAC,KAAK,EAAE;IAChB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IACpC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAC;AAGU,QAAA,sBAAsB,GAAG,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