@adaptive-ai/sdk 0.1.8 → 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.
- package/dist/client/index.d.ts +30 -14
- package/dist/client/index.js +94 -8
- package/dist/server/index.d.ts +94 -541
- package/dist/server/index.js +1 -1
- package/package.json +6 -5
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;
|
|
@@ -334,14 +220,14 @@ declare let client: {
|
|
|
334
220
|
pushToken: string | null | undefined;
|
|
335
221
|
};
|
|
336
222
|
_input_in: {
|
|
337
|
-
markdown: string;
|
|
338
223
|
subject: string;
|
|
224
|
+
markdown: string;
|
|
339
225
|
toUserId: string;
|
|
340
226
|
appId?: string | undefined;
|
|
341
227
|
};
|
|
342
228
|
_input_out: {
|
|
343
|
-
markdown: string;
|
|
344
229
|
subject: string;
|
|
230
|
+
markdown: string;
|
|
345
231
|
toUserId: string;
|
|
346
232
|
appId?: string | undefined;
|
|
347
233
|
};
|
|
@@ -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;
|
|
@@ -420,18 +306,20 @@ declare let client: {
|
|
|
420
306
|
pushToken: string | null | undefined;
|
|
421
307
|
};
|
|
422
308
|
_input_in: {
|
|
423
|
-
appId
|
|
424
|
-
email
|
|
425
|
-
|
|
426
|
-
|
|
309
|
+
appId: string;
|
|
310
|
+
email: string;
|
|
311
|
+
subject: string;
|
|
312
|
+
markdown: string;
|
|
427
313
|
unauthenticatedLinks?: boolean | undefined;
|
|
314
|
+
aclLevel?: "EDITOR" | "VIEWER" | undefined;
|
|
428
315
|
};
|
|
429
316
|
_input_out: {
|
|
430
|
-
appId
|
|
431
|
-
email
|
|
432
|
-
|
|
433
|
-
|
|
317
|
+
appId: string;
|
|
318
|
+
email: string;
|
|
319
|
+
subject: string;
|
|
320
|
+
markdown: string;
|
|
434
321
|
unauthenticatedLinks?: boolean | undefined;
|
|
322
|
+
aclLevel?: "EDITOR" | "VIEWER" | undefined;
|
|
435
323
|
};
|
|
436
324
|
_output_in: typeof _trpc_server.unsetMarker;
|
|
437
325
|
_output_out: typeof _trpc_server.unsetMarker;
|
|
@@ -499,10 +387,10 @@ declare let client: {
|
|
|
499
387
|
} | {
|
|
500
388
|
type: "BOXMAN_REQUEST";
|
|
501
389
|
appId: string | null | undefined;
|
|
390
|
+
boxId: string;
|
|
502
391
|
rpcMethod: string | null | undefined;
|
|
503
392
|
requestId: string | null | undefined;
|
|
504
393
|
channelId: string | null | undefined;
|
|
505
|
-
boxId: string;
|
|
506
394
|
platformUserId: string | null | undefined;
|
|
507
395
|
isDevelopment: boolean | null;
|
|
508
396
|
agent: string | null | undefined;
|
|
@@ -510,12 +398,12 @@ declare let client: {
|
|
|
510
398
|
pushToken: string | null | undefined;
|
|
511
399
|
};
|
|
512
400
|
_input_in: {
|
|
513
|
-
base64: string;
|
|
514
401
|
fileName: string;
|
|
402
|
+
base64: string;
|
|
515
403
|
};
|
|
516
404
|
_input_out: {
|
|
517
|
-
base64: string;
|
|
518
405
|
fileName: string;
|
|
406
|
+
base64: string;
|
|
519
407
|
};
|
|
520
408
|
_output_in: typeof _trpc_server.unsetMarker;
|
|
521
409
|
_output_out: typeof _trpc_server.unsetMarker;
|
|
@@ -581,10 +469,10 @@ declare let client: {
|
|
|
581
469
|
} | {
|
|
582
470
|
type: "BOXMAN_REQUEST";
|
|
583
471
|
appId: string | null | undefined;
|
|
472
|
+
boxId: string;
|
|
584
473
|
rpcMethod: string | null | undefined;
|
|
585
474
|
requestId: string | null | undefined;
|
|
586
475
|
channelId: string | null | undefined;
|
|
587
|
-
boxId: string;
|
|
588
476
|
platformUserId: string | null | undefined;
|
|
589
477
|
isDevelopment: boolean | null;
|
|
590
478
|
agent: string | null | undefined;
|
|
@@ -604,13 +492,13 @@ declare let client: {
|
|
|
604
492
|
loop?: boolean | undefined;
|
|
605
493
|
};
|
|
606
494
|
_output_in: {
|
|
607
|
-
model: string;
|
|
608
495
|
audioUrl: string;
|
|
496
|
+
model: string;
|
|
609
497
|
duration?: number | undefined;
|
|
610
498
|
};
|
|
611
499
|
_output_out: {
|
|
612
|
-
model: string;
|
|
613
500
|
audioUrl: string;
|
|
501
|
+
model: string;
|
|
614
502
|
duration?: number | undefined;
|
|
615
503
|
};
|
|
616
504
|
}, unknown>>;
|
|
@@ -675,10 +563,10 @@ declare let client: {
|
|
|
675
563
|
} | {
|
|
676
564
|
type: "BOXMAN_REQUEST";
|
|
677
565
|
appId: string | null | undefined;
|
|
566
|
+
boxId: string;
|
|
678
567
|
rpcMethod: string | null | undefined;
|
|
679
568
|
requestId: string | null | undefined;
|
|
680
569
|
channelId: string | null | undefined;
|
|
681
|
-
boxId: string;
|
|
682
570
|
platformUserId: string | null | undefined;
|
|
683
571
|
isDevelopment: boolean | null;
|
|
684
572
|
agent: string | null | undefined;
|
|
@@ -698,13 +586,13 @@ declare let client: {
|
|
|
698
586
|
}[];
|
|
699
587
|
};
|
|
700
588
|
_output_in: {
|
|
701
|
-
model: string;
|
|
702
589
|
audioUrl: string;
|
|
590
|
+
model: string;
|
|
703
591
|
duration?: number | undefined;
|
|
704
592
|
};
|
|
705
593
|
_output_out: {
|
|
706
|
-
model: string;
|
|
707
594
|
audioUrl: string;
|
|
595
|
+
model: string;
|
|
708
596
|
duration?: number | undefined;
|
|
709
597
|
};
|
|
710
598
|
}, unknown>>;
|
|
@@ -769,10 +657,10 @@ declare let client: {
|
|
|
769
657
|
} | {
|
|
770
658
|
type: "BOXMAN_REQUEST";
|
|
771
659
|
appId: string | null | undefined;
|
|
660
|
+
boxId: string;
|
|
772
661
|
rpcMethod: string | null | undefined;
|
|
773
662
|
requestId: string | null | undefined;
|
|
774
663
|
channelId: string | null | undefined;
|
|
775
|
-
boxId: string;
|
|
776
664
|
platformUserId: string | null | undefined;
|
|
777
665
|
isDevelopment: boolean | null;
|
|
778
666
|
agent: string | null | undefined;
|
|
@@ -786,13 +674,13 @@ declare let client: {
|
|
|
786
674
|
text: string;
|
|
787
675
|
};
|
|
788
676
|
_output_in: {
|
|
789
|
-
model: string;
|
|
790
677
|
audioUrl: string;
|
|
678
|
+
model: string;
|
|
791
679
|
duration?: number | undefined;
|
|
792
680
|
};
|
|
793
681
|
_output_out: {
|
|
794
|
-
model: string;
|
|
795
682
|
audioUrl: string;
|
|
683
|
+
model: string;
|
|
796
684
|
duration?: number | undefined;
|
|
797
685
|
};
|
|
798
686
|
}, unknown>>;
|
|
@@ -857,10 +745,10 @@ declare let client: {
|
|
|
857
745
|
} | {
|
|
858
746
|
type: "BOXMAN_REQUEST";
|
|
859
747
|
appId: string | null | undefined;
|
|
748
|
+
boxId: string;
|
|
860
749
|
rpcMethod: string | null | undefined;
|
|
861
750
|
requestId: string | null | undefined;
|
|
862
751
|
channelId: string | null | undefined;
|
|
863
|
-
boxId: string;
|
|
864
752
|
platformUserId: string | null | undefined;
|
|
865
753
|
isDevelopment: boolean | null;
|
|
866
754
|
agent: string | null | undefined;
|
|
@@ -947,10 +835,10 @@ declare let client: {
|
|
|
947
835
|
} | {
|
|
948
836
|
type: "BOXMAN_REQUEST";
|
|
949
837
|
appId: string | null | undefined;
|
|
838
|
+
boxId: string;
|
|
950
839
|
rpcMethod: string | null | undefined;
|
|
951
840
|
requestId: string | null | undefined;
|
|
952
841
|
channelId: string | null | undefined;
|
|
953
|
-
boxId: string;
|
|
954
842
|
platformUserId: string | null | undefined;
|
|
955
843
|
isDevelopment: boolean | null;
|
|
956
844
|
agent: string | null | undefined;
|
|
@@ -958,13 +846,13 @@ declare let client: {
|
|
|
958
846
|
pushToken: string | null | undefined;
|
|
959
847
|
};
|
|
960
848
|
_input_in: {
|
|
961
|
-
base64?: string | undefined;
|
|
962
849
|
url?: string | undefined;
|
|
850
|
+
base64?: string | undefined;
|
|
963
851
|
schema?: any;
|
|
964
852
|
};
|
|
965
853
|
_input_out: {
|
|
966
|
-
base64?: string | undefined;
|
|
967
854
|
url?: string | undefined;
|
|
855
|
+
base64?: string | undefined;
|
|
968
856
|
schema?: any;
|
|
969
857
|
};
|
|
970
858
|
_output_in: typeof _trpc_server.unsetMarker;
|
|
@@ -1031,10 +919,10 @@ declare let client: {
|
|
|
1031
919
|
} | {
|
|
1032
920
|
type: "BOXMAN_REQUEST";
|
|
1033
921
|
appId: string | null | undefined;
|
|
922
|
+
boxId: string;
|
|
1034
923
|
rpcMethod: string | null | undefined;
|
|
1035
924
|
requestId: string | null | undefined;
|
|
1036
925
|
channelId: string | null | undefined;
|
|
1037
|
-
boxId: string;
|
|
1038
926
|
platformUserId: string | null | undefined;
|
|
1039
927
|
isDevelopment: boolean | null;
|
|
1040
928
|
agent: string | null | undefined;
|
|
@@ -1042,13 +930,13 @@ declare let client: {
|
|
|
1042
930
|
pushToken: string | null | undefined;
|
|
1043
931
|
};
|
|
1044
932
|
_input_in: {
|
|
1045
|
-
base64?: string | undefined;
|
|
1046
933
|
url?: string | undefined;
|
|
934
|
+
base64?: string | undefined;
|
|
1047
935
|
outputFormat?: "raw" | "formatted-markdown" | undefined;
|
|
1048
936
|
};
|
|
1049
937
|
_input_out: {
|
|
1050
|
-
base64?: string | undefined;
|
|
1051
938
|
url?: string | undefined;
|
|
939
|
+
base64?: string | undefined;
|
|
1052
940
|
outputFormat?: "raw" | "formatted-markdown" | undefined;
|
|
1053
941
|
};
|
|
1054
942
|
_output_in: typeof _trpc_server.unsetMarker;
|
|
@@ -1115,10 +1003,10 @@ declare let client: {
|
|
|
1115
1003
|
} | {
|
|
1116
1004
|
type: "BOXMAN_REQUEST";
|
|
1117
1005
|
appId: string | null | undefined;
|
|
1006
|
+
boxId: string;
|
|
1118
1007
|
rpcMethod: string | null | undefined;
|
|
1119
1008
|
requestId: string | null | undefined;
|
|
1120
1009
|
channelId: string | null | undefined;
|
|
1121
|
-
boxId: string;
|
|
1122
1010
|
platformUserId: string | null | undefined;
|
|
1123
1011
|
isDevelopment: boolean | null;
|
|
1124
1012
|
agent: string | null | undefined;
|
|
@@ -1145,7 +1033,7 @@ declare let client: {
|
|
|
1145
1033
|
purchaseLink: string;
|
|
1146
1034
|
id: string;
|
|
1147
1035
|
name: string;
|
|
1148
|
-
kind:
|
|
1036
|
+
kind: ProductKind;
|
|
1149
1037
|
description: string;
|
|
1150
1038
|
price: number;
|
|
1151
1039
|
}>>;
|
|
@@ -1210,10 +1098,10 @@ declare let client: {
|
|
|
1210
1098
|
} | {
|
|
1211
1099
|
type: "BOXMAN_REQUEST";
|
|
1212
1100
|
appId: string | null | undefined;
|
|
1101
|
+
boxId: string;
|
|
1213
1102
|
rpcMethod: string | null | undefined;
|
|
1214
1103
|
requestId: string | null | undefined;
|
|
1215
1104
|
channelId: string | null | undefined;
|
|
1216
|
-
boxId: string;
|
|
1217
1105
|
platformUserId: string | null | undefined;
|
|
1218
1106
|
isDevelopment: boolean | null;
|
|
1219
1107
|
agent: string | null | undefined;
|
|
@@ -1232,7 +1120,7 @@ declare let client: {
|
|
|
1232
1120
|
purchaseLink: string;
|
|
1233
1121
|
id: string;
|
|
1234
1122
|
name: string;
|
|
1235
|
-
kind:
|
|
1123
|
+
kind: ProductKind;
|
|
1236
1124
|
description: string;
|
|
1237
1125
|
price: number;
|
|
1238
1126
|
}[]>>;
|
|
@@ -1297,10 +1185,10 @@ declare let client: {
|
|
|
1297
1185
|
} | {
|
|
1298
1186
|
type: "BOXMAN_REQUEST";
|
|
1299
1187
|
appId: string | null | undefined;
|
|
1188
|
+
boxId: string;
|
|
1300
1189
|
rpcMethod: string | null | undefined;
|
|
1301
1190
|
requestId: string | null | undefined;
|
|
1302
1191
|
channelId: string | null | undefined;
|
|
1303
|
-
boxId: string;
|
|
1304
1192
|
platformUserId: string | null | undefined;
|
|
1305
1193
|
isDevelopment: boolean | null;
|
|
1306
1194
|
agent: string | null | undefined;
|
|
@@ -1320,7 +1208,7 @@ declare let client: {
|
|
|
1320
1208
|
}, {
|
|
1321
1209
|
id: string;
|
|
1322
1210
|
name: string;
|
|
1323
|
-
kind:
|
|
1211
|
+
kind: ProductKind;
|
|
1324
1212
|
description: string;
|
|
1325
1213
|
price: number;
|
|
1326
1214
|
}[]>>;
|
|
@@ -1385,10 +1273,10 @@ declare let client: {
|
|
|
1385
1273
|
} | {
|
|
1386
1274
|
type: "BOXMAN_REQUEST";
|
|
1387
1275
|
appId: string | null | undefined;
|
|
1276
|
+
boxId: string;
|
|
1388
1277
|
rpcMethod: string | null | undefined;
|
|
1389
1278
|
requestId: string | null | undefined;
|
|
1390
1279
|
channelId: string | null | undefined;
|
|
1391
|
-
boxId: string;
|
|
1392
1280
|
platformUserId: string | null | undefined;
|
|
1393
1281
|
isDevelopment: boolean | null;
|
|
1394
1282
|
agent: string | null | undefined;
|
|
@@ -1407,7 +1295,7 @@ declare let client: {
|
|
|
1407
1295
|
_output_out: typeof _trpc_server.unsetMarker;
|
|
1408
1296
|
}, void>>;
|
|
1409
1297
|
};
|
|
1410
|
-
|
|
1298
|
+
browseWeb: {
|
|
1411
1299
|
mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
|
|
1412
1300
|
_config: _trpc_server.RootConfig<{
|
|
1413
1301
|
ctx: {
|
|
@@ -1467,98 +1355,10 @@ declare let client: {
|
|
|
1467
1355
|
} | {
|
|
1468
1356
|
type: "BOXMAN_REQUEST";
|
|
1469
1357
|
appId: string | null | undefined;
|
|
1470
|
-
rpcMethod: string | null | undefined;
|
|
1471
|
-
requestId: string | null | undefined;
|
|
1472
|
-
channelId: string | null | undefined;
|
|
1473
1358
|
boxId: string;
|
|
1474
|
-
platformUserId: string | null | undefined;
|
|
1475
|
-
isDevelopment: boolean | null;
|
|
1476
|
-
agent: string | null | undefined;
|
|
1477
|
-
sessionId: string | null | undefined;
|
|
1478
|
-
pushToken: string | null | undefined;
|
|
1479
|
-
};
|
|
1480
|
-
_input_in: {
|
|
1481
|
-
connectionId: string;
|
|
1482
|
-
appId?: string | undefined;
|
|
1483
|
-
};
|
|
1484
|
-
_input_out: {
|
|
1485
|
-
connectionId: string;
|
|
1486
|
-
appId?: string | undefined;
|
|
1487
|
-
};
|
|
1488
|
-
_output_in: typeof _trpc_server.unsetMarker;
|
|
1489
|
-
_output_out: typeof _trpc_server.unsetMarker;
|
|
1490
|
-
}, {
|
|
1491
|
-
connectionId: string;
|
|
1492
|
-
userId: string | null;
|
|
1493
|
-
accessToken: string | null;
|
|
1494
|
-
expiresAt: Date | null;
|
|
1495
|
-
scope: string[];
|
|
1496
|
-
}>>;
|
|
1497
|
-
};
|
|
1498
|
-
getOAuthConnectionForCurrentUser: {
|
|
1499
|
-
mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
|
|
1500
|
-
_config: _trpc_server.RootConfig<{
|
|
1501
|
-
ctx: {
|
|
1502
|
-
appId: string;
|
|
1503
|
-
versionId: string;
|
|
1504
|
-
appName: string;
|
|
1505
|
-
appSubdomain: string;
|
|
1506
|
-
userId: string;
|
|
1507
|
-
isTesting: boolean;
|
|
1508
|
-
rpcMethod: string;
|
|
1509
|
-
requestId: string;
|
|
1510
|
-
type?: undefined;
|
|
1511
|
-
dbUrl?: string | null | undefined;
|
|
1512
|
-
userIdActual?: string | null | undefined;
|
|
1513
|
-
channelId?: string | null | undefined;
|
|
1514
|
-
} | {
|
|
1515
|
-
type: "BOXMAN_REQUEST";
|
|
1516
|
-
boxId: string;
|
|
1517
|
-
isDevelopment: boolean | null;
|
|
1518
|
-
appId?: string | null | undefined;
|
|
1519
|
-
rpcMethod?: string | null | undefined;
|
|
1520
|
-
requestId?: string | null | undefined;
|
|
1521
|
-
channelId?: string | null | undefined;
|
|
1522
|
-
platformUserId?: string | null | undefined;
|
|
1523
|
-
agent?: string | null | undefined;
|
|
1524
|
-
sessionId?: string | null | undefined;
|
|
1525
|
-
pushToken?: string | null | undefined;
|
|
1526
|
-
};
|
|
1527
|
-
meta: object;
|
|
1528
|
-
errorShape: {
|
|
1529
|
-
data: {
|
|
1530
|
-
zodError: typeToFlattenedError<any, string> | null;
|
|
1531
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
1532
|
-
httpStatus: number;
|
|
1533
|
-
path?: string;
|
|
1534
|
-
stack?: string;
|
|
1535
|
-
};
|
|
1536
|
-
message: string;
|
|
1537
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
1538
|
-
};
|
|
1539
|
-
transformer: typeof superjson;
|
|
1540
|
-
}>;
|
|
1541
|
-
_meta: object;
|
|
1542
|
-
_ctx_out: {
|
|
1543
|
-
type: undefined;
|
|
1544
|
-
appId: string;
|
|
1545
|
-
versionId: string;
|
|
1546
|
-
dbUrl: string | null | undefined;
|
|
1547
|
-
appName: string;
|
|
1548
|
-
appSubdomain: string;
|
|
1549
|
-
userId: string;
|
|
1550
|
-
userIdActual: string | null | undefined;
|
|
1551
|
-
isTesting: boolean;
|
|
1552
|
-
rpcMethod: string;
|
|
1553
|
-
requestId: string;
|
|
1554
|
-
channelId: string | null | undefined;
|
|
1555
|
-
} | {
|
|
1556
|
-
type: "BOXMAN_REQUEST";
|
|
1557
|
-
appId: string | null | undefined;
|
|
1558
1359
|
rpcMethod: string | null | undefined;
|
|
1559
1360
|
requestId: string | null | undefined;
|
|
1560
1361
|
channelId: string | null | undefined;
|
|
1561
|
-
boxId: string;
|
|
1562
1362
|
platformUserId: string | null | undefined;
|
|
1563
1363
|
isDevelopment: boolean | null;
|
|
1564
1364
|
agent: string | null | undefined;
|
|
@@ -1566,25 +1366,40 @@ declare let client: {
|
|
|
1566
1366
|
pushToken: string | null | undefined;
|
|
1567
1367
|
};
|
|
1568
1368
|
_input_in: {
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1369
|
+
url: string;
|
|
1370
|
+
showClickTargets?: boolean | undefined;
|
|
1371
|
+
clickOnTargetIndex?: number | undefined;
|
|
1372
|
+
orientation?: "portrait" | "landscape" | undefined;
|
|
1373
|
+
scrollToPage?: number | undefined;
|
|
1374
|
+
returnPageText?: boolean | undefined;
|
|
1573
1375
|
};
|
|
1574
1376
|
_input_out: {
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1377
|
+
url: string;
|
|
1378
|
+
showClickTargets: boolean;
|
|
1379
|
+
orientation: "portrait" | "landscape";
|
|
1380
|
+
returnPageText: boolean;
|
|
1381
|
+
clickOnTargetIndex?: number | undefined;
|
|
1382
|
+
scrollToPage?: number | undefined;
|
|
1579
1383
|
};
|
|
1580
1384
|
_output_in: typeof _trpc_server.unsetMarker;
|
|
1581
1385
|
_output_out: typeof _trpc_server.unsetMarker;
|
|
1582
1386
|
}, {
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
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
|
+
}>>;
|
|
1588
1403
|
};
|
|
1589
1404
|
isPermissionGranted: {
|
|
1590
1405
|
mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
|
|
@@ -1646,10 +1461,10 @@ declare let client: {
|
|
|
1646
1461
|
} | {
|
|
1647
1462
|
type: "BOXMAN_REQUEST";
|
|
1648
1463
|
appId: string | null | undefined;
|
|
1464
|
+
boxId: string;
|
|
1649
1465
|
rpcMethod: string | null | undefined;
|
|
1650
1466
|
requestId: string | null | undefined;
|
|
1651
1467
|
channelId: string | null | undefined;
|
|
1652
|
-
boxId: string;
|
|
1653
1468
|
platformUserId: string | null | undefined;
|
|
1654
1469
|
isDevelopment: boolean | null;
|
|
1655
1470
|
agent: string | null | undefined;
|
|
@@ -1658,282 +1473,20 @@ declare let client: {
|
|
|
1658
1473
|
};
|
|
1659
1474
|
_input_in: {
|
|
1660
1475
|
userId: string;
|
|
1661
|
-
scope: string;
|
|
1662
1476
|
provider: string;
|
|
1477
|
+
scope: string;
|
|
1663
1478
|
appId?: string | undefined;
|
|
1664
1479
|
};
|
|
1665
1480
|
_input_out: {
|
|
1666
1481
|
userId: string;
|
|
1667
|
-
scope: string;
|
|
1668
1482
|
provider: string;
|
|
1483
|
+
scope: string;
|
|
1669
1484
|
appId?: string | undefined;
|
|
1670
1485
|
};
|
|
1671
1486
|
_output_in: typeof _trpc_server.unsetMarker;
|
|
1672
1487
|
_output_out: typeof _trpc_server.unsetMarker;
|
|
1673
1488
|
}, boolean>>;
|
|
1674
1489
|
};
|
|
1675
|
-
getOAuthConnection: {
|
|
1676
|
-
mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
|
|
1677
|
-
_config: _trpc_server.RootConfig<{
|
|
1678
|
-
ctx: {
|
|
1679
|
-
appId: string;
|
|
1680
|
-
versionId: string;
|
|
1681
|
-
appName: string;
|
|
1682
|
-
appSubdomain: string;
|
|
1683
|
-
userId: string;
|
|
1684
|
-
isTesting: boolean;
|
|
1685
|
-
rpcMethod: string;
|
|
1686
|
-
requestId: string;
|
|
1687
|
-
type?: undefined;
|
|
1688
|
-
dbUrl?: string | null | undefined;
|
|
1689
|
-
userIdActual?: string | null | undefined;
|
|
1690
|
-
channelId?: string | null | undefined;
|
|
1691
|
-
} | {
|
|
1692
|
-
type: "BOXMAN_REQUEST";
|
|
1693
|
-
boxId: string;
|
|
1694
|
-
isDevelopment: boolean | null;
|
|
1695
|
-
appId?: string | null | undefined;
|
|
1696
|
-
rpcMethod?: string | null | undefined;
|
|
1697
|
-
requestId?: string | null | undefined;
|
|
1698
|
-
channelId?: string | null | undefined;
|
|
1699
|
-
platformUserId?: string | null | undefined;
|
|
1700
|
-
agent?: string | null | undefined;
|
|
1701
|
-
sessionId?: string | null | undefined;
|
|
1702
|
-
pushToken?: string | null | undefined;
|
|
1703
|
-
};
|
|
1704
|
-
meta: object;
|
|
1705
|
-
errorShape: {
|
|
1706
|
-
data: {
|
|
1707
|
-
zodError: typeToFlattenedError<any, string> | null;
|
|
1708
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
1709
|
-
httpStatus: number;
|
|
1710
|
-
path?: string;
|
|
1711
|
-
stack?: string;
|
|
1712
|
-
};
|
|
1713
|
-
message: string;
|
|
1714
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
1715
|
-
};
|
|
1716
|
-
transformer: typeof superjson;
|
|
1717
|
-
}>;
|
|
1718
|
-
_meta: object;
|
|
1719
|
-
_ctx_out: {
|
|
1720
|
-
type: undefined;
|
|
1721
|
-
appId: string;
|
|
1722
|
-
versionId: string;
|
|
1723
|
-
dbUrl: string | null | undefined;
|
|
1724
|
-
appName: string;
|
|
1725
|
-
appSubdomain: string;
|
|
1726
|
-
userId: string;
|
|
1727
|
-
userIdActual: string | null | undefined;
|
|
1728
|
-
isTesting: boolean;
|
|
1729
|
-
rpcMethod: string;
|
|
1730
|
-
requestId: string;
|
|
1731
|
-
channelId: string | null | undefined;
|
|
1732
|
-
} | {
|
|
1733
|
-
type: "BOXMAN_REQUEST";
|
|
1734
|
-
appId: string | null | undefined;
|
|
1735
|
-
rpcMethod: string | null | undefined;
|
|
1736
|
-
requestId: string | null | undefined;
|
|
1737
|
-
channelId: string | null | undefined;
|
|
1738
|
-
boxId: string;
|
|
1739
|
-
platformUserId: string | null | undefined;
|
|
1740
|
-
isDevelopment: boolean | null;
|
|
1741
|
-
agent: string | null | undefined;
|
|
1742
|
-
sessionId: string | null | undefined;
|
|
1743
|
-
pushToken: string | null | undefined;
|
|
1744
|
-
};
|
|
1745
|
-
_input_in: {
|
|
1746
|
-
connectionId: string;
|
|
1747
|
-
appId?: string | undefined;
|
|
1748
|
-
};
|
|
1749
|
-
_input_out: {
|
|
1750
|
-
connectionId: string;
|
|
1751
|
-
appId?: string | undefined;
|
|
1752
|
-
};
|
|
1753
|
-
_output_in: typeof _trpc_server.unsetMarker;
|
|
1754
|
-
_output_out: typeof _trpc_server.unsetMarker;
|
|
1755
|
-
}, {
|
|
1756
|
-
id: string;
|
|
1757
|
-
provider: string;
|
|
1758
|
-
userId: string | undefined;
|
|
1759
|
-
scope: string[];
|
|
1760
|
-
}>>;
|
|
1761
|
-
};
|
|
1762
|
-
queryOAuthConnections: {
|
|
1763
|
-
mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
|
|
1764
|
-
_config: _trpc_server.RootConfig<{
|
|
1765
|
-
ctx: {
|
|
1766
|
-
appId: string;
|
|
1767
|
-
versionId: string;
|
|
1768
|
-
appName: string;
|
|
1769
|
-
appSubdomain: string;
|
|
1770
|
-
userId: string;
|
|
1771
|
-
isTesting: boolean;
|
|
1772
|
-
rpcMethod: string;
|
|
1773
|
-
requestId: string;
|
|
1774
|
-
type?: undefined;
|
|
1775
|
-
dbUrl?: string | null | undefined;
|
|
1776
|
-
userIdActual?: string | null | undefined;
|
|
1777
|
-
channelId?: string | null | undefined;
|
|
1778
|
-
} | {
|
|
1779
|
-
type: "BOXMAN_REQUEST";
|
|
1780
|
-
boxId: string;
|
|
1781
|
-
isDevelopment: boolean | null;
|
|
1782
|
-
appId?: string | null | undefined;
|
|
1783
|
-
rpcMethod?: string | null | undefined;
|
|
1784
|
-
requestId?: string | null | undefined;
|
|
1785
|
-
channelId?: string | null | undefined;
|
|
1786
|
-
platformUserId?: string | null | undefined;
|
|
1787
|
-
agent?: string | null | undefined;
|
|
1788
|
-
sessionId?: string | null | undefined;
|
|
1789
|
-
pushToken?: string | null | undefined;
|
|
1790
|
-
};
|
|
1791
|
-
meta: object;
|
|
1792
|
-
errorShape: {
|
|
1793
|
-
data: {
|
|
1794
|
-
zodError: typeToFlattenedError<any, string> | null;
|
|
1795
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
1796
|
-
httpStatus: number;
|
|
1797
|
-
path?: string;
|
|
1798
|
-
stack?: string;
|
|
1799
|
-
};
|
|
1800
|
-
message: string;
|
|
1801
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
1802
|
-
};
|
|
1803
|
-
transformer: typeof superjson;
|
|
1804
|
-
}>;
|
|
1805
|
-
_meta: object;
|
|
1806
|
-
_ctx_out: {
|
|
1807
|
-
type: undefined;
|
|
1808
|
-
appId: string;
|
|
1809
|
-
versionId: string;
|
|
1810
|
-
dbUrl: string | null | undefined;
|
|
1811
|
-
appName: string;
|
|
1812
|
-
appSubdomain: string;
|
|
1813
|
-
userId: string;
|
|
1814
|
-
userIdActual: string | null | undefined;
|
|
1815
|
-
isTesting: boolean;
|
|
1816
|
-
rpcMethod: string;
|
|
1817
|
-
requestId: string;
|
|
1818
|
-
channelId: string | null | undefined;
|
|
1819
|
-
} | {
|
|
1820
|
-
type: "BOXMAN_REQUEST";
|
|
1821
|
-
appId: string | null | undefined;
|
|
1822
|
-
rpcMethod: string | null | undefined;
|
|
1823
|
-
requestId: string | null | undefined;
|
|
1824
|
-
channelId: string | null | undefined;
|
|
1825
|
-
boxId: string;
|
|
1826
|
-
platformUserId: string | null | undefined;
|
|
1827
|
-
isDevelopment: boolean | null;
|
|
1828
|
-
agent: string | null | undefined;
|
|
1829
|
-
sessionId: string | null | undefined;
|
|
1830
|
-
pushToken: string | null | undefined;
|
|
1831
|
-
};
|
|
1832
|
-
_input_in: {
|
|
1833
|
-
appId?: string | undefined;
|
|
1834
|
-
userId?: string | undefined;
|
|
1835
|
-
scope?: string[] | undefined;
|
|
1836
|
-
provider?: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA" | "PLAID" | undefined;
|
|
1837
|
-
};
|
|
1838
|
-
_input_out: {
|
|
1839
|
-
appId?: string | undefined;
|
|
1840
|
-
userId?: string | undefined;
|
|
1841
|
-
scope?: string[] | undefined;
|
|
1842
|
-
provider?: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA" | "PLAID" | undefined;
|
|
1843
|
-
};
|
|
1844
|
-
_output_in: typeof _trpc_server.unsetMarker;
|
|
1845
|
-
_output_out: typeof _trpc_server.unsetMarker;
|
|
1846
|
-
}, {
|
|
1847
|
-
id: string;
|
|
1848
|
-
provider: string;
|
|
1849
|
-
userId: string | undefined;
|
|
1850
|
-
scope: string[];
|
|
1851
|
-
}[]>>;
|
|
1852
|
-
};
|
|
1853
|
-
deleteOAuthConnection: {
|
|
1854
|
-
mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
|
|
1855
|
-
_config: _trpc_server.RootConfig<{
|
|
1856
|
-
ctx: {
|
|
1857
|
-
appId: string;
|
|
1858
|
-
versionId: string;
|
|
1859
|
-
appName: string;
|
|
1860
|
-
appSubdomain: string;
|
|
1861
|
-
userId: string;
|
|
1862
|
-
isTesting: boolean;
|
|
1863
|
-
rpcMethod: string;
|
|
1864
|
-
requestId: string;
|
|
1865
|
-
type?: undefined;
|
|
1866
|
-
dbUrl?: string | null | undefined;
|
|
1867
|
-
userIdActual?: string | null | undefined;
|
|
1868
|
-
channelId?: string | null | undefined;
|
|
1869
|
-
} | {
|
|
1870
|
-
type: "BOXMAN_REQUEST";
|
|
1871
|
-
boxId: string;
|
|
1872
|
-
isDevelopment: boolean | null;
|
|
1873
|
-
appId?: string | null | undefined;
|
|
1874
|
-
rpcMethod?: string | null | undefined;
|
|
1875
|
-
requestId?: string | null | undefined;
|
|
1876
|
-
channelId?: string | null | undefined;
|
|
1877
|
-
platformUserId?: string | null | undefined;
|
|
1878
|
-
agent?: string | null | undefined;
|
|
1879
|
-
sessionId?: string | null | undefined;
|
|
1880
|
-
pushToken?: string | null | undefined;
|
|
1881
|
-
};
|
|
1882
|
-
meta: object;
|
|
1883
|
-
errorShape: {
|
|
1884
|
-
data: {
|
|
1885
|
-
zodError: typeToFlattenedError<any, string> | null;
|
|
1886
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
|
|
1887
|
-
httpStatus: number;
|
|
1888
|
-
path?: string;
|
|
1889
|
-
stack?: string;
|
|
1890
|
-
};
|
|
1891
|
-
message: string;
|
|
1892
|
-
code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
|
|
1893
|
-
};
|
|
1894
|
-
transformer: typeof superjson;
|
|
1895
|
-
}>;
|
|
1896
|
-
_meta: object;
|
|
1897
|
-
_ctx_out: {
|
|
1898
|
-
type: undefined;
|
|
1899
|
-
appId: string;
|
|
1900
|
-
versionId: string;
|
|
1901
|
-
dbUrl: string | null | undefined;
|
|
1902
|
-
appName: string;
|
|
1903
|
-
appSubdomain: string;
|
|
1904
|
-
userId: string;
|
|
1905
|
-
userIdActual: string | null | undefined;
|
|
1906
|
-
isTesting: boolean;
|
|
1907
|
-
rpcMethod: string;
|
|
1908
|
-
requestId: string;
|
|
1909
|
-
channelId: string | null | undefined;
|
|
1910
|
-
} | {
|
|
1911
|
-
type: "BOXMAN_REQUEST";
|
|
1912
|
-
appId: string | null | undefined;
|
|
1913
|
-
rpcMethod: string | null | undefined;
|
|
1914
|
-
requestId: string | null | undefined;
|
|
1915
|
-
channelId: string | null | undefined;
|
|
1916
|
-
boxId: string;
|
|
1917
|
-
platformUserId: string | null | undefined;
|
|
1918
|
-
isDevelopment: boolean | null;
|
|
1919
|
-
agent: string | null | undefined;
|
|
1920
|
-
sessionId: string | null | undefined;
|
|
1921
|
-
pushToken: string | null | undefined;
|
|
1922
|
-
};
|
|
1923
|
-
_input_in: {
|
|
1924
|
-
connectionId: string;
|
|
1925
|
-
appId?: string | undefined;
|
|
1926
|
-
};
|
|
1927
|
-
_input_out: {
|
|
1928
|
-
connectionId: string;
|
|
1929
|
-
appId?: string | undefined;
|
|
1930
|
-
};
|
|
1931
|
-
_output_in: typeof _trpc_server.unsetMarker;
|
|
1932
|
-
_output_out: typeof _trpc_server.unsetMarker;
|
|
1933
|
-
}, {
|
|
1934
|
-
readonly ok: true;
|
|
1935
|
-
}>>;
|
|
1936
|
-
};
|
|
1937
1490
|
searchTheWeb: {
|
|
1938
1491
|
mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
|
|
1939
1492
|
_config: _trpc_server.RootConfig<{
|
|
@@ -1994,10 +1547,10 @@ declare let client: {
|
|
|
1994
1547
|
} | {
|
|
1995
1548
|
type: "BOXMAN_REQUEST";
|
|
1996
1549
|
appId: string | null | undefined;
|
|
1550
|
+
boxId: string;
|
|
1997
1551
|
rpcMethod: string | null | undefined;
|
|
1998
1552
|
requestId: string | null | undefined;
|
|
1999
1553
|
channelId: string | null | undefined;
|
|
2000
|
-
boxId: string;
|
|
2001
1554
|
platformUserId: string | null | undefined;
|
|
2002
1555
|
isDevelopment: boolean | null;
|
|
2003
1556
|
agent: string | null | undefined;
|
|
@@ -2080,10 +1633,10 @@ declare let client: {
|
|
|
2080
1633
|
} | {
|
|
2081
1634
|
type: "BOXMAN_REQUEST";
|
|
2082
1635
|
appId: string | null | undefined;
|
|
1636
|
+
boxId: string;
|
|
2083
1637
|
rpcMethod: string | null | undefined;
|
|
2084
1638
|
requestId: string | null | undefined;
|
|
2085
1639
|
channelId: string | null | undefined;
|
|
2086
|
-
boxId: string;
|
|
2087
1640
|
platformUserId: string | null | undefined;
|
|
2088
1641
|
isDevelopment: boolean | null;
|
|
2089
1642
|
agent: string | null | undefined;
|
|
@@ -2099,13 +1652,13 @@ declare let client: {
|
|
|
2099
1652
|
voice?: "Will" | "Brian" | "George" | "Jessica" | "Liam" | "Alice" | "Sarah" | "Charlotte" | "Matilda" | "Eric" | "Alloy" | "Ash" | "Ballad" | "Coral" | "Echo" | "Fable" | "Nova" | "Onyx" | "Sage" | "Shimmer" | undefined;
|
|
2100
1653
|
};
|
|
2101
1654
|
_output_in: {
|
|
2102
|
-
model: string;
|
|
2103
1655
|
audioUrl: string;
|
|
1656
|
+
model: string;
|
|
2104
1657
|
duration?: number | undefined;
|
|
2105
1658
|
};
|
|
2106
1659
|
_output_out: {
|
|
2107
|
-
model: string;
|
|
2108
1660
|
audioUrl: string;
|
|
1661
|
+
model: string;
|
|
2109
1662
|
duration?: number | undefined;
|
|
2110
1663
|
};
|
|
2111
1664
|
}, unknown>>;
|
|
@@ -2170,10 +1723,10 @@ declare let client: {
|
|
|
2170
1723
|
} | {
|
|
2171
1724
|
type: "BOXMAN_REQUEST";
|
|
2172
1725
|
appId: string | null | undefined;
|
|
1726
|
+
boxId: string;
|
|
2173
1727
|
rpcMethod: string | null | undefined;
|
|
2174
1728
|
requestId: string | null | undefined;
|
|
2175
1729
|
channelId: string | null | undefined;
|
|
2176
|
-
boxId: string;
|
|
2177
1730
|
platformUserId: string | null | undefined;
|
|
2178
1731
|
isDevelopment: boolean | null;
|
|
2179
1732
|
agent: string | null | undefined;
|
|
@@ -2258,10 +1811,10 @@ declare let client: {
|
|
|
2258
1811
|
} | {
|
|
2259
1812
|
type: "BOXMAN_REQUEST";
|
|
2260
1813
|
appId: string | null | undefined;
|
|
1814
|
+
boxId: string;
|
|
2261
1815
|
rpcMethod: string | null | undefined;
|
|
2262
1816
|
requestId: string | null | undefined;
|
|
2263
1817
|
channelId: string | null | undefined;
|
|
2264
|
-
boxId: string;
|
|
2265
1818
|
platformUserId: string | null | undefined;
|
|
2266
1819
|
isDevelopment: boolean | null;
|
|
2267
1820
|
agent: string | null | undefined;
|
|
@@ -2336,10 +1889,10 @@ declare let client: {
|
|
|
2336
1889
|
} | {
|
|
2337
1890
|
type: "BOXMAN_REQUEST";
|
|
2338
1891
|
appId: string | null | undefined;
|
|
1892
|
+
boxId: string;
|
|
2339
1893
|
rpcMethod: string | null | undefined;
|
|
2340
1894
|
requestId: string | null | undefined;
|
|
2341
1895
|
channelId: string | null | undefined;
|
|
2342
|
-
boxId: string;
|
|
2343
1896
|
platformUserId: string | null | undefined;
|
|
2344
1897
|
isDevelopment: boolean | null;
|
|
2345
1898
|
agent: string | null | undefined;
|
|
@@ -2390,7 +1943,7 @@ export declare function startRealtimeResponse<T extends object>(): Promise<{
|
|
|
2390
1943
|
next(data: T): void;
|
|
2391
1944
|
end(): T;
|
|
2392
1945
|
}>;
|
|
2393
|
-
declare function signIn(
|
|
1946
|
+
declare function signIn(_input?: SignInInput): void;
|
|
2394
1947
|
export type AuthStatus = {
|
|
2395
1948
|
status: "authenticated";
|
|
2396
1949
|
userId: string;
|