@adaptive-ai/sdk 0.1.3 → 0.1.4

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,19 +128,6 @@ 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: {
147
132
  readonly GITHUB_USER: "GITHUB_USER";
148
133
  readonly GITHUB_BOT: "GITHUB_BOT";
@@ -183,160 +168,6 @@ export interface EmailHandlerInput {
183
168
  fromUserId: string;
184
169
  }
185
170
  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
171
  getCurrentUser: {
341
172
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
342
173
  _config: _trpc_server.RootConfig<{
@@ -583,16 +414,16 @@ declare let client: {
583
414
  };
584
415
  _input_in: {
585
416
  appId?: string | undefined;
417
+ email?: string | undefined;
586
418
  markdown?: string | undefined;
587
419
  subject?: string | undefined;
588
- email?: string | undefined;
589
420
  unauthenticatedLinks?: boolean | undefined;
590
421
  };
591
422
  _input_out: {
592
423
  appId?: string | undefined;
424
+ email?: string | undefined;
593
425
  markdown?: string | undefined;
594
426
  subject?: string | undefined;
595
- email?: string | undefined;
596
427
  unauthenticatedLinks?: boolean | undefined;
597
428
  };
598
429
  _output_in: typeof _trpc_server.unsetMarker;
@@ -751,2465 +582,21 @@ declare let client: {
751
582
  };
752
583
  _input_in: {
753
584
  text: string;
754
- durationInSeconds?: number | undefined;
755
- promptInfluence?: number | undefined;
756
- loop?: boolean | undefined;
757
- };
758
- _input_out: {
759
- text: string;
760
- durationInSeconds?: number | undefined;
761
- promptInfluence?: number | undefined;
762
- loop?: boolean | undefined;
763
- };
764
- _output_in: typeof _trpc_server.unsetMarker;
765
- _output_out: typeof _trpc_server.unsetMarker;
766
- }, string>>;
767
- };
768
- generateDialogue: {
769
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
770
- _config: _trpc_server.RootConfig<{
771
- ctx: {
772
- appId: string;
773
- versionId: string;
774
- appName: string;
775
- appSubdomain: string;
776
- userId: string;
777
- isTesting: boolean;
778
- rpcMethod: string;
779
- requestId: string;
780
- type?: undefined;
781
- dbUrl?: string | null | undefined;
782
- userIdActual?: string | null | undefined;
783
- channelId?: string | null | undefined;
784
- } | {
785
- type: "BOXMAN_REQUEST";
786
- boxId: string;
787
- isDevelopment: boolean | null;
788
- appId?: string | null | undefined;
789
- rpcMethod?: string | null | undefined;
790
- requestId?: string | null | undefined;
791
- channelId?: string | null | undefined;
792
- platformUserId?: string | null | undefined;
793
- agent?: string | null | undefined;
794
- sessionId?: string | null | undefined;
795
- };
796
- meta: object;
797
- errorShape: {
798
- data: {
799
- zodError: typeToFlattenedError<any, string> | null;
800
- code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
801
- httpStatus: number;
802
- path?: string;
803
- stack?: string;
804
- };
805
- message: string;
806
- code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
807
- };
808
- transformer: typeof superjson;
809
- }>;
810
- _meta: object;
811
- _ctx_out: {
812
- type: undefined;
813
- appId: string;
814
- versionId: string;
815
- dbUrl: string | null | undefined;
816
- appName: string;
817
- appSubdomain: string;
818
- userId: string;
819
- userIdActual: string | null | undefined;
820
- isTesting: boolean;
821
- rpcMethod: string;
822
- requestId: string;
823
- channelId: string | null | undefined;
824
- } | {
825
- type: "BOXMAN_REQUEST";
826
- appId: string | null | undefined;
827
- rpcMethod: string | null | undefined;
828
- requestId: string | null | undefined;
829
- channelId: string | null | undefined;
830
- boxId: string;
831
- platformUserId: string | null | undefined;
832
- isDevelopment: boolean | null;
833
- agent: string | null | undefined;
834
- sessionId: string | null | undefined;
835
- };
836
- _input_in: {
837
- inputs: {
838
- text: string;
839
- character: string;
840
- }[];
841
- };
842
- _input_out: {
843
- inputs: {
844
- text: string;
845
- character: string;
846
- }[];
847
- };
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;
928
- };
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;
585
+ durationInSeconds?: number | undefined;
586
+ promptInfluence?: number | undefined;
587
+ loop?: boolean | undefined;
3203
588
  };
3204
589
  _input_out: {
3205
- target: "app" | "home";
3206
- appId?: string | undefined;
590
+ text: string;
591
+ durationInSeconds?: number | undefined;
592
+ promptInfluence?: number | undefined;
593
+ loop?: boolean | undefined;
3207
594
  };
3208
595
  _output_in: typeof _trpc_server.unsetMarker;
3209
596
  _output_out: typeof _trpc_server.unsetMarker;
3210
597
  }, string>>;
3211
598
  };
3212
- getComputerContext: {
599
+ generateDialogue: {
3213
600
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3214
601
  _config: _trpc_server.RootConfig<{
3215
602
  ctx: {
@@ -3277,23 +664,26 @@ declare let client: {
3277
664
  agent: string | null | undefined;
3278
665
  sessionId: string | null | undefined;
3279
666
  };
3280
- _input_in: {};
3281
- _input_out: {};
667
+ _input_in: {
668
+ inputs: {
669
+ text: string;
670
+ character: string;
671
+ }[];
672
+ };
673
+ _input_out: {
674
+ inputs: {
675
+ text: string;
676
+ character: string;
677
+ }[];
678
+ };
3282
679
  _output_in: typeof _trpc_server.unsetMarker;
3283
680
  _output_out: typeof _trpc_server.unsetMarker;
3284
681
  }, {
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.">>;
682
+ url: string;
683
+ duration: number | undefined;
684
+ }>>;
3295
685
  };
3296
- textToImage: {
686
+ generateMusic: {
3297
687
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3298
688
  _config: _trpc_server.RootConfig<{
3299
689
  ctx: {
@@ -3363,17 +753,15 @@ declare let client: {
3363
753
  };
3364
754
  _input_in: {
3365
755
  text: string;
3366
- size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | undefined;
3367
756
  };
3368
757
  _input_out: {
3369
758
  text: string;
3370
- size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | undefined;
3371
759
  };
3372
760
  _output_in: typeof _trpc_server.unsetMarker;
3373
761
  _output_out: typeof _trpc_server.unsetMarker;
3374
762
  }, string>>;
3375
763
  };
3376
- startTask: {
764
+ extractStructuredDataFromContent: {
3377
765
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3378
766
  _config: _trpc_server.RootConfig<{
3379
767
  ctx: {
@@ -3442,29 +830,20 @@ declare let client: {
3442
830
  sessionId: string | null | undefined;
3443
831
  };
3444
832
  _input_in: {
3445
- type: "CREATE_APP" | "EDIT_APP" | "OTHER";
3446
- prompt: string;
3447
- purpose: string;
3448
- previousSessionId?: string | undefined;
833
+ base64?: string | undefined;
834
+ url?: string | undefined;
835
+ schema?: any;
3449
836
  };
3450
837
  _input_out: {
3451
- type: "CREATE_APP" | "EDIT_APP" | "OTHER";
3452
- prompt: string;
3453
- purpose: string;
3454
- previousSessionId?: string | undefined;
838
+ base64?: string | undefined;
839
+ url?: string | undefined;
840
+ schema?: any;
3455
841
  };
3456
842
  _output_in: typeof _trpc_server.unsetMarker;
3457
843
  _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
- }>>;
844
+ }, object>>;
3466
845
  };
3467
- stopTask: {
846
+ extractTextFromContent: {
3468
847
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3469
848
  _config: _trpc_server.RootConfig<{
3470
849
  ctx: {
@@ -3533,19 +912,20 @@ declare let client: {
3533
912
  sessionId: string | null | undefined;
3534
913
  };
3535
914
  _input_in: {
3536
- taskId: string;
915
+ base64?: string | undefined;
916
+ url?: string | undefined;
917
+ outputFormat?: "raw" | "formatted-markdown" | undefined;
3537
918
  };
3538
919
  _input_out: {
3539
- taskId: string;
920
+ base64?: string | undefined;
921
+ url?: string | undefined;
922
+ outputFormat?: "raw" | "formatted-markdown" | undefined;
3540
923
  };
3541
924
  _output_in: typeof _trpc_server.unsetMarker;
3542
925
  _output_out: typeof _trpc_server.unsetMarker;
3543
- }, {
3544
- id: string;
3545
- stopped: boolean;
3546
- }>>;
926
+ }, string>>;
3547
927
  };
3548
- displayVoicesCatalogTool: {
928
+ createProduct: {
3549
929
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3550
930
  _config: _trpc_server.RootConfig<{
3551
931
  ctx: {
@@ -3614,22 +994,31 @@ declare let client: {
3614
994
  sessionId: string | null | undefined;
3615
995
  };
3616
996
  _input_in: {
3617
- selectionMode: "single" | "multiple";
3618
- useCase: "tts" | "dialogue";
3619
- info?: string | undefined;
3620
- maxSelections?: number | undefined;
997
+ name: string;
998
+ kind: "IN_APP_PURCHASE" | "SUBSCRIPTION";
999
+ description: string;
1000
+ price: number;
1001
+ appId?: string | undefined;
3621
1002
  };
3622
1003
  _input_out: {
3623
- selectionMode: "single" | "multiple";
3624
- useCase: "tts" | "dialogue";
3625
- info?: string | undefined;
3626
- maxSelections?: number | undefined;
1004
+ name: string;
1005
+ kind: "IN_APP_PURCHASE" | "SUBSCRIPTION";
1006
+ description: string;
1007
+ price: number;
1008
+ appId?: string | undefined;
3627
1009
  };
3628
1010
  _output_in: typeof _trpc_server.unsetMarker;
3629
1011
  _output_out: typeof _trpc_server.unsetMarker;
3630
- }, string>>;
1012
+ }, {
1013
+ purchaseLink: string;
1014
+ id: string;
1015
+ name: string;
1016
+ kind: $Enums.ProductKind;
1017
+ description: string;
1018
+ price: number;
1019
+ }>>;
3631
1020
  };
3632
- requestEnvironmentVariablesTool: {
1021
+ listProducts: {
3633
1022
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3634
1023
  _config: _trpc_server.RootConfig<{
3635
1024
  ctx: {
@@ -3698,24 +1087,23 @@ declare let client: {
3698
1087
  sessionId: string | null | undefined;
3699
1088
  };
3700
1089
  _input_in: {
3701
- missingVariables: {
3702
- key: string;
3703
- instructions: string;
3704
- exampleValue?: string | undefined;
3705
- }[];
3706
- };
1090
+ appId?: string | undefined;
1091
+ } | undefined;
3707
1092
  _input_out: {
3708
- missingVariables: {
3709
- key: string;
3710
- instructions: string;
3711
- exampleValue?: string | undefined;
3712
- }[];
3713
- };
1093
+ appId?: string | undefined;
1094
+ } | undefined;
3714
1095
  _output_in: typeof _trpc_server.unsetMarker;
3715
1096
  _output_out: typeof _trpc_server.unsetMarker;
3716
- }, string>>;
1097
+ }, {
1098
+ purchaseLink: string;
1099
+ id: string;
1100
+ name: string;
1101
+ kind: $Enums.ProductKind;
1102
+ description: string;
1103
+ price: number;
1104
+ }[]>>;
3717
1105
  };
3718
- proposeAppSettingsTool: {
1106
+ listUserPurchases: {
3719
1107
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3720
1108
  _config: _trpc_server.RootConfig<{
3721
1109
  ctx: {
@@ -3784,76 +1172,24 @@ declare let client: {
3784
1172
  sessionId: string | null | undefined;
3785
1173
  };
3786
1174
  _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
- };
1175
+ appId?: string | undefined;
1176
+ userId?: string | undefined;
1177
+ } | undefined;
3819
1178
  _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
- };
1179
+ appId?: string | undefined;
1180
+ userId?: string | undefined;
1181
+ } | undefined;
3852
1182
  _output_in: typeof _trpc_server.unsetMarker;
3853
1183
  _output_out: typeof _trpc_server.unsetMarker;
3854
- }, string>>;
1184
+ }, {
1185
+ id: string;
1186
+ name: string;
1187
+ kind: $Enums.ProductKind;
1188
+ description: string;
1189
+ price: number;
1190
+ }[]>>;
3855
1191
  };
3856
- displayVisualModelsCompareTool: {
1192
+ discontinueProduct: {
3857
1193
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3858
1194
  _config: _trpc_server.RootConfig<{
3859
1195
  ctx: {
@@ -3922,18 +1258,18 @@ declare let client: {
3922
1258
  sessionId: string | null | undefined;
3923
1259
  };
3924
1260
  _input_in: {
3925
- useCase: "image";
3926
- info?: string | undefined;
1261
+ productId: string;
1262
+ appId?: string | undefined;
3927
1263
  };
3928
1264
  _input_out: {
3929
- useCase: "image";
3930
- info?: string | undefined;
1265
+ productId: string;
1266
+ appId?: string | undefined;
3931
1267
  };
3932
1268
  _output_in: typeof _trpc_server.unsetMarker;
3933
1269
  _output_out: typeof _trpc_server.unsetMarker;
3934
- }, string>>;
1270
+ }, void>>;
3935
1271
  };
3936
- displayThirdPartyIntegrationTool: {
1272
+ getOAuthToken: {
3937
1273
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
3938
1274
  _config: _trpc_server.RootConfig<{
3939
1275
  ctx: {
@@ -4002,24 +1338,24 @@ declare let client: {
4002
1338
  sessionId: string | null | undefined;
4003
1339
  };
4004
1340
  _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;
1341
+ connectionId: string;
1342
+ appId?: string | undefined;
4010
1343
  };
4011
1344
  _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;
1345
+ connectionId: string;
1346
+ appId?: string | undefined;
4017
1347
  };
4018
1348
  _output_in: typeof _trpc_server.unsetMarker;
4019
1349
  _output_out: typeof _trpc_server.unsetMarker;
4020
- }, string>>;
1350
+ }, {
1351
+ connectionId: string;
1352
+ userId: string | null;
1353
+ accessToken: string | null;
1354
+ expiresAt: Date | null;
1355
+ scope: string[];
1356
+ }>>;
4021
1357
  };
4022
- scaffoldNewApp: {
1358
+ getOAuthConnectionForCurrentUser: {
4023
1359
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
4024
1360
  _config: _trpc_server.RootConfig<{
4025
1361
  ctx: {
@@ -4088,20 +1424,27 @@ declare let client: {
4088
1424
  sessionId: string | null | undefined;
4089
1425
  };
4090
1426
  _input_in: {
4091
- name: string;
4092
- description: string;
4093
- slug: string;
1427
+ scope: string[];
1428
+ provider: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "AC1" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA";
1429
+ appId?: string | undefined;
1430
+ required?: boolean | undefined;
4094
1431
  };
4095
1432
  _input_out: {
4096
- name: string;
4097
- description: string;
4098
- slug: string;
1433
+ scope: string[];
1434
+ provider: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "AC1" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA";
1435
+ appId?: string | undefined;
1436
+ required?: boolean | undefined;
4099
1437
  };
4100
1438
  _output_in: typeof _trpc_server.unsetMarker;
4101
1439
  _output_out: typeof _trpc_server.unsetMarker;
4102
- }, string>>;
1440
+ }, {
1441
+ id: string;
1442
+ provider: string;
1443
+ userId: string | undefined;
1444
+ scope: string[];
1445
+ } | null>>;
4103
1446
  };
4104
- sendSms: {
1447
+ isPermissionGranted: {
4105
1448
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
4106
1449
  _config: _trpc_server.RootConfig<{
4107
1450
  ctx: {
@@ -4170,18 +1513,22 @@ declare let client: {
4170
1513
  sessionId: string | null | undefined;
4171
1514
  };
4172
1515
  _input_in: {
4173
- toUserId: string;
4174
- body: string;
1516
+ userId: string;
1517
+ scope: string;
1518
+ provider: string;
1519
+ appId?: string | undefined;
4175
1520
  };
4176
1521
  _input_out: {
4177
- toUserId: string;
4178
- body: string;
1522
+ userId: string;
1523
+ scope: string;
1524
+ provider: string;
1525
+ appId?: string | undefined;
4179
1526
  };
4180
1527
  _output_in: typeof _trpc_server.unsetMarker;
4181
1528
  _output_out: typeof _trpc_server.unsetMarker;
4182
- }, void>>;
1529
+ }, boolean>>;
4183
1530
  };
4184
- isAppOwner: {
1531
+ getOAuthConnection: {
4185
1532
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
4186
1533
  _config: _trpc_server.RootConfig<{
4187
1534
  ctx: {
@@ -4249,13 +1596,24 @@ declare let client: {
4249
1596
  agent: string | null | undefined;
4250
1597
  sessionId: string | null | undefined;
4251
1598
  };
4252
- _input_in: typeof _trpc_server.unsetMarker;
4253
- _input_out: typeof _trpc_server.unsetMarker;
1599
+ _input_in: {
1600
+ connectionId: string;
1601
+ appId?: string | undefined;
1602
+ };
1603
+ _input_out: {
1604
+ connectionId: string;
1605
+ appId?: string | undefined;
1606
+ };
4254
1607
  _output_in: typeof _trpc_server.unsetMarker;
4255
1608
  _output_out: typeof _trpc_server.unsetMarker;
4256
- }, boolean>>;
1609
+ }, {
1610
+ id: string;
1611
+ provider: string;
1612
+ userId: string | undefined;
1613
+ scope: string[];
1614
+ }>>;
4257
1615
  };
4258
- createRuntimeLogs: {
1616
+ queryOAuthConnections: {
4259
1617
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
4260
1618
  _config: _trpc_server.RootConfig<{
4261
1619
  ctx: {
@@ -4324,22 +1682,27 @@ declare let client: {
4324
1682
  sessionId: string | null | undefined;
4325
1683
  };
4326
1684
  _input_in: {
4327
- logs: {
4328
- type: string;
4329
- args?: any;
4330
- }[];
1685
+ appId?: string | undefined;
1686
+ userId?: string | undefined;
1687
+ scope?: string[] | undefined;
1688
+ provider?: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "AC1" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA" | undefined;
4331
1689
  };
4332
1690
  _input_out: {
4333
- logs: {
4334
- type: string;
4335
- args?: any;
4336
- }[];
1691
+ appId?: string | undefined;
1692
+ userId?: string | undefined;
1693
+ scope?: string[] | undefined;
1694
+ provider?: "GITHUB_USER" | "GITHUB_BOT" | "GOOGLE" | "AC1" | "SLACK" | "SLACK_BOT" | "DISCORD" | "NOTION" | "TWITTER" | "LINKEDIN" | "YAHOO" | "FIGMA" | undefined;
4337
1695
  };
4338
1696
  _output_in: typeof _trpc_server.unsetMarker;
4339
1697
  _output_out: typeof _trpc_server.unsetMarker;
4340
- }, void>>;
1698
+ }, {
1699
+ id: string;
1700
+ provider: string;
1701
+ userId: string | undefined;
1702
+ scope: string[];
1703
+ }[]>>;
4341
1704
  };
4342
- createCommitLogs: {
1705
+ deleteOAuthConnection: {
4343
1706
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
4344
1707
  _config: _trpc_server.RootConfig<{
4345
1708
  ctx: {
@@ -4408,22 +1771,20 @@ declare let client: {
4408
1771
  sessionId: string | null | undefined;
4409
1772
  };
4410
1773
  _input_in: {
4411
- logs: {
4412
- body?: any;
4413
- stmt?: any;
4414
- }[];
1774
+ connectionId: string;
1775
+ appId?: string | undefined;
4415
1776
  };
4416
1777
  _input_out: {
4417
- logs: {
4418
- body?: any;
4419
- stmt?: any;
4420
- }[];
1778
+ connectionId: string;
1779
+ appId?: string | undefined;
4421
1780
  };
4422
1781
  _output_in: typeof _trpc_server.unsetMarker;
4423
1782
  _output_out: typeof _trpc_server.unsetMarker;
4424
- }, void>>;
1783
+ }, {
1784
+ readonly ok: true;
1785
+ }>>;
4425
1786
  };
4426
- searchWithGoogle: {
1787
+ searchTheWeb: {
4427
1788
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
4428
1789
  _config: _trpc_server.RootConfig<{
4429
1790
  ctx: {
@@ -4493,21 +1854,21 @@ declare let client: {
4493
1854
  };
4494
1855
  _input_in: {
4495
1856
  query: string;
1857
+ allowedDomains?: string[] | undefined;
1858
+ blockedDomains?: string[] | undefined;
4496
1859
  };
4497
1860
  _input_out: {
4498
1861
  query: string;
1862
+ allowedDomains?: string[] | undefined;
1863
+ blockedDomains?: string[] | undefined;
4499
1864
  };
4500
1865
  _output_in: typeof _trpc_server.unsetMarker;
4501
1866
  _output_out: typeof _trpc_server.unsetMarker;
4502
1867
  }, {
4503
- answer: string | undefined;
4504
- sources: {
4505
- title: string;
4506
- url: string;
4507
- }[];
1868
+ response: string;
4508
1869
  }>>;
4509
1870
  };
4510
- requestMultimodalModel: {
1871
+ textToSpeech: {
4511
1872
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
4512
1873
  _config: _trpc_server.RootConfig<{
4513
1874
  ctx: {
@@ -4576,28 +1937,21 @@ declare let client: {
4576
1937
  sessionId: string | null | undefined;
4577
1938
  };
4578
1939
  _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;
1940
+ text: string;
1941
+ voice?: "Will" | "Brian" | "George" | "Jessica" | "Liam" | "Alice" | "Sarah" | "Charlotte" | "Matilda" | "Eric" | "Alloy" | "Ash" | "Ballad" | "Coral" | "Echo" | "Fable" | "Nova" | "Onyx" | "Sage" | "Shimmer" | undefined;
4586
1942
  };
4587
1943
  _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;
1944
+ text: string;
1945
+ voice?: "Will" | "Brian" | "George" | "Jessica" | "Liam" | "Alice" | "Sarah" | "Charlotte" | "Matilda" | "Eric" | "Alloy" | "Ash" | "Ballad" | "Coral" | "Echo" | "Fable" | "Nova" | "Onyx" | "Sage" | "Shimmer" | undefined;
4595
1946
  };
4596
1947
  _output_in: typeof _trpc_server.unsetMarker;
4597
1948
  _output_out: typeof _trpc_server.unsetMarker;
4598
- }, object>>;
1949
+ }, {
1950
+ url: string;
1951
+ duration: number | undefined;
1952
+ } | null>>;
4599
1953
  };
4600
- getTaskStatus: {
1954
+ textToImage: {
4601
1955
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
4602
1956
  _config: _trpc_server.RootConfig<{
4603
1957
  ctx: {
@@ -4666,24 +2020,19 @@ declare let client: {
4666
2020
  sessionId: string | null | undefined;
4667
2021
  };
4668
2022
  _input_in: {
4669
- id: string;
2023
+ text: string;
2024
+ size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | undefined;
4670
2025
  };
4671
2026
  _input_out: {
4672
- id: string;
2027
+ text: string;
2028
+ size?: "square_hd" | "square" | "portrait_4_3" | "portrait_16_9" | "landscape_4_3" | "landscape_16_9" | undefined;
4673
2029
  };
4674
2030
  _output_in: typeof _trpc_server.unsetMarker;
4675
2031
  _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
- }>>;
2032
+ }, string>>;
4684
2033
  };
4685
- upsertTaskStatus: {
4686
- mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
2034
+ health: {
2035
+ query: _trpc_client.Resolver<_trpc_server.BuildProcedure<"query", {
4687
2036
  _config: _trpc_server.RootConfig<{
4688
2037
  ctx: {
4689
2038
  appId: string;
@@ -4750,25 +2099,15 @@ declare let client: {
4750
2099
  agent: string | null | undefined;
4751
2100
  sessionId: string | null | undefined;
4752
2101
  };
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
- };
2102
+ _input_in: typeof _trpc_server.unsetMarker;
2103
+ _input_out: typeof _trpc_server.unsetMarker;
4763
2104
  _output_in: typeof _trpc_server.unsetMarker;
4764
2105
  _output_out: typeof _trpc_server.unsetMarker;
4765
2106
  }, {
4766
- id: string;
4767
- status: "RUNNING" | "COMPLETED" | "FAILED";
4768
- error: any;
2107
+ status: string;
4769
2108
  }>>;
4770
2109
  };
4771
- getGuestServerInfo: {
2110
+ generateCrossAppToken: {
4772
2111
  mutate: _trpc_client.Resolver<_trpc_server.BuildProcedure<"mutation", {
4773
2112
  _config: _trpc_server.RootConfig<{
4774
2113
  ctx: {
@@ -4836,22 +2175,15 @@ declare let client: {
4836
2175
  agent: string | null | undefined;
4837
2176
  sessionId: string | null | undefined;
4838
2177
  };
4839
- _input_in: typeof _trpc_server.unsetMarker;
4840
- _input_out: typeof _trpc_server.unsetMarker;
2178
+ _input_in: {
2179
+ appId: string;
2180
+ };
2181
+ _input_out: {
2182
+ appId: string;
2183
+ };
4841
2184
  _output_in: typeof _trpc_server.unsetMarker;
4842
2185
  _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
- }>>;
2186
+ }, string>>;
4855
2187
  };
4856
2188
  };
4857
2189
  export declare function initializeServerEnvironment({ baseUrl, realtimeDomain, guestServicesUrl, }: {