@adaptive-ai/sdk 0.1.3 → 0.1.5

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.
@@ -121,8 +121,6 @@ declare namespace $Enums {
121
121
  };
122
122
  export type CreditLogType = (typeof CreditLogType)[keyof typeof CreditLogType];
123
123
  }
124
- export type UserTier = $Enums.UserTier;
125
- declare const UserTier: typeof $Enums.UserTier;
126
124
  export type allKeys<T> = T extends any ? keyof T : never;
127
125
  export type typeToFlattenedError<T, U = string> = {
128
126
  formErrors: U[];
@@ -130,24 +128,11 @@ export type typeToFlattenedError<T, U = string> = {
130
128
  [P in allKeys<T>]?: U[];
131
129
  };
132
130
  };
133
- export type VisualModel = {
134
- id: string;
135
- name: string;
136
- speed: string;
137
- strength: string;
138
- cost: number;
139
- thumbnails: {
140
- src: string;
141
- alt: string;
142
- prompt?: string;
143
- }[];
144
- tier: UserTier;
145
- };
146
131
  declare const AuthProvider: {
132
+ readonly AC1: "AC1";
147
133
  readonly GITHUB_USER: "GITHUB_USER";
148
134
  readonly GITHUB_BOT: "GITHUB_BOT";
149
135
  readonly GOOGLE: "GOOGLE";
150
- readonly AC1: "AC1";
151
136
  readonly SLACK: "SLACK";
152
137
  readonly SLACK_BOT: "SLACK_BOT";
153
138
  readonly DISCORD: "DISCORD";
@@ -156,6 +141,7 @@ declare const AuthProvider: {
156
141
  readonly LINKEDIN: "LINKEDIN";
157
142
  readonly YAHOO: "YAHOO";
158
143
  readonly FIGMA: "FIGMA";
144
+ readonly PLAID: "PLAID";
159
145
  };
160
146
  export type AuthProvider = (typeof AuthProvider)[keyof typeof AuthProvider];
161
147
  export type ProviderInput = {
@@ -183,160 +169,6 @@ export interface EmailHandlerInput {
183
169
  fromUserId: string;
184
170
  }
185
171
  declare let client: {
186
- health: {
187
- query: _trpc_client.Resolver<_trpc_server.BuildProcedure<"query", {
188
- _config: _trpc_server.RootConfig<{
189
- ctx: {
190
- appId: string;
191
- versionId: string;
192
- appName: string;
193
- appSubdomain: string;
194
- userId: string;
195
- isTesting: boolean;
196
- rpcMethod: string;
197
- requestId: string;
198
- type?: undefined;
199
- dbUrl?: string | null | undefined;
200
- userIdActual?: string | null | undefined;
201
- channelId?: string | null | undefined;
202
- } | {
203
- type: "BOXMAN_REQUEST";
204
- boxId: string;
205
- isDevelopment: boolean | null;
206
- appId?: string | null | undefined;
207
- rpcMethod?: string | null | undefined;
208
- requestId?: string | null | undefined;
209
- channelId?: string | null | undefined;
210
- platformUserId?: string | null | undefined;
211
- agent?: string | null | undefined;
212
- sessionId?: string | null | undefined;
213
- };
214
- meta: object;
215
- errorShape: {
216
- data: {
217
- zodError: typeToFlattenedError<any, string> | null;
218
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
219
- httpStatus: number;
220
- path?: string;
221
- stack?: string;
222
- };
223
- message: string;
224
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
225
- };
226
- transformer: typeof superjson;
227
- }>;
228
- _meta: object;
229
- _ctx_out: {
230
- type: undefined;
231
- appId: string;
232
- versionId: string;
233
- dbUrl: string | null | undefined;
234
- appName: string;
235
- appSubdomain: string;
236
- userId: string;
237
- userIdActual: string | null | undefined;
238
- isTesting: boolean;
239
- rpcMethod: string;
240
- requestId: string;
241
- channelId: string | null | undefined;
242
- } | {
243
- type: "BOXMAN_REQUEST";
244
- appId: string | null | undefined;
245
- rpcMethod: string | null | undefined;
246
- requestId: string | null | undefined;
247
- channelId: string | null | undefined;
248
- boxId: string;
249
- platformUserId: string | null | undefined;
250
- isDevelopment: boolean | null;
251
- agent: string | null | undefined;
252
- sessionId: string | null | undefined;
253
- };
254
- _input_in: typeof _trpc_server.unsetMarker;
255
- _input_out: typeof _trpc_server.unsetMarker;
256
- _output_in: typeof _trpc_server.unsetMarker;
257
- _output_out: typeof _trpc_server.unsetMarker;
258
- }, {
259
- status: string;
260
- }>>;
261
- };
262
- generateCrossAppToken: {
263
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
264
- _config: _trpc_server.RootConfig<{
265
- ctx: {
266
- appId: string;
267
- versionId: string;
268
- appName: string;
269
- appSubdomain: string;
270
- userId: string;
271
- isTesting: boolean;
272
- rpcMethod: string;
273
- requestId: string;
274
- type?: undefined;
275
- dbUrl?: string | null | undefined;
276
- userIdActual?: string | null | undefined;
277
- channelId?: string | null | undefined;
278
- } | {
279
- type: "BOXMAN_REQUEST";
280
- boxId: string;
281
- isDevelopment: boolean | null;
282
- appId?: string | null | undefined;
283
- rpcMethod?: string | null | undefined;
284
- requestId?: string | null | undefined;
285
- channelId?: string | null | undefined;
286
- platformUserId?: string | null | undefined;
287
- agent?: string | null | undefined;
288
- sessionId?: string | null | undefined;
289
- };
290
- meta: object;
291
- errorShape: {
292
- data: {
293
- zodError: typeToFlattenedError<any, string> | null;
294
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
295
- httpStatus: number;
296
- path?: string;
297
- stack?: string;
298
- };
299
- message: string;
300
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
301
- };
302
- transformer: typeof superjson;
303
- }>;
304
- _meta: object;
305
- _ctx_out: {
306
- type: undefined;
307
- appId: string;
308
- versionId: string;
309
- dbUrl: string | null | undefined;
310
- appName: string;
311
- appSubdomain: string;
312
- userId: string;
313
- userIdActual: string | null | undefined;
314
- isTesting: boolean;
315
- rpcMethod: string;
316
- requestId: string;
317
- channelId: string | null | undefined;
318
- } | {
319
- type: "BOXMAN_REQUEST";
320
- appId: string | null | undefined;
321
- rpcMethod: string | null | undefined;
322
- requestId: string | null | undefined;
323
- channelId: string | null | undefined;
324
- boxId: string;
325
- platformUserId: string | null | undefined;
326
- isDevelopment: boolean | null;
327
- agent: string | null | undefined;
328
- sessionId: string | null | undefined;
329
- };
330
- _input_in: {
331
- appId: string;
332
- };
333
- _input_out: {
334
- appId: string;
335
- };
336
- _output_in: typeof _trpc_server.unsetMarker;
337
- _output_out: typeof _trpc_server.unsetMarker;
338
- }, string>>;
339
- };
340
172
  getCurrentUser: {
341
173
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
342
174
  _config: _trpc_server.RootConfig<{
@@ -364,6 +196,7 @@ declare let client: {
364
196
  platformUserId?: string | null | undefined;
365
197
  agent?: string | null | undefined;
366
198
  sessionId?: string | null | undefined;
199
+ pushToken?: string | null | undefined;
367
200
  };
368
201
  meta: object;
369
202
  errorShape: {
@@ -404,6 +237,7 @@ declare let client: {
404
237
  isDevelopment: boolean | null;
405
238
  agent: string | null | undefined;
406
239
  sessionId: string | null | undefined;
240
+ pushToken: string | null | undefined;
407
241
  };
408
242
  _input_in: {
409
243
  appId?: string | undefined;
@@ -456,6 +290,7 @@ declare let client: {
456
290
  platformUserId?: string | null | undefined;
457
291
  agent?: string | null | undefined;
458
292
  sessionId?: string | null | undefined;
293
+ pushToken?: string | null | undefined;
459
294
  };
460
295
  meta: object;
461
296
  errorShape: {
@@ -496,6 +331,7 @@ declare let client: {
496
331
  isDevelopment: boolean | null;
497
332
  agent: string | null | undefined;
498
333
  sessionId: string | null | undefined;
334
+ pushToken: string | null | undefined;
499
335
  };
500
336
  _input_in: {
501
337
  markdown: string;
@@ -540,6 +376,7 @@ declare let client: {
540
376
  platformUserId?: string | null | undefined;
541
377
  agent?: string | null | undefined;
542
378
  sessionId?: string | null | undefined;
379
+ pushToken?: string | null | undefined;
543
380
  };
544
381
  meta: object;
545
382
  errorShape: {
@@ -580,19 +417,20 @@ declare let client: {
580
417
  isDevelopment: boolean | null;
581
418
  agent: string | null | undefined;
582
419
  sessionId: string | null | undefined;
420
+ pushToken: string | null | undefined;
583
421
  };
584
422
  _input_in: {
585
423
  appId?: string | undefined;
424
+ email?: string | undefined;
586
425
  markdown?: string | undefined;
587
426
  subject?: string | undefined;
588
- email?: string | undefined;
589
427
  unauthenticatedLinks?: boolean | undefined;
590
428
  };
591
429
  _input_out: {
592
430
  appId?: string | undefined;
431
+ email?: string | undefined;
593
432
  markdown?: string | undefined;
594
433
  subject?: string | undefined;
595
- email?: string | undefined;
596
434
  unauthenticatedLinks?: boolean | undefined;
597
435
  };
598
436
  _output_in: typeof _trpc_server.unsetMarker;
@@ -628,6 +466,7 @@ declare let client: {
628
466
  platformUserId?: string | null | undefined;
629
467
  agent?: string | null | undefined;
630
468
  sessionId?: string | null | undefined;
469
+ pushToken?: string | null | undefined;
631
470
  };
632
471
  meta: object;
633
472
  errorShape: {
@@ -668,6 +507,7 @@ declare let client: {
668
507
  isDevelopment: boolean | null;
669
508
  agent: string | null | undefined;
670
509
  sessionId: string | null | undefined;
510
+ pushToken: string | null | undefined;
671
511
  };
672
512
  _input_in: {
673
513
  base64: string;
@@ -708,6 +548,7 @@ declare let client: {
708
548
  platformUserId?: string | null | undefined;
709
549
  agent?: string | null | undefined;
710
550
  sessionId?: string | null | undefined;
551
+ pushToken?: string | null | undefined;
711
552
  };
712
553
  meta: object;
713
554
  errorShape: {
@@ -748,6 +589,7 @@ declare let client: {
748
589
  isDevelopment: boolean | null;
749
590
  agent: string | null | undefined;
750
591
  sessionId: string | null | undefined;
592
+ pushToken: string | null | undefined;
751
593
  };
752
594
  _input_in: {
753
595
  text: string;
@@ -761,9 +603,17 @@ declare let client: {
761
603
  promptInfluence?: number | undefined;
762
604
  loop?: boolean | undefined;
763
605
  };
764
- _output_in: typeof _trpc_server.unsetMarker;
765
- _output_out: typeof _trpc_server.unsetMarker;
766
- }, string>>;
606
+ _output_in: {
607
+ model: string;
608
+ audioUrl: string;
609
+ duration?: number | undefined;
610
+ };
611
+ _output_out: {
612
+ model: string;
613
+ audioUrl: string;
614
+ duration?: number | undefined;
615
+ };
616
+ }, unknown>>;
767
617
  };
768
618
  generateDialogue: {
769
619
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
@@ -792,6 +642,7 @@ declare let client: {
792
642
  platformUserId?: string | null | undefined;
793
643
  agent?: string | null | undefined;
794
644
  sessionId?: string | null | undefined;
645
+ pushToken?: string | null | undefined;
795
646
  };
796
647
  meta: object;
797
648
  errorShape: {
@@ -832,6 +683,7 @@ declare let client: {
832
683
  isDevelopment: boolean | null;
833
684
  agent: string | null | undefined;
834
685
  sessionId: string | null | undefined;
686
+ pushToken: string | null | undefined;
835
687
  };
836
688
  _input_in: {
837
689
  inputs: {
@@ -845,2371 +697,19 @@ declare let client: {
845
697
  character: string;
846
698
  }[];
847
699
  };
848
- _output_in: typeof _trpc_server.unsetMarker;
849
- _output_out: typeof _trpc_server.unsetMarker;
850
- }, {
851
- url: string;
852
- duration: number | undefined;
853
- }>>;
854
- };
855
- generateMusic: {
856
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
857
- _config: _trpc_server.RootConfig<{
858
- ctx: {
859
- appId: string;
860
- versionId: string;
861
- appName: string;
862
- appSubdomain: string;
863
- userId: string;
864
- isTesting: boolean;
865
- rpcMethod: string;
866
- requestId: string;
867
- type?: undefined;
868
- dbUrl?: string | null | undefined;
869
- userIdActual?: string | null | undefined;
870
- channelId?: string | null | undefined;
871
- } | {
872
- type: "BOXMAN_REQUEST";
873
- boxId: string;
874
- isDevelopment: boolean | null;
875
- appId?: string | null | undefined;
876
- rpcMethod?: string | null | undefined;
877
- requestId?: string | null | undefined;
878
- channelId?: string | null | undefined;
879
- platformUserId?: string | null | undefined;
880
- agent?: string | null | undefined;
881
- sessionId?: string | null | undefined;
882
- };
883
- meta: object;
884
- errorShape: {
885
- data: {
886
- zodError: typeToFlattenedError<any, string> | null;
887
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
888
- httpStatus: number;
889
- path?: string;
890
- stack?: string;
891
- };
892
- message: string;
893
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
894
- };
895
- transformer: typeof superjson;
896
- }>;
897
- _meta: object;
898
- _ctx_out: {
899
- type: undefined;
900
- appId: string;
901
- versionId: string;
902
- dbUrl: string | null | undefined;
903
- appName: string;
904
- appSubdomain: string;
905
- userId: string;
906
- userIdActual: string | null | undefined;
907
- isTesting: boolean;
908
- rpcMethod: string;
909
- requestId: string;
910
- channelId: string | null | undefined;
911
- } | {
912
- type: "BOXMAN_REQUEST";
913
- appId: string | null | undefined;
914
- rpcMethod: string | null | undefined;
915
- requestId: string | null | undefined;
916
- channelId: string | null | undefined;
917
- boxId: string;
918
- platformUserId: string | null | undefined;
919
- isDevelopment: boolean | null;
920
- agent: string | null | undefined;
921
- sessionId: string | null | undefined;
922
- };
923
- _input_in: {
924
- text: string;
925
- };
926
- _input_out: {
927
- text: string;
700
+ _output_in: {
701
+ model: string;
702
+ audioUrl: string;
703
+ duration?: number | undefined;
928
704
  };
929
- _output_in: typeof _trpc_server.unsetMarker;
930
- _output_out: typeof _trpc_server.unsetMarker;
931
- }, string>>;
932
- };
933
- extractStructuredDataFromContent: {
934
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
935
- _config: _trpc_server.RootConfig<{
936
- ctx: {
937
- appId: string;
938
- versionId: string;
939
- appName: string;
940
- appSubdomain: string;
941
- userId: string;
942
- isTesting: boolean;
943
- rpcMethod: string;
944
- requestId: string;
945
- type?: undefined;
946
- dbUrl?: string | null | undefined;
947
- userIdActual?: string | null | undefined;
948
- channelId?: string | null | undefined;
949
- } | {
950
- type: "BOXMAN_REQUEST";
951
- boxId: string;
952
- isDevelopment: boolean | null;
953
- appId?: string | null | undefined;
954
- rpcMethod?: string | null | undefined;
955
- requestId?: string | null | undefined;
956
- channelId?: string | null | undefined;
957
- platformUserId?: string | null | undefined;
958
- agent?: string | null | undefined;
959
- sessionId?: string | null | undefined;
960
- };
961
- meta: object;
962
- errorShape: {
963
- data: {
964
- zodError: typeToFlattenedError<any, string> | null;
965
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
966
- httpStatus: number;
967
- path?: string;
968
- stack?: string;
969
- };
970
- message: string;
971
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
972
- };
973
- transformer: typeof superjson;
974
- }>;
975
- _meta: object;
976
- _ctx_out: {
977
- type: undefined;
978
- appId: string;
979
- versionId: string;
980
- dbUrl: string | null | undefined;
981
- appName: string;
982
- appSubdomain: string;
983
- userId: string;
984
- userIdActual: string | null | undefined;
985
- isTesting: boolean;
986
- rpcMethod: string;
987
- requestId: string;
988
- channelId: string | null | undefined;
989
- } | {
990
- type: "BOXMAN_REQUEST";
991
- appId: string | null | undefined;
992
- rpcMethod: string | null | undefined;
993
- requestId: string | null | undefined;
994
- channelId: string | null | undefined;
995
- boxId: string;
996
- platformUserId: string | null | undefined;
997
- isDevelopment: boolean | null;
998
- agent: string | null | undefined;
999
- sessionId: string | null | undefined;
1000
- };
1001
- _input_in: {
1002
- base64?: string | undefined;
1003
- url?: string | undefined;
1004
- schema?: any;
1005
- };
1006
- _input_out: {
1007
- base64?: string | undefined;
1008
- url?: string | undefined;
1009
- schema?: any;
1010
- };
1011
- _output_in: typeof _trpc_server.unsetMarker;
1012
- _output_out: typeof _trpc_server.unsetMarker;
1013
- }, object>>;
1014
- };
1015
- extractTextFromContent: {
1016
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
1017
- _config: _trpc_server.RootConfig<{
1018
- ctx: {
1019
- appId: string;
1020
- versionId: string;
1021
- appName: string;
1022
- appSubdomain: string;
1023
- userId: string;
1024
- isTesting: boolean;
1025
- rpcMethod: string;
1026
- requestId: string;
1027
- type?: undefined;
1028
- dbUrl?: string | null | undefined;
1029
- userIdActual?: string | null | undefined;
1030
- channelId?: string | null | undefined;
1031
- } | {
1032
- type: "BOXMAN_REQUEST";
1033
- boxId: string;
1034
- isDevelopment: boolean | null;
1035
- appId?: string | null | undefined;
1036
- rpcMethod?: string | null | undefined;
1037
- requestId?: string | null | undefined;
1038
- channelId?: string | null | undefined;
1039
- platformUserId?: string | null | undefined;
1040
- agent?: string | null | undefined;
1041
- sessionId?: string | null | undefined;
1042
- };
1043
- meta: object;
1044
- errorShape: {
1045
- data: {
1046
- zodError: typeToFlattenedError<any, string> | null;
1047
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
1048
- httpStatus: number;
1049
- path?: string;
1050
- stack?: string;
1051
- };
1052
- message: string;
1053
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
1054
- };
1055
- transformer: typeof superjson;
1056
- }>;
1057
- _meta: object;
1058
- _ctx_out: {
1059
- type: undefined;
1060
- appId: string;
1061
- versionId: string;
1062
- dbUrl: string | null | undefined;
1063
- appName: string;
1064
- appSubdomain: string;
1065
- userId: string;
1066
- userIdActual: string | null | undefined;
1067
- isTesting: boolean;
1068
- rpcMethod: string;
1069
- requestId: string;
1070
- channelId: string | null | undefined;
1071
- } | {
1072
- type: "BOXMAN_REQUEST";
1073
- appId: string | null | undefined;
1074
- rpcMethod: string | null | undefined;
1075
- requestId: string | null | undefined;
1076
- channelId: string | null | undefined;
1077
- boxId: string;
1078
- platformUserId: string | null | undefined;
1079
- isDevelopment: boolean | null;
1080
- agent: string | null | undefined;
1081
- sessionId: string | null | undefined;
1082
- };
1083
- _input_in: {
1084
- base64?: string | undefined;
1085
- url?: string | undefined;
1086
- outputFormat?: "raw" | "formatted-markdown" | undefined;
1087
- };
1088
- _input_out: {
1089
- base64?: string | undefined;
1090
- url?: string | undefined;
1091
- outputFormat?: "raw" | "formatted-markdown" | undefined;
1092
- };
1093
- _output_in: typeof _trpc_server.unsetMarker;
1094
- _output_out: typeof _trpc_server.unsetMarker;
1095
- }, string>>;
1096
- };
1097
- getTTSVoicesCatalog: {
1098
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
1099
- _config: _trpc_server.RootConfig<{
1100
- ctx: {
1101
- appId: string;
1102
- versionId: string;
1103
- appName: string;
1104
- appSubdomain: string;
1105
- userId: string;
1106
- isTesting: boolean;
1107
- rpcMethod: string;
1108
- requestId: string;
1109
- type?: undefined;
1110
- dbUrl?: string | null | undefined;
1111
- userIdActual?: string | null | undefined;
1112
- channelId?: string | null | undefined;
1113
- } | {
1114
- type: "BOXMAN_REQUEST";
1115
- boxId: string;
1116
- isDevelopment: boolean | null;
1117
- appId?: string | null | undefined;
1118
- rpcMethod?: string | null | undefined;
1119
- requestId?: string | null | undefined;
1120
- channelId?: string | null | undefined;
1121
- platformUserId?: string | null | undefined;
1122
- agent?: string | null | undefined;
1123
- sessionId?: string | null | undefined;
1124
- };
1125
- meta: object;
1126
- errorShape: {
1127
- data: {
1128
- zodError: typeToFlattenedError<any, string> | null;
1129
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
1130
- httpStatus: number;
1131
- path?: string;
1132
- stack?: string;
1133
- };
1134
- message: string;
1135
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
1136
- };
1137
- transformer: typeof superjson;
1138
- }>;
1139
- _meta: object;
1140
- _ctx_out: {
1141
- type: undefined;
1142
- appId: string;
1143
- versionId: string;
1144
- dbUrl: string | null | undefined;
1145
- appName: string;
1146
- appSubdomain: string;
1147
- userId: string;
1148
- userIdActual: string | null | undefined;
1149
- isTesting: boolean;
1150
- rpcMethod: string;
1151
- requestId: string;
1152
- channelId: string | null | undefined;
1153
- } | {
1154
- type: "BOXMAN_REQUEST";
1155
- appId: string | null | undefined;
1156
- rpcMethod: string | null | undefined;
1157
- requestId: string | null | undefined;
1158
- channelId: string | null | undefined;
1159
- boxId: string;
1160
- platformUserId: string | null | undefined;
1161
- isDevelopment: boolean | null;
1162
- agent: string | null | undefined;
1163
- sessionId: string | null | undefined;
1164
- };
1165
- _input_in: {
1166
- limit: number;
1167
- };
1168
- _input_out: {
1169
- limit: number;
1170
- };
1171
- _output_in: typeof _trpc_server.unsetMarker;
1172
- _output_out: typeof _trpc_server.unsetMarker;
1173
- }, {
1174
- id: string;
1175
- name: string;
1176
- description: string;
1177
- previewUrl: string;
1178
- tier: $Enums.UserTier;
1179
- }[]>>;
1180
- };
1181
- getDialogueVoicesCatalog: {
1182
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
1183
- _config: _trpc_server.RootConfig<{
1184
- ctx: {
1185
- appId: string;
1186
- versionId: string;
1187
- appName: string;
1188
- appSubdomain: string;
1189
- userId: string;
1190
- isTesting: boolean;
1191
- rpcMethod: string;
1192
- requestId: string;
1193
- type?: undefined;
1194
- dbUrl?: string | null | undefined;
1195
- userIdActual?: string | null | undefined;
1196
- channelId?: string | null | undefined;
1197
- } | {
1198
- type: "BOXMAN_REQUEST";
1199
- boxId: string;
1200
- isDevelopment: boolean | null;
1201
- appId?: string | null | undefined;
1202
- rpcMethod?: string | null | undefined;
1203
- requestId?: string | null | undefined;
1204
- channelId?: string | null | undefined;
1205
- platformUserId?: string | null | undefined;
1206
- agent?: string | null | undefined;
1207
- sessionId?: string | null | undefined;
1208
- };
1209
- meta: object;
1210
- errorShape: {
1211
- data: {
1212
- zodError: typeToFlattenedError<any, string> | null;
1213
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
1214
- httpStatus: number;
1215
- path?: string;
1216
- stack?: string;
1217
- };
1218
- message: string;
1219
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
1220
- };
1221
- transformer: typeof superjson;
1222
- }>;
1223
- _meta: object;
1224
- _ctx_out: {
1225
- type: undefined;
1226
- appId: string;
1227
- versionId: string;
1228
- dbUrl: string | null | undefined;
1229
- appName: string;
1230
- appSubdomain: string;
1231
- userId: string;
1232
- userIdActual: string | null | undefined;
1233
- isTesting: boolean;
1234
- rpcMethod: string;
1235
- requestId: string;
1236
- channelId: string | null | undefined;
1237
- } | {
1238
- type: "BOXMAN_REQUEST";
1239
- appId: string | null | undefined;
1240
- rpcMethod: string | null | undefined;
1241
- requestId: string | null | undefined;
1242
- channelId: string | null | undefined;
1243
- boxId: string;
1244
- platformUserId: string | null | undefined;
1245
- isDevelopment: boolean | null;
1246
- agent: string | null | undefined;
1247
- sessionId: string | null | undefined;
1248
- };
1249
- _input_in: {
1250
- limit: number;
1251
- };
1252
- _input_out: {
1253
- limit: number;
1254
- };
1255
- _output_in: typeof _trpc_server.unsetMarker;
1256
- _output_out: typeof _trpc_server.unsetMarker;
1257
- }, {
1258
- id: string;
1259
- name: string;
1260
- description: string;
1261
- previewUrl: string;
1262
- tier: $Enums.UserTier;
1263
- }[]>>;
1264
- };
1265
- getImageModelsCatalog: {
1266
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
1267
- _config: _trpc_server.RootConfig<{
1268
- ctx: {
1269
- appId: string;
1270
- versionId: string;
1271
- appName: string;
1272
- appSubdomain: string;
1273
- userId: string;
1274
- isTesting: boolean;
1275
- rpcMethod: string;
1276
- requestId: string;
1277
- type?: undefined;
1278
- dbUrl?: string | null | undefined;
1279
- userIdActual?: string | null | undefined;
1280
- channelId?: string | null | undefined;
1281
- } | {
1282
- type: "BOXMAN_REQUEST";
1283
- boxId: string;
1284
- isDevelopment: boolean | null;
1285
- appId?: string | null | undefined;
1286
- rpcMethod?: string | null | undefined;
1287
- requestId?: string | null | undefined;
1288
- channelId?: string | null | undefined;
1289
- platformUserId?: string | null | undefined;
1290
- agent?: string | null | undefined;
1291
- sessionId?: string | null | undefined;
1292
- };
1293
- meta: object;
1294
- errorShape: {
1295
- data: {
1296
- zodError: typeToFlattenedError<any, string> | null;
1297
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
1298
- httpStatus: number;
1299
- path?: string;
1300
- stack?: string;
1301
- };
1302
- message: string;
1303
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
1304
- };
1305
- transformer: typeof superjson;
1306
- }>;
1307
- _meta: object;
1308
- _ctx_out: {
1309
- type: undefined;
1310
- appId: string;
1311
- versionId: string;
1312
- dbUrl: string | null | undefined;
1313
- appName: string;
1314
- appSubdomain: string;
1315
- userId: string;
1316
- userIdActual: string | null | undefined;
1317
- isTesting: boolean;
1318
- rpcMethod: string;
1319
- requestId: string;
1320
- channelId: string | null | undefined;
1321
- } | {
1322
- type: "BOXMAN_REQUEST";
1323
- appId: string | null | undefined;
1324
- rpcMethod: string | null | undefined;
1325
- requestId: string | null | undefined;
1326
- channelId: string | null | undefined;
1327
- boxId: string;
1328
- platformUserId: string | null | undefined;
1329
- isDevelopment: boolean | null;
1330
- agent: string | null | undefined;
1331
- sessionId: string | null | undefined;
1332
- };
1333
- _input_in: {
1334
- limit: number;
1335
- };
1336
- _input_out: {
1337
- limit: number;
1338
- };
1339
- _output_in: typeof _trpc_server.unsetMarker;
1340
- _output_out: typeof _trpc_server.unsetMarker;
1341
- }, VisualModel[]>>;
1342
- };
1343
- createProduct: {
1344
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
1345
- _config: _trpc_server.RootConfig<{
1346
- ctx: {
1347
- appId: string;
1348
- versionId: string;
1349
- appName: string;
1350
- appSubdomain: string;
1351
- userId: string;
1352
- isTesting: boolean;
1353
- rpcMethod: string;
1354
- requestId: string;
1355
- type?: undefined;
1356
- dbUrl?: string | null | undefined;
1357
- userIdActual?: string | null | undefined;
1358
- channelId?: string | null | undefined;
1359
- } | {
1360
- type: "BOXMAN_REQUEST";
1361
- boxId: string;
1362
- isDevelopment: boolean | null;
1363
- appId?: string | null | undefined;
1364
- rpcMethod?: string | null | undefined;
1365
- requestId?: string | null | undefined;
1366
- channelId?: string | null | undefined;
1367
- platformUserId?: string | null | undefined;
1368
- agent?: string | null | undefined;
1369
- sessionId?: string | null | undefined;
1370
- };
1371
- meta: object;
1372
- errorShape: {
1373
- data: {
1374
- zodError: typeToFlattenedError<any, string> | null;
1375
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
1376
- httpStatus: number;
1377
- path?: string;
1378
- stack?: string;
1379
- };
1380
- message: string;
1381
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
1382
- };
1383
- transformer: typeof superjson;
1384
- }>;
1385
- _meta: object;
1386
- _ctx_out: {
1387
- type: undefined;
1388
- appId: string;
1389
- versionId: string;
1390
- dbUrl: string | null | undefined;
1391
- appName: string;
1392
- appSubdomain: string;
1393
- userId: string;
1394
- userIdActual: string | null | undefined;
1395
- isTesting: boolean;
1396
- rpcMethod: string;
1397
- requestId: string;
1398
- channelId: string | null | undefined;
1399
- } | {
1400
- type: "BOXMAN_REQUEST";
1401
- appId: string | null | undefined;
1402
- rpcMethod: string | null | undefined;
1403
- requestId: string | null | undefined;
1404
- channelId: string | null | undefined;
1405
- boxId: string;
1406
- platformUserId: string | null | undefined;
1407
- isDevelopment: boolean | null;
1408
- agent: string | null | undefined;
1409
- sessionId: string | null | undefined;
1410
- };
1411
- _input_in: {
1412
- name: string;
1413
- kind: "IN_APP_PURCHASE" | "SUBSCRIPTION";
1414
- description: string;
1415
- price: number;
1416
- appId?: string | undefined;
1417
- };
1418
- _input_out: {
1419
- name: string;
1420
- kind: "IN_APP_PURCHASE" | "SUBSCRIPTION";
1421
- description: string;
1422
- price: number;
1423
- appId?: string | undefined;
1424
- };
1425
- _output_in: typeof _trpc_server.unsetMarker;
1426
- _output_out: typeof _trpc_server.unsetMarker;
1427
- }, {
1428
- purchaseLink: string;
1429
- id: string;
1430
- name: string;
1431
- kind: $Enums.ProductKind;
1432
- description: string;
1433
- price: number;
1434
- }>>;
1435
- };
1436
- listProducts: {
1437
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
1438
- _config: _trpc_server.RootConfig<{
1439
- ctx: {
1440
- appId: string;
1441
- versionId: string;
1442
- appName: string;
1443
- appSubdomain: string;
1444
- userId: string;
1445
- isTesting: boolean;
1446
- rpcMethod: string;
1447
- requestId: string;
1448
- type?: undefined;
1449
- dbUrl?: string | null | undefined;
1450
- userIdActual?: string | null | undefined;
1451
- channelId?: string | null | undefined;
1452
- } | {
1453
- type: "BOXMAN_REQUEST";
1454
- boxId: string;
1455
- isDevelopment: boolean | null;
1456
- appId?: string | null | undefined;
1457
- rpcMethod?: string | null | undefined;
1458
- requestId?: string | null | undefined;
1459
- channelId?: string | null | undefined;
1460
- platformUserId?: string | null | undefined;
1461
- agent?: string | null | undefined;
1462
- sessionId?: string | null | undefined;
1463
- };
1464
- meta: object;
1465
- errorShape: {
1466
- data: {
1467
- zodError: typeToFlattenedError<any, string> | null;
1468
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
1469
- httpStatus: number;
1470
- path?: string;
1471
- stack?: string;
1472
- };
1473
- message: string;
1474
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
1475
- };
1476
- transformer: typeof superjson;
1477
- }>;
1478
- _meta: object;
1479
- _ctx_out: {
1480
- type: undefined;
1481
- appId: string;
1482
- versionId: string;
1483
- dbUrl: string | null | undefined;
1484
- appName: string;
1485
- appSubdomain: string;
1486
- userId: string;
1487
- userIdActual: string | null | undefined;
1488
- isTesting: boolean;
1489
- rpcMethod: string;
1490
- requestId: string;
1491
- channelId: string | null | undefined;
1492
- } | {
1493
- type: "BOXMAN_REQUEST";
1494
- appId: string | null | undefined;
1495
- rpcMethod: string | null | undefined;
1496
- requestId: string | null | undefined;
1497
- channelId: string | null | undefined;
1498
- boxId: string;
1499
- platformUserId: string | null | undefined;
1500
- isDevelopment: boolean | null;
1501
- agent: string | null | undefined;
1502
- sessionId: string | null | undefined;
1503
- };
1504
- _input_in: {
1505
- appId?: string | undefined;
1506
- } | undefined;
1507
- _input_out: {
1508
- appId?: string | undefined;
1509
- } | undefined;
1510
- _output_in: typeof _trpc_server.unsetMarker;
1511
- _output_out: typeof _trpc_server.unsetMarker;
1512
- }, {
1513
- purchaseLink: string;
1514
- id: string;
1515
- name: string;
1516
- kind: $Enums.ProductKind;
1517
- description: string;
1518
- price: number;
1519
- }[]>>;
1520
- };
1521
- listUserPurchases: {
1522
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
1523
- _config: _trpc_server.RootConfig<{
1524
- ctx: {
1525
- appId: string;
1526
- versionId: string;
1527
- appName: string;
1528
- appSubdomain: string;
1529
- userId: string;
1530
- isTesting: boolean;
1531
- rpcMethod: string;
1532
- requestId: string;
1533
- type?: undefined;
1534
- dbUrl?: string | null | undefined;
1535
- userIdActual?: string | null | undefined;
1536
- channelId?: string | null | undefined;
1537
- } | {
1538
- type: "BOXMAN_REQUEST";
1539
- boxId: string;
1540
- isDevelopment: boolean | null;
1541
- appId?: string | null | undefined;
1542
- rpcMethod?: string | null | undefined;
1543
- requestId?: string | null | undefined;
1544
- channelId?: string | null | undefined;
1545
- platformUserId?: string | null | undefined;
1546
- agent?: string | null | undefined;
1547
- sessionId?: string | null | undefined;
1548
- };
1549
- meta: object;
1550
- errorShape: {
1551
- data: {
1552
- zodError: typeToFlattenedError<any, string> | null;
1553
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
1554
- httpStatus: number;
1555
- path?: string;
1556
- stack?: string;
1557
- };
1558
- message: string;
1559
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
1560
- };
1561
- transformer: typeof superjson;
1562
- }>;
1563
- _meta: object;
1564
- _ctx_out: {
1565
- type: undefined;
1566
- appId: string;
1567
- versionId: string;
1568
- dbUrl: string | null | undefined;
1569
- appName: string;
1570
- appSubdomain: string;
1571
- userId: string;
1572
- userIdActual: string | null | undefined;
1573
- isTesting: boolean;
1574
- rpcMethod: string;
1575
- requestId: string;
1576
- channelId: string | null | undefined;
1577
- } | {
1578
- type: "BOXMAN_REQUEST";
1579
- appId: string | null | undefined;
1580
- rpcMethod: string | null | undefined;
1581
- requestId: string | null | undefined;
1582
- channelId: string | null | undefined;
1583
- boxId: string;
1584
- platformUserId: string | null | undefined;
1585
- isDevelopment: boolean | null;
1586
- agent: string | null | undefined;
1587
- sessionId: string | null | undefined;
1588
- };
1589
- _input_in: {
1590
- appId?: string | undefined;
1591
- userId?: string | undefined;
1592
- } | undefined;
1593
- _input_out: {
1594
- appId?: string | undefined;
1595
- userId?: string | undefined;
1596
- } | undefined;
1597
- _output_in: typeof _trpc_server.unsetMarker;
1598
- _output_out: typeof _trpc_server.unsetMarker;
1599
- }, {
1600
- id: string;
1601
- name: string;
1602
- kind: $Enums.ProductKind;
1603
- description: string;
1604
- price: number;
1605
- }[]>>;
1606
- };
1607
- discontinueProduct: {
1608
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
1609
- _config: _trpc_server.RootConfig<{
1610
- ctx: {
1611
- appId: string;
1612
- versionId: string;
1613
- appName: string;
1614
- appSubdomain: string;
1615
- userId: string;
1616
- isTesting: boolean;
1617
- rpcMethod: string;
1618
- requestId: string;
1619
- type?: undefined;
1620
- dbUrl?: string | null | undefined;
1621
- userIdActual?: string | null | undefined;
1622
- channelId?: string | null | undefined;
1623
- } | {
1624
- type: "BOXMAN_REQUEST";
1625
- boxId: string;
1626
- isDevelopment: boolean | null;
1627
- appId?: string | null | undefined;
1628
- rpcMethod?: string | null | undefined;
1629
- requestId?: string | null | undefined;
1630
- channelId?: string | null | undefined;
1631
- platformUserId?: string | null | undefined;
1632
- agent?: string | null | undefined;
1633
- sessionId?: string | null | undefined;
1634
- };
1635
- meta: object;
1636
- errorShape: {
1637
- data: {
1638
- zodError: typeToFlattenedError<any, string> | null;
1639
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
1640
- httpStatus: number;
1641
- path?: string;
1642
- stack?: string;
1643
- };
1644
- message: string;
1645
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
1646
- };
1647
- transformer: typeof superjson;
1648
- }>;
1649
- _meta: object;
1650
- _ctx_out: {
1651
- type: undefined;
1652
- appId: string;
1653
- versionId: string;
1654
- dbUrl: string | null | undefined;
1655
- appName: string;
1656
- appSubdomain: string;
1657
- userId: string;
1658
- userIdActual: string | null | undefined;
1659
- isTesting: boolean;
1660
- rpcMethod: string;
1661
- requestId: string;
1662
- channelId: string | null | undefined;
1663
- } | {
1664
- type: "BOXMAN_REQUEST";
1665
- appId: string | null | undefined;
1666
- rpcMethod: string | null | undefined;
1667
- requestId: string | null | undefined;
1668
- channelId: string | null | undefined;
1669
- boxId: string;
1670
- platformUserId: string | null | undefined;
1671
- isDevelopment: boolean | null;
1672
- agent: string | null | undefined;
1673
- sessionId: string | null | undefined;
1674
- };
1675
- _input_in: {
1676
- productId: string;
1677
- appId?: string | undefined;
1678
- };
1679
- _input_out: {
1680
- productId: string;
1681
- appId?: string | undefined;
1682
- };
1683
- _output_in: typeof _trpc_server.unsetMarker;
1684
- _output_out: typeof _trpc_server.unsetMarker;
1685
- }, void>>;
1686
- };
1687
- getOAuthToken: {
1688
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
1689
- _config: _trpc_server.RootConfig<{
1690
- ctx: {
1691
- appId: string;
1692
- versionId: string;
1693
- appName: string;
1694
- appSubdomain: string;
1695
- userId: string;
1696
- isTesting: boolean;
1697
- rpcMethod: string;
1698
- requestId: string;
1699
- type?: undefined;
1700
- dbUrl?: string | null | undefined;
1701
- userIdActual?: string | null | undefined;
1702
- channelId?: string | null | undefined;
1703
- } | {
1704
- type: "BOXMAN_REQUEST";
1705
- boxId: string;
1706
- isDevelopment: boolean | null;
1707
- appId?: string | null | undefined;
1708
- rpcMethod?: string | null | undefined;
1709
- requestId?: string | null | undefined;
1710
- channelId?: string | null | undefined;
1711
- platformUserId?: string | null | undefined;
1712
- agent?: string | null | undefined;
1713
- sessionId?: string | null | undefined;
1714
- };
1715
- meta: object;
1716
- errorShape: {
1717
- data: {
1718
- zodError: typeToFlattenedError<any, string> | null;
1719
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
1720
- httpStatus: number;
1721
- path?: string;
1722
- stack?: string;
1723
- };
1724
- message: string;
1725
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
1726
- };
1727
- transformer: typeof superjson;
1728
- }>;
1729
- _meta: object;
1730
- _ctx_out: {
1731
- type: undefined;
1732
- appId: string;
1733
- versionId: string;
1734
- dbUrl: string | null | undefined;
1735
- appName: string;
1736
- appSubdomain: string;
1737
- userId: string;
1738
- userIdActual: string | null | undefined;
1739
- isTesting: boolean;
1740
- rpcMethod: string;
1741
- requestId: string;
1742
- channelId: string | null | undefined;
1743
- } | {
1744
- type: "BOXMAN_REQUEST";
1745
- appId: string | null | undefined;
1746
- rpcMethod: string | null | undefined;
1747
- requestId: string | null | undefined;
1748
- channelId: string | null | undefined;
1749
- boxId: string;
1750
- platformUserId: string | null | undefined;
1751
- isDevelopment: boolean | null;
1752
- agent: string | null | undefined;
1753
- sessionId: string | null | undefined;
1754
- };
1755
- _input_in: {
1756
- connectionId: string;
1757
- appId?: string | undefined;
1758
- };
1759
- _input_out: {
1760
- connectionId: string;
1761
- appId?: string | undefined;
1762
- };
1763
- _output_in: typeof _trpc_server.unsetMarker;
1764
- _output_out: typeof _trpc_server.unsetMarker;
1765
- }, {
1766
- connectionId: string;
1767
- userId: string | null;
1768
- accessToken: string | null;
1769
- expiresAt: Date | null;
1770
- scope: string[];
1771
- }>>;
1772
- };
1773
- getOAuthConnectionForCurrentUser: {
1774
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
1775
- _config: _trpc_server.RootConfig<{
1776
- ctx: {
1777
- appId: string;
1778
- versionId: string;
1779
- appName: string;
1780
- appSubdomain: string;
1781
- userId: string;
1782
- isTesting: boolean;
1783
- rpcMethod: string;
1784
- requestId: string;
1785
- type?: undefined;
1786
- dbUrl?: string | null | undefined;
1787
- userIdActual?: string | null | undefined;
1788
- channelId?: string | null | undefined;
1789
- } | {
1790
- type: "BOXMAN_REQUEST";
1791
- boxId: string;
1792
- isDevelopment: boolean | null;
1793
- appId?: string | null | undefined;
1794
- rpcMethod?: string | null | undefined;
1795
- requestId?: string | null | undefined;
1796
- channelId?: string | null | undefined;
1797
- platformUserId?: string | null | undefined;
1798
- agent?: string | null | undefined;
1799
- sessionId?: string | null | undefined;
1800
- };
1801
- meta: object;
1802
- errorShape: {
1803
- data: {
1804
- zodError: typeToFlattenedError<any, string> | null;
1805
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
1806
- httpStatus: number;
1807
- path?: string;
1808
- stack?: string;
1809
- };
1810
- message: string;
1811
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
1812
- };
1813
- transformer: typeof superjson;
1814
- }>;
1815
- _meta: object;
1816
- _ctx_out: {
1817
- type: undefined;
1818
- appId: string;
1819
- versionId: string;
1820
- dbUrl: string | null | undefined;
1821
- appName: string;
1822
- appSubdomain: string;
1823
- userId: string;
1824
- userIdActual: string | null | undefined;
1825
- isTesting: boolean;
1826
- rpcMethod: string;
1827
- requestId: string;
1828
- channelId: string | null | undefined;
1829
- } | {
1830
- type: "BOXMAN_REQUEST";
1831
- appId: string | null | undefined;
1832
- rpcMethod: string | null | undefined;
1833
- requestId: string | null | undefined;
1834
- channelId: string | null | undefined;
1835
- boxId: string;
1836
- platformUserId: string | null | undefined;
1837
- isDevelopment: boolean | null;
1838
- agent: string | null | undefined;
1839
- sessionId: string | null | undefined;
1840
- };
1841
- _input_in: {
1842
- scope: string[];
1843
- provider: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "AC1" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA";
1844
- appId?: string | undefined;
1845
- required?: boolean | undefined;
1846
- };
1847
- _input_out: {
1848
- scope: string[];
1849
- provider: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "AC1" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA";
1850
- appId?: string | undefined;
1851
- required?: boolean | undefined;
1852
- };
1853
- _output_in: typeof _trpc_server.unsetMarker;
1854
- _output_out: typeof _trpc_server.unsetMarker;
1855
- }, {
1856
- id: string;
1857
- provider: string;
1858
- userId: string | undefined;
1859
- scope: string[];
1860
- } | null>>;
1861
- };
1862
- isPermissionGranted: {
1863
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
1864
- _config: _trpc_server.RootConfig<{
1865
- ctx: {
1866
- appId: string;
1867
- versionId: string;
1868
- appName: string;
1869
- appSubdomain: string;
1870
- userId: string;
1871
- isTesting: boolean;
1872
- rpcMethod: string;
1873
- requestId: string;
1874
- type?: undefined;
1875
- dbUrl?: string | null | undefined;
1876
- userIdActual?: string | null | undefined;
1877
- channelId?: string | null | undefined;
1878
- } | {
1879
- type: "BOXMAN_REQUEST";
1880
- boxId: string;
1881
- isDevelopment: boolean | null;
1882
- appId?: string | null | undefined;
1883
- rpcMethod?: string | null | undefined;
1884
- requestId?: string | null | undefined;
1885
- channelId?: string | null | undefined;
1886
- platformUserId?: string | null | undefined;
1887
- agent?: string | null | undefined;
1888
- sessionId?: string | null | undefined;
1889
- };
1890
- meta: object;
1891
- errorShape: {
1892
- data: {
1893
- zodError: typeToFlattenedError<any, string> | null;
1894
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
1895
- httpStatus: number;
1896
- path?: string;
1897
- stack?: string;
1898
- };
1899
- message: string;
1900
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
1901
- };
1902
- transformer: typeof superjson;
1903
- }>;
1904
- _meta: object;
1905
- _ctx_out: {
1906
- type: undefined;
1907
- appId: string;
1908
- versionId: string;
1909
- dbUrl: string | null | undefined;
1910
- appName: string;
1911
- appSubdomain: string;
1912
- userId: string;
1913
- userIdActual: string | null | undefined;
1914
- isTesting: boolean;
1915
- rpcMethod: string;
1916
- requestId: string;
1917
- channelId: string | null | undefined;
1918
- } | {
1919
- type: "BOXMAN_REQUEST";
1920
- appId: string | null | undefined;
1921
- rpcMethod: string | null | undefined;
1922
- requestId: string | null | undefined;
1923
- channelId: string | null | undefined;
1924
- boxId: string;
1925
- platformUserId: string | null | undefined;
1926
- isDevelopment: boolean | null;
1927
- agent: string | null | undefined;
1928
- sessionId: string | null | undefined;
1929
- };
1930
- _input_in: {
1931
- userId: string;
1932
- scope: string;
1933
- provider: string;
1934
- appId?: string | undefined;
1935
- };
1936
- _input_out: {
1937
- userId: string;
1938
- scope: string;
1939
- provider: string;
1940
- appId?: string | undefined;
1941
- };
1942
- _output_in: typeof _trpc_server.unsetMarker;
1943
- _output_out: typeof _trpc_server.unsetMarker;
1944
- }, boolean>>;
1945
- };
1946
- getOAuthConnection: {
1947
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
1948
- _config: _trpc_server.RootConfig<{
1949
- ctx: {
1950
- appId: string;
1951
- versionId: string;
1952
- appName: string;
1953
- appSubdomain: string;
1954
- userId: string;
1955
- isTesting: boolean;
1956
- rpcMethod: string;
1957
- requestId: string;
1958
- type?: undefined;
1959
- dbUrl?: string | null | undefined;
1960
- userIdActual?: string | null | undefined;
1961
- channelId?: string | null | undefined;
1962
- } | {
1963
- type: "BOXMAN_REQUEST";
1964
- boxId: string;
1965
- isDevelopment: boolean | null;
1966
- appId?: string | null | undefined;
1967
- rpcMethod?: string | null | undefined;
1968
- requestId?: string | null | undefined;
1969
- channelId?: string | null | undefined;
1970
- platformUserId?: string | null | undefined;
1971
- agent?: string | null | undefined;
1972
- sessionId?: string | null | undefined;
1973
- };
1974
- meta: object;
1975
- errorShape: {
1976
- data: {
1977
- zodError: typeToFlattenedError<any, string> | null;
1978
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
1979
- httpStatus: number;
1980
- path?: string;
1981
- stack?: string;
1982
- };
1983
- message: string;
1984
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
1985
- };
1986
- transformer: typeof superjson;
1987
- }>;
1988
- _meta: object;
1989
- _ctx_out: {
1990
- type: undefined;
1991
- appId: string;
1992
- versionId: string;
1993
- dbUrl: string | null | undefined;
1994
- appName: string;
1995
- appSubdomain: string;
1996
- userId: string;
1997
- userIdActual: string | null | undefined;
1998
- isTesting: boolean;
1999
- rpcMethod: string;
2000
- requestId: string;
2001
- channelId: string | null | undefined;
2002
- } | {
2003
- type: "BOXMAN_REQUEST";
2004
- appId: string | null | undefined;
2005
- rpcMethod: string | null | undefined;
2006
- requestId: string | null | undefined;
2007
- channelId: string | null | undefined;
2008
- boxId: string;
2009
- platformUserId: string | null | undefined;
2010
- isDevelopment: boolean | null;
2011
- agent: string | null | undefined;
2012
- sessionId: string | null | undefined;
2013
- };
2014
- _input_in: {
2015
- connectionId: string;
2016
- appId?: string | undefined;
2017
- };
2018
- _input_out: {
2019
- connectionId: string;
2020
- appId?: string | undefined;
2021
- };
2022
- _output_in: typeof _trpc_server.unsetMarker;
2023
- _output_out: typeof _trpc_server.unsetMarker;
2024
- }, {
2025
- id: string;
2026
- provider: string;
2027
- userId: string | undefined;
2028
- scope: string[];
2029
- }>>;
2030
- };
2031
- queryOAuthConnections: {
2032
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
2033
- _config: _trpc_server.RootConfig<{
2034
- ctx: {
2035
- appId: string;
2036
- versionId: string;
2037
- appName: string;
2038
- appSubdomain: string;
2039
- userId: string;
2040
- isTesting: boolean;
2041
- rpcMethod: string;
2042
- requestId: string;
2043
- type?: undefined;
2044
- dbUrl?: string | null | undefined;
2045
- userIdActual?: string | null | undefined;
2046
- channelId?: string | null | undefined;
2047
- } | {
2048
- type: "BOXMAN_REQUEST";
2049
- boxId: string;
2050
- isDevelopment: boolean | null;
2051
- appId?: string | null | undefined;
2052
- rpcMethod?: string | null | undefined;
2053
- requestId?: string | null | undefined;
2054
- channelId?: string | null | undefined;
2055
- platformUserId?: string | null | undefined;
2056
- agent?: string | null | undefined;
2057
- sessionId?: string | null | undefined;
2058
- };
2059
- meta: object;
2060
- errorShape: {
2061
- data: {
2062
- zodError: typeToFlattenedError<any, string> | null;
2063
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2064
- httpStatus: number;
2065
- path?: string;
2066
- stack?: string;
2067
- };
2068
- message: string;
2069
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2070
- };
2071
- transformer: typeof superjson;
2072
- }>;
2073
- _meta: object;
2074
- _ctx_out: {
2075
- type: undefined;
2076
- appId: string;
2077
- versionId: string;
2078
- dbUrl: string | null | undefined;
2079
- appName: string;
2080
- appSubdomain: string;
2081
- userId: string;
2082
- userIdActual: string | null | undefined;
2083
- isTesting: boolean;
2084
- rpcMethod: string;
2085
- requestId: string;
2086
- channelId: string | null | undefined;
2087
- } | {
2088
- type: "BOXMAN_REQUEST";
2089
- appId: string | null | undefined;
2090
- rpcMethod: string | null | undefined;
2091
- requestId: string | null | undefined;
2092
- channelId: string | null | undefined;
2093
- boxId: string;
2094
- platformUserId: string | null | undefined;
2095
- isDevelopment: boolean | null;
2096
- agent: string | null | undefined;
2097
- sessionId: string | null | undefined;
2098
- };
2099
- _input_in: {
2100
- appId?: string | undefined;
2101
- userId?: string | undefined;
2102
- scope?: string[] | undefined;
2103
- provider?: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "AC1" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA" | undefined;
2104
- };
2105
- _input_out: {
2106
- appId?: string | undefined;
2107
- userId?: string | undefined;
2108
- scope?: string[] | undefined;
2109
- provider?: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "AC1" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA" | undefined;
2110
- };
2111
- _output_in: typeof _trpc_server.unsetMarker;
2112
- _output_out: typeof _trpc_server.unsetMarker;
2113
- }, {
2114
- id: string;
2115
- provider: string;
2116
- userId: string | undefined;
2117
- scope: string[];
2118
- }[]>>;
2119
- };
2120
- deleteOAuthConnection: {
2121
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
2122
- _config: _trpc_server.RootConfig<{
2123
- ctx: {
2124
- appId: string;
2125
- versionId: string;
2126
- appName: string;
2127
- appSubdomain: string;
2128
- userId: string;
2129
- isTesting: boolean;
2130
- rpcMethod: string;
2131
- requestId: string;
2132
- type?: undefined;
2133
- dbUrl?: string | null | undefined;
2134
- userIdActual?: string | null | undefined;
2135
- channelId?: string | null | undefined;
2136
- } | {
2137
- type: "BOXMAN_REQUEST";
2138
- boxId: string;
2139
- isDevelopment: boolean | null;
2140
- appId?: string | null | undefined;
2141
- rpcMethod?: string | null | undefined;
2142
- requestId?: string | null | undefined;
2143
- channelId?: string | null | undefined;
2144
- platformUserId?: string | null | undefined;
2145
- agent?: string | null | undefined;
2146
- sessionId?: string | null | undefined;
2147
- };
2148
- meta: object;
2149
- errorShape: {
2150
- data: {
2151
- zodError: typeToFlattenedError<any, string> | null;
2152
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2153
- httpStatus: number;
2154
- path?: string;
2155
- stack?: string;
2156
- };
2157
- message: string;
2158
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2159
- };
2160
- transformer: typeof superjson;
2161
- }>;
2162
- _meta: object;
2163
- _ctx_out: {
2164
- type: undefined;
2165
- appId: string;
2166
- versionId: string;
2167
- dbUrl: string | null | undefined;
2168
- appName: string;
2169
- appSubdomain: string;
2170
- userId: string;
2171
- userIdActual: string | null | undefined;
2172
- isTesting: boolean;
2173
- rpcMethod: string;
2174
- requestId: string;
2175
- channelId: string | null | undefined;
2176
- } | {
2177
- type: "BOXMAN_REQUEST";
2178
- appId: string | null | undefined;
2179
- rpcMethod: string | null | undefined;
2180
- requestId: string | null | undefined;
2181
- channelId: string | null | undefined;
2182
- boxId: string;
2183
- platformUserId: string | null | undefined;
2184
- isDevelopment: boolean | null;
2185
- agent: string | null | undefined;
2186
- sessionId: string | null | undefined;
2187
- };
2188
- _input_in: {
2189
- connectionId: string;
2190
- appId?: string | undefined;
2191
- };
2192
- _input_out: {
2193
- connectionId: string;
2194
- appId?: string | undefined;
2195
- };
2196
- _output_in: typeof _trpc_server.unsetMarker;
2197
- _output_out: typeof _trpc_server.unsetMarker;
2198
- }, {
2199
- readonly ok: true;
2200
- }>>;
2201
- };
2202
- getAppInfo: {
2203
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
2204
- _config: _trpc_server.RootConfig<{
2205
- ctx: {
2206
- appId: string;
2207
- versionId: string;
2208
- appName: string;
2209
- appSubdomain: string;
2210
- userId: string;
2211
- isTesting: boolean;
2212
- rpcMethod: string;
2213
- requestId: string;
2214
- type?: undefined;
2215
- dbUrl?: string | null | undefined;
2216
- userIdActual?: string | null | undefined;
2217
- channelId?: string | null | undefined;
2218
- } | {
2219
- type: "BOXMAN_REQUEST";
2220
- boxId: string;
2221
- isDevelopment: boolean | null;
2222
- appId?: string | null | undefined;
2223
- rpcMethod?: string | null | undefined;
2224
- requestId?: string | null | undefined;
2225
- channelId?: string | null | undefined;
2226
- platformUserId?: string | null | undefined;
2227
- agent?: string | null | undefined;
2228
- sessionId?: string | null | undefined;
2229
- };
2230
- meta: object;
2231
- errorShape: {
2232
- data: {
2233
- zodError: typeToFlattenedError<any, string> | null;
2234
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2235
- httpStatus: number;
2236
- path?: string;
2237
- stack?: string;
2238
- };
2239
- message: string;
2240
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2241
- };
2242
- transformer: typeof superjson;
2243
- }>;
2244
- _meta: object;
2245
- _ctx_out: {
2246
- type: undefined;
2247
- appId: string;
2248
- versionId: string;
2249
- dbUrl: string | null | undefined;
2250
- appName: string;
2251
- appSubdomain: string;
2252
- userId: string;
2253
- userIdActual: string | null | undefined;
2254
- isTesting: boolean;
2255
- rpcMethod: string;
2256
- requestId: string;
2257
- channelId: string | null | undefined;
2258
- } | {
2259
- type: "BOXMAN_REQUEST";
2260
- appId: string | null | undefined;
2261
- rpcMethod: string | null | undefined;
2262
- requestId: string | null | undefined;
2263
- channelId: string | null | undefined;
2264
- boxId: string;
2265
- platformUserId: string | null | undefined;
2266
- isDevelopment: boolean | null;
2267
- agent: string | null | undefined;
2268
- sessionId: string | null | undefined;
2269
- };
2270
- _input_in: {
2271
- appId: string;
2272
- };
2273
- _input_out: {
2274
- appId: string;
2275
- };
2276
- _output_in: typeof _trpc_server.unsetMarker;
2277
- _output_out: typeof _trpc_server.unsetMarker;
2278
- }, {
2279
- response: string;
2280
- }>>;
2281
- };
2282
- queryDb: {
2283
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
2284
- _config: _trpc_server.RootConfig<{
2285
- ctx: {
2286
- appId: string;
2287
- versionId: string;
2288
- appName: string;
2289
- appSubdomain: string;
2290
- userId: string;
2291
- isTesting: boolean;
2292
- rpcMethod: string;
2293
- requestId: string;
2294
- type?: undefined;
2295
- dbUrl?: string | null | undefined;
2296
- userIdActual?: string | null | undefined;
2297
- channelId?: string | null | undefined;
2298
- } | {
2299
- type: "BOXMAN_REQUEST";
2300
- boxId: string;
2301
- isDevelopment: boolean | null;
2302
- appId?: string | null | undefined;
2303
- rpcMethod?: string | null | undefined;
2304
- requestId?: string | null | undefined;
2305
- channelId?: string | null | undefined;
2306
- platformUserId?: string | null | undefined;
2307
- agent?: string | null | undefined;
2308
- sessionId?: string | null | undefined;
2309
- };
2310
- meta: object;
2311
- errorShape: {
2312
- data: {
2313
- zodError: typeToFlattenedError<any, string> | null;
2314
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2315
- httpStatus: number;
2316
- path?: string;
2317
- stack?: string;
2318
- };
2319
- message: string;
2320
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2321
- };
2322
- transformer: typeof superjson;
2323
- }>;
2324
- _meta: object;
2325
- _ctx_out: {
2326
- type: undefined;
2327
- appId: string;
2328
- versionId: string;
2329
- dbUrl: string | null | undefined;
2330
- appName: string;
2331
- appSubdomain: string;
2332
- userId: string;
2333
- userIdActual: string | null | undefined;
2334
- isTesting: boolean;
2335
- rpcMethod: string;
2336
- requestId: string;
2337
- channelId: string | null | undefined;
2338
- } | {
2339
- type: "BOXMAN_REQUEST";
2340
- appId: string | null | undefined;
2341
- rpcMethod: string | null | undefined;
2342
- requestId: string | null | undefined;
2343
- channelId: string | null | undefined;
2344
- boxId: string;
2345
- platformUserId: string | null | undefined;
2346
- isDevelopment: boolean | null;
2347
- agent: string | null | undefined;
2348
- sessionId: string | null | undefined;
2349
- };
2350
- _input_in: {
2351
- appId: string;
2352
- query: string;
2353
- isDevelopmentDatabase?: boolean | undefined;
2354
- };
2355
- _input_out: {
2356
- appId: string;
2357
- query: string;
2358
- isDevelopmentDatabase: boolean;
2359
- };
2360
- _output_in: typeof _trpc_server.unsetMarker;
2361
- _output_out: typeof _trpc_server.unsetMarker;
2362
- }, unknown[] | {
2363
- response: string;
2364
- } | undefined>>;
2365
- };
2366
- runRpcEndpoint: {
2367
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
2368
- _config: _trpc_server.RootConfig<{
2369
- ctx: {
2370
- appId: string;
2371
- versionId: string;
2372
- appName: string;
2373
- appSubdomain: string;
2374
- userId: string;
2375
- isTesting: boolean;
2376
- rpcMethod: string;
2377
- requestId: string;
2378
- type?: undefined;
2379
- dbUrl?: string | null | undefined;
2380
- userIdActual?: string | null | undefined;
2381
- channelId?: string | null | undefined;
2382
- } | {
2383
- type: "BOXMAN_REQUEST";
2384
- boxId: string;
2385
- isDevelopment: boolean | null;
2386
- appId?: string | null | undefined;
2387
- rpcMethod?: string | null | undefined;
2388
- requestId?: string | null | undefined;
2389
- channelId?: string | null | undefined;
2390
- platformUserId?: string | null | undefined;
2391
- agent?: string | null | undefined;
2392
- sessionId?: string | null | undefined;
2393
- };
2394
- meta: object;
2395
- errorShape: {
2396
- data: {
2397
- zodError: typeToFlattenedError<any, string> | null;
2398
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2399
- httpStatus: number;
2400
- path?: string;
2401
- stack?: string;
2402
- };
2403
- message: string;
2404
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2405
- };
2406
- transformer: typeof superjson;
2407
- }>;
2408
- _meta: object;
2409
- _ctx_out: {
2410
- type: undefined;
2411
- appId: string;
2412
- versionId: string;
2413
- dbUrl: string | null | undefined;
2414
- appName: string;
2415
- appSubdomain: string;
2416
- userId: string;
2417
- userIdActual: string | null | undefined;
2418
- isTesting: boolean;
2419
- rpcMethod: string;
2420
- requestId: string;
2421
- channelId: string | null | undefined;
2422
- } | {
2423
- type: "BOXMAN_REQUEST";
2424
- appId: string | null | undefined;
2425
- rpcMethod: string | null | undefined;
2426
- requestId: string | null | undefined;
2427
- channelId: string | null | undefined;
2428
- boxId: string;
2429
- platformUserId: string | null | undefined;
2430
- isDevelopment: boolean | null;
2431
- agent: string | null | undefined;
2432
- sessionId: string | null | undefined;
2433
- };
2434
- _input_in: {
2435
- methodName: string;
2436
- onBehalfOfCurrentUser: boolean;
2437
- params?: unknown[] | undefined;
2438
- appId?: string | null | undefined;
2439
- runOnTestDatabase?: boolean | undefined;
2440
- };
2441
- _input_out: {
2442
- methodName: string;
2443
- runOnTestDatabase: boolean;
2444
- onBehalfOfCurrentUser: boolean;
2445
- params?: unknown[] | undefined;
2446
- appId?: string | null | undefined;
2447
- };
2448
- _output_in: typeof _trpc_server.unsetMarker;
2449
- _output_out: typeof _trpc_server.unsetMarker;
2450
- }, {
2451
- response: string;
2452
- }>>;
2453
- };
2454
- runOAuthEndpoint: {
2455
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
2456
- _config: _trpc_server.RootConfig<{
2457
- ctx: {
2458
- appId: string;
2459
- versionId: string;
2460
- appName: string;
2461
- appSubdomain: string;
2462
- userId: string;
2463
- isTesting: boolean;
2464
- rpcMethod: string;
2465
- requestId: string;
2466
- type?: undefined;
2467
- dbUrl?: string | null | undefined;
2468
- userIdActual?: string | null | undefined;
2469
- channelId?: string | null | undefined;
2470
- } | {
2471
- type: "BOXMAN_REQUEST";
2472
- boxId: string;
2473
- isDevelopment: boolean | null;
2474
- appId?: string | null | undefined;
2475
- rpcMethod?: string | null | undefined;
2476
- requestId?: string | null | undefined;
2477
- channelId?: string | null | undefined;
2478
- platformUserId?: string | null | undefined;
2479
- agent?: string | null | undefined;
2480
- sessionId?: string | null | undefined;
2481
- };
2482
- meta: object;
2483
- errorShape: {
2484
- data: {
2485
- zodError: typeToFlattenedError<any, string> | null;
2486
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2487
- httpStatus: number;
2488
- path?: string;
2489
- stack?: string;
2490
- };
2491
- message: string;
2492
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2493
- };
2494
- transformer: typeof superjson;
2495
- }>;
2496
- _meta: object;
2497
- _ctx_out: {
2498
- type: undefined;
2499
- appId: string;
2500
- versionId: string;
2501
- dbUrl: string | null | undefined;
2502
- appName: string;
2503
- appSubdomain: string;
2504
- userId: string;
2505
- userIdActual: string | null | undefined;
2506
- isTesting: boolean;
2507
- rpcMethod: string;
2508
- requestId: string;
2509
- channelId: string | null | undefined;
2510
- } | {
2511
- type: "BOXMAN_REQUEST";
2512
- appId: string | null | undefined;
2513
- rpcMethod: string | null | undefined;
2514
- requestId: string | null | undefined;
2515
- channelId: string | null | undefined;
2516
- boxId: string;
2517
- platformUserId: string | null | undefined;
2518
- isDevelopment: boolean | null;
2519
- agent: string | null | undefined;
2520
- sessionId: string | null | undefined;
2521
- };
2522
- _input_in: {
2523
- provider: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA";
2524
- endpoint: string;
2525
- method: "GET" | "POST" | "PUT" | "DELETE" | "HEAD";
2526
- params?: any;
2527
- description?: string | undefined;
2528
- headers?: Record<string, string> | undefined;
2529
- connectionId?: string | undefined;
2530
- };
2531
- _input_out: {
2532
- provider: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA";
2533
- endpoint: string;
2534
- method: "GET" | "POST" | "PUT" | "DELETE" | "HEAD";
2535
- params?: any;
2536
- description?: string | undefined;
2537
- headers?: Record<string, string> | undefined;
2538
- connectionId?: string | undefined;
2539
- };
2540
- _output_in: typeof _trpc_server.unsetMarker;
2541
- _output_out: typeof _trpc_server.unsetMarker;
2542
- }, {
2543
- ok: boolean;
2544
- status: number;
2545
- statusText: string;
2546
- headers: {
2547
- [k: string]: string;
2548
- };
2549
- body: string;
2550
- reason: any;
2551
- retryAfter: string | undefined;
2552
- }>>;
2553
- };
2554
- checkOauthIntegrationStatus: {
2555
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
2556
- _config: _trpc_server.RootConfig<{
2557
- ctx: {
2558
- appId: string;
2559
- versionId: string;
2560
- appName: string;
2561
- appSubdomain: string;
2562
- userId: string;
2563
- isTesting: boolean;
2564
- rpcMethod: string;
2565
- requestId: string;
2566
- type?: undefined;
2567
- dbUrl?: string | null | undefined;
2568
- userIdActual?: string | null | undefined;
2569
- channelId?: string | null | undefined;
2570
- } | {
2571
- type: "BOXMAN_REQUEST";
2572
- boxId: string;
2573
- isDevelopment: boolean | null;
2574
- appId?: string | null | undefined;
2575
- rpcMethod?: string | null | undefined;
2576
- requestId?: string | null | undefined;
2577
- channelId?: string | null | undefined;
2578
- platformUserId?: string | null | undefined;
2579
- agent?: string | null | undefined;
2580
- sessionId?: string | null | undefined;
2581
- };
2582
- meta: object;
2583
- errorShape: {
2584
- data: {
2585
- zodError: typeToFlattenedError<any, string> | null;
2586
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2587
- httpStatus: number;
2588
- path?: string;
2589
- stack?: string;
2590
- };
2591
- message: string;
2592
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2593
- };
2594
- transformer: typeof superjson;
2595
- }>;
2596
- _meta: object;
2597
- _ctx_out: {
2598
- type: undefined;
2599
- appId: string;
2600
- versionId: string;
2601
- dbUrl: string | null | undefined;
2602
- appName: string;
2603
- appSubdomain: string;
2604
- userId: string;
2605
- userIdActual: string | null | undefined;
2606
- isTesting: boolean;
2607
- rpcMethod: string;
2608
- requestId: string;
2609
- channelId: string | null | undefined;
2610
- } | {
2611
- type: "BOXMAN_REQUEST";
2612
- appId: string | null | undefined;
2613
- rpcMethod: string | null | undefined;
2614
- requestId: string | null | undefined;
2615
- channelId: string | null | undefined;
2616
- boxId: string;
2617
- platformUserId: string | null | undefined;
2618
- isDevelopment: boolean | null;
2619
- agent: string | null | undefined;
2620
- sessionId: string | null | undefined;
2621
- };
2622
- _input_in: {
2623
- provider: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA";
2624
- };
2625
- _input_out: {
2626
- provider: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA";
2627
- };
2628
- _output_in: typeof _trpc_server.unsetMarker;
2629
- _output_out: typeof _trpc_server.unsetMarker;
2630
- }, {
2631
- connected: boolean;
2632
- connections: {
2633
- id: string;
2634
- connectedAt: Date;
2635
- scopes: string[];
2636
- profile: {
2637
- handle?: string | null;
2638
- name?: string | null;
2639
- email?: string | null;
2640
- avatarUrl?: string | null;
2641
- };
2642
- }[];
2643
- }>>;
2644
- };
2645
- searchTheWeb: {
2646
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
2647
- _config: _trpc_server.RootConfig<{
2648
- ctx: {
2649
- appId: string;
2650
- versionId: string;
2651
- appName: string;
2652
- appSubdomain: string;
2653
- userId: string;
2654
- isTesting: boolean;
2655
- rpcMethod: string;
2656
- requestId: string;
2657
- type?: undefined;
2658
- dbUrl?: string | null | undefined;
2659
- userIdActual?: string | null | undefined;
2660
- channelId?: string | null | undefined;
2661
- } | {
2662
- type: "BOXMAN_REQUEST";
2663
- boxId: string;
2664
- isDevelopment: boolean | null;
2665
- appId?: string | null | undefined;
2666
- rpcMethod?: string | null | undefined;
2667
- requestId?: string | null | undefined;
2668
- channelId?: string | null | undefined;
2669
- platformUserId?: string | null | undefined;
2670
- agent?: string | null | undefined;
2671
- sessionId?: string | null | undefined;
2672
- };
2673
- meta: object;
2674
- errorShape: {
2675
- data: {
2676
- zodError: typeToFlattenedError<any, string> | null;
2677
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2678
- httpStatus: number;
2679
- path?: string;
2680
- stack?: string;
2681
- };
2682
- message: string;
2683
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2684
- };
2685
- transformer: typeof superjson;
2686
- }>;
2687
- _meta: object;
2688
- _ctx_out: {
2689
- type: undefined;
2690
- appId: string;
2691
- versionId: string;
2692
- dbUrl: string | null | undefined;
2693
- appName: string;
2694
- appSubdomain: string;
2695
- userId: string;
2696
- userIdActual: string | null | undefined;
2697
- isTesting: boolean;
2698
- rpcMethod: string;
2699
- requestId: string;
2700
- channelId: string | null | undefined;
2701
- } | {
2702
- type: "BOXMAN_REQUEST";
2703
- appId: string | null | undefined;
2704
- rpcMethod: string | null | undefined;
2705
- requestId: string | null | undefined;
2706
- channelId: string | null | undefined;
2707
- boxId: string;
2708
- platformUserId: string | null | undefined;
2709
- isDevelopment: boolean | null;
2710
- agent: string | null | undefined;
2711
- sessionId: string | null | undefined;
2712
- };
2713
- _input_in: {
2714
- query: string;
2715
- allowedDomains?: string[] | undefined;
2716
- blockedDomains?: string[] | undefined;
2717
- };
2718
- _input_out: {
2719
- query: string;
2720
- allowedDomains?: string[] | undefined;
2721
- blockedDomains?: string[] | undefined;
2722
- };
2723
- _output_in: typeof _trpc_server.unsetMarker;
2724
- _output_out: typeof _trpc_server.unsetMarker;
2725
- }, {
2726
- response: string;
2727
- }>>;
2728
- };
2729
- textToSpeech: {
2730
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
2731
- _config: _trpc_server.RootConfig<{
2732
- ctx: {
2733
- appId: string;
2734
- versionId: string;
2735
- appName: string;
2736
- appSubdomain: string;
2737
- userId: string;
2738
- isTesting: boolean;
2739
- rpcMethod: string;
2740
- requestId: string;
2741
- type?: undefined;
2742
- dbUrl?: string | null | undefined;
2743
- userIdActual?: string | null | undefined;
2744
- channelId?: string | null | undefined;
2745
- } | {
2746
- type: "BOXMAN_REQUEST";
2747
- boxId: string;
2748
- isDevelopment: boolean | null;
2749
- appId?: string | null | undefined;
2750
- rpcMethod?: string | null | undefined;
2751
- requestId?: string | null | undefined;
2752
- channelId?: string | null | undefined;
2753
- platformUserId?: string | null | undefined;
2754
- agent?: string | null | undefined;
2755
- sessionId?: string | null | undefined;
2756
- };
2757
- meta: object;
2758
- errorShape: {
2759
- data: {
2760
- zodError: typeToFlattenedError<any, string> | null;
2761
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2762
- httpStatus: number;
2763
- path?: string;
2764
- stack?: string;
2765
- };
2766
- message: string;
2767
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2768
- };
2769
- transformer: typeof superjson;
2770
- }>;
2771
- _meta: object;
2772
- _ctx_out: {
2773
- type: undefined;
2774
- appId: string;
2775
- versionId: string;
2776
- dbUrl: string | null | undefined;
2777
- appName: string;
2778
- appSubdomain: string;
2779
- userId: string;
2780
- userIdActual: string | null | undefined;
2781
- isTesting: boolean;
2782
- rpcMethod: string;
2783
- requestId: string;
2784
- channelId: string | null | undefined;
2785
- } | {
2786
- type: "BOXMAN_REQUEST";
2787
- appId: string | null | undefined;
2788
- rpcMethod: string | null | undefined;
2789
- requestId: string | null | undefined;
2790
- channelId: string | null | undefined;
2791
- boxId: string;
2792
- platformUserId: string | null | undefined;
2793
- isDevelopment: boolean | null;
2794
- agent: string | null | undefined;
2795
- sessionId: string | null | undefined;
2796
- };
2797
- _input_in: {
2798
- text: string;
2799
- voice?: "Will" | "Brian" | "George" | "Jessica" | "Liam" | "Alice" | "Sarah" | "Charlotte" | "Matilda" | "Eric" | "Alloy" | "Ash" | "Ballad" | "Coral" | "Echo" | "Fable" | "Nova" | "Onyx" | "Sage" | "Shimmer" | undefined;
2800
- };
2801
- _input_out: {
2802
- text: string;
2803
- voice?: "Will" | "Brian" | "George" | "Jessica" | "Liam" | "Alice" | "Sarah" | "Charlotte" | "Matilda" | "Eric" | "Alloy" | "Ash" | "Ballad" | "Coral" | "Echo" | "Fable" | "Nova" | "Onyx" | "Sage" | "Shimmer" | undefined;
2804
- };
2805
- _output_in: typeof _trpc_server.unsetMarker;
2806
- _output_out: typeof _trpc_server.unsetMarker;
2807
- }, {
2808
- url: string;
2809
- duration: number | undefined;
2810
- } | null>>;
2811
- };
2812
- getMultimodalUsageInsights: {
2813
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
2814
- _config: _trpc_server.RootConfig<{
2815
- ctx: {
2816
- appId: string;
2817
- versionId: string;
2818
- appName: string;
2819
- appSubdomain: string;
2820
- userId: string;
2821
- isTesting: boolean;
2822
- rpcMethod: string;
2823
- requestId: string;
2824
- type?: undefined;
2825
- dbUrl?: string | null | undefined;
2826
- userIdActual?: string | null | undefined;
2827
- channelId?: string | null | undefined;
2828
- } | {
2829
- type: "BOXMAN_REQUEST";
2830
- boxId: string;
2831
- isDevelopment: boolean | null;
2832
- appId?: string | null | undefined;
2833
- rpcMethod?: string | null | undefined;
2834
- requestId?: string | null | undefined;
2835
- channelId?: string | null | undefined;
2836
- platformUserId?: string | null | undefined;
2837
- agent?: string | null | undefined;
2838
- sessionId?: string | null | undefined;
2839
- };
2840
- meta: object;
2841
- errorShape: {
2842
- data: {
2843
- zodError: typeToFlattenedError<any, string> | null;
2844
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2845
- httpStatus: number;
2846
- path?: string;
2847
- stack?: string;
2848
- };
2849
- message: string;
2850
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2851
- };
2852
- transformer: typeof superjson;
2853
- }>;
2854
- _meta: object;
2855
- _ctx_out: {
2856
- type: undefined;
2857
- appId: string;
2858
- versionId: string;
2859
- dbUrl: string | null | undefined;
2860
- appName: string;
2861
- appSubdomain: string;
2862
- userId: string;
2863
- userIdActual: string | null | undefined;
2864
- isTesting: boolean;
2865
- rpcMethod: string;
2866
- requestId: string;
2867
- channelId: string | null | undefined;
2868
- } | {
2869
- type: "BOXMAN_REQUEST";
2870
- appId: string | null | undefined;
2871
- rpcMethod: string | null | undefined;
2872
- requestId: string | null | undefined;
2873
- channelId: string | null | undefined;
2874
- boxId: string;
2875
- platformUserId: string | null | undefined;
2876
- isDevelopment: boolean | null;
2877
- agent: string | null | undefined;
2878
- sessionId: string | null | undefined;
2879
- };
2880
- _input_in: {
2881
- appId: string;
2882
- summaryHours?: number | undefined;
2883
- loopLimit?: number | undefined;
2884
- };
2885
- _input_out: {
2886
- appId: string;
2887
- summaryHours: number;
2888
- loopLimit: number;
2889
- };
2890
- _output_in: typeof _trpc_server.unsetMarker;
2891
- _output_out: typeof _trpc_server.unsetMarker;
2892
- }, {
2893
- response: string;
2894
- }>>;
2895
- };
2896
- getAC1AppInfo: {
2897
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
2898
- _config: _trpc_server.RootConfig<{
2899
- ctx: {
2900
- appId: string;
2901
- versionId: string;
2902
- appName: string;
2903
- appSubdomain: string;
2904
- userId: string;
2905
- isTesting: boolean;
2906
- rpcMethod: string;
2907
- requestId: string;
2908
- type?: undefined;
2909
- dbUrl?: string | null | undefined;
2910
- userIdActual?: string | null | undefined;
2911
- channelId?: string | null | undefined;
2912
- } | {
2913
- type: "BOXMAN_REQUEST";
2914
- boxId: string;
2915
- isDevelopment: boolean | null;
2916
- appId?: string | null | undefined;
2917
- rpcMethod?: string | null | undefined;
2918
- requestId?: string | null | undefined;
2919
- channelId?: string | null | undefined;
2920
- platformUserId?: string | null | undefined;
2921
- agent?: string | null | undefined;
2922
- sessionId?: string | null | undefined;
2923
- };
2924
- meta: object;
2925
- errorShape: {
2926
- data: {
2927
- zodError: typeToFlattenedError<any, string> | null;
2928
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
2929
- httpStatus: number;
2930
- path?: string;
2931
- stack?: string;
2932
- };
2933
- message: string;
2934
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
2935
- };
2936
- transformer: typeof superjson;
2937
- }>;
2938
- _meta: object;
2939
- _ctx_out: {
2940
- type: undefined;
2941
- appId: string;
2942
- versionId: string;
2943
- dbUrl: string | null | undefined;
2944
- appName: string;
2945
- appSubdomain: string;
2946
- userId: string;
2947
- userIdActual: string | null | undefined;
2948
- isTesting: boolean;
2949
- rpcMethod: string;
2950
- requestId: string;
2951
- channelId: string | null | undefined;
2952
- } | {
2953
- type: "BOXMAN_REQUEST";
2954
- appId: string | null | undefined;
2955
- rpcMethod: string | null | undefined;
2956
- requestId: string | null | undefined;
2957
- channelId: string | null | undefined;
2958
- boxId: string;
2959
- platformUserId: string | null | undefined;
2960
- isDevelopment: boolean | null;
2961
- agent: string | null | undefined;
2962
- sessionId: string | null | undefined;
2963
- };
2964
- _input_in: {
2965
- appId: string;
2966
- };
2967
- _input_out: {
2968
- appId: string;
2969
- };
2970
- _output_in: typeof _trpc_server.unsetMarker;
2971
- _output_out: typeof _trpc_server.unsetMarker;
2972
- }, {
2973
- response: string;
2974
- }>>;
2975
- };
2976
- setUserHandle: {
2977
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
2978
- _config: _trpc_server.RootConfig<{
2979
- ctx: {
2980
- appId: string;
2981
- versionId: string;
2982
- appName: string;
2983
- appSubdomain: string;
2984
- userId: string;
2985
- isTesting: boolean;
2986
- rpcMethod: string;
2987
- requestId: string;
2988
- type?: undefined;
2989
- dbUrl?: string | null | undefined;
2990
- userIdActual?: string | null | undefined;
2991
- channelId?: string | null | undefined;
2992
- } | {
2993
- type: "BOXMAN_REQUEST";
2994
- boxId: string;
2995
- isDevelopment: boolean | null;
2996
- appId?: string | null | undefined;
2997
- rpcMethod?: string | null | undefined;
2998
- requestId?: string | null | undefined;
2999
- channelId?: string | null | undefined;
3000
- platformUserId?: string | null | undefined;
3001
- agent?: string | null | undefined;
3002
- sessionId?: string | null | undefined;
3003
- };
3004
- meta: object;
3005
- errorShape: {
3006
- data: {
3007
- zodError: typeToFlattenedError<any, string> | null;
3008
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
3009
- httpStatus: number;
3010
- path?: string;
3011
- stack?: string;
3012
- };
3013
- message: string;
3014
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
3015
- };
3016
- transformer: typeof superjson;
3017
- }>;
3018
- _meta: object;
3019
- _ctx_out: {
3020
- type: undefined;
3021
- appId: string;
3022
- versionId: string;
3023
- dbUrl: string | null | undefined;
3024
- appName: string;
3025
- appSubdomain: string;
3026
- userId: string;
3027
- userIdActual: string | null | undefined;
3028
- isTesting: boolean;
3029
- rpcMethod: string;
3030
- requestId: string;
3031
- channelId: string | null | undefined;
3032
- } | {
3033
- type: "BOXMAN_REQUEST";
3034
- appId: string | null | undefined;
3035
- rpcMethod: string | null | undefined;
3036
- requestId: string | null | undefined;
3037
- channelId: string | null | undefined;
3038
- boxId: string;
3039
- platformUserId: string | null | undefined;
3040
- isDevelopment: boolean | null;
3041
- agent: string | null | undefined;
3042
- sessionId: string | null | undefined;
3043
- };
3044
- _input_in: {
3045
- handle: string;
3046
- };
3047
- _input_out: {
3048
- handle: string;
3049
- };
3050
- _output_in: typeof _trpc_server.unsetMarker;
3051
- _output_out: typeof _trpc_server.unsetMarker;
3052
- }, string>>;
3053
- };
3054
- setTheme: {
3055
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3056
- _config: _trpc_server.RootConfig<{
3057
- ctx: {
3058
- appId: string;
3059
- versionId: string;
3060
- appName: string;
3061
- appSubdomain: string;
3062
- userId: string;
3063
- isTesting: boolean;
3064
- rpcMethod: string;
3065
- requestId: string;
3066
- type?: undefined;
3067
- dbUrl?: string | null | undefined;
3068
- userIdActual?: string | null | undefined;
3069
- channelId?: string | null | undefined;
3070
- } | {
3071
- type: "BOXMAN_REQUEST";
3072
- boxId: string;
3073
- isDevelopment: boolean | null;
3074
- appId?: string | null | undefined;
3075
- rpcMethod?: string | null | undefined;
3076
- requestId?: string | null | undefined;
3077
- channelId?: string | null | undefined;
3078
- platformUserId?: string | null | undefined;
3079
- agent?: string | null | undefined;
3080
- sessionId?: string | null | undefined;
3081
- };
3082
- meta: object;
3083
- errorShape: {
3084
- data: {
3085
- zodError: typeToFlattenedError<any, string> | null;
3086
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
3087
- httpStatus: number;
3088
- path?: string;
3089
- stack?: string;
3090
- };
3091
- message: string;
3092
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
3093
- };
3094
- transformer: typeof superjson;
3095
- }>;
3096
- _meta: object;
3097
- _ctx_out: {
3098
- type: undefined;
3099
- appId: string;
3100
- versionId: string;
3101
- dbUrl: string | null | undefined;
3102
- appName: string;
3103
- appSubdomain: string;
3104
- userId: string;
3105
- userIdActual: string | null | undefined;
3106
- isTesting: boolean;
3107
- rpcMethod: string;
3108
- requestId: string;
3109
- channelId: string | null | undefined;
3110
- } | {
3111
- type: "BOXMAN_REQUEST";
3112
- appId: string | null | undefined;
3113
- rpcMethod: string | null | undefined;
3114
- requestId: string | null | undefined;
3115
- channelId: string | null | undefined;
3116
- boxId: string;
3117
- platformUserId: string | null | undefined;
3118
- isDevelopment: boolean | null;
3119
- agent: string | null | undefined;
3120
- sessionId: string | null | undefined;
3121
- };
3122
- _input_in: {
3123
- theme: "dark" | "light" | "system";
3124
- };
3125
- _input_out: {
3126
- theme: "dark" | "light" | "system";
3127
- };
3128
- _output_in: typeof _trpc_server.unsetMarker;
3129
- _output_out: typeof _trpc_server.unsetMarker;
3130
- }, string>>;
3131
- };
3132
- navigate: {
3133
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3134
- _config: _trpc_server.RootConfig<{
3135
- ctx: {
3136
- appId: string;
3137
- versionId: string;
3138
- appName: string;
3139
- appSubdomain: string;
3140
- userId: string;
3141
- isTesting: boolean;
3142
- rpcMethod: string;
3143
- requestId: string;
3144
- type?: undefined;
3145
- dbUrl?: string | null | undefined;
3146
- userIdActual?: string | null | undefined;
3147
- channelId?: string | null | undefined;
3148
- } | {
3149
- type: "BOXMAN_REQUEST";
3150
- boxId: string;
3151
- isDevelopment: boolean | null;
3152
- appId?: string | null | undefined;
3153
- rpcMethod?: string | null | undefined;
3154
- requestId?: string | null | undefined;
3155
- channelId?: string | null | undefined;
3156
- platformUserId?: string | null | undefined;
3157
- agent?: string | null | undefined;
3158
- sessionId?: string | null | undefined;
3159
- };
3160
- meta: object;
3161
- errorShape: {
3162
- data: {
3163
- zodError: typeToFlattenedError<any, string> | null;
3164
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
3165
- httpStatus: number;
3166
- path?: string;
3167
- stack?: string;
3168
- };
3169
- message: string;
3170
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
3171
- };
3172
- transformer: typeof superjson;
3173
- }>;
3174
- _meta: object;
3175
- _ctx_out: {
3176
- type: undefined;
3177
- appId: string;
3178
- versionId: string;
3179
- dbUrl: string | null | undefined;
3180
- appName: string;
3181
- appSubdomain: string;
3182
- userId: string;
3183
- userIdActual: string | null | undefined;
3184
- isTesting: boolean;
3185
- rpcMethod: string;
3186
- requestId: string;
3187
- channelId: string | null | undefined;
3188
- } | {
3189
- type: "BOXMAN_REQUEST";
3190
- appId: string | null | undefined;
3191
- rpcMethod: string | null | undefined;
3192
- requestId: string | null | undefined;
3193
- channelId: string | null | undefined;
3194
- boxId: string;
3195
- platformUserId: string | null | undefined;
3196
- isDevelopment: boolean | null;
3197
- agent: string | null | undefined;
3198
- sessionId: string | null | undefined;
3199
- };
3200
- _input_in: {
3201
- target: "app" | "home";
3202
- appId?: string | undefined;
3203
- };
3204
- _input_out: {
3205
- target: "app" | "home";
3206
- appId?: string | undefined;
705
+ _output_out: {
706
+ model: string;
707
+ audioUrl: string;
708
+ duration?: number | undefined;
3207
709
  };
3208
- _output_in: typeof _trpc_server.unsetMarker;
3209
- _output_out: typeof _trpc_server.unsetMarker;
3210
- }, string>>;
710
+ }, unknown>>;
3211
711
  };
3212
- getComputerContext: {
712
+ generateMusic: {
3213
713
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3214
714
  _config: _trpc_server.RootConfig<{
3215
715
  ctx: {
@@ -3236,6 +736,7 @@ declare let client: {
3236
736
  platformUserId?: string | null | undefined;
3237
737
  agent?: string | null | undefined;
3238
738
  sessionId?: string | null | undefined;
739
+ pushToken?: string | null | undefined;
3239
740
  };
3240
741
  meta: object;
3241
742
  errorShape: {
@@ -3276,24 +777,27 @@ declare let client: {
3276
777
  isDevelopment: boolean | null;
3277
778
  agent: string | null | undefined;
3278
779
  sessionId: string | null | undefined;
780
+ pushToken: string | null | undefined;
3279
781
  };
3280
- _input_in: {};
3281
- _input_out: {};
3282
- _output_in: typeof _trpc_server.unsetMarker;
3283
- _output_out: typeof _trpc_server.unsetMarker;
3284
- }, {
3285
- location: "homescreen";
3286
- theme: "dark" | "light" | "system";
3287
- userHandle?: string | undefined;
3288
- } | {
3289
- appId: string;
3290
- appName: string;
3291
- location: "app";
3292
- theme: "dark" | "light" | "system";
3293
- userHandle?: string | undefined;
3294
- } | "Computer context not found. Ask the user for any information you expected this tool to provide.">>;
782
+ _input_in: {
783
+ text: string;
784
+ };
785
+ _input_out: {
786
+ text: string;
787
+ };
788
+ _output_in: {
789
+ model: string;
790
+ audioUrl: string;
791
+ duration?: number | undefined;
792
+ };
793
+ _output_out: {
794
+ model: string;
795
+ audioUrl: string;
796
+ duration?: number | undefined;
797
+ };
798
+ }, unknown>>;
3295
799
  };
3296
- textToImage: {
800
+ generateVideo: {
3297
801
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3298
802
  _config: _trpc_server.RootConfig<{
3299
803
  ctx: {
@@ -3320,6 +824,7 @@ declare let client: {
3320
824
  platformUserId?: string | null | undefined;
3321
825
  agent?: string | null | undefined;
3322
826
  sessionId?: string | null | undefined;
827
+ pushToken?: string | null | undefined;
3323
828
  };
3324
829
  meta: object;
3325
830
  errorShape: {
@@ -3360,20 +865,29 @@ declare let client: {
3360
865
  isDevelopment: boolean | null;
3361
866
  agent: string | null | undefined;
3362
867
  sessionId: string | null | undefined;
868
+ pushToken: string | null | undefined;
3363
869
  };
3364
870
  _input_in: {
3365
- text: string;
3366
- size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | undefined;
871
+ prompt: string;
872
+ image?: string | undefined;
3367
873
  };
3368
874
  _input_out: {
3369
- text: string;
3370
- size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | undefined;
875
+ prompt: string;
876
+ image?: string | undefined;
3371
877
  };
3372
- _output_in: typeof _trpc_server.unsetMarker;
3373
- _output_out: typeof _trpc_server.unsetMarker;
3374
- }, string>>;
878
+ _output_in: {
879
+ model: string;
880
+ videoUrl: string;
881
+ duration?: number | undefined;
882
+ };
883
+ _output_out: {
884
+ model: string;
885
+ videoUrl: string;
886
+ duration?: number | undefined;
887
+ };
888
+ }, unknown>>;
3375
889
  };
3376
- startTask: {
890
+ extractStructuredDataFromContent: {
3377
891
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3378
892
  _config: _trpc_server.RootConfig<{
3379
893
  ctx: {
@@ -3400,6 +914,7 @@ declare let client: {
3400
914
  platformUserId?: string | null | undefined;
3401
915
  agent?: string | null | undefined;
3402
916
  sessionId?: string | null | undefined;
917
+ pushToken?: string | null | undefined;
3403
918
  };
3404
919
  meta: object;
3405
920
  errorShape: {
@@ -3440,31 +955,23 @@ declare let client: {
3440
955
  isDevelopment: boolean | null;
3441
956
  agent: string | null | undefined;
3442
957
  sessionId: string | null | undefined;
958
+ pushToken: string | null | undefined;
3443
959
  };
3444
960
  _input_in: {
3445
- type: "CREATE_APP" | "EDIT_APP" | "OTHER";
3446
- prompt: string;
3447
- purpose: string;
3448
- previousSessionId?: string | undefined;
961
+ base64?: string | undefined;
962
+ url?: string | undefined;
963
+ schema?: any;
3449
964
  };
3450
965
  _input_out: {
3451
- type: "CREATE_APP" | "EDIT_APP" | "OTHER";
3452
- prompt: string;
3453
- purpose: string;
3454
- previousSessionId?: string | undefined;
966
+ base64?: string | undefined;
967
+ url?: string | undefined;
968
+ schema?: any;
3455
969
  };
3456
970
  _output_in: typeof _trpc_server.unsetMarker;
3457
971
  _output_out: typeof _trpc_server.unsetMarker;
3458
- }, {
3459
- taskId: string;
3460
- type: "CREATE_APP" | "EDIT_APP" | "OTHER";
3461
- status: string;
3462
- startedAt: string;
3463
- subscribedToUpdates: boolean;
3464
- sessionId: string;
3465
- }>>;
972
+ }, object>>;
3466
973
  };
3467
- stopTask: {
974
+ extractTextFromContent: {
3468
975
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3469
976
  _config: _trpc_server.RootConfig<{
3470
977
  ctx: {
@@ -3491,6 +998,7 @@ declare let client: {
3491
998
  platformUserId?: string | null | undefined;
3492
999
  agent?: string | null | undefined;
3493
1000
  sessionId?: string | null | undefined;
1001
+ pushToken?: string | null | undefined;
3494
1002
  };
3495
1003
  meta: object;
3496
1004
  errorShape: {
@@ -3531,21 +1039,23 @@ declare let client: {
3531
1039
  isDevelopment: boolean | null;
3532
1040
  agent: string | null | undefined;
3533
1041
  sessionId: string | null | undefined;
1042
+ pushToken: string | null | undefined;
3534
1043
  };
3535
1044
  _input_in: {
3536
- taskId: string;
1045
+ base64?: string | undefined;
1046
+ url?: string | undefined;
1047
+ outputFormat?: "raw" | "formatted-markdown" | undefined;
3537
1048
  };
3538
1049
  _input_out: {
3539
- taskId: string;
1050
+ base64?: string | undefined;
1051
+ url?: string | undefined;
1052
+ outputFormat?: "raw" | "formatted-markdown" | undefined;
3540
1053
  };
3541
1054
  _output_in: typeof _trpc_server.unsetMarker;
3542
1055
  _output_out: typeof _trpc_server.unsetMarker;
3543
- }, {
3544
- id: string;
3545
- stopped: boolean;
3546
- }>>;
1056
+ }, string>>;
3547
1057
  };
3548
- displayVoicesCatalogTool: {
1058
+ createProduct: {
3549
1059
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3550
1060
  _config: _trpc_server.RootConfig<{
3551
1061
  ctx: {
@@ -3572,6 +1082,7 @@ declare let client: {
3572
1082
  platformUserId?: string | null | undefined;
3573
1083
  agent?: string | null | undefined;
3574
1084
  sessionId?: string | null | undefined;
1085
+ pushToken?: string | null | undefined;
3575
1086
  };
3576
1087
  meta: object;
3577
1088
  errorShape: {
@@ -3612,24 +1123,34 @@ declare let client: {
3612
1123
  isDevelopment: boolean | null;
3613
1124
  agent: string | null | undefined;
3614
1125
  sessionId: string | null | undefined;
1126
+ pushToken: string | null | undefined;
3615
1127
  };
3616
1128
  _input_in: {
3617
- selectionMode: "single" | "multiple";
3618
- useCase: "tts" | "dialogue";
3619
- info?: string | undefined;
3620
- maxSelections?: number | undefined;
1129
+ name: string;
1130
+ kind: "IN_APP_PURCHASE" | "SUBSCRIPTION";
1131
+ description: string;
1132
+ price: number;
1133
+ appId?: string | undefined;
3621
1134
  };
3622
1135
  _input_out: {
3623
- selectionMode: "single" | "multiple";
3624
- useCase: "tts" | "dialogue";
3625
- info?: string | undefined;
3626
- maxSelections?: number | undefined;
1136
+ name: string;
1137
+ kind: "IN_APP_PURCHASE" | "SUBSCRIPTION";
1138
+ description: string;
1139
+ price: number;
1140
+ appId?: string | undefined;
3627
1141
  };
3628
1142
  _output_in: typeof _trpc_server.unsetMarker;
3629
1143
  _output_out: typeof _trpc_server.unsetMarker;
3630
- }, string>>;
1144
+ }, {
1145
+ purchaseLink: string;
1146
+ id: string;
1147
+ name: string;
1148
+ kind: $Enums.ProductKind;
1149
+ description: string;
1150
+ price: number;
1151
+ }>>;
3631
1152
  };
3632
- requestEnvironmentVariablesTool: {
1153
+ listProducts: {
3633
1154
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3634
1155
  _config: _trpc_server.RootConfig<{
3635
1156
  ctx: {
@@ -3656,6 +1177,7 @@ declare let client: {
3656
1177
  platformUserId?: string | null | undefined;
3657
1178
  agent?: string | null | undefined;
3658
1179
  sessionId?: string | null | undefined;
1180
+ pushToken?: string | null | undefined;
3659
1181
  };
3660
1182
  meta: object;
3661
1183
  errorShape: {
@@ -3696,26 +1218,26 @@ declare let client: {
3696
1218
  isDevelopment: boolean | null;
3697
1219
  agent: string | null | undefined;
3698
1220
  sessionId: string | null | undefined;
1221
+ pushToken: string | null | undefined;
3699
1222
  };
3700
1223
  _input_in: {
3701
- missingVariables: {
3702
- key: string;
3703
- instructions: string;
3704
- exampleValue?: string | undefined;
3705
- }[];
3706
- };
1224
+ appId?: string | undefined;
1225
+ } | undefined;
3707
1226
  _input_out: {
3708
- missingVariables: {
3709
- key: string;
3710
- instructions: string;
3711
- exampleValue?: string | undefined;
3712
- }[];
3713
- };
1227
+ appId?: string | undefined;
1228
+ } | undefined;
3714
1229
  _output_in: typeof _trpc_server.unsetMarker;
3715
1230
  _output_out: typeof _trpc_server.unsetMarker;
3716
- }, string>>;
1231
+ }, {
1232
+ purchaseLink: string;
1233
+ id: string;
1234
+ name: string;
1235
+ kind: $Enums.ProductKind;
1236
+ description: string;
1237
+ price: number;
1238
+ }[]>>;
3717
1239
  };
3718
- proposeAppSettingsTool: {
1240
+ listUserPurchases: {
3719
1241
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3720
1242
  _config: _trpc_server.RootConfig<{
3721
1243
  ctx: {
@@ -3742,6 +1264,7 @@ declare let client: {
3742
1264
  platformUserId?: string | null | undefined;
3743
1265
  agent?: string | null | undefined;
3744
1266
  sessionId?: string | null | undefined;
1267
+ pushToken?: string | null | undefined;
3745
1268
  };
3746
1269
  meta: object;
3747
1270
  errorShape: {
@@ -3782,78 +1305,27 @@ declare let client: {
3782
1305
  isDevelopment: boolean | null;
3783
1306
  agent: string | null | undefined;
3784
1307
  sessionId: string | null | undefined;
1308
+ pushToken: string | null | undefined;
3785
1309
  };
3786
1310
  _input_in: {
3787
- changes: {
3788
- isForkable?: {
3789
- reason?: string | undefined;
3790
- proposedValue?: boolean | undefined;
3791
- } | undefined;
3792
- description?: {
3793
- reason?: string | undefined;
3794
- proposedValue?: string | undefined;
3795
- } | undefined;
3796
- iconUrl?: {
3797
- regenerate?: boolean | undefined;
3798
- reason?: string | undefined;
3799
- } | undefined;
3800
- displayName?: {
3801
- reason?: string | undefined;
3802
- proposedValue?: string | undefined;
3803
- } | undefined;
3804
- isPublic?: {
3805
- reason?: string | undefined;
3806
- proposedValue?: boolean | undefined;
3807
- } | undefined;
3808
- showWatermark?: {
3809
- reason?: string | undefined;
3810
- proposedValue?: boolean | undefined;
3811
- } | undefined;
3812
- customDomain?: {
3813
- reason?: string | undefined;
3814
- proposedValue?: string | null | undefined;
3815
- } | undefined;
3816
- };
3817
- explanation?: string | undefined;
3818
- };
1311
+ appId?: string | undefined;
1312
+ userId?: string | undefined;
1313
+ } | undefined;
3819
1314
  _input_out: {
3820
- changes: {
3821
- isForkable?: {
3822
- reason?: string | undefined;
3823
- proposedValue?: boolean | undefined;
3824
- } | undefined;
3825
- description?: {
3826
- reason?: string | undefined;
3827
- proposedValue?: string | undefined;
3828
- } | undefined;
3829
- iconUrl?: {
3830
- regenerate?: boolean | undefined;
3831
- reason?: string | undefined;
3832
- } | undefined;
3833
- displayName?: {
3834
- reason?: string | undefined;
3835
- proposedValue?: string | undefined;
3836
- } | undefined;
3837
- isPublic?: {
3838
- reason?: string | undefined;
3839
- proposedValue?: boolean | undefined;
3840
- } | undefined;
3841
- showWatermark?: {
3842
- reason?: string | undefined;
3843
- proposedValue?: boolean | undefined;
3844
- } | undefined;
3845
- customDomain?: {
3846
- reason?: string | undefined;
3847
- proposedValue?: string | null | undefined;
3848
- } | undefined;
3849
- };
3850
- explanation?: string | undefined;
3851
- };
1315
+ appId?: string | undefined;
1316
+ userId?: string | undefined;
1317
+ } | undefined;
3852
1318
  _output_in: typeof _trpc_server.unsetMarker;
3853
1319
  _output_out: typeof _trpc_server.unsetMarker;
3854
- }, string>>;
1320
+ }, {
1321
+ id: string;
1322
+ name: string;
1323
+ kind: $Enums.ProductKind;
1324
+ description: string;
1325
+ price: number;
1326
+ }[]>>;
3855
1327
  };
3856
- displayVisualModelsCompareTool: {
1328
+ discontinueProduct: {
3857
1329
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3858
1330
  _config: _trpc_server.RootConfig<{
3859
1331
  ctx: {
@@ -3880,6 +1352,7 @@ declare let client: {
3880
1352
  platformUserId?: string | null | undefined;
3881
1353
  agent?: string | null | undefined;
3882
1354
  sessionId?: string | null | undefined;
1355
+ pushToken?: string | null | undefined;
3883
1356
  };
3884
1357
  meta: object;
3885
1358
  errorShape: {
@@ -3920,20 +1393,21 @@ declare let client: {
3920
1393
  isDevelopment: boolean | null;
3921
1394
  agent: string | null | undefined;
3922
1395
  sessionId: string | null | undefined;
1396
+ pushToken: string | null | undefined;
3923
1397
  };
3924
1398
  _input_in: {
3925
- useCase: "image";
3926
- info?: string | undefined;
1399
+ productId: string;
1400
+ appId?: string | undefined;
3927
1401
  };
3928
1402
  _input_out: {
3929
- useCase: "image";
3930
- info?: string | undefined;
1403
+ productId: string;
1404
+ appId?: string | undefined;
3931
1405
  };
3932
1406
  _output_in: typeof _trpc_server.unsetMarker;
3933
1407
  _output_out: typeof _trpc_server.unsetMarker;
3934
- }, string>>;
1408
+ }, void>>;
3935
1409
  };
3936
- displayThirdPartyIntegrationTool: {
1410
+ getOAuthToken: {
3937
1411
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3938
1412
  _config: _trpc_server.RootConfig<{
3939
1413
  ctx: {
@@ -3960,6 +1434,7 @@ declare let client: {
3960
1434
  platformUserId?: string | null | undefined;
3961
1435
  agent?: string | null | undefined;
3962
1436
  sessionId?: string | null | undefined;
1437
+ pushToken?: string | null | undefined;
3963
1438
  };
3964
1439
  meta: object;
3965
1440
  errorShape: {
@@ -4000,26 +1475,27 @@ declare let client: {
4000
1475
  isDevelopment: boolean | null;
4001
1476
  agent: string | null | undefined;
4002
1477
  sessionId: string | null | undefined;
1478
+ pushToken: string | null | undefined;
4003
1479
  };
4004
1480
  _input_in: {
4005
- integration: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "AC1" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA";
4006
- scopes?: {
4007
- description: string;
4008
- scope: string;
4009
- }[] | undefined;
1481
+ connectionId: string;
1482
+ appId?: string | undefined;
4010
1483
  };
4011
1484
  _input_out: {
4012
- integration: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "AC1" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA";
4013
- scopes?: {
4014
- description: string;
4015
- scope: string;
4016
- }[] | undefined;
1485
+ connectionId: string;
1486
+ appId?: string | undefined;
4017
1487
  };
4018
1488
  _output_in: typeof _trpc_server.unsetMarker;
4019
1489
  _output_out: typeof _trpc_server.unsetMarker;
4020
- }, string>>;
1490
+ }, {
1491
+ connectionId: string;
1492
+ userId: string | null;
1493
+ accessToken: string | null;
1494
+ expiresAt: Date | null;
1495
+ scope: string[];
1496
+ }>>;
4021
1497
  };
4022
- scaffoldNewApp: {
1498
+ getOAuthConnectionForCurrentUser: {
4023
1499
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
4024
1500
  _config: _trpc_server.RootConfig<{
4025
1501
  ctx: {
@@ -4046,6 +1522,7 @@ declare let client: {
4046
1522
  platformUserId?: string | null | undefined;
4047
1523
  agent?: string | null | undefined;
4048
1524
  sessionId?: string | null | undefined;
1525
+ pushToken?: string | null | undefined;
4049
1526
  };
4050
1527
  meta: object;
4051
1528
  errorShape: {
@@ -4086,22 +1563,30 @@ declare let client: {
4086
1563
  isDevelopment: boolean | null;
4087
1564
  agent: string | null | undefined;
4088
1565
  sessionId: string | null | undefined;
1566
+ pushToken: string | null | undefined;
4089
1567
  };
4090
1568
  _input_in: {
4091
- name: string;
4092
- description: string;
4093
- slug: string;
1569
+ scope: string[];
1570
+ provider: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA" | "PLAID";
1571
+ appId?: string | undefined;
1572
+ required?: boolean | undefined;
4094
1573
  };
4095
1574
  _input_out: {
4096
- name: string;
4097
- description: string;
4098
- slug: string;
1575
+ scope: string[];
1576
+ provider: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA" | "PLAID";
1577
+ appId?: string | undefined;
1578
+ required?: boolean | undefined;
4099
1579
  };
4100
1580
  _output_in: typeof _trpc_server.unsetMarker;
4101
1581
  _output_out: typeof _trpc_server.unsetMarker;
4102
- }, string>>;
1582
+ }, {
1583
+ id: string;
1584
+ provider: string;
1585
+ userId: string | undefined;
1586
+ scope: string[];
1587
+ } | null>>;
4103
1588
  };
4104
- sendSms: {
1589
+ isPermissionGranted: {
4105
1590
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
4106
1591
  _config: _trpc_server.RootConfig<{
4107
1592
  ctx: {
@@ -4128,6 +1613,7 @@ declare let client: {
4128
1613
  platformUserId?: string | null | undefined;
4129
1614
  agent?: string | null | undefined;
4130
1615
  sessionId?: string | null | undefined;
1616
+ pushToken?: string | null | undefined;
4131
1617
  };
4132
1618
  meta: object;
4133
1619
  errorShape: {
@@ -4168,20 +1654,25 @@ declare let client: {
4168
1654
  isDevelopment: boolean | null;
4169
1655
  agent: string | null | undefined;
4170
1656
  sessionId: string | null | undefined;
1657
+ pushToken: string | null | undefined;
4171
1658
  };
4172
1659
  _input_in: {
4173
- toUserId: string;
4174
- body: string;
1660
+ userId: string;
1661
+ scope: string;
1662
+ provider: string;
1663
+ appId?: string | undefined;
4175
1664
  };
4176
1665
  _input_out: {
4177
- toUserId: string;
4178
- body: string;
1666
+ userId: string;
1667
+ scope: string;
1668
+ provider: string;
1669
+ appId?: string | undefined;
4179
1670
  };
4180
1671
  _output_in: typeof _trpc_server.unsetMarker;
4181
1672
  _output_out: typeof _trpc_server.unsetMarker;
4182
- }, void>>;
1673
+ }, boolean>>;
4183
1674
  };
4184
- isAppOwner: {
1675
+ getOAuthConnection: {
4185
1676
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
4186
1677
  _config: _trpc_server.RootConfig<{
4187
1678
  ctx: {
@@ -4208,6 +1699,7 @@ declare let client: {
4208
1699
  platformUserId?: string | null | undefined;
4209
1700
  agent?: string | null | undefined;
4210
1701
  sessionId?: string | null | undefined;
1702
+ pushToken?: string | null | undefined;
4211
1703
  };
4212
1704
  meta: object;
4213
1705
  errorShape: {
@@ -4248,14 +1740,26 @@ declare let client: {
4248
1740
  isDevelopment: boolean | null;
4249
1741
  agent: string | null | undefined;
4250
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;
4251
1752
  };
4252
- _input_in: typeof _trpc_server.unsetMarker;
4253
- _input_out: typeof _trpc_server.unsetMarker;
4254
1753
  _output_in: typeof _trpc_server.unsetMarker;
4255
1754
  _output_out: typeof _trpc_server.unsetMarker;
4256
- }, boolean>>;
1755
+ }, {
1756
+ id: string;
1757
+ provider: string;
1758
+ userId: string | undefined;
1759
+ scope: string[];
1760
+ }>>;
4257
1761
  };
4258
- createRuntimeLogs: {
1762
+ queryOAuthConnections: {
4259
1763
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
4260
1764
  _config: _trpc_server.RootConfig<{
4261
1765
  ctx: {
@@ -4282,6 +1786,7 @@ declare let client: {
4282
1786
  platformUserId?: string | null | undefined;
4283
1787
  agent?: string | null | undefined;
4284
1788
  sessionId?: string | null | undefined;
1789
+ pushToken?: string | null | undefined;
4285
1790
  };
4286
1791
  meta: object;
4287
1792
  errorShape: {
@@ -4322,24 +1827,30 @@ declare let client: {
4322
1827
  isDevelopment: boolean | null;
4323
1828
  agent: string | null | undefined;
4324
1829
  sessionId: string | null | undefined;
1830
+ pushToken: string | null | undefined;
4325
1831
  };
4326
1832
  _input_in: {
4327
- logs: {
4328
- type: string;
4329
- args?: any;
4330
- }[];
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;
4331
1837
  };
4332
1838
  _input_out: {
4333
- logs: {
4334
- type: string;
4335
- args?: any;
4336
- }[];
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;
4337
1843
  };
4338
1844
  _output_in: typeof _trpc_server.unsetMarker;
4339
1845
  _output_out: typeof _trpc_server.unsetMarker;
4340
- }, void>>;
1846
+ }, {
1847
+ id: string;
1848
+ provider: string;
1849
+ userId: string | undefined;
1850
+ scope: string[];
1851
+ }[]>>;
4341
1852
  };
4342
- createCommitLogs: {
1853
+ deleteOAuthConnection: {
4343
1854
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
4344
1855
  _config: _trpc_server.RootConfig<{
4345
1856
  ctx: {
@@ -4366,6 +1877,7 @@ declare let client: {
4366
1877
  platformUserId?: string | null | undefined;
4367
1878
  agent?: string | null | undefined;
4368
1879
  sessionId?: string | null | undefined;
1880
+ pushToken?: string | null | undefined;
4369
1881
  };
4370
1882
  meta: object;
4371
1883
  errorShape: {
@@ -4406,24 +1918,23 @@ declare let client: {
4406
1918
  isDevelopment: boolean | null;
4407
1919
  agent: string | null | undefined;
4408
1920
  sessionId: string | null | undefined;
1921
+ pushToken: string | null | undefined;
4409
1922
  };
4410
1923
  _input_in: {
4411
- logs: {
4412
- body?: any;
4413
- stmt?: any;
4414
- }[];
1924
+ connectionId: string;
1925
+ appId?: string | undefined;
4415
1926
  };
4416
1927
  _input_out: {
4417
- logs: {
4418
- body?: any;
4419
- stmt?: any;
4420
- }[];
1928
+ connectionId: string;
1929
+ appId?: string | undefined;
4421
1930
  };
4422
1931
  _output_in: typeof _trpc_server.unsetMarker;
4423
1932
  _output_out: typeof _trpc_server.unsetMarker;
4424
- }, void>>;
1933
+ }, {
1934
+ readonly ok: true;
1935
+ }>>;
4425
1936
  };
4426
- searchWithGoogle: {
1937
+ searchTheWeb: {
4427
1938
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
4428
1939
  _config: _trpc_server.RootConfig<{
4429
1940
  ctx: {
@@ -4450,6 +1961,7 @@ declare let client: {
4450
1961
  platformUserId?: string | null | undefined;
4451
1962
  agent?: string | null | undefined;
4452
1963
  sessionId?: string | null | undefined;
1964
+ pushToken?: string | null | undefined;
4453
1965
  };
4454
1966
  meta: object;
4455
1967
  errorShape: {
@@ -4490,24 +2002,25 @@ declare let client: {
4490
2002
  isDevelopment: boolean | null;
4491
2003
  agent: string | null | undefined;
4492
2004
  sessionId: string | null | undefined;
2005
+ pushToken: string | null | undefined;
4493
2006
  };
4494
2007
  _input_in: {
4495
2008
  query: string;
2009
+ allowedDomains?: string[] | undefined;
2010
+ blockedDomains?: string[] | undefined;
4496
2011
  };
4497
2012
  _input_out: {
4498
2013
  query: string;
2014
+ allowedDomains?: string[] | undefined;
2015
+ blockedDomains?: string[] | undefined;
4499
2016
  };
4500
2017
  _output_in: typeof _trpc_server.unsetMarker;
4501
2018
  _output_out: typeof _trpc_server.unsetMarker;
4502
2019
  }, {
4503
- answer: string | undefined;
4504
- sources: {
4505
- title: string;
4506
- url: string;
4507
- }[];
2020
+ response: string;
4508
2021
  }>>;
4509
2022
  };
4510
- requestMultimodalModel: {
2023
+ textToSpeech: {
4511
2024
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
4512
2025
  _config: _trpc_server.RootConfig<{
4513
2026
  ctx: {
@@ -4534,6 +2047,7 @@ declare let client: {
4534
2047
  platformUserId?: string | null | undefined;
4535
2048
  agent?: string | null | undefined;
4536
2049
  sessionId?: string | null | undefined;
2050
+ pushToken?: string | null | undefined;
4537
2051
  };
4538
2052
  meta: object;
4539
2053
  errorShape: {
@@ -4574,30 +2088,29 @@ declare let client: {
4574
2088
  isDevelopment: boolean | null;
4575
2089
  agent: string | null | undefined;
4576
2090
  sessionId: string | null | undefined;
2091
+ pushToken: string | null | undefined;
4577
2092
  };
4578
2093
  _input_in: {
4579
- messages: any[];
4580
- system?: string | undefined;
4581
- model?: "small" | "medium" | "large" | undefined;
4582
- returnType?: any;
4583
- realtimeChannelId?: string | undefined;
4584
- temperature?: number | undefined;
4585
- customTools?: any[] | undefined;
2094
+ text: string;
2095
+ voice?: "Will" | "Brian" | "George" | "Jessica" | "Liam" | "Alice" | "Sarah" | "Charlotte" | "Matilda" | "Eric" | "Alloy" | "Ash" | "Ballad" | "Coral" | "Echo" | "Fable" | "Nova" | "Onyx" | "Sage" | "Shimmer" | undefined;
4586
2096
  };
4587
2097
  _input_out: {
4588
- messages: any[];
4589
- temperature: number;
4590
- system?: string | undefined;
4591
- model?: "small" | "medium" | "large" | undefined;
4592
- returnType?: any;
4593
- realtimeChannelId?: string | undefined;
4594
- customTools?: any[] | undefined;
2098
+ text: string;
2099
+ voice?: "Will" | "Brian" | "George" | "Jessica" | "Liam" | "Alice" | "Sarah" | "Charlotte" | "Matilda" | "Eric" | "Alloy" | "Ash" | "Ballad" | "Coral" | "Echo" | "Fable" | "Nova" | "Onyx" | "Sage" | "Shimmer" | undefined;
4595
2100
  };
4596
- _output_in: typeof _trpc_server.unsetMarker;
4597
- _output_out: typeof _trpc_server.unsetMarker;
4598
- }, object>>;
2101
+ _output_in: {
2102
+ model: string;
2103
+ audioUrl: string;
2104
+ duration?: number | undefined;
2105
+ };
2106
+ _output_out: {
2107
+ model: string;
2108
+ audioUrl: string;
2109
+ duration?: number | undefined;
2110
+ };
2111
+ }, unknown>>;
4599
2112
  };
4600
- getTaskStatus: {
2113
+ textToImage: {
4601
2114
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
4602
2115
  _config: _trpc_server.RootConfig<{
4603
2116
  ctx: {
@@ -4624,6 +2137,7 @@ declare let client: {
4624
2137
  platformUserId?: string | null | undefined;
4625
2138
  agent?: string | null | undefined;
4626
2139
  sessionId?: string | null | undefined;
2140
+ pushToken?: string | null | undefined;
4627
2141
  };
4628
2142
  meta: object;
4629
2143
  errorShape: {
@@ -4664,26 +2178,28 @@ declare let client: {
4664
2178
  isDevelopment: boolean | null;
4665
2179
  agent: string | null | undefined;
4666
2180
  sessionId: string | null | undefined;
2181
+ pushToken: string | null | undefined;
4667
2182
  };
4668
2183
  _input_in: {
4669
- id: string;
2184
+ text: string;
2185
+ size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | undefined;
4670
2186
  };
4671
2187
  _input_out: {
4672
- id: string;
2188
+ text: string;
2189
+ size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | undefined;
4673
2190
  };
4674
- _output_in: typeof _trpc_server.unsetMarker;
4675
- _output_out: typeof _trpc_server.unsetMarker;
4676
- }, {
4677
- status: "RUNNING" | "COMPLETED" | "FAILED";
4678
- id: string;
4679
- error?: any;
4680
- } | {
4681
- id: string;
4682
- status: "UNKNOWN";
4683
- }>>;
2191
+ _output_in: {
2192
+ model: string;
2193
+ imageUrl: string;
2194
+ };
2195
+ _output_out: {
2196
+ model: string;
2197
+ imageUrl: string;
2198
+ };
2199
+ }, unknown>>;
4684
2200
  };
4685
- upsertTaskStatus: {
4686
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
2201
+ health: {
2202
+ query: _trpc_client.Resolver<_trpc_server.BuildProcedure<"query", {
4687
2203
  _config: _trpc_server.RootConfig<{
4688
2204
  ctx: {
4689
2205
  appId: string;
@@ -4709,6 +2225,7 @@ declare let client: {
4709
2225
  platformUserId?: string | null | undefined;
4710
2226
  agent?: string | null | undefined;
4711
2227
  sessionId?: string | null | undefined;
2228
+ pushToken?: string | null | undefined;
4712
2229
  };
4713
2230
  meta: object;
4714
2231
  errorShape: {
@@ -4749,26 +2266,17 @@ declare let client: {
4749
2266
  isDevelopment: boolean | null;
4750
2267
  agent: string | null | undefined;
4751
2268
  sessionId: string | null | undefined;
2269
+ pushToken: string | null | undefined;
4752
2270
  };
4753
- _input_in: {
4754
- status: "RUNNING" | "COMPLETED" | "FAILED";
4755
- id?: string | undefined;
4756
- error?: any;
4757
- };
4758
- _input_out: {
4759
- status: "RUNNING" | "COMPLETED" | "FAILED";
4760
- id?: string | undefined;
4761
- error?: any;
4762
- };
2271
+ _input_in: typeof _trpc_server.unsetMarker;
2272
+ _input_out: typeof _trpc_server.unsetMarker;
4763
2273
  _output_in: typeof _trpc_server.unsetMarker;
4764
2274
  _output_out: typeof _trpc_server.unsetMarker;
4765
2275
  }, {
4766
- id: string;
4767
- status: "RUNNING" | "COMPLETED" | "FAILED";
4768
- error: any;
2276
+ status: string;
4769
2277
  }>>;
4770
2278
  };
4771
- getGuestServerInfo: {
2279
+ generateCrossAppToken: {
4772
2280
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
4773
2281
  _config: _trpc_server.RootConfig<{
4774
2282
  ctx: {
@@ -4795,6 +2303,7 @@ declare let client: {
4795
2303
  platformUserId?: string | null | undefined;
4796
2304
  agent?: string | null | undefined;
4797
2305
  sessionId?: string | null | undefined;
2306
+ pushToken?: string | null | undefined;
4798
2307
  };
4799
2308
  meta: object;
4800
2309
  errorShape: {
@@ -4835,23 +2344,17 @@ declare let client: {
4835
2344
  isDevelopment: boolean | null;
4836
2345
  agent: string | null | undefined;
4837
2346
  sessionId: string | null | undefined;
2347
+ pushToken: string | null | undefined;
2348
+ };
2349
+ _input_in: {
2350
+ appId: string;
2351
+ };
2352
+ _input_out: {
2353
+ appId: string;
4838
2354
  };
4839
- _input_in: typeof _trpc_server.unsetMarker;
4840
- _input_out: typeof _trpc_server.unsetMarker;
4841
2355
  _output_in: typeof _trpc_server.unsetMarker;
4842
2356
  _output_out: typeof _trpc_server.unsetMarker;
4843
- }, {
4844
- backendCode: string | null;
4845
- backendCodeUrl: string | null;
4846
- envVars: Record<string, string>;
4847
- connectionInfo: {
4848
- authToken: string;
4849
- url: string;
4850
- } | null;
4851
- appUrl: string;
4852
- appSubdomain: string;
4853
- appName: string;
4854
- }>>;
2357
+ }, string>>;
4855
2358
  };
4856
2359
  };
4857
2360
  export declare function initializeServerEnvironment({ baseUrl, realtimeDomain, guestServicesUrl, }: {