@adaptive-ai/sdk 0.1.9 → 0.1.10

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.
@@ -5,122 +5,11 @@ import * as _trpc_server from '@trpc/server';
5
5
  import * as _trpc_server_rpc from '@trpc/server/rpc';
6
6
  import superjson from 'superjson';
7
7
 
8
- declare namespace $Enums {
9
- export const UserTier: {
10
- FREE: "FREE";
11
- ONE: "ONE";
12
- TWO: "TWO";
13
- };
14
- export type UserTier = (typeof UserTier)[keyof typeof UserTier];
15
- export const PreferenceKind: {
16
- ENABLE_DEV_MODE: "ENABLE_DEV_MODE";
17
- FORCE_DARKMODE: "FORCE_DARKMODE";
18
- FORCE_LIGHTMODE: "FORCE_LIGHTMODE";
19
- HIDE_PUBLISH_TOOLTIP: "HIDE_PUBLISH_TOOLTIP";
20
- HIDE_FORK_TOOLTIP: "HIDE_FORK_TOOLTIP";
21
- HIDE_PLANS_POPUP: "HIDE_PLANS_POPUP";
22
- REQUEST_REVIEW: "REQUEST_REVIEW";
23
- DONT_ASK_FOR_REVIEW: "DONT_ASK_FOR_REVIEW";
24
- SYS_PLANS_ENABLED: "SYS_PLANS_ENABLED";
25
- SYS_WORKSPACES_ENABLED: "SYS_WORKSPACES_ENABLED";
26
- SYS_API_TESTS_ENABLED: "SYS_API_TESTS_ENABLED";
27
- SYS_INTEGRATIONS_ENABLED: "SYS_INTEGRATIONS_ENABLED";
28
- SYS_BOXMAN_ENABLED: "SYS_BOXMAN_ENABLED";
29
- SYS_CREDITS_ENABLED: "SYS_CREDITS_ENABLED";
30
- SYS_ADMIN_SERVICE_TIER_PRIORITY: "SYS_ADMIN_SERVICE_TIER_PRIORITY";
31
- SYS_ADMIN_SERVICE_TIER_DEFAULT: "SYS_ADMIN_SERVICE_TIER_DEFAULT";
32
- SYS_ADMIN_SERVICE_TIER_FLEX: "SYS_ADMIN_SERVICE_TIER_FLEX";
33
- };
34
- export type PreferenceKind = (typeof PreferenceKind)[keyof typeof PreferenceKind];
35
- export const ProductKind: {
36
- SUBSCRIPTION: "SUBSCRIPTION";
37
- IN_APP_PURCHASE: "IN_APP_PURCHASE";
38
- };
39
- export type ProductKind = (typeof ProductKind)[keyof typeof ProductKind];
40
- export const AclLevel: {
41
- VIEWER: "VIEWER";
42
- EDITOR: "EDITOR";
43
- OWNER: "OWNER";
44
- };
45
- export type AclLevel = (typeof AclLevel)[keyof typeof AclLevel];
46
- export const AppTier: {
47
- FREE: "FREE";
48
- ONE: "ONE";
49
- CUSTOM: "CUSTOM";
50
- };
51
- export type AppTier = (typeof AppTier)[keyof typeof AppTier];
52
- export const AppRuntimeKind: {
53
- LEGACY: "LEGACY";
54
- BOXMAN: "BOXMAN";
55
- };
56
- export type AppRuntimeKind = (typeof AppRuntimeKind)[keyof typeof AppRuntimeKind];
57
- export const RegistryKind: {
58
- DOCUMENTATION: "DOCUMENTATION";
59
- FULL_STACK: "FULL_STACK";
60
- ERROR_TRANSFORMATION: "ERROR_TRANSFORMATION";
61
- };
62
- export type RegistryKind = (typeof RegistryKind)[keyof typeof RegistryKind];
63
- export const VersionStatus: {
64
- IDLE: "IDLE";
65
- GENERATING: "GENERATING";
66
- DIED: "DIED";
67
- };
68
- export type VersionStatus = (typeof VersionStatus)[keyof typeof VersionStatus];
69
- export const MessageRole: {
70
- USER: "USER";
71
- ASSISTANT: "ASSISTANT";
72
- TOOL: "TOOL";
73
- SYSTEM: "SYSTEM";
74
- };
75
- export type MessageRole = (typeof MessageRole)[keyof typeof MessageRole];
76
- export const MetricType: {
77
- PAGE_VIEW: "PAGE_VIEW";
78
- OTHER: "OTHER";
79
- };
80
- export type MetricType = (typeof MetricType)[keyof typeof MetricType];
81
- export const RuntimeLogKind: {
82
- CLIENT: "CLIENT";
83
- SERVER: "SERVER";
84
- };
85
- export type RuntimeLogKind = (typeof RuntimeLogKind)[keyof typeof RuntimeLogKind];
86
- export const LogLevel: {
87
- ERROR: "ERROR";
88
- WARN: "WARN";
89
- INFO: "INFO";
90
- };
91
- export type LogLevel = (typeof LogLevel)[keyof typeof LogLevel];
92
- export const BuildLogKind: {
93
- MIGRATION: "MIGRATION";
94
- LINT: "LINT";
95
- TYPECHECK: "TYPECHECK";
96
- ESBUILD: "ESBUILD";
97
- CSS: "CSS";
98
- IMPLEMENTATION: "IMPLEMENTATION";
99
- MISSING_ENV_VARS: "MISSING_ENV_VARS";
100
- };
101
- export type BuildLogKind = (typeof BuildLogKind)[keyof typeof BuildLogKind];
102
- export const SecuritySeverity: {
103
- NONE: "NONE";
104
- LOW: "LOW";
105
- MEDIUM: "MEDIUM";
106
- HIGH: "HIGH";
107
- };
108
- export type SecuritySeverity = (typeof SecuritySeverity)[keyof typeof SecuritySeverity];
109
- export const AnalysisConfidence: {
110
- LOW: "LOW";
111
- MEDIUM: "MEDIUM";
112
- HIGH: "HIGH";
113
- };
114
- export type AnalysisConfidence = (typeof AnalysisConfidence)[keyof typeof AnalysisConfidence];
115
- export const CreditLogType: {
116
- WAIVED_SPEND: "WAIVED_SPEND";
117
- SPEND: "SPEND";
118
- GRANT: "GRANT";
119
- DAILY_REFRESH: "DAILY_REFRESH";
120
- MONTHLY_REFRESH: "MONTHLY_REFRESH";
121
- };
122
- export type CreditLogType = (typeof CreditLogType)[keyof typeof CreditLogType];
123
- }
8
+ declare const ProductKind: {
9
+ readonly SUBSCRIPTION: "SUBSCRIPTION";
10
+ readonly IN_APP_PURCHASE: "IN_APP_PURCHASE";
11
+ };
12
+ export type ProductKind = (typeof ProductKind)[keyof typeof ProductKind];
124
13
  export type allKeys<T> = T extends any ? keyof T : never;
125
14
  export type typeToFlattenedError<T, U = string> = {
126
15
  formErrors: U[];
@@ -144,20 +33,17 @@ declare const AuthProvider: {
144
33
  readonly PLAID: "PLAID";
145
34
  };
146
35
  export type AuthProvider = (typeof AuthProvider)[keyof typeof AuthProvider];
147
- export type ProviderInput = {
148
- provider: AuthProvider;
149
- scope?: string[];
150
- redirectUri?: string;
151
- };
152
- export type RedirectInput = {
36
+ export type SignInInput = {
153
37
  email: string;
154
- provider: "AC1";
155
- phoneNumber: null | undefined;
38
+ phoneNumber?: null | undefined;
39
+ redirectUri?: string;
156
40
  } | {
157
41
  phoneNumber: string;
158
- provider: "AC1";
159
- email: null | undefined;
160
- } | ProviderInput;
42
+ email?: null | undefined;
43
+ redirectUri?: string;
44
+ } | {
45
+ redirectUri?: string;
46
+ };
161
47
  export type RequestContext = {
162
48
  requestId: string;
163
49
  channelId?: string;
@@ -229,10 +115,10 @@ declare let client: {
229
115
  } | {
230
116
  type: "BOXMAN_REQUEST";
231
117
  appId: string | null | undefined;
118
+ boxId: string;
232
119
  rpcMethod: string | null | undefined;
233
120
  requestId: string | null | undefined;
234
121
  channelId: string | null | undefined;
235
- boxId: string;
236
122
  platformUserId: string | null | undefined;
237
123
  isDevelopment: boolean | null;
238
124
  agent: string | null | undefined;
@@ -323,10 +209,10 @@ declare let client: {
323
209
  } | {
324
210
  type: "BOXMAN_REQUEST";
325
211
  appId: string | null | undefined;
212
+ boxId: string;
326
213
  rpcMethod: string | null | undefined;
327
214
  requestId: string | null | undefined;
328
215
  channelId: string | null | undefined;
329
- boxId: string;
330
216
  platformUserId: string | null | undefined;
331
217
  isDevelopment: boolean | null;
332
218
  agent: string | null | undefined;
@@ -409,10 +295,10 @@ declare let client: {
409
295
  } | {
410
296
  type: "BOXMAN_REQUEST";
411
297
  appId: string | null | undefined;
298
+ boxId: string;
412
299
  rpcMethod: string | null | undefined;
413
300
  requestId: string | null | undefined;
414
301
  channelId: string | null | undefined;
415
- boxId: string;
416
302
  platformUserId: string | null | undefined;
417
303
  isDevelopment: boolean | null;
418
304
  agent: string | null | undefined;
@@ -501,10 +387,10 @@ declare let client: {
501
387
  } | {
502
388
  type: "BOXMAN_REQUEST";
503
389
  appId: string | null | undefined;
390
+ boxId: string;
504
391
  rpcMethod: string | null | undefined;
505
392
  requestId: string | null | undefined;
506
393
  channelId: string | null | undefined;
507
- boxId: string;
508
394
  platformUserId: string | null | undefined;
509
395
  isDevelopment: boolean | null;
510
396
  agent: string | null | undefined;
@@ -583,10 +469,10 @@ declare let client: {
583
469
  } | {
584
470
  type: "BOXMAN_REQUEST";
585
471
  appId: string | null | undefined;
472
+ boxId: string;
586
473
  rpcMethod: string | null | undefined;
587
474
  requestId: string | null | undefined;
588
475
  channelId: string | null | undefined;
589
- boxId: string;
590
476
  platformUserId: string | null | undefined;
591
477
  isDevelopment: boolean | null;
592
478
  agent: string | null | undefined;
@@ -606,13 +492,13 @@ declare let client: {
606
492
  loop?: boolean | undefined;
607
493
  };
608
494
  _output_in: {
609
- model: string;
610
495
  audioUrl: string;
496
+ model: string;
611
497
  duration?: number | undefined;
612
498
  };
613
499
  _output_out: {
614
- model: string;
615
500
  audioUrl: string;
501
+ model: string;
616
502
  duration?: number | undefined;
617
503
  };
618
504
  }, unknown>>;
@@ -677,10 +563,10 @@ declare let client: {
677
563
  } | {
678
564
  type: "BOXMAN_REQUEST";
679
565
  appId: string | null | undefined;
566
+ boxId: string;
680
567
  rpcMethod: string | null | undefined;
681
568
  requestId: string | null | undefined;
682
569
  channelId: string | null | undefined;
683
- boxId: string;
684
570
  platformUserId: string | null | undefined;
685
571
  isDevelopment: boolean | null;
686
572
  agent: string | null | undefined;
@@ -700,13 +586,13 @@ declare let client: {
700
586
  }[];
701
587
  };
702
588
  _output_in: {
703
- model: string;
704
589
  audioUrl: string;
590
+ model: string;
705
591
  duration?: number | undefined;
706
592
  };
707
593
  _output_out: {
708
- model: string;
709
594
  audioUrl: string;
595
+ model: string;
710
596
  duration?: number | undefined;
711
597
  };
712
598
  }, unknown>>;
@@ -771,10 +657,10 @@ declare let client: {
771
657
  } | {
772
658
  type: "BOXMAN_REQUEST";
773
659
  appId: string | null | undefined;
660
+ boxId: string;
774
661
  rpcMethod: string | null | undefined;
775
662
  requestId: string | null | undefined;
776
663
  channelId: string | null | undefined;
777
- boxId: string;
778
664
  platformUserId: string | null | undefined;
779
665
  isDevelopment: boolean | null;
780
666
  agent: string | null | undefined;
@@ -788,13 +674,13 @@ declare let client: {
788
674
  text: string;
789
675
  };
790
676
  _output_in: {
791
- model: string;
792
677
  audioUrl: string;
678
+ model: string;
793
679
  duration?: number | undefined;
794
680
  };
795
681
  _output_out: {
796
- model: string;
797
682
  audioUrl: string;
683
+ model: string;
798
684
  duration?: number | undefined;
799
685
  };
800
686
  }, unknown>>;
@@ -859,10 +745,10 @@ declare let client: {
859
745
  } | {
860
746
  type: "BOXMAN_REQUEST";
861
747
  appId: string | null | undefined;
748
+ boxId: string;
862
749
  rpcMethod: string | null | undefined;
863
750
  requestId: string | null | undefined;
864
751
  channelId: string | null | undefined;
865
- boxId: string;
866
752
  platformUserId: string | null | undefined;
867
753
  isDevelopment: boolean | null;
868
754
  agent: string | null | undefined;
@@ -949,10 +835,10 @@ declare let client: {
949
835
  } | {
950
836
  type: "BOXMAN_REQUEST";
951
837
  appId: string | null | undefined;
838
+ boxId: string;
952
839
  rpcMethod: string | null | undefined;
953
840
  requestId: string | null | undefined;
954
841
  channelId: string | null | undefined;
955
- boxId: string;
956
842
  platformUserId: string | null | undefined;
957
843
  isDevelopment: boolean | null;
958
844
  agent: string | null | undefined;
@@ -1033,10 +919,10 @@ declare let client: {
1033
919
  } | {
1034
920
  type: "BOXMAN_REQUEST";
1035
921
  appId: string | null | undefined;
922
+ boxId: string;
1036
923
  rpcMethod: string | null | undefined;
1037
924
  requestId: string | null | undefined;
1038
925
  channelId: string | null | undefined;
1039
- boxId: string;
1040
926
  platformUserId: string | null | undefined;
1041
927
  isDevelopment: boolean | null;
1042
928
  agent: string | null | undefined;
@@ -1117,10 +1003,10 @@ declare let client: {
1117
1003
  } | {
1118
1004
  type: "BOXMAN_REQUEST";
1119
1005
  appId: string | null | undefined;
1006
+ boxId: string;
1120
1007
  rpcMethod: string | null | undefined;
1121
1008
  requestId: string | null | undefined;
1122
1009
  channelId: string | null | undefined;
1123
- boxId: string;
1124
1010
  platformUserId: string | null | undefined;
1125
1011
  isDevelopment: boolean | null;
1126
1012
  agent: string | null | undefined;
@@ -1147,7 +1033,7 @@ declare let client: {
1147
1033
  purchaseLink: string;
1148
1034
  id: string;
1149
1035
  name: string;
1150
- kind: $Enums.ProductKind;
1036
+ kind: ProductKind;
1151
1037
  description: string;
1152
1038
  price: number;
1153
1039
  }>>;
@@ -1212,10 +1098,10 @@ declare let client: {
1212
1098
  } | {
1213
1099
  type: "BOXMAN_REQUEST";
1214
1100
  appId: string | null | undefined;
1101
+ boxId: string;
1215
1102
  rpcMethod: string | null | undefined;
1216
1103
  requestId: string | null | undefined;
1217
1104
  channelId: string | null | undefined;
1218
- boxId: string;
1219
1105
  platformUserId: string | null | undefined;
1220
1106
  isDevelopment: boolean | null;
1221
1107
  agent: string | null | undefined;
@@ -1234,7 +1120,7 @@ declare let client: {
1234
1120
  purchaseLink: string;
1235
1121
  id: string;
1236
1122
  name: string;
1237
- kind: $Enums.ProductKind;
1123
+ kind: ProductKind;
1238
1124
  description: string;
1239
1125
  price: number;
1240
1126
  }[]>>;
@@ -1299,10 +1185,10 @@ declare let client: {
1299
1185
  } | {
1300
1186
  type: "BOXMAN_REQUEST";
1301
1187
  appId: string | null | undefined;
1188
+ boxId: string;
1302
1189
  rpcMethod: string | null | undefined;
1303
1190
  requestId: string | null | undefined;
1304
1191
  channelId: string | null | undefined;
1305
- boxId: string;
1306
1192
  platformUserId: string | null | undefined;
1307
1193
  isDevelopment: boolean | null;
1308
1194
  agent: string | null | undefined;
@@ -1322,7 +1208,7 @@ declare let client: {
1322
1208
  }, {
1323
1209
  id: string;
1324
1210
  name: string;
1325
- kind: $Enums.ProductKind;
1211
+ kind: ProductKind;
1326
1212
  description: string;
1327
1213
  price: number;
1328
1214
  }[]>>;
@@ -1387,10 +1273,10 @@ declare let client: {
1387
1273
  } | {
1388
1274
  type: "BOXMAN_REQUEST";
1389
1275
  appId: string | null | undefined;
1276
+ boxId: string;
1390
1277
  rpcMethod: string | null | undefined;
1391
1278
  requestId: string | null | undefined;
1392
1279
  channelId: string | null | undefined;
1393
- boxId: string;
1394
1280
  platformUserId: string | null | undefined;
1395
1281
  isDevelopment: boolean | null;
1396
1282
  agent: string | null | undefined;
@@ -1409,7 +1295,7 @@ declare let client: {
1409
1295
  _output_out: typeof _trpc_server.unsetMarker;
1410
1296
  }, void>>;
1411
1297
  };
1412
- getOAuthToken: {
1298
+ browseWeb: {
1413
1299
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
1414
1300
  _config: _trpc_server.RootConfig<{
1415
1301
  ctx: {
@@ -1469,98 +1355,10 @@ declare let client: {
1469
1355
  } | {
1470
1356
  type: "BOXMAN_REQUEST";
1471
1357
  appId: string | null | undefined;
1472
- rpcMethod: string | null | undefined;
1473
- requestId: string | null | undefined;
1474
- channelId: string | null | undefined;
1475
1358
  boxId: string;
1476
- platformUserId: string | null | undefined;
1477
- isDevelopment: boolean | null;
1478
- agent: string | null | undefined;
1479
- sessionId: string | null | undefined;
1480
- pushToken: string | null | undefined;
1481
- };
1482
- _input_in: {
1483
- connectionId: string;
1484
- appId?: string | undefined;
1485
- };
1486
- _input_out: {
1487
- connectionId: string;
1488
- appId?: string | undefined;
1489
- };
1490
- _output_in: typeof _trpc_server.unsetMarker;
1491
- _output_out: typeof _trpc_server.unsetMarker;
1492
- }, {
1493
- connectionId: string;
1494
- userId: string | null;
1495
- accessToken: string | null;
1496
- expiresAt: Date | null;
1497
- scope: string[];
1498
- }>>;
1499
- };
1500
- getOAuthConnectionForCurrentUser: {
1501
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
1502
- _config: _trpc_server.RootConfig<{
1503
- ctx: {
1504
- appId: string;
1505
- versionId: string;
1506
- appName: string;
1507
- appSubdomain: string;
1508
- userId: string;
1509
- isTesting: boolean;
1510
- rpcMethod: string;
1511
- requestId: string;
1512
- type?: undefined;
1513
- dbUrl?: string | null | undefined;
1514
- userIdActual?: string | null | undefined;
1515
- channelId?: string | null | undefined;
1516
- } | {
1517
- type: "BOXMAN_REQUEST";
1518
- boxId: string;
1519
- isDevelopment: boolean | null;
1520
- appId?: string | null | undefined;
1521
- rpcMethod?: string | null | undefined;
1522
- requestId?: string | null | undefined;
1523
- channelId?: string | null | undefined;
1524
- platformUserId?: string | null | undefined;
1525
- agent?: string | null | undefined;
1526
- sessionId?: string | null | undefined;
1527
- pushToken?: string | null | undefined;
1528
- };
1529
- meta: object;
1530
- errorShape: {
1531
- data: {
1532
- zodError: typeToFlattenedError<any, string> | null;
1533
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
1534
- httpStatus: number;
1535
- path?: string;
1536
- stack?: string;
1537
- };
1538
- message: string;
1539
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
1540
- };
1541
- transformer: typeof superjson;
1542
- }>;
1543
- _meta: object;
1544
- _ctx_out: {
1545
- type: undefined;
1546
- appId: string;
1547
- versionId: string;
1548
- dbUrl: string | null | undefined;
1549
- appName: string;
1550
- appSubdomain: string;
1551
- userId: string;
1552
- userIdActual: string | null | undefined;
1553
- isTesting: boolean;
1554
- rpcMethod: string;
1555
- requestId: string;
1556
- channelId: string | null | undefined;
1557
- } | {
1558
- type: "BOXMAN_REQUEST";
1559
- appId: string | null | undefined;
1560
1359
  rpcMethod: string | null | undefined;
1561
1360
  requestId: string | null | undefined;
1562
1361
  channelId: string | null | undefined;
1563
- boxId: string;
1564
1362
  platformUserId: string | null | undefined;
1565
1363
  isDevelopment: boolean | null;
1566
1364
  agent: string | null | undefined;
@@ -1568,25 +1366,40 @@ declare let client: {
1568
1366
  pushToken: string | null | undefined;
1569
1367
  };
1570
1368
  _input_in: {
1571
- scope: string[];
1572
- provider: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA" | "PLAID";
1573
- appId?: string | undefined;
1574
- required?: boolean | undefined;
1369
+ url: string;
1370
+ showClickTargets?: boolean | undefined;
1371
+ clickOnTargetIndex?: number | undefined;
1372
+ orientation?: "portrait" | "landscape" | undefined;
1373
+ scrollToPage?: number | undefined;
1374
+ returnPageText?: boolean | undefined;
1575
1375
  };
1576
1376
  _input_out: {
1577
- scope: string[];
1578
- provider: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA" | "PLAID";
1579
- appId?: string | undefined;
1580
- required?: boolean | undefined;
1377
+ url: string;
1378
+ showClickTargets: boolean;
1379
+ orientation: "portrait" | "landscape";
1380
+ returnPageText: boolean;
1381
+ clickOnTargetIndex?: number | undefined;
1382
+ scrollToPage?: number | undefined;
1581
1383
  };
1582
1384
  _output_in: typeof _trpc_server.unsetMarker;
1583
1385
  _output_out: typeof _trpc_server.unsetMarker;
1584
1386
  }, {
1585
- id: string;
1586
- provider: string;
1587
- userId: string | undefined;
1588
- scope: string[];
1589
- } | null>>;
1387
+ response: string;
1388
+ content?: undefined;
1389
+ } | {
1390
+ content: ({
1391
+ type: "text";
1392
+ text: string;
1393
+ data?: undefined;
1394
+ mimeType?: undefined;
1395
+ } | {
1396
+ type: "image";
1397
+ data: string;
1398
+ mimeType: string;
1399
+ text?: undefined;
1400
+ })[];
1401
+ response?: undefined;
1402
+ }>>;
1590
1403
  };
1591
1404
  isPermissionGranted: {
1592
1405
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
@@ -1648,10 +1461,10 @@ declare let client: {
1648
1461
  } | {
1649
1462
  type: "BOXMAN_REQUEST";
1650
1463
  appId: string | null | undefined;
1464
+ boxId: string;
1651
1465
  rpcMethod: string | null | undefined;
1652
1466
  requestId: string | null | undefined;
1653
1467
  channelId: string | null | undefined;
1654
- boxId: string;
1655
1468
  platformUserId: string | null | undefined;
1656
1469
  isDevelopment: boolean | null;
1657
1470
  agent: string | null | undefined;
@@ -1660,282 +1473,20 @@ declare let client: {
1660
1473
  };
1661
1474
  _input_in: {
1662
1475
  userId: string;
1663
- scope: string;
1664
1476
  provider: string;
1477
+ scope: string;
1665
1478
  appId?: string | undefined;
1666
1479
  };
1667
1480
  _input_out: {
1668
1481
  userId: string;
1669
- scope: string;
1670
1482
  provider: string;
1483
+ scope: string;
1671
1484
  appId?: string | undefined;
1672
1485
  };
1673
1486
  _output_in: typeof _trpc_server.unsetMarker;
1674
1487
  _output_out: typeof _trpc_server.unsetMarker;
1675
1488
  }, boolean>>;
1676
1489
  };
1677
- getOAuthConnection: {
1678
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
1679
- _config: _trpc_server.RootConfig<{
1680
- ctx: {
1681
- appId: string;
1682
- versionId: string;
1683
- appName: string;
1684
- appSubdomain: string;
1685
- userId: string;
1686
- isTesting: boolean;
1687
- rpcMethod: string;
1688
- requestId: string;
1689
- type?: undefined;
1690
- dbUrl?: string | null | undefined;
1691
- userIdActual?: string | null | undefined;
1692
- channelId?: string | null | undefined;
1693
- } | {
1694
- type: "BOXMAN_REQUEST";
1695
- boxId: string;
1696
- isDevelopment: boolean | null;
1697
- appId?: string | null | undefined;
1698
- rpcMethod?: string | null | undefined;
1699
- requestId?: string | null | undefined;
1700
- channelId?: string | null | undefined;
1701
- platformUserId?: string | null | undefined;
1702
- agent?: string | null | undefined;
1703
- sessionId?: string | null | undefined;
1704
- pushToken?: string | null | undefined;
1705
- };
1706
- meta: object;
1707
- errorShape: {
1708
- data: {
1709
- zodError: typeToFlattenedError<any, string> | null;
1710
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
1711
- httpStatus: number;
1712
- path?: string;
1713
- stack?: string;
1714
- };
1715
- message: string;
1716
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
1717
- };
1718
- transformer: typeof superjson;
1719
- }>;
1720
- _meta: object;
1721
- _ctx_out: {
1722
- type: undefined;
1723
- appId: string;
1724
- versionId: string;
1725
- dbUrl: string | null | undefined;
1726
- appName: string;
1727
- appSubdomain: string;
1728
- userId: string;
1729
- userIdActual: string | null | undefined;
1730
- isTesting: boolean;
1731
- rpcMethod: string;
1732
- requestId: string;
1733
- channelId: string | null | undefined;
1734
- } | {
1735
- type: "BOXMAN_REQUEST";
1736
- appId: string | null | undefined;
1737
- rpcMethod: string | null | undefined;
1738
- requestId: string | null | undefined;
1739
- channelId: string | null | undefined;
1740
- boxId: string;
1741
- platformUserId: string | null | undefined;
1742
- isDevelopment: boolean | null;
1743
- agent: string | null | undefined;
1744
- sessionId: string | null | undefined;
1745
- pushToken: string | null | undefined;
1746
- };
1747
- _input_in: {
1748
- connectionId: string;
1749
- appId?: string | undefined;
1750
- };
1751
- _input_out: {
1752
- connectionId: string;
1753
- appId?: string | undefined;
1754
- };
1755
- _output_in: typeof _trpc_server.unsetMarker;
1756
- _output_out: typeof _trpc_server.unsetMarker;
1757
- }, {
1758
- id: string;
1759
- provider: string;
1760
- userId: string | undefined;
1761
- scope: string[];
1762
- }>>;
1763
- };
1764
- queryOAuthConnections: {
1765
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
1766
- _config: _trpc_server.RootConfig<{
1767
- ctx: {
1768
- appId: string;
1769
- versionId: string;
1770
- appName: string;
1771
- appSubdomain: string;
1772
- userId: string;
1773
- isTesting: boolean;
1774
- rpcMethod: string;
1775
- requestId: string;
1776
- type?: undefined;
1777
- dbUrl?: string | null | undefined;
1778
- userIdActual?: string | null | undefined;
1779
- channelId?: string | null | undefined;
1780
- } | {
1781
- type: "BOXMAN_REQUEST";
1782
- boxId: string;
1783
- isDevelopment: boolean | null;
1784
- appId?: string | null | undefined;
1785
- rpcMethod?: string | null | undefined;
1786
- requestId?: string | null | undefined;
1787
- channelId?: string | null | undefined;
1788
- platformUserId?: string | null | undefined;
1789
- agent?: string | null | undefined;
1790
- sessionId?: string | null | undefined;
1791
- pushToken?: string | null | undefined;
1792
- };
1793
- meta: object;
1794
- errorShape: {
1795
- data: {
1796
- zodError: typeToFlattenedError<any, string> | null;
1797
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
1798
- httpStatus: number;
1799
- path?: string;
1800
- stack?: string;
1801
- };
1802
- message: string;
1803
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
1804
- };
1805
- transformer: typeof superjson;
1806
- }>;
1807
- _meta: object;
1808
- _ctx_out: {
1809
- type: undefined;
1810
- appId: string;
1811
- versionId: string;
1812
- dbUrl: string | null | undefined;
1813
- appName: string;
1814
- appSubdomain: string;
1815
- userId: string;
1816
- userIdActual: string | null | undefined;
1817
- isTesting: boolean;
1818
- rpcMethod: string;
1819
- requestId: string;
1820
- channelId: string | null | undefined;
1821
- } | {
1822
- type: "BOXMAN_REQUEST";
1823
- appId: string | null | undefined;
1824
- rpcMethod: string | null | undefined;
1825
- requestId: string | null | undefined;
1826
- channelId: string | null | undefined;
1827
- boxId: string;
1828
- platformUserId: string | null | undefined;
1829
- isDevelopment: boolean | null;
1830
- agent: string | null | undefined;
1831
- sessionId: string | null | undefined;
1832
- pushToken: string | null | undefined;
1833
- };
1834
- _input_in: {
1835
- appId?: string | undefined;
1836
- userId?: string | undefined;
1837
- scope?: string[] | undefined;
1838
- provider?: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA" | "PLAID" | undefined;
1839
- };
1840
- _input_out: {
1841
- appId?: string | undefined;
1842
- userId?: string | undefined;
1843
- scope?: string[] | undefined;
1844
- provider?: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA" | "PLAID" | undefined;
1845
- };
1846
- _output_in: typeof _trpc_server.unsetMarker;
1847
- _output_out: typeof _trpc_server.unsetMarker;
1848
- }, {
1849
- id: string;
1850
- provider: string;
1851
- userId: string | undefined;
1852
- scope: string[];
1853
- }[]>>;
1854
- };
1855
- deleteOAuthConnection: {
1856
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
1857
- _config: _trpc_server.RootConfig<{
1858
- ctx: {
1859
- appId: string;
1860
- versionId: string;
1861
- appName: string;
1862
- appSubdomain: string;
1863
- userId: string;
1864
- isTesting: boolean;
1865
- rpcMethod: string;
1866
- requestId: string;
1867
- type?: undefined;
1868
- dbUrl?: string | null | undefined;
1869
- userIdActual?: string | null | undefined;
1870
- channelId?: string | null | undefined;
1871
- } | {
1872
- type: "BOXMAN_REQUEST";
1873
- boxId: string;
1874
- isDevelopment: boolean | null;
1875
- appId?: string | null | undefined;
1876
- rpcMethod?: string | null | undefined;
1877
- requestId?: string | null | undefined;
1878
- channelId?: string | null | undefined;
1879
- platformUserId?: string | null | undefined;
1880
- agent?: string | null | undefined;
1881
- sessionId?: string | null | undefined;
1882
- pushToken?: string | null | undefined;
1883
- };
1884
- meta: object;
1885
- errorShape: {
1886
- data: {
1887
- zodError: typeToFlattenedError<any, string> | null;
1888
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
1889
- httpStatus: number;
1890
- path?: string;
1891
- stack?: string;
1892
- };
1893
- message: string;
1894
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
1895
- };
1896
- transformer: typeof superjson;
1897
- }>;
1898
- _meta: object;
1899
- _ctx_out: {
1900
- type: undefined;
1901
- appId: string;
1902
- versionId: string;
1903
- dbUrl: string | null | undefined;
1904
- appName: string;
1905
- appSubdomain: string;
1906
- userId: string;
1907
- userIdActual: string | null | undefined;
1908
- isTesting: boolean;
1909
- rpcMethod: string;
1910
- requestId: string;
1911
- channelId: string | null | undefined;
1912
- } | {
1913
- type: "BOXMAN_REQUEST";
1914
- appId: string | null | undefined;
1915
- rpcMethod: string | null | undefined;
1916
- requestId: string | null | undefined;
1917
- channelId: string | null | undefined;
1918
- boxId: string;
1919
- platformUserId: string | null | undefined;
1920
- isDevelopment: boolean | null;
1921
- agent: string | null | undefined;
1922
- sessionId: string | null | undefined;
1923
- pushToken: string | null | undefined;
1924
- };
1925
- _input_in: {
1926
- connectionId: string;
1927
- appId?: string | undefined;
1928
- };
1929
- _input_out: {
1930
- connectionId: string;
1931
- appId?: string | undefined;
1932
- };
1933
- _output_in: typeof _trpc_server.unsetMarker;
1934
- _output_out: typeof _trpc_server.unsetMarker;
1935
- }, {
1936
- readonly ok: true;
1937
- }>>;
1938
- };
1939
1490
  searchTheWeb: {
1940
1491
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
1941
1492
  _config: _trpc_server.RootConfig<{
@@ -1996,10 +1547,10 @@ declare let client: {
1996
1547
  } | {
1997
1548
  type: "BOXMAN_REQUEST";
1998
1549
  appId: string | null | undefined;
1550
+ boxId: string;
1999
1551
  rpcMethod: string | null | undefined;
2000
1552
  requestId: string | null | undefined;
2001
1553
  channelId: string | null | undefined;
2002
- boxId: string;
2003
1554
  platformUserId: string | null | undefined;
2004
1555
  isDevelopment: boolean | null;
2005
1556
  agent: string | null | undefined;
@@ -2082,10 +1633,10 @@ declare let client: {
2082
1633
  } | {
2083
1634
  type: "BOXMAN_REQUEST";
2084
1635
  appId: string | null | undefined;
1636
+ boxId: string;
2085
1637
  rpcMethod: string | null | undefined;
2086
1638
  requestId: string | null | undefined;
2087
1639
  channelId: string | null | undefined;
2088
- boxId: string;
2089
1640
  platformUserId: string | null | undefined;
2090
1641
  isDevelopment: boolean | null;
2091
1642
  agent: string | null | undefined;
@@ -2101,13 +1652,13 @@ declare let client: {
2101
1652
  voice?: "Will" | "Brian" | "George" | "Jessica" | "Liam" | "Alice" | "Sarah" | "Charlotte" | "Matilda" | "Eric" | "Alloy" | "Ash" | "Ballad" | "Coral" | "Echo" | "Fable" | "Nova" | "Onyx" | "Sage" | "Shimmer" | undefined;
2102
1653
  };
2103
1654
  _output_in: {
2104
- model: string;
2105
1655
  audioUrl: string;
1656
+ model: string;
2106
1657
  duration?: number | undefined;
2107
1658
  };
2108
1659
  _output_out: {
2109
- model: string;
2110
1660
  audioUrl: string;
1661
+ model: string;
2111
1662
  duration?: number | undefined;
2112
1663
  };
2113
1664
  }, unknown>>;
@@ -2172,10 +1723,10 @@ declare let client: {
2172
1723
  } | {
2173
1724
  type: "BOXMAN_REQUEST";
2174
1725
  appId: string | null | undefined;
1726
+ boxId: string;
2175
1727
  rpcMethod: string | null | undefined;
2176
1728
  requestId: string | null | undefined;
2177
1729
  channelId: string | null | undefined;
2178
- boxId: string;
2179
1730
  platformUserId: string | null | undefined;
2180
1731
  isDevelopment: boolean | null;
2181
1732
  agent: string | null | undefined;
@@ -2260,10 +1811,10 @@ declare let client: {
2260
1811
  } | {
2261
1812
  type: "BOXMAN_REQUEST";
2262
1813
  appId: string | null | undefined;
1814
+ boxId: string;
2263
1815
  rpcMethod: string | null | undefined;
2264
1816
  requestId: string | null | undefined;
2265
1817
  channelId: string | null | undefined;
2266
- boxId: string;
2267
1818
  platformUserId: string | null | undefined;
2268
1819
  isDevelopment: boolean | null;
2269
1820
  agent: string | null | undefined;
@@ -2338,10 +1889,10 @@ declare let client: {
2338
1889
  } | {
2339
1890
  type: "BOXMAN_REQUEST";
2340
1891
  appId: string | null | undefined;
1892
+ boxId: string;
2341
1893
  rpcMethod: string | null | undefined;
2342
1894
  requestId: string | null | undefined;
2343
1895
  channelId: string | null | undefined;
2344
- boxId: string;
2345
1896
  platformUserId: string | null | undefined;
2346
1897
  isDevelopment: boolean | null;
2347
1898
  agent: string | null | undefined;
@@ -2392,7 +1943,7 @@ export declare function startRealtimeResponse<T extends object>(): Promise<{
2392
1943
  next(data: T): void;
2393
1944
  end(): T;
2394
1945
  }>;
2395
- declare function signIn(input?: RedirectInput): void;
1946
+ declare function signIn(_input?: SignInInput): void;
2396
1947
  export type AuthStatus = {
2397
1948
  status: "authenticated";
2398
1949
  userId: string;