@photon-ai/dashboard-api 1.6.13 → 1.6.15
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/index.d.ts +44 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -462,6 +462,10 @@ declare const publicApp: Elysia<"", {
|
|
|
462
462
|
headers: unknown;
|
|
463
463
|
response: {
|
|
464
464
|
200: {
|
|
465
|
+
avatarUrl: string | null;
|
|
466
|
+
plan: PlanTier;
|
|
467
|
+
platforms: SpectrumPlatformId[];
|
|
468
|
+
userCount: number;
|
|
465
469
|
isOwner: boolean;
|
|
466
470
|
id: string;
|
|
467
471
|
name: string;
|
|
@@ -3474,7 +3478,7 @@ declare const publicApp: Elysia<"", {
|
|
|
3474
3478
|
} & {
|
|
3475
3479
|
api: {
|
|
3476
3480
|
otp: {
|
|
3477
|
-
|
|
3481
|
+
phone2: {
|
|
3478
3482
|
send: {
|
|
3479
3483
|
post: {
|
|
3480
3484
|
body: {
|
|
@@ -3508,6 +3512,44 @@ declare const publicApp: Elysia<"", {
|
|
|
3508
3512
|
};
|
|
3509
3513
|
};
|
|
3510
3514
|
};
|
|
3515
|
+
} & {
|
|
3516
|
+
api: {
|
|
3517
|
+
otp: {
|
|
3518
|
+
phone: {
|
|
3519
|
+
send: {
|
|
3520
|
+
post: {
|
|
3521
|
+
body: {
|
|
3522
|
+
captchaToken?: string | undefined;
|
|
3523
|
+
phone: string;
|
|
3524
|
+
};
|
|
3525
|
+
params: {};
|
|
3526
|
+
query: unknown;
|
|
3527
|
+
headers: unknown;
|
|
3528
|
+
response: {
|
|
3529
|
+
200: {
|
|
3530
|
+
error: string;
|
|
3531
|
+
} | {
|
|
3532
|
+
skipped: true;
|
|
3533
|
+
success?: undefined;
|
|
3534
|
+
} | {
|
|
3535
|
+
success: true;
|
|
3536
|
+
skipped?: undefined;
|
|
3537
|
+
};
|
|
3538
|
+
422: {
|
|
3539
|
+
type: "validation";
|
|
3540
|
+
on: string;
|
|
3541
|
+
summary?: string;
|
|
3542
|
+
message?: string;
|
|
3543
|
+
found?: unknown;
|
|
3544
|
+
property?: string;
|
|
3545
|
+
expected?: string;
|
|
3546
|
+
};
|
|
3547
|
+
};
|
|
3548
|
+
};
|
|
3549
|
+
};
|
|
3550
|
+
};
|
|
3551
|
+
};
|
|
3552
|
+
};
|
|
3511
3553
|
} & {
|
|
3512
3554
|
api: {
|
|
3513
3555
|
otp: {
|
|
@@ -3515,8 +3557,8 @@ declare const publicApp: Elysia<"", {
|
|
|
3515
3557
|
verify: {
|
|
3516
3558
|
post: {
|
|
3517
3559
|
body: {
|
|
3518
|
-
code: string;
|
|
3519
3560
|
phone: string;
|
|
3561
|
+
code: string;
|
|
3520
3562
|
};
|
|
3521
3563
|
params: {};
|
|
3522
3564
|
query: unknown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@photon-ai/dashboard-api",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.15",
|
|
4
4
|
"description": "Public API type contract for the Photon Dashboard. Use with @elysiajs/eden treaty for end-to-end type-safe API calls.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/photon-hq/dashboard",
|