@photon-ai/dashboard-api 1.6.14 → 1.6.16

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +40 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -3478,7 +3478,7 @@ declare const publicApp: Elysia<"", {
3478
3478
  } & {
3479
3479
  api: {
3480
3480
  otp: {
3481
- phone: {
3481
+ phone2: {
3482
3482
  send: {
3483
3483
  post: {
3484
3484
  body: {
@@ -3512,6 +3512,44 @@ declare const publicApp: Elysia<"", {
3512
3512
  };
3513
3513
  };
3514
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
+ };
3515
3553
  } & {
3516
3554
  api: {
3517
3555
  otp: {
@@ -3519,8 +3557,8 @@ declare const publicApp: Elysia<"", {
3519
3557
  verify: {
3520
3558
  post: {
3521
3559
  body: {
3522
- code: string;
3523
3560
  phone: string;
3561
+ code: string;
3524
3562
  };
3525
3563
  params: {};
3526
3564
  query: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photon-ai/dashboard-api",
3
- "version": "1.6.14",
3
+ "version": "1.6.16",
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",