@photon-ai/dashboard-api 1.2.0 → 1.2.3

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 +555 -1867
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -6,180 +6,6 @@
6
6
  */
7
7
  import { Elysia } from 'elysia';
8
8
 
9
- type AccountType = "developer" | "organization";
10
-
11
- interface BillingPrice {
12
- currency: string;
13
- id: string;
14
- recurring: {
15
- interval: "day" | "week" | "month" | "year";
16
- interval_count: number;
17
- } | null;
18
- type: "one_time" | "recurring";
19
- unit_amount: number | null;
20
- }
21
- interface BillingProduct {
22
- description: string | null;
23
- id: string;
24
- metadata: Record<string, string>;
25
- name: string;
26
- prices: BillingPrice[];
27
- }
28
-
29
- interface SpectrumProfile {
30
- avatarUrl: string | null;
31
- firstName: string | null;
32
- lastName: string | null;
33
- projectId: string;
34
- }
35
- interface SpectrumUser {
36
- assignedPhoneNumber: string;
37
- createdAt: string;
38
- email: string | null;
39
- firstName: string | null;
40
- id: string;
41
- lastName: string | null;
42
- meta: Record<string, unknown> | null;
43
- phoneNumber: string;
44
- projectId: string;
45
- type: "shared" | "dedicated";
46
- }
47
- interface WhatsAppPhoneNumber {
48
- accountId: string;
49
- createdAt: string;
50
- displayPhoneNumber: string | null;
51
- id: string;
52
- phoneNumberId: string;
53
- qualityRating: string | null;
54
- verifiedName: string | null;
55
- }
56
- type IMessageLineStatus = "available" | "unavailable" | "unknown";
57
- interface IMessageLine {
58
- createdAt: string;
59
- id: string;
60
- phoneNumber: string;
61
- platform: "imessage";
62
- status: IMessageLineStatus;
63
- }
64
- interface WhatsAppBusinessLine {
65
- accountId?: string | null;
66
- businessName: string | null;
67
- createdAt: string;
68
- displayPhoneNumber: string | null;
69
- id: string;
70
- phoneNumberId: string;
71
- platform: "whatsapp_business";
72
- qualityRating: string | null;
73
- verifiedName: string | null;
74
- wabaId: string;
75
- }
76
- type SpectrumLine = IMessageLine | WhatsAppBusinessLine;
77
- type SpectrumPlatformId = "imessage" | "whatsapp_business" | "voice" | "slack";
78
- type SpectrumSlackFeature = "channel-history" | "read-tracking" | "dms" | "files" | "reactions" | "pins";
79
- interface SpectrumSlackConfig {
80
- appConfigId: string;
81
- appId: string | null;
82
- clientId: string | null;
83
- clientSecret: string | null;
84
- createdAt: string;
85
- enabledFeatures: SpectrumSlackFeature[];
86
- installationCount: number;
87
- projectId: string;
88
- signingSecret: string | null;
89
- updatedAt: string;
90
- }
91
- interface SpectrumSlackInstallation {
92
- appConfigId: string;
93
- appId: string;
94
- botToken: string;
95
- botUserId: string;
96
- grantedScopes: string[];
97
- installationId: string;
98
- installedAt: string;
99
- projectId: string;
100
- teamId: string;
101
- teamName: string;
102
- updatedAt: string;
103
- }
104
- interface SpectrumSipInboundConfig {
105
- configId: string;
106
- createdAt: string;
107
- hasPassword: boolean;
108
- projectId: string;
109
- sipUri: string;
110
- updatedAt: string;
111
- username: string | null;
112
- }
113
- interface SpectrumSubscription {
114
- customer_id: string | null;
115
- status: "active" | "canceled" | "past_due" | null;
116
- subscription_id: string | null;
117
- tier: string;
118
- }
119
- interface SpectrumWebhook {
120
- createdAt: string;
121
- id: string;
122
- updatedAt: string;
123
- webhookUrl: string;
124
- }
125
- interface SpectrumWebhookCreated extends SpectrumWebhook {
126
- signingSecret: string;
127
- }
128
- type WhatsAppTemplateStatus = "APPROVED" | "PENDING" | "REJECTED" | "PAUSED" | "IN_APPEAL" | "PENDING_DELETION" | "DELETED" | "DISABLED" | "LIMIT_EXCEEDED";
129
- type WhatsAppTemplateCategory = "MARKETING" | "UTILITY" | "AUTHENTICATION";
130
- type WhatsAppTemplateParameterFormat = "POSITIONAL" | "NAMED";
131
- interface WhatsAppTemplateComponent {
132
- type: string;
133
- [key: string]: unknown;
134
- }
135
- interface WhatsAppTemplate {
136
- category: WhatsAppTemplateCategory;
137
- components: WhatsAppTemplateComponent[];
138
- id: string;
139
- language: string;
140
- name: string;
141
- parameterFormat?: WhatsAppTemplateParameterFormat;
142
- qualityScore?: {
143
- score?: string;
144
- [key: string]: unknown;
145
- };
146
- rejectedReason?: string;
147
- status: WhatsAppTemplateStatus;
148
- }
149
- interface WhatsAppTemplatePaging {
150
- nextCursor: string | null;
151
- prevCursor: string | null;
152
- }
153
- /**
154
- * Outcome of attempting to add the project owner as a Spectrum shared user
155
- * after a Spectrum project is provisioned. Returned alongside the regular
156
- * create/toggle response so the frontend can surface the result to the user.
157
- *
158
- * - `added`: shared user was created, tagged as project_owner, and an
159
- * invitation email was dispatched (fire-and-forget — a delivery failure
160
- * does not downgrade the status, since the owner can re-invite from the
161
- * Users tab and the upstream rate-limits to one invite per 24 hours).
162
- * - `skipped_no_phone`: owner has no phone number on their account; nothing
163
- * was attempted.
164
- * - `skipped_pool_exhausted`: the Cosmos shared-number pool is exhausted for
165
- * this owner phone (per-user cap reached). No shared user created.
166
- * - `failed`: an unexpected error occurred. The Spectrum project itself was
167
- * created — the owner just wasn't enrolled.
168
- */
169
- type SpectrumOwnerStatus = "added" | "skipped_no_phone" | "skipped_pool_exhausted" | "failed";
170
-
171
- /**
172
- * Subscription tier exposed to the dashboard. Spectrum returns its own
173
- * `tier` string; the API normalizes it to this set, falling back to
174
- * `"free"` on any unrecognized value.
175
- */
176
- type PlanTier = "free" | "pro" | "business" | "enterprise";
177
-
178
- interface SpectrumUsersPage {
179
- total: number;
180
- users: SpectrumUser[];
181
- }
182
-
183
9
  declare const publicApp: Elysia<"", {
184
10
  decorator: {};
185
11
  store: {};
@@ -231,14 +57,14 @@ declare const publicApp: Elysia<"", {
231
57
  api: {
232
58
  auth: {
233
59
  get: {
234
- body: unknown;
235
- params: {};
236
- query: unknown;
237
- headers: unknown;
60
+ body: any;
61
+ params: any;
62
+ query: any;
63
+ headers: any;
238
64
  response: {
239
- 200: Response | {
240
- error: string;
241
- };
65
+ [x: string]: any;
66
+ [x: number]: any;
67
+ [x: symbol]: any;
242
68
  };
243
69
  };
244
70
  };
@@ -251,14 +77,14 @@ declare const publicApp: Elysia<"", {
251
77
  api: {
252
78
  auth: {
253
79
  get: {
254
- body: unknown;
255
- params: {};
256
- query: unknown;
257
- headers: unknown;
80
+ body: any;
81
+ params: any;
82
+ query: any;
83
+ headers: any;
258
84
  response: {
259
- 200: Response | {
260
- error: string;
261
- };
85
+ [x: string]: any;
86
+ [x: number]: any;
87
+ [x: symbol]: any;
262
88
  };
263
89
  };
264
90
  };
@@ -269,30 +95,14 @@ declare const publicApp: Elysia<"", {
269
95
  api: {
270
96
  projects: {
271
97
  get: {
272
- body: unknown;
273
- params: {};
274
- query: unknown;
275
- headers: unknown;
98
+ body: any;
99
+ params: any;
100
+ query: any;
101
+ headers: any;
276
102
  response: {
277
- 200: {
278
- avatarUrl: string | null;
279
- plan: PlanTier;
280
- platforms: SpectrumPlatformId[];
281
- userCount: number;
282
- messages30d: number;
283
- hourly: never[];
284
- name: string;
285
- status: string;
286
- id: string;
287
- createdAt: Date;
288
- updatedAt: Date;
289
- location: string;
290
- projectSecret: string | null;
291
- template: boolean;
292
- observability: boolean;
293
- slackChannelId: string | null;
294
- slackTeamId: string | null;
295
- }[];
103
+ [x: string]: any;
104
+ [x: number]: any;
105
+ [x: symbol]: any;
296
106
  };
297
107
  };
298
108
  };
@@ -304,23 +114,12 @@ declare const publicApp: Elysia<"", {
304
114
  get: {
305
115
  body: unknown;
306
116
  params: {};
307
- query: {
308
- phoneNumber: string;
309
- };
310
- headers: unknown;
117
+ query: any;
118
+ headers: any;
311
119
  response: {
312
- 200: {
313
- available: boolean;
314
- };
315
- 422: {
316
- type: "validation";
317
- on: string;
318
- summary?: string;
319
- message?: string;
320
- found?: unknown;
321
- property?: string;
322
- expected?: string;
323
- };
120
+ [x: string]: any;
121
+ [x: number]: any;
122
+ [x: symbol]: any;
324
123
  };
325
124
  };
326
125
  };
@@ -331,36 +130,14 @@ declare const publicApp: Elysia<"", {
331
130
  projects: {
332
131
  ":id": {
333
132
  get: {
334
- body: unknown;
335
- params: {
336
- id: string;
337
- } & {};
338
- query: unknown;
339
- headers: unknown;
133
+ body: any;
134
+ params: any;
135
+ query: any;
136
+ headers: any;
340
137
  response: {
341
- 200: {
342
- isOwner: boolean;
343
- name: string;
344
- status: string;
345
- id: string;
346
- createdAt: Date;
347
- updatedAt: Date;
348
- location: string;
349
- projectSecret: string | null;
350
- template: boolean;
351
- observability: boolean;
352
- slackChannelId: string | null;
353
- slackTeamId: string | null;
354
- } | null;
355
- 422: {
356
- type: "validation";
357
- on: string;
358
- summary?: string;
359
- message?: string;
360
- found?: unknown;
361
- property?: string;
362
- expected?: string;
363
- };
138
+ [x: string]: any;
139
+ [x: number]: any;
140
+ [x: symbol]: any;
364
141
  };
365
142
  };
366
143
  };
@@ -370,37 +147,14 @@ declare const publicApp: Elysia<"", {
370
147
  api: {
371
148
  projects: {
372
149
  post: {
373
- body: {
374
- platforms?: ("imessage" | "whatsapp_business" | "voice")[] | undefined;
375
- location?: string | undefined;
376
- template?: boolean | undefined;
377
- observability?: boolean | undefined;
378
- name: string;
379
- };
150
+ body: any;
380
151
  params: {};
381
- query: unknown;
382
- headers: unknown;
152
+ query: any;
153
+ headers: any;
383
154
  response: {
384
- 200: {
385
- error: string;
386
- success?: undefined;
387
- id?: undefined;
388
- ownerStatus?: undefined;
389
- } | {
390
- success: true;
391
- id: string;
392
- ownerStatus: SpectrumOwnerStatus | undefined;
393
- error?: undefined;
394
- };
395
- 422: {
396
- type: "validation";
397
- on: string;
398
- summary?: string;
399
- message?: string;
400
- found?: unknown;
401
- property?: string;
402
- expected?: string;
403
- };
155
+ [x: string]: any;
156
+ [x: number]: any;
157
+ [x: symbol]: any;
404
158
  };
405
159
  };
406
160
  };
@@ -410,31 +164,16 @@ declare const publicApp: Elysia<"", {
410
164
  projects: {
411
165
  ":id": {
412
166
  patch: {
413
- body: {
414
- name: string;
415
- };
167
+ body: any;
416
168
  params: {
417
169
  id: string;
418
170
  } & {};
419
- query: unknown;
420
- headers: unknown;
171
+ query: any;
172
+ headers: any;
421
173
  response: {
422
- 200: {
423
- error: string;
424
- success?: undefined;
425
- } | {
426
- success: true;
427
- error?: undefined;
428
- };
429
- 422: {
430
- type: "validation";
431
- on: string;
432
- summary?: string;
433
- message?: string;
434
- found?: unknown;
435
- property?: string;
436
- expected?: string;
437
- };
174
+ [x: string]: any;
175
+ [x: number]: any;
176
+ [x: symbol]: any;
438
177
  };
439
178
  };
440
179
  };
@@ -445,29 +184,14 @@ declare const publicApp: Elysia<"", {
445
184
  projects: {
446
185
  ":id": {
447
186
  delete: {
448
- body: unknown;
449
- params: {
450
- id: string;
451
- } & {};
452
- query: unknown;
453
- headers: unknown;
187
+ body: any;
188
+ params: any;
189
+ query: any;
190
+ headers: any;
454
191
  response: {
455
- 200: {
456
- error: string;
457
- success?: undefined;
458
- } | {
459
- success: true;
460
- error?: undefined;
461
- };
462
- 422: {
463
- type: "validation";
464
- on: string;
465
- summary?: string;
466
- message?: string;
467
- found?: unknown;
468
- property?: string;
469
- expected?: string;
470
- };
192
+ [x: string]: any;
193
+ [x: number]: any;
194
+ [x: symbol]: any;
471
195
  };
472
196
  };
473
197
  };
@@ -479,31 +203,14 @@ declare const publicApp: Elysia<"", {
479
203
  ":id": {
480
204
  "regenerate-secret": {
481
205
  post: {
482
- body: unknown;
483
- params: {
484
- id: string;
485
- } & {};
486
- query: unknown;
487
- headers: unknown;
206
+ body: any;
207
+ params: any;
208
+ query: any;
209
+ headers: any;
488
210
  response: {
489
- 200: {
490
- error: string;
491
- success?: undefined;
492
- projectSecret?: undefined;
493
- } | {
494
- success: boolean;
495
- projectSecret: string;
496
- error?: undefined;
497
- };
498
- 422: {
499
- type: "validation";
500
- on: string;
501
- summary?: string;
502
- message?: string;
503
- found?: unknown;
504
- property?: string;
505
- expected?: string;
506
- };
211
+ [x: string]: any;
212
+ [x: number]: any;
213
+ [x: symbol]: any;
507
214
  };
508
215
  };
509
216
  };
@@ -517,23 +224,14 @@ declare const publicApp: Elysia<"", {
517
224
  spectrum: {
518
225
  profile: {
519
226
  get: {
520
- body: unknown;
521
- params: {
522
- id: string;
523
- } & {};
524
- query: unknown;
525
- headers: unknown;
227
+ body: any;
228
+ params: any;
229
+ query: any;
230
+ headers: any;
526
231
  response: {
527
- 200: SpectrumProfile | null;
528
- 422: {
529
- type: "validation";
530
- on: string;
531
- summary?: string;
532
- message?: string;
533
- found?: unknown;
534
- property?: string;
535
- expected?: string;
536
- };
232
+ [x: string]: any;
233
+ [x: number]: any;
234
+ [x: symbol]: any;
537
235
  };
538
236
  };
539
237
  };
@@ -548,35 +246,16 @@ declare const publicApp: Elysia<"", {
548
246
  spectrum: {
549
247
  profile: {
550
248
  patch: {
551
- body: {
552
- firstName?: string | undefined;
553
- lastName?: string | undefined;
554
- avatarUrl?: string | undefined;
555
- };
249
+ body: any;
556
250
  params: {
557
251
  id: string;
558
252
  } & {};
559
- query: unknown;
560
- headers: unknown;
253
+ query: any;
254
+ headers: any;
561
255
  response: {
562
- 200: {
563
- error: string;
564
- success?: undefined;
565
- profile?: undefined;
566
- } | {
567
- success: boolean;
568
- profile: SpectrumProfile;
569
- error?: undefined;
570
- };
571
- 422: {
572
- type: "validation";
573
- on: string;
574
- summary?: string;
575
- message?: string;
576
- found?: unknown;
577
- property?: string;
578
- expected?: string;
579
- };
256
+ [x: string]: any;
257
+ [x: number]: any;
258
+ [x: symbol]: any;
580
259
  };
581
260
  };
582
261
  };
@@ -592,30 +271,16 @@ declare const publicApp: Elysia<"", {
592
271
  avatar: {
593
272
  upload: {
594
273
  post: {
595
- body: {
596
- contentType: string;
597
- };
274
+ body: any;
598
275
  params: {
599
276
  id: string;
600
277
  } & {};
601
- query: unknown;
602
- headers: unknown;
278
+ query: any;
279
+ headers: any;
603
280
  response: {
604
- 200: {
605
- uploadUrl: string;
606
- key: string;
607
- } | {
608
- error: string;
609
- };
610
- 422: {
611
- type: "validation";
612
- on: string;
613
- summary?: string;
614
- message?: string;
615
- found?: unknown;
616
- property?: string;
617
- expected?: string;
618
- };
281
+ [x: string]: any;
282
+ [x: number]: any;
283
+ [x: symbol]: any;
619
284
  };
620
285
  };
621
286
  };
@@ -632,31 +297,16 @@ declare const publicApp: Elysia<"", {
632
297
  avatar: {
633
298
  commit: {
634
299
  post: {
635
- body: {
636
- key: string;
637
- };
300
+ body: any;
638
301
  params: {
639
302
  id: string;
640
303
  } & {};
641
- query: unknown;
642
- headers: unknown;
304
+ query: any;
305
+ headers: any;
643
306
  response: {
644
- 200: {
645
- error: string;
646
- } | {
647
- avatarUrl: string;
648
- success: true;
649
- error?: undefined;
650
- };
651
- 422: {
652
- type: "validation";
653
- on: string;
654
- summary?: string;
655
- message?: string;
656
- found?: unknown;
657
- property?: string;
658
- expected?: string;
659
- };
307
+ [x: string]: any;
308
+ [x: number]: any;
309
+ [x: symbol]: any;
660
310
  };
661
311
  };
662
312
  };
@@ -672,29 +322,14 @@ declare const publicApp: Elysia<"", {
672
322
  spectrum: {
673
323
  avatar: {
674
324
  delete: {
675
- body: unknown;
676
- params: {
677
- id: string;
678
- } & {};
679
- query: unknown;
680
- headers: unknown;
325
+ body: any;
326
+ params: any;
327
+ query: any;
328
+ headers: any;
681
329
  response: {
682
- 200: {
683
- error: string;
684
- success?: undefined;
685
- } | {
686
- success: true;
687
- error?: undefined;
688
- };
689
- 422: {
690
- type: "validation";
691
- on: string;
692
- summary?: string;
693
- message?: string;
694
- found?: unknown;
695
- property?: string;
696
- expected?: string;
697
- };
330
+ [x: string]: any;
331
+ [x: number]: any;
332
+ [x: symbol]: any;
698
333
  };
699
334
  };
700
335
  };
@@ -713,23 +348,12 @@ declare const publicApp: Elysia<"", {
713
348
  params: {
714
349
  id: string;
715
350
  } & {};
716
- query: {
717
- search?: string | undefined;
718
- limit?: number | undefined;
719
- offset?: number | undefined;
720
- };
721
- headers: unknown;
351
+ query: any;
352
+ headers: any;
722
353
  response: {
723
- 200: SpectrumUsersPage;
724
- 422: {
725
- type: "validation";
726
- on: string;
727
- summary?: string;
728
- message?: string;
729
- found?: unknown;
730
- property?: string;
731
- expected?: string;
732
- };
354
+ [x: string]: any;
355
+ [x: number]: any;
356
+ [x: symbol]: any;
733
357
  };
734
358
  };
735
359
  };
@@ -744,45 +368,16 @@ declare const publicApp: Elysia<"", {
744
368
  spectrum: {
745
369
  users: {
746
370
  post: {
747
- body: {
748
- type?: "shared" | undefined;
749
- sendInvite?: boolean | undefined;
750
- email: string;
751
- phoneNumber: string;
752
- firstName: string;
753
- lastName: string;
754
- } | {
755
- email: string;
756
- phoneNumber: string;
757
- type: "dedicated";
758
- firstName: string;
759
- lastName: string;
760
- assignedPhoneNumber: string;
761
- };
371
+ body: any;
762
372
  params: {
763
373
  id: string;
764
374
  } & {};
765
- query: unknown;
766
- headers: unknown;
375
+ query: any;
376
+ headers: any;
767
377
  response: {
768
- 200: {
769
- error: string;
770
- success?: undefined;
771
- user?: undefined;
772
- } | {
773
- success: true;
774
- user: SpectrumUser;
775
- error?: undefined;
776
- };
777
- 422: {
778
- type: "validation";
779
- on: string;
780
- summary?: string;
781
- message?: string;
782
- found?: unknown;
783
- property?: string;
784
- expected?: string;
785
- };
378
+ [x: string]: any;
379
+ [x: number]: any;
380
+ [x: symbol]: any;
786
381
  };
787
382
  };
788
383
  };
@@ -798,30 +393,14 @@ declare const publicApp: Elysia<"", {
798
393
  users: {
799
394
  ":userId": {
800
395
  delete: {
801
- body: unknown;
802
- params: {
803
- id: string;
804
- userId: string;
805
- } & {};
806
- query: unknown;
807
- headers: unknown;
396
+ body: any;
397
+ params: any;
398
+ query: any;
399
+ headers: any;
808
400
  response: {
809
- 200: {
810
- error: string;
811
- success?: undefined;
812
- } | {
813
- success: true;
814
- error?: undefined;
815
- };
816
- 422: {
817
- type: "validation";
818
- on: string;
819
- summary?: string;
820
- message?: string;
821
- found?: unknown;
822
- property?: string;
823
- expected?: string;
824
- };
401
+ [x: string]: any;
402
+ [x: number]: any;
403
+ [x: symbol]: any;
825
404
  };
826
405
  };
827
406
  };
@@ -838,32 +417,16 @@ declare const publicApp: Elysia<"", {
838
417
  users: {
839
418
  invite: {
840
419
  post: {
841
- body: {
842
- userId: string;
843
- };
420
+ body: any;
844
421
  params: {
845
422
  id: string;
846
423
  } & {};
847
- query: unknown;
848
- headers: unknown;
424
+ query: any;
425
+ headers: any;
849
426
  response: {
850
- 200: {
851
- error: string;
852
- } | {
853
- emailId: string;
854
- sentTo: string;
855
- success: boolean;
856
- error?: undefined;
857
- };
858
- 422: {
859
- type: "validation";
860
- on: string;
861
- summary?: string;
862
- message?: string;
863
- found?: unknown;
864
- property?: string;
865
- expected?: string;
866
- };
427
+ [x: string]: any;
428
+ [x: number]: any;
429
+ [x: symbol]: any;
867
430
  };
868
431
  };
869
432
  };
@@ -879,33 +442,16 @@ declare const publicApp: Elysia<"", {
879
442
  whatsapp: {
880
443
  connect: {
881
444
  post: {
882
- body: {
883
- phoneNumberId?: string | undefined;
884
- authorizationCode: string;
885
- wabaId: string;
886
- };
445
+ body: any;
887
446
  params: {
888
447
  id: string;
889
448
  } & {};
890
- query: unknown;
891
- headers: unknown;
449
+ query: any;
450
+ headers: any;
892
451
  response: {
893
- 200: {
894
- error: string;
895
- success?: undefined;
896
- } | {
897
- success: true;
898
- error?: undefined;
899
- };
900
- 422: {
901
- type: "validation";
902
- on: string;
903
- summary?: string;
904
- message?: string;
905
- found?: unknown;
906
- property?: string;
907
- expected?: string;
908
- };
452
+ [x: string]: any;
453
+ [x: number]: any;
454
+ [x: symbol]: any;
909
455
  };
910
456
  };
911
457
  };
@@ -920,34 +466,16 @@ declare const publicApp: Elysia<"", {
920
466
  whatsapp: {
921
467
  phone: {
922
468
  post: {
923
- body: {
924
- accountId: string;
925
- phoneNumberId: string;
926
- };
469
+ body: any;
927
470
  params: {
928
471
  id: string;
929
472
  } & {};
930
- query: unknown;
931
- headers: unknown;
473
+ query: any;
474
+ headers: any;
932
475
  response: {
933
- 200: {
934
- error: string;
935
- success?: undefined;
936
- phone?: undefined;
937
- } | {
938
- success: boolean;
939
- phone: WhatsAppPhoneNumber;
940
- error?: undefined;
941
- };
942
- 422: {
943
- type: "validation";
944
- on: string;
945
- summary?: string;
946
- message?: string;
947
- found?: unknown;
948
- property?: string;
949
- expected?: string;
950
- };
476
+ [x: string]: any;
477
+ [x: number]: any;
478
+ [x: symbol]: any;
951
479
  };
952
480
  };
953
481
  };
@@ -966,36 +494,12 @@ declare const publicApp: Elysia<"", {
966
494
  params: {
967
495
  id: string;
968
496
  } & {};
969
- query: {
970
- name?: string | undefined;
971
- status?: "APPROVED" | "PENDING" | "REJECTED" | "PAUSED" | "IN_APPEAL" | "PENDING_DELETION" | "DELETED" | "DISABLED" | "LIMIT_EXCEEDED" | undefined;
972
- limit?: number | undefined;
973
- after?: string | undefined;
974
- before?: string | undefined;
975
- category?: "MARKETING" | "UTILITY" | "AUTHENTICATION" | undefined;
976
- language?: string | undefined;
977
- nameOrContent?: string | undefined;
978
- };
979
- headers: unknown;
497
+ query: any;
498
+ headers: any;
980
499
  response: {
981
- 200: {
982
- error: string;
983
- } | {
984
- paging: WhatsAppTemplatePaging;
985
- templates: WhatsAppTemplate[];
986
- success: true;
987
- accountId: string;
988
- error?: undefined;
989
- };
990
- 422: {
991
- type: "validation";
992
- on: string;
993
- summary?: string;
994
- message?: string;
995
- found?: unknown;
996
- property?: string;
997
- expected?: string;
998
- };
500
+ [x: string]: any;
501
+ [x: number]: any;
502
+ [x: symbol]: any;
999
503
  };
1000
504
  };
1001
505
  };
@@ -1010,40 +514,16 @@ declare const publicApp: Elysia<"", {
1010
514
  whatsapp: {
1011
515
  templates: {
1012
516
  post: {
1013
- body: {
1014
- allowCategoryChange?: boolean | undefined;
1015
- parameterFormat?: "POSITIONAL" | "NAMED" | undefined;
1016
- components: {
1017
- type: string;
1018
- }[];
1019
- name: string;
1020
- category: "MARKETING" | "UTILITY" | "AUTHENTICATION";
1021
- language: string;
1022
- };
517
+ body: any;
1023
518
  params: {
1024
519
  id: string;
1025
520
  } & {};
1026
- query: unknown;
1027
- headers: unknown;
521
+ query: any;
522
+ headers: any;
1028
523
  response: {
1029
- 200: {
1030
- error: string;
1031
- success?: undefined;
1032
- template?: undefined;
1033
- } | {
1034
- success: true;
1035
- template: Pick<WhatsAppTemplate, "status" | "id" | "category">;
1036
- error?: undefined;
1037
- };
1038
- 422: {
1039
- type: "validation";
1040
- on: string;
1041
- summary?: string;
1042
- message?: string;
1043
- found?: unknown;
1044
- property?: string;
1045
- expected?: string;
1046
- };
524
+ [x: string]: any;
525
+ [x: number]: any;
526
+ [x: symbol]: any;
1047
527
  };
1048
528
  };
1049
529
  };
@@ -1059,35 +539,17 @@ declare const publicApp: Elysia<"", {
1059
539
  templates: {
1060
540
  ":templateId": {
1061
541
  patch: {
1062
- body: {
1063
- components?: {
1064
- type: string;
1065
- }[] | undefined;
1066
- category?: "MARKETING" | "UTILITY" | "AUTHENTICATION" | undefined;
1067
- messageSendTtlSeconds?: number | undefined;
1068
- };
542
+ body: any;
1069
543
  params: {
1070
544
  id: string;
1071
545
  templateId: string;
1072
546
  } & {};
1073
- query: unknown;
1074
- headers: unknown;
547
+ query: any;
548
+ headers: any;
1075
549
  response: {
1076
- 200: {
1077
- success: true;
1078
- templateId: string;
1079
- } | {
1080
- error: string;
1081
- };
1082
- 422: {
1083
- type: "validation";
1084
- on: string;
1085
- summary?: string;
1086
- message?: string;
1087
- found?: unknown;
1088
- property?: string;
1089
- expected?: string;
1090
- };
550
+ [x: string]: any;
551
+ [x: number]: any;
552
+ [x: symbol]: any;
1091
553
  };
1092
554
  };
1093
555
  };
@@ -1109,29 +571,12 @@ declare const publicApp: Elysia<"", {
1109
571
  id: string;
1110
572
  templateId: string;
1111
573
  } & {};
1112
- query: {
1113
- name: string;
1114
- };
1115
- headers: unknown;
574
+ query: any;
575
+ headers: any;
1116
576
  response: {
1117
- 200: {
1118
- error: string;
1119
- success?: undefined;
1120
- templateId?: undefined;
1121
- } | {
1122
- success: true;
1123
- templateId: string;
1124
- error?: undefined;
1125
- };
1126
- 422: {
1127
- type: "validation";
1128
- on: string;
1129
- summary?: string;
1130
- message?: string;
1131
- found?: unknown;
1132
- property?: string;
1133
- expected?: string;
1134
- };
577
+ [x: string]: any;
578
+ [x: number]: any;
579
+ [x: symbol]: any;
1135
580
  };
1136
581
  };
1137
582
  };
@@ -1146,23 +591,14 @@ declare const publicApp: Elysia<"", {
1146
591
  ":id": {
1147
592
  platforms: {
1148
593
  get: {
1149
- body: unknown;
1150
- params: {
1151
- id: string;
1152
- } & {};
1153
- query: unknown;
1154
- headers: unknown;
594
+ body: any;
595
+ params: any;
596
+ query: any;
597
+ headers: any;
1155
598
  response: {
1156
- 200: Record<string, boolean>;
1157
- 422: {
1158
- type: "validation";
1159
- on: string;
1160
- summary?: string;
1161
- message?: string;
1162
- found?: unknown;
1163
- property?: string;
1164
- expected?: string;
1165
- };
599
+ [x: string]: any;
600
+ [x: number]: any;
601
+ [x: symbol]: any;
1166
602
  };
1167
603
  };
1168
604
  };
@@ -1176,34 +612,16 @@ declare const publicApp: Elysia<"", {
1176
612
  platforms: {
1177
613
  toggle: {
1178
614
  post: {
1179
- body: {
1180
- enabled: boolean;
1181
- platformId: string;
1182
- };
615
+ body: any;
1183
616
  params: {
1184
617
  id: string;
1185
618
  } & {};
1186
- query: unknown;
1187
- headers: unknown;
619
+ query: any;
620
+ headers: any;
1188
621
  response: {
1189
- 200: {
1190
- error: string;
1191
- success?: undefined;
1192
- platforms?: undefined;
1193
- } | {
1194
- success: true;
1195
- platforms: Record<string, boolean>;
1196
- error?: undefined;
1197
- };
1198
- 422: {
1199
- type: "validation";
1200
- on: string;
1201
- summary?: string;
1202
- message?: string;
1203
- found?: unknown;
1204
- property?: string;
1205
- expected?: string;
1206
- };
622
+ [x: string]: any;
623
+ [x: number]: any;
624
+ [x: symbol]: any;
1207
625
  };
1208
626
  };
1209
627
  };
@@ -1217,23 +635,14 @@ declare const publicApp: Elysia<"", {
1217
635
  ":id": {
1218
636
  lines: {
1219
637
  get: {
1220
- body: unknown;
1221
- params: {
1222
- id: string;
1223
- } & {};
1224
- query: unknown;
1225
- headers: unknown;
638
+ body: any;
639
+ params: any;
640
+ query: any;
641
+ headers: any;
1226
642
  response: {
1227
- 200: SpectrumLine[];
1228
- 422: {
1229
- type: "validation";
1230
- on: string;
1231
- summary?: string;
1232
- message?: string;
1233
- found?: unknown;
1234
- property?: string;
1235
- expected?: string;
1236
- };
643
+ [x: string]: any;
644
+ [x: number]: any;
645
+ [x: symbol]: any;
1237
646
  };
1238
647
  };
1239
648
  };
@@ -1246,33 +655,16 @@ declare const publicApp: Elysia<"", {
1246
655
  ":id": {
1247
656
  lines: {
1248
657
  post: {
1249
- body: {
1250
- platform: "imessage";
1251
- };
658
+ body: any;
1252
659
  params: {
1253
660
  id: string;
1254
661
  } & {};
1255
- query: unknown;
1256
- headers: unknown;
662
+ query: any;
663
+ headers: any;
1257
664
  response: {
1258
- 200: {
1259
- error: string;
1260
- success?: undefined;
1261
- line?: undefined;
1262
- } | {
1263
- success: true;
1264
- line: SpectrumLine;
1265
- error?: undefined;
1266
- };
1267
- 422: {
1268
- type: "validation";
1269
- on: string;
1270
- summary?: string;
1271
- message?: string;
1272
- found?: unknown;
1273
- property?: string;
1274
- expected?: string;
1275
- };
665
+ [x: string]: any;
666
+ [x: number]: any;
667
+ [x: symbol]: any;
1276
668
  };
1277
669
  };
1278
670
  };
@@ -1286,30 +678,14 @@ declare const publicApp: Elysia<"", {
1286
678
  lines: {
1287
679
  ":lineId": {
1288
680
  delete: {
1289
- body: unknown;
1290
- params: {
1291
- id: string;
1292
- lineId: string;
1293
- } & {};
1294
- query: unknown;
1295
- headers: unknown;
681
+ body: any;
682
+ params: any;
683
+ query: any;
684
+ headers: any;
1296
685
  response: {
1297
- 200: {
1298
- error: string;
1299
- success?: undefined;
1300
- } | {
1301
- success: true;
1302
- error?: undefined;
1303
- };
1304
- 422: {
1305
- type: "validation";
1306
- on: string;
1307
- summary?: string;
1308
- message?: string;
1309
- found?: unknown;
1310
- property?: string;
1311
- expected?: string;
1312
- };
686
+ [x: string]: any;
687
+ [x: number]: any;
688
+ [x: symbol]: any;
1313
689
  };
1314
690
  };
1315
691
  };
@@ -1324,26 +700,14 @@ declare const publicApp: Elysia<"", {
1324
700
  voice: {
1325
701
  settings: {
1326
702
  get: {
1327
- body: unknown;
1328
- params: {
1329
- id: string;
1330
- } & {};
1331
- query: unknown;
1332
- headers: unknown;
703
+ body: any;
704
+ params: any;
705
+ query: any;
706
+ headers: any;
1333
707
  response: {
1334
- 200: {
1335
- imessageEnabled: boolean;
1336
- sipInbound: SpectrumSipInboundConfig | null;
1337
- };
1338
- 422: {
1339
- type: "validation";
1340
- on: string;
1341
- summary?: string;
1342
- message?: string;
1343
- found?: unknown;
1344
- property?: string;
1345
- expected?: string;
1346
- };
708
+ [x: string]: any;
709
+ [x: number]: any;
710
+ [x: symbol]: any;
1347
711
  };
1348
712
  };
1349
713
  };
@@ -1358,35 +722,16 @@ declare const publicApp: Elysia<"", {
1358
722
  voice: {
1359
723
  "imessage-enabled": {
1360
724
  patch: {
1361
- body: {
1362
- enabled: boolean;
1363
- };
725
+ body: any;
1364
726
  params: {
1365
727
  id: string;
1366
728
  } & {};
1367
- query: unknown;
1368
- headers: unknown;
729
+ query: any;
730
+ headers: any;
1369
731
  response: {
1370
- 200: {
1371
- error: string;
1372
- success?: undefined;
1373
- imessageEnabled?: undefined;
1374
- voiceEnabled?: undefined;
1375
- } | {
1376
- success: true;
1377
- imessageEnabled: boolean;
1378
- voiceEnabled: boolean;
1379
- error?: undefined;
1380
- };
1381
- 422: {
1382
- type: "validation";
1383
- on: string;
1384
- summary?: string;
1385
- message?: string;
1386
- found?: unknown;
1387
- property?: string;
1388
- expected?: string;
1389
- };
732
+ [x: string]: any;
733
+ [x: number]: any;
734
+ [x: symbol]: any;
1390
735
  };
1391
736
  };
1392
737
  };
@@ -1401,25 +746,14 @@ declare const publicApp: Elysia<"", {
1401
746
  imessage: {
1402
747
  settings: {
1403
748
  get: {
1404
- body: unknown;
1405
- params: {
1406
- id: string;
1407
- } & {};
1408
- query: unknown;
1409
- headers: unknown;
749
+ body: any;
750
+ params: any;
751
+ query: any;
752
+ headers: any;
1410
753
  response: {
1411
- 200: {
1412
- autoScale: boolean;
1413
- };
1414
- 422: {
1415
- type: "validation";
1416
- on: string;
1417
- summary?: string;
1418
- message?: string;
1419
- found?: unknown;
1420
- property?: string;
1421
- expected?: string;
1422
- };
754
+ [x: string]: any;
755
+ [x: number]: any;
756
+ [x: symbol]: any;
1423
757
  };
1424
758
  };
1425
759
  };
@@ -1434,33 +768,16 @@ declare const publicApp: Elysia<"", {
1434
768
  imessage: {
1435
769
  "auto-scale": {
1436
770
  patch: {
1437
- body: {
1438
- autoScale: boolean;
1439
- };
771
+ body: any;
1440
772
  params: {
1441
773
  id: string;
1442
774
  } & {};
1443
- query: unknown;
1444
- headers: unknown;
775
+ query: any;
776
+ headers: any;
1445
777
  response: {
1446
- 200: {
1447
- error: string;
1448
- success?: undefined;
1449
- autoScale?: undefined;
1450
- } | {
1451
- success: true;
1452
- autoScale: boolean;
1453
- error?: undefined;
1454
- };
1455
- 422: {
1456
- type: "validation";
1457
- on: string;
1458
- summary?: string;
1459
- message?: string;
1460
- found?: unknown;
1461
- property?: string;
1462
- expected?: string;
1463
- };
778
+ [x: string]: any;
779
+ [x: number]: any;
780
+ [x: symbol]: any;
1464
781
  };
1465
782
  };
1466
783
  };
@@ -1475,35 +792,16 @@ declare const publicApp: Elysia<"", {
1475
792
  voice: {
1476
793
  "sip-inbound": {
1477
794
  patch: {
1478
- body: {
1479
- password?: string | null | undefined;
1480
- sipUri?: string | undefined;
1481
- username?: string | null | undefined;
1482
- };
795
+ body: any;
1483
796
  params: {
1484
797
  id: string;
1485
798
  } & {};
1486
- query: unknown;
1487
- headers: unknown;
799
+ query: any;
800
+ headers: any;
1488
801
  response: {
1489
- 200: {
1490
- error: string;
1491
- success?: undefined;
1492
- sipInbound?: undefined;
1493
- } | {
1494
- success: true;
1495
- sipInbound: SpectrumSipInboundConfig;
1496
- error?: undefined;
1497
- };
1498
- 422: {
1499
- type: "validation";
1500
- on: string;
1501
- summary?: string;
1502
- message?: string;
1503
- found?: unknown;
1504
- property?: string;
1505
- expected?: string;
1506
- };
802
+ [x: string]: any;
803
+ [x: number]: any;
804
+ [x: symbol]: any;
1507
805
  };
1508
806
  };
1509
807
  };
@@ -1518,29 +816,14 @@ declare const publicApp: Elysia<"", {
1518
816
  voice: {
1519
817
  "sip-inbound": {
1520
818
  delete: {
1521
- body: unknown;
1522
- params: {
1523
- id: string;
1524
- } & {};
1525
- query: unknown;
1526
- headers: unknown;
819
+ body: any;
820
+ params: any;
821
+ query: any;
822
+ headers: any;
1527
823
  response: {
1528
- 200: {
1529
- error: string;
1530
- success?: undefined;
1531
- } | {
1532
- success: true;
1533
- error?: undefined;
1534
- };
1535
- 422: {
1536
- type: "validation";
1537
- on: string;
1538
- summary?: string;
1539
- message?: string;
1540
- found?: unknown;
1541
- property?: string;
1542
- expected?: string;
1543
- };
824
+ [x: string]: any;
825
+ [x: number]: any;
826
+ [x: symbol]: any;
1544
827
  };
1545
828
  };
1546
829
  };
@@ -1554,35 +837,14 @@ declare const publicApp: Elysia<"", {
1554
837
  ":id": {
1555
838
  slack: {
1556
839
  get: {
1557
- body: unknown;
1558
- params: {
1559
- id: string;
1560
- } & {};
1561
- query: unknown;
1562
- headers: unknown;
840
+ body: any;
841
+ params: any;
842
+ query: any;
843
+ headers: any;
1563
844
  response: {
1564
- 200: {
1565
- installUrl: string | null;
1566
- appConfigId: string;
1567
- appId: string | null;
1568
- clientId: string | null;
1569
- clientSecret: string | null;
1570
- createdAt: string;
1571
- enabledFeatures: SpectrumSlackFeature[];
1572
- installationCount: number;
1573
- projectId: string;
1574
- signingSecret: string | null;
1575
- updatedAt: string;
1576
- } | null;
1577
- 422: {
1578
- type: "validation";
1579
- on: string;
1580
- summary?: string;
1581
- message?: string;
1582
- found?: unknown;
1583
- property?: string;
1584
- expected?: string;
1585
- };
845
+ [x: string]: any;
846
+ [x: number]: any;
847
+ [x: symbol]: any;
1586
848
  };
1587
849
  };
1588
850
  };
@@ -1595,37 +857,16 @@ declare const publicApp: Elysia<"", {
1595
857
  ":id": {
1596
858
  slack: {
1597
859
  put: {
1598
- body: {
1599
- clientId?: string | undefined;
1600
- clientSecret?: string | undefined;
1601
- enabledFeatures?: ("channel-history" | "read-tracking" | "dms" | "files" | "reactions" | "pins")[] | undefined;
1602
- signingSecret?: string | undefined;
1603
- appId?: string | undefined;
1604
- };
860
+ body: any;
1605
861
  params: {
1606
862
  id: string;
1607
863
  } & {};
1608
- query: unknown;
1609
- headers: unknown;
864
+ query: any;
865
+ headers: any;
1610
866
  response: {
1611
- 200: {
1612
- error: string;
1613
- success?: undefined;
1614
- config?: undefined;
1615
- } | {
1616
- success: true;
1617
- config: SpectrumSlackConfig;
1618
- error?: undefined;
1619
- };
1620
- 422: {
1621
- type: "validation";
1622
- on: string;
1623
- summary?: string;
1624
- message?: string;
1625
- found?: unknown;
1626
- property?: string;
1627
- expected?: string;
1628
- };
867
+ [x: string]: any;
868
+ [x: number]: any;
869
+ [x: symbol]: any;
1629
870
  };
1630
871
  };
1631
872
  };
@@ -1638,29 +879,14 @@ declare const publicApp: Elysia<"", {
1638
879
  ":id": {
1639
880
  slack: {
1640
881
  delete: {
1641
- body: unknown;
1642
- params: {
1643
- id: string;
1644
- } & {};
1645
- query: unknown;
1646
- headers: unknown;
882
+ body: any;
883
+ params: any;
884
+ query: any;
885
+ headers: any;
1647
886
  response: {
1648
- 200: {
1649
- error: string;
1650
- success?: undefined;
1651
- } | {
1652
- success: true;
1653
- error?: undefined;
1654
- };
1655
- 422: {
1656
- type: "validation";
1657
- on: string;
1658
- summary?: string;
1659
- message?: string;
1660
- found?: unknown;
1661
- property?: string;
1662
- expected?: string;
1663
- };
887
+ [x: string]: any;
888
+ [x: number]: any;
889
+ [x: symbol]: any;
1664
890
  };
1665
891
  };
1666
892
  };
@@ -1674,23 +900,14 @@ declare const publicApp: Elysia<"", {
1674
900
  slack: {
1675
901
  installations: {
1676
902
  get: {
1677
- body: unknown;
1678
- params: {
1679
- id: string;
1680
- } & {};
1681
- query: unknown;
1682
- headers: unknown;
903
+ body: any;
904
+ params: any;
905
+ query: any;
906
+ headers: any;
1683
907
  response: {
1684
- 200: SpectrumSlackInstallation[];
1685
- 422: {
1686
- type: "validation";
1687
- on: string;
1688
- summary?: string;
1689
- message?: string;
1690
- found?: unknown;
1691
- property?: string;
1692
- expected?: string;
1693
- };
908
+ [x: string]: any;
909
+ [x: number]: any;
910
+ [x: symbol]: any;
1694
911
  };
1695
912
  };
1696
913
  };
@@ -1706,30 +923,14 @@ declare const publicApp: Elysia<"", {
1706
923
  installations: {
1707
924
  ":teamId": {
1708
925
  delete: {
1709
- body: unknown;
1710
- params: {
1711
- id: string;
1712
- teamId: string;
1713
- } & {};
1714
- query: unknown;
1715
- headers: unknown;
926
+ body: any;
927
+ params: any;
928
+ query: any;
929
+ headers: any;
1716
930
  response: {
1717
- 200: {
1718
- error: string;
1719
- success?: undefined;
1720
- } | {
1721
- success: true;
1722
- error?: undefined;
1723
- };
1724
- 422: {
1725
- type: "validation";
1726
- on: string;
1727
- summary?: string;
1728
- message?: string;
1729
- found?: unknown;
1730
- property?: string;
1731
- expected?: string;
1732
- };
931
+ [x: string]: any;
932
+ [x: number]: any;
933
+ [x: symbol]: any;
1733
934
  };
1734
935
  };
1735
936
  };
@@ -1745,38 +946,16 @@ declare const publicApp: Elysia<"", {
1745
946
  slack: {
1746
947
  setup: {
1747
948
  post: {
1748
- body: {
1749
- refreshToken?: string | undefined;
1750
- configToken?: string | undefined;
1751
- appName: string;
1752
- enabledFeatures: ("channel-history" | "read-tracking" | "dms" | "files" | "reactions" | "pins")[];
1753
- };
949
+ body: any;
1754
950
  params: {
1755
951
  id: string;
1756
952
  } & {};
1757
- query: unknown;
1758
- headers: unknown;
953
+ query: any;
954
+ headers: any;
1759
955
  response: {
1760
- 200: {
1761
- error: string;
1762
- success?: undefined;
1763
- appId?: undefined;
1764
- startUrl?: undefined;
1765
- } | {
1766
- success: true;
1767
- appId: string | null;
1768
- startUrl: string;
1769
- error?: undefined;
1770
- };
1771
- 422: {
1772
- type: "validation";
1773
- on: string;
1774
- summary?: string;
1775
- message?: string;
1776
- found?: unknown;
1777
- property?: string;
1778
- expected?: string;
1779
- };
956
+ [x: string]: any;
957
+ [x: number]: any;
958
+ [x: symbol]: any;
1780
959
  };
1781
960
  };
1782
961
  };
@@ -1790,23 +969,14 @@ declare const publicApp: Elysia<"", {
1790
969
  ":id": {
1791
970
  webhooks: {
1792
971
  get: {
1793
- body: unknown;
1794
- params: {
1795
- id: string;
1796
- } & {};
1797
- query: unknown;
1798
- headers: unknown;
972
+ body: any;
973
+ params: any;
974
+ query: any;
975
+ headers: any;
1799
976
  response: {
1800
- 200: SpectrumWebhook[];
1801
- 422: {
1802
- type: "validation";
1803
- on: string;
1804
- summary?: string;
1805
- message?: string;
1806
- found?: unknown;
1807
- property?: string;
1808
- expected?: string;
1809
- };
977
+ [x: string]: any;
978
+ [x: number]: any;
979
+ [x: symbol]: any;
1810
980
  };
1811
981
  };
1812
982
  };
@@ -1819,33 +989,16 @@ declare const publicApp: Elysia<"", {
1819
989
  ":id": {
1820
990
  webhooks: {
1821
991
  post: {
1822
- body: {
1823
- webhookUrl: string;
1824
- };
992
+ body: any;
1825
993
  params: {
1826
994
  id: string;
1827
995
  } & {};
1828
- query: unknown;
1829
- headers: unknown;
996
+ query: any;
997
+ headers: any;
1830
998
  response: {
1831
- 200: {
1832
- error: string;
1833
- success?: undefined;
1834
- webhook?: undefined;
1835
- } | {
1836
- success: true;
1837
- webhook: SpectrumWebhookCreated;
1838
- error?: undefined;
1839
- };
1840
- 422: {
1841
- type: "validation";
1842
- on: string;
1843
- summary?: string;
1844
- message?: string;
1845
- found?: unknown;
1846
- property?: string;
1847
- expected?: string;
1848
- };
999
+ [x: string]: any;
1000
+ [x: number]: any;
1001
+ [x: symbol]: any;
1849
1002
  };
1850
1003
  };
1851
1004
  };
@@ -1859,30 +1012,14 @@ declare const publicApp: Elysia<"", {
1859
1012
  webhooks: {
1860
1013
  ":webhookId": {
1861
1014
  delete: {
1862
- body: unknown;
1863
- params: {
1864
- id: string;
1865
- webhookId: string;
1866
- } & {};
1867
- query: unknown;
1868
- headers: unknown;
1015
+ body: any;
1016
+ params: any;
1017
+ query: any;
1018
+ headers: any;
1869
1019
  response: {
1870
- 200: {
1871
- error: string;
1872
- success?: undefined;
1873
- } | {
1874
- success: true;
1875
- error?: undefined;
1876
- };
1877
- 422: {
1878
- type: "validation";
1879
- on: string;
1880
- summary?: string;
1881
- message?: string;
1882
- found?: unknown;
1883
- property?: string;
1884
- expected?: string;
1885
- };
1020
+ [x: string]: any;
1021
+ [x: number]: any;
1022
+ [x: symbol]: any;
1886
1023
  };
1887
1024
  };
1888
1025
  };
@@ -1896,42 +1033,14 @@ declare const publicApp: Elysia<"", {
1896
1033
  ":id": {
1897
1034
  members: {
1898
1035
  get: {
1899
- body: unknown;
1900
- params: {
1901
- id: string;
1902
- } & {};
1903
- query: unknown;
1904
- headers: unknown;
1036
+ body: any;
1037
+ params: any;
1038
+ query: any;
1039
+ headers: any;
1905
1040
  response: {
1906
- 200: {
1907
- readonly error: "Project not found";
1908
- members?: undefined;
1909
- } | {
1910
- members: {
1911
- id: string;
1912
- projectId: string;
1913
- userId: string;
1914
- invitedByUserId: string | null;
1915
- createdAt: Date;
1916
- role: "owner" | "admin";
1917
- user: {
1918
- name: string;
1919
- id: string;
1920
- email: string;
1921
- image: string | null;
1922
- };
1923
- }[];
1924
- error?: undefined;
1925
- };
1926
- 422: {
1927
- type: "validation";
1928
- on: string;
1929
- summary?: string;
1930
- message?: string;
1931
- found?: unknown;
1932
- property?: string;
1933
- expected?: string;
1934
- };
1041
+ [x: string]: any;
1042
+ [x: number]: any;
1043
+ [x: symbol]: any;
1935
1044
  };
1936
1045
  };
1937
1046
  };
@@ -1944,43 +1053,16 @@ declare const publicApp: Elysia<"", {
1944
1053
  ":id": {
1945
1054
  members: {
1946
1055
  post: {
1947
- body: {
1948
- email: string;
1949
- };
1056
+ body: any;
1950
1057
  params: {
1951
1058
  id: string;
1952
1059
  } & {};
1953
- query: unknown;
1954
- headers: unknown;
1060
+ query: any;
1061
+ headers: any;
1955
1062
  response: {
1956
- 200: {
1957
- error: string;
1958
- alreadyPending?: undefined;
1959
- invitationId?: undefined;
1960
- success?: undefined;
1961
- invited?: undefined;
1962
- } | {
1963
- alreadyPending: true;
1964
- invitationId: string;
1965
- error?: undefined;
1966
- success?: undefined;
1967
- invited?: undefined;
1968
- } | {
1969
- success: true;
1970
- invited: string;
1971
- error?: undefined;
1972
- alreadyPending?: undefined;
1973
- invitationId?: undefined;
1974
- };
1975
- 422: {
1976
- type: "validation";
1977
- on: string;
1978
- summary?: string;
1979
- message?: string;
1980
- found?: unknown;
1981
- property?: string;
1982
- expected?: string;
1983
- };
1063
+ [x: string]: any;
1064
+ [x: number]: any;
1065
+ [x: symbol]: any;
1984
1066
  };
1985
1067
  };
1986
1068
  };
@@ -1994,33 +1076,14 @@ declare const publicApp: Elysia<"", {
1994
1076
  members: {
1995
1077
  ":memberUserId": {
1996
1078
  delete: {
1997
- body: unknown;
1998
- params: {
1999
- id: string;
2000
- memberUserId: string;
2001
- } & {};
2002
- query: unknown;
2003
- headers: unknown;
1079
+ body: any;
1080
+ params: any;
1081
+ query: any;
1082
+ headers: any;
2004
1083
  response: {
2005
- 200: {
2006
- readonly error: "Project not found";
2007
- success?: undefined;
2008
- } | {
2009
- readonly error: "The project owner cannot be removed";
2010
- success?: undefined;
2011
- } | {
2012
- success: true;
2013
- error?: undefined;
2014
- };
2015
- 422: {
2016
- type: "validation";
2017
- on: string;
2018
- summary?: string;
2019
- message?: string;
2020
- found?: unknown;
2021
- property?: string;
2022
- expected?: string;
2023
- };
1084
+ [x: string]: any;
1085
+ [x: number]: any;
1086
+ [x: symbol]: any;
2024
1087
  };
2025
1088
  };
2026
1089
  };
@@ -2034,39 +1097,14 @@ declare const publicApp: Elysia<"", {
2034
1097
  ":id": {
2035
1098
  invitations: {
2036
1099
  get: {
2037
- body: unknown;
2038
- params: {
2039
- id: string;
2040
- } & {};
2041
- query: unknown;
2042
- headers: unknown;
1100
+ body: any;
1101
+ params: any;
1102
+ query: any;
1103
+ headers: any;
2043
1104
  response: {
2044
- 200: {
2045
- readonly error: "Project not found";
2046
- invitations?: undefined;
2047
- } | {
2048
- invitations: {
2049
- id: string;
2050
- email: string;
2051
- invitedBy: {
2052
- name: string;
2053
- id: string;
2054
- email: string;
2055
- } | null;
2056
- createdAt: Date;
2057
- expiresAt: Date;
2058
- }[];
2059
- error?: undefined;
2060
- };
2061
- 422: {
2062
- type: "validation";
2063
- on: string;
2064
- summary?: string;
2065
- message?: string;
2066
- found?: unknown;
2067
- property?: string;
2068
- expected?: string;
2069
- };
1105
+ [x: string]: any;
1106
+ [x: number]: any;
1107
+ [x: symbol]: any;
2070
1108
  };
2071
1109
  };
2072
1110
  };
@@ -2080,30 +1118,14 @@ declare const publicApp: Elysia<"", {
2080
1118
  invitations: {
2081
1119
  ":invitationId": {
2082
1120
  delete: {
2083
- body: unknown;
2084
- params: {
2085
- id: string;
2086
- invitationId: string;
2087
- } & {};
2088
- query: unknown;
2089
- headers: unknown;
1121
+ body: any;
1122
+ params: any;
1123
+ query: any;
1124
+ headers: any;
2090
1125
  response: {
2091
- 200: {
2092
- readonly error: "Project not found";
2093
- success?: undefined;
2094
- } | {
2095
- success: true;
2096
- error?: undefined;
2097
- };
2098
- 422: {
2099
- type: "validation";
2100
- on: string;
2101
- summary?: string;
2102
- message?: string;
2103
- found?: unknown;
2104
- property?: string;
2105
- expected?: string;
2106
- };
1126
+ [x: string]: any;
1127
+ [x: number]: any;
1128
+ [x: symbol]: any;
2107
1129
  };
2108
1130
  };
2109
1131
  };
@@ -2119,33 +1141,14 @@ declare const publicApp: Elysia<"", {
2119
1141
  ":invitationId": {
2120
1142
  link: {
2121
1143
  post: {
2122
- body: unknown;
2123
- params: {
2124
- id: string;
2125
- invitationId: string;
2126
- } & {};
2127
- query: unknown;
2128
- headers: unknown;
1144
+ body: any;
1145
+ params: any;
1146
+ query: any;
1147
+ headers: any;
2129
1148
  response: {
2130
- 200: {
2131
- readonly error: "Project not found";
2132
- readonly shareUrl?: undefined;
2133
- } | {
2134
- readonly error: "This invitation is no longer valid";
2135
- readonly shareUrl?: undefined;
2136
- } | {
2137
- readonly shareUrl: string;
2138
- error?: undefined;
2139
- };
2140
- 422: {
2141
- type: "validation";
2142
- on: string;
2143
- summary?: string;
2144
- message?: string;
2145
- found?: unknown;
2146
- property?: string;
2147
- expected?: string;
2148
- };
1149
+ [x: string]: any;
1150
+ [x: number]: any;
1151
+ [x: symbol]: any;
2149
1152
  };
2150
1153
  };
2151
1154
  };
@@ -2159,35 +1162,14 @@ declare const publicApp: Elysia<"", {
2159
1162
  invitations: {
2160
1163
  ":token": {
2161
1164
  get: {
2162
- body: unknown;
2163
- params: {
2164
- token: string;
2165
- } & {};
2166
- query: unknown;
2167
- headers: unknown;
1165
+ body: any;
1166
+ params: any;
1167
+ query: any;
1168
+ headers: any;
2168
1169
  response: {
2169
- 200: {
2170
- valid: false;
2171
- email?: undefined;
2172
- projectId?: undefined;
2173
- projectName?: undefined;
2174
- invitedByName?: undefined;
2175
- } | {
2176
- valid: true;
2177
- email: string;
2178
- projectId: string;
2179
- projectName: string;
2180
- invitedByName: string | null;
2181
- };
2182
- 422: {
2183
- type: "validation";
2184
- on: string;
2185
- summary?: string;
2186
- message?: string;
2187
- found?: unknown;
2188
- property?: string;
2189
- expected?: string;
2190
- };
1170
+ [x: string]: any;
1171
+ [x: number]: any;
1172
+ [x: symbol]: any;
2191
1173
  };
2192
1174
  };
2193
1175
  };
@@ -2199,43 +1181,14 @@ declare const publicApp: Elysia<"", {
2199
1181
  ":token": {
2200
1182
  accept: {
2201
1183
  post: {
2202
- body: unknown;
2203
- params: {
2204
- token: string;
2205
- } & {};
2206
- query: unknown;
2207
- headers: unknown;
1184
+ body: any;
1185
+ params: any;
1186
+ query: any;
1187
+ headers: any;
2208
1188
  response: {
2209
- 200: {
2210
- readonly error: "This invitation is no longer valid";
2211
- invitedEmail?: undefined;
2212
- success?: undefined;
2213
- projectId?: undefined;
2214
- } | {
2215
- error: "email_mismatch";
2216
- invitedEmail: string;
2217
- success?: undefined;
2218
- projectId?: undefined;
2219
- } | {
2220
- error: "email_unverified";
2221
- invitedEmail?: undefined;
2222
- success?: undefined;
2223
- projectId?: undefined;
2224
- } | {
2225
- success: true;
2226
- projectId: string;
2227
- error?: undefined;
2228
- invitedEmail?: undefined;
2229
- };
2230
- 422: {
2231
- type: "validation";
2232
- on: string;
2233
- summary?: string;
2234
- message?: string;
2235
- found?: unknown;
2236
- property?: string;
2237
- expected?: string;
2238
- };
1189
+ [x: string]: any;
1190
+ [x: number]: any;
1191
+ [x: symbol]: any;
2239
1192
  };
2240
1193
  };
2241
1194
  };
@@ -2247,12 +1200,14 @@ declare const publicApp: Elysia<"", {
2247
1200
  billing: {
2248
1201
  plans: {
2249
1202
  get: {
2250
- body: unknown;
2251
- params: {};
2252
- query: unknown;
2253
- headers: unknown;
1203
+ body: any;
1204
+ params: any;
1205
+ query: any;
1206
+ headers: any;
2254
1207
  response: {
2255
- 200: BillingProduct[];
1208
+ [x: string]: any;
1209
+ [x: number]: any;
1210
+ [x: symbol]: any;
2256
1211
  };
2257
1212
  };
2258
1213
  };
@@ -2263,33 +1218,14 @@ declare const publicApp: Elysia<"", {
2263
1218
  billing: {
2264
1219
  checkout: {
2265
1220
  post: {
2266
- body: {
2267
- quantity?: number | undefined;
2268
- projectId: string;
2269
- priceId: string;
2270
- };
1221
+ body: any;
2271
1222
  params: {};
2272
- query: unknown;
2273
- headers: unknown;
1223
+ query: any;
1224
+ headers: any;
2274
1225
  response: {
2275
- 200: {
2276
- error: string;
2277
- success?: undefined;
2278
- url?: undefined;
2279
- } | {
2280
- success: true;
2281
- url: string;
2282
- error?: undefined;
2283
- };
2284
- 422: {
2285
- type: "validation";
2286
- on: string;
2287
- summary?: string;
2288
- message?: string;
2289
- found?: unknown;
2290
- property?: string;
2291
- expected?: string;
2292
- };
1226
+ [x: string]: any;
1227
+ [x: number]: any;
1228
+ [x: symbol]: any;
2293
1229
  };
2294
1230
  };
2295
1231
  };
@@ -2300,14 +1236,14 @@ declare const publicApp: Elysia<"", {
2300
1236
  billing: {
2301
1237
  "max-plan": {
2302
1238
  get: {
2303
- body: unknown;
2304
- params: {};
2305
- query: unknown;
2306
- headers: unknown;
1239
+ body: any;
1240
+ params: any;
1241
+ query: any;
1242
+ headers: any;
2307
1243
  response: {
2308
- 200: {
2309
- tier: PlanTier;
2310
- };
1244
+ [x: string]: any;
1245
+ [x: number]: any;
1246
+ [x: symbol]: any;
2311
1247
  };
2312
1248
  };
2313
1249
  };
@@ -2319,23 +1255,14 @@ declare const publicApp: Elysia<"", {
2319
1255
  ":id": {
2320
1256
  subscription: {
2321
1257
  get: {
2322
- body: unknown;
2323
- params: {
2324
- id: string;
2325
- } & {};
2326
- query: unknown;
2327
- headers: unknown;
1258
+ body: any;
1259
+ params: any;
1260
+ query: any;
1261
+ headers: any;
2328
1262
  response: {
2329
- 200: SpectrumSubscription;
2330
- 422: {
2331
- type: "validation";
2332
- on: string;
2333
- summary?: string;
2334
- message?: string;
2335
- found?: unknown;
2336
- property?: string;
2337
- expected?: string;
2338
- };
1263
+ [x: string]: any;
1264
+ [x: number]: any;
1265
+ [x: symbol]: any;
2339
1266
  };
2340
1267
  };
2341
1268
  };
@@ -2349,29 +1276,14 @@ declare const publicApp: Elysia<"", {
2349
1276
  subscription: {
2350
1277
  poll: {
2351
1278
  get: {
2352
- body: unknown;
2353
- params: {
2354
- id: string;
2355
- } & {};
2356
- query: unknown;
2357
- headers: unknown;
1279
+ body: any;
1280
+ params: any;
1281
+ query: any;
1282
+ headers: any;
2358
1283
  response: {
2359
- 200: {
2360
- customer_id: string | null;
2361
- status: "active" | "canceled" | "past_due" | null;
2362
- subscription_id: string | null;
2363
- tier: string;
2364
- active: boolean;
2365
- };
2366
- 422: {
2367
- type: "validation";
2368
- on: string;
2369
- summary?: string;
2370
- message?: string;
2371
- found?: unknown;
2372
- property?: string;
2373
- expected?: string;
2374
- };
1284
+ [x: string]: any;
1285
+ [x: number]: any;
1286
+ [x: symbol]: any;
2375
1287
  };
2376
1288
  };
2377
1289
  };
@@ -2386,31 +1298,14 @@ declare const publicApp: Elysia<"", {
2386
1298
  subscription: {
2387
1299
  manage: {
2388
1300
  post: {
2389
- body: unknown;
2390
- params: {
2391
- id: string;
2392
- } & {};
2393
- query: unknown;
2394
- headers: unknown;
1301
+ body: any;
1302
+ params: any;
1303
+ query: any;
1304
+ headers: any;
2395
1305
  response: {
2396
- 200: {
2397
- error: string;
2398
- success?: undefined;
2399
- url?: undefined;
2400
- } | {
2401
- success: true;
2402
- url: string;
2403
- error?: undefined;
2404
- };
2405
- 422: {
2406
- type: "validation";
2407
- on: string;
2408
- summary?: string;
2409
- message?: string;
2410
- found?: unknown;
2411
- property?: string;
2412
- expected?: string;
2413
- };
1306
+ [x: string]: any;
1307
+ [x: number]: any;
1308
+ [x: symbol]: any;
2414
1309
  };
2415
1310
  };
2416
1311
  };
@@ -2422,20 +1317,14 @@ declare const publicApp: Elysia<"", {
2422
1317
  api: {
2423
1318
  profile: {
2424
1319
  get: {
2425
- body: unknown;
2426
- params: {};
2427
- query: unknown;
2428
- headers: unknown;
1320
+ body: any;
1321
+ params: any;
1322
+ query: any;
1323
+ headers: any;
2429
1324
  response: {
2430
- 200: {
2431
- id: string;
2432
- userId: string;
2433
- type: string;
2434
- referralSource: string | null;
2435
- platforms: string[] | null;
2436
- background: string | null;
2437
- companyName: string | null;
2438
- } | null;
1325
+ [x: string]: any;
1326
+ [x: number]: any;
1327
+ [x: symbol]: any;
2439
1328
  };
2440
1329
  };
2441
1330
  };
@@ -2445,26 +1334,50 @@ declare const publicApp: Elysia<"", {
2445
1334
  profile: {
2446
1335
  "spectrum-updates": {
2447
1336
  patch: {
2448
- body: {
2449
- enabled: boolean;
1337
+ body: any;
1338
+ params: {};
1339
+ query: any;
1340
+ headers: any;
1341
+ response: {
1342
+ [x: string]: any;
1343
+ [x: number]: any;
1344
+ [x: symbol]: any;
2450
1345
  };
1346
+ };
1347
+ };
1348
+ };
1349
+ };
1350
+ } & {
1351
+ api: {
1352
+ profile: {
1353
+ "promotional-status": {
1354
+ get: {
1355
+ body: any;
1356
+ params: any;
1357
+ query: any;
1358
+ headers: any;
1359
+ response: {
1360
+ [x: string]: any;
1361
+ [x: number]: any;
1362
+ [x: symbol]: any;
1363
+ };
1364
+ };
1365
+ };
1366
+ };
1367
+ };
1368
+ } & {
1369
+ api: {
1370
+ profile: {
1371
+ "promotional-emails": {
1372
+ patch: {
1373
+ body: any;
2451
1374
  params: {};
2452
- query: unknown;
2453
- headers: unknown;
1375
+ query: any;
1376
+ headers: any;
2454
1377
  response: {
2455
- 200: {
2456
- success: true;
2457
- receiveSpectrumUpdates: boolean;
2458
- };
2459
- 422: {
2460
- type: "validation";
2461
- on: string;
2462
- summary?: string;
2463
- message?: string;
2464
- found?: unknown;
2465
- property?: string;
2466
- expected?: string;
2467
- };
1378
+ [x: string]: any;
1379
+ [x: number]: any;
1380
+ [x: symbol]: any;
2468
1381
  };
2469
1382
  };
2470
1383
  };
@@ -2475,27 +1388,14 @@ declare const publicApp: Elysia<"", {
2475
1388
  posthog: {
2476
1389
  "identity-snapshot": {
2477
1390
  get: {
2478
- body: unknown;
2479
- params: {};
2480
- query: unknown;
2481
- headers: unknown;
1391
+ body: any;
1392
+ params: any;
1393
+ query: any;
1394
+ headers: any;
2482
1395
  response: {
2483
- 200: {
2484
- id: string;
2485
- email: string;
2486
- name: string;
2487
- phoneNumber: string | null;
2488
- receiveSpectrumUpdates: boolean;
2489
- createdAt: string;
2490
- onboardedAt: string | null;
2491
- profile: {
2492
- type: string;
2493
- referralSource: string | null;
2494
- platforms: string[] | null;
2495
- background: string | null;
2496
- companyName: string | null;
2497
- } | null;
2498
- } | null;
1396
+ [x: string]: any;
1397
+ [x: number]: any;
1398
+ [x: symbol]: any;
2499
1399
  };
2500
1400
  };
2501
1401
  };
@@ -2506,25 +1406,14 @@ declare const publicApp: Elysia<"", {
2506
1406
  onboarding: {
2507
1407
  state: {
2508
1408
  get: {
2509
- body: unknown;
2510
- params: {};
2511
- query: unknown;
2512
- headers: unknown;
1409
+ body: any;
1410
+ params: any;
1411
+ query: any;
1412
+ headers: any;
2513
1413
  response: {
2514
- 200: {
2515
- onboarded: boolean;
2516
- phoneVerified: boolean;
2517
- name: string;
2518
- email: string;
2519
- inferredType: AccountType;
2520
- profile: {
2521
- type: string;
2522
- referralSource: string | null;
2523
- platforms: string[] | null;
2524
- background: string | null;
2525
- companyName: string | null;
2526
- } | null;
2527
- };
1414
+ [x: string]: any;
1415
+ [x: number]: any;
1416
+ [x: symbol]: any;
2528
1417
  };
2529
1418
  };
2530
1419
  };
@@ -2535,25 +1424,14 @@ declare const publicApp: Elysia<"", {
2535
1424
  onboarding: {
2536
1425
  name: {
2537
1426
  post: {
2538
- body: {
2539
- name: string;
2540
- };
1427
+ body: any;
2541
1428
  params: {};
2542
- query: unknown;
2543
- headers: unknown;
1429
+ query: any;
1430
+ headers: any;
2544
1431
  response: {
2545
- 200: {
2546
- success: boolean;
2547
- };
2548
- 422: {
2549
- type: "validation";
2550
- on: string;
2551
- summary?: string;
2552
- message?: string;
2553
- found?: unknown;
2554
- property?: string;
2555
- expected?: string;
2556
- };
1432
+ [x: string]: any;
1433
+ [x: number]: any;
1434
+ [x: symbol]: any;
2557
1435
  };
2558
1436
  };
2559
1437
  };
@@ -2564,25 +1442,14 @@ declare const publicApp: Elysia<"", {
2564
1442
  onboarding: {
2565
1443
  referral: {
2566
1444
  post: {
2567
- body: {
2568
- referralSource: string;
2569
- };
1445
+ body: any;
2570
1446
  params: {};
2571
- query: unknown;
2572
- headers: unknown;
1447
+ query: any;
1448
+ headers: any;
2573
1449
  response: {
2574
- 200: {
2575
- success: boolean;
2576
- };
2577
- 422: {
2578
- type: "validation";
2579
- on: string;
2580
- summary?: string;
2581
- message?: string;
2582
- found?: unknown;
2583
- property?: string;
2584
- expected?: string;
2585
- };
1450
+ [x: string]: any;
1451
+ [x: number]: any;
1452
+ [x: symbol]: any;
2586
1453
  };
2587
1454
  };
2588
1455
  };
@@ -2593,28 +1460,14 @@ declare const publicApp: Elysia<"", {
2593
1460
  onboarding: {
2594
1461
  details: {
2595
1462
  post: {
2596
- body: {
2597
- type?: "developer" | "organization" | undefined;
2598
- platforms?: string[] | undefined;
2599
- background?: string | undefined;
2600
- companyName?: string | undefined;
2601
- };
1463
+ body: any;
2602
1464
  params: {};
2603
- query: unknown;
2604
- headers: unknown;
1465
+ query: any;
1466
+ headers: any;
2605
1467
  response: {
2606
- 200: {
2607
- success: boolean;
2608
- };
2609
- 422: {
2610
- type: "validation";
2611
- on: string;
2612
- summary?: string;
2613
- message?: string;
2614
- found?: unknown;
2615
- property?: string;
2616
- expected?: string;
2617
- };
1468
+ [x: string]: any;
1469
+ [x: number]: any;
1470
+ [x: symbol]: any;
2618
1471
  };
2619
1472
  };
2620
1473
  };
@@ -2625,19 +1478,14 @@ declare const publicApp: Elysia<"", {
2625
1478
  slack: {
2626
1479
  features: {
2627
1480
  get: {
2628
- body: unknown;
2629
- params: {};
2630
- query: unknown;
2631
- headers: unknown;
1481
+ body: any;
1482
+ params: any;
1483
+ query: any;
1484
+ headers: any;
2632
1485
  response: {
2633
- 200: {
2634
- requiredScopes: string[];
2635
- features: Record<string, {
2636
- label: string;
2637
- description: string;
2638
- scopes: string[];
2639
- }>;
2640
- } | null;
1486
+ [x: string]: any;
1487
+ [x: number]: any;
1488
+ [x: symbol]: any;
2641
1489
  };
2642
1490
  };
2643
1491
  };
@@ -2650,29 +1498,14 @@ declare const publicApp: Elysia<"", {
2650
1498
  slack: {
2651
1499
  "support-channel": {
2652
1500
  get: {
2653
- body: unknown;
2654
- params: {
2655
- id: string;
2656
- } & {};
2657
- query: unknown;
2658
- headers: unknown;
1501
+ body: any;
1502
+ params: any;
1503
+ query: any;
1504
+ headers: any;
2659
1505
  response: {
2660
- 200: {
2661
- hasJoined: boolean;
2662
- openUrl: null;
2663
- } | {
2664
- hasJoined: boolean;
2665
- openUrl: string;
2666
- };
2667
- 422: {
2668
- type: "validation";
2669
- on: string;
2670
- summary?: string;
2671
- message?: string;
2672
- found?: unknown;
2673
- property?: string;
2674
- expected?: string;
2675
- };
1506
+ [x: string]: any;
1507
+ [x: number]: any;
1508
+ [x: symbol]: any;
2676
1509
  };
2677
1510
  };
2678
1511
  };
@@ -2688,23 +1521,14 @@ declare const publicApp: Elysia<"", {
2688
1521
  "support-channel": {
2689
1522
  open: {
2690
1523
  get: {
2691
- body: unknown;
2692
- params: {
2693
- id: string;
2694
- } & {};
2695
- query: unknown;
2696
- headers: unknown;
1524
+ body: any;
1525
+ params: any;
1526
+ query: any;
1527
+ headers: any;
2697
1528
  response: {
2698
- 200: Response;
2699
- 422: {
2700
- type: "validation";
2701
- on: string;
2702
- summary?: string;
2703
- message?: string;
2704
- found?: unknown;
2705
- property?: string;
2706
- expected?: string;
2707
- };
1529
+ [x: string]: any;
1530
+ [x: number]: any;
1531
+ [x: symbol]: any;
2708
1532
  };
2709
1533
  };
2710
1534
  };
@@ -2719,12 +1543,14 @@ declare const publicApp: Elysia<"", {
2719
1543
  oidc: {
2720
1544
  callback: {
2721
1545
  get: {
2722
- body: unknown;
2723
- params: {};
2724
- query: unknown;
2725
- headers: unknown;
1546
+ body: any;
1547
+ params: any;
1548
+ query: any;
1549
+ headers: any;
2726
1550
  response: {
2727
- 200: Response;
1551
+ [x: string]: any;
1552
+ [x: number]: any;
1553
+ [x: symbol]: any;
2728
1554
  };
2729
1555
  };
2730
1556
  };
@@ -2737,35 +1563,14 @@ declare const publicApp: Elysia<"", {
2737
1563
  phone: {
2738
1564
  send: {
2739
1565
  post: {
2740
- body: {
2741
- phone: string;
2742
- };
1566
+ body: any;
2743
1567
  params: {};
2744
- query: unknown;
2745
- headers: unknown;
1568
+ query: any;
1569
+ headers: any;
2746
1570
  response: {
2747
- 200: {
2748
- error: string;
2749
- skipped?: undefined;
2750
- success?: undefined;
2751
- } | {
2752
- skipped: true;
2753
- error?: undefined;
2754
- success?: undefined;
2755
- } | {
2756
- success: boolean;
2757
- error?: undefined;
2758
- skipped?: undefined;
2759
- };
2760
- 422: {
2761
- type: "validation";
2762
- on: string;
2763
- summary?: string;
2764
- message?: string;
2765
- found?: unknown;
2766
- property?: string;
2767
- expected?: string;
2768
- };
1571
+ [x: string]: any;
1572
+ [x: number]: any;
1573
+ [x: symbol]: any;
2769
1574
  };
2770
1575
  };
2771
1576
  };
@@ -2778,30 +1583,14 @@ declare const publicApp: Elysia<"", {
2778
1583
  phone: {
2779
1584
  verify: {
2780
1585
  post: {
2781
- body: {
2782
- code: string;
2783
- phone: string;
2784
- };
1586
+ body: any;
2785
1587
  params: {};
2786
- query: unknown;
2787
- headers: unknown;
1588
+ query: any;
1589
+ headers: any;
2788
1590
  response: {
2789
- 200: {
2790
- error: string;
2791
- success?: undefined;
2792
- } | {
2793
- success: boolean;
2794
- error?: undefined;
2795
- };
2796
- 422: {
2797
- type: "validation";
2798
- on: string;
2799
- summary?: string;
2800
- message?: string;
2801
- found?: unknown;
2802
- property?: string;
2803
- expected?: string;
2804
- };
1591
+ [x: string]: any;
1592
+ [x: number]: any;
1593
+ [x: symbol]: any;
2805
1594
  };
2806
1595
  };
2807
1596
  };
@@ -2813,29 +1602,14 @@ declare const publicApp: Elysia<"", {
2813
1602
  account: {
2814
1603
  "set-password": {
2815
1604
  post: {
2816
- body: {
2817
- newPassword: string;
2818
- };
1605
+ body: any;
2819
1606
  params: {};
2820
- query: unknown;
2821
- headers: unknown;
1607
+ query: any;
1608
+ headers: any;
2822
1609
  response: {
2823
- 200: {
2824
- success: true;
2825
- error?: undefined;
2826
- } | {
2827
- error: string;
2828
- success?: undefined;
2829
- };
2830
- 422: {
2831
- type: "validation";
2832
- on: string;
2833
- summary?: string;
2834
- message?: string;
2835
- found?: unknown;
2836
- property?: string;
2837
- expected?: string;
2838
- };
1610
+ [x: string]: any;
1611
+ [x: number]: any;
1612
+ [x: symbol]: any;
2839
1613
  };
2840
1614
  };
2841
1615
  };
@@ -2846,29 +1620,14 @@ declare const publicApp: Elysia<"", {
2846
1620
  signup: {
2847
1621
  abandon: {
2848
1622
  post: {
2849
- body: {
2850
- email: string;
2851
- };
1623
+ body: any;
2852
1624
  params: {};
2853
- query: unknown;
2854
- headers: unknown;
1625
+ query: any;
1626
+ headers: any;
2855
1627
  response: {
2856
- 200: {
2857
- deleted: false;
2858
- existingVerified: true;
2859
- } | {
2860
- deleted: boolean;
2861
- existingVerified: false;
2862
- };
2863
- 422: {
2864
- type: "validation";
2865
- on: string;
2866
- summary?: string;
2867
- message?: string;
2868
- found?: unknown;
2869
- property?: string;
2870
- expected?: string;
2871
- };
1628
+ [x: string]: any;
1629
+ [x: number]: any;
1630
+ [x: symbol]: any;
2872
1631
  };
2873
1632
  };
2874
1633
  };
@@ -2878,27 +1637,14 @@ declare const publicApp: Elysia<"", {
2878
1637
  api: {
2879
1638
  "privacy-requests": {
2880
1639
  post: {
2881
- body: {
2882
- email: string;
2883
- };
1640
+ body: any;
2884
1641
  params: {};
2885
- query: unknown;
2886
- headers: unknown;
1642
+ query: any;
1643
+ headers: any;
2887
1644
  response: {
2888
- 200: {
2889
- error: string;
2890
- } | {
2891
- success: boolean;
2892
- };
2893
- 422: {
2894
- type: "validation";
2895
- on: string;
2896
- summary?: string;
2897
- message?: string;
2898
- found?: unknown;
2899
- property?: string;
2900
- expected?: string;
2901
- };
1645
+ [x: string]: any;
1646
+ [x: number]: any;
1647
+ [x: symbol]: any;
2902
1648
  };
2903
1649
  };
2904
1650
  };
@@ -2910,34 +1656,13 @@ declare const publicApp: Elysia<"", {
2910
1656
  "scope-tiers": {
2911
1657
  get: {
2912
1658
  body: unknown;
2913
- params: {
2914
- clientId: string;
2915
- };
2916
- query: unknown;
2917
- headers: unknown;
1659
+ params: any;
1660
+ query: any;
1661
+ headers: any;
2918
1662
  response: {
2919
- 200: {
2920
- error: string;
2921
- hasMetadata?: undefined;
2922
- required?: undefined;
2923
- } | {
2924
- hasMetadata: false;
2925
- required: string[];
2926
- error?: undefined;
2927
- } | {
2928
- hasMetadata: true;
2929
- required: string[];
2930
- error?: undefined;
2931
- };
2932
- 422: {
2933
- type: "validation";
2934
- on: string;
2935
- summary?: string;
2936
- message?: string;
2937
- found?: unknown;
2938
- property?: string;
2939
- expected?: string;
2940
- };
1663
+ [x: string]: any;
1664
+ [x: number]: any;
1665
+ [x: symbol]: any;
2941
1666
  };
2942
1667
  };
2943
1668
  };
@@ -2950,31 +1675,14 @@ declare const publicApp: Elysia<"", {
2950
1675
  ":clientId": {
2951
1676
  metadata: {
2952
1677
  patch: {
2953
- body: {
2954
- requiredScopes: string[];
2955
- };
2956
- params: {
2957
- clientId: string;
2958
- };
2959
- query: unknown;
2960
- headers: unknown;
1678
+ body: any;
1679
+ params: any;
1680
+ query: any;
1681
+ headers: any;
2961
1682
  response: {
2962
- 200: {
2963
- error: string;
2964
- required?: undefined;
2965
- } | {
2966
- required: string[];
2967
- error?: undefined;
2968
- };
2969
- 422: {
2970
- type: "validation";
2971
- on: string;
2972
- summary?: string;
2973
- message?: string;
2974
- found?: unknown;
2975
- property?: string;
2976
- expected?: string;
2977
- };
1683
+ [x: string]: any;
1684
+ [x: number]: any;
1685
+ [x: symbol]: any;
2978
1686
  };
2979
1687
  };
2980
1688
  };
@@ -2986,19 +1694,14 @@ declare const publicApp: Elysia<"", {
2986
1694
  "oauth-clients": {
2987
1695
  authorized: {
2988
1696
  get: {
2989
- body: unknown;
2990
- params: {};
2991
- query: unknown;
2992
- headers: unknown;
1697
+ body: any;
1698
+ params: any;
1699
+ query: any;
1700
+ headers: any;
2993
1701
  response: {
2994
- 200: {
2995
- client_id: string;
2996
- client_name: string | null;
2997
- client_uri: string | null;
2998
- logo_uri: string | null;
2999
- scopes: string[];
3000
- granted_at: Date;
3001
- }[];
1702
+ [x: string]: any;
1703
+ [x: number]: any;
1704
+ [x: symbol]: any;
3002
1705
  };
3003
1706
  };
3004
1707
  };
@@ -3011,28 +1714,13 @@ declare const publicApp: Elysia<"", {
3011
1714
  ":clientId": {
3012
1715
  delete: {
3013
1716
  body: unknown;
3014
- params: {
3015
- clientId: string;
3016
- };
3017
- query: unknown;
3018
- headers: unknown;
1717
+ params: any;
1718
+ query: any;
1719
+ headers: any;
3019
1720
  response: {
3020
- 200: {
3021
- error: string;
3022
- success?: undefined;
3023
- } | {
3024
- success: boolean;
3025
- error?: undefined;
3026
- };
3027
- 422: {
3028
- type: "validation";
3029
- on: string;
3030
- summary?: string;
3031
- message?: string;
3032
- found?: unknown;
3033
- property?: string;
3034
- expected?: string;
3035
- };
1721
+ [x: string]: any;
1722
+ [x: number]: any;
1723
+ [x: symbol]: any;
3036
1724
  };
3037
1725
  };
3038
1726
  };
@@ -3043,14 +1731,14 @@ declare const publicApp: Elysia<"", {
3043
1731
  api: {
3044
1732
  health: {
3045
1733
  get: {
3046
- body: unknown;
3047
- params: {};
3048
- query: unknown;
3049
- headers: unknown;
1734
+ body: any;
1735
+ params: any;
1736
+ query: any;
1737
+ headers: any;
3050
1738
  response: {
3051
- 200: Response | {
3052
- status: string;
3053
- };
1739
+ [x: string]: any;
1740
+ [x: number]: any;
1741
+ [x: symbol]: any;
3054
1742
  };
3055
1743
  };
3056
1744
  };
@@ -3059,14 +1747,14 @@ declare const publicApp: Elysia<"", {
3059
1747
  api: {
3060
1748
  info: {
3061
1749
  get: {
3062
- body: unknown;
3063
- params: {};
3064
- query: unknown;
3065
- headers: unknown;
1750
+ body: any;
1751
+ params: any;
1752
+ query: any;
1753
+ headers: any;
3066
1754
  response: {
3067
- 200: Response | {
3068
- environment: string;
3069
- };
1755
+ [x: string]: any;
1756
+ [x: number]: any;
1757
+ [x: symbol]: any;
3070
1758
  };
3071
1759
  };
3072
1760
  };