@secrecy/trpc-api-types 1.33.0-feat-billing-by-app-or-user.1 → 1.33.0-feat-billing-by-app-or-user.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.
Files changed (2) hide show
  1. package/dist/index.d.cts +2279 -246
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -303,7 +303,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
303
303
  transformer: typeof superjson.default;
304
304
  }>;
305
305
  _meta: object;
306
- _ctx_out: {};
306
+ _ctx_out: {
307
+ session: {
308
+ app: {
309
+ id: string;
310
+ planId: string;
311
+ fakeUserId: string | undefined;
312
+ settings: {
313
+ id: string;
314
+ devsLimit: bigint | null;
315
+ usersLimit: bigint | null;
316
+ perDataSizeLimit: bigint | null;
317
+ bandwidthLimit: bigint | null;
318
+ totalStorageSizeLimit: bigint | null;
319
+ payForUsers: boolean;
320
+ };
321
+ };
322
+ sessionId: string;
323
+ accountId: string;
324
+ accountInfosId: string;
325
+ accountRole: _prisma_client.AccountRole;
326
+ userId: string;
327
+ userRole: _prisma_client.UserRole;
328
+ userPlan: _prisma_client.PlanKind;
329
+ };
330
+ req: {
331
+ headers: Headers;
332
+ };
333
+ res: {
334
+ headers: Headers;
335
+ };
336
+ locale: Locales;
337
+ ls: TranslationFunctions;
338
+ };
307
339
  _input_in: {
308
340
  appId?: string | undefined;
309
341
  } | undefined;
@@ -349,7 +381,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
349
381
  transformer: typeof superjson.default;
350
382
  }>;
351
383
  _meta: object;
352
- _ctx_out: {};
384
+ _ctx_out: {
385
+ session: {
386
+ app: {
387
+ id: string;
388
+ planId: string;
389
+ fakeUserId: string | undefined;
390
+ settings: {
391
+ id: string;
392
+ devsLimit: bigint | null;
393
+ usersLimit: bigint | null;
394
+ perDataSizeLimit: bigint | null;
395
+ bandwidthLimit: bigint | null;
396
+ totalStorageSizeLimit: bigint | null;
397
+ payForUsers: boolean;
398
+ };
399
+ };
400
+ sessionId: string;
401
+ accountId: string;
402
+ accountInfosId: string;
403
+ accountRole: _prisma_client.AccountRole;
404
+ userId: string;
405
+ userRole: _prisma_client.UserRole;
406
+ userPlan: _prisma_client.PlanKind;
407
+ };
408
+ req: {
409
+ headers: Headers;
410
+ };
411
+ res: {
412
+ headers: Headers;
413
+ };
414
+ locale: Locales;
415
+ ls: TranslationFunctions;
416
+ };
353
417
  _input_in: {
354
418
  appId?: string | undefined;
355
419
  } | undefined;
@@ -471,17 +535,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
471
535
  _input_in: {} | undefined;
472
536
  _input_out: {} | undefined;
473
537
  _output_in: {
538
+ name: string;
474
539
  id: string;
475
540
  quotasId: string;
476
- name: string;
477
541
  stripePricesId: string | null;
478
542
  isCustomPlan?: boolean | undefined;
479
543
  canHaveDatabase?: boolean | undefined;
480
544
  };
481
545
  _output_out: {
546
+ name: string;
482
547
  id: string;
483
548
  quotasId: string;
484
- name: string;
485
549
  isCustomPlan: boolean;
486
550
  canHaveDatabase: boolean;
487
551
  stripePricesId: string | null;
@@ -509,7 +573,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
509
573
  transformer: typeof superjson.default;
510
574
  }>;
511
575
  _meta: object;
512
- _ctx_out: {};
576
+ _ctx_out: {
577
+ session: {
578
+ app: {
579
+ id: string;
580
+ planId: string;
581
+ fakeUserId: string | undefined;
582
+ settings: {
583
+ id: string;
584
+ devsLimit: bigint | null;
585
+ usersLimit: bigint | null;
586
+ perDataSizeLimit: bigint | null;
587
+ bandwidthLimit: bigint | null;
588
+ totalStorageSizeLimit: bigint | null;
589
+ payForUsers: boolean;
590
+ };
591
+ };
592
+ sessionId: string;
593
+ accountId: string;
594
+ accountInfosId: string;
595
+ accountRole: _prisma_client.AccountRole;
596
+ userId: string;
597
+ userRole: _prisma_client.UserRole;
598
+ userPlan: _prisma_client.PlanKind;
599
+ };
600
+ req: {
601
+ headers: Headers;
602
+ };
603
+ res: {
604
+ headers: Headers;
605
+ };
606
+ locale: Locales;
607
+ ls: TranslationFunctions;
608
+ };
513
609
  _input_in: {
514
610
  appId?: string | undefined;
515
611
  };
@@ -517,8 +613,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
517
613
  appId?: string | undefined;
518
614
  };
519
615
  _output_in: ({
520
- id: string;
521
616
  name: string;
617
+ id: string;
522
618
  isCustomPlan?: boolean | undefined;
523
619
  canHaveDatabase?: boolean | undefined;
524
620
  } & {
@@ -563,8 +659,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
563
659
  isCurrent: boolean;
564
660
  })[];
565
661
  _output_out: ({
566
- id: string;
567
662
  name: string;
663
+ id: string;
568
664
  isCustomPlan: boolean;
569
665
  canHaveDatabase: boolean;
570
666
  } & {
@@ -801,14 +897,46 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
801
897
  transformer: typeof superjson.default;
802
898
  }>;
803
899
  _meta: object;
804
- _ctx_out: {};
900
+ _ctx_out: {
901
+ session: {
902
+ app: {
903
+ id: string;
904
+ planId: string;
905
+ fakeUserId: string | undefined;
906
+ settings: {
907
+ id: string;
908
+ devsLimit: bigint | null;
909
+ usersLimit: bigint | null;
910
+ perDataSizeLimit: bigint | null;
911
+ bandwidthLimit: bigint | null;
912
+ totalStorageSizeLimit: bigint | null;
913
+ payForUsers: boolean;
914
+ };
915
+ };
916
+ sessionId: string;
917
+ accountId: string;
918
+ accountInfosId: string;
919
+ accountRole: _prisma_client.AccountRole;
920
+ userId: string;
921
+ userRole: _prisma_client.UserRole;
922
+ userPlan: _prisma_client.PlanKind;
923
+ };
924
+ req: {
925
+ headers: Headers;
926
+ };
927
+ res: {
928
+ headers: Headers;
929
+ };
930
+ locale: Locales;
931
+ ls: TranslationFunctions;
932
+ };
805
933
  _input_in: {
806
- appId: string;
807
934
  userId: string;
935
+ appId: string;
808
936
  };
809
937
  _input_out: {
810
- appId: string;
811
938
  userId: string;
939
+ appId: string;
812
940
  };
813
941
  _output_in: {
814
942
  isApplicationUser: boolean;
@@ -1152,13 +1280,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1152
1280
  email: string;
1153
1281
  };
1154
1282
  _output_in: {
1155
- pub: string;
1156
1283
  srpSalt: string;
1284
+ pub: string;
1157
1285
  loginId: string;
1158
1286
  };
1159
1287
  _output_out: {
1160
- pub: string;
1161
1288
  srpSalt: string;
1289
+ pub: string;
1162
1290
  loginId: string;
1163
1291
  };
1164
1292
  }, unknown>;
@@ -1194,6 +1322,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1194
1322
  to: string;
1195
1323
  };
1196
1324
  _output_in: {
1325
+ loginToken: string;
1197
1326
  users: {
1198
1327
  id: string;
1199
1328
  lastname: string;
@@ -1201,9 +1330,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1201
1330
  avatar: string | null;
1202
1331
  isSearchable: boolean;
1203
1332
  }[];
1204
- loginToken: string;
1205
1333
  };
1206
1334
  _output_out: {
1335
+ loginToken: string;
1207
1336
  users: {
1208
1337
  id: string;
1209
1338
  lastname: string;
@@ -1211,7 +1340,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1211
1340
  avatar: string | null;
1212
1341
  isSearchable: boolean;
1213
1342
  }[];
1214
- loginToken: string;
1215
1343
  };
1216
1344
  }, unknown>;
1217
1345
  logout: _trpc_server.BuildProcedure<"mutation", {
@@ -1276,22 +1404,22 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1276
1404
  _input_in: {};
1277
1405
  _input_out: {};
1278
1406
  _output_in: {
1407
+ masterKeySalt: string;
1279
1408
  cryptoWallets: {
1280
1409
  address: string;
1281
1410
  encryptedKeystore: string;
1282
1411
  }[];
1283
- masterKeySalt: string;
1284
1412
  keyPairs: {
1285
1413
  pub: string;
1286
1414
  encPriv: string;
1287
1415
  }[];
1288
1416
  };
1289
1417
  _output_out: {
1418
+ masterKeySalt: string;
1290
1419
  cryptoWallets: {
1291
1420
  address: string;
1292
1421
  encryptedKeystore: string;
1293
1422
  }[];
1294
- masterKeySalt: string;
1295
1423
  keyPairs: {
1296
1424
  pub: string;
1297
1425
  encPriv: string;
@@ -1410,14 +1538,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1410
1538
  godFather?: string | undefined;
1411
1539
  };
1412
1540
  _output_in: {
1413
- sessionId: string;
1414
1541
  userId: string;
1542
+ sessionId: string;
1415
1543
  } & {
1416
1544
  masterKeySalt: string;
1417
1545
  };
1418
1546
  _output_out: {
1419
- sessionId: string;
1420
1547
  userId: string;
1548
+ sessionId: string;
1421
1549
  } & {
1422
1550
  masterKeySalt: string;
1423
1551
  };
@@ -1488,20 +1616,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1488
1616
  _meta: object;
1489
1617
  _ctx_out: {};
1490
1618
  _input_in: {
1491
- userId: string;
1492
1619
  loginToken: string;
1620
+ userId: string;
1493
1621
  };
1494
1622
  _input_out: {
1495
- userId: string;
1496
1623
  loginToken: string;
1624
+ userId: string;
1497
1625
  };
1498
1626
  _output_in: {
1499
- session: string;
1500
1627
  masterKeySalt: string;
1628
+ session: string;
1501
1629
  };
1502
1630
  _output_out: {
1503
- session: string;
1504
1631
  masterKeySalt: string;
1632
+ session: string;
1505
1633
  };
1506
1634
  }, unknown>;
1507
1635
  signup: _trpc_server.BuildProcedure<"mutation", {
@@ -1529,22 +1657,22 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1529
1657
  _ctx_out: {};
1530
1658
  _input_in: {
1531
1659
  email: string;
1532
- lastname: string;
1533
- firstname: string;
1534
- phone: string;
1535
1660
  srpSalt: string;
1536
1661
  masterKeySalt: string;
1537
1662
  srpVerifier: string;
1663
+ lastname: string;
1664
+ firstname: string;
1665
+ phone: string;
1538
1666
  token: string;
1539
1667
  };
1540
1668
  _input_out: {
1541
1669
  email: string;
1542
- lastname: string;
1543
- firstname: string;
1544
- phone: string;
1545
1670
  srpSalt: string;
1546
1671
  masterKeySalt: string;
1547
1672
  srpVerifier: string;
1673
+ lastname: string;
1674
+ firstname: string;
1675
+ phone: string;
1548
1676
  token: string;
1549
1677
  };
1550
1678
  _output_in: {};
@@ -1754,10 +1882,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1754
1882
  nodeId: string;
1755
1883
  };
1756
1884
  _output_in: {
1885
+ name: string;
1757
1886
  id: string;
1758
1887
  createdAt: Date;
1759
1888
  deletedAt: Date | null;
1760
- name: string;
1761
1889
  updatedAt: Date;
1762
1890
  type: "FILE" | "FOLDER";
1763
1891
  isFavorite: boolean;
@@ -1823,10 +1951,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1823
1951
  };
1824
1952
  }[];
1825
1953
  parent: ({
1954
+ name: string;
1826
1955
  id: string;
1827
1956
  createdAt: Date;
1828
1957
  deletedAt: Date | null;
1829
- name: string;
1830
1958
  updatedAt: Date;
1831
1959
  type: "FILE" | "FOLDER";
1832
1960
  isFavorite: boolean;
@@ -1855,10 +1983,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1855
1983
  };
1856
1984
  }) | null;
1857
1985
  children: ({
1986
+ name: string;
1858
1987
  id: string;
1859
1988
  createdAt: Date;
1860
1989
  deletedAt: Date | null;
1861
- name: string;
1862
1990
  updatedAt: Date;
1863
1991
  type: "FILE" | "FOLDER";
1864
1992
  isFavorite: boolean;
@@ -1892,17 +2020,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1892
2020
  };
1893
2021
  })[];
1894
2022
  breadcrumb: {
1895
- id: string;
1896
2023
  name: string;
2024
+ id: string;
1897
2025
  nameKey: string | null;
1898
2026
  pubKey: string;
1899
2027
  }[];
1900
2028
  };
1901
2029
  _output_out: {
2030
+ name: string;
1902
2031
  id: string;
1903
2032
  createdAt: Date;
1904
2033
  deletedAt: Date | null;
1905
- name: string;
1906
2034
  updatedAt: Date;
1907
2035
  type: "FILE" | "FOLDER";
1908
2036
  isFavorite: boolean;
@@ -1968,10 +2096,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1968
2096
  };
1969
2097
  }[];
1970
2098
  parent: ({
2099
+ name: string;
1971
2100
  id: string;
1972
2101
  createdAt: Date;
1973
2102
  deletedAt: Date | null;
1974
- name: string;
1975
2103
  updatedAt: Date;
1976
2104
  type: "FILE" | "FOLDER";
1977
2105
  isFavorite: boolean;
@@ -2000,10 +2128,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2000
2128
  };
2001
2129
  }) | null;
2002
2130
  children: ({
2131
+ name: string;
2003
2132
  id: string;
2004
2133
  createdAt: Date;
2005
2134
  deletedAt: Date | null;
2006
- name: string;
2007
2135
  updatedAt: Date;
2008
2136
  type: "FILE" | "FOLDER";
2009
2137
  isFavorite: boolean;
@@ -2037,8 +2165,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2037
2165
  };
2038
2166
  })[];
2039
2167
  breadcrumb: {
2040
- id: string;
2041
2168
  name: string;
2169
+ id: string;
2042
2170
  nameKey: string | null;
2043
2171
  pubKey: string;
2044
2172
  }[];
@@ -2478,10 +2606,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2478
2606
  fileName: string;
2479
2607
  };
2480
2608
  _output_in: {
2609
+ name: string;
2481
2610
  id: string;
2482
2611
  createdAt: Date;
2483
2612
  deletedAt: Date | null;
2484
- name: string;
2485
2613
  updatedAt: Date;
2486
2614
  type: "FILE" | "FOLDER";
2487
2615
  isFavorite: boolean;
@@ -2547,10 +2675,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2547
2675
  };
2548
2676
  }[];
2549
2677
  parent: ({
2678
+ name: string;
2550
2679
  id: string;
2551
2680
  createdAt: Date;
2552
2681
  deletedAt: Date | null;
2553
- name: string;
2554
2682
  updatedAt: Date;
2555
2683
  type: "FILE" | "FOLDER";
2556
2684
  isFavorite: boolean;
@@ -2579,10 +2707,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2579
2707
  };
2580
2708
  }) | null;
2581
2709
  children: ({
2710
+ name: string;
2582
2711
  id: string;
2583
2712
  createdAt: Date;
2584
2713
  deletedAt: Date | null;
2585
- name: string;
2586
2714
  updatedAt: Date;
2587
2715
  type: "FILE" | "FOLDER";
2588
2716
  isFavorite: boolean;
@@ -2616,17 +2744,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2616
2744
  };
2617
2745
  })[];
2618
2746
  breadcrumb: {
2619
- id: string;
2620
2747
  name: string;
2748
+ id: string;
2621
2749
  nameKey: string | null;
2622
2750
  pubKey: string;
2623
2751
  }[];
2624
2752
  };
2625
2753
  _output_out: {
2754
+ name: string;
2626
2755
  id: string;
2627
2756
  createdAt: Date;
2628
2757
  deletedAt: Date | null;
2629
- name: string;
2630
2758
  updatedAt: Date;
2631
2759
  type: "FILE" | "FOLDER";
2632
2760
  isFavorite: boolean;
@@ -2692,10 +2820,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2692
2820
  };
2693
2821
  }[];
2694
2822
  parent: ({
2823
+ name: string;
2695
2824
  id: string;
2696
2825
  createdAt: Date;
2697
2826
  deletedAt: Date | null;
2698
- name: string;
2699
2827
  updatedAt: Date;
2700
2828
  type: "FILE" | "FOLDER";
2701
2829
  isFavorite: boolean;
@@ -2724,10 +2852,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2724
2852
  };
2725
2853
  }) | null;
2726
2854
  children: ({
2855
+ name: string;
2727
2856
  id: string;
2728
2857
  createdAt: Date;
2729
2858
  deletedAt: Date | null;
2730
- name: string;
2731
2859
  updatedAt: Date;
2732
2860
  type: "FILE" | "FOLDER";
2733
2861
  isFavorite: boolean;
@@ -2761,8 +2889,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2761
2889
  };
2762
2890
  })[];
2763
2891
  breadcrumb: {
2764
- id: string;
2765
2892
  name: string;
2893
+ id: string;
2766
2894
  nameKey: string | null;
2767
2895
  pubKey: string;
2768
2896
  }[];
@@ -2853,10 +2981,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2853
2981
  encPriv: string;
2854
2982
  }[];
2855
2983
  nodes: {
2984
+ name: string;
2856
2985
  id: string;
2857
2986
  createdAt: Date;
2858
2987
  deletedAt: Date | null;
2859
- name: string;
2860
2988
  updatedAt: Date;
2861
2989
  history: {
2862
2990
  createdAt: Date;
@@ -2870,8 +2998,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2870
2998
  };
2871
2999
  totalSize: bigint;
2872
3000
  breadcrumb: {
2873
- id: string;
2874
3001
  name: string;
3002
+ id: string;
2875
3003
  nameKey: string | null;
2876
3004
  pubKey: string;
2877
3005
  }[];
@@ -2894,10 +3022,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2894
3022
  encPriv: string;
2895
3023
  }[];
2896
3024
  nodes: {
3025
+ name: string;
2897
3026
  id: string;
2898
3027
  createdAt: Date;
2899
3028
  deletedAt: Date | null;
2900
- name: string;
2901
3029
  updatedAt: Date;
2902
3030
  history: {
2903
3031
  createdAt: Date;
@@ -2911,8 +3039,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2911
3039
  };
2912
3040
  totalSize: bigint;
2913
3041
  breadcrumb: {
2914
- id: string;
2915
3042
  name: string;
3043
+ id: string;
2916
3044
  nameKey: string | null;
2917
3045
  pubKey: string;
2918
3046
  }[];
@@ -3228,10 +3356,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3228
3356
  parentId: string | null;
3229
3357
  };
3230
3358
  _output_in: {
3359
+ name: string;
3231
3360
  id: string;
3232
3361
  createdAt: Date;
3233
3362
  deletedAt: Date | null;
3234
- name: string;
3235
3363
  updatedAt: Date;
3236
3364
  type: "FILE" | "FOLDER";
3237
3365
  isFavorite: boolean;
@@ -3297,10 +3425,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3297
3425
  };
3298
3426
  }[];
3299
3427
  parent: ({
3428
+ name: string;
3300
3429
  id: string;
3301
3430
  createdAt: Date;
3302
3431
  deletedAt: Date | null;
3303
- name: string;
3304
3432
  updatedAt: Date;
3305
3433
  type: "FILE" | "FOLDER";
3306
3434
  isFavorite: boolean;
@@ -3329,10 +3457,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3329
3457
  };
3330
3458
  }) | null;
3331
3459
  children: ({
3460
+ name: string;
3332
3461
  id: string;
3333
3462
  createdAt: Date;
3334
3463
  deletedAt: Date | null;
3335
- name: string;
3336
3464
  updatedAt: Date;
3337
3465
  type: "FILE" | "FOLDER";
3338
3466
  isFavorite: boolean;
@@ -3366,17 +3494,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3366
3494
  };
3367
3495
  })[];
3368
3496
  breadcrumb: {
3369
- id: string;
3370
3497
  name: string;
3498
+ id: string;
3371
3499
  nameKey: string | null;
3372
3500
  pubKey: string;
3373
3501
  }[];
3374
3502
  };
3375
3503
  _output_out: {
3504
+ name: string;
3376
3505
  id: string;
3377
3506
  createdAt: Date;
3378
3507
  deletedAt: Date | null;
3379
- name: string;
3380
3508
  updatedAt: Date;
3381
3509
  type: "FILE" | "FOLDER";
3382
3510
  isFavorite: boolean;
@@ -3442,10 +3570,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3442
3570
  };
3443
3571
  }[];
3444
3572
  parent: ({
3573
+ name: string;
3445
3574
  id: string;
3446
3575
  createdAt: Date;
3447
3576
  deletedAt: Date | null;
3448
- name: string;
3449
3577
  updatedAt: Date;
3450
3578
  type: "FILE" | "FOLDER";
3451
3579
  isFavorite: boolean;
@@ -3474,10 +3602,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3474
3602
  };
3475
3603
  }) | null;
3476
3604
  children: ({
3605
+ name: string;
3477
3606
  id: string;
3478
3607
  createdAt: Date;
3479
3608
  deletedAt: Date | null;
3480
- name: string;
3481
3609
  updatedAt: Date;
3482
3610
  type: "FILE" | "FOLDER";
3483
3611
  isFavorite: boolean;
@@ -3511,8 +3639,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3511
3639
  };
3512
3640
  })[];
3513
3641
  breadcrumb: {
3514
- id: string;
3515
3642
  name: string;
3643
+ id: string;
3516
3644
  nameKey: string | null;
3517
3645
  pubKey: string;
3518
3646
  }[];
@@ -3826,14 +3954,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3826
3954
  id: string;
3827
3955
  };
3828
3956
  _output_in: {
3829
- id: string;
3830
3957
  name: string;
3958
+ id: string;
3831
3959
  nameKey: string | null;
3832
3960
  pubKey: string;
3833
3961
  }[];
3834
3962
  _output_out: {
3835
- id: string;
3836
3963
  name: string;
3964
+ id: string;
3837
3965
  nameKey: string | null;
3838
3966
  pubKey: string;
3839
3967
  }[];
@@ -3870,10 +3998,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3870
3998
  deleted?: boolean | null | undefined;
3871
3999
  };
3872
4000
  _output_in: {
4001
+ name: string;
3873
4002
  id: string;
3874
4003
  createdAt: Date;
3875
4004
  deletedAt: Date | null;
3876
- name: string;
3877
4005
  updatedAt: Date;
3878
4006
  type: "FILE" | "FOLDER";
3879
4007
  isFavorite: boolean;
@@ -3907,10 +4035,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3907
4035
  };
3908
4036
  };
3909
4037
  _output_out: {
4038
+ name: string;
3910
4039
  id: string;
3911
4040
  createdAt: Date;
3912
4041
  deletedAt: Date | null;
3913
- name: string;
3914
4042
  updatedAt: Date;
3915
4043
  type: "FILE" | "FOLDER";
3916
4044
  isFavorite: boolean;
@@ -3976,10 +4104,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3976
4104
  deleted?: boolean | null | undefined;
3977
4105
  };
3978
4106
  _output_in: {
4107
+ name: string;
3979
4108
  id: string;
3980
4109
  createdAt: Date;
3981
4110
  deletedAt: Date | null;
3982
- name: string;
3983
4111
  updatedAt: Date;
3984
4112
  type: "FILE" | "FOLDER";
3985
4113
  isFavorite: boolean;
@@ -4045,10 +4173,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4045
4173
  };
4046
4174
  }[];
4047
4175
  parent: ({
4176
+ name: string;
4048
4177
  id: string;
4049
4178
  createdAt: Date;
4050
4179
  deletedAt: Date | null;
4051
- name: string;
4052
4180
  updatedAt: Date;
4053
4181
  type: "FILE" | "FOLDER";
4054
4182
  isFavorite: boolean;
@@ -4077,10 +4205,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4077
4205
  };
4078
4206
  }) | null;
4079
4207
  children: ({
4208
+ name: string;
4080
4209
  id: string;
4081
4210
  createdAt: Date;
4082
4211
  deletedAt: Date | null;
4083
- name: string;
4084
4212
  updatedAt: Date;
4085
4213
  type: "FILE" | "FOLDER";
4086
4214
  isFavorite: boolean;
@@ -4114,17 +4242,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4114
4242
  };
4115
4243
  })[];
4116
4244
  breadcrumb: {
4117
- id: string;
4118
4245
  name: string;
4246
+ id: string;
4119
4247
  nameKey: string | null;
4120
4248
  pubKey: string;
4121
4249
  }[];
4122
4250
  };
4123
4251
  _output_out: {
4252
+ name: string;
4124
4253
  id: string;
4125
4254
  createdAt: Date;
4126
4255
  deletedAt: Date | null;
4127
- name: string;
4128
4256
  updatedAt: Date;
4129
4257
  type: "FILE" | "FOLDER";
4130
4258
  isFavorite: boolean;
@@ -4190,10 +4318,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4190
4318
  };
4191
4319
  }[];
4192
4320
  parent: ({
4321
+ name: string;
4193
4322
  id: string;
4194
4323
  createdAt: Date;
4195
4324
  deletedAt: Date | null;
4196
- name: string;
4197
4325
  updatedAt: Date;
4198
4326
  type: "FILE" | "FOLDER";
4199
4327
  isFavorite: boolean;
@@ -4222,10 +4350,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4222
4350
  };
4223
4351
  }) | null;
4224
4352
  children: ({
4353
+ name: string;
4225
4354
  id: string;
4226
4355
  createdAt: Date;
4227
4356
  deletedAt: Date | null;
4228
- name: string;
4229
4357
  updatedAt: Date;
4230
4358
  type: "FILE" | "FOLDER";
4231
4359
  isFavorite: boolean;
@@ -4259,8 +4387,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4259
4387
  };
4260
4388
  })[];
4261
4389
  breadcrumb: {
4262
- id: string;
4263
4390
  name: string;
4391
+ id: string;
4264
4392
  nameKey: string | null;
4265
4393
  pubKey: string;
4266
4394
  }[];
@@ -4330,10 +4458,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4330
4458
  _input_in: {};
4331
4459
  _input_out: {};
4332
4460
  _output_in: ({
4461
+ name: string;
4333
4462
  id: string;
4334
4463
  createdAt: Date;
4335
4464
  deletedAt: Date | null;
4336
- name: string;
4337
4465
  updatedAt: Date;
4338
4466
  type: "FILE" | "FOLDER";
4339
4467
  isFavorite: boolean;
@@ -4362,10 +4490,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4362
4490
  };
4363
4491
  })[];
4364
4492
  _output_out: ({
4493
+ name: string;
4365
4494
  id: string;
4366
4495
  createdAt: Date;
4367
4496
  deletedAt: Date | null;
4368
- name: string;
4369
4497
  updatedAt: Date;
4370
4498
  type: "FILE" | "FOLDER";
4371
4499
  isFavorite: boolean;
@@ -4424,10 +4552,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4424
4552
  type: "FILE" | "FOLDER";
4425
4553
  };
4426
4554
  _output_in: ({
4555
+ name: string;
4427
4556
  id: string;
4428
4557
  createdAt: Date;
4429
4558
  deletedAt: Date | null;
4430
- name: string;
4431
4559
  updatedAt: Date;
4432
4560
  type: "FILE" | "FOLDER";
4433
4561
  isFavorite: boolean;
@@ -4456,10 +4584,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4456
4584
  };
4457
4585
  })[];
4458
4586
  _output_out: ({
4587
+ name: string;
4459
4588
  id: string;
4460
4589
  createdAt: Date;
4461
4590
  deletedAt: Date | null;
4462
- name: string;
4463
4591
  updatedAt: Date;
4464
4592
  type: "FILE" | "FOLDER";
4465
4593
  isFavorite: boolean;
@@ -4514,10 +4642,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4514
4642
  _input_in: typeof _trpc_server.unsetMarker;
4515
4643
  _input_out: typeof _trpc_server.unsetMarker;
4516
4644
  _output_in: ({
4645
+ name: string;
4517
4646
  id: string;
4518
4647
  createdAt: Date;
4519
4648
  deletedAt: Date | null;
4520
- name: string;
4521
4649
  updatedAt: Date;
4522
4650
  type: "FILE" | "FOLDER";
4523
4651
  isFavorite: boolean;
@@ -4546,10 +4674,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4546
4674
  };
4547
4675
  })[];
4548
4676
  _output_out: ({
4677
+ name: string;
4549
4678
  id: string;
4550
4679
  createdAt: Date;
4551
4680
  deletedAt: Date | null;
4552
- name: string;
4553
4681
  updatedAt: Date;
4554
4682
  type: "FILE" | "FOLDER";
4555
4683
  isFavorite: boolean;
@@ -4730,22 +4858,22 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4730
4858
  _meta: object;
4731
4859
  _ctx_out: {};
4732
4860
  _input_in: {
4861
+ name: string | null;
4733
4862
  id: string;
4734
4863
  deletedAt: Date | null;
4735
- name: string | null;
4736
4864
  isFavorite: boolean | null;
4737
4865
  };
4738
4866
  _input_out: {
4867
+ name: string | null;
4739
4868
  id: string;
4740
4869
  deletedAt: Date | null;
4741
- name: string | null;
4742
4870
  isFavorite: boolean | null;
4743
4871
  };
4744
4872
  _output_in: {
4873
+ name: string;
4745
4874
  id: string;
4746
4875
  createdAt: Date;
4747
4876
  deletedAt: Date | null;
4748
- name: string;
4749
4877
  updatedAt: Date;
4750
4878
  type: "FILE" | "FOLDER";
4751
4879
  isFavorite: boolean;
@@ -4811,10 +4939,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4811
4939
  };
4812
4940
  }[];
4813
4941
  parent: ({
4942
+ name: string;
4814
4943
  id: string;
4815
4944
  createdAt: Date;
4816
4945
  deletedAt: Date | null;
4817
- name: string;
4818
4946
  updatedAt: Date;
4819
4947
  type: "FILE" | "FOLDER";
4820
4948
  isFavorite: boolean;
@@ -4843,10 +4971,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4843
4971
  };
4844
4972
  }) | null;
4845
4973
  children: ({
4974
+ name: string;
4846
4975
  id: string;
4847
4976
  createdAt: Date;
4848
4977
  deletedAt: Date | null;
4849
- name: string;
4850
4978
  updatedAt: Date;
4851
4979
  type: "FILE" | "FOLDER";
4852
4980
  isFavorite: boolean;
@@ -4880,17 +5008,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4880
5008
  };
4881
5009
  })[];
4882
5010
  breadcrumb: {
4883
- id: string;
4884
5011
  name: string;
5012
+ id: string;
4885
5013
  nameKey: string | null;
4886
5014
  pubKey: string;
4887
5015
  }[];
4888
5016
  };
4889
5017
  _output_out: {
5018
+ name: string;
4890
5019
  id: string;
4891
5020
  createdAt: Date;
4892
5021
  deletedAt: Date | null;
4893
- name: string;
4894
5022
  updatedAt: Date;
4895
5023
  type: "FILE" | "FOLDER";
4896
5024
  isFavorite: boolean;
@@ -4956,10 +5084,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4956
5084
  };
4957
5085
  }[];
4958
5086
  parent: ({
5087
+ name: string;
4959
5088
  id: string;
4960
5089
  createdAt: Date;
4961
5090
  deletedAt: Date | null;
4962
- name: string;
4963
5091
  updatedAt: Date;
4964
5092
  type: "FILE" | "FOLDER";
4965
5093
  isFavorite: boolean;
@@ -4988,10 +5116,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4988
5116
  };
4989
5117
  }) | null;
4990
5118
  children: ({
5119
+ name: string;
4991
5120
  id: string;
4992
5121
  createdAt: Date;
4993
5122
  deletedAt: Date | null;
4994
- name: string;
4995
5123
  updatedAt: Date;
4996
5124
  type: "FILE" | "FOLDER";
4997
5125
  isFavorite: boolean;
@@ -5025,8 +5153,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5025
5153
  };
5026
5154
  })[];
5027
5155
  breadcrumb: {
5028
- id: string;
5029
5156
  name: string;
5157
+ id: string;
5030
5158
  nameKey: string | null;
5031
5159
  pubKey: string;
5032
5160
  }[];
@@ -5394,7 +5522,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5394
5522
  transformer: typeof superjson.default;
5395
5523
  }>;
5396
5524
  _meta: object;
5397
- _ctx_out: {};
5525
+ _ctx_out: {
5526
+ session: Omit<SecrecySession, "app">;
5527
+ req: {
5528
+ headers: Headers;
5529
+ };
5530
+ res: {
5531
+ headers: Headers;
5532
+ };
5533
+ locale: Locales;
5534
+ ls: TranslationFunctions;
5535
+ };
5398
5536
  _input_in: {
5399
5537
  address: string;
5400
5538
  encryptedKeystore: string;
@@ -5404,14 +5542,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5404
5542
  encryptedKeystore: string;
5405
5543
  };
5406
5544
  _output_in: {
5407
- userId: string;
5408
5545
  createdAt: Date;
5546
+ userId: string;
5409
5547
  address: string;
5410
5548
  encryptedKeystore: string;
5411
5549
  } | null;
5412
5550
  _output_out: {
5413
- userId: string;
5414
5551
  createdAt: Date;
5552
+ userId: string;
5415
5553
  address: string;
5416
5554
  encryptedKeystore: string;
5417
5555
  } | null;
@@ -5438,7 +5576,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5438
5576
  transformer: typeof superjson.default;
5439
5577
  }>;
5440
5578
  _meta: object;
5441
- _ctx_out: {};
5579
+ _ctx_out: {
5580
+ session: Omit<SecrecySession, "app">;
5581
+ req: {
5582
+ headers: Headers;
5583
+ };
5584
+ res: {
5585
+ headers: Headers;
5586
+ };
5587
+ locale: Locales;
5588
+ ls: TranslationFunctions;
5589
+ };
5442
5590
  _input_in: {
5443
5591
  address: string;
5444
5592
  encryptedKeystore: string;
@@ -5592,18 +5740,28 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5592
5740
  transformer: typeof superjson.default;
5593
5741
  }>;
5594
5742
  _meta: object;
5595
- _ctx_out: {};
5743
+ _ctx_out: {
5744
+ session: Omit<SecrecySession, "app">;
5745
+ req: {
5746
+ headers: Headers;
5747
+ };
5748
+ res: {
5749
+ headers: Headers;
5750
+ };
5751
+ locale: Locales;
5752
+ ls: TranslationFunctions;
5753
+ };
5596
5754
  _input_in: typeof _trpc_server.unsetMarker;
5597
5755
  _input_out: typeof _trpc_server.unsetMarker;
5598
5756
  _output_in: {
5599
- userId: string;
5600
5757
  createdAt: Date;
5758
+ userId: string;
5601
5759
  address: string;
5602
5760
  encryptedKeystore: string;
5603
5761
  }[];
5604
5762
  _output_out: {
5605
- userId: string;
5606
5763
  createdAt: Date;
5764
+ userId: string;
5607
5765
  address: string;
5608
5766
  encryptedKeystore: string;
5609
5767
  }[];
@@ -5671,7 +5829,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5671
5829
  transformer: typeof superjson.default;
5672
5830
  }>;
5673
5831
  _meta: object;
5674
- _ctx_out: {};
5832
+ _ctx_out: {
5833
+ session: {
5834
+ app: {
5835
+ id: string;
5836
+ planId: string;
5837
+ fakeUserId: string | undefined;
5838
+ settings: {
5839
+ id: string;
5840
+ devsLimit: bigint | null;
5841
+ usersLimit: bigint | null;
5842
+ perDataSizeLimit: bigint | null;
5843
+ bandwidthLimit: bigint | null;
5844
+ totalStorageSizeLimit: bigint | null;
5845
+ payForUsers: boolean;
5846
+ };
5847
+ };
5848
+ sessionId: string;
5849
+ accountId: string;
5850
+ accountInfosId: string;
5851
+ accountRole: _prisma_client.AccountRole;
5852
+ userId: string;
5853
+ userRole: _prisma_client.UserRole;
5854
+ userPlan: _prisma_client.PlanKind;
5855
+ };
5856
+ req: {
5857
+ headers: Headers;
5858
+ };
5859
+ res: {
5860
+ headers: Headers;
5861
+ };
5862
+ locale: Locales;
5863
+ ls: TranslationFunctions;
5864
+ };
5675
5865
  _input_in: {
5676
5866
  appId?: string | undefined;
5677
5867
  } & {
@@ -5719,7 +5909,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5719
5909
  transformer: typeof superjson.default;
5720
5910
  }>;
5721
5911
  _meta: object;
5722
- _ctx_out: {};
5912
+ _ctx_out: {
5913
+ session: {
5914
+ app: {
5915
+ id: string;
5916
+ planId: string;
5917
+ fakeUserId: string | undefined;
5918
+ settings: {
5919
+ id: string;
5920
+ devsLimit: bigint | null;
5921
+ usersLimit: bigint | null;
5922
+ perDataSizeLimit: bigint | null;
5923
+ bandwidthLimit: bigint | null;
5924
+ totalStorageSizeLimit: bigint | null;
5925
+ payForUsers: boolean;
5926
+ };
5927
+ };
5928
+ sessionId: string;
5929
+ accountId: string;
5930
+ accountInfosId: string;
5931
+ accountRole: _prisma_client.AccountRole;
5932
+ userId: string;
5933
+ userRole: _prisma_client.UserRole;
5934
+ userPlan: _prisma_client.PlanKind;
5935
+ };
5936
+ req: {
5937
+ headers: Headers;
5938
+ };
5939
+ res: {
5940
+ headers: Headers;
5941
+ };
5942
+ locale: Locales;
5943
+ ls: TranslationFunctions;
5944
+ };
5723
5945
  _input_in: {
5724
5946
  appId?: string | undefined;
5725
5947
  } & {
@@ -5761,7 +5983,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5761
5983
  transformer: typeof superjson.default;
5762
5984
  }>;
5763
5985
  _meta: object;
5764
- _ctx_out: {};
5986
+ _ctx_out: {
5987
+ session: {
5988
+ app: {
5989
+ id: string;
5990
+ planId: string;
5991
+ fakeUserId: string | undefined;
5992
+ settings: {
5993
+ id: string;
5994
+ devsLimit: bigint | null;
5995
+ usersLimit: bigint | null;
5996
+ perDataSizeLimit: bigint | null;
5997
+ bandwidthLimit: bigint | null;
5998
+ totalStorageSizeLimit: bigint | null;
5999
+ payForUsers: boolean;
6000
+ };
6001
+ };
6002
+ sessionId: string;
6003
+ accountId: string;
6004
+ accountInfosId: string;
6005
+ accountRole: _prisma_client.AccountRole;
6006
+ userId: string;
6007
+ userRole: _prisma_client.UserRole;
6008
+ userPlan: _prisma_client.PlanKind;
6009
+ };
6010
+ req: {
6011
+ headers: Headers;
6012
+ };
6013
+ res: {
6014
+ headers: Headers;
6015
+ };
6016
+ locale: Locales;
6017
+ ls: TranslationFunctions;
6018
+ };
5765
6019
  _input_in: {
5766
6020
  appId?: string | undefined;
5767
6021
  } & {
@@ -5809,7 +6063,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5809
6063
  transformer: typeof superjson.default;
5810
6064
  }>;
5811
6065
  _meta: object;
5812
- _ctx_out: {};
6066
+ _ctx_out: {
6067
+ session: {
6068
+ app: {
6069
+ id: string;
6070
+ planId: string;
6071
+ fakeUserId: string | undefined;
6072
+ settings: {
6073
+ id: string;
6074
+ devsLimit: bigint | null;
6075
+ usersLimit: bigint | null;
6076
+ perDataSizeLimit: bigint | null;
6077
+ bandwidthLimit: bigint | null;
6078
+ totalStorageSizeLimit: bigint | null;
6079
+ payForUsers: boolean;
6080
+ };
6081
+ };
6082
+ sessionId: string;
6083
+ accountId: string;
6084
+ accountInfosId: string;
6085
+ accountRole: _prisma_client.AccountRole;
6086
+ userId: string;
6087
+ userRole: _prisma_client.UserRole;
6088
+ userPlan: _prisma_client.PlanKind;
6089
+ };
6090
+ req: {
6091
+ headers: Headers;
6092
+ };
6093
+ res: {
6094
+ headers: Headers;
6095
+ };
6096
+ locale: Locales;
6097
+ ls: TranslationFunctions;
6098
+ };
5813
6099
  _input_in: {
5814
6100
  appId?: string | undefined;
5815
6101
  } & {
@@ -5855,10 +6141,42 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5855
6141
  transformer: typeof superjson.default;
5856
6142
  }>;
5857
6143
  _meta: object;
5858
- _ctx_out: {};
5859
- _input_in: {
5860
- appId?: string | undefined;
5861
- } & {
6144
+ _ctx_out: {
6145
+ session: {
6146
+ app: {
6147
+ id: string;
6148
+ planId: string;
6149
+ fakeUserId: string | undefined;
6150
+ settings: {
6151
+ id: string;
6152
+ devsLimit: bigint | null;
6153
+ usersLimit: bigint | null;
6154
+ perDataSizeLimit: bigint | null;
6155
+ bandwidthLimit: bigint | null;
6156
+ totalStorageSizeLimit: bigint | null;
6157
+ payForUsers: boolean;
6158
+ };
6159
+ };
6160
+ sessionId: string;
6161
+ accountId: string;
6162
+ accountInfosId: string;
6163
+ accountRole: _prisma_client.AccountRole;
6164
+ userId: string;
6165
+ userRole: _prisma_client.UserRole;
6166
+ userPlan: _prisma_client.PlanKind;
6167
+ };
6168
+ req: {
6169
+ headers: Headers;
6170
+ };
6171
+ res: {
6172
+ headers: Headers;
6173
+ };
6174
+ locale: Locales;
6175
+ ls: TranslationFunctions;
6176
+ };
6177
+ _input_in: {
6178
+ appId?: string | undefined;
6179
+ } & {
5862
6180
  branchId: string;
5863
6181
  roleName: string;
5864
6182
  };
@@ -5918,7 +6236,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5918
6236
  transformer: typeof superjson.default;
5919
6237
  }>;
5920
6238
  _meta: object;
5921
- _ctx_out: {};
6239
+ _ctx_out: {
6240
+ session: {
6241
+ app: {
6242
+ id: string;
6243
+ planId: string;
6244
+ fakeUserId: string | undefined;
6245
+ settings: {
6246
+ id: string;
6247
+ devsLimit: bigint | null;
6248
+ usersLimit: bigint | null;
6249
+ perDataSizeLimit: bigint | null;
6250
+ bandwidthLimit: bigint | null;
6251
+ totalStorageSizeLimit: bigint | null;
6252
+ payForUsers: boolean;
6253
+ };
6254
+ };
6255
+ sessionId: string;
6256
+ accountId: string;
6257
+ accountInfosId: string;
6258
+ accountRole: _prisma_client.AccountRole;
6259
+ userId: string;
6260
+ userRole: _prisma_client.UserRole;
6261
+ userPlan: _prisma_client.PlanKind;
6262
+ };
6263
+ req: {
6264
+ headers: Headers;
6265
+ };
6266
+ res: {
6267
+ headers: Headers;
6268
+ };
6269
+ locale: Locales;
6270
+ ls: TranslationFunctions;
6271
+ };
5922
6272
  _input_in: {
5923
6273
  appId?: string | undefined;
5924
6274
  } & {
@@ -5960,7 +6310,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5960
6310
  transformer: typeof superjson.default;
5961
6311
  }>;
5962
6312
  _meta: object;
5963
- _ctx_out: {};
6313
+ _ctx_out: {
6314
+ session: {
6315
+ app: {
6316
+ id: string;
6317
+ planId: string;
6318
+ fakeUserId: string | undefined;
6319
+ settings: {
6320
+ id: string;
6321
+ devsLimit: bigint | null;
6322
+ usersLimit: bigint | null;
6323
+ perDataSizeLimit: bigint | null;
6324
+ bandwidthLimit: bigint | null;
6325
+ totalStorageSizeLimit: bigint | null;
6326
+ payForUsers: boolean;
6327
+ };
6328
+ };
6329
+ sessionId: string;
6330
+ accountId: string;
6331
+ accountInfosId: string;
6332
+ accountRole: _prisma_client.AccountRole;
6333
+ userId: string;
6334
+ userRole: _prisma_client.UserRole;
6335
+ userPlan: _prisma_client.PlanKind;
6336
+ };
6337
+ req: {
6338
+ headers: Headers;
6339
+ };
6340
+ res: {
6341
+ headers: Headers;
6342
+ };
6343
+ locale: Locales;
6344
+ ls: TranslationFunctions;
6345
+ };
5964
6346
  _input_in: {
5965
6347
  appId?: string | undefined;
5966
6348
  } & {};
@@ -5996,7 +6378,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5996
6378
  transformer: typeof superjson.default;
5997
6379
  }>;
5998
6380
  _meta: object;
5999
- _ctx_out: {};
6381
+ _ctx_out: {
6382
+ session: {
6383
+ app: {
6384
+ id: string;
6385
+ planId: string;
6386
+ fakeUserId: string | undefined;
6387
+ settings: {
6388
+ id: string;
6389
+ devsLimit: bigint | null;
6390
+ usersLimit: bigint | null;
6391
+ perDataSizeLimit: bigint | null;
6392
+ bandwidthLimit: bigint | null;
6393
+ totalStorageSizeLimit: bigint | null;
6394
+ payForUsers: boolean;
6395
+ };
6396
+ };
6397
+ sessionId: string;
6398
+ accountId: string;
6399
+ accountInfosId: string;
6400
+ accountRole: _prisma_client.AccountRole;
6401
+ userId: string;
6402
+ userRole: _prisma_client.UserRole;
6403
+ userPlan: _prisma_client.PlanKind;
6404
+ };
6405
+ req: {
6406
+ headers: Headers;
6407
+ };
6408
+ res: {
6409
+ headers: Headers;
6410
+ };
6411
+ locale: Locales;
6412
+ ls: TranslationFunctions;
6413
+ };
6000
6414
  _input_in: {
6001
6415
  appId?: string | undefined;
6002
6416
  } & {};
@@ -6032,7 +6446,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6032
6446
  transformer: typeof superjson.default;
6033
6447
  }>;
6034
6448
  _meta: object;
6035
- _ctx_out: {};
6449
+ _ctx_out: {
6450
+ session: {
6451
+ app: {
6452
+ id: string;
6453
+ planId: string;
6454
+ fakeUserId: string | undefined;
6455
+ settings: {
6456
+ id: string;
6457
+ devsLimit: bigint | null;
6458
+ usersLimit: bigint | null;
6459
+ perDataSizeLimit: bigint | null;
6460
+ bandwidthLimit: bigint | null;
6461
+ totalStorageSizeLimit: bigint | null;
6462
+ payForUsers: boolean;
6463
+ };
6464
+ };
6465
+ sessionId: string;
6466
+ accountId: string;
6467
+ accountInfosId: string;
6468
+ accountRole: _prisma_client.AccountRole;
6469
+ userId: string;
6470
+ userRole: _prisma_client.UserRole;
6471
+ userPlan: _prisma_client.PlanKind;
6472
+ };
6473
+ req: {
6474
+ headers: Headers;
6475
+ };
6476
+ res: {
6477
+ headers: Headers;
6478
+ };
6479
+ locale: Locales;
6480
+ ls: TranslationFunctions;
6481
+ };
6036
6482
  _input_in: {
6037
6483
  appId?: string | undefined;
6038
6484
  } & {
@@ -6092,7 +6538,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6092
6538
  transformer: typeof superjson.default;
6093
6539
  }>;
6094
6540
  _meta: object;
6095
- _ctx_out: {};
6541
+ _ctx_out: {
6542
+ session: {
6543
+ app: {
6544
+ id: string;
6545
+ planId: string;
6546
+ fakeUserId: string | undefined;
6547
+ settings: {
6548
+ id: string;
6549
+ devsLimit: bigint | null;
6550
+ usersLimit: bigint | null;
6551
+ perDataSizeLimit: bigint | null;
6552
+ bandwidthLimit: bigint | null;
6553
+ totalStorageSizeLimit: bigint | null;
6554
+ payForUsers: boolean;
6555
+ };
6556
+ };
6557
+ sessionId: string;
6558
+ accountId: string;
6559
+ accountInfosId: string;
6560
+ accountRole: _prisma_client.AccountRole;
6561
+ userId: string;
6562
+ userRole: _prisma_client.UserRole;
6563
+ userPlan: _prisma_client.PlanKind;
6564
+ };
6565
+ req: {
6566
+ headers: Headers;
6567
+ };
6568
+ res: {
6569
+ headers: Headers;
6570
+ };
6571
+ locale: Locales;
6572
+ ls: TranslationFunctions;
6573
+ };
6096
6574
  _input_in: {
6097
6575
  appId?: string | undefined;
6098
6576
  } & {
@@ -6164,7 +6642,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6164
6642
  transformer: typeof superjson.default;
6165
6643
  }>;
6166
6644
  _meta: object;
6167
- _ctx_out: {};
6645
+ _ctx_out: {
6646
+ session: {
6647
+ app: {
6648
+ id: string;
6649
+ planId: string;
6650
+ fakeUserId: string | undefined;
6651
+ settings: {
6652
+ id: string;
6653
+ devsLimit: bigint | null;
6654
+ usersLimit: bigint | null;
6655
+ perDataSizeLimit: bigint | null;
6656
+ bandwidthLimit: bigint | null;
6657
+ totalStorageSizeLimit: bigint | null;
6658
+ payForUsers: boolean;
6659
+ };
6660
+ };
6661
+ sessionId: string;
6662
+ accountId: string;
6663
+ accountInfosId: string;
6664
+ accountRole: _prisma_client.AccountRole;
6665
+ userId: string;
6666
+ userRole: _prisma_client.UserRole;
6667
+ userPlan: _prisma_client.PlanKind;
6668
+ };
6669
+ req: {
6670
+ headers: Headers;
6671
+ };
6672
+ res: {
6673
+ headers: Headers;
6674
+ };
6675
+ locale: Locales;
6676
+ ls: TranslationFunctions;
6677
+ };
6168
6678
  _input_in: {
6169
6679
  appId?: string | undefined;
6170
6680
  } & {};
@@ -6212,7 +6722,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6212
6722
  transformer: typeof superjson.default;
6213
6723
  }>;
6214
6724
  _meta: object;
6215
- _ctx_out: {};
6725
+ _ctx_out: {
6726
+ session: {
6727
+ app: {
6728
+ id: string;
6729
+ planId: string;
6730
+ fakeUserId: string | undefined;
6731
+ settings: {
6732
+ id: string;
6733
+ devsLimit: bigint | null;
6734
+ usersLimit: bigint | null;
6735
+ perDataSizeLimit: bigint | null;
6736
+ bandwidthLimit: bigint | null;
6737
+ totalStorageSizeLimit: bigint | null;
6738
+ payForUsers: boolean;
6739
+ };
6740
+ };
6741
+ sessionId: string;
6742
+ accountId: string;
6743
+ accountInfosId: string;
6744
+ accountRole: _prisma_client.AccountRole;
6745
+ userId: string;
6746
+ userRole: _prisma_client.UserRole;
6747
+ userPlan: _prisma_client.PlanKind;
6748
+ };
6749
+ req: {
6750
+ headers: Headers;
6751
+ };
6752
+ res: {
6753
+ headers: Headers;
6754
+ };
6755
+ locale: Locales;
6756
+ ls: TranslationFunctions;
6757
+ };
6216
6758
  _input_in: {
6217
6759
  appId?: string | undefined;
6218
6760
  } & {};
@@ -6220,12 +6762,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6220
6762
  appId?: string | undefined;
6221
6763
  } & {};
6222
6764
  _output_in: {
6223
- id: string;
6224
6765
  name: string;
6766
+ id: string;
6225
6767
  } & {
6226
6768
  createdAt: string;
6227
- ownerId: string;
6228
6769
  updatedAt: string;
6770
+ ownerId: string;
6229
6771
  activeTimeSeconds: number;
6230
6772
  computeTimeSeconds: number;
6231
6773
  writtenDataBytes: number;
@@ -6274,12 +6816,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6274
6816
  syntheticStorageSize?: number | undefined;
6275
6817
  };
6276
6818
  _output_out: {
6277
- id: string;
6278
6819
  name: string;
6820
+ id: string;
6279
6821
  } & {
6280
6822
  createdAt: string;
6281
- ownerId: string;
6282
6823
  updatedAt: string;
6824
+ ownerId: string;
6283
6825
  activeTimeSeconds: number;
6284
6826
  computeTimeSeconds: number;
6285
6827
  writtenDataBytes: number;
@@ -6350,7 +6892,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6350
6892
  transformer: typeof superjson.default;
6351
6893
  }>;
6352
6894
  _meta: object;
6353
- _ctx_out: {};
6895
+ _ctx_out: {
6896
+ session: {
6897
+ app: {
6898
+ id: string;
6899
+ planId: string;
6900
+ fakeUserId: string | undefined;
6901
+ settings: {
6902
+ id: string;
6903
+ devsLimit: bigint | null;
6904
+ usersLimit: bigint | null;
6905
+ perDataSizeLimit: bigint | null;
6906
+ bandwidthLimit: bigint | null;
6907
+ totalStorageSizeLimit: bigint | null;
6908
+ payForUsers: boolean;
6909
+ };
6910
+ };
6911
+ sessionId: string;
6912
+ accountId: string;
6913
+ accountInfosId: string;
6914
+ accountRole: _prisma_client.AccountRole;
6915
+ userId: string;
6916
+ userRole: _prisma_client.UserRole;
6917
+ userPlan: _prisma_client.PlanKind;
6918
+ };
6919
+ req: {
6920
+ headers: Headers;
6921
+ };
6922
+ res: {
6923
+ headers: Headers;
6924
+ };
6925
+ locale: Locales;
6926
+ ls: TranslationFunctions;
6927
+ };
6354
6928
  _input_in: {
6355
6929
  appId?: string | undefined;
6356
6930
  } & {};
@@ -6394,7 +6968,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6394
6968
  transformer: typeof superjson.default;
6395
6969
  }>;
6396
6970
  _meta: object;
6397
- _ctx_out: {};
6971
+ _ctx_out: {
6972
+ session: {
6973
+ app: {
6974
+ id: string;
6975
+ planId: string;
6976
+ fakeUserId: string | undefined;
6977
+ settings: {
6978
+ id: string;
6979
+ devsLimit: bigint | null;
6980
+ usersLimit: bigint | null;
6981
+ perDataSizeLimit: bigint | null;
6982
+ bandwidthLimit: bigint | null;
6983
+ totalStorageSizeLimit: bigint | null;
6984
+ payForUsers: boolean;
6985
+ };
6986
+ };
6987
+ sessionId: string;
6988
+ accountId: string;
6989
+ accountInfosId: string;
6990
+ accountRole: _prisma_client.AccountRole;
6991
+ userId: string;
6992
+ userRole: _prisma_client.UserRole;
6993
+ userPlan: _prisma_client.PlanKind;
6994
+ };
6995
+ req: {
6996
+ headers: Headers;
6997
+ };
6998
+ res: {
6999
+ headers: Headers;
7000
+ };
7001
+ locale: Locales;
7002
+ ls: TranslationFunctions;
7003
+ };
6398
7004
  _input_in: {
6399
7005
  appId?: string | undefined;
6400
7006
  } & {
@@ -6448,12 +7054,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6448
7054
  historyRetentionSeconds?: number | undefined;
6449
7055
  };
6450
7056
  _output_in: {
6451
- id: string;
6452
7057
  name: string;
7058
+ id: string;
6453
7059
  } & {
6454
7060
  createdAt: string;
6455
- ownerId: string;
6456
7061
  updatedAt: string;
7062
+ ownerId: string;
6457
7063
  activeTimeSeconds: number;
6458
7064
  computeTimeSeconds: number;
6459
7065
  writtenDataBytes: number;
@@ -6502,12 +7108,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6502
7108
  syntheticStorageSize?: number | undefined;
6503
7109
  };
6504
7110
  _output_out: {
6505
- id: string;
6506
7111
  name: string;
7112
+ id: string;
6507
7113
  } & {
6508
7114
  createdAt: string;
6509
- ownerId: string;
6510
7115
  updatedAt: string;
7116
+ ownerId: string;
6511
7117
  activeTimeSeconds: number;
6512
7118
  computeTimeSeconds: number;
6513
7119
  writtenDataBytes: number;
@@ -6599,7 +7205,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6599
7205
  transformer: typeof superjson.default;
6600
7206
  }>;
6601
7207
  _meta: object;
6602
- _ctx_out: {};
7208
+ _ctx_out: {
7209
+ session: {
7210
+ app: {
7211
+ id: string;
7212
+ planId: string;
7213
+ fakeUserId: string | undefined;
7214
+ settings: {
7215
+ id: string;
7216
+ devsLimit: bigint | null;
7217
+ usersLimit: bigint | null;
7218
+ perDataSizeLimit: bigint | null;
7219
+ bandwidthLimit: bigint | null;
7220
+ totalStorageSizeLimit: bigint | null;
7221
+ payForUsers: boolean;
7222
+ };
7223
+ };
7224
+ sessionId: string;
7225
+ accountId: string;
7226
+ accountInfosId: string;
7227
+ accountRole: _prisma_client.AccountRole;
7228
+ userId: string;
7229
+ userRole: _prisma_client.UserRole;
7230
+ userPlan: _prisma_client.PlanKind;
7231
+ };
7232
+ req: {
7233
+ headers: Headers;
7234
+ };
7235
+ res: {
7236
+ headers: Headers;
7237
+ };
7238
+ locale: Locales;
7239
+ ls: TranslationFunctions;
7240
+ };
6603
7241
  _input_in: {
6604
7242
  appId?: string | undefined;
6605
7243
  } & {
@@ -6613,15 +7251,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6613
7251
  parentId?: string | undefined;
6614
7252
  };
6615
7253
  _output_in: {
6616
- id: string;
6617
7254
  name: string;
7255
+ id: string;
6618
7256
  isPrimary: boolean;
6619
7257
  currentState: "init" | "ready";
6620
7258
  parentId?: string | undefined;
6621
7259
  };
6622
7260
  _output_out: {
6623
- id: string;
6624
7261
  name: string;
7262
+ id: string;
6625
7263
  isPrimary: boolean;
6626
7264
  currentState: "init" | "ready";
6627
7265
  parentId?: string | undefined;
@@ -6649,7 +7287,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6649
7287
  transformer: typeof superjson.default;
6650
7288
  }>;
6651
7289
  _meta: object;
6652
- _ctx_out: {};
7290
+ _ctx_out: {
7291
+ session: {
7292
+ app: {
7293
+ id: string;
7294
+ planId: string;
7295
+ fakeUserId: string | undefined;
7296
+ settings: {
7297
+ id: string;
7298
+ devsLimit: bigint | null;
7299
+ usersLimit: bigint | null;
7300
+ perDataSizeLimit: bigint | null;
7301
+ bandwidthLimit: bigint | null;
7302
+ totalStorageSizeLimit: bigint | null;
7303
+ payForUsers: boolean;
7304
+ };
7305
+ };
7306
+ sessionId: string;
7307
+ accountId: string;
7308
+ accountInfosId: string;
7309
+ accountRole: _prisma_client.AccountRole;
7310
+ userId: string;
7311
+ userRole: _prisma_client.UserRole;
7312
+ userPlan: _prisma_client.PlanKind;
7313
+ };
7314
+ req: {
7315
+ headers: Headers;
7316
+ };
7317
+ res: {
7318
+ headers: Headers;
7319
+ };
7320
+ locale: Locales;
7321
+ ls: TranslationFunctions;
7322
+ };
6653
7323
  _input_in: {
6654
7324
  appId?: string | undefined;
6655
7325
  } & {
@@ -6689,7 +7359,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6689
7359
  transformer: typeof superjson.default;
6690
7360
  }>;
6691
7361
  _meta: object;
6692
- _ctx_out: {};
7362
+ _ctx_out: {
7363
+ session: {
7364
+ app: {
7365
+ id: string;
7366
+ planId: string;
7367
+ fakeUserId: string | undefined;
7368
+ settings: {
7369
+ id: string;
7370
+ devsLimit: bigint | null;
7371
+ usersLimit: bigint | null;
7372
+ perDataSizeLimit: bigint | null;
7373
+ bandwidthLimit: bigint | null;
7374
+ totalStorageSizeLimit: bigint | null;
7375
+ payForUsers: boolean;
7376
+ };
7377
+ };
7378
+ sessionId: string;
7379
+ accountId: string;
7380
+ accountInfosId: string;
7381
+ accountRole: _prisma_client.AccountRole;
7382
+ userId: string;
7383
+ userRole: _prisma_client.UserRole;
7384
+ userPlan: _prisma_client.PlanKind;
7385
+ };
7386
+ req: {
7387
+ headers: Headers;
7388
+ };
7389
+ res: {
7390
+ headers: Headers;
7391
+ };
7392
+ locale: Locales;
7393
+ ls: TranslationFunctions;
7394
+ };
6693
7395
  _input_in: {
6694
7396
  appId?: string | undefined;
6695
7397
  } & {
@@ -6701,15 +7403,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6701
7403
  branchId: string;
6702
7404
  };
6703
7405
  _output_in: {
6704
- id: string;
6705
7406
  name: string;
7407
+ id: string;
6706
7408
  isPrimary: boolean;
6707
7409
  currentState: "init" | "ready";
6708
7410
  parentId?: string | undefined;
6709
7411
  };
6710
7412
  _output_out: {
6711
- id: string;
6712
7413
  name: string;
7414
+ id: string;
6713
7415
  isPrimary: boolean;
6714
7416
  currentState: "init" | "ready";
6715
7417
  parentId?: string | undefined;
@@ -6737,7 +7439,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6737
7439
  transformer: typeof superjson.default;
6738
7440
  }>;
6739
7441
  _meta: object;
6740
- _ctx_out: {};
7442
+ _ctx_out: {
7443
+ session: {
7444
+ app: {
7445
+ id: string;
7446
+ planId: string;
7447
+ fakeUserId: string | undefined;
7448
+ settings: {
7449
+ id: string;
7450
+ devsLimit: bigint | null;
7451
+ usersLimit: bigint | null;
7452
+ perDataSizeLimit: bigint | null;
7453
+ bandwidthLimit: bigint | null;
7454
+ totalStorageSizeLimit: bigint | null;
7455
+ payForUsers: boolean;
7456
+ };
7457
+ };
7458
+ sessionId: string;
7459
+ accountId: string;
7460
+ accountInfosId: string;
7461
+ accountRole: _prisma_client.AccountRole;
7462
+ userId: string;
7463
+ userRole: _prisma_client.UserRole;
7464
+ userPlan: _prisma_client.PlanKind;
7465
+ };
7466
+ req: {
7467
+ headers: Headers;
7468
+ };
7469
+ res: {
7470
+ headers: Headers;
7471
+ };
7472
+ locale: Locales;
7473
+ ls: TranslationFunctions;
7474
+ };
6741
7475
  _input_in: {
6742
7476
  appId?: string | undefined;
6743
7477
  } & {};
@@ -6745,15 +7479,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6745
7479
  appId?: string | undefined;
6746
7480
  } & {};
6747
7481
  _output_in: {
6748
- id: string;
6749
7482
  name: string;
7483
+ id: string;
6750
7484
  isPrimary: boolean;
6751
7485
  currentState: "init" | "ready";
6752
7486
  parentId?: string | undefined;
6753
7487
  }[];
6754
7488
  _output_out: {
6755
- id: string;
6756
7489
  name: string;
7490
+ id: string;
6757
7491
  isPrimary: boolean;
6758
7492
  currentState: "init" | "ready";
6759
7493
  parentId?: string | undefined;
@@ -6781,7 +7515,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6781
7515
  transformer: typeof superjson.default;
6782
7516
  }>;
6783
7517
  _meta: object;
6784
- _ctx_out: {};
7518
+ _ctx_out: {
7519
+ session: {
7520
+ app: {
7521
+ id: string;
7522
+ planId: string;
7523
+ fakeUserId: string | undefined;
7524
+ settings: {
7525
+ id: string;
7526
+ devsLimit: bigint | null;
7527
+ usersLimit: bigint | null;
7528
+ perDataSizeLimit: bigint | null;
7529
+ bandwidthLimit: bigint | null;
7530
+ totalStorageSizeLimit: bigint | null;
7531
+ payForUsers: boolean;
7532
+ };
7533
+ };
7534
+ sessionId: string;
7535
+ accountId: string;
7536
+ accountInfosId: string;
7537
+ accountRole: _prisma_client.AccountRole;
7538
+ userId: string;
7539
+ userRole: _prisma_client.UserRole;
7540
+ userPlan: _prisma_client.PlanKind;
7541
+ };
7542
+ req: {
7543
+ headers: Headers;
7544
+ };
7545
+ res: {
7546
+ headers: Headers;
7547
+ };
7548
+ locale: Locales;
7549
+ ls: TranslationFunctions;
7550
+ };
6785
7551
  _input_in: {
6786
7552
  appId?: string | undefined;
6787
7553
  } & {
@@ -6797,15 +7563,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6797
7563
  newProtectedState?: boolean | undefined;
6798
7564
  };
6799
7565
  _output_in: {
6800
- id: string;
6801
7566
  name: string;
7567
+ id: string;
6802
7568
  isPrimary: boolean;
6803
7569
  currentState: "init" | "ready";
6804
7570
  parentId?: string | undefined;
6805
7571
  };
6806
7572
  _output_out: {
6807
- id: string;
6808
7573
  name: string;
7574
+ id: string;
6809
7575
  isPrimary: boolean;
6810
7576
  currentState: "init" | "ready";
6811
7577
  parentId?: string | undefined;
@@ -6833,7 +7599,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6833
7599
  transformer: typeof superjson.default;
6834
7600
  }>;
6835
7601
  _meta: object;
6836
- _ctx_out: {};
7602
+ _ctx_out: {
7603
+ session: {
7604
+ app: {
7605
+ id: string;
7606
+ planId: string;
7607
+ fakeUserId: string | undefined;
7608
+ settings: {
7609
+ id: string;
7610
+ devsLimit: bigint | null;
7611
+ usersLimit: bigint | null;
7612
+ perDataSizeLimit: bigint | null;
7613
+ bandwidthLimit: bigint | null;
7614
+ totalStorageSizeLimit: bigint | null;
7615
+ payForUsers: boolean;
7616
+ };
7617
+ };
7618
+ sessionId: string;
7619
+ accountId: string;
7620
+ accountInfosId: string;
7621
+ accountRole: _prisma_client.AccountRole;
7622
+ userId: string;
7623
+ userRole: _prisma_client.UserRole;
7624
+ userPlan: _prisma_client.PlanKind;
7625
+ };
7626
+ req: {
7627
+ headers: Headers;
7628
+ };
7629
+ res: {
7630
+ headers: Headers;
7631
+ };
7632
+ locale: Locales;
7633
+ ls: TranslationFunctions;
7634
+ };
6837
7635
  _input_in: {
6838
7636
  appId?: string | undefined;
6839
7637
  } & {
@@ -6877,7 +7675,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6877
7675
  transformer: typeof superjson.default;
6878
7676
  }>;
6879
7677
  _meta: object;
6880
- _ctx_out: {};
7678
+ _ctx_out: {
7679
+ session: {
7680
+ app: {
7681
+ id: string;
7682
+ planId: string;
7683
+ fakeUserId: string | undefined;
7684
+ settings: {
7685
+ id: string;
7686
+ devsLimit: bigint | null;
7687
+ usersLimit: bigint | null;
7688
+ perDataSizeLimit: bigint | null;
7689
+ bandwidthLimit: bigint | null;
7690
+ totalStorageSizeLimit: bigint | null;
7691
+ payForUsers: boolean;
7692
+ };
7693
+ };
7694
+ sessionId: string;
7695
+ accountId: string;
7696
+ accountInfosId: string;
7697
+ accountRole: _prisma_client.AccountRole;
7698
+ userId: string;
7699
+ userRole: _prisma_client.UserRole;
7700
+ userPlan: _prisma_client.PlanKind;
7701
+ };
7702
+ req: {
7703
+ headers: Headers;
7704
+ };
7705
+ res: {
7706
+ headers: Headers;
7707
+ };
7708
+ locale: Locales;
7709
+ ls: TranslationFunctions;
7710
+ };
6881
7711
  _input_in: {
6882
7712
  appId?: string | undefined;
6883
7713
  } & {
@@ -6889,15 +7719,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6889
7719
  branchId: string;
6890
7720
  };
6891
7721
  _output_in: {
6892
- id: string;
6893
7722
  name: string;
7723
+ id: string;
6894
7724
  isPrimary: boolean;
6895
7725
  currentState: "init" | "ready";
6896
7726
  parentId?: string | undefined;
6897
7727
  };
6898
7728
  _output_out: {
6899
- id: string;
6900
7729
  name: string;
7730
+ id: string;
6901
7731
  isPrimary: boolean;
6902
7732
  currentState: "init" | "ready";
6903
7733
  parentId?: string | undefined;
@@ -6925,7 +7755,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6925
7755
  transformer: typeof superjson.default;
6926
7756
  }>;
6927
7757
  _meta: object;
6928
- _ctx_out: {};
7758
+ _ctx_out: {
7759
+ session: {
7760
+ app: {
7761
+ id: string;
7762
+ planId: string;
7763
+ fakeUserId: string | undefined;
7764
+ settings: {
7765
+ id: string;
7766
+ devsLimit: bigint | null;
7767
+ usersLimit: bigint | null;
7768
+ perDataSizeLimit: bigint | null;
7769
+ bandwidthLimit: bigint | null;
7770
+ totalStorageSizeLimit: bigint | null;
7771
+ payForUsers: boolean;
7772
+ };
7773
+ };
7774
+ sessionId: string;
7775
+ accountId: string;
7776
+ accountInfosId: string;
7777
+ accountRole: _prisma_client.AccountRole;
7778
+ userId: string;
7779
+ userRole: _prisma_client.UserRole;
7780
+ userPlan: _prisma_client.PlanKind;
7781
+ };
7782
+ req: {
7783
+ headers: Headers;
7784
+ };
7785
+ res: {
7786
+ headers: Headers;
7787
+ };
7788
+ locale: Locales;
7789
+ ls: TranslationFunctions;
7790
+ };
6929
7791
  _input_in: {
6930
7792
  appId?: string | undefined;
6931
7793
  } & {
@@ -6939,15 +7801,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6939
7801
  fromBranchId: string;
6940
7802
  };
6941
7803
  _output_in: {
6942
- id: string;
6943
7804
  name: string;
7805
+ id: string;
6944
7806
  isPrimary: boolean;
6945
7807
  currentState: "init" | "ready";
6946
7808
  parentId?: string | undefined;
6947
7809
  };
6948
7810
  _output_out: {
6949
- id: string;
6950
7811
  name: string;
7812
+ id: string;
6951
7813
  isPrimary: boolean;
6952
7814
  currentState: "init" | "ready";
6953
7815
  parentId?: string | undefined;
@@ -6975,7 +7837,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6975
7837
  transformer: typeof superjson.default;
6976
7838
  }>;
6977
7839
  _meta: object;
6978
- _ctx_out: {};
7840
+ _ctx_out: {
7841
+ session: {
7842
+ app: {
7843
+ id: string;
7844
+ planId: string;
7845
+ fakeUserId: string | undefined;
7846
+ settings: {
7847
+ id: string;
7848
+ devsLimit: bigint | null;
7849
+ usersLimit: bigint | null;
7850
+ perDataSizeLimit: bigint | null;
7851
+ bandwidthLimit: bigint | null;
7852
+ totalStorageSizeLimit: bigint | null;
7853
+ payForUsers: boolean;
7854
+ };
7855
+ };
7856
+ sessionId: string;
7857
+ accountId: string;
7858
+ accountInfosId: string;
7859
+ accountRole: _prisma_client.AccountRole;
7860
+ userId: string;
7861
+ userRole: _prisma_client.UserRole;
7862
+ userPlan: _prisma_client.PlanKind;
7863
+ };
7864
+ req: {
7865
+ headers: Headers;
7866
+ };
7867
+ res: {
7868
+ headers: Headers;
7869
+ };
7870
+ locale: Locales;
7871
+ ls: TranslationFunctions;
7872
+ };
6979
7873
  _input_in: {
6980
7874
  appId?: string | undefined;
6981
7875
  } & {
@@ -7044,7 +7938,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7044
7938
  transformer: typeof superjson.default;
7045
7939
  }>;
7046
7940
  _meta: object;
7047
- _ctx_out: {};
7941
+ _ctx_out: {
7942
+ session: {
7943
+ app: {
7944
+ id: string;
7945
+ planId: string;
7946
+ fakeUserId: string | undefined;
7947
+ settings: {
7948
+ id: string;
7949
+ devsLimit: bigint | null;
7950
+ usersLimit: bigint | null;
7951
+ perDataSizeLimit: bigint | null;
7952
+ bandwidthLimit: bigint | null;
7953
+ totalStorageSizeLimit: bigint | null;
7954
+ payForUsers: boolean;
7955
+ };
7956
+ };
7957
+ sessionId: string;
7958
+ accountId: string;
7959
+ accountInfosId: string;
7960
+ accountRole: _prisma_client.AccountRole;
7961
+ userId: string;
7962
+ userRole: _prisma_client.UserRole;
7963
+ userPlan: _prisma_client.PlanKind;
7964
+ };
7965
+ req: {
7966
+ headers: Headers;
7967
+ };
7968
+ res: {
7969
+ headers: Headers;
7970
+ };
7971
+ locale: Locales;
7972
+ ls: TranslationFunctions;
7973
+ };
7048
7974
  _input_in: {
7049
7975
  appId?: string | undefined;
7050
7976
  } & {
@@ -7058,14 +7984,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7058
7984
  branchId: string;
7059
7985
  };
7060
7986
  _output_in: {
7061
- id: number;
7062
7987
  name: string;
7988
+ id: number;
7063
7989
  branchId: string;
7064
7990
  ownerName: string;
7065
7991
  };
7066
7992
  _output_out: {
7067
- id: number;
7068
7993
  name: string;
7994
+ id: number;
7069
7995
  branchId: string;
7070
7996
  ownerName: string;
7071
7997
  };
@@ -7092,7 +8018,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7092
8018
  transformer: typeof superjson.default;
7093
8019
  }>;
7094
8020
  _meta: object;
7095
- _ctx_out: {};
8021
+ _ctx_out: {
8022
+ session: {
8023
+ app: {
8024
+ id: string;
8025
+ planId: string;
8026
+ fakeUserId: string | undefined;
8027
+ settings: {
8028
+ id: string;
8029
+ devsLimit: bigint | null;
8030
+ usersLimit: bigint | null;
8031
+ perDataSizeLimit: bigint | null;
8032
+ bandwidthLimit: bigint | null;
8033
+ totalStorageSizeLimit: bigint | null;
8034
+ payForUsers: boolean;
8035
+ };
8036
+ };
8037
+ sessionId: string;
8038
+ accountId: string;
8039
+ accountInfosId: string;
8040
+ accountRole: _prisma_client.AccountRole;
8041
+ userId: string;
8042
+ userRole: _prisma_client.UserRole;
8043
+ userPlan: _prisma_client.PlanKind;
8044
+ };
8045
+ req: {
8046
+ headers: Headers;
8047
+ };
8048
+ res: {
8049
+ headers: Headers;
8050
+ };
8051
+ locale: Locales;
8052
+ ls: TranslationFunctions;
8053
+ };
7096
8054
  _input_in: {
7097
8055
  appId?: string | undefined;
7098
8056
  } & {
@@ -7134,7 +8092,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7134
8092
  transformer: typeof superjson.default;
7135
8093
  }>;
7136
8094
  _meta: object;
7137
- _ctx_out: {};
8095
+ _ctx_out: {
8096
+ session: {
8097
+ app: {
8098
+ id: string;
8099
+ planId: string;
8100
+ fakeUserId: string | undefined;
8101
+ settings: {
8102
+ id: string;
8103
+ devsLimit: bigint | null;
8104
+ usersLimit: bigint | null;
8105
+ perDataSizeLimit: bigint | null;
8106
+ bandwidthLimit: bigint | null;
8107
+ totalStorageSizeLimit: bigint | null;
8108
+ payForUsers: boolean;
8109
+ };
8110
+ };
8111
+ sessionId: string;
8112
+ accountId: string;
8113
+ accountInfosId: string;
8114
+ accountRole: _prisma_client.AccountRole;
8115
+ userId: string;
8116
+ userRole: _prisma_client.UserRole;
8117
+ userPlan: _prisma_client.PlanKind;
8118
+ };
8119
+ req: {
8120
+ headers: Headers;
8121
+ };
8122
+ res: {
8123
+ headers: Headers;
8124
+ };
8125
+ locale: Locales;
8126
+ ls: TranslationFunctions;
8127
+ };
7138
8128
  _input_in: {
7139
8129
  appId?: string | undefined;
7140
8130
  } & {
@@ -7148,14 +8138,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7148
8138
  databaseName: string;
7149
8139
  };
7150
8140
  _output_in: {
7151
- id: number;
7152
8141
  name: string;
8142
+ id: number;
7153
8143
  branchId: string;
7154
8144
  ownerName: string;
7155
8145
  };
7156
8146
  _output_out: {
7157
- id: number;
7158
8147
  name: string;
8148
+ id: number;
7159
8149
  branchId: string;
7160
8150
  ownerName: string;
7161
8151
  };
@@ -7182,7 +8172,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7182
8172
  transformer: typeof superjson.default;
7183
8173
  }>;
7184
8174
  _meta: object;
7185
- _ctx_out: {};
8175
+ _ctx_out: {
8176
+ session: {
8177
+ app: {
8178
+ id: string;
8179
+ planId: string;
8180
+ fakeUserId: string | undefined;
8181
+ settings: {
8182
+ id: string;
8183
+ devsLimit: bigint | null;
8184
+ usersLimit: bigint | null;
8185
+ perDataSizeLimit: bigint | null;
8186
+ bandwidthLimit: bigint | null;
8187
+ totalStorageSizeLimit: bigint | null;
8188
+ payForUsers: boolean;
8189
+ };
8190
+ };
8191
+ sessionId: string;
8192
+ accountId: string;
8193
+ accountInfosId: string;
8194
+ accountRole: _prisma_client.AccountRole;
8195
+ userId: string;
8196
+ userRole: _prisma_client.UserRole;
8197
+ userPlan: _prisma_client.PlanKind;
8198
+ };
8199
+ req: {
8200
+ headers: Headers;
8201
+ };
8202
+ res: {
8203
+ headers: Headers;
8204
+ };
8205
+ locale: Locales;
8206
+ ls: TranslationFunctions;
8207
+ };
7186
8208
  _input_in: {
7187
8209
  appId?: string | undefined;
7188
8210
  } & {
@@ -7194,14 +8216,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7194
8216
  branchId: string;
7195
8217
  };
7196
8218
  _output_in: {
7197
- id: number;
7198
8219
  name: string;
8220
+ id: number;
7199
8221
  branchId: string;
7200
8222
  ownerName: string;
7201
8223
  }[];
7202
8224
  _output_out: {
7203
- id: number;
7204
8225
  name: string;
8226
+ id: number;
7205
8227
  branchId: string;
7206
8228
  ownerName: string;
7207
8229
  }[];
@@ -7228,7 +8250,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7228
8250
  transformer: typeof superjson.default;
7229
8251
  }>;
7230
8252
  _meta: object;
7231
- _ctx_out: {};
8253
+ _ctx_out: {
8254
+ session: {
8255
+ app: {
8256
+ id: string;
8257
+ planId: string;
8258
+ fakeUserId: string | undefined;
8259
+ settings: {
8260
+ id: string;
8261
+ devsLimit: bigint | null;
8262
+ usersLimit: bigint | null;
8263
+ perDataSizeLimit: bigint | null;
8264
+ bandwidthLimit: bigint | null;
8265
+ totalStorageSizeLimit: bigint | null;
8266
+ payForUsers: boolean;
8267
+ };
8268
+ };
8269
+ sessionId: string;
8270
+ accountId: string;
8271
+ accountInfosId: string;
8272
+ accountRole: _prisma_client.AccountRole;
8273
+ userId: string;
8274
+ userRole: _prisma_client.UserRole;
8275
+ userPlan: _prisma_client.PlanKind;
8276
+ };
8277
+ req: {
8278
+ headers: Headers;
8279
+ };
8280
+ res: {
8281
+ headers: Headers;
8282
+ };
8283
+ locale: Locales;
8284
+ ls: TranslationFunctions;
8285
+ };
7232
8286
  _input_in: {
7233
8287
  appId?: string | undefined;
7234
8288
  } & {
@@ -7246,14 +8300,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7246
8300
  newOwnerName?: string | undefined;
7247
8301
  };
7248
8302
  _output_in: {
7249
- id: number;
7250
8303
  name: string;
8304
+ id: number;
7251
8305
  branchId: string;
7252
8306
  ownerName: string;
7253
8307
  };
7254
8308
  _output_out: {
7255
- id: number;
7256
8309
  name: string;
8310
+ id: number;
7257
8311
  branchId: string;
7258
8312
  ownerName: string;
7259
8313
  };
@@ -7301,7 +8355,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7301
8355
  transformer: typeof superjson.default;
7302
8356
  }>;
7303
8357
  _meta: object;
7304
- _ctx_out: {};
8358
+ _ctx_out: {
8359
+ session: {
8360
+ app: {
8361
+ id: string;
8362
+ planId: string;
8363
+ fakeUserId: string | undefined;
8364
+ settings: {
8365
+ id: string;
8366
+ devsLimit: bigint | null;
8367
+ usersLimit: bigint | null;
8368
+ perDataSizeLimit: bigint | null;
8369
+ bandwidthLimit: bigint | null;
8370
+ totalStorageSizeLimit: bigint | null;
8371
+ payForUsers: boolean;
8372
+ };
8373
+ };
8374
+ sessionId: string;
8375
+ accountId: string;
8376
+ accountInfosId: string;
8377
+ accountRole: _prisma_client.AccountRole;
8378
+ userId: string;
8379
+ userRole: _prisma_client.UserRole;
8380
+ userPlan: _prisma_client.PlanKind;
8381
+ };
8382
+ req: {
8383
+ headers: Headers;
8384
+ };
8385
+ res: {
8386
+ headers: Headers;
8387
+ };
8388
+ locale: Locales;
8389
+ ls: TranslationFunctions;
8390
+ };
7305
8391
  _input_in: {
7306
8392
  appId?: string | undefined;
7307
8393
  } & {
@@ -7385,7 +8471,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7385
8471
  transformer: typeof superjson.default;
7386
8472
  }>;
7387
8473
  _meta: object;
7388
- _ctx_out: {};
8474
+ _ctx_out: {
8475
+ session: {
8476
+ app: {
8477
+ id: string;
8478
+ planId: string;
8479
+ fakeUserId: string | undefined;
8480
+ settings: {
8481
+ id: string;
8482
+ devsLimit: bigint | null;
8483
+ usersLimit: bigint | null;
8484
+ perDataSizeLimit: bigint | null;
8485
+ bandwidthLimit: bigint | null;
8486
+ totalStorageSizeLimit: bigint | null;
8487
+ payForUsers: boolean;
8488
+ };
8489
+ };
8490
+ sessionId: string;
8491
+ accountId: string;
8492
+ accountInfosId: string;
8493
+ accountRole: _prisma_client.AccountRole;
8494
+ userId: string;
8495
+ userRole: _prisma_client.UserRole;
8496
+ userPlan: _prisma_client.PlanKind;
8497
+ };
8498
+ req: {
8499
+ headers: Headers;
8500
+ };
8501
+ res: {
8502
+ headers: Headers;
8503
+ };
8504
+ locale: Locales;
8505
+ ls: TranslationFunctions;
8506
+ };
7389
8507
  _input_in: {
7390
8508
  appId?: string | undefined;
7391
8509
  } & {
@@ -7425,7 +8543,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7425
8543
  transformer: typeof superjson.default;
7426
8544
  }>;
7427
8545
  _meta: object;
7428
- _ctx_out: {};
8546
+ _ctx_out: {
8547
+ session: {
8548
+ app: {
8549
+ id: string;
8550
+ planId: string;
8551
+ fakeUserId: string | undefined;
8552
+ settings: {
8553
+ id: string;
8554
+ devsLimit: bigint | null;
8555
+ usersLimit: bigint | null;
8556
+ perDataSizeLimit: bigint | null;
8557
+ bandwidthLimit: bigint | null;
8558
+ totalStorageSizeLimit: bigint | null;
8559
+ payForUsers: boolean;
8560
+ };
8561
+ };
8562
+ sessionId: string;
8563
+ accountId: string;
8564
+ accountInfosId: string;
8565
+ accountRole: _prisma_client.AccountRole;
8566
+ userId: string;
8567
+ userRole: _prisma_client.UserRole;
8568
+ userPlan: _prisma_client.PlanKind;
8569
+ };
8570
+ req: {
8571
+ headers: Headers;
8572
+ };
8573
+ res: {
8574
+ headers: Headers;
8575
+ };
8576
+ locale: Locales;
8577
+ ls: TranslationFunctions;
8578
+ };
7429
8579
  _input_in: {
7430
8580
  appId?: string | undefined;
7431
8581
  } & {
@@ -7503,7 +8653,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7503
8653
  transformer: typeof superjson.default;
7504
8654
  }>;
7505
8655
  _meta: object;
7506
- _ctx_out: {};
8656
+ _ctx_out: {
8657
+ session: {
8658
+ app: {
8659
+ id: string;
8660
+ planId: string;
8661
+ fakeUserId: string | undefined;
8662
+ settings: {
8663
+ id: string;
8664
+ devsLimit: bigint | null;
8665
+ usersLimit: bigint | null;
8666
+ perDataSizeLimit: bigint | null;
8667
+ bandwidthLimit: bigint | null;
8668
+ totalStorageSizeLimit: bigint | null;
8669
+ payForUsers: boolean;
8670
+ };
8671
+ };
8672
+ sessionId: string;
8673
+ accountId: string;
8674
+ accountInfosId: string;
8675
+ accountRole: _prisma_client.AccountRole;
8676
+ userId: string;
8677
+ userRole: _prisma_client.UserRole;
8678
+ userPlan: _prisma_client.PlanKind;
8679
+ };
8680
+ req: {
8681
+ headers: Headers;
8682
+ };
8683
+ res: {
8684
+ headers: Headers;
8685
+ };
8686
+ locale: Locales;
8687
+ ls: TranslationFunctions;
8688
+ };
7507
8689
  _input_in: {
7508
8690
  appId?: string | undefined;
7509
8691
  } & {
@@ -7581,7 +8763,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7581
8763
  transformer: typeof superjson.default;
7582
8764
  }>;
7583
8765
  _meta: object;
7584
- _ctx_out: {};
8766
+ _ctx_out: {
8767
+ session: {
8768
+ app: {
8769
+ id: string;
8770
+ planId: string;
8771
+ fakeUserId: string | undefined;
8772
+ settings: {
8773
+ id: string;
8774
+ devsLimit: bigint | null;
8775
+ usersLimit: bigint | null;
8776
+ perDataSizeLimit: bigint | null;
8777
+ bandwidthLimit: bigint | null;
8778
+ totalStorageSizeLimit: bigint | null;
8779
+ payForUsers: boolean;
8780
+ };
8781
+ };
8782
+ sessionId: string;
8783
+ accountId: string;
8784
+ accountInfosId: string;
8785
+ accountRole: _prisma_client.AccountRole;
8786
+ userId: string;
8787
+ userRole: _prisma_client.UserRole;
8788
+ userPlan: _prisma_client.PlanKind;
8789
+ };
8790
+ req: {
8791
+ headers: Headers;
8792
+ };
8793
+ res: {
8794
+ headers: Headers;
8795
+ };
8796
+ locale: Locales;
8797
+ ls: TranslationFunctions;
8798
+ };
7585
8799
  _input_in: {
7586
8800
  appId?: string | undefined;
7587
8801
  } & {};
@@ -7655,7 +8869,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7655
8869
  transformer: typeof superjson.default;
7656
8870
  }>;
7657
8871
  _meta: object;
7658
- _ctx_out: {};
8872
+ _ctx_out: {
8873
+ session: {
8874
+ app: {
8875
+ id: string;
8876
+ planId: string;
8877
+ fakeUserId: string | undefined;
8878
+ settings: {
8879
+ id: string;
8880
+ devsLimit: bigint | null;
8881
+ usersLimit: bigint | null;
8882
+ perDataSizeLimit: bigint | null;
8883
+ bandwidthLimit: bigint | null;
8884
+ totalStorageSizeLimit: bigint | null;
8885
+ payForUsers: boolean;
8886
+ };
8887
+ };
8888
+ sessionId: string;
8889
+ accountId: string;
8890
+ accountInfosId: string;
8891
+ accountRole: _prisma_client.AccountRole;
8892
+ userId: string;
8893
+ userRole: _prisma_client.UserRole;
8894
+ userPlan: _prisma_client.PlanKind;
8895
+ };
8896
+ req: {
8897
+ headers: Headers;
8898
+ };
8899
+ res: {
8900
+ headers: Headers;
8901
+ };
8902
+ locale: Locales;
8903
+ ls: TranslationFunctions;
8904
+ };
7659
8905
  _input_in: {
7660
8906
  appId?: string | undefined;
7661
8907
  } & {
@@ -7733,7 +8979,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7733
8979
  transformer: typeof superjson.default;
7734
8980
  }>;
7735
8981
  _meta: object;
7736
- _ctx_out: {};
8982
+ _ctx_out: {
8983
+ session: {
8984
+ app: {
8985
+ id: string;
8986
+ planId: string;
8987
+ fakeUserId: string | undefined;
8988
+ settings: {
8989
+ id: string;
8990
+ devsLimit: bigint | null;
8991
+ usersLimit: bigint | null;
8992
+ perDataSizeLimit: bigint | null;
8993
+ bandwidthLimit: bigint | null;
8994
+ totalStorageSizeLimit: bigint | null;
8995
+ payForUsers: boolean;
8996
+ };
8997
+ };
8998
+ sessionId: string;
8999
+ accountId: string;
9000
+ accountInfosId: string;
9001
+ accountRole: _prisma_client.AccountRole;
9002
+ userId: string;
9003
+ userRole: _prisma_client.UserRole;
9004
+ userPlan: _prisma_client.PlanKind;
9005
+ };
9006
+ req: {
9007
+ headers: Headers;
9008
+ };
9009
+ res: {
9010
+ headers: Headers;
9011
+ };
9012
+ locale: Locales;
9013
+ ls: TranslationFunctions;
9014
+ };
7737
9015
  _input_in: {
7738
9016
  appId?: string | undefined;
7739
9017
  } & {
@@ -7811,7 +9089,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7811
9089
  transformer: typeof superjson.default;
7812
9090
  }>;
7813
9091
  _meta: object;
7814
- _ctx_out: {};
9092
+ _ctx_out: {
9093
+ session: {
9094
+ app: {
9095
+ id: string;
9096
+ planId: string;
9097
+ fakeUserId: string | undefined;
9098
+ settings: {
9099
+ id: string;
9100
+ devsLimit: bigint | null;
9101
+ usersLimit: bigint | null;
9102
+ perDataSizeLimit: bigint | null;
9103
+ bandwidthLimit: bigint | null;
9104
+ totalStorageSizeLimit: bigint | null;
9105
+ payForUsers: boolean;
9106
+ };
9107
+ };
9108
+ sessionId: string;
9109
+ accountId: string;
9110
+ accountInfosId: string;
9111
+ accountRole: _prisma_client.AccountRole;
9112
+ userId: string;
9113
+ userRole: _prisma_client.UserRole;
9114
+ userPlan: _prisma_client.PlanKind;
9115
+ };
9116
+ req: {
9117
+ headers: Headers;
9118
+ };
9119
+ res: {
9120
+ headers: Headers;
9121
+ };
9122
+ locale: Locales;
9123
+ ls: TranslationFunctions;
9124
+ };
7815
9125
  _input_in: {
7816
9126
  appId?: string | undefined;
7817
9127
  } & {
@@ -7889,7 +9199,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7889
9199
  transformer: typeof superjson.default;
7890
9200
  }>;
7891
9201
  _meta: object;
7892
- _ctx_out: {};
9202
+ _ctx_out: {
9203
+ session: {
9204
+ app: {
9205
+ id: string;
9206
+ planId: string;
9207
+ fakeUserId: string | undefined;
9208
+ settings: {
9209
+ id: string;
9210
+ devsLimit: bigint | null;
9211
+ usersLimit: bigint | null;
9212
+ perDataSizeLimit: bigint | null;
9213
+ bandwidthLimit: bigint | null;
9214
+ totalStorageSizeLimit: bigint | null;
9215
+ payForUsers: boolean;
9216
+ };
9217
+ };
9218
+ sessionId: string;
9219
+ accountId: string;
9220
+ accountInfosId: string;
9221
+ accountRole: _prisma_client.AccountRole;
9222
+ userId: string;
9223
+ userRole: _prisma_client.UserRole;
9224
+ userPlan: _prisma_client.PlanKind;
9225
+ };
9226
+ req: {
9227
+ headers: Headers;
9228
+ };
9229
+ res: {
9230
+ headers: Headers;
9231
+ };
9232
+ locale: Locales;
9233
+ ls: TranslationFunctions;
9234
+ };
7893
9235
  _input_in: {
7894
9236
  appId?: string | undefined;
7895
9237
  } & {
@@ -8219,8 +9561,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8219
9561
  } & {
8220
9562
  recipients: string[];
8221
9563
  senderFiles: {
8222
- id: string;
8223
9564
  name: string;
9565
+ id: string;
8224
9566
  }[];
8225
9567
  };
8226
9568
  _input_out: {
@@ -8233,8 +9575,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8233
9575
  } & {
8234
9576
  recipients: string[];
8235
9577
  senderFiles: {
8236
- id: string;
8237
9578
  name: string;
9579
+ id: string;
8238
9580
  }[];
8239
9581
  };
8240
9582
  _output_in: {
@@ -9018,7 +10360,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9018
10360
  transformer: typeof superjson.default;
9019
10361
  }>;
9020
10362
  _meta: object;
9021
- _ctx_out: {};
10363
+ _ctx_out: {
10364
+ session: {
10365
+ app: {
10366
+ id: string;
10367
+ planId: string;
10368
+ fakeUserId: string | undefined;
10369
+ settings: {
10370
+ id: string;
10371
+ devsLimit: bigint | null;
10372
+ usersLimit: bigint | null;
10373
+ perDataSizeLimit: bigint | null;
10374
+ bandwidthLimit: bigint | null;
10375
+ totalStorageSizeLimit: bigint | null;
10376
+ payForUsers: boolean;
10377
+ };
10378
+ };
10379
+ sessionId: string;
10380
+ accountId: string;
10381
+ accountInfosId: string;
10382
+ accountRole: _prisma_client.AccountRole;
10383
+ userId: string;
10384
+ userRole: _prisma_client.UserRole;
10385
+ userPlan: _prisma_client.PlanKind;
10386
+ };
10387
+ req: {
10388
+ headers: Headers;
10389
+ };
10390
+ res: {
10391
+ headers: Headers;
10392
+ };
10393
+ locale: Locales;
10394
+ ls: TranslationFunctions;
10395
+ };
9022
10396
  _input_in: {
9023
10397
  subject: string;
9024
10398
  html: string;
@@ -9129,8 +10503,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9129
10503
  } & {
9130
10504
  recipientId: string;
9131
10505
  attachments: {
9132
- id: string;
9133
10506
  name: string;
10507
+ id: string;
9134
10508
  key: string | null;
9135
10509
  }[];
9136
10510
  };
@@ -9143,8 +10517,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9143
10517
  } & {
9144
10518
  recipientId: string;
9145
10519
  attachments: {
9146
- id: string;
9147
10520
  name: string;
10521
+ id: string;
9148
10522
  key: string | null;
9149
10523
  }[];
9150
10524
  };
@@ -9395,8 +10769,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9395
10769
  replyToId: string | null;
9396
10770
  recipients: string[] | null;
9397
10771
  senderFiles: {
9398
- id: string;
9399
10772
  name: string;
10773
+ id: string;
9400
10774
  }[] | null;
9401
10775
  };
9402
10776
  _input_out: {
@@ -9409,8 +10783,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9409
10783
  replyToId: string | null;
9410
10784
  recipients: string[] | null;
9411
10785
  senderFiles: {
9412
- id: string;
9413
10786
  name: string;
10787
+ id: string;
9414
10788
  }[] | null;
9415
10789
  };
9416
10790
  _output_in: {
@@ -9654,17 +11028,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9654
11028
  };
9655
11029
  _output_in: {
9656
11030
  email: string;
9657
- accountInfosId: string | null;
9658
11031
  id: string;
9659
11032
  createdAt: Date;
9660
11033
  isPrimary: boolean;
11034
+ accountInfosId: string | null;
9661
11035
  };
9662
11036
  _output_out: {
9663
11037
  email: string;
9664
- accountInfosId: string | null;
9665
11038
  id: string;
9666
11039
  createdAt: Date;
9667
11040
  isPrimary: boolean;
11041
+ accountInfosId: string | null;
9668
11042
  };
9669
11043
  }, unknown>;
9670
11044
  createFeedback: _trpc_server.BuildProcedure<"mutation", {
@@ -10104,14 +11478,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10104
11478
  message?: string | undefined;
10105
11479
  };
10106
11480
  _output_in: {
10107
- userId: string;
10108
11481
  id: string;
11482
+ userId: string;
10109
11483
  customMessage: string | null;
10110
11484
  reportedUserId: string;
10111
11485
  };
10112
11486
  _output_out: {
10113
- userId: string;
10114
11487
  id: string;
11488
+ userId: string;
10115
11489
  customMessage: string | null;
10116
11490
  reportedUserId: string;
10117
11491
  };
@@ -10284,7 +11658,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10284
11658
  transformer: typeof superjson.default;
10285
11659
  }>;
10286
11660
  _meta: object;
10287
- _ctx_out: {};
11661
+ _ctx_out: {
11662
+ session: Omit<SecrecySession, "app">;
11663
+ req: {
11664
+ headers: Headers;
11665
+ };
11666
+ res: {
11667
+ headers: Headers;
11668
+ };
11669
+ locale: Locales;
11670
+ ls: TranslationFunctions;
11671
+ };
10288
11672
  _input_in: {
10289
11673
  paymentIntentId: string;
10290
11674
  sellerId: string;
@@ -10324,7 +11708,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10324
11708
  transformer: typeof superjson.default;
10325
11709
  }>;
10326
11710
  _meta: object;
10327
- _ctx_out: {};
11711
+ _ctx_out: {
11712
+ session: Omit<SecrecySession, "app">;
11713
+ req: {
11714
+ headers: Headers;
11715
+ };
11716
+ res: {
11717
+ headers: Headers;
11718
+ };
11719
+ locale: Locales;
11720
+ ls: TranslationFunctions;
11721
+ };
10328
11722
  _input_in: {};
10329
11723
  _input_out: {};
10330
11724
  _output_in: Record<string, any>;
@@ -10352,7 +11746,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10352
11746
  transformer: typeof superjson.default;
10353
11747
  }>;
10354
11748
  _meta: object;
10355
- _ctx_out: {};
11749
+ _ctx_out: {
11750
+ session: Omit<SecrecySession, "app">;
11751
+ req: {
11752
+ headers: Headers;
11753
+ };
11754
+ res: {
11755
+ headers: Headers;
11756
+ };
11757
+ locale: Locales;
11758
+ ls: TranslationFunctions;
11759
+ };
10356
11760
  _input_in: {};
10357
11761
  _input_out: {};
10358
11762
  _output_in: Record<string, any>;
@@ -10380,7 +11784,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10380
11784
  transformer: typeof superjson.default;
10381
11785
  }>;
10382
11786
  _meta: object;
10383
- _ctx_out: {};
11787
+ _ctx_out: {
11788
+ session: Omit<SecrecySession, "app">;
11789
+ req: {
11790
+ headers: Headers;
11791
+ };
11792
+ res: {
11793
+ headers: Headers;
11794
+ };
11795
+ locale: Locales;
11796
+ ls: TranslationFunctions;
11797
+ };
10384
11798
  _input_in: {
10385
11799
  paymentIntentId: string;
10386
11800
  sellerId: string;
@@ -10418,7 +11832,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10418
11832
  transformer: typeof superjson.default;
10419
11833
  }>;
10420
11834
  _meta: object;
10421
- _ctx_out: {};
11835
+ _ctx_out: {
11836
+ session: Omit<SecrecySession, "app">;
11837
+ req: {
11838
+ headers: Headers;
11839
+ };
11840
+ res: {
11841
+ headers: Headers;
11842
+ };
11843
+ locale: Locales;
11844
+ ls: TranslationFunctions;
11845
+ };
10422
11846
  _input_in: {
10423
11847
  payoutId: string;
10424
11848
  };
@@ -10454,7 +11878,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10454
11878
  transformer: typeof superjson.default;
10455
11879
  }>;
10456
11880
  _meta: object;
10457
- _ctx_out: {};
11881
+ _ctx_out: {
11882
+ session: Omit<SecrecySession, "app">;
11883
+ req: {
11884
+ headers: Headers;
11885
+ };
11886
+ res: {
11887
+ headers: Headers;
11888
+ };
11889
+ locale: Locales;
11890
+ ls: TranslationFunctions;
11891
+ };
10458
11892
  _input_in: {};
10459
11893
  _input_out: {};
10460
11894
  _output_in: Record<string, any>;
@@ -10482,7 +11916,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10482
11916
  transformer: typeof superjson.default;
10483
11917
  }>;
10484
11918
  _meta: object;
10485
- _ctx_out: {};
11919
+ _ctx_out: {
11920
+ session: Omit<SecrecySession, "app">;
11921
+ req: {
11922
+ headers: Headers;
11923
+ };
11924
+ res: {
11925
+ headers: Headers;
11926
+ };
11927
+ locale: Locales;
11928
+ ls: TranslationFunctions;
11929
+ };
10486
11930
  _input_in: {
10487
11931
  paymentIntentId: string;
10488
11932
  sellerId: string;
@@ -10520,7 +11964,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10520
11964
  transformer: typeof superjson.default;
10521
11965
  }>;
10522
11966
  _meta: object;
10523
- _ctx_out: {};
11967
+ _ctx_out: {
11968
+ session: Omit<SecrecySession, "app">;
11969
+ req: {
11970
+ headers: Headers;
11971
+ };
11972
+ res: {
11973
+ headers: Headers;
11974
+ };
11975
+ locale: Locales;
11976
+ ls: TranslationFunctions;
11977
+ };
10524
11978
  _input_in: {
10525
11979
  cardTokenId: string;
10526
11980
  lastFourDigit: string;
@@ -10558,7 +12012,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10558
12012
  transformer: typeof superjson.default;
10559
12013
  }>;
10560
12014
  _meta: object;
10561
- _ctx_out: {};
12015
+ _ctx_out: {
12016
+ session: Omit<SecrecySession, "app">;
12017
+ req: {
12018
+ headers: Headers;
12019
+ };
12020
+ res: {
12021
+ headers: Headers;
12022
+ };
12023
+ locale: Locales;
12024
+ ls: TranslationFunctions;
12025
+ };
10562
12026
  _input_in: {
10563
12027
  userId: string;
10564
12028
  amount: number;
@@ -10598,7 +12062,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10598
12062
  transformer: typeof superjson.default;
10599
12063
  }>;
10600
12064
  _meta: object;
10601
- _ctx_out: {};
12065
+ _ctx_out: {
12066
+ session: Omit<SecrecySession, "app">;
12067
+ req: {
12068
+ headers: Headers;
12069
+ };
12070
+ res: {
12071
+ headers: Headers;
12072
+ };
12073
+ locale: Locales;
12074
+ ls: TranslationFunctions;
12075
+ };
10602
12076
  _input_in: {
10603
12077
  amount: number;
10604
12078
  currency: string;
@@ -10638,7 +12112,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10638
12112
  transformer: typeof superjson.default;
10639
12113
  }>;
10640
12114
  _meta: object;
10641
- _ctx_out: {};
12115
+ _ctx_out: {
12116
+ session: Omit<SecrecySession, "app">;
12117
+ req: {
12118
+ headers: Headers;
12119
+ };
12120
+ res: {
12121
+ headers: Headers;
12122
+ };
12123
+ locale: Locales;
12124
+ ls: TranslationFunctions;
12125
+ };
10642
12126
  _input_in: {
10643
12127
  amount: number;
10644
12128
  currency: string;
@@ -10678,7 +12162,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10678
12162
  transformer: typeof superjson.default;
10679
12163
  }>;
10680
12164
  _meta: object;
10681
- _ctx_out: {};
12165
+ _ctx_out: {
12166
+ session: Omit<SecrecySession, "app">;
12167
+ req: {
12168
+ headers: Headers;
12169
+ };
12170
+ res: {
12171
+ headers: Headers;
12172
+ };
12173
+ locale: Locales;
12174
+ ls: TranslationFunctions;
12175
+ };
10682
12176
  _input_in: {
10683
12177
  cardTokenId: string;
10684
12178
  };
@@ -10746,7 +12240,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10746
12240
  transformer: typeof superjson.default;
10747
12241
  }>;
10748
12242
  _meta: object;
10749
- _ctx_out: {};
12243
+ _ctx_out: {
12244
+ session: Omit<SecrecySession, "app">;
12245
+ req: {
12246
+ headers: Headers;
12247
+ };
12248
+ res: {
12249
+ headers: Headers;
12250
+ };
12251
+ locale: Locales;
12252
+ ls: TranslationFunctions;
12253
+ };
10750
12254
  _input_in: {};
10751
12255
  _input_out: {};
10752
12256
  _output_in: {
@@ -10778,7 +12282,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10778
12282
  transformer: typeof superjson.default;
10779
12283
  }>;
10780
12284
  _meta: object;
10781
- _ctx_out: {};
12285
+ _ctx_out: {
12286
+ session: {
12287
+ app: {
12288
+ id: string;
12289
+ planId: string;
12290
+ fakeUserId: string | undefined;
12291
+ settings: {
12292
+ id: string;
12293
+ devsLimit: bigint | null;
12294
+ usersLimit: bigint | null;
12295
+ perDataSizeLimit: bigint | null;
12296
+ bandwidthLimit: bigint | null;
12297
+ totalStorageSizeLimit: bigint | null;
12298
+ payForUsers: boolean;
12299
+ };
12300
+ };
12301
+ sessionId: string;
12302
+ accountId: string;
12303
+ accountInfosId: string;
12304
+ accountRole: _prisma_client.AccountRole;
12305
+ userId: string;
12306
+ userRole: _prisma_client.UserRole;
12307
+ userPlan: _prisma_client.PlanKind;
12308
+ };
12309
+ req: {
12310
+ headers: Headers;
12311
+ };
12312
+ res: {
12313
+ headers: Headers;
12314
+ };
12315
+ locale: Locales;
12316
+ ls: TranslationFunctions;
12317
+ };
10782
12318
  _input_in: {
10783
12319
  appId: string;
10784
12320
  invoiceId: string;
@@ -10852,7 +12388,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10852
12388
  transformer: typeof superjson.default;
10853
12389
  }>;
10854
12390
  _meta: object;
10855
- _ctx_out: {};
12391
+ _ctx_out: {
12392
+ session: {
12393
+ app: {
12394
+ id: string;
12395
+ planId: string;
12396
+ fakeUserId: string | undefined;
12397
+ settings: {
12398
+ id: string;
12399
+ devsLimit: bigint | null;
12400
+ usersLimit: bigint | null;
12401
+ perDataSizeLimit: bigint | null;
12402
+ bandwidthLimit: bigint | null;
12403
+ totalStorageSizeLimit: bigint | null;
12404
+ payForUsers: boolean;
12405
+ };
12406
+ };
12407
+ sessionId: string;
12408
+ accountId: string;
12409
+ accountInfosId: string;
12410
+ accountRole: _prisma_client.AccountRole;
12411
+ userId: string;
12412
+ userRole: _prisma_client.UserRole;
12413
+ userPlan: _prisma_client.PlanKind;
12414
+ };
12415
+ req: {
12416
+ headers: Headers;
12417
+ };
12418
+ res: {
12419
+ headers: Headers;
12420
+ };
12421
+ locale: Locales;
12422
+ ls: TranslationFunctions;
12423
+ };
10856
12424
  _input_in: {
10857
12425
  appId: string;
10858
12426
  };
@@ -10924,7 +12492,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10924
12492
  transformer: typeof superjson.default;
10925
12493
  }>;
10926
12494
  _meta: object;
10927
- _ctx_out: {};
12495
+ _ctx_out: {
12496
+ session: Omit<SecrecySession, "app">;
12497
+ req: {
12498
+ headers: Headers;
12499
+ };
12500
+ res: {
12501
+ headers: Headers;
12502
+ };
12503
+ locale: Locales;
12504
+ ls: TranslationFunctions;
12505
+ };
10928
12506
  _input_in: {
10929
12507
  userId: string;
10930
12508
  amount: number;
@@ -10966,7 +12544,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10966
12544
  transformer: typeof superjson.default;
10967
12545
  }>;
10968
12546
  _meta: object;
10969
- _ctx_out: {};
12547
+ _ctx_out: {
12548
+ session: Omit<SecrecySession, "app">;
12549
+ req: {
12550
+ headers: Headers;
12551
+ };
12552
+ res: {
12553
+ headers: Headers;
12554
+ };
12555
+ locale: Locales;
12556
+ ls: TranslationFunctions;
12557
+ };
10970
12558
  _input_in: {};
10971
12559
  _input_out: {};
10972
12560
  _output_in: {
@@ -10998,7 +12586,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10998
12586
  transformer: typeof superjson.default;
10999
12587
  }>;
11000
12588
  _meta: object;
11001
- _ctx_out: {};
12589
+ _ctx_out: {
12590
+ session: Omit<SecrecySession, "app">;
12591
+ req: {
12592
+ headers: Headers;
12593
+ };
12594
+ res: {
12595
+ headers: Headers;
12596
+ };
12597
+ locale: Locales;
12598
+ ls: TranslationFunctions;
12599
+ };
11002
12600
  _input_in: {};
11003
12601
  _input_out: {};
11004
12602
  _output_in: {
@@ -11030,7 +12628,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11030
12628
  transformer: typeof superjson.default;
11031
12629
  }>;
11032
12630
  _meta: object;
11033
- _ctx_out: {};
12631
+ _ctx_out: {
12632
+ session: Omit<SecrecySession, "app">;
12633
+ req: {
12634
+ headers: Headers;
12635
+ };
12636
+ res: {
12637
+ headers: Headers;
12638
+ };
12639
+ locale: Locales;
12640
+ ls: TranslationFunctions;
12641
+ };
11034
12642
  _input_in: {
11035
12643
  paymentRequestId: string;
11036
12644
  };
@@ -11062,7 +12670,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11062
12670
  transformer: typeof superjson.default;
11063
12671
  }>;
11064
12672
  _meta: object;
11065
- _ctx_out: {};
12673
+ _ctx_out: {
12674
+ session: Omit<SecrecySession, "app">;
12675
+ req: {
12676
+ headers: Headers;
12677
+ };
12678
+ res: {
12679
+ headers: Headers;
12680
+ };
12681
+ locale: Locales;
12682
+ ls: TranslationFunctions;
12683
+ };
11066
12684
  _input_in: {};
11067
12685
  _input_out: {};
11068
12686
  _output_in: Record<string, unknown>[];
@@ -11090,7 +12708,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11090
12708
  transformer: typeof superjson.default;
11091
12709
  }>;
11092
12710
  _meta: object;
11093
- _ctx_out: {};
12711
+ _ctx_out: {
12712
+ session: Omit<SecrecySession, "app">;
12713
+ req: {
12714
+ headers: Headers;
12715
+ };
12716
+ res: {
12717
+ headers: Headers;
12718
+ };
12719
+ locale: Locales;
12720
+ ls: TranslationFunctions;
12721
+ };
11094
12722
  _input_in: {
11095
12723
  sellerId: string;
11096
12724
  paymentRequestId: string;
@@ -11124,7 +12752,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11124
12752
  transformer: typeof superjson.default;
11125
12753
  }>;
11126
12754
  _meta: object;
11127
- _ctx_out: {};
12755
+ _ctx_out: {
12756
+ session: Omit<SecrecySession, "app">;
12757
+ req: {
12758
+ headers: Headers;
12759
+ };
12760
+ res: {
12761
+ headers: Headers;
12762
+ };
12763
+ locale: Locales;
12764
+ ls: TranslationFunctions;
12765
+ };
11128
12766
  _input_in: {};
11129
12767
  _input_out: {};
11130
12768
  _output_in: Record<string, unknown>[];
@@ -11152,7 +12790,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11152
12790
  transformer: typeof superjson.default;
11153
12791
  }>;
11154
12792
  _meta: object;
11155
- _ctx_out: {};
12793
+ _ctx_out: {
12794
+ session: Omit<SecrecySession, "app">;
12795
+ req: {
12796
+ headers: Headers;
12797
+ };
12798
+ res: {
12799
+ headers: Headers;
12800
+ };
12801
+ locale: Locales;
12802
+ ls: TranslationFunctions;
12803
+ };
11156
12804
  _input_in: {
11157
12805
  payoutId: string;
11158
12806
  };
@@ -11184,7 +12832,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11184
12832
  transformer: typeof superjson.default;
11185
12833
  }>;
11186
12834
  _meta: object;
11187
- _ctx_out: {};
12835
+ _ctx_out: {
12836
+ session: Omit<SecrecySession, "app">;
12837
+ req: {
12838
+ headers: Headers;
12839
+ };
12840
+ res: {
12841
+ headers: Headers;
12842
+ };
12843
+ locale: Locales;
12844
+ ls: TranslationFunctions;
12845
+ };
11188
12846
  _input_in: {};
11189
12847
  _input_out: {};
11190
12848
  _output_in: Record<string, any>;
@@ -11212,7 +12870,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11212
12870
  transformer: typeof superjson.default;
11213
12871
  }>;
11214
12872
  _meta: object;
11215
- _ctx_out: {};
12873
+ _ctx_out: {
12874
+ session: Omit<SecrecySession, "app">;
12875
+ req: {
12876
+ headers: Headers;
12877
+ };
12878
+ res: {
12879
+ headers: Headers;
12880
+ };
12881
+ locale: Locales;
12882
+ ls: TranslationFunctions;
12883
+ };
11216
12884
  _input_in: {
11217
12885
  transactionId: string;
11218
12886
  };
@@ -11244,7 +12912,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11244
12912
  transformer: typeof superjson.default;
11245
12913
  }>;
11246
12914
  _meta: object;
11247
- _ctx_out: {};
12915
+ _ctx_out: {
12916
+ session: Omit<SecrecySession, "app">;
12917
+ req: {
12918
+ headers: Headers;
12919
+ };
12920
+ res: {
12921
+ headers: Headers;
12922
+ };
12923
+ locale: Locales;
12924
+ ls: TranslationFunctions;
12925
+ };
11248
12926
  _input_in: {
11249
12927
  transferId: string;
11250
12928
  };
@@ -11276,7 +12954,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11276
12954
  transformer: typeof superjson.default;
11277
12955
  }>;
11278
12956
  _meta: object;
11279
- _ctx_out: {};
12957
+ _ctx_out: {
12958
+ session: Omit<SecrecySession, "app">;
12959
+ req: {
12960
+ headers: Headers;
12961
+ };
12962
+ res: {
12963
+ headers: Headers;
12964
+ };
12965
+ locale: Locales;
12966
+ ls: TranslationFunctions;
12967
+ };
11280
12968
  _input_in: {};
11281
12969
  _input_out: {};
11282
12970
  _output_in: Record<string, any>;
@@ -11325,16 +13013,48 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11325
13013
  transformer: typeof superjson.default;
11326
13014
  }>;
11327
13015
  _meta: object;
11328
- _ctx_out: {};
13016
+ _ctx_out: {
13017
+ session: {
13018
+ app: {
13019
+ id: string;
13020
+ planId: string;
13021
+ fakeUserId: string | undefined;
13022
+ settings: {
13023
+ id: string;
13024
+ devsLimit: bigint | null;
13025
+ usersLimit: bigint | null;
13026
+ perDataSizeLimit: bigint | null;
13027
+ bandwidthLimit: bigint | null;
13028
+ totalStorageSizeLimit: bigint | null;
13029
+ payForUsers: boolean;
13030
+ };
13031
+ };
13032
+ sessionId: string;
13033
+ accountId: string;
13034
+ accountInfosId: string;
13035
+ accountRole: _prisma_client.AccountRole;
13036
+ userId: string;
13037
+ userRole: _prisma_client.UserRole;
13038
+ userPlan: _prisma_client.PlanKind;
13039
+ };
13040
+ req: {
13041
+ headers: Headers;
13042
+ };
13043
+ res: {
13044
+ headers: Headers;
13045
+ };
13046
+ locale: Locales;
13047
+ ls: TranslationFunctions;
13048
+ };
11329
13049
  _input_in: {
11330
- appId: string;
11331
13050
  userId: string;
11332
13051
  role: "developer" | "admin";
13052
+ appId: string;
11333
13053
  };
11334
13054
  _input_out: {
11335
- appId: string;
11336
13055
  userId: string;
11337
13056
  role: "developer" | "admin";
13057
+ appId: string;
11338
13058
  };
11339
13059
  _output_in: {
11340
13060
  isAdded: boolean;
@@ -11365,7 +13085,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11365
13085
  transformer: typeof superjson.default;
11366
13086
  }>;
11367
13087
  _meta: object;
11368
- _ctx_out: {};
13088
+ _ctx_out: {
13089
+ session: {
13090
+ app: {
13091
+ id: string;
13092
+ planId: string;
13093
+ fakeUserId: string | undefined;
13094
+ settings: {
13095
+ id: string;
13096
+ devsLimit: bigint | null;
13097
+ usersLimit: bigint | null;
13098
+ perDataSizeLimit: bigint | null;
13099
+ bandwidthLimit: bigint | null;
13100
+ totalStorageSizeLimit: bigint | null;
13101
+ payForUsers: boolean;
13102
+ };
13103
+ };
13104
+ sessionId: string;
13105
+ accountId: string;
13106
+ accountInfosId: string;
13107
+ accountRole: _prisma_client.AccountRole;
13108
+ userId: string;
13109
+ userRole: _prisma_client.UserRole;
13110
+ userPlan: _prisma_client.PlanKind;
13111
+ };
13112
+ req: {
13113
+ headers: Headers;
13114
+ };
13115
+ res: {
13116
+ headers: Headers;
13117
+ };
13118
+ locale: Locales;
13119
+ ls: TranslationFunctions;
13120
+ };
11369
13121
  _input_in: {
11370
13122
  appId: string;
11371
13123
  };
@@ -11374,8 +13126,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11374
13126
  };
11375
13127
  _output_in: {
11376
13128
  plan: {
11377
- id: string;
11378
13129
  name: string;
13130
+ id: string;
11379
13131
  isCustomPlan?: boolean | undefined;
11380
13132
  canHaveDatabase?: boolean | undefined;
11381
13133
  } & {
@@ -11415,15 +13167,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11415
13167
  };
11416
13168
  };
11417
13169
  };
13170
+ name: string;
11418
13171
  id: string;
11419
13172
  createdAt: Date;
13173
+ updatedAt: Date;
11420
13174
  quotasId: string;
11421
13175
  ownerId: string;
11422
13176
  blocked: boolean;
11423
- name: string;
11424
13177
  color: string | null;
11425
13178
  logo: string | null;
11426
- updatedAt: Date;
11427
13179
  origin: string[];
11428
13180
  planId: string | null;
11429
13181
  lastMetricsReset: Date;
@@ -11445,8 +13197,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11445
13197
  };
11446
13198
  _output_out: {
11447
13199
  plan: {
11448
- id: string;
11449
13200
  name: string;
13201
+ id: string;
11450
13202
  isCustomPlan: boolean;
11451
13203
  canHaveDatabase: boolean;
11452
13204
  } & {
@@ -11486,15 +13238,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11486
13238
  };
11487
13239
  };
11488
13240
  };
13241
+ name: string;
11489
13242
  id: string;
11490
13243
  createdAt: Date;
13244
+ updatedAt: Date;
11491
13245
  quotasId: string;
11492
13246
  ownerId: string;
11493
13247
  blocked: boolean;
11494
- name: string;
11495
13248
  color: string | null;
11496
13249
  logo: string | null;
11497
- updatedAt: Date;
11498
13250
  origin: string[];
11499
13251
  planId: string | null;
11500
13252
  lastMetricsReset: Date;
@@ -11539,15 +13291,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11539
13291
  _meta: object;
11540
13292
  _ctx_out: {};
11541
13293
  _input_in: {
11542
- sortBy: "users" | "updatedAt" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
13294
+ sortBy: "updatedAt" | "users" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
11543
13295
  };
11544
13296
  _input_out: {
11545
- sortBy: "users" | "updatedAt" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
13297
+ sortBy: "updatedAt" | "users" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
11546
13298
  };
11547
13299
  _output_in: {
11548
13300
  plan: {
11549
- id: string;
11550
13301
  name: string;
13302
+ id: string;
11551
13303
  isCustomPlan?: boolean | undefined;
11552
13304
  canHaveDatabase?: boolean | undefined;
11553
13305
  } & {
@@ -11587,15 +13339,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11587
13339
  };
11588
13340
  };
11589
13341
  };
13342
+ name: string;
11590
13343
  id: string;
11591
13344
  createdAt: Date;
13345
+ updatedAt: Date;
11592
13346
  quotasId: string;
11593
13347
  ownerId: string;
11594
13348
  blocked: boolean;
11595
- name: string;
11596
13349
  color: string | null;
11597
13350
  logo: string | null;
11598
- updatedAt: Date;
11599
13351
  origin: string[];
11600
13352
  planId: string | null;
11601
13353
  lastMetricsReset: Date;
@@ -11617,8 +13369,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11617
13369
  }[];
11618
13370
  _output_out: {
11619
13371
  plan: {
11620
- id: string;
11621
13372
  name: string;
13373
+ id: string;
11622
13374
  isCustomPlan: boolean;
11623
13375
  canHaveDatabase: boolean;
11624
13376
  } & {
@@ -11658,15 +13410,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11658
13410
  };
11659
13411
  };
11660
13412
  };
13413
+ name: string;
11661
13414
  id: string;
11662
13415
  createdAt: Date;
13416
+ updatedAt: Date;
11663
13417
  quotasId: string;
11664
13418
  ownerId: string;
11665
13419
  blocked: boolean;
11666
- name: string;
11667
13420
  color: string | null;
11668
13421
  logo: string | null;
11669
- updatedAt: Date;
11670
13422
  origin: string[];
11671
13423
  planId: string | null;
11672
13424
  lastMetricsReset: Date;
@@ -11759,7 +13511,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11759
13511
  transformer: typeof superjson.default;
11760
13512
  }>;
11761
13513
  _meta: object;
11762
- _ctx_out: {};
13514
+ _ctx_out: {
13515
+ session: {
13516
+ app: {
13517
+ id: string;
13518
+ planId: string;
13519
+ fakeUserId: string | undefined;
13520
+ settings: {
13521
+ id: string;
13522
+ devsLimit: bigint | null;
13523
+ usersLimit: bigint | null;
13524
+ perDataSizeLimit: bigint | null;
13525
+ bandwidthLimit: bigint | null;
13526
+ totalStorageSizeLimit: bigint | null;
13527
+ payForUsers: boolean;
13528
+ };
13529
+ };
13530
+ sessionId: string;
13531
+ accountId: string;
13532
+ accountInfosId: string;
13533
+ accountRole: _prisma_client.AccountRole;
13534
+ userId: string;
13535
+ userRole: _prisma_client.UserRole;
13536
+ userPlan: _prisma_client.PlanKind;
13537
+ };
13538
+ req: {
13539
+ headers: Headers;
13540
+ };
13541
+ res: {
13542
+ headers: Headers;
13543
+ };
13544
+ locale: Locales;
13545
+ ls: TranslationFunctions;
13546
+ };
11763
13547
  _input_in: {
11764
13548
  appId: string;
11765
13549
  };
@@ -11795,7 +13579,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11795
13579
  transformer: typeof superjson.default;
11796
13580
  }>;
11797
13581
  _meta: object;
11798
- _ctx_out: {};
13582
+ _ctx_out: {
13583
+ session: {
13584
+ app: {
13585
+ id: string;
13586
+ planId: string;
13587
+ fakeUserId: string | undefined;
13588
+ settings: {
13589
+ id: string;
13590
+ devsLimit: bigint | null;
13591
+ usersLimit: bigint | null;
13592
+ perDataSizeLimit: bigint | null;
13593
+ bandwidthLimit: bigint | null;
13594
+ totalStorageSizeLimit: bigint | null;
13595
+ payForUsers: boolean;
13596
+ };
13597
+ };
13598
+ sessionId: string;
13599
+ accountId: string;
13600
+ accountInfosId: string;
13601
+ accountRole: _prisma_client.AccountRole;
13602
+ userId: string;
13603
+ userRole: _prisma_client.UserRole;
13604
+ userPlan: _prisma_client.PlanKind;
13605
+ };
13606
+ req: {
13607
+ headers: Headers;
13608
+ };
13609
+ res: {
13610
+ headers: Headers;
13611
+ };
13612
+ locale: Locales;
13613
+ ls: TranslationFunctions;
13614
+ };
11799
13615
  _input_in: {
11800
13616
  appId: string;
11801
13617
  developerId: string;
@@ -11833,7 +13649,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11833
13649
  transformer: typeof superjson.default;
11834
13650
  }>;
11835
13651
  _meta: object;
11836
- _ctx_out: {};
13652
+ _ctx_out: {
13653
+ session: {
13654
+ app: {
13655
+ id: string;
13656
+ planId: string;
13657
+ fakeUserId: string | undefined;
13658
+ settings: {
13659
+ id: string;
13660
+ devsLimit: bigint | null;
13661
+ usersLimit: bigint | null;
13662
+ perDataSizeLimit: bigint | null;
13663
+ bandwidthLimit: bigint | null;
13664
+ totalStorageSizeLimit: bigint | null;
13665
+ payForUsers: boolean;
13666
+ };
13667
+ };
13668
+ sessionId: string;
13669
+ accountId: string;
13670
+ accountInfosId: string;
13671
+ accountRole: _prisma_client.AccountRole;
13672
+ userId: string;
13673
+ userRole: _prisma_client.UserRole;
13674
+ userPlan: _prisma_client.PlanKind;
13675
+ };
13676
+ req: {
13677
+ headers: Headers;
13678
+ };
13679
+ res: {
13680
+ headers: Headers;
13681
+ };
13682
+ locale: Locales;
13683
+ ls: TranslationFunctions;
13684
+ };
11837
13685
  _input_in: {
11838
13686
  appId: string;
11839
13687
  developerId: string;
@@ -11853,10 +13701,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11853
13701
  infos: {
11854
13702
  emails: {
11855
13703
  email: string;
11856
- accountInfosId: string | null;
11857
13704
  id: string;
11858
13705
  createdAt: Date;
11859
13706
  isPrimary: boolean;
13707
+ accountInfosId: string | null;
11860
13708
  }[];
11861
13709
  };
11862
13710
  };
@@ -11877,10 +13725,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11877
13725
  infos: {
11878
13726
  emails: {
11879
13727
  email: string;
11880
- accountInfosId: string | null;
11881
13728
  id: string;
11882
13729
  createdAt: Date;
11883
13730
  isPrimary: boolean;
13731
+ accountInfosId: string | null;
11884
13732
  }[];
11885
13733
  };
11886
13734
  };
@@ -11913,7 +13761,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11913
13761
  transformer: typeof superjson.default;
11914
13762
  }>;
11915
13763
  _meta: object;
11916
- _ctx_out: {};
13764
+ _ctx_out: {
13765
+ session: {
13766
+ app: {
13767
+ id: string;
13768
+ planId: string;
13769
+ fakeUserId: string | undefined;
13770
+ settings: {
13771
+ id: string;
13772
+ devsLimit: bigint | null;
13773
+ usersLimit: bigint | null;
13774
+ perDataSizeLimit: bigint | null;
13775
+ bandwidthLimit: bigint | null;
13776
+ totalStorageSizeLimit: bigint | null;
13777
+ payForUsers: boolean;
13778
+ };
13779
+ };
13780
+ sessionId: string;
13781
+ accountId: string;
13782
+ accountInfosId: string;
13783
+ accountRole: _prisma_client.AccountRole;
13784
+ userId: string;
13785
+ userRole: _prisma_client.UserRole;
13786
+ userPlan: _prisma_client.PlanKind;
13787
+ };
13788
+ req: {
13789
+ headers: Headers;
13790
+ };
13791
+ res: {
13792
+ headers: Headers;
13793
+ };
13794
+ locale: Locales;
13795
+ ls: TranslationFunctions;
13796
+ };
11917
13797
  _input_in: {
11918
13798
  appId: string;
11919
13799
  };
@@ -11931,10 +13811,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11931
13811
  infos: {
11932
13812
  emails: {
11933
13813
  email: string;
11934
- accountInfosId: string | null;
11935
13814
  id: string;
11936
13815
  createdAt: Date;
11937
13816
  isPrimary: boolean;
13817
+ accountInfosId: string | null;
11938
13818
  }[];
11939
13819
  };
11940
13820
  };
@@ -11955,10 +13835,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11955
13835
  infos: {
11956
13836
  emails: {
11957
13837
  email: string;
11958
- accountInfosId: string | null;
11959
13838
  id: string;
11960
13839
  createdAt: Date;
11961
13840
  isPrimary: boolean;
13841
+ accountInfosId: string | null;
11962
13842
  }[];
11963
13843
  };
11964
13844
  };
@@ -11999,14 +13879,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11999
13879
  appId: string;
12000
13880
  };
12001
13881
  _output_in: {
12002
- id: string;
12003
13882
  name: string;
13883
+ id: string;
12004
13884
  color: string | null;
12005
13885
  logo: string | null;
12006
13886
  };
12007
13887
  _output_out: {
12008
- id: string;
12009
13888
  name: string;
13889
+ id: string;
12010
13890
  color: string | null;
12011
13891
  logo: string | null;
12012
13892
  };
@@ -12033,7 +13913,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12033
13913
  transformer: typeof superjson.default;
12034
13914
  }>;
12035
13915
  _meta: object;
12036
- _ctx_out: {};
13916
+ _ctx_out: {
13917
+ session: {
13918
+ app: {
13919
+ id: string;
13920
+ planId: string;
13921
+ fakeUserId: string | undefined;
13922
+ settings: {
13923
+ id: string;
13924
+ devsLimit: bigint | null;
13925
+ usersLimit: bigint | null;
13926
+ perDataSizeLimit: bigint | null;
13927
+ bandwidthLimit: bigint | null;
13928
+ totalStorageSizeLimit: bigint | null;
13929
+ payForUsers: boolean;
13930
+ };
13931
+ };
13932
+ sessionId: string;
13933
+ accountId: string;
13934
+ accountInfosId: string;
13935
+ accountRole: _prisma_client.AccountRole;
13936
+ userId: string;
13937
+ userRole: _prisma_client.UserRole;
13938
+ userPlan: _prisma_client.PlanKind;
13939
+ };
13940
+ req: {
13941
+ headers: Headers;
13942
+ };
13943
+ res: {
13944
+ headers: Headers;
13945
+ };
13946
+ locale: Locales;
13947
+ ls: TranslationFunctions;
13948
+ };
12037
13949
  _input_in: {
12038
13950
  appId: string;
12039
13951
  origins: string[];
@@ -12071,7 +13983,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12071
13983
  transformer: typeof superjson.default;
12072
13984
  }>;
12073
13985
  _meta: object;
12074
- _ctx_out: {};
13986
+ _ctx_out: {
13987
+ session: {
13988
+ app: {
13989
+ id: string;
13990
+ planId: string;
13991
+ fakeUserId: string | undefined;
13992
+ settings: {
13993
+ id: string;
13994
+ devsLimit: bigint | null;
13995
+ usersLimit: bigint | null;
13996
+ perDataSizeLimit: bigint | null;
13997
+ bandwidthLimit: bigint | null;
13998
+ totalStorageSizeLimit: bigint | null;
13999
+ payForUsers: boolean;
14000
+ };
14001
+ };
14002
+ sessionId: string;
14003
+ accountId: string;
14004
+ accountInfosId: string;
14005
+ accountRole: _prisma_client.AccountRole;
14006
+ userId: string;
14007
+ userRole: _prisma_client.UserRole;
14008
+ userPlan: _prisma_client.PlanKind;
14009
+ };
14010
+ req: {
14011
+ headers: Headers;
14012
+ };
14013
+ res: {
14014
+ headers: Headers;
14015
+ };
14016
+ locale: Locales;
14017
+ ls: TranslationFunctions;
14018
+ };
12075
14019
  _input_in: {
12076
14020
  appId: string;
12077
14021
  name?: string | undefined;
@@ -12113,7 +14057,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12113
14057
  transformer: typeof superjson.default;
12114
14058
  }>;
12115
14059
  _meta: object;
12116
- _ctx_out: {};
14060
+ _ctx_out: {
14061
+ session: {
14062
+ app: {
14063
+ id: string;
14064
+ planId: string;
14065
+ fakeUserId: string | undefined;
14066
+ settings: {
14067
+ id: string;
14068
+ devsLimit: bigint | null;
14069
+ usersLimit: bigint | null;
14070
+ perDataSizeLimit: bigint | null;
14071
+ bandwidthLimit: bigint | null;
14072
+ totalStorageSizeLimit: bigint | null;
14073
+ payForUsers: boolean;
14074
+ };
14075
+ };
14076
+ sessionId: string;
14077
+ accountId: string;
14078
+ accountInfosId: string;
14079
+ accountRole: _prisma_client.AccountRole;
14080
+ userId: string;
14081
+ userRole: _prisma_client.UserRole;
14082
+ userPlan: _prisma_client.PlanKind;
14083
+ };
14084
+ req: {
14085
+ headers: Headers;
14086
+ };
14087
+ res: {
14088
+ headers: Headers;
14089
+ };
14090
+ locale: Locales;
14091
+ ls: TranslationFunctions;
14092
+ };
12117
14093
  _input_in: {
12118
14094
  appId: string;
12119
14095
  developerId: string;
@@ -12153,14 +14129,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12153
14129
  transformer: typeof superjson.default;
12154
14130
  }>;
12155
14131
  _meta: object;
12156
- _ctx_out: {};
14132
+ _ctx_out: {
14133
+ session: {
14134
+ app: {
14135
+ id: string;
14136
+ planId: string;
14137
+ fakeUserId: string;
14138
+ isCare: boolean;
14139
+ settingsId: string;
14140
+ };
14141
+ sessionId: string;
14142
+ accountId: string;
14143
+ accountInfosId: string;
14144
+ accountRole: _prisma_client.AccountRole;
14145
+ userId: string;
14146
+ userRole: _prisma_client.UserRole;
14147
+ userPlan: _prisma_client.PlanKind;
14148
+ };
14149
+ req: {
14150
+ headers: Headers;
14151
+ };
14152
+ res: {
14153
+ headers: Headers;
14154
+ };
14155
+ locale: Locales;
14156
+ ls: TranslationFunctions;
14157
+ };
12157
14158
  _input_in: {
12158
- appId: string;
12159
14159
  userId: string;
14160
+ appId: string;
12160
14161
  };
12161
14162
  _input_out: {
12162
- appId: string;
12163
14163
  userId: string;
14164
+ appId: string;
12164
14165
  };
12165
14166
  _output_in: {
12166
14167
  isUpdated: boolean;
@@ -12191,7 +14192,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12191
14192
  transformer: typeof superjson.default;
12192
14193
  }>;
12193
14194
  _meta: object;
12194
- _ctx_out: {};
14195
+ _ctx_out: {
14196
+ session: {
14197
+ app: {
14198
+ id: string;
14199
+ planId: string;
14200
+ fakeUserId: string | undefined;
14201
+ settings: {
14202
+ id: string;
14203
+ devsLimit: bigint | null;
14204
+ usersLimit: bigint | null;
14205
+ perDataSizeLimit: bigint | null;
14206
+ bandwidthLimit: bigint | null;
14207
+ totalStorageSizeLimit: bigint | null;
14208
+ payForUsers: boolean;
14209
+ };
14210
+ };
14211
+ sessionId: string;
14212
+ accountId: string;
14213
+ accountInfosId: string;
14214
+ accountRole: _prisma_client.AccountRole;
14215
+ userId: string;
14216
+ userRole: _prisma_client.UserRole;
14217
+ userPlan: _prisma_client.PlanKind;
14218
+ };
14219
+ req: {
14220
+ headers: Headers;
14221
+ };
14222
+ res: {
14223
+ headers: Headers;
14224
+ };
14225
+ locale: Locales;
14226
+ ls: TranslationFunctions;
14227
+ };
12195
14228
  _input_in: {
12196
14229
  appId: string;
12197
14230
  planName: string;
@@ -12431,11 +14464,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12431
14464
  account: {
12432
14465
  id: string;
12433
14466
  createdAt: Date;
12434
- role: "user" | "admin";
12435
14467
  deletedAt: Date | null;
12436
14468
  infosId: string;
12437
- updatedAt: Date;
12438
14469
  phones: string[];
14470
+ updatedAt: Date;
14471
+ role: "user" | "admin";
12439
14472
  emails: {
12440
14473
  email: string;
12441
14474
  isPrimary: boolean;
@@ -12460,11 +14493,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12460
14493
  account: {
12461
14494
  id: string;
12462
14495
  createdAt: Date;
12463
- role: "user" | "admin";
12464
14496
  deletedAt: Date | null;
12465
14497
  infosId: string;
12466
- updatedAt: Date;
12467
14498
  phones: string[];
14499
+ updatedAt: Date;
14500
+ role: "user" | "admin";
12468
14501
  emails: {
12469
14502
  email: string;
12470
14503
  isPrimary: boolean;
@@ -12498,21 +14531,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12498
14531
  _input_in: {} | undefined;
12499
14532
  _input_out: {} | undefined;
12500
14533
  _output_in: {
12501
- accountId: string;
12502
- userId: string;
12503
14534
  id: string;
12504
14535
  createdAt: Date;
14536
+ accountId: string;
14537
+ userId: string;
12505
14538
  lastActivity: Date | null;
12506
14539
  userAgent: string | null;
12507
14540
  ip: string | null;
12508
14541
  country: string | null;
12509
14542
  city: string | null;
12510
14543
  appSessions: ({
12511
- appId: string;
12512
- userId: string;
12513
14544
  id: string;
12514
- userSessionId: string;
12515
14545
  createdAt: Date;
14546
+ userId: string;
14547
+ appId: string;
14548
+ userSessionId: string;
12516
14549
  lastActivity: Date | null;
12517
14550
  userAgent: string | null;
12518
14551
  ip: string | null;
@@ -12525,21 +14558,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12525
14558
  })[];
12526
14559
  }[];
12527
14560
  _output_out: {
12528
- accountId: string;
12529
- userId: string;
12530
14561
  id: string;
12531
14562
  createdAt: Date;
14563
+ accountId: string;
14564
+ userId: string;
12532
14565
  lastActivity: Date | null;
12533
14566
  userAgent: string | null;
12534
14567
  ip: string | null;
12535
14568
  country: string | null;
12536
14569
  city: string | null;
12537
14570
  appSessions: ({
12538
- appId: string;
12539
- userId: string;
12540
14571
  id: string;
12541
- userSessionId: string;
12542
14572
  createdAt: Date;
14573
+ userId: string;
14574
+ appId: string;
14575
+ userSessionId: string;
12543
14576
  lastActivity: Date | null;
12544
14577
  userAgent: string | null;
12545
14578
  ip: string | null;