@adaptive-ai/sdk 0.1.9 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/index.d.ts +30 -14
- package/dist/client/index.js +8 -8
- package/dist/server/index.d.ts +123 -476
- package/dist/server/index.js +1 -1
- package/package.json +2 -1
package/dist/server/index.d.ts
CHANGED
|
@@ -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
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
|
148
|
-
provider: AuthProvider;
|
|
149
|
-
scope?: string[];
|
|
150
|
-
redirectUri?: string;
|
|
151
|
-
};
|
|
152
|
-
export type RedirectInput = {
|
|
36
|
+
export type SignInInput = {
|
|
153
37
|
email: string;
|
|
154
|
-
|
|
155
|
-
|
|
38
|
+
phoneNumber?: null | undefined;
|
|
39
|
+
redirectUri?: string;
|
|
156
40
|
} | {
|
|
157
41
|
phoneNumber: string;
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
} |
|
|
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:
|
|
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:
|
|
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:
|
|
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
|
-
|
|
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
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
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
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
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
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
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,21 +1473,21 @@ 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
|
-
|
|
1490
|
+
searchTheWeb: {
|
|
1678
1491
|
mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
|
|
1679
1492
|
_config: _trpc_server.RootConfig<{
|
|
1680
1493
|
ctx: {
|
|
@@ -1734,10 +1547,10 @@ declare let client: {
|
|
|
1734
1547
|
} | {
|
|
1735
1548
|
type: "BOXMAN_REQUEST";
|
|
1736
1549
|
appId: string | null | undefined;
|
|
1550
|
+
boxId: string;
|
|
1737
1551
|
rpcMethod: string | null | undefined;
|
|
1738
1552
|
requestId: string | null | undefined;
|
|
1739
1553
|
channelId: string | null | undefined;
|
|
1740
|
-
boxId: string;
|
|
1741
1554
|
platformUserId: string | null | undefined;
|
|
1742
1555
|
isDevelopment: boolean | null;
|
|
1743
1556
|
agent: string | null | undefined;
|
|
@@ -1745,23 +1558,22 @@ declare let client: {
|
|
|
1745
1558
|
pushToken: string | null | undefined;
|
|
1746
1559
|
};
|
|
1747
1560
|
_input_in: {
|
|
1748
|
-
|
|
1749
|
-
|
|
1561
|
+
query: string;
|
|
1562
|
+
allowedDomains?: string[] | undefined;
|
|
1563
|
+
blockedDomains?: string[] | undefined;
|
|
1750
1564
|
};
|
|
1751
1565
|
_input_out: {
|
|
1752
|
-
|
|
1753
|
-
|
|
1566
|
+
query: string;
|
|
1567
|
+
allowedDomains?: string[] | undefined;
|
|
1568
|
+
blockedDomains?: string[] | undefined;
|
|
1754
1569
|
};
|
|
1755
1570
|
_output_in: typeof _trpc_server.unsetMarker;
|
|
1756
1571
|
_output_out: typeof _trpc_server.unsetMarker;
|
|
1757
1572
|
}, {
|
|
1758
|
-
|
|
1759
|
-
provider: string;
|
|
1760
|
-
userId: string | undefined;
|
|
1761
|
-
scope: string[];
|
|
1573
|
+
response: string;
|
|
1762
1574
|
}>>;
|
|
1763
1575
|
};
|
|
1764
|
-
|
|
1576
|
+
textToSpeech: {
|
|
1765
1577
|
mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
|
|
1766
1578
|
_config: _trpc_server.RootConfig<{
|
|
1767
1579
|
ctx: {
|
|
@@ -1821,101 +1633,10 @@ declare let client: {
|
|
|
1821
1633
|
} | {
|
|
1822
1634
|
type: "BOXMAN_REQUEST";
|
|
1823
1635
|
appId: string | null | undefined;
|
|
1824
|
-
rpcMethod: string | null | undefined;
|
|
1825
|
-
requestId: string | null | undefined;
|
|
1826
|
-
channelId: string | null | undefined;
|
|
1827
1636
|
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
1637
|
rpcMethod: string | null | undefined;
|
|
1916
1638
|
requestId: string | null | undefined;
|
|
1917
1639
|
channelId: string | null | undefined;
|
|
1918
|
-
boxId: string;
|
|
1919
1640
|
platformUserId: string | null | undefined;
|
|
1920
1641
|
isDevelopment: boolean | null;
|
|
1921
1642
|
agent: string | null | undefined;
|
|
@@ -1923,106 +1644,26 @@ declare let client: {
|
|
|
1923
1644
|
pushToken: string | null | undefined;
|
|
1924
1645
|
};
|
|
1925
1646
|
_input_in: {
|
|
1926
|
-
|
|
1927
|
-
|
|
1647
|
+
text: string;
|
|
1648
|
+
voice?: "Will" | "Brian" | "George" | "Jessica" | "Liam" | "Alice" | "Sarah" | "Charlotte" | "Matilda" | "Eric" | "Alloy" | "Ash" | "Ballad" | "Coral" | "Echo" | "Fable" | "Nova" | "Onyx" | "Sage" | "Shimmer" | undefined;
|
|
1928
1649
|
};
|
|
1929
1650
|
_input_out: {
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
};
|
|
1933
|
-
_output_in: typeof _trpc_server.unsetMarker;
|
|
1934
|
-
_output_out: typeof _trpc_server.unsetMarker;
|
|
1935
|
-
}, {
|
|
1936
|
-
readonly ok: true;
|
|
1937
|
-
}>>;
|
|
1938
|
-
};
|
|
1939
|
-
searchTheWeb: {
|
|
1940
|
-
mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
|
|
1941
|
-
_config: _trpc_server.RootConfig<{
|
|
1942
|
-
ctx: {
|
|
1943
|
-
appId: string;
|
|
1944
|
-
versionId: string;
|
|
1945
|
-
appName: string;
|
|
1946
|
-
appSubdomain: string;
|
|
1947
|
-
userId: string;
|
|
1948
|
-
isTesting: boolean;
|
|
1949
|
-
rpcMethod: string;
|
|
1950
|
-
requestId: string;
|
|
1951
|
-
type?: undefined;
|
|
1952
|
-
dbUrl?: string | null | undefined;
|
|
1953
|
-
userIdActual?: string | null | undefined;
|
|
1954
|
-
channelId?: string | null | undefined;
|
|
1955
|
-
} | {
|
|
1956
|
-
type: "BOXMAN_REQUEST";
|
|
1957
|
-
boxId: string;
|
|
1958
|
-
isDevelopment: boolean | null;
|
|
1959
|
-
appId?: string | null | undefined;
|
|
1960
|
-
rpcMethod?: string | null | undefined;
|
|
1961
|
-
requestId?: string | null | undefined;
|
|
1962
|
-
channelId?: string | null | undefined;
|
|
1963
|
-
platformUserId?: string | null | undefined;
|
|
1964
|
-
agent?: string | null | undefined;
|
|
1965
|
-
sessionId?: string | null | undefined;
|
|
1966
|
-
pushToken?: string | null | undefined;
|
|
1967
|
-
};
|
|
1968
|
-
meta: object;
|
|
1969
|
-
errorShape: {
|
|
1970
|
-
data: {
|
|
1971
|
-
zodError: typeToFlattenedError<any, string> | null;
|
|
1972
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
1973
|
-
httpStatus: number;
|
|
1974
|
-
path?: string;
|
|
1975
|
-
stack?: string;
|
|
1976
|
-
};
|
|
1977
|
-
message: string;
|
|
1978
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
1979
|
-
};
|
|
1980
|
-
transformer: typeof superjson;
|
|
1981
|
-
}>;
|
|
1982
|
-
_meta: object;
|
|
1983
|
-
_ctx_out: {
|
|
1984
|
-
type: undefined;
|
|
1985
|
-
appId: string;
|
|
1986
|
-
versionId: string;
|
|
1987
|
-
dbUrl: string | null | undefined;
|
|
1988
|
-
appName: string;
|
|
1989
|
-
appSubdomain: string;
|
|
1990
|
-
userId: string;
|
|
1991
|
-
userIdActual: string | null | undefined;
|
|
1992
|
-
isTesting: boolean;
|
|
1993
|
-
rpcMethod: string;
|
|
1994
|
-
requestId: string;
|
|
1995
|
-
channelId: string | null | undefined;
|
|
1996
|
-
} | {
|
|
1997
|
-
type: "BOXMAN_REQUEST";
|
|
1998
|
-
appId: string | null | undefined;
|
|
1999
|
-
rpcMethod: string | null | undefined;
|
|
2000
|
-
requestId: string | null | undefined;
|
|
2001
|
-
channelId: string | null | undefined;
|
|
2002
|
-
boxId: string;
|
|
2003
|
-
platformUserId: string | null | undefined;
|
|
2004
|
-
isDevelopment: boolean | null;
|
|
2005
|
-
agent: string | null | undefined;
|
|
2006
|
-
sessionId: string | null | undefined;
|
|
2007
|
-
pushToken: string | null | undefined;
|
|
1651
|
+
text: string;
|
|
1652
|
+
voice?: "Will" | "Brian" | "George" | "Jessica" | "Liam" | "Alice" | "Sarah" | "Charlotte" | "Matilda" | "Eric" | "Alloy" | "Ash" | "Ballad" | "Coral" | "Echo" | "Fable" | "Nova" | "Onyx" | "Sage" | "Shimmer" | undefined;
|
|
2008
1653
|
};
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
1654
|
+
_output_in: {
|
|
1655
|
+
audioUrl: string;
|
|
1656
|
+
model: string;
|
|
1657
|
+
duration?: number | undefined;
|
|
2013
1658
|
};
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
1659
|
+
_output_out: {
|
|
1660
|
+
audioUrl: string;
|
|
1661
|
+
model: string;
|
|
1662
|
+
duration?: number | undefined;
|
|
2018
1663
|
};
|
|
2019
|
-
|
|
2020
|
-
_output_out: typeof _trpc_server.unsetMarker;
|
|
2021
|
-
}, {
|
|
2022
|
-
response: string;
|
|
2023
|
-
}>>;
|
|
1664
|
+
}, unknown>>;
|
|
2024
1665
|
};
|
|
2025
|
-
|
|
1666
|
+
textToImage: {
|
|
2026
1667
|
mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
|
|
2027
1668
|
_config: _trpc_server.RootConfig<{
|
|
2028
1669
|
ctx: {
|
|
@@ -2082,10 +1723,10 @@ declare let client: {
|
|
|
2082
1723
|
} | {
|
|
2083
1724
|
type: "BOXMAN_REQUEST";
|
|
2084
1725
|
appId: string | null | undefined;
|
|
1726
|
+
boxId: string;
|
|
2085
1727
|
rpcMethod: string | null | undefined;
|
|
2086
1728
|
requestId: string | null | undefined;
|
|
2087
1729
|
channelId: string | null | undefined;
|
|
2088
|
-
boxId: string;
|
|
2089
1730
|
platformUserId: string | null | undefined;
|
|
2090
1731
|
isDevelopment: boolean | null;
|
|
2091
1732
|
agent: string | null | undefined;
|
|
@@ -2094,25 +1735,23 @@ declare let client: {
|
|
|
2094
1735
|
};
|
|
2095
1736
|
_input_in: {
|
|
2096
1737
|
text: string;
|
|
2097
|
-
|
|
1738
|
+
size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | undefined;
|
|
2098
1739
|
};
|
|
2099
1740
|
_input_out: {
|
|
2100
1741
|
text: string;
|
|
2101
|
-
|
|
1742
|
+
size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | undefined;
|
|
2102
1743
|
};
|
|
2103
1744
|
_output_in: {
|
|
2104
1745
|
model: string;
|
|
2105
|
-
|
|
2106
|
-
duration?: number | undefined;
|
|
1746
|
+
imageUrl: string;
|
|
2107
1747
|
};
|
|
2108
1748
|
_output_out: {
|
|
2109
1749
|
model: string;
|
|
2110
|
-
|
|
2111
|
-
duration?: number | undefined;
|
|
1750
|
+
imageUrl: string;
|
|
2112
1751
|
};
|
|
2113
1752
|
}, unknown>>;
|
|
2114
1753
|
};
|
|
2115
|
-
|
|
1754
|
+
connectedApiRequest: {
|
|
2116
1755
|
mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
|
|
2117
1756
|
_config: _trpc_server.RootConfig<{
|
|
2118
1757
|
ctx: {
|
|
@@ -2172,10 +1811,10 @@ declare let client: {
|
|
|
2172
1811
|
} | {
|
|
2173
1812
|
type: "BOXMAN_REQUEST";
|
|
2174
1813
|
appId: string | null | undefined;
|
|
1814
|
+
boxId: string;
|
|
2175
1815
|
rpcMethod: string | null | undefined;
|
|
2176
1816
|
requestId: string | null | undefined;
|
|
2177
1817
|
channelId: string | null | undefined;
|
|
2178
|
-
boxId: string;
|
|
2179
1818
|
platformUserId: string | null | undefined;
|
|
2180
1819
|
isDevelopment: boolean | null;
|
|
2181
1820
|
agent: string | null | undefined;
|
|
@@ -2183,22 +1822,30 @@ declare let client: {
|
|
|
2183
1822
|
pushToken: string | null | undefined;
|
|
2184
1823
|
};
|
|
2185
1824
|
_input_in: {
|
|
2186
|
-
|
|
2187
|
-
|
|
1825
|
+
url: string;
|
|
1826
|
+
connectionToken: string;
|
|
1827
|
+
method: string;
|
|
1828
|
+
body?: any;
|
|
1829
|
+
headers?: Record<string, string> | undefined;
|
|
2188
1830
|
};
|
|
2189
1831
|
_input_out: {
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
imageUrl: string;
|
|
2196
|
-
};
|
|
2197
|
-
_output_out: {
|
|
2198
|
-
model: string;
|
|
2199
|
-
imageUrl: string;
|
|
1832
|
+
url: string;
|
|
1833
|
+
connectionToken: string;
|
|
1834
|
+
method: string;
|
|
1835
|
+
body?: any;
|
|
1836
|
+
headers?: Record<string, string> | undefined;
|
|
2200
1837
|
};
|
|
2201
|
-
|
|
1838
|
+
_output_in: typeof _trpc_server.unsetMarker;
|
|
1839
|
+
_output_out: typeof _trpc_server.unsetMarker;
|
|
1840
|
+
}, {
|
|
1841
|
+
status: number;
|
|
1842
|
+
body: any;
|
|
1843
|
+
error?: undefined;
|
|
1844
|
+
} | {
|
|
1845
|
+
status: number;
|
|
1846
|
+
error: string;
|
|
1847
|
+
body?: undefined;
|
|
1848
|
+
}>>;
|
|
2202
1849
|
};
|
|
2203
1850
|
health: {
|
|
2204
1851
|
query: _trpc_client.Resolver<_trpc_server.BuildProcedure<"query", {
|
|
@@ -2260,10 +1907,10 @@ declare let client: {
|
|
|
2260
1907
|
} | {
|
|
2261
1908
|
type: "BOXMAN_REQUEST";
|
|
2262
1909
|
appId: string | null | undefined;
|
|
1910
|
+
boxId: string;
|
|
2263
1911
|
rpcMethod: string | null | undefined;
|
|
2264
1912
|
requestId: string | null | undefined;
|
|
2265
1913
|
channelId: string | null | undefined;
|
|
2266
|
-
boxId: string;
|
|
2267
1914
|
platformUserId: string | null | undefined;
|
|
2268
1915
|
isDevelopment: boolean | null;
|
|
2269
1916
|
agent: string | null | undefined;
|
|
@@ -2338,10 +1985,10 @@ declare let client: {
|
|
|
2338
1985
|
} | {
|
|
2339
1986
|
type: "BOXMAN_REQUEST";
|
|
2340
1987
|
appId: string | null | undefined;
|
|
1988
|
+
boxId: string;
|
|
2341
1989
|
rpcMethod: string | null | undefined;
|
|
2342
1990
|
requestId: string | null | undefined;
|
|
2343
1991
|
channelId: string | null | undefined;
|
|
2344
|
-
boxId: string;
|
|
2345
1992
|
platformUserId: string | null | undefined;
|
|
2346
1993
|
isDevelopment: boolean | null;
|
|
2347
1994
|
agent: string | null | undefined;
|
|
@@ -2392,7 +2039,7 @@ export declare function startRealtimeResponse<T extends object>(): Promise<{
|
|
|
2392
2039
|
next(data: T): void;
|
|
2393
2040
|
end(): T;
|
|
2394
2041
|
}>;
|
|
2395
|
-
declare function signIn(
|
|
2042
|
+
declare function signIn(_input?: SignInInput): void;
|
|
2396
2043
|
export type AuthStatus = {
|
|
2397
2044
|
status: "authenticated";
|
|
2398
2045
|
userId: string;
|