@r2wa-org/eden 0.0.54 → 0.0.57
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/dist/src/admin/admin/dto.schemas.d.ts +3 -54
- package/dist/src/admin/admin/router.d.ts +19 -24
- package/dist/src/admin/admin/service.d.ts +0 -2
- package/dist/src/admin/index.d.ts +1329 -343
- package/dist/src/asset/admin/dto.schemas.d.ts +49 -26
- package/dist/src/asset/admin/router.d.ts +132 -32
- package/dist/src/asset/admin/service.d.ts +52 -4
- package/dist/src/asset/user/dto.schemas.d.ts +7 -15
- package/dist/src/asset/user/router.d.ts +15 -15
- package/dist/src/asset/user/service.d.ts +1 -1
- package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +459 -566
- package/dist/src/asset-convert-product/admin/router.d.ts +581 -42
- package/dist/src/asset-convert-product/admin/service.d.ts +419 -12
- package/dist/src/asset-convert-product/errors/index.d.ts +7 -0
- package/dist/src/asset-convert-product/errors/locales/zh.d.ts +7 -0
- package/dist/src/asset-convert-product/permissions.d.ts +2 -2
- package/dist/src/asset-convert-product/user/router.d.ts +20 -20
- package/dist/src/asset-price/admin/dto.schemas.d.ts +99 -352
- package/dist/src/asset-price/admin/router.d.ts +132 -20
- package/dist/src/asset-price/admin/service.d.ts +157 -0
- package/dist/src/asset-price/errors/index.d.ts +2 -0
- package/dist/src/asset-price/errors/locales/zh.d.ts +2 -0
- package/dist/src/asset-price/internal/service.d.ts +1 -0
- package/dist/src/asset-price/user/router.d.ts +13 -13
- package/dist/src/asset-type/admin/dto.schemas.d.ts +291 -33
- package/dist/src/asset-type/admin/router.d.ts +67 -28
- package/dist/src/asset-type/admin/service.d.ts +16 -6
- package/dist/src/asset-type/db.schemas.d.ts +6 -6
- package/dist/src/asset-type/errors/index.d.ts +6 -0
- package/dist/src/asset-type/errors/locales/zh.d.ts +3 -0
- package/dist/src/asset-type/internal/service.d.ts +4 -4
- package/dist/src/asset-type/permissions.d.ts +1 -1
- package/dist/src/asset-type/schema.d.ts +3 -5
- package/dist/src/asset-type/user/dto.schemas.d.ts +3 -15
- package/dist/src/asset-type/user/router.d.ts +12 -12
- package/dist/src/asset-type/user/service.d.ts +1 -1
- package/dist/src/auth/better-auth.d.ts +706 -451
- package/dist/src/auth/db.schemas.d.ts +27 -407
- package/dist/src/auth/permissions.d.ts +20 -20
- package/dist/src/auth/roles.d.ts +60 -60
- package/dist/src/auth/router.d.ts +6 -6
- package/dist/src/auth/schema.d.ts +8 -206
- package/dist/src/bank-account/admin/router.d.ts +10 -13
- package/dist/src/bank-account/user/router.d.ts +8 -8
- package/dist/src/check-in/admin/dto.schemas.d.ts +1 -18
- package/dist/src/check-in/admin/router.d.ts +12 -16
- package/dist/src/check-in/admin/service.d.ts +0 -1
- package/dist/src/check-in/internal/service.d.ts +0 -1
- package/dist/src/check-in/user/dto.schemas.d.ts +1 -18
- package/dist/src/check-in/user/router.d.ts +18 -19
- package/dist/src/check-in/user/service.d.ts +0 -1
- package/dist/src/cron/index.d.ts +8 -74
- package/dist/src/deposit/admin/dto.schemas.d.ts +8 -42
- package/dist/src/deposit/admin/router.d.ts +16 -20
- package/dist/src/deposit/admin/service.d.ts +0 -2
- package/dist/src/deposit/errors/index.d.ts +4 -0
- package/dist/src/deposit/errors/locales/zh.d.ts +2 -0
- package/dist/src/deposit/user/dto.schemas.d.ts +16 -42
- package/dist/src/deposit/user/router.d.ts +68 -19
- package/dist/src/deposit/user/service.d.ts +22 -3
- package/dist/src/dynamic-env/admin.router.d.ts +27 -30
- package/dist/src/env/server.d.ts +1 -1
- package/dist/src/file-storage/admin/router.d.ts +17 -20
- package/dist/src/file-storage/share/router.d.ts +16 -16
- package/dist/src/file-storage/user/router.d.ts +16 -16
- package/dist/src/index.d.ts +1688 -660
- package/dist/src/ledger/admin/router.d.ts +12 -15
- package/dist/src/ledger/user/router.d.ts +10 -10
- package/dist/src/ledger-account/admin/dto.schemas.d.ts +2 -2
- package/dist/src/ledger-account/admin/router.d.ts +22 -25
- package/dist/src/ledger-account/user/router.d.ts +10 -10
- package/dist/src/ledger-account-import/admin/router.d.ts +22 -25
- package/dist/src/ledger-account-transfer/user/router.d.ts +10 -10
- package/dist/src/ledger-account-type/admin/router.d.ts +19 -22
- package/dist/src/ledger-account-type/user/router.d.ts +10 -10
- package/dist/src/market-data/admin/router.d.ts +17 -20
- package/dist/src/market-data/cron.d.ts +3 -54
- package/dist/src/market-data/user/router.d.ts +12 -12
- package/dist/src/market-pricing/admin/router.d.ts +31 -34
- package/dist/src/market-pricing/cron.d.ts +2 -53
- package/dist/src/news/admin/dto.schemas.d.ts +6 -6
- package/dist/src/news/admin/router.d.ts +29 -32
- package/dist/src/news/user/dto.schemas.d.ts +12 -12
- package/dist/src/news/user/router.d.ts +19 -19
- package/dist/src/news-category/user/router.d.ts +12 -12
- package/dist/src/notification/admin/dto.schemas.d.ts +3 -3
- package/dist/src/notification/admin/router.d.ts +17 -20
- package/dist/src/notification/user/dto.schemas.d.ts +2 -2
- package/dist/src/notification/user/router.d.ts +21 -21
- package/dist/src/receipt-method/admin/router.d.ts +10 -13
- package/dist/src/receipt-method/user/router.d.ts +6 -6
- package/dist/src/referral/admin/dto.schemas.d.ts +2 -36
- package/dist/src/referral/admin/router.d.ts +14 -18
- package/dist/src/referral/user/dto.schemas.d.ts +2 -36
- package/dist/src/referral/user/router.d.ts +17 -18
- package/dist/src/referral-depth-config/admin/router.d.ts +22 -25
- package/dist/src/server-test/index.d.ts +15 -15
- package/dist/src/shipping-address/admin/router.d.ts +10 -13
- package/dist/src/shipping-address/user/router.d.ts +6 -6
- package/dist/src/team/admin/dto.schemas.d.ts +2 -36
- package/dist/src/team/admin/router.d.ts +14 -18
- package/dist/src/team/user/dto.schemas.d.ts +5 -90
- package/dist/src/team/user/router.d.ts +21 -24
- package/dist/src/trade-market/admin/dto.schemas.d.ts +1 -1
- package/dist/src/trade-market/admin/router.d.ts +27 -30
- package/dist/src/trade-market/user/router.d.ts +22 -22
- package/dist/src/transfer/admin/router.d.ts +12 -15
- package/dist/src/transfer/admin/service.d.ts +0 -2
- package/dist/src/transfer/user/router.d.ts +12 -12
- package/dist/src/transfer/user/service.d.ts +0 -2
- package/dist/src/user/admin/dto.schemas.d.ts +1 -21
- package/dist/src/user/admin/router.d.ts +24 -32
- package/dist/src/user/admin/service.d.ts +0 -4
- package/dist/src/user/user/router.d.ts +6 -8
- package/dist/src/user/user/service.d.ts +0 -2
- package/dist/src/user-kyc/admin/dto.schemas.d.ts +1 -1
- package/dist/src/user-kyc/admin/router.d.ts +19 -22
- package/dist/src/user-kyc/user/router.d.ts +18 -18
- package/dist/src/user-security/admin/router.d.ts +13 -16
- package/dist/src/user-security/user/router.d.ts +17 -17
- package/dist/src/wallet/admin/dto.schemas.d.ts +35 -3
- package/dist/src/wallet/admin/router.d.ts +77 -15
- package/dist/src/wallet/admin/service.d.ts +46 -8
- package/dist/src/wallet/internal/service.d.ts +118 -14
- package/dist/src/wallet/user/dto.schemas.d.ts +4 -2
- package/dist/src/wallet/user/router.d.ts +16 -15
- package/dist/src/wallet/user/service.d.ts +18 -8
- package/dist/src/wallet-type/admin/dto.schemas.d.ts +4 -0
- package/dist/src/wallet-type/admin/router.d.ts +149 -19
- package/dist/src/wallet-type/admin/service.d.ts +51 -0
- package/dist/src/wallet-type/errors/index.d.ts +4 -0
- package/dist/src/wallet-type/errors/locales/zh.d.ts +4 -0
- package/dist/src/wallet-type/internal/service.d.ts +37 -0
- package/dist/src/wallet-type/user/router.d.ts +10 -10
- package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +3 -3
- package/dist/src/welfare-cycle/admin/router.d.ts +35 -38
- package/dist/src/welfare-cycle/cron.d.ts +2 -53
- package/dist/src/welfare-cycle/user/dto.schemas.d.ts +1 -0
- package/dist/src/welfare-cycle/user/router.d.ts +66 -71
- package/dist/src/welfare-cycle/user/service.d.ts +1 -1
- package/dist/src/withdraw/admin/router.d.ts +19 -22
- package/dist/src/withdraw/user/dto.schemas.d.ts +7 -0
- package/dist/src/withdraw/user/router.d.ts +59 -12
- package/dist/src/withdraw/user/service.d.ts +20 -1
- package/package.json +1 -1
|
@@ -41,7 +41,7 @@ export declare const newsRouter: Elysia<"/news", {
|
|
|
41
41
|
route: string;
|
|
42
42
|
request: Request;
|
|
43
43
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
44
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -175,11 +175,11 @@ export declare const newsRouter: Elysia<"/news", {
|
|
|
175
175
|
emailVerified: boolean;
|
|
176
176
|
name: string;
|
|
177
177
|
image?: string | null | undefined | undefined;
|
|
178
|
-
phoneNumber?: string | null | undefined;
|
|
179
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
180
178
|
twoFactorEnabled: boolean | null | undefined;
|
|
181
179
|
username?: string | null | undefined;
|
|
182
180
|
displayUsername?: string | null | undefined;
|
|
181
|
+
phoneNumber?: string | null | undefined;
|
|
182
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
183
183
|
banned: boolean | null | undefined;
|
|
184
184
|
role?: string | null | undefined;
|
|
185
185
|
banReason?: string | null | undefined;
|
|
@@ -217,7 +217,7 @@ export declare const newsRouter: Elysia<"/news", {
|
|
|
217
217
|
route: string;
|
|
218
218
|
request: Request;
|
|
219
219
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
220
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -351,11 +351,11 @@ export declare const newsRouter: Elysia<"/news", {
|
|
|
351
351
|
emailVerified: boolean;
|
|
352
352
|
name: string;
|
|
353
353
|
image?: string | null | undefined | undefined;
|
|
354
|
-
phoneNumber?: string | null | undefined;
|
|
355
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
356
354
|
twoFactorEnabled: boolean | null | undefined;
|
|
357
355
|
username?: string | null | undefined;
|
|
358
356
|
displayUsername?: string | null | undefined;
|
|
357
|
+
phoneNumber?: string | null | undefined;
|
|
358
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
359
359
|
banned: boolean | null | undefined;
|
|
360
360
|
role?: string | null | undefined;
|
|
361
361
|
banReason?: string | null | undefined;
|
|
@@ -382,7 +382,7 @@ export declare const newsRouter: Elysia<"/news", {
|
|
|
382
382
|
} & {
|
|
383
383
|
news: {
|
|
384
384
|
get: {
|
|
385
|
-
body:
|
|
385
|
+
body: {};
|
|
386
386
|
params: {};
|
|
387
387
|
query: {
|
|
388
388
|
status?: "archived" | "draft" | "published" | undefined;
|
|
@@ -394,7 +394,7 @@ export declare const newsRouter: Elysia<"/news", {
|
|
|
394
394
|
pageSize?: number | undefined;
|
|
395
395
|
pageIndex?: number | undefined;
|
|
396
396
|
};
|
|
397
|
-
headers:
|
|
397
|
+
headers: {};
|
|
398
398
|
response: {
|
|
399
399
|
200: {
|
|
400
400
|
data: {
|
|
@@ -447,12 +447,12 @@ export declare const newsRouter: Elysia<"/news", {
|
|
|
447
447
|
news: {
|
|
448
448
|
":id": {
|
|
449
449
|
get: {
|
|
450
|
-
body:
|
|
450
|
+
body: {};
|
|
451
451
|
params: {
|
|
452
452
|
id: string;
|
|
453
453
|
};
|
|
454
|
-
query:
|
|
455
|
-
headers:
|
|
454
|
+
query: {};
|
|
455
|
+
headers: {};
|
|
456
456
|
response: {
|
|
457
457
|
200: {
|
|
458
458
|
category?: any;
|
|
@@ -499,12 +499,12 @@ export declare const newsRouter: Elysia<"/news", {
|
|
|
499
499
|
":id": {
|
|
500
500
|
confirm: {
|
|
501
501
|
post: {
|
|
502
|
-
body:
|
|
502
|
+
body: {};
|
|
503
503
|
params: {
|
|
504
504
|
id: string;
|
|
505
505
|
};
|
|
506
|
-
query:
|
|
507
|
-
headers:
|
|
506
|
+
query: {};
|
|
507
|
+
headers: {};
|
|
508
508
|
response: {
|
|
509
509
|
422: {
|
|
510
510
|
type: "validation";
|
|
@@ -526,10 +526,10 @@ export declare const newsRouter: Elysia<"/news", {
|
|
|
526
526
|
pending: {
|
|
527
527
|
confirmations: {
|
|
528
528
|
get: {
|
|
529
|
-
body:
|
|
529
|
+
body: {};
|
|
530
530
|
params: {};
|
|
531
|
-
query:
|
|
532
|
-
headers:
|
|
531
|
+
query: {};
|
|
532
|
+
headers: {};
|
|
533
533
|
response: {
|
|
534
534
|
200: {
|
|
535
535
|
category?: any;
|
|
@@ -587,11 +587,11 @@ export declare const newsRouter: Elysia<"/news", {
|
|
|
587
587
|
emailVerified: boolean;
|
|
588
588
|
name: string;
|
|
589
589
|
image?: string | null | undefined | undefined;
|
|
590
|
-
phoneNumber?: string | null | undefined;
|
|
591
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
592
590
|
twoFactorEnabled: boolean | null | undefined;
|
|
593
591
|
username?: string | null | undefined;
|
|
594
592
|
displayUsername?: string | null | undefined;
|
|
593
|
+
phoneNumber?: string | null | undefined;
|
|
594
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
595
595
|
banned: boolean | null | undefined;
|
|
596
596
|
role?: string | null | undefined;
|
|
597
597
|
banReason?: string | null | undefined;
|
|
@@ -41,7 +41,7 @@ export declare const newsCategoryRouter: Elysia<"/news_categories", {
|
|
|
41
41
|
route: string;
|
|
42
42
|
request: Request;
|
|
43
43
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
44
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -175,11 +175,11 @@ export declare const newsCategoryRouter: Elysia<"/news_categories", {
|
|
|
175
175
|
emailVerified: boolean;
|
|
176
176
|
name: string;
|
|
177
177
|
image?: string | null | undefined | undefined;
|
|
178
|
-
phoneNumber?: string | null | undefined;
|
|
179
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
180
178
|
twoFactorEnabled: boolean | null | undefined;
|
|
181
179
|
username?: string | null | undefined;
|
|
182
180
|
displayUsername?: string | null | undefined;
|
|
181
|
+
phoneNumber?: string | null | undefined;
|
|
182
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
183
183
|
banned: boolean | null | undefined;
|
|
184
184
|
role?: string | null | undefined;
|
|
185
185
|
banReason?: string | null | undefined;
|
|
@@ -217,7 +217,7 @@ export declare const newsCategoryRouter: Elysia<"/news_categories", {
|
|
|
217
217
|
route: string;
|
|
218
218
|
request: Request;
|
|
219
219
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
220
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -351,11 +351,11 @@ export declare const newsCategoryRouter: Elysia<"/news_categories", {
|
|
|
351
351
|
emailVerified: boolean;
|
|
352
352
|
name: string;
|
|
353
353
|
image?: string | null | undefined | undefined;
|
|
354
|
-
phoneNumber?: string | null | undefined;
|
|
355
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
356
354
|
twoFactorEnabled: boolean | null | undefined;
|
|
357
355
|
username?: string | null | undefined;
|
|
358
356
|
displayUsername?: string | null | undefined;
|
|
357
|
+
phoneNumber?: string | null | undefined;
|
|
358
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
359
359
|
banned: boolean | null | undefined;
|
|
360
360
|
role?: string | null | undefined;
|
|
361
361
|
banReason?: string | null | undefined;
|
|
@@ -382,10 +382,10 @@ export declare const newsCategoryRouter: Elysia<"/news_categories", {
|
|
|
382
382
|
} & {
|
|
383
383
|
news_categories: {
|
|
384
384
|
get: {
|
|
385
|
-
body:
|
|
385
|
+
body: {};
|
|
386
386
|
params: {};
|
|
387
|
-
query:
|
|
388
|
-
headers:
|
|
387
|
+
query: {};
|
|
388
|
+
headers: {};
|
|
389
389
|
response: {
|
|
390
390
|
200: {
|
|
391
391
|
id: string;
|
|
@@ -405,12 +405,12 @@ export declare const newsCategoryRouter: Elysia<"/news_categories", {
|
|
|
405
405
|
news_categories: {
|
|
406
406
|
":slugOrId": {
|
|
407
407
|
get: {
|
|
408
|
-
body:
|
|
408
|
+
body: {};
|
|
409
409
|
params: {
|
|
410
410
|
slugOrId: string;
|
|
411
411
|
};
|
|
412
|
-
query:
|
|
413
|
-
headers:
|
|
412
|
+
query: {};
|
|
413
|
+
headers: {};
|
|
414
414
|
response: {
|
|
415
415
|
200: {
|
|
416
416
|
id: string;
|
|
@@ -2,13 +2,13 @@ export declare const notificationResponseSchema: import("@sinclair/typebox").TOb
|
|
|
2
2
|
createdAt: import("@sinclair/typebox").TDate;
|
|
3
3
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
4
4
|
id: import("@sinclair/typebox").TString;
|
|
5
|
+
userId: import("@sinclair/typebox").TString;
|
|
5
6
|
status: import("@sinclair/typebox").TEnum<{
|
|
6
7
|
archived: "archived";
|
|
7
8
|
unread: "unread";
|
|
8
9
|
read: "read";
|
|
9
10
|
deleted: "deleted";
|
|
10
11
|
}>;
|
|
11
|
-
userId: import("@sinclair/typebox").TString;
|
|
12
12
|
archivedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
13
13
|
readAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
14
14
|
notificationId: import("@sinclair/typebox").TString;
|
|
@@ -191,13 +191,13 @@ export declare const notificationListResponseSchema: import("@sinclair/typebox")
|
|
|
191
191
|
createdAt: import("@sinclair/typebox").TDate;
|
|
192
192
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
193
193
|
id: import("@sinclair/typebox").TString;
|
|
194
|
+
userId: import("@sinclair/typebox").TString;
|
|
194
195
|
status: import("@sinclair/typebox").TEnum<{
|
|
195
196
|
archived: "archived";
|
|
196
197
|
unread: "unread";
|
|
197
198
|
read: "read";
|
|
198
199
|
deleted: "deleted";
|
|
199
200
|
}>;
|
|
200
|
-
userId: import("@sinclair/typebox").TString;
|
|
201
201
|
archivedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
202
202
|
readAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
203
203
|
notificationId: import("@sinclair/typebox").TString;
|
|
@@ -384,13 +384,13 @@ export declare const notificationListResponseSchema: import("@sinclair/typebox")
|
|
|
384
384
|
}>;
|
|
385
385
|
export declare const notificationCreateSchema: import("@sinclair/typebox").TObject<{
|
|
386
386
|
category: import("@sinclair/typebox").TString;
|
|
387
|
+
expiresAt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>>;
|
|
387
388
|
type: import("@sinclair/typebox").TEnum<{
|
|
388
389
|
system: "system";
|
|
389
390
|
transaction: "transaction";
|
|
390
391
|
activity: "activity";
|
|
391
392
|
security: "security";
|
|
392
393
|
}>;
|
|
393
|
-
expiresAt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>>;
|
|
394
394
|
title: import("@sinclair/typebox").TString;
|
|
395
395
|
content: import("@sinclair/typebox").TString;
|
|
396
396
|
priority: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
@@ -41,7 +41,7 @@ export declare const notificationAdminRouter: Elysia<"/notifications", {
|
|
|
41
41
|
route: string;
|
|
42
42
|
request: Request;
|
|
43
43
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
44
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -175,11 +175,11 @@ export declare const notificationAdminRouter: Elysia<"/notifications", {
|
|
|
175
175
|
emailVerified: boolean;
|
|
176
176
|
name: string;
|
|
177
177
|
image?: string | null | undefined | undefined;
|
|
178
|
-
phoneNumber?: string | null | undefined;
|
|
179
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
180
178
|
twoFactorEnabled: boolean | null | undefined;
|
|
181
179
|
username?: string | null | undefined;
|
|
182
180
|
displayUsername?: string | null | undefined;
|
|
181
|
+
phoneNumber?: string | null | undefined;
|
|
182
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
183
183
|
banned: boolean | null | undefined;
|
|
184
184
|
role?: string | null | undefined;
|
|
185
185
|
banReason?: string | null | undefined;
|
|
@@ -217,7 +217,7 @@ export declare const notificationAdminRouter: Elysia<"/notifications", {
|
|
|
217
217
|
route: string;
|
|
218
218
|
request: Request;
|
|
219
219
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
220
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -351,11 +351,11 @@ export declare const notificationAdminRouter: Elysia<"/notifications", {
|
|
|
351
351
|
emailVerified: boolean;
|
|
352
352
|
name: string;
|
|
353
353
|
image?: string | null | undefined | undefined;
|
|
354
|
-
phoneNumber?: string | null | undefined;
|
|
355
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
356
354
|
twoFactorEnabled: boolean | null | undefined;
|
|
357
355
|
username?: string | null | undefined;
|
|
358
356
|
displayUsername?: string | null | undefined;
|
|
357
|
+
phoneNumber?: string | null | undefined;
|
|
358
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
359
359
|
banned: boolean | null | undefined;
|
|
360
360
|
role?: string | null | undefined;
|
|
361
361
|
banReason?: string | null | undefined;
|
|
@@ -393,8 +393,8 @@ export declare const notificationAdminRouter: Elysia<"/notifications", {
|
|
|
393
393
|
content: string;
|
|
394
394
|
};
|
|
395
395
|
params: {};
|
|
396
|
-
query:
|
|
397
|
-
headers:
|
|
396
|
+
query: {};
|
|
397
|
+
headers: {};
|
|
398
398
|
response: {
|
|
399
399
|
200: {
|
|
400
400
|
type: "system" | "transaction" | "activity" | "security";
|
|
@@ -425,7 +425,7 @@ export declare const notificationAdminRouter: Elysia<"/notifications", {
|
|
|
425
425
|
} & {
|
|
426
426
|
notifications: {
|
|
427
427
|
get: {
|
|
428
|
-
body:
|
|
428
|
+
body: {};
|
|
429
429
|
params: {};
|
|
430
430
|
query: {
|
|
431
431
|
type?: "system" | "transaction" | "activity" | "security" | undefined;
|
|
@@ -435,7 +435,7 @@ export declare const notificationAdminRouter: Elysia<"/notifications", {
|
|
|
435
435
|
pageSize?: number | undefined;
|
|
436
436
|
pageIndex?: number | undefined;
|
|
437
437
|
};
|
|
438
|
-
headers:
|
|
438
|
+
headers: {};
|
|
439
439
|
response: {
|
|
440
440
|
200: {
|
|
441
441
|
data: {
|
|
@@ -480,10 +480,10 @@ export declare const notificationAdminRouter: Elysia<"/notifications", {
|
|
|
480
480
|
notifications: {
|
|
481
481
|
stats: {
|
|
482
482
|
get: {
|
|
483
|
-
body:
|
|
483
|
+
body: {};
|
|
484
484
|
params: {};
|
|
485
|
-
query:
|
|
486
|
-
headers:
|
|
485
|
+
query: {};
|
|
486
|
+
headers: {};
|
|
487
487
|
response: {
|
|
488
488
|
200: {
|
|
489
489
|
totalSent: number;
|
|
@@ -515,11 +515,11 @@ export declare const notificationAdminRouter: Elysia<"/notifications", {
|
|
|
515
515
|
emailVerified: boolean;
|
|
516
516
|
name: string;
|
|
517
517
|
image?: string | null | undefined | undefined;
|
|
518
|
-
phoneNumber?: string | null | undefined;
|
|
519
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
520
518
|
twoFactorEnabled: boolean | null | undefined;
|
|
521
519
|
username?: string | null | undefined;
|
|
522
520
|
displayUsername?: string | null | undefined;
|
|
521
|
+
phoneNumber?: string | null | undefined;
|
|
522
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
523
523
|
banned: boolean | null | undefined;
|
|
524
524
|
role?: string | null | undefined;
|
|
525
525
|
banReason?: string | null | undefined;
|
|
@@ -545,11 +545,11 @@ export declare const notificationAdminRouter: Elysia<"/notifications", {
|
|
|
545
545
|
emailVerified: boolean;
|
|
546
546
|
name: string;
|
|
547
547
|
image?: string | null | undefined | undefined;
|
|
548
|
-
phoneNumber?: string | null | undefined;
|
|
549
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
550
548
|
twoFactorEnabled: boolean | null | undefined;
|
|
551
549
|
username?: string | null | undefined;
|
|
552
550
|
displayUsername?: string | null | undefined;
|
|
551
|
+
phoneNumber?: string | null | undefined;
|
|
552
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
553
553
|
banned: boolean | null | undefined;
|
|
554
554
|
role?: string | null | undefined;
|
|
555
555
|
banReason?: string | null | undefined;
|
|
@@ -571,9 +571,6 @@ export declare const notificationAdminRouter: Elysia<"/notifications", {
|
|
|
571
571
|
standaloneSchema: {};
|
|
572
572
|
response: {
|
|
573
573
|
401: "Unauthorized";
|
|
574
|
-
} & {
|
|
575
|
-
401: "Unauthorized";
|
|
576
|
-
} & {
|
|
577
574
|
403: "Forbidden: Admins only";
|
|
578
575
|
};
|
|
579
576
|
}>;
|
|
@@ -2,13 +2,13 @@ export declare const notificationResponseSchema: import("@sinclair/typebox").TOb
|
|
|
2
2
|
createdAt: import("@sinclair/typebox").TDate;
|
|
3
3
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
4
4
|
id: import("@sinclair/typebox").TString;
|
|
5
|
+
userId: import("@sinclair/typebox").TString;
|
|
5
6
|
status: import("@sinclair/typebox").TEnum<{
|
|
6
7
|
archived: "archived";
|
|
7
8
|
unread: "unread";
|
|
8
9
|
read: "read";
|
|
9
10
|
deleted: "deleted";
|
|
10
11
|
}>;
|
|
11
|
-
userId: import("@sinclair/typebox").TString;
|
|
12
12
|
archivedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
13
13
|
readAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
14
14
|
notificationId: import("@sinclair/typebox").TString;
|
|
@@ -191,13 +191,13 @@ export declare const notificationListResponseSchema: import("@sinclair/typebox")
|
|
|
191
191
|
createdAt: import("@sinclair/typebox").TDate;
|
|
192
192
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
193
193
|
id: import("@sinclair/typebox").TString;
|
|
194
|
+
userId: import("@sinclair/typebox").TString;
|
|
194
195
|
status: import("@sinclair/typebox").TEnum<{
|
|
195
196
|
archived: "archived";
|
|
196
197
|
unread: "unread";
|
|
197
198
|
read: "read";
|
|
198
199
|
deleted: "deleted";
|
|
199
200
|
}>;
|
|
200
|
-
userId: import("@sinclair/typebox").TString;
|
|
201
201
|
archivedAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
202
202
|
readAt: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TDate, import("@sinclair/typebox").TNull]>;
|
|
203
203
|
notificationId: import("@sinclair/typebox").TString;
|
|
@@ -41,7 +41,7 @@ export declare const notificationRouter: Elysia<"/notifications", {
|
|
|
41
41
|
route: string;
|
|
42
42
|
request: Request;
|
|
43
43
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
44
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -175,11 +175,11 @@ export declare const notificationRouter: Elysia<"/notifications", {
|
|
|
175
175
|
emailVerified: boolean;
|
|
176
176
|
name: string;
|
|
177
177
|
image?: string | null | undefined | undefined;
|
|
178
|
-
phoneNumber?: string | null | undefined;
|
|
179
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
180
178
|
twoFactorEnabled: boolean | null | undefined;
|
|
181
179
|
username?: string | null | undefined;
|
|
182
180
|
displayUsername?: string | null | undefined;
|
|
181
|
+
phoneNumber?: string | null | undefined;
|
|
182
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
183
183
|
banned: boolean | null | undefined;
|
|
184
184
|
role?: string | null | undefined;
|
|
185
185
|
banReason?: string | null | undefined;
|
|
@@ -217,7 +217,7 @@ export declare const notificationRouter: Elysia<"/notifications", {
|
|
|
217
217
|
route: string;
|
|
218
218
|
request: Request;
|
|
219
219
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
220
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -351,11 +351,11 @@ export declare const notificationRouter: Elysia<"/notifications", {
|
|
|
351
351
|
emailVerified: boolean;
|
|
352
352
|
name: string;
|
|
353
353
|
image?: string | null | undefined | undefined;
|
|
354
|
-
phoneNumber?: string | null | undefined;
|
|
355
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
356
354
|
twoFactorEnabled: boolean | null | undefined;
|
|
357
355
|
username?: string | null | undefined;
|
|
358
356
|
displayUsername?: string | null | undefined;
|
|
357
|
+
phoneNumber?: string | null | undefined;
|
|
358
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
359
359
|
banned: boolean | null | undefined;
|
|
360
360
|
role?: string | null | undefined;
|
|
361
361
|
banReason?: string | null | undefined;
|
|
@@ -382,7 +382,7 @@ export declare const notificationRouter: Elysia<"/notifications", {
|
|
|
382
382
|
} & {
|
|
383
383
|
notifications: {
|
|
384
384
|
get: {
|
|
385
|
-
body:
|
|
385
|
+
body: {};
|
|
386
386
|
params: {};
|
|
387
387
|
query: {
|
|
388
388
|
type?: "system" | "transaction" | "activity" | "security" | undefined;
|
|
@@ -392,7 +392,7 @@ export declare const notificationRouter: Elysia<"/notifications", {
|
|
|
392
392
|
pageSize?: number | undefined;
|
|
393
393
|
pageIndex?: number | undefined;
|
|
394
394
|
};
|
|
395
|
-
headers:
|
|
395
|
+
headers: {};
|
|
396
396
|
response: {
|
|
397
397
|
200: {
|
|
398
398
|
data: {
|
|
@@ -442,10 +442,10 @@ export declare const notificationRouter: Elysia<"/notifications", {
|
|
|
442
442
|
notifications: {
|
|
443
443
|
"unread-count": {
|
|
444
444
|
get: {
|
|
445
|
-
body:
|
|
445
|
+
body: {};
|
|
446
446
|
params: {};
|
|
447
|
-
query:
|
|
448
|
-
headers:
|
|
447
|
+
query: {};
|
|
448
|
+
headers: {};
|
|
449
449
|
response: {
|
|
450
450
|
200: {
|
|
451
451
|
count: number;
|
|
@@ -468,12 +468,12 @@ export declare const notificationRouter: Elysia<"/notifications", {
|
|
|
468
468
|
notifications: {
|
|
469
469
|
":id": {
|
|
470
470
|
get: {
|
|
471
|
-
body:
|
|
471
|
+
body: {};
|
|
472
472
|
params: {
|
|
473
473
|
id: string;
|
|
474
474
|
};
|
|
475
|
-
query:
|
|
476
|
-
headers:
|
|
475
|
+
query: {};
|
|
476
|
+
headers: {};
|
|
477
477
|
response: {
|
|
478
478
|
200: {
|
|
479
479
|
id: string;
|
|
@@ -516,12 +516,12 @@ export declare const notificationRouter: Elysia<"/notifications", {
|
|
|
516
516
|
":id": {
|
|
517
517
|
read: {
|
|
518
518
|
post: {
|
|
519
|
-
body:
|
|
519
|
+
body: {};
|
|
520
520
|
params: {
|
|
521
521
|
id: string;
|
|
522
522
|
};
|
|
523
|
-
query:
|
|
524
|
-
headers:
|
|
523
|
+
query: {};
|
|
524
|
+
headers: {};
|
|
525
525
|
response: {
|
|
526
526
|
200: {
|
|
527
527
|
id: string;
|
|
@@ -565,8 +565,8 @@ export declare const notificationRouter: Elysia<"/notifications", {
|
|
|
565
565
|
ids?: string[] | undefined;
|
|
566
566
|
};
|
|
567
567
|
params: {};
|
|
568
|
-
query:
|
|
569
|
-
headers:
|
|
568
|
+
query: {};
|
|
569
|
+
headers: {};
|
|
570
570
|
response: {
|
|
571
571
|
200: {
|
|
572
572
|
count: number;
|
|
@@ -602,11 +602,11 @@ export declare const notificationRouter: Elysia<"/notifications", {
|
|
|
602
602
|
emailVerified: boolean;
|
|
603
603
|
name: string;
|
|
604
604
|
image?: string | null | undefined | undefined;
|
|
605
|
-
phoneNumber?: string | null | undefined;
|
|
606
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
607
605
|
twoFactorEnabled: boolean | null | undefined;
|
|
608
606
|
username?: string | null | undefined;
|
|
609
607
|
displayUsername?: string | null | undefined;
|
|
608
|
+
phoneNumber?: string | null | undefined;
|
|
609
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
610
610
|
banned: boolean | null | undefined;
|
|
611
611
|
role?: string | null | undefined;
|
|
612
612
|
banReason?: string | null | undefined;
|
|
@@ -41,7 +41,7 @@ export declare const receiptMethodAdminRouter: Elysia<"/receipt_method", {
|
|
|
41
41
|
route: string;
|
|
42
42
|
request: Request;
|
|
43
43
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
44
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -175,11 +175,11 @@ export declare const receiptMethodAdminRouter: Elysia<"/receipt_method", {
|
|
|
175
175
|
emailVerified: boolean;
|
|
176
176
|
name: string;
|
|
177
177
|
image?: string | null | undefined | undefined;
|
|
178
|
-
phoneNumber?: string | null | undefined;
|
|
179
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
180
178
|
twoFactorEnabled: boolean | null | undefined;
|
|
181
179
|
username?: string | null | undefined;
|
|
182
180
|
displayUsername?: string | null | undefined;
|
|
181
|
+
phoneNumber?: string | null | undefined;
|
|
182
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
183
183
|
banned: boolean | null | undefined;
|
|
184
184
|
role?: string | null | undefined;
|
|
185
185
|
banReason?: string | null | undefined;
|
|
@@ -217,7 +217,7 @@ export declare const receiptMethodAdminRouter: Elysia<"/receipt_method", {
|
|
|
217
217
|
route: string;
|
|
218
218
|
request: Request;
|
|
219
219
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
220
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -351,11 +351,11 @@ export declare const receiptMethodAdminRouter: Elysia<"/receipt_method", {
|
|
|
351
351
|
emailVerified: boolean;
|
|
352
352
|
name: string;
|
|
353
353
|
image?: string | null | undefined | undefined;
|
|
354
|
-
phoneNumber?: string | null | undefined;
|
|
355
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
356
354
|
twoFactorEnabled: boolean | null | undefined;
|
|
357
355
|
username?: string | null | undefined;
|
|
358
356
|
displayUsername?: string | null | undefined;
|
|
357
|
+
phoneNumber?: string | null | undefined;
|
|
358
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
359
359
|
banned: boolean | null | undefined;
|
|
360
360
|
role?: string | null | undefined;
|
|
361
361
|
banReason?: string | null | undefined;
|
|
@@ -515,11 +515,11 @@ export declare const receiptMethodAdminRouter: Elysia<"/receipt_method", {
|
|
|
515
515
|
emailVerified: boolean;
|
|
516
516
|
name: string;
|
|
517
517
|
image?: string | null | undefined | undefined;
|
|
518
|
-
phoneNumber?: string | null | undefined;
|
|
519
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
520
518
|
twoFactorEnabled: boolean | null | undefined;
|
|
521
519
|
username?: string | null | undefined;
|
|
522
520
|
displayUsername?: string | null | undefined;
|
|
521
|
+
phoneNumber?: string | null | undefined;
|
|
522
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
523
523
|
banned: boolean | null | undefined;
|
|
524
524
|
role?: string | null | undefined;
|
|
525
525
|
banReason?: string | null | undefined;
|
|
@@ -545,11 +545,11 @@ export declare const receiptMethodAdminRouter: Elysia<"/receipt_method", {
|
|
|
545
545
|
emailVerified: boolean;
|
|
546
546
|
name: string;
|
|
547
547
|
image?: string | null | undefined | undefined;
|
|
548
|
-
phoneNumber?: string | null | undefined;
|
|
549
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
550
548
|
twoFactorEnabled: boolean | null | undefined;
|
|
551
549
|
username?: string | null | undefined;
|
|
552
550
|
displayUsername?: string | null | undefined;
|
|
551
|
+
phoneNumber?: string | null | undefined;
|
|
552
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
553
553
|
banned: boolean | null | undefined;
|
|
554
554
|
role?: string | null | undefined;
|
|
555
555
|
banReason?: string | null | undefined;
|
|
@@ -571,9 +571,6 @@ export declare const receiptMethodAdminRouter: Elysia<"/receipt_method", {
|
|
|
571
571
|
standaloneSchema: {};
|
|
572
572
|
response: {
|
|
573
573
|
401: "Unauthorized";
|
|
574
|
-
} & {
|
|
575
|
-
401: "Unauthorized";
|
|
576
|
-
} & {
|
|
577
574
|
403: "Forbidden: Admins only";
|
|
578
575
|
};
|
|
579
576
|
}>;
|