@secrecy/lib 1.29.0-feat-manage-user-data.2 → 1.29.0-feat-rename-file.3

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.
@@ -185,7 +185,6 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
185
185
  avatar: string | null;
186
186
  isSearchable: boolean;
187
187
  }[];
188
- currentUserId: string;
189
188
  };
190
189
  _output_out: {
191
190
  users: {
@@ -195,7 +194,6 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
195
194
  avatar: string | null;
196
195
  isSearchable: boolean;
197
196
  }[];
198
- currentUserId: string;
199
197
  };
200
198
  }, unknown>>;
201
199
  };
@@ -253,52 +251,68 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
253
251
  mail: {
254
252
  received: {
255
253
  count: bigint;
256
- fileSize: bigint;
257
- maxFileSize: bigint | null;
258
- fileCount: bigint;
254
+ dataSize: bigint;
255
+ maxDataSize: bigint | null;
256
+ dataCount: bigint;
259
257
  maxCount: bigint | null;
260
- maxFileCount: bigint | null;
258
+ maxDataCount: bigint | null;
261
259
  };
262
260
  sent: {
263
261
  count: bigint;
264
- fileSize: bigint;
265
- maxFileSize: bigint | null;
266
- fileCount: bigint;
262
+ dataSize: bigint;
263
+ maxDataSize: bigint | null;
264
+ dataCount: bigint;
267
265
  maxCount: bigint | null;
268
- maxFileCount: bigint | null;
266
+ maxDataCount: bigint | null;
269
267
  };
270
268
  };
271
269
  cloud: {
272
270
  count: bigint;
271
+ uploadCount: bigint;
272
+ downloadCount: bigint;
273
273
  size: bigint;
274
+ uploadBandwidth: bigint;
275
+ downloadBandwidth: bigint;
274
276
  maxCount: bigint | null;
275
277
  maxSize: bigint | null;
278
+ maxDownloadBandwidth: bigint | null;
279
+ maxUploadBandwidth: bigint | null;
280
+ maxDownloadCount: bigint | null;
281
+ maxUploadCount: bigint | null;
276
282
  };
277
283
  };
278
284
  _output_out: {
279
285
  mail: {
280
286
  received: {
281
287
  count: bigint;
282
- fileSize: bigint;
283
- maxFileSize: bigint | null;
284
- fileCount: bigint;
288
+ dataSize: bigint;
289
+ maxDataSize: bigint | null;
290
+ dataCount: bigint;
285
291
  maxCount: bigint | null;
286
- maxFileCount: bigint | null;
292
+ maxDataCount: bigint | null;
287
293
  };
288
294
  sent: {
289
295
  count: bigint;
290
- fileSize: bigint;
291
- maxFileSize: bigint | null;
292
- fileCount: bigint;
296
+ dataSize: bigint;
297
+ maxDataSize: bigint | null;
298
+ dataCount: bigint;
293
299
  maxCount: bigint | null;
294
- maxFileCount: bigint | null;
300
+ maxDataCount: bigint | null;
295
301
  };
296
302
  };
297
303
  cloud: {
298
304
  count: bigint;
305
+ uploadCount: bigint;
306
+ downloadCount: bigint;
299
307
  size: bigint;
308
+ uploadBandwidth: bigint;
309
+ downloadBandwidth: bigint;
300
310
  maxCount: bigint | null;
301
311
  maxSize: bigint | null;
312
+ maxDownloadBandwidth: bigint | null;
313
+ maxUploadBandwidth: bigint | null;
314
+ maxDownloadCount: bigint | null;
315
+ maxUploadCount: bigint | null;
302
316
  };
303
317
  };
304
318
  }, unknown>>;
@@ -460,10 +474,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
460
474
  usersBase: bigint | null;
461
475
  usersUnit: bigint | null;
462
476
  usersPrice: number | null;
463
- perFileSize: bigint | null;
464
- perFileSizeBase: bigint | null;
465
- perFileSizeUnit: bigint | null;
466
- perFileSizePrice: number | null;
477
+ perDataSize: bigint | null;
478
+ perDataSizeBase: bigint | null;
479
+ perDataSizeUnit: bigint | null;
480
+ perDataSizePrice: number | null;
467
481
  bandwidth: bigint | null;
468
482
  bandwidthBase: bigint | null;
469
483
  bandwidthUnit: bigint | null;
@@ -483,10 +497,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
483
497
  usersBase: bigint | null;
484
498
  usersUnit: bigint | null;
485
499
  usersPrice: number | null;
486
- perFileSize: bigint | null;
487
- perFileSizeBase: bigint | null;
488
- perFileSizeUnit: bigint | null;
489
- perFileSizePrice: number | null;
500
+ perDataSize: bigint | null;
501
+ perDataSizeBase: bigint | null;
502
+ perDataSizeUnit: bigint | null;
503
+ perDataSizePrice: number | null;
490
504
  bandwidth: bigint | null;
491
505
  bandwidthBase: bigint | null;
492
506
  bandwidthUnit: bigint | null;
@@ -687,9 +701,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
687
701
  usersBase: bigint | null;
688
702
  usersUnit: bigint | null;
689
703
  usersPrice: number | null;
690
- perFileSizeBase: bigint | null;
691
- perFileSizeUnit: bigint | null;
692
- perFileSizePrice: number | null;
704
+ perDataSizeBase: bigint | null;
705
+ perDataSizeUnit: bigint | null;
706
+ perDataSizePrice: number | null;
693
707
  bandwidthBase: bigint | null;
694
708
  bandwidthUnit: bigint | null;
695
709
  bandwidthPrice: number | null;
@@ -698,7 +712,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
698
712
  totalStorageSizePrice: number | null;
699
713
  devsMax: bigint | null;
700
714
  usersMax: bigint | null;
701
- perFileSizeMax: bigint | null;
715
+ perDataSizeMax: bigint | null;
702
716
  bandwidthMax: bigint | null;
703
717
  totalStorageSizeMax: bigint | null;
704
718
  };
@@ -719,9 +733,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
719
733
  usersBase: bigint | null;
720
734
  usersUnit: bigint | null;
721
735
  usersPrice: number | null;
722
- perFileSizeBase: bigint | null;
723
- perFileSizeUnit: bigint | null;
724
- perFileSizePrice: number | null;
736
+ perDataSizeBase: bigint | null;
737
+ perDataSizeUnit: bigint | null;
738
+ perDataSizePrice: number | null;
725
739
  bandwidthBase: bigint | null;
726
740
  bandwidthUnit: bigint | null;
727
741
  bandwidthPrice: number | null;
@@ -730,7 +744,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
730
744
  totalStorageSizePrice: number | null;
731
745
  devsMax: bigint | null;
732
746
  usersMax: bigint | null;
733
- perFileSizeMax: bigint | null;
747
+ perDataSizeMax: bigint | null;
734
748
  bandwidthMax: bigint | null;
735
749
  totalStorageSizeMax: bigint | null;
736
750
  };
@@ -790,14 +804,14 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
790
804
  _output_in: {
791
805
  id: string;
792
806
  cloudNodeDaysForDelete: number;
793
- historyMaxFileCount: number;
794
- historyFileDaysForDelete: number | null;
807
+ historyDataMaxCount: number;
808
+ historyDataDaysForDelete: number | null;
795
809
  };
796
810
  _output_out: {
797
811
  id: string;
798
812
  cloudNodeDaysForDelete: number;
799
- historyMaxFileCount: number;
800
- historyFileDaysForDelete: number | null;
813
+ historyDataMaxCount: number;
814
+ historyDataDaysForDelete: number | null;
801
815
  };
802
816
  }, unknown>>;
803
817
  };
@@ -923,25 +937,25 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
923
937
  };
924
938
  _input_in: {
925
939
  cloudNodeDaysForDelete?: number | null | undefined;
926
- historyMaxFileCount?: number | null | undefined;
927
940
  historyFileDaysForDelete?: number | null | undefined;
941
+ historyMaxFileCount?: number | null | undefined;
928
942
  };
929
943
  _input_out: {
930
944
  cloudNodeDaysForDelete?: number | null | undefined;
931
- historyMaxFileCount?: number | null | undefined;
932
945
  historyFileDaysForDelete?: number | null | undefined;
946
+ historyMaxFileCount?: number | null | undefined;
933
947
  };
934
948
  _output_in: {
935
949
  id: string;
936
950
  cloudNodeDaysForDelete: number;
937
- historyMaxFileCount: number;
938
- historyFileDaysForDelete: number | null;
951
+ historyDataMaxCount: number;
952
+ historyDataDaysForDelete: number | null;
939
953
  };
940
954
  _output_out: {
941
955
  id: string;
942
956
  cloudNodeDaysForDelete: number;
943
- historyMaxFileCount: number;
944
- historyFileDaysForDelete: number | null;
957
+ historyDataMaxCount: number;
958
+ historyDataDaysForDelete: number | null;
945
959
  };
946
960
  }, unknown>>;
947
961
  };
@@ -1931,13 +1945,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
1931
1945
  };
1932
1946
  _output_in: {
1933
1947
  sessionId: string;
1934
- userId: string;
1935
1948
  } & {
1936
1949
  masterKeySalt: string;
1937
1950
  };
1938
1951
  _output_out: {
1939
1952
  sessionId: string;
1940
- userId: string;
1941
1953
  } & {
1942
1954
  masterKeySalt: string;
1943
1955
  };
@@ -2757,7 +2769,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
2757
2769
  };
2758
2770
  };
2759
2771
  cloud: {
2760
- addFileToHistory: {
2772
+ addDataToHistory: {
2761
2773
  mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
2762
2774
  _config: import("@trpc/server").RootConfig<{
2763
2775
  ctx: {
@@ -2804,11 +2816,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
2804
2816
  ls: TranslationFunctions;
2805
2817
  };
2806
2818
  _input_in: {
2807
- fileId: string;
2819
+ dataId: string;
2808
2820
  nodeId: string;
2809
2821
  };
2810
2822
  _input_out: {
2811
- fileId: string;
2823
+ dataId: string;
2812
2824
  nodeId: string;
2813
2825
  };
2814
2826
  _output_in: {
@@ -2820,7 +2832,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
2820
2832
  type: "FILE" | "FOLDER";
2821
2833
  parentId: string | null;
2822
2834
  isFavorite: boolean;
2823
- currentFileId: string | null;
2835
+ currentDataId: string | null;
2824
2836
  } & {
2825
2837
  users: [{
2826
2838
  id: string;
@@ -2856,6 +2868,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
2856
2868
  storageType: "s3" | "lite";
2857
2869
  sizeBefore: bigint;
2858
2870
  md5Encrypted: string;
2871
+ userAppUserId: string;
2872
+ userAppAppId: string;
2873
+ validatedAt: Date | null;
2859
2874
  access: {
2860
2875
  key: string;
2861
2876
  sharedByPubKey: string;
@@ -2869,6 +2884,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
2869
2884
  storageType: "s3" | "lite";
2870
2885
  sizeBefore: bigint;
2871
2886
  md5Encrypted: string;
2887
+ userAppUserId: string;
2888
+ userAppAppId: string;
2889
+ validatedAt: Date | null;
2872
2890
  access: {
2873
2891
  key: string;
2874
2892
  sharedByPubKey: string;
@@ -2883,7 +2901,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
2883
2901
  type: "FILE" | "FOLDER";
2884
2902
  parentId: string | null;
2885
2903
  isFavorite: boolean;
2886
- currentFileId: string | null;
2904
+ currentDataId: string | null;
2887
2905
  } & {
2888
2906
  users: [{
2889
2907
  id: string;
@@ -2915,7 +2933,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
2915
2933
  type: "FILE" | "FOLDER";
2916
2934
  parentId: string | null;
2917
2935
  isFavorite: boolean;
2918
- currentFileId: string | null;
2936
+ currentDataId: string | null;
2919
2937
  } & {
2920
2938
  users: [{
2921
2939
  id: string;
@@ -2959,7 +2977,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
2959
2977
  type: "FILE" | "FOLDER";
2960
2978
  parentId: string | null;
2961
2979
  isFavorite: boolean;
2962
- currentFileId: string | null;
2980
+ currentDataId: string | null;
2963
2981
  } & {
2964
2982
  users: [{
2965
2983
  id: string;
@@ -2995,6 +3013,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
2995
3013
  storageType: "s3" | "lite";
2996
3014
  sizeBefore: bigint;
2997
3015
  md5Encrypted: string;
3016
+ userAppUserId: string;
3017
+ userAppAppId: string;
3018
+ validatedAt: Date | null;
2998
3019
  access: {
2999
3020
  key: string;
3000
3021
  sharedByPubKey: string;
@@ -3008,6 +3029,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3008
3029
  storageType: "s3" | "lite";
3009
3030
  sizeBefore: bigint;
3010
3031
  md5Encrypted: string;
3032
+ userAppUserId: string;
3033
+ userAppAppId: string;
3034
+ validatedAt: Date | null;
3011
3035
  access: {
3012
3036
  key: string;
3013
3037
  sharedByPubKey: string;
@@ -3022,7 +3046,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3022
3046
  type: "FILE" | "FOLDER";
3023
3047
  parentId: string | null;
3024
3048
  isFavorite: boolean;
3025
- currentFileId: string | null;
3049
+ currentDataId: string | null;
3026
3050
  } & {
3027
3051
  users: [{
3028
3052
  id: string;
@@ -3054,7 +3078,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3054
3078
  type: "FILE" | "FOLDER";
3055
3079
  parentId: string | null;
3056
3080
  isFavorite: boolean;
3057
- currentFileId: string | null;
3081
+ currentDataId: string | null;
3058
3082
  } & {
3059
3083
  users: [{
3060
3084
  id: string;
@@ -3091,7 +3115,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3091
3115
  };
3092
3116
  }, unknown>>;
3093
3117
  };
3094
- deleteFile: {
3118
+ deleteData: {
3095
3119
  mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
3096
3120
  _config: import("@trpc/server").RootConfig<{
3097
3121
  ctx: {
@@ -3138,11 +3162,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3138
3162
  ls: TranslationFunctions;
3139
3163
  };
3140
3164
  _input_in: {
3141
- fileId: string;
3165
+ dataId: string;
3142
3166
  nodeId: string;
3143
3167
  };
3144
3168
  _input_out: {
3145
- fileId: string;
3169
+ dataId: string;
3146
3170
  nodeId: string;
3147
3171
  };
3148
3172
  _output_in: {
@@ -3153,7 +3177,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3153
3177
  };
3154
3178
  }, unknown>>;
3155
3179
  };
3156
- fileById: {
3180
+ dataById: {
3157
3181
  query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
3158
3182
  _config: import("@trpc/server").RootConfig<{
3159
3183
  ctx: {
@@ -3213,6 +3237,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3213
3237
  storageType: "s3" | "lite";
3214
3238
  sizeBefore: bigint;
3215
3239
  md5Encrypted: string;
3240
+ userAppUserId: string;
3241
+ userAppAppId: string;
3242
+ validatedAt: Date | null;
3216
3243
  access: {
3217
3244
  key: string;
3218
3245
  sharedByPubKey: string;
@@ -3226,6 +3253,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3226
3253
  storageType: "s3" | "lite";
3227
3254
  sizeBefore: bigint;
3228
3255
  md5Encrypted: string;
3256
+ userAppUserId: string;
3257
+ userAppAppId: string;
3258
+ validatedAt: Date | null;
3229
3259
  access: {
3230
3260
  key: string;
3231
3261
  sharedByPubKey: string;
@@ -3233,7 +3263,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3233
3263
  };
3234
3264
  }, unknown>>;
3235
3265
  };
3236
- fileContentById: {
3266
+ dataContentById: {
3237
3267
  query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
3238
3268
  _config: import("@trpc/server").RootConfig<{
3239
3269
  ctx: {
@@ -3387,7 +3417,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3387
3417
  };
3388
3418
  }, unknown>>;
3389
3419
  };
3390
- fileContentByIds: {
3420
+ dataContentByIds: {
3391
3421
  query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
3392
3422
  _config: import("@trpc/server").RootConfig<{
3393
3423
  ctx: {
@@ -3645,17 +3675,17 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3645
3675
  };
3646
3676
  _input_in: {
3647
3677
  key: string;
3648
- fileId: string;
3649
- filename: string;
3678
+ dataId: string;
3650
3679
  nodeId: string | null;
3651
3680
  nameKey: string;
3681
+ fileName: string;
3652
3682
  };
3653
3683
  _input_out: {
3654
3684
  key: string;
3655
- fileId: string;
3656
- filename: string;
3685
+ dataId: string;
3657
3686
  nodeId: string | null;
3658
3687
  nameKey: string;
3688
+ fileName: string;
3659
3689
  };
3660
3690
  _output_in: {
3661
3691
  id: string;
@@ -3666,7 +3696,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3666
3696
  type: "FILE" | "FOLDER";
3667
3697
  parentId: string | null;
3668
3698
  isFavorite: boolean;
3669
- currentFileId: string | null;
3699
+ currentDataId: string | null;
3670
3700
  } & {
3671
3701
  users: [{
3672
3702
  id: string;
@@ -3702,6 +3732,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3702
3732
  storageType: "s3" | "lite";
3703
3733
  sizeBefore: bigint;
3704
3734
  md5Encrypted: string;
3735
+ userAppUserId: string;
3736
+ userAppAppId: string;
3737
+ validatedAt: Date | null;
3705
3738
  access: {
3706
3739
  key: string;
3707
3740
  sharedByPubKey: string;
@@ -3715,6 +3748,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3715
3748
  storageType: "s3" | "lite";
3716
3749
  sizeBefore: bigint;
3717
3750
  md5Encrypted: string;
3751
+ userAppUserId: string;
3752
+ userAppAppId: string;
3753
+ validatedAt: Date | null;
3718
3754
  access: {
3719
3755
  key: string;
3720
3756
  sharedByPubKey: string;
@@ -3729,7 +3765,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3729
3765
  type: "FILE" | "FOLDER";
3730
3766
  parentId: string | null;
3731
3767
  isFavorite: boolean;
3732
- currentFileId: string | null;
3768
+ currentDataId: string | null;
3733
3769
  } & {
3734
3770
  users: [{
3735
3771
  id: string;
@@ -3761,7 +3797,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3761
3797
  type: "FILE" | "FOLDER";
3762
3798
  parentId: string | null;
3763
3799
  isFavorite: boolean;
3764
- currentFileId: string | null;
3800
+ currentDataId: string | null;
3765
3801
  } & {
3766
3802
  users: [{
3767
3803
  id: string;
@@ -3805,7 +3841,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3805
3841
  type: "FILE" | "FOLDER";
3806
3842
  parentId: string | null;
3807
3843
  isFavorite: boolean;
3808
- currentFileId: string | null;
3844
+ currentDataId: string | null;
3809
3845
  } & {
3810
3846
  users: [{
3811
3847
  id: string;
@@ -3841,6 +3877,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3841
3877
  storageType: "s3" | "lite";
3842
3878
  sizeBefore: bigint;
3843
3879
  md5Encrypted: string;
3880
+ userAppUserId: string;
3881
+ userAppAppId: string;
3882
+ validatedAt: Date | null;
3844
3883
  access: {
3845
3884
  key: string;
3846
3885
  sharedByPubKey: string;
@@ -3854,6 +3893,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3854
3893
  storageType: "s3" | "lite";
3855
3894
  sizeBefore: bigint;
3856
3895
  md5Encrypted: string;
3896
+ userAppUserId: string;
3897
+ userAppAppId: string;
3898
+ validatedAt: Date | null;
3857
3899
  access: {
3858
3900
  key: string;
3859
3901
  sharedByPubKey: string;
@@ -3868,7 +3910,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3868
3910
  type: "FILE" | "FOLDER";
3869
3911
  parentId: string | null;
3870
3912
  isFavorite: boolean;
3871
- currentFileId: string | null;
3913
+ currentDataId: string | null;
3872
3914
  } & {
3873
3915
  users: [{
3874
3916
  id: string;
@@ -3900,7 +3942,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
3900
3942
  type: "FILE" | "FOLDER";
3901
3943
  parentId: string | null;
3902
3944
  isFavorite: boolean;
3903
- currentFileId: string | null;
3945
+ currentDataId: string | null;
3904
3946
  } & {
3905
3947
  users: [{
3906
3948
  id: string;
@@ -4000,8 +4042,8 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4000
4042
  min?: Date | undefined;
4001
4043
  } | undefined;
4002
4044
  size?: {
4003
- max?: string | bigint | undefined;
4004
- min?: string | bigint | undefined;
4045
+ max?: bigint | undefined;
4046
+ min?: bigint | undefined;
4005
4047
  } | undefined;
4006
4048
  appIds?: string[] | undefined;
4007
4049
  sharedCount?: {
@@ -4038,90 +4080,72 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4038
4080
  } | undefined;
4039
4081
  };
4040
4082
  _output_in: {
4041
- data: {
4042
- keyPairs: {
4043
- appId: string;
4044
- pub: string;
4045
- encPriv: string;
4083
+ keyPairs: {
4084
+ appId: string;
4085
+ pub: string;
4086
+ encPriv: string;
4087
+ }[];
4088
+ nodes: {
4089
+ id: string;
4090
+ createdAt: Date;
4091
+ deletedAt: Date | null;
4092
+ name: string;
4093
+ updatedAt: Date;
4094
+ history: {
4095
+ createdAt: Date;
4096
+ dataId: string;
4097
+ size: bigint;
4098
+ storageType: "s3" | "lite";
4046
4099
  }[];
4047
- nodes: {
4100
+ access: {
4101
+ appId: string;
4102
+ nameKey: string;
4103
+ };
4104
+ totalSize: bigint;
4105
+ breadcrumb: {
4048
4106
  id: string;
4049
- createdAt: Date;
4050
- deletedAt: Date | null;
4051
4107
  name: string;
4052
- updatedAt: Date;
4053
- history: {
4054
- createdAt: Date;
4055
- fileId: string;
4056
- size: bigint;
4057
- storageType: "s3" | "lite";
4058
- }[];
4059
- access: {
4060
- appId: string;
4061
- nameKey: string;
4062
- };
4063
- totalSize: bigint;
4064
- breadcrumb: {
4065
- id: string;
4066
- name: string;
4067
- nameKey: string | null;
4068
- pubKey: string;
4069
- }[];
4070
- sharedCount: number;
4108
+ nameKey: string | null;
4109
+ pubKey: string;
4071
4110
  }[];
4072
- };
4073
- pagination: {
4074
- next: number | null;
4075
- prev: number | null;
4076
- last: number;
4077
- perPage: number;
4078
- totalItems: number;
4079
- };
4111
+ sharedCount: number;
4112
+ }[];
4080
4113
  };
4081
4114
  _output_out: {
4082
- data: {
4083
- keyPairs: {
4084
- appId: string;
4085
- pub: string;
4086
- encPriv: string;
4115
+ keyPairs: {
4116
+ appId: string;
4117
+ pub: string;
4118
+ encPriv: string;
4119
+ }[];
4120
+ nodes: {
4121
+ id: string;
4122
+ createdAt: Date;
4123
+ deletedAt: Date | null;
4124
+ name: string;
4125
+ updatedAt: Date;
4126
+ history: {
4127
+ createdAt: Date;
4128
+ dataId: string;
4129
+ size: bigint;
4130
+ storageType: "s3" | "lite";
4087
4131
  }[];
4088
- nodes: {
4132
+ access: {
4133
+ appId: string;
4134
+ nameKey: string;
4135
+ };
4136
+ totalSize: bigint;
4137
+ breadcrumb: {
4089
4138
  id: string;
4090
- createdAt: Date;
4091
- deletedAt: Date | null;
4092
4139
  name: string;
4093
- updatedAt: Date;
4094
- history: {
4095
- createdAt: Date;
4096
- fileId: string;
4097
- size: bigint;
4098
- storageType: "s3" | "lite";
4099
- }[];
4100
- access: {
4101
- appId: string;
4102
- nameKey: string;
4103
- };
4104
- totalSize: bigint;
4105
- breadcrumb: {
4106
- id: string;
4107
- name: string;
4108
- nameKey: string | null;
4109
- pubKey: string;
4110
- }[];
4111
- sharedCount: number;
4140
+ nameKey: string | null;
4141
+ pubKey: string;
4112
4142
  }[];
4113
- };
4114
- pagination: {
4115
- next: number | null;
4116
- prev: number | null;
4117
- last: number;
4118
- perPage: number;
4119
- totalItems: number;
4120
- };
4143
+ sharedCount: number;
4144
+ }[];
4121
4145
  };
4122
4146
  }, unknown>>;
4123
4147
  };
4124
- shareFileInHistory: {
4148
+ shareDataInHistory: {
4125
4149
  mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
4126
4150
  _config: import("@trpc/server").RootConfig<{
4127
4151
  ctx: {
@@ -4172,7 +4196,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4172
4196
  id: string;
4173
4197
  key: string;
4174
4198
  }[];
4175
- fileId: string;
4199
+ dataId: string;
4176
4200
  nodeId: string;
4177
4201
  };
4178
4202
  _input_out: {
@@ -4180,7 +4204,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4180
4204
  id: string;
4181
4205
  key: string;
4182
4206
  }[];
4183
- fileId: string;
4207
+ dataId: string;
4184
4208
  nodeId: string;
4185
4209
  };
4186
4210
  _output_in: {
@@ -4191,7 +4215,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4191
4215
  };
4192
4216
  }, unknown>>;
4193
4217
  };
4194
- uploadFileEnd: {
4218
+ uploadDataEnd: {
4195
4219
  mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
4196
4220
  _config: import("@trpc/server").RootConfig<{
4197
4221
  ctx: {
@@ -4238,10 +4262,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4238
4262
  ls: TranslationFunctions;
4239
4263
  };
4240
4264
  _input_in: {
4241
- fileId: string;
4265
+ dataId: string;
4242
4266
  };
4243
4267
  _input_out: {
4244
- fileId: string;
4268
+ dataId: string;
4245
4269
  };
4246
4270
  _output_in: {
4247
4271
  isUploadEnded: boolean;
@@ -4251,7 +4275,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4251
4275
  };
4252
4276
  }, unknown>>;
4253
4277
  };
4254
- uploadFilePartEnd: {
4278
+ uploadDataPartEnd: {
4255
4279
  mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
4256
4280
  _config: import("@trpc/server").RootConfig<{
4257
4281
  ctx: {
@@ -4298,12 +4322,12 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4298
4322
  ls: TranslationFunctions;
4299
4323
  };
4300
4324
  _input_in: {
4301
- fileId: string;
4325
+ dataId: string;
4302
4326
  md5: string;
4303
4327
  order: number;
4304
4328
  };
4305
4329
  _input_out: {
4306
- fileId: string;
4330
+ dataId: string;
4307
4331
  md5: string;
4308
4332
  order: number;
4309
4333
  };
@@ -4315,7 +4339,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4315
4339
  };
4316
4340
  }, unknown>>;
4317
4341
  };
4318
- uploadFile: {
4342
+ uploadData: {
4319
4343
  mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
4320
4344
  _config: import("@trpc/server").RootConfig<{
4321
4345
  ctx: {
@@ -4362,40 +4386,40 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4362
4386
  ls: TranslationFunctions;
4363
4387
  };
4364
4388
  _input_in: {
4365
- fileSize: bigint;
4389
+ dataSize: bigint;
4366
4390
  md5: string;
4367
4391
  md5Encrypted: string;
4368
- fileKey: string;
4369
- fileSizeBefore: bigint;
4392
+ dataSizeBefore: bigint;
4393
+ dataKey: string;
4370
4394
  };
4371
4395
  _input_out: {
4372
- fileSize: bigint;
4396
+ dataSize: bigint;
4373
4397
  md5: string;
4374
4398
  md5Encrypted: string;
4375
- fileKey: string;
4376
- fileSizeBefore: bigint;
4399
+ dataSizeBefore: bigint;
4400
+ dataKey: string;
4377
4401
  };
4378
4402
  _output_in: {
4379
- fileId: string;
4380
- filePartSize: bigint;
4403
+ dataId: string;
4381
4404
  parts: {
4382
4405
  fields: Record<string, string>;
4383
4406
  url: string;
4384
4407
  order: number;
4385
4408
  }[];
4409
+ dataPartSize: bigint;
4386
4410
  };
4387
4411
  _output_out: {
4388
- fileId: string;
4389
- filePartSize: bigint;
4412
+ dataId: string;
4390
4413
  parts: {
4391
4414
  fields: Record<string, string>;
4392
4415
  url: string;
4393
4416
  order: number;
4394
4417
  }[];
4418
+ dataPartSize: bigint;
4395
4419
  };
4396
4420
  }, unknown>>;
4397
4421
  };
4398
- uploadLiteFile: {
4422
+ uploadLiteData: {
4399
4423
  mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
4400
4424
  _config: import("@trpc/server").RootConfig<{
4401
4425
  ctx: {
@@ -4442,20 +4466,20 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4442
4466
  ls: TranslationFunctions;
4443
4467
  };
4444
4468
  _input_in: {
4445
- fileSize: bigint;
4469
+ dataSize: bigint;
4446
4470
  md5: string;
4447
4471
  content: Buffer;
4448
4472
  md5Encrypted: string;
4449
- fileKey: string;
4450
- fileSizeBefore: bigint;
4473
+ dataSizeBefore: bigint;
4474
+ dataKey: string;
4451
4475
  };
4452
4476
  _input_out: {
4453
- fileSize: bigint;
4477
+ dataSize: bigint;
4454
4478
  md5: string;
4455
4479
  content: Buffer;
4456
4480
  md5Encrypted: string;
4457
- fileKey: string;
4458
- fileSizeBefore: bigint;
4481
+ dataSizeBefore: bigint;
4482
+ dataKey: string;
4459
4483
  };
4460
4484
  _output_in: {
4461
4485
  id: string;
@@ -4530,7 +4554,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4530
4554
  type: "FILE" | "FOLDER";
4531
4555
  parentId: string | null;
4532
4556
  isFavorite: boolean;
4533
- currentFileId: string | null;
4557
+ currentDataId: string | null;
4534
4558
  } & {
4535
4559
  users: [{
4536
4560
  id: string;
@@ -4566,6 +4590,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4566
4590
  storageType: "s3" | "lite";
4567
4591
  sizeBefore: bigint;
4568
4592
  md5Encrypted: string;
4593
+ userAppUserId: string;
4594
+ userAppAppId: string;
4595
+ validatedAt: Date | null;
4569
4596
  access: {
4570
4597
  key: string;
4571
4598
  sharedByPubKey: string;
@@ -4579,6 +4606,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4579
4606
  storageType: "s3" | "lite";
4580
4607
  sizeBefore: bigint;
4581
4608
  md5Encrypted: string;
4609
+ userAppUserId: string;
4610
+ userAppAppId: string;
4611
+ validatedAt: Date | null;
4582
4612
  access: {
4583
4613
  key: string;
4584
4614
  sharedByPubKey: string;
@@ -4593,7 +4623,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4593
4623
  type: "FILE" | "FOLDER";
4594
4624
  parentId: string | null;
4595
4625
  isFavorite: boolean;
4596
- currentFileId: string | null;
4626
+ currentDataId: string | null;
4597
4627
  } & {
4598
4628
  users: [{
4599
4629
  id: string;
@@ -4625,7 +4655,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4625
4655
  type: "FILE" | "FOLDER";
4626
4656
  parentId: string | null;
4627
4657
  isFavorite: boolean;
4628
- currentFileId: string | null;
4658
+ currentDataId: string | null;
4629
4659
  } & {
4630
4660
  users: [{
4631
4661
  id: string;
@@ -4669,7 +4699,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4669
4699
  type: "FILE" | "FOLDER";
4670
4700
  parentId: string | null;
4671
4701
  isFavorite: boolean;
4672
- currentFileId: string | null;
4702
+ currentDataId: string | null;
4673
4703
  } & {
4674
4704
  users: [{
4675
4705
  id: string;
@@ -4705,6 +4735,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4705
4735
  storageType: "s3" | "lite";
4706
4736
  sizeBefore: bigint;
4707
4737
  md5Encrypted: string;
4738
+ userAppUserId: string;
4739
+ userAppAppId: string;
4740
+ validatedAt: Date | null;
4708
4741
  access: {
4709
4742
  key: string;
4710
4743
  sharedByPubKey: string;
@@ -4718,6 +4751,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4718
4751
  storageType: "s3" | "lite";
4719
4752
  sizeBefore: bigint;
4720
4753
  md5Encrypted: string;
4754
+ userAppUserId: string;
4755
+ userAppAppId: string;
4756
+ validatedAt: Date | null;
4721
4757
  access: {
4722
4758
  key: string;
4723
4759
  sharedByPubKey: string;
@@ -4732,7 +4768,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4732
4768
  type: "FILE" | "FOLDER";
4733
4769
  parentId: string | null;
4734
4770
  isFavorite: boolean;
4735
- currentFileId: string | null;
4771
+ currentDataId: string | null;
4736
4772
  } & {
4737
4773
  users: [{
4738
4774
  id: string;
@@ -4764,7 +4800,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4764
4800
  type: "FILE" | "FOLDER";
4765
4801
  parentId: string | null;
4766
4802
  isFavorite: boolean;
4767
- currentFileId: string | null;
4803
+ currentDataId: string | null;
4768
4804
  } & {
4769
4805
  users: [{
4770
4806
  id: string;
@@ -4971,13 +5007,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
4971
5007
  };
4972
5008
  _input_in: {
4973
5009
  id: string;
4974
- } & {
4975
- force?: boolean | undefined;
4976
5010
  };
4977
5011
  _input_out: {
4978
5012
  id: string;
4979
- } & {
4980
- force?: boolean | undefined;
4981
5013
  };
4982
5014
  _output_in: {
4983
5015
  isDeleted: boolean;
@@ -5372,7 +5404,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5372
5404
  type: "FILE" | "FOLDER";
5373
5405
  parentId: string | null;
5374
5406
  isFavorite: boolean;
5375
- currentFileId: string | null;
5407
+ currentDataId: string | null;
5376
5408
  } & {
5377
5409
  users: [{
5378
5410
  id: string;
@@ -5409,7 +5441,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5409
5441
  type: "FILE" | "FOLDER";
5410
5442
  parentId: string | null;
5411
5443
  isFavorite: boolean;
5412
- currentFileId: string | null;
5444
+ currentDataId: string | null;
5413
5445
  } & {
5414
5446
  users: [{
5415
5447
  id: string;
@@ -5502,7 +5534,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5502
5534
  type: "FILE" | "FOLDER";
5503
5535
  parentId: string | null;
5504
5536
  isFavorite: boolean;
5505
- currentFileId: string | null;
5537
+ currentDataId: string | null;
5506
5538
  } & {
5507
5539
  users: [{
5508
5540
  id: string;
@@ -5538,6 +5570,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5538
5570
  storageType: "s3" | "lite";
5539
5571
  sizeBefore: bigint;
5540
5572
  md5Encrypted: string;
5573
+ userAppUserId: string;
5574
+ userAppAppId: string;
5575
+ validatedAt: Date | null;
5541
5576
  access: {
5542
5577
  key: string;
5543
5578
  sharedByPubKey: string;
@@ -5551,6 +5586,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5551
5586
  storageType: "s3" | "lite";
5552
5587
  sizeBefore: bigint;
5553
5588
  md5Encrypted: string;
5589
+ userAppUserId: string;
5590
+ userAppAppId: string;
5591
+ validatedAt: Date | null;
5554
5592
  access: {
5555
5593
  key: string;
5556
5594
  sharedByPubKey: string;
@@ -5565,7 +5603,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5565
5603
  type: "FILE" | "FOLDER";
5566
5604
  parentId: string | null;
5567
5605
  isFavorite: boolean;
5568
- currentFileId: string | null;
5606
+ currentDataId: string | null;
5569
5607
  } & {
5570
5608
  users: [{
5571
5609
  id: string;
@@ -5597,7 +5635,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5597
5635
  type: "FILE" | "FOLDER";
5598
5636
  parentId: string | null;
5599
5637
  isFavorite: boolean;
5600
- currentFileId: string | null;
5638
+ currentDataId: string | null;
5601
5639
  } & {
5602
5640
  users: [{
5603
5641
  id: string;
@@ -5641,7 +5679,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5641
5679
  type: "FILE" | "FOLDER";
5642
5680
  parentId: string | null;
5643
5681
  isFavorite: boolean;
5644
- currentFileId: string | null;
5682
+ currentDataId: string | null;
5645
5683
  } & {
5646
5684
  users: [{
5647
5685
  id: string;
@@ -5677,6 +5715,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5677
5715
  storageType: "s3" | "lite";
5678
5716
  sizeBefore: bigint;
5679
5717
  md5Encrypted: string;
5718
+ userAppUserId: string;
5719
+ userAppAppId: string;
5720
+ validatedAt: Date | null;
5680
5721
  access: {
5681
5722
  key: string;
5682
5723
  sharedByPubKey: string;
@@ -5690,6 +5731,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5690
5731
  storageType: "s3" | "lite";
5691
5732
  sizeBefore: bigint;
5692
5733
  md5Encrypted: string;
5734
+ userAppUserId: string;
5735
+ userAppAppId: string;
5736
+ validatedAt: Date | null;
5693
5737
  access: {
5694
5738
  key: string;
5695
5739
  sharedByPubKey: string;
@@ -5704,7 +5748,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5704
5748
  type: "FILE" | "FOLDER";
5705
5749
  parentId: string | null;
5706
5750
  isFavorite: boolean;
5707
- currentFileId: string | null;
5751
+ currentDataId: string | null;
5708
5752
  } & {
5709
5753
  users: [{
5710
5754
  id: string;
@@ -5736,7 +5780,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5736
5780
  type: "FILE" | "FOLDER";
5737
5781
  parentId: string | null;
5738
5782
  isFavorite: boolean;
5739
- currentFileId: string | null;
5783
+ currentDataId: string | null;
5740
5784
  } & {
5741
5785
  users: [{
5742
5786
  id: string;
@@ -5892,7 +5936,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5892
5936
  type: "FILE" | "FOLDER";
5893
5937
  parentId: string | null;
5894
5938
  isFavorite: boolean;
5895
- currentFileId: string | null;
5939
+ currentDataId: string | null;
5896
5940
  } & {
5897
5941
  users: [{
5898
5942
  id: string;
@@ -5924,7 +5968,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
5924
5968
  type: "FILE" | "FOLDER";
5925
5969
  parentId: string | null;
5926
5970
  isFavorite: boolean;
5927
- currentFileId: string | null;
5971
+ currentDataId: string | null;
5928
5972
  } & {
5929
5973
  users: [{
5930
5974
  id: string;
@@ -6010,7 +6054,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
6010
6054
  type: "FILE" | "FOLDER";
6011
6055
  parentId: string | null;
6012
6056
  isFavorite: boolean;
6013
- currentFileId: string | null;
6057
+ currentDataId: string | null;
6014
6058
  } & {
6015
6059
  users: [{
6016
6060
  id: string;
@@ -6042,7 +6086,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
6042
6086
  type: "FILE" | "FOLDER";
6043
6087
  parentId: string | null;
6044
6088
  isFavorite: boolean;
6045
- currentFileId: string | null;
6089
+ currentDataId: string | null;
6046
6090
  } & {
6047
6091
  users: [{
6048
6092
  id: string;
@@ -6124,7 +6168,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
6124
6168
  type: "FILE" | "FOLDER";
6125
6169
  parentId: string | null;
6126
6170
  isFavorite: boolean;
6127
- currentFileId: string | null;
6171
+ currentDataId: string | null;
6128
6172
  } & {
6129
6173
  users: [{
6130
6174
  id: string;
@@ -6156,7 +6200,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
6156
6200
  type: "FILE" | "FOLDER";
6157
6201
  parentId: string | null;
6158
6202
  isFavorite: boolean;
6159
- currentFileId: string | null;
6203
+ currentDataId: string | null;
6160
6204
  } & {
6161
6205
  users: [{
6162
6206
  id: string;
@@ -6290,24 +6334,24 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
6290
6334
  _input_in: {
6291
6335
  userId: string;
6292
6336
  nodes: {
6293
- id: string;
6294
- nameKey: string | null;
6295
- files: {
6337
+ data: {
6296
6338
  id: string;
6297
6339
  key: string;
6298
6340
  }[];
6341
+ id: string;
6342
+ nameKey: string | null;
6299
6343
  }[];
6300
6344
  rights: "admin" | "write" | "read";
6301
6345
  };
6302
6346
  _input_out: {
6303
6347
  userId: string;
6304
6348
  nodes: {
6305
- id: string;
6306
- nameKey: string | null;
6307
- files: {
6349
+ data: {
6308
6350
  id: string;
6309
6351
  key: string;
6310
6352
  }[];
6353
+ id: string;
6354
+ nameKey: string | null;
6311
6355
  }[];
6312
6356
  rights: "admin" | "write" | "read";
6313
6357
  };
@@ -6448,7 +6492,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
6448
6492
  type: "FILE" | "FOLDER";
6449
6493
  parentId: string | null;
6450
6494
  isFavorite: boolean;
6451
- currentFileId: string | null;
6495
+ currentDataId: string | null;
6452
6496
  } & {
6453
6497
  users: [{
6454
6498
  id: string;
@@ -6484,6 +6528,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
6484
6528
  storageType: "s3" | "lite";
6485
6529
  sizeBefore: bigint;
6486
6530
  md5Encrypted: string;
6531
+ userAppUserId: string;
6532
+ userAppAppId: string;
6533
+ validatedAt: Date | null;
6487
6534
  access: {
6488
6535
  key: string;
6489
6536
  sharedByPubKey: string;
@@ -6497,6 +6544,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
6497
6544
  storageType: "s3" | "lite";
6498
6545
  sizeBefore: bigint;
6499
6546
  md5Encrypted: string;
6547
+ userAppUserId: string;
6548
+ userAppAppId: string;
6549
+ validatedAt: Date | null;
6500
6550
  access: {
6501
6551
  key: string;
6502
6552
  sharedByPubKey: string;
@@ -6511,7 +6561,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
6511
6561
  type: "FILE" | "FOLDER";
6512
6562
  parentId: string | null;
6513
6563
  isFavorite: boolean;
6514
- currentFileId: string | null;
6564
+ currentDataId: string | null;
6515
6565
  } & {
6516
6566
  users: [{
6517
6567
  id: string;
@@ -6543,7 +6593,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
6543
6593
  type: "FILE" | "FOLDER";
6544
6594
  parentId: string | null;
6545
6595
  isFavorite: boolean;
6546
- currentFileId: string | null;
6596
+ currentDataId: string | null;
6547
6597
  } & {
6548
6598
  users: [{
6549
6599
  id: string;
@@ -6587,7 +6637,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
6587
6637
  type: "FILE" | "FOLDER";
6588
6638
  parentId: string | null;
6589
6639
  isFavorite: boolean;
6590
- currentFileId: string | null;
6640
+ currentDataId: string | null;
6591
6641
  } & {
6592
6642
  users: [{
6593
6643
  id: string;
@@ -6623,6 +6673,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
6623
6673
  storageType: "s3" | "lite";
6624
6674
  sizeBefore: bigint;
6625
6675
  md5Encrypted: string;
6676
+ userAppUserId: string;
6677
+ userAppAppId: string;
6678
+ validatedAt: Date | null;
6626
6679
  access: {
6627
6680
  key: string;
6628
6681
  sharedByPubKey: string;
@@ -6636,6 +6689,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
6636
6689
  storageType: "s3" | "lite";
6637
6690
  sizeBefore: bigint;
6638
6691
  md5Encrypted: string;
6692
+ userAppUserId: string;
6693
+ userAppAppId: string;
6694
+ validatedAt: Date | null;
6639
6695
  access: {
6640
6696
  key: string;
6641
6697
  sharedByPubKey: string;
@@ -6650,7 +6706,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
6650
6706
  type: "FILE" | "FOLDER";
6651
6707
  parentId: string | null;
6652
6708
  isFavorite: boolean;
6653
- currentFileId: string | null;
6709
+ currentDataId: string | null;
6654
6710
  } & {
6655
6711
  users: [{
6656
6712
  id: string;
@@ -6682,7 +6738,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
6682
6738
  type: "FILE" | "FOLDER";
6683
6739
  parentId: string | null;
6684
6740
  isFavorite: boolean;
6685
- currentFileId: string | null;
6741
+ currentDataId: string | null;
6686
6742
  } & {
6687
6743
  users: [{
6688
6744
  id: string;
@@ -11342,10 +11398,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
11342
11398
  avatar: string | null;
11343
11399
  isSearchable: boolean;
11344
11400
  };
11345
- files: {
11346
- fileId: string;
11347
- filename: string;
11348
- fileKey: string;
11401
+ attachments: {
11402
+ name: string;
11403
+ key: string;
11404
+ dataId: string;
11349
11405
  }[];
11350
11406
  };
11351
11407
  _output_out: {
@@ -11400,10 +11456,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
11400
11456
  avatar: string | null;
11401
11457
  isSearchable: boolean;
11402
11458
  };
11403
- files: {
11404
- fileId: string;
11405
- filename: string;
11406
- fileKey: string;
11459
+ attachments: {
11460
+ name: string;
11461
+ key: string;
11462
+ dataId: string;
11407
11463
  }[];
11408
11464
  };
11409
11465
  }, unknown>>;
@@ -11534,10 +11590,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
11534
11590
  avatar: string | null;
11535
11591
  isSearchable: boolean;
11536
11592
  };
11537
- files: {
11538
- fileId: string;
11539
- filename: string;
11540
- fileKey: string;
11593
+ attachments: {
11594
+ name: string;
11595
+ key: string;
11596
+ dataId: string;
11541
11597
  }[];
11542
11598
  };
11543
11599
  _output_out: {
@@ -11592,10 +11648,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
11592
11648
  avatar: string | null;
11593
11649
  isSearchable: boolean;
11594
11650
  };
11595
- files: {
11596
- fileId: string;
11597
- filename: string;
11598
- fileKey: string;
11651
+ attachments: {
11652
+ name: string;
11653
+ key: string;
11654
+ dataId: string;
11599
11655
  }[];
11600
11656
  };
11601
11657
  }, unknown>>;
@@ -11884,10 +11940,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
11884
11940
  avatar: string | null;
11885
11941
  isSearchable: boolean;
11886
11942
  };
11887
- files: {
11888
- fileId: string;
11889
- filename: string;
11890
- fileKey: string;
11943
+ attachments: {
11944
+ name: string;
11945
+ key: string;
11946
+ dataId: string;
11891
11947
  }[];
11892
11948
  })[];
11893
11949
  _output_out: ({
@@ -11942,10 +11998,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
11942
11998
  avatar: string | null;
11943
11999
  isSearchable: boolean;
11944
12000
  };
11945
- files: {
11946
- fileId: string;
11947
- filename: string;
11948
- fileKey: string;
12001
+ attachments: {
12002
+ name: string;
12003
+ key: string;
12004
+ dataId: string;
11949
12005
  }[];
11950
12006
  })[];
11951
12007
  }, unknown>>;
@@ -12050,10 +12106,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
12050
12106
  avatar: string | null;
12051
12107
  isSearchable: boolean;
12052
12108
  };
12053
- files: {
12054
- fileId: string;
12055
- filename: string;
12056
- fileKey: string;
12109
+ attachments: {
12110
+ name: string;
12111
+ key: string;
12112
+ dataId: string;
12057
12113
  }[];
12058
12114
  })[];
12059
12115
  _output_out: ({
@@ -12108,10 +12164,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
12108
12164
  avatar: string | null;
12109
12165
  isSearchable: boolean;
12110
12166
  };
12111
- files: {
12112
- fileId: string;
12113
- filename: string;
12114
- fileKey: string;
12167
+ attachments: {
12168
+ name: string;
12169
+ key: string;
12170
+ dataId: string;
12115
12171
  }[];
12116
12172
  })[];
12117
12173
  }, unknown>>;
@@ -12332,10 +12388,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
12332
12388
  avatar: string | null;
12333
12389
  isSearchable: boolean;
12334
12390
  };
12335
- files: {
12336
- fileId: string;
12337
- filename: string;
12338
- fileKey: string;
12391
+ attachments: {
12392
+ name: string;
12393
+ key: string;
12394
+ dataId: string;
12339
12395
  }[];
12340
12396
  })[];
12341
12397
  _output_out: ({
@@ -12390,10 +12446,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
12390
12446
  avatar: string | null;
12391
12447
  isSearchable: boolean;
12392
12448
  };
12393
- files: {
12394
- fileId: string;
12395
- filename: string;
12396
- fileKey: string;
12449
+ attachments: {
12450
+ name: string;
12451
+ key: string;
12452
+ dataId: string;
12397
12453
  }[];
12398
12454
  })[];
12399
12455
  }, unknown>>;
@@ -12588,10 +12644,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
12588
12644
  body: string;
12589
12645
  } & {
12590
12646
  recipientId: string;
12591
- files: {
12592
- id: string;
12593
- filename: string;
12594
- fileKey: string;
12647
+ attachments: {
12648
+ name: string;
12649
+ key: string;
12650
+ dataId: string;
12595
12651
  }[];
12596
12652
  })[];
12597
12653
  temporaryRecipients: string[];
@@ -12604,10 +12660,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
12604
12660
  body: string;
12605
12661
  } & {
12606
12662
  recipientId: string;
12607
- files: {
12608
- id: string;
12609
- filename: string;
12610
- fileKey: string;
12663
+ attachments: {
12664
+ name: string;
12665
+ key: string;
12666
+ dataId: string;
12611
12667
  }[];
12612
12668
  })[];
12613
12669
  temporaryRecipients: string[];
@@ -12673,10 +12729,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
12673
12729
  body: string;
12674
12730
  } & {
12675
12731
  recipientId: string;
12676
- files: {
12732
+ attachments: {
12677
12733
  id: string;
12678
- filename: string;
12679
- fileKey: string;
12734
+ name: string;
12735
+ key: string;
12680
12736
  }[];
12681
12737
  };
12682
12738
  };
@@ -12687,10 +12743,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
12687
12743
  body: string;
12688
12744
  } & {
12689
12745
  recipientId: string;
12690
- files: {
12746
+ attachments: {
12691
12747
  id: string;
12692
- filename: string;
12693
- fileKey: string;
12748
+ name: string;
12749
+ key: string;
12694
12750
  }[];
12695
12751
  };
12696
12752
  };
@@ -12802,10 +12858,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
12802
12858
  avatar: string | null;
12803
12859
  isSearchable: boolean;
12804
12860
  };
12805
- files: {
12806
- fileId: string;
12807
- filename: string;
12808
- fileKey: string;
12861
+ attachments: {
12862
+ name: string;
12863
+ key: string;
12864
+ dataId: string;
12809
12865
  }[];
12810
12866
  })[];
12811
12867
  _output_out: ({
@@ -12860,10 +12916,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
12860
12916
  avatar: string | null;
12861
12917
  isSearchable: boolean;
12862
12918
  };
12863
- files: {
12864
- fileId: string;
12865
- filename: string;
12866
- fileKey: string;
12919
+ attachments: {
12920
+ name: string;
12921
+ key: string;
12922
+ dataId: string;
12867
12923
  }[];
12868
12924
  })[];
12869
12925
  }, unknown>>;
@@ -13106,10 +13162,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
13106
13162
  avatar: string | null;
13107
13163
  isSearchable: boolean;
13108
13164
  };
13109
- files: {
13110
- fileId: string;
13111
- filename: string;
13112
- fileKey: string;
13165
+ attachments: {
13166
+ name: string;
13167
+ key: string;
13168
+ dataId: string;
13113
13169
  }[];
13114
13170
  };
13115
13171
  _output_out: {
@@ -13164,10 +13220,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
13164
13220
  avatar: string | null;
13165
13221
  isSearchable: boolean;
13166
13222
  };
13167
- files: {
13168
- fileId: string;
13169
- filename: string;
13170
- fileKey: string;
13223
+ attachments: {
13224
+ name: string;
13225
+ key: string;
13226
+ dataId: string;
13171
13227
  }[];
13172
13228
  };
13173
13229
  }, unknown>>;
@@ -13599,28 +13655,28 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
13599
13655
  quotas: {
13600
13656
  uploadCount: bigint | null;
13601
13657
  downloadCount: bigint | null;
13602
- totalFileCount: bigint | null;
13658
+ totalDataCount: bigint | null;
13603
13659
  totalStorageSize: bigint | null;
13604
- perFileSize: bigint | null;
13660
+ perDataSize: bigint | null;
13605
13661
  uploadBandwidth: bigint | null;
13606
13662
  downloadBandwidth: bigint | null;
13607
13663
  } & {
13608
13664
  sentMails: {
13609
13665
  count: bigint | null;
13610
- fileSize: bigint | null;
13611
- totalFileCount: bigint | null;
13666
+ dataSize: bigint | null;
13667
+ totalDataCount: bigint | null;
13612
13668
  totalStorageSize: bigint | null;
13613
- fileCount: bigint | null;
13614
- perFileSize: bigint | null;
13669
+ dataCount: bigint | null;
13670
+ perDataSize: bigint | null;
13615
13671
  totalCount: bigint | null;
13616
13672
  };
13617
13673
  receivedMails: {
13618
13674
  count: bigint | null;
13619
- fileSize: bigint | null;
13620
- totalFileCount: bigint | null;
13675
+ dataSize: bigint | null;
13676
+ totalDataCount: bigint | null;
13621
13677
  totalStorageSize: bigint | null;
13622
- fileCount: bigint | null;
13623
- perFileSize: bigint | null;
13678
+ dataCount: bigint | null;
13679
+ perDataSize: bigint | null;
13624
13680
  totalCount: bigint | null;
13625
13681
  };
13626
13682
  };
@@ -13639,28 +13695,28 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
13639
13695
  quotas: {
13640
13696
  uploadCount: bigint | null;
13641
13697
  downloadCount: bigint | null;
13642
- totalFileCount: bigint | null;
13698
+ totalDataCount: bigint | null;
13643
13699
  totalStorageSize: bigint | null;
13644
- perFileSize: bigint | null;
13700
+ perDataSize: bigint | null;
13645
13701
  uploadBandwidth: bigint | null;
13646
13702
  downloadBandwidth: bigint | null;
13647
13703
  } & {
13648
13704
  sentMails: {
13649
13705
  count: bigint | null;
13650
- fileSize: bigint | null;
13651
- totalFileCount: bigint | null;
13706
+ dataSize: bigint | null;
13707
+ totalDataCount: bigint | null;
13652
13708
  totalStorageSize: bigint | null;
13653
- fileCount: bigint | null;
13654
- perFileSize: bigint | null;
13709
+ dataCount: bigint | null;
13710
+ perDataSize: bigint | null;
13655
13711
  totalCount: bigint | null;
13656
13712
  };
13657
13713
  receivedMails: {
13658
13714
  count: bigint | null;
13659
- fileSize: bigint | null;
13660
- totalFileCount: bigint | null;
13715
+ dataSize: bigint | null;
13716
+ totalDataCount: bigint | null;
13661
13717
  totalStorageSize: bigint | null;
13662
- fileCount: bigint | null;
13663
- perFileSize: bigint | null;
13718
+ dataCount: bigint | null;
13719
+ perDataSize: bigint | null;
13664
13720
  totalCount: bigint | null;
13665
13721
  };
13666
13722
  };
@@ -16026,9 +16082,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16026
16082
  usersBase: bigint | null;
16027
16083
  usersUnit: bigint | null;
16028
16084
  usersPrice: number | null;
16029
- perFileSizeBase: bigint | null;
16030
- perFileSizeUnit: bigint | null;
16031
- perFileSizePrice: number | null;
16085
+ perDataSizeBase: bigint | null;
16086
+ perDataSizeUnit: bigint | null;
16087
+ perDataSizePrice: number | null;
16032
16088
  bandwidthBase: bigint | null;
16033
16089
  bandwidthUnit: bigint | null;
16034
16090
  bandwidthPrice: number | null;
@@ -16037,7 +16093,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16037
16093
  totalStorageSizePrice: number | null;
16038
16094
  devsMax: bigint | null;
16039
16095
  usersMax: bigint | null;
16040
- perFileSizeMax: bigint | null;
16096
+ perDataSizeMax: bigint | null;
16041
16097
  bandwidthMax: bigint | null;
16042
16098
  totalStorageSizeMax: bigint | null;
16043
16099
  };
@@ -16076,9 +16132,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16076
16132
  usersBase: bigint | null;
16077
16133
  usersUnit: bigint | null;
16078
16134
  usersPrice: number | null;
16079
- perFileSizeBase: bigint | null;
16080
- perFileSizeUnit: bigint | null;
16081
- perFileSizePrice: number | null;
16135
+ perDataSizeBase: bigint | null;
16136
+ perDataSizeUnit: bigint | null;
16137
+ perDataSizePrice: number | null;
16082
16138
  bandwidthBase: bigint | null;
16083
16139
  bandwidthUnit: bigint | null;
16084
16140
  bandwidthPrice: number | null;
@@ -16087,7 +16143,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16087
16143
  totalStorageSizePrice: number | null;
16088
16144
  devsMax: bigint | null;
16089
16145
  usersMax: bigint | null;
16090
- perFileSizeMax: bigint | null;
16146
+ perDataSizeMax: bigint | null;
16091
16147
  bandwidthMax: bigint | null;
16092
16148
  totalStorageSizeMax: bigint | null;
16093
16149
  };
@@ -16108,9 +16164,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16108
16164
  usersBase: bigint | null;
16109
16165
  usersUnit: bigint | null;
16110
16166
  usersPrice: number | null;
16111
- perFileSizeBase: bigint | null;
16112
- perFileSizeUnit: bigint | null;
16113
- perFileSizePrice: number | null;
16167
+ perDataSizeBase: bigint | null;
16168
+ perDataSizeUnit: bigint | null;
16169
+ perDataSizePrice: number | null;
16114
16170
  bandwidthBase: bigint | null;
16115
16171
  bandwidthUnit: bigint | null;
16116
16172
  bandwidthPrice: number | null;
@@ -16119,7 +16175,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16119
16175
  totalStorageSizePrice: number | null;
16120
16176
  devsMax: bigint | null;
16121
16177
  usersMax: bigint | null;
16122
- perFileSizeMax: bigint | null;
16178
+ perDataSizeMax: bigint | null;
16123
16179
  bandwidthMax: bigint | null;
16124
16180
  totalStorageSizeMax: bigint | null;
16125
16181
  };
@@ -16158,9 +16214,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16158
16214
  usersBase: bigint | null;
16159
16215
  usersUnit: bigint | null;
16160
16216
  usersPrice: number | null;
16161
- perFileSizeBase: bigint | null;
16162
- perFileSizeUnit: bigint | null;
16163
- perFileSizePrice: number | null;
16217
+ perDataSizeBase: bigint | null;
16218
+ perDataSizeUnit: bigint | null;
16219
+ perDataSizePrice: number | null;
16164
16220
  bandwidthBase: bigint | null;
16165
16221
  bandwidthUnit: bigint | null;
16166
16222
  bandwidthPrice: number | null;
@@ -16169,7 +16225,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16169
16225
  totalStorageSizePrice: number | null;
16170
16226
  devsMax: bigint | null;
16171
16227
  usersMax: bigint | null;
16172
- perFileSizeMax: bigint | null;
16228
+ perDataSizeMax: bigint | null;
16173
16229
  bandwidthMax: bigint | null;
16174
16230
  totalStorageSizeMax: bigint | null;
16175
16231
  };
@@ -16244,9 +16300,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16244
16300
  usersBase: bigint | null;
16245
16301
  usersUnit: bigint | null;
16246
16302
  usersPrice: number | null;
16247
- perFileSizeBase: bigint | null;
16248
- perFileSizeUnit: bigint | null;
16249
- perFileSizePrice: number | null;
16303
+ perDataSizeBase: bigint | null;
16304
+ perDataSizeUnit: bigint | null;
16305
+ perDataSizePrice: number | null;
16250
16306
  bandwidthBase: bigint | null;
16251
16307
  bandwidthUnit: bigint | null;
16252
16308
  bandwidthPrice: number | null;
@@ -16255,7 +16311,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16255
16311
  totalStorageSizePrice: number | null;
16256
16312
  devsMax: bigint | null;
16257
16313
  usersMax: bigint | null;
16258
- perFileSizeMax: bigint | null;
16314
+ perDataSizeMax: bigint | null;
16259
16315
  bandwidthMax: bigint | null;
16260
16316
  totalStorageSizeMax: bigint | null;
16261
16317
  };
@@ -16294,9 +16350,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16294
16350
  usersBase: bigint | null;
16295
16351
  usersUnit: bigint | null;
16296
16352
  usersPrice: number | null;
16297
- perFileSizeBase: bigint | null;
16298
- perFileSizeUnit: bigint | null;
16299
- perFileSizePrice: number | null;
16353
+ perDataSizeBase: bigint | null;
16354
+ perDataSizeUnit: bigint | null;
16355
+ perDataSizePrice: number | null;
16300
16356
  bandwidthBase: bigint | null;
16301
16357
  bandwidthUnit: bigint | null;
16302
16358
  bandwidthPrice: number | null;
@@ -16305,7 +16361,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16305
16361
  totalStorageSizePrice: number | null;
16306
16362
  devsMax: bigint | null;
16307
16363
  usersMax: bigint | null;
16308
- perFileSizeMax: bigint | null;
16364
+ perDataSizeMax: bigint | null;
16309
16365
  bandwidthMax: bigint | null;
16310
16366
  totalStorageSizeMax: bigint | null;
16311
16367
  };
@@ -16326,9 +16382,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16326
16382
  usersBase: bigint | null;
16327
16383
  usersUnit: bigint | null;
16328
16384
  usersPrice: number | null;
16329
- perFileSizeBase: bigint | null;
16330
- perFileSizeUnit: bigint | null;
16331
- perFileSizePrice: number | null;
16385
+ perDataSizeBase: bigint | null;
16386
+ perDataSizeUnit: bigint | null;
16387
+ perDataSizePrice: number | null;
16332
16388
  bandwidthBase: bigint | null;
16333
16389
  bandwidthUnit: bigint | null;
16334
16390
  bandwidthPrice: number | null;
@@ -16337,7 +16393,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16337
16393
  totalStorageSizePrice: number | null;
16338
16394
  devsMax: bigint | null;
16339
16395
  usersMax: bigint | null;
16340
- perFileSizeMax: bigint | null;
16396
+ perDataSizeMax: bigint | null;
16341
16397
  bandwidthMax: bigint | null;
16342
16398
  totalStorageSizeMax: bigint | null;
16343
16399
  };
@@ -16376,9 +16432,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16376
16432
  usersBase: bigint | null;
16377
16433
  usersUnit: bigint | null;
16378
16434
  usersPrice: number | null;
16379
- perFileSizeBase: bigint | null;
16380
- perFileSizeUnit: bigint | null;
16381
- perFileSizePrice: number | null;
16435
+ perDataSizeBase: bigint | null;
16436
+ perDataSizeUnit: bigint | null;
16437
+ perDataSizePrice: number | null;
16382
16438
  bandwidthBase: bigint | null;
16383
16439
  bandwidthUnit: bigint | null;
16384
16440
  bandwidthPrice: number | null;
@@ -16387,7 +16443,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16387
16443
  totalStorageSizePrice: number | null;
16388
16444
  devsMax: bigint | null;
16389
16445
  usersMax: bigint | null;
16390
- perFileSizeMax: bigint | null;
16446
+ perDataSizeMax: bigint | null;
16391
16447
  bandwidthMax: bigint | null;
16392
16448
  totalStorageSizeMax: bigint | null;
16393
16449
  };
@@ -17776,6 +17832,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
17776
17832
  _input_in: {} | undefined;
17777
17833
  _input_out: {} | undefined;
17778
17834
  _output_in: {
17835
+ accountId: string;
17779
17836
  userId: string;
17780
17837
  id: string;
17781
17838
  createdAt: Date;
@@ -17784,7 +17841,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
17784
17841
  ip: string | null;
17785
17842
  country: string | null;
17786
17843
  city: string | null;
17787
- appSessions: {
17844
+ appSessions: ({
17788
17845
  appId: string;
17789
17846
  userId: string;
17790
17847
  id: string;
@@ -17795,12 +17852,14 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
17795
17852
  ip: string | null;
17796
17853
  country: string | null;
17797
17854
  city: string | null;
17855
+ } & {
17798
17856
  name: string;
17799
17857
  logo: string | null;
17800
17858
  origin: string[];
17801
- }[];
17859
+ })[];
17802
17860
  }[];
17803
17861
  _output_out: {
17862
+ accountId: string;
17804
17863
  userId: string;
17805
17864
  id: string;
17806
17865
  createdAt: Date;
@@ -17809,7 +17868,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
17809
17868
  ip: string | null;
17810
17869
  country: string | null;
17811
17870
  city: string | null;
17812
- appSessions: {
17871
+ appSessions: ({
17813
17872
  appId: string;
17814
17873
  userId: string;
17815
17874
  id: string;
@@ -17820,10 +17879,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
17820
17879
  ip: string | null;
17821
17880
  country: string | null;
17822
17881
  city: string | null;
17882
+ } & {
17823
17883
  name: string;
17824
17884
  logo: string | null;
17825
17885
  origin: string[];
17826
- }[];
17886
+ })[];
17827
17887
  }[];
17828
17888
  }, unknown>>;
17829
17889
  };
@@ -18146,14 +18206,12 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
18146
18206
  _input_in: {
18147
18207
  lastname?: string | null | undefined;
18148
18208
  firstname?: string | null | undefined;
18149
- avatar?: string | null | undefined;
18150
18209
  isSearchable?: boolean | undefined;
18151
18210
  lang?: "fr" | "en" | null | undefined;
18152
18211
  };
18153
18212
  _input_out: {
18154
18213
  lastname?: string | null | undefined;
18155
18214
  firstname?: string | null | undefined;
18156
- avatar?: string | null | undefined;
18157
18215
  isSearchable?: boolean | undefined;
18158
18216
  lang?: "fr" | "en" | null | undefined;
18159
18217
  };
@@ -18189,62 +18247,6 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
18189
18247
  };
18190
18248
  }, unknown>>;
18191
18249
  };
18192
- myApps: {
18193
- query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
18194
- _config: import("@trpc/server").RootConfig<{
18195
- ctx: {
18196
- req: {
18197
- headers: Headers;
18198
- body: ReadableStream<Uint8Array> | null;
18199
- };
18200
- res: {
18201
- headers: Headers;
18202
- };
18203
- session: SecrecySession | null;
18204
- locale: Locales;
18205
- ls: TranslationFunctions;
18206
- };
18207
- meta: object;
18208
- errorShape: {
18209
- message: string;
18210
- code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
18211
- data: _trpc_server_dist_error_formatter.DefaultErrorData;
18212
- } | {
18213
- data: {
18214
- zodError: import("zod").typeToFlattenedError<any, string> | null;
18215
- code: import("@trpc/server/rpc").TRPC_ERROR_CODE_KEY;
18216
- httpStatus: number;
18217
- path?: string;
18218
- stack?: string;
18219
- };
18220
- message: string;
18221
- code: import("@trpc/server/rpc").TRPC_ERROR_CODE_NUMBER;
18222
- };
18223
- transformer: typeof superjson;
18224
- }>;
18225
- _meta: object;
18226
- _ctx_out: {
18227
- session: SecrecySession;
18228
- req: {
18229
- headers: Headers;
18230
- body: ReadableStream<Uint8Array> | null;
18231
- };
18232
- res: {
18233
- headers: Headers;
18234
- };
18235
- locale: Locales;
18236
- ls: TranslationFunctions;
18237
- };
18238
- _input_in: {};
18239
- _input_out: {};
18240
- _output_in: {
18241
- apps: Record<string, string>;
18242
- };
18243
- _output_out: {
18244
- apps: Record<string, string>;
18245
- };
18246
- }, unknown>>;
18247
- };
18248
18250
  };
18249
18251
  };
18250
18252
  export type ApiClient = ReturnType<typeof createTRPCClient>;