@secrecy/trpc-api-types 1.33.0-feat-unencrypted-data.5 → 1.33.0-feat-billing-by-app-or-user.2

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 +2402 -289
  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;
@@ -378,6 +442,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
378
442
  totalStorageSizeBase: bigint | null;
379
443
  totalStorageSizeUnit: bigint | null;
380
444
  totalStorageSizePrice: number | null;
445
+ baseQuotasId: string;
381
446
  };
382
447
  _output_out: {
383
448
  id: string;
@@ -401,6 +466,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
401
466
  totalStorageSizeBase: bigint | null;
402
467
  totalStorageSizeUnit: bigint | null;
403
468
  totalStorageSizePrice: number | null;
469
+ baseQuotasId: string;
404
470
  };
405
471
  }, unknown>;
406
472
  notification: _trpc_server.BuildProcedure<"query", {
@@ -469,17 +535,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
469
535
  _input_in: {} | undefined;
470
536
  _input_out: {} | undefined;
471
537
  _output_in: {
472
- id: string;
473
538
  name: string;
474
- descriptorId: string;
539
+ id: string;
540
+ quotasId: string;
475
541
  stripePricesId: string | null;
476
542
  isCustomPlan?: boolean | undefined;
477
543
  canHaveDatabase?: boolean | undefined;
478
544
  };
479
545
  _output_out: {
480
- id: string;
481
546
  name: string;
482
- descriptorId: string;
547
+ id: string;
548
+ quotasId: string;
483
549
  isCustomPlan: boolean;
484
550
  canHaveDatabase: boolean;
485
551
  stripePricesId: string | null;
@@ -507,7 +573,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
507
573
  transformer: typeof superjson.default;
508
574
  }>;
509
575
  _meta: object;
510
- _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
+ };
511
609
  _input_in: {
512
610
  appId?: string | undefined;
513
611
  };
@@ -515,32 +613,45 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
515
613
  appId?: string | undefined;
516
614
  };
517
615
  _output_in: ({
518
- id: string;
519
616
  name: string;
617
+ id: string;
520
618
  isCustomPlan?: boolean | undefined;
521
619
  canHaveDatabase?: boolean | undefined;
522
620
  } & {
523
- descriptor: {
621
+ quotas: {
622
+ users: bigint | null;
623
+ totalStorageSize: bigint | null;
624
+ devs: bigint | null;
524
625
  devsBase: bigint | null;
525
626
  devsUnit: bigint | null;
526
627
  devsPrice: number | null;
527
628
  usersBase: bigint | null;
528
629
  usersUnit: bigint | null;
529
630
  usersPrice: number | null;
631
+ perDataSize: bigint | null;
530
632
  perDataSizeBase: bigint | null;
531
633
  perDataSizeUnit: bigint | null;
532
634
  perDataSizePrice: number | null;
635
+ bandwidth: bigint | null;
533
636
  bandwidthBase: bigint | null;
534
637
  bandwidthUnit: bigint | null;
535
638
  bandwidthPrice: number | null;
536
639
  totalStorageSizeBase: bigint | null;
537
640
  totalStorageSizeUnit: bigint | null;
538
641
  totalStorageSizePrice: number | null;
539
- devsMax: bigint | null;
540
- usersMax: bigint | null;
541
- perDataSizeMax: bigint | null;
542
- bandwidthMax: bigint | null;
543
- totalStorageSizeMax: bigint | null;
642
+ baseQuotasId: string;
643
+ } & {
644
+ baseQuotas: {
645
+ uploadCount: bigint | null;
646
+ downloadCount: bigint | null;
647
+ totalDataCount: bigint | null;
648
+ totalStorageSize: bigint | null;
649
+ perDataSize: bigint | null;
650
+ downloadBandwidth: bigint | null;
651
+ uploadBandwidth: bigint | null;
652
+ receivedMailsId: string;
653
+ sentMailsId: string;
654
+ };
544
655
  };
545
656
  } & {
546
657
  price: number;
@@ -548,32 +659,45 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
548
659
  isCurrent: boolean;
549
660
  })[];
550
661
  _output_out: ({
551
- id: string;
552
662
  name: string;
663
+ id: string;
553
664
  isCustomPlan: boolean;
554
665
  canHaveDatabase: boolean;
555
666
  } & {
556
- descriptor: {
667
+ quotas: {
668
+ users: bigint | null;
669
+ totalStorageSize: bigint | null;
670
+ devs: bigint | null;
557
671
  devsBase: bigint | null;
558
672
  devsUnit: bigint | null;
559
673
  devsPrice: number | null;
560
674
  usersBase: bigint | null;
561
675
  usersUnit: bigint | null;
562
676
  usersPrice: number | null;
677
+ perDataSize: bigint | null;
563
678
  perDataSizeBase: bigint | null;
564
679
  perDataSizeUnit: bigint | null;
565
680
  perDataSizePrice: number | null;
681
+ bandwidth: bigint | null;
566
682
  bandwidthBase: bigint | null;
567
683
  bandwidthUnit: bigint | null;
568
684
  bandwidthPrice: number | null;
569
685
  totalStorageSizeBase: bigint | null;
570
686
  totalStorageSizeUnit: bigint | null;
571
687
  totalStorageSizePrice: number | null;
572
- devsMax: bigint | null;
573
- usersMax: bigint | null;
574
- perDataSizeMax: bigint | null;
575
- bandwidthMax: bigint | null;
576
- totalStorageSizeMax: bigint | null;
688
+ baseQuotasId: string;
689
+ } & {
690
+ baseQuotas: {
691
+ uploadCount: bigint | null;
692
+ downloadCount: bigint | null;
693
+ totalDataCount: bigint | null;
694
+ totalStorageSize: bigint | null;
695
+ perDataSize: bigint | null;
696
+ downloadBandwidth: bigint | null;
697
+ uploadBandwidth: bigint | null;
698
+ receivedMailsId: string;
699
+ sentMailsId: string;
700
+ };
577
701
  };
578
702
  } & {
579
703
  price: number;
@@ -773,14 +897,46 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
773
897
  transformer: typeof superjson.default;
774
898
  }>;
775
899
  _meta: object;
776
- _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
+ };
777
933
  _input_in: {
778
- appId: string;
779
934
  userId: string;
935
+ appId: string;
780
936
  };
781
937
  _input_out: {
782
- appId: string;
783
938
  userId: string;
939
+ appId: string;
784
940
  };
785
941
  _output_in: {
786
942
  isApplicationUser: boolean;
@@ -1124,13 +1280,13 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1124
1280
  email: string;
1125
1281
  };
1126
1282
  _output_in: {
1127
- pub: string;
1128
1283
  srpSalt: string;
1284
+ pub: string;
1129
1285
  loginId: string;
1130
1286
  };
1131
1287
  _output_out: {
1132
- pub: string;
1133
1288
  srpSalt: string;
1289
+ pub: string;
1134
1290
  loginId: string;
1135
1291
  };
1136
1292
  }, unknown>;
@@ -1166,6 +1322,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1166
1322
  to: string;
1167
1323
  };
1168
1324
  _output_in: {
1325
+ loginToken: string;
1169
1326
  users: {
1170
1327
  id: string;
1171
1328
  lastname: string;
@@ -1173,9 +1330,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1173
1330
  avatar: string | null;
1174
1331
  isSearchable: boolean;
1175
1332
  }[];
1176
- loginToken: string;
1177
1333
  };
1178
1334
  _output_out: {
1335
+ loginToken: string;
1179
1336
  users: {
1180
1337
  id: string;
1181
1338
  lastname: string;
@@ -1183,7 +1340,6 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1183
1340
  avatar: string | null;
1184
1341
  isSearchable: boolean;
1185
1342
  }[];
1186
- loginToken: string;
1187
1343
  };
1188
1344
  }, unknown>;
1189
1345
  logout: _trpc_server.BuildProcedure<"mutation", {
@@ -1248,22 +1404,22 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1248
1404
  _input_in: {};
1249
1405
  _input_out: {};
1250
1406
  _output_in: {
1407
+ masterKeySalt: string;
1251
1408
  cryptoWallets: {
1252
1409
  address: string;
1253
1410
  encryptedKeystore: string;
1254
1411
  }[];
1255
- masterKeySalt: string;
1256
1412
  keyPairs: {
1257
1413
  pub: string;
1258
1414
  encPriv: string;
1259
1415
  }[];
1260
1416
  };
1261
1417
  _output_out: {
1418
+ masterKeySalt: string;
1262
1419
  cryptoWallets: {
1263
1420
  address: string;
1264
1421
  encryptedKeystore: string;
1265
1422
  }[];
1266
- masterKeySalt: string;
1267
1423
  keyPairs: {
1268
1424
  pub: string;
1269
1425
  encPriv: string;
@@ -1382,14 +1538,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1382
1538
  godFather?: string | undefined;
1383
1539
  };
1384
1540
  _output_in: {
1385
- sessionId: string;
1386
1541
  userId: string;
1542
+ sessionId: string;
1387
1543
  } & {
1388
1544
  masterKeySalt: string;
1389
1545
  };
1390
1546
  _output_out: {
1391
- sessionId: string;
1392
1547
  userId: string;
1548
+ sessionId: string;
1393
1549
  } & {
1394
1550
  masterKeySalt: string;
1395
1551
  };
@@ -1460,20 +1616,20 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1460
1616
  _meta: object;
1461
1617
  _ctx_out: {};
1462
1618
  _input_in: {
1463
- userId: string;
1464
1619
  loginToken: string;
1620
+ userId: string;
1465
1621
  };
1466
1622
  _input_out: {
1467
- userId: string;
1468
1623
  loginToken: string;
1624
+ userId: string;
1469
1625
  };
1470
1626
  _output_in: {
1471
- session: string;
1472
1627
  masterKeySalt: string;
1628
+ session: string;
1473
1629
  };
1474
1630
  _output_out: {
1475
- session: string;
1476
1631
  masterKeySalt: string;
1632
+ session: string;
1477
1633
  };
1478
1634
  }, unknown>;
1479
1635
  signup: _trpc_server.BuildProcedure<"mutation", {
@@ -1501,22 +1657,22 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1501
1657
  _ctx_out: {};
1502
1658
  _input_in: {
1503
1659
  email: string;
1504
- lastname: string;
1505
- firstname: string;
1506
- phone: string;
1507
1660
  srpSalt: string;
1508
1661
  masterKeySalt: string;
1509
1662
  srpVerifier: string;
1663
+ lastname: string;
1664
+ firstname: string;
1665
+ phone: string;
1510
1666
  token: string;
1511
1667
  };
1512
1668
  _input_out: {
1513
1669
  email: string;
1514
- lastname: string;
1515
- firstname: string;
1516
- phone: string;
1517
1670
  srpSalt: string;
1518
1671
  masterKeySalt: string;
1519
1672
  srpVerifier: string;
1673
+ lastname: string;
1674
+ firstname: string;
1675
+ phone: string;
1520
1676
  token: string;
1521
1677
  };
1522
1678
  _output_in: {};
@@ -1726,10 +1882,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1726
1882
  nodeId: string;
1727
1883
  };
1728
1884
  _output_in: {
1885
+ name: string;
1729
1886
  id: string;
1730
1887
  createdAt: Date;
1731
1888
  deletedAt: Date | null;
1732
- name: string;
1733
1889
  updatedAt: Date;
1734
1890
  type: "FILE" | "FOLDER";
1735
1891
  isFavorite: boolean;
@@ -1795,10 +1951,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1795
1951
  };
1796
1952
  }[];
1797
1953
  parent: ({
1954
+ name: string;
1798
1955
  id: string;
1799
1956
  createdAt: Date;
1800
1957
  deletedAt: Date | null;
1801
- name: string;
1802
1958
  updatedAt: Date;
1803
1959
  type: "FILE" | "FOLDER";
1804
1960
  isFavorite: boolean;
@@ -1827,10 +1983,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1827
1983
  };
1828
1984
  }) | null;
1829
1985
  children: ({
1986
+ name: string;
1830
1987
  id: string;
1831
1988
  createdAt: Date;
1832
1989
  deletedAt: Date | null;
1833
- name: string;
1834
1990
  updatedAt: Date;
1835
1991
  type: "FILE" | "FOLDER";
1836
1992
  isFavorite: boolean;
@@ -1864,17 +2020,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1864
2020
  };
1865
2021
  })[];
1866
2022
  breadcrumb: {
1867
- id: string;
1868
2023
  name: string;
2024
+ id: string;
1869
2025
  nameKey: string | null;
1870
2026
  pubKey: string;
1871
2027
  }[];
1872
2028
  };
1873
2029
  _output_out: {
2030
+ name: string;
1874
2031
  id: string;
1875
2032
  createdAt: Date;
1876
2033
  deletedAt: Date | null;
1877
- name: string;
1878
2034
  updatedAt: Date;
1879
2035
  type: "FILE" | "FOLDER";
1880
2036
  isFavorite: boolean;
@@ -1940,10 +2096,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1940
2096
  };
1941
2097
  }[];
1942
2098
  parent: ({
2099
+ name: string;
1943
2100
  id: string;
1944
2101
  createdAt: Date;
1945
2102
  deletedAt: Date | null;
1946
- name: string;
1947
2103
  updatedAt: Date;
1948
2104
  type: "FILE" | "FOLDER";
1949
2105
  isFavorite: boolean;
@@ -1972,10 +2128,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1972
2128
  };
1973
2129
  }) | null;
1974
2130
  children: ({
2131
+ name: string;
1975
2132
  id: string;
1976
2133
  createdAt: Date;
1977
2134
  deletedAt: Date | null;
1978
- name: string;
1979
2135
  updatedAt: Date;
1980
2136
  type: "FILE" | "FOLDER";
1981
2137
  isFavorite: boolean;
@@ -2009,8 +2165,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2009
2165
  };
2010
2166
  })[];
2011
2167
  breadcrumb: {
2012
- id: string;
2013
2168
  name: string;
2169
+ id: string;
2014
2170
  nameKey: string | null;
2015
2171
  pubKey: string;
2016
2172
  }[];
@@ -2450,10 +2606,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2450
2606
  fileName: string;
2451
2607
  };
2452
2608
  _output_in: {
2609
+ name: string;
2453
2610
  id: string;
2454
2611
  createdAt: Date;
2455
2612
  deletedAt: Date | null;
2456
- name: string;
2457
2613
  updatedAt: Date;
2458
2614
  type: "FILE" | "FOLDER";
2459
2615
  isFavorite: boolean;
@@ -2519,10 +2675,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2519
2675
  };
2520
2676
  }[];
2521
2677
  parent: ({
2678
+ name: string;
2522
2679
  id: string;
2523
2680
  createdAt: Date;
2524
2681
  deletedAt: Date | null;
2525
- name: string;
2526
2682
  updatedAt: Date;
2527
2683
  type: "FILE" | "FOLDER";
2528
2684
  isFavorite: boolean;
@@ -2551,10 +2707,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2551
2707
  };
2552
2708
  }) | null;
2553
2709
  children: ({
2710
+ name: string;
2554
2711
  id: string;
2555
2712
  createdAt: Date;
2556
2713
  deletedAt: Date | null;
2557
- name: string;
2558
2714
  updatedAt: Date;
2559
2715
  type: "FILE" | "FOLDER";
2560
2716
  isFavorite: boolean;
@@ -2588,17 +2744,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2588
2744
  };
2589
2745
  })[];
2590
2746
  breadcrumb: {
2591
- id: string;
2592
2747
  name: string;
2748
+ id: string;
2593
2749
  nameKey: string | null;
2594
2750
  pubKey: string;
2595
2751
  }[];
2596
2752
  };
2597
2753
  _output_out: {
2754
+ name: string;
2598
2755
  id: string;
2599
2756
  createdAt: Date;
2600
2757
  deletedAt: Date | null;
2601
- name: string;
2602
2758
  updatedAt: Date;
2603
2759
  type: "FILE" | "FOLDER";
2604
2760
  isFavorite: boolean;
@@ -2664,10 +2820,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2664
2820
  };
2665
2821
  }[];
2666
2822
  parent: ({
2823
+ name: string;
2667
2824
  id: string;
2668
2825
  createdAt: Date;
2669
2826
  deletedAt: Date | null;
2670
- name: string;
2671
2827
  updatedAt: Date;
2672
2828
  type: "FILE" | "FOLDER";
2673
2829
  isFavorite: boolean;
@@ -2696,10 +2852,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2696
2852
  };
2697
2853
  }) | null;
2698
2854
  children: ({
2855
+ name: string;
2699
2856
  id: string;
2700
2857
  createdAt: Date;
2701
2858
  deletedAt: Date | null;
2702
- name: string;
2703
2859
  updatedAt: Date;
2704
2860
  type: "FILE" | "FOLDER";
2705
2861
  isFavorite: boolean;
@@ -2733,8 +2889,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2733
2889
  };
2734
2890
  })[];
2735
2891
  breadcrumb: {
2736
- id: string;
2737
2892
  name: string;
2893
+ id: string;
2738
2894
  nameKey: string | null;
2739
2895
  pubKey: string;
2740
2896
  }[];
@@ -2825,10 +2981,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2825
2981
  encPriv: string;
2826
2982
  }[];
2827
2983
  nodes: {
2984
+ name: string;
2828
2985
  id: string;
2829
2986
  createdAt: Date;
2830
2987
  deletedAt: Date | null;
2831
- name: string;
2832
2988
  updatedAt: Date;
2833
2989
  history: {
2834
2990
  createdAt: Date;
@@ -2842,8 +2998,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2842
2998
  };
2843
2999
  totalSize: bigint;
2844
3000
  breadcrumb: {
2845
- id: string;
2846
3001
  name: string;
3002
+ id: string;
2847
3003
  nameKey: string | null;
2848
3004
  pubKey: string;
2849
3005
  }[];
@@ -2866,10 +3022,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2866
3022
  encPriv: string;
2867
3023
  }[];
2868
3024
  nodes: {
3025
+ name: string;
2869
3026
  id: string;
2870
3027
  createdAt: Date;
2871
3028
  deletedAt: Date | null;
2872
- name: string;
2873
3029
  updatedAt: Date;
2874
3030
  history: {
2875
3031
  createdAt: Date;
@@ -2883,8 +3039,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2883
3039
  };
2884
3040
  totalSize: bigint;
2885
3041
  breadcrumb: {
2886
- id: string;
2887
3042
  name: string;
3043
+ id: string;
2888
3044
  nameKey: string | null;
2889
3045
  pubKey: string;
2890
3046
  }[];
@@ -3200,10 +3356,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3200
3356
  parentId: string | null;
3201
3357
  };
3202
3358
  _output_in: {
3359
+ name: string;
3203
3360
  id: string;
3204
3361
  createdAt: Date;
3205
3362
  deletedAt: Date | null;
3206
- name: string;
3207
3363
  updatedAt: Date;
3208
3364
  type: "FILE" | "FOLDER";
3209
3365
  isFavorite: boolean;
@@ -3269,10 +3425,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3269
3425
  };
3270
3426
  }[];
3271
3427
  parent: ({
3428
+ name: string;
3272
3429
  id: string;
3273
3430
  createdAt: Date;
3274
3431
  deletedAt: Date | null;
3275
- name: string;
3276
3432
  updatedAt: Date;
3277
3433
  type: "FILE" | "FOLDER";
3278
3434
  isFavorite: boolean;
@@ -3301,10 +3457,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3301
3457
  };
3302
3458
  }) | null;
3303
3459
  children: ({
3460
+ name: string;
3304
3461
  id: string;
3305
3462
  createdAt: Date;
3306
3463
  deletedAt: Date | null;
3307
- name: string;
3308
3464
  updatedAt: Date;
3309
3465
  type: "FILE" | "FOLDER";
3310
3466
  isFavorite: boolean;
@@ -3338,17 +3494,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3338
3494
  };
3339
3495
  })[];
3340
3496
  breadcrumb: {
3341
- id: string;
3342
3497
  name: string;
3498
+ id: string;
3343
3499
  nameKey: string | null;
3344
3500
  pubKey: string;
3345
3501
  }[];
3346
3502
  };
3347
3503
  _output_out: {
3504
+ name: string;
3348
3505
  id: string;
3349
3506
  createdAt: Date;
3350
3507
  deletedAt: Date | null;
3351
- name: string;
3352
3508
  updatedAt: Date;
3353
3509
  type: "FILE" | "FOLDER";
3354
3510
  isFavorite: boolean;
@@ -3414,10 +3570,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3414
3570
  };
3415
3571
  }[];
3416
3572
  parent: ({
3573
+ name: string;
3417
3574
  id: string;
3418
3575
  createdAt: Date;
3419
3576
  deletedAt: Date | null;
3420
- name: string;
3421
3577
  updatedAt: Date;
3422
3578
  type: "FILE" | "FOLDER";
3423
3579
  isFavorite: boolean;
@@ -3446,10 +3602,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3446
3602
  };
3447
3603
  }) | null;
3448
3604
  children: ({
3605
+ name: string;
3449
3606
  id: string;
3450
3607
  createdAt: Date;
3451
3608
  deletedAt: Date | null;
3452
- name: string;
3453
3609
  updatedAt: Date;
3454
3610
  type: "FILE" | "FOLDER";
3455
3611
  isFavorite: boolean;
@@ -3483,8 +3639,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3483
3639
  };
3484
3640
  })[];
3485
3641
  breadcrumb: {
3486
- id: string;
3487
3642
  name: string;
3643
+ id: string;
3488
3644
  nameKey: string | null;
3489
3645
  pubKey: string;
3490
3646
  }[];
@@ -3798,14 +3954,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3798
3954
  id: string;
3799
3955
  };
3800
3956
  _output_in: {
3801
- id: string;
3802
3957
  name: string;
3958
+ id: string;
3803
3959
  nameKey: string | null;
3804
3960
  pubKey: string;
3805
3961
  }[];
3806
3962
  _output_out: {
3807
- id: string;
3808
3963
  name: string;
3964
+ id: string;
3809
3965
  nameKey: string | null;
3810
3966
  pubKey: string;
3811
3967
  }[];
@@ -3842,10 +3998,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3842
3998
  deleted?: boolean | null | undefined;
3843
3999
  };
3844
4000
  _output_in: {
4001
+ name: string;
3845
4002
  id: string;
3846
4003
  createdAt: Date;
3847
4004
  deletedAt: Date | null;
3848
- name: string;
3849
4005
  updatedAt: Date;
3850
4006
  type: "FILE" | "FOLDER";
3851
4007
  isFavorite: boolean;
@@ -3879,10 +4035,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3879
4035
  };
3880
4036
  };
3881
4037
  _output_out: {
4038
+ name: string;
3882
4039
  id: string;
3883
4040
  createdAt: Date;
3884
4041
  deletedAt: Date | null;
3885
- name: string;
3886
4042
  updatedAt: Date;
3887
4043
  type: "FILE" | "FOLDER";
3888
4044
  isFavorite: boolean;
@@ -3948,10 +4104,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3948
4104
  deleted?: boolean | null | undefined;
3949
4105
  };
3950
4106
  _output_in: {
4107
+ name: string;
3951
4108
  id: string;
3952
4109
  createdAt: Date;
3953
4110
  deletedAt: Date | null;
3954
- name: string;
3955
4111
  updatedAt: Date;
3956
4112
  type: "FILE" | "FOLDER";
3957
4113
  isFavorite: boolean;
@@ -4017,10 +4173,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4017
4173
  };
4018
4174
  }[];
4019
4175
  parent: ({
4176
+ name: string;
4020
4177
  id: string;
4021
4178
  createdAt: Date;
4022
4179
  deletedAt: Date | null;
4023
- name: string;
4024
4180
  updatedAt: Date;
4025
4181
  type: "FILE" | "FOLDER";
4026
4182
  isFavorite: boolean;
@@ -4049,10 +4205,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4049
4205
  };
4050
4206
  }) | null;
4051
4207
  children: ({
4208
+ name: string;
4052
4209
  id: string;
4053
4210
  createdAt: Date;
4054
4211
  deletedAt: Date | null;
4055
- name: string;
4056
4212
  updatedAt: Date;
4057
4213
  type: "FILE" | "FOLDER";
4058
4214
  isFavorite: boolean;
@@ -4086,17 +4242,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4086
4242
  };
4087
4243
  })[];
4088
4244
  breadcrumb: {
4089
- id: string;
4090
4245
  name: string;
4246
+ id: string;
4091
4247
  nameKey: string | null;
4092
4248
  pubKey: string;
4093
4249
  }[];
4094
4250
  };
4095
4251
  _output_out: {
4252
+ name: string;
4096
4253
  id: string;
4097
4254
  createdAt: Date;
4098
4255
  deletedAt: Date | null;
4099
- name: string;
4100
4256
  updatedAt: Date;
4101
4257
  type: "FILE" | "FOLDER";
4102
4258
  isFavorite: boolean;
@@ -4162,10 +4318,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4162
4318
  };
4163
4319
  }[];
4164
4320
  parent: ({
4321
+ name: string;
4165
4322
  id: string;
4166
4323
  createdAt: Date;
4167
4324
  deletedAt: Date | null;
4168
- name: string;
4169
4325
  updatedAt: Date;
4170
4326
  type: "FILE" | "FOLDER";
4171
4327
  isFavorite: boolean;
@@ -4194,10 +4350,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4194
4350
  };
4195
4351
  }) | null;
4196
4352
  children: ({
4353
+ name: string;
4197
4354
  id: string;
4198
4355
  createdAt: Date;
4199
4356
  deletedAt: Date | null;
4200
- name: string;
4201
4357
  updatedAt: Date;
4202
4358
  type: "FILE" | "FOLDER";
4203
4359
  isFavorite: boolean;
@@ -4231,8 +4387,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4231
4387
  };
4232
4388
  })[];
4233
4389
  breadcrumb: {
4234
- id: string;
4235
4390
  name: string;
4391
+ id: string;
4236
4392
  nameKey: string | null;
4237
4393
  pubKey: string;
4238
4394
  }[];
@@ -4302,10 +4458,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4302
4458
  _input_in: {};
4303
4459
  _input_out: {};
4304
4460
  _output_in: ({
4461
+ name: string;
4305
4462
  id: string;
4306
4463
  createdAt: Date;
4307
4464
  deletedAt: Date | null;
4308
- name: string;
4309
4465
  updatedAt: Date;
4310
4466
  type: "FILE" | "FOLDER";
4311
4467
  isFavorite: boolean;
@@ -4334,10 +4490,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4334
4490
  };
4335
4491
  })[];
4336
4492
  _output_out: ({
4493
+ name: string;
4337
4494
  id: string;
4338
4495
  createdAt: Date;
4339
4496
  deletedAt: Date | null;
4340
- name: string;
4341
4497
  updatedAt: Date;
4342
4498
  type: "FILE" | "FOLDER";
4343
4499
  isFavorite: boolean;
@@ -4396,10 +4552,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4396
4552
  type: "FILE" | "FOLDER";
4397
4553
  };
4398
4554
  _output_in: ({
4555
+ name: string;
4399
4556
  id: string;
4400
4557
  createdAt: Date;
4401
4558
  deletedAt: Date | null;
4402
- name: string;
4403
4559
  updatedAt: Date;
4404
4560
  type: "FILE" | "FOLDER";
4405
4561
  isFavorite: boolean;
@@ -4428,10 +4584,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4428
4584
  };
4429
4585
  })[];
4430
4586
  _output_out: ({
4587
+ name: string;
4431
4588
  id: string;
4432
4589
  createdAt: Date;
4433
4590
  deletedAt: Date | null;
4434
- name: string;
4435
4591
  updatedAt: Date;
4436
4592
  type: "FILE" | "FOLDER";
4437
4593
  isFavorite: boolean;
@@ -4486,10 +4642,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4486
4642
  _input_in: typeof _trpc_server.unsetMarker;
4487
4643
  _input_out: typeof _trpc_server.unsetMarker;
4488
4644
  _output_in: ({
4645
+ name: string;
4489
4646
  id: string;
4490
4647
  createdAt: Date;
4491
4648
  deletedAt: Date | null;
4492
- name: string;
4493
4649
  updatedAt: Date;
4494
4650
  type: "FILE" | "FOLDER";
4495
4651
  isFavorite: boolean;
@@ -4518,10 +4674,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4518
4674
  };
4519
4675
  })[];
4520
4676
  _output_out: ({
4677
+ name: string;
4521
4678
  id: string;
4522
4679
  createdAt: Date;
4523
4680
  deletedAt: Date | null;
4524
- name: string;
4525
4681
  updatedAt: Date;
4526
4682
  type: "FILE" | "FOLDER";
4527
4683
  isFavorite: boolean;
@@ -4702,22 +4858,22 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4702
4858
  _meta: object;
4703
4859
  _ctx_out: {};
4704
4860
  _input_in: {
4861
+ name: string | null;
4705
4862
  id: string;
4706
4863
  deletedAt: Date | null;
4707
- name: string | null;
4708
4864
  isFavorite: boolean | null;
4709
4865
  };
4710
4866
  _input_out: {
4867
+ name: string | null;
4711
4868
  id: string;
4712
4869
  deletedAt: Date | null;
4713
- name: string | null;
4714
4870
  isFavorite: boolean | null;
4715
4871
  };
4716
4872
  _output_in: {
4873
+ name: string;
4717
4874
  id: string;
4718
4875
  createdAt: Date;
4719
4876
  deletedAt: Date | null;
4720
- name: string;
4721
4877
  updatedAt: Date;
4722
4878
  type: "FILE" | "FOLDER";
4723
4879
  isFavorite: boolean;
@@ -4783,10 +4939,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4783
4939
  };
4784
4940
  }[];
4785
4941
  parent: ({
4942
+ name: string;
4786
4943
  id: string;
4787
4944
  createdAt: Date;
4788
4945
  deletedAt: Date | null;
4789
- name: string;
4790
4946
  updatedAt: Date;
4791
4947
  type: "FILE" | "FOLDER";
4792
4948
  isFavorite: boolean;
@@ -4815,10 +4971,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4815
4971
  };
4816
4972
  }) | null;
4817
4973
  children: ({
4974
+ name: string;
4818
4975
  id: string;
4819
4976
  createdAt: Date;
4820
4977
  deletedAt: Date | null;
4821
- name: string;
4822
4978
  updatedAt: Date;
4823
4979
  type: "FILE" | "FOLDER";
4824
4980
  isFavorite: boolean;
@@ -4852,17 +5008,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4852
5008
  };
4853
5009
  })[];
4854
5010
  breadcrumb: {
4855
- id: string;
4856
5011
  name: string;
5012
+ id: string;
4857
5013
  nameKey: string | null;
4858
5014
  pubKey: string;
4859
5015
  }[];
4860
5016
  };
4861
5017
  _output_out: {
5018
+ name: string;
4862
5019
  id: string;
4863
5020
  createdAt: Date;
4864
5021
  deletedAt: Date | null;
4865
- name: string;
4866
5022
  updatedAt: Date;
4867
5023
  type: "FILE" | "FOLDER";
4868
5024
  isFavorite: boolean;
@@ -4928,10 +5084,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4928
5084
  };
4929
5085
  }[];
4930
5086
  parent: ({
5087
+ name: string;
4931
5088
  id: string;
4932
5089
  createdAt: Date;
4933
5090
  deletedAt: Date | null;
4934
- name: string;
4935
5091
  updatedAt: Date;
4936
5092
  type: "FILE" | "FOLDER";
4937
5093
  isFavorite: boolean;
@@ -4960,10 +5116,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4960
5116
  };
4961
5117
  }) | null;
4962
5118
  children: ({
5119
+ name: string;
4963
5120
  id: string;
4964
5121
  createdAt: Date;
4965
5122
  deletedAt: Date | null;
4966
- name: string;
4967
5123
  updatedAt: Date;
4968
5124
  type: "FILE" | "FOLDER";
4969
5125
  isFavorite: boolean;
@@ -4997,8 +5153,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4997
5153
  };
4998
5154
  })[];
4999
5155
  breadcrumb: {
5000
- id: string;
5001
5156
  name: string;
5157
+ id: string;
5002
5158
  nameKey: string | null;
5003
5159
  pubKey: string;
5004
5160
  }[];
@@ -5366,7 +5522,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5366
5522
  transformer: typeof superjson.default;
5367
5523
  }>;
5368
5524
  _meta: object;
5369
- _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
+ };
5370
5536
  _input_in: {
5371
5537
  address: string;
5372
5538
  encryptedKeystore: string;
@@ -5376,14 +5542,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5376
5542
  encryptedKeystore: string;
5377
5543
  };
5378
5544
  _output_in: {
5379
- userId: string;
5380
5545
  createdAt: Date;
5546
+ userId: string;
5381
5547
  address: string;
5382
5548
  encryptedKeystore: string;
5383
5549
  } | null;
5384
5550
  _output_out: {
5385
- userId: string;
5386
5551
  createdAt: Date;
5552
+ userId: string;
5387
5553
  address: string;
5388
5554
  encryptedKeystore: string;
5389
5555
  } | null;
@@ -5410,7 +5576,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5410
5576
  transformer: typeof superjson.default;
5411
5577
  }>;
5412
5578
  _meta: object;
5413
- _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
+ };
5414
5590
  _input_in: {
5415
5591
  address: string;
5416
5592
  encryptedKeystore: string;
@@ -5564,18 +5740,28 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5564
5740
  transformer: typeof superjson.default;
5565
5741
  }>;
5566
5742
  _meta: object;
5567
- _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
+ };
5568
5754
  _input_in: typeof _trpc_server.unsetMarker;
5569
5755
  _input_out: typeof _trpc_server.unsetMarker;
5570
5756
  _output_in: {
5571
- userId: string;
5572
5757
  createdAt: Date;
5758
+ userId: string;
5573
5759
  address: string;
5574
5760
  encryptedKeystore: string;
5575
5761
  }[];
5576
5762
  _output_out: {
5577
- userId: string;
5578
5763
  createdAt: Date;
5764
+ userId: string;
5579
5765
  address: string;
5580
5766
  encryptedKeystore: string;
5581
5767
  }[];
@@ -5643,7 +5829,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5643
5829
  transformer: typeof superjson.default;
5644
5830
  }>;
5645
5831
  _meta: object;
5646
- _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
+ };
5647
5865
  _input_in: {
5648
5866
  appId?: string | undefined;
5649
5867
  } & {
@@ -5691,7 +5909,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5691
5909
  transformer: typeof superjson.default;
5692
5910
  }>;
5693
5911
  _meta: object;
5694
- _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
+ };
5695
5945
  _input_in: {
5696
5946
  appId?: string | undefined;
5697
5947
  } & {
@@ -5733,8 +5983,40 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5733
5983
  transformer: typeof superjson.default;
5734
5984
  }>;
5735
5985
  _meta: object;
5736
- _ctx_out: {};
5737
- _input_in: {
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
+ };
6019
+ _input_in: {
5738
6020
  appId?: string | undefined;
5739
6021
  } & {
5740
6022
  branchId: string;
@@ -5781,7 +6063,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5781
6063
  transformer: typeof superjson.default;
5782
6064
  }>;
5783
6065
  _meta: object;
5784
- _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
+ };
5785
6099
  _input_in: {
5786
6100
  appId?: string | undefined;
5787
6101
  } & {
@@ -5827,7 +6141,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5827
6141
  transformer: typeof superjson.default;
5828
6142
  }>;
5829
6143
  _meta: object;
5830
- _ctx_out: {};
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
+ };
5831
6177
  _input_in: {
5832
6178
  appId?: string | undefined;
5833
6179
  } & {
@@ -5890,7 +6236,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5890
6236
  transformer: typeof superjson.default;
5891
6237
  }>;
5892
6238
  _meta: object;
5893
- _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
+ };
5894
6272
  _input_in: {
5895
6273
  appId?: string | undefined;
5896
6274
  } & {
@@ -5932,7 +6310,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5932
6310
  transformer: typeof superjson.default;
5933
6311
  }>;
5934
6312
  _meta: object;
5935
- _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
+ };
5936
6346
  _input_in: {
5937
6347
  appId?: string | undefined;
5938
6348
  } & {};
@@ -5968,7 +6378,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5968
6378
  transformer: typeof superjson.default;
5969
6379
  }>;
5970
6380
  _meta: object;
5971
- _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
+ };
5972
6414
  _input_in: {
5973
6415
  appId?: string | undefined;
5974
6416
  } & {};
@@ -6004,7 +6446,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6004
6446
  transformer: typeof superjson.default;
6005
6447
  }>;
6006
6448
  _meta: object;
6007
- _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
+ };
6008
6482
  _input_in: {
6009
6483
  appId?: string | undefined;
6010
6484
  } & {
@@ -6064,7 +6538,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6064
6538
  transformer: typeof superjson.default;
6065
6539
  }>;
6066
6540
  _meta: object;
6067
- _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
+ };
6068
6574
  _input_in: {
6069
6575
  appId?: string | undefined;
6070
6576
  } & {
@@ -6136,7 +6642,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6136
6642
  transformer: typeof superjson.default;
6137
6643
  }>;
6138
6644
  _meta: object;
6139
- _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
+ };
6140
6678
  _input_in: {
6141
6679
  appId?: string | undefined;
6142
6680
  } & {};
@@ -6184,7 +6722,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6184
6722
  transformer: typeof superjson.default;
6185
6723
  }>;
6186
6724
  _meta: object;
6187
- _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
+ };
6188
6758
  _input_in: {
6189
6759
  appId?: string | undefined;
6190
6760
  } & {};
@@ -6192,12 +6762,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6192
6762
  appId?: string | undefined;
6193
6763
  } & {};
6194
6764
  _output_in: {
6195
- id: string;
6196
6765
  name: string;
6766
+ id: string;
6197
6767
  } & {
6198
6768
  createdAt: string;
6199
- ownerId: string;
6200
6769
  updatedAt: string;
6770
+ ownerId: string;
6201
6771
  activeTimeSeconds: number;
6202
6772
  computeTimeSeconds: number;
6203
6773
  writtenDataBytes: number;
@@ -6246,12 +6816,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6246
6816
  syntheticStorageSize?: number | undefined;
6247
6817
  };
6248
6818
  _output_out: {
6249
- id: string;
6250
6819
  name: string;
6820
+ id: string;
6251
6821
  } & {
6252
6822
  createdAt: string;
6253
- ownerId: string;
6254
6823
  updatedAt: string;
6824
+ ownerId: string;
6255
6825
  activeTimeSeconds: number;
6256
6826
  computeTimeSeconds: number;
6257
6827
  writtenDataBytes: number;
@@ -6322,7 +6892,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6322
6892
  transformer: typeof superjson.default;
6323
6893
  }>;
6324
6894
  _meta: object;
6325
- _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
+ };
6326
6928
  _input_in: {
6327
6929
  appId?: string | undefined;
6328
6930
  } & {};
@@ -6366,7 +6968,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6366
6968
  transformer: typeof superjson.default;
6367
6969
  }>;
6368
6970
  _meta: object;
6369
- _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
+ };
6370
7004
  _input_in: {
6371
7005
  appId?: string | undefined;
6372
7006
  } & {
@@ -6420,12 +7054,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6420
7054
  historyRetentionSeconds?: number | undefined;
6421
7055
  };
6422
7056
  _output_in: {
6423
- id: string;
6424
7057
  name: string;
7058
+ id: string;
6425
7059
  } & {
6426
7060
  createdAt: string;
6427
- ownerId: string;
6428
7061
  updatedAt: string;
7062
+ ownerId: string;
6429
7063
  activeTimeSeconds: number;
6430
7064
  computeTimeSeconds: number;
6431
7065
  writtenDataBytes: number;
@@ -6474,12 +7108,12 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6474
7108
  syntheticStorageSize?: number | undefined;
6475
7109
  };
6476
7110
  _output_out: {
6477
- id: string;
6478
7111
  name: string;
7112
+ id: string;
6479
7113
  } & {
6480
7114
  createdAt: string;
6481
- ownerId: string;
6482
7115
  updatedAt: string;
7116
+ ownerId: string;
6483
7117
  activeTimeSeconds: number;
6484
7118
  computeTimeSeconds: number;
6485
7119
  writtenDataBytes: number;
@@ -6571,7 +7205,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6571
7205
  transformer: typeof superjson.default;
6572
7206
  }>;
6573
7207
  _meta: object;
6574
- _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
+ };
6575
7241
  _input_in: {
6576
7242
  appId?: string | undefined;
6577
7243
  } & {
@@ -6585,15 +7251,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6585
7251
  parentId?: string | undefined;
6586
7252
  };
6587
7253
  _output_in: {
6588
- id: string;
6589
7254
  name: string;
7255
+ id: string;
6590
7256
  isPrimary: boolean;
6591
7257
  currentState: "init" | "ready";
6592
7258
  parentId?: string | undefined;
6593
7259
  };
6594
7260
  _output_out: {
6595
- id: string;
6596
7261
  name: string;
7262
+ id: string;
6597
7263
  isPrimary: boolean;
6598
7264
  currentState: "init" | "ready";
6599
7265
  parentId?: string | undefined;
@@ -6621,7 +7287,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6621
7287
  transformer: typeof superjson.default;
6622
7288
  }>;
6623
7289
  _meta: object;
6624
- _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
+ };
6625
7323
  _input_in: {
6626
7324
  appId?: string | undefined;
6627
7325
  } & {
@@ -6661,7 +7359,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6661
7359
  transformer: typeof superjson.default;
6662
7360
  }>;
6663
7361
  _meta: object;
6664
- _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
+ };
6665
7395
  _input_in: {
6666
7396
  appId?: string | undefined;
6667
7397
  } & {
@@ -6673,15 +7403,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6673
7403
  branchId: string;
6674
7404
  };
6675
7405
  _output_in: {
6676
- id: string;
6677
7406
  name: string;
7407
+ id: string;
6678
7408
  isPrimary: boolean;
6679
7409
  currentState: "init" | "ready";
6680
7410
  parentId?: string | undefined;
6681
7411
  };
6682
7412
  _output_out: {
6683
- id: string;
6684
7413
  name: string;
7414
+ id: string;
6685
7415
  isPrimary: boolean;
6686
7416
  currentState: "init" | "ready";
6687
7417
  parentId?: string | undefined;
@@ -6709,7 +7439,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6709
7439
  transformer: typeof superjson.default;
6710
7440
  }>;
6711
7441
  _meta: object;
6712
- _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
+ };
6713
7475
  _input_in: {
6714
7476
  appId?: string | undefined;
6715
7477
  } & {};
@@ -6717,15 +7479,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6717
7479
  appId?: string | undefined;
6718
7480
  } & {};
6719
7481
  _output_in: {
6720
- id: string;
6721
7482
  name: string;
7483
+ id: string;
6722
7484
  isPrimary: boolean;
6723
7485
  currentState: "init" | "ready";
6724
7486
  parentId?: string | undefined;
6725
7487
  }[];
6726
7488
  _output_out: {
6727
- id: string;
6728
7489
  name: string;
7490
+ id: string;
6729
7491
  isPrimary: boolean;
6730
7492
  currentState: "init" | "ready";
6731
7493
  parentId?: string | undefined;
@@ -6753,7 +7515,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6753
7515
  transformer: typeof superjson.default;
6754
7516
  }>;
6755
7517
  _meta: object;
6756
- _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
+ };
6757
7551
  _input_in: {
6758
7552
  appId?: string | undefined;
6759
7553
  } & {
@@ -6769,15 +7563,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6769
7563
  newProtectedState?: boolean | undefined;
6770
7564
  };
6771
7565
  _output_in: {
6772
- id: string;
6773
7566
  name: string;
7567
+ id: string;
6774
7568
  isPrimary: boolean;
6775
7569
  currentState: "init" | "ready";
6776
7570
  parentId?: string | undefined;
6777
7571
  };
6778
7572
  _output_out: {
6779
- id: string;
6780
7573
  name: string;
7574
+ id: string;
6781
7575
  isPrimary: boolean;
6782
7576
  currentState: "init" | "ready";
6783
7577
  parentId?: string | undefined;
@@ -6805,7 +7599,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6805
7599
  transformer: typeof superjson.default;
6806
7600
  }>;
6807
7601
  _meta: object;
6808
- _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
+ };
6809
7635
  _input_in: {
6810
7636
  appId?: string | undefined;
6811
7637
  } & {
@@ -6849,7 +7675,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6849
7675
  transformer: typeof superjson.default;
6850
7676
  }>;
6851
7677
  _meta: object;
6852
- _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
+ };
6853
7711
  _input_in: {
6854
7712
  appId?: string | undefined;
6855
7713
  } & {
@@ -6861,15 +7719,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6861
7719
  branchId: string;
6862
7720
  };
6863
7721
  _output_in: {
6864
- id: string;
6865
7722
  name: string;
7723
+ id: string;
6866
7724
  isPrimary: boolean;
6867
7725
  currentState: "init" | "ready";
6868
7726
  parentId?: string | undefined;
6869
7727
  };
6870
7728
  _output_out: {
6871
- id: string;
6872
7729
  name: string;
7730
+ id: string;
6873
7731
  isPrimary: boolean;
6874
7732
  currentState: "init" | "ready";
6875
7733
  parentId?: string | undefined;
@@ -6897,7 +7755,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6897
7755
  transformer: typeof superjson.default;
6898
7756
  }>;
6899
7757
  _meta: object;
6900
- _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
+ };
6901
7791
  _input_in: {
6902
7792
  appId?: string | undefined;
6903
7793
  } & {
@@ -6911,15 +7801,15 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6911
7801
  fromBranchId: string;
6912
7802
  };
6913
7803
  _output_in: {
6914
- id: string;
6915
7804
  name: string;
7805
+ id: string;
6916
7806
  isPrimary: boolean;
6917
7807
  currentState: "init" | "ready";
6918
7808
  parentId?: string | undefined;
6919
7809
  };
6920
7810
  _output_out: {
6921
- id: string;
6922
7811
  name: string;
7812
+ id: string;
6923
7813
  isPrimary: boolean;
6924
7814
  currentState: "init" | "ready";
6925
7815
  parentId?: string | undefined;
@@ -6947,7 +7837,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6947
7837
  transformer: typeof superjson.default;
6948
7838
  }>;
6949
7839
  _meta: object;
6950
- _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
+ };
6951
7873
  _input_in: {
6952
7874
  appId?: string | undefined;
6953
7875
  } & {
@@ -7016,7 +7938,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7016
7938
  transformer: typeof superjson.default;
7017
7939
  }>;
7018
7940
  _meta: object;
7019
- _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
+ };
7020
7974
  _input_in: {
7021
7975
  appId?: string | undefined;
7022
7976
  } & {
@@ -7030,14 +7984,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7030
7984
  branchId: string;
7031
7985
  };
7032
7986
  _output_in: {
7033
- id: number;
7034
7987
  name: string;
7988
+ id: number;
7035
7989
  branchId: string;
7036
7990
  ownerName: string;
7037
7991
  };
7038
7992
  _output_out: {
7039
- id: number;
7040
7993
  name: string;
7994
+ id: number;
7041
7995
  branchId: string;
7042
7996
  ownerName: string;
7043
7997
  };
@@ -7064,7 +8018,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7064
8018
  transformer: typeof superjson.default;
7065
8019
  }>;
7066
8020
  _meta: object;
7067
- _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
+ };
7068
8054
  _input_in: {
7069
8055
  appId?: string | undefined;
7070
8056
  } & {
@@ -7106,7 +8092,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7106
8092
  transformer: typeof superjson.default;
7107
8093
  }>;
7108
8094
  _meta: object;
7109
- _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
+ };
7110
8128
  _input_in: {
7111
8129
  appId?: string | undefined;
7112
8130
  } & {
@@ -7120,14 +8138,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7120
8138
  databaseName: string;
7121
8139
  };
7122
8140
  _output_in: {
7123
- id: number;
7124
8141
  name: string;
8142
+ id: number;
7125
8143
  branchId: string;
7126
8144
  ownerName: string;
7127
8145
  };
7128
8146
  _output_out: {
7129
- id: number;
7130
8147
  name: string;
8148
+ id: number;
7131
8149
  branchId: string;
7132
8150
  ownerName: string;
7133
8151
  };
@@ -7154,7 +8172,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7154
8172
  transformer: typeof superjson.default;
7155
8173
  }>;
7156
8174
  _meta: object;
7157
- _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
+ };
7158
8208
  _input_in: {
7159
8209
  appId?: string | undefined;
7160
8210
  } & {
@@ -7166,14 +8216,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7166
8216
  branchId: string;
7167
8217
  };
7168
8218
  _output_in: {
7169
- id: number;
7170
8219
  name: string;
8220
+ id: number;
7171
8221
  branchId: string;
7172
8222
  ownerName: string;
7173
8223
  }[];
7174
8224
  _output_out: {
7175
- id: number;
7176
8225
  name: string;
8226
+ id: number;
7177
8227
  branchId: string;
7178
8228
  ownerName: string;
7179
8229
  }[];
@@ -7200,7 +8250,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7200
8250
  transformer: typeof superjson.default;
7201
8251
  }>;
7202
8252
  _meta: object;
7203
- _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
+ };
7204
8286
  _input_in: {
7205
8287
  appId?: string | undefined;
7206
8288
  } & {
@@ -7218,14 +8300,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7218
8300
  newOwnerName?: string | undefined;
7219
8301
  };
7220
8302
  _output_in: {
7221
- id: number;
7222
8303
  name: string;
8304
+ id: number;
7223
8305
  branchId: string;
7224
8306
  ownerName: string;
7225
8307
  };
7226
8308
  _output_out: {
7227
- id: number;
7228
8309
  name: string;
8310
+ id: number;
7229
8311
  branchId: string;
7230
8312
  ownerName: string;
7231
8313
  };
@@ -7273,7 +8355,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7273
8355
  transformer: typeof superjson.default;
7274
8356
  }>;
7275
8357
  _meta: object;
7276
- _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
+ };
7277
8391
  _input_in: {
7278
8392
  appId?: string | undefined;
7279
8393
  } & {
@@ -7357,7 +8471,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7357
8471
  transformer: typeof superjson.default;
7358
8472
  }>;
7359
8473
  _meta: object;
7360
- _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
+ };
7361
8507
  _input_in: {
7362
8508
  appId?: string | undefined;
7363
8509
  } & {
@@ -7397,7 +8543,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7397
8543
  transformer: typeof superjson.default;
7398
8544
  }>;
7399
8545
  _meta: object;
7400
- _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
+ };
7401
8579
  _input_in: {
7402
8580
  appId?: string | undefined;
7403
8581
  } & {
@@ -7475,7 +8653,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7475
8653
  transformer: typeof superjson.default;
7476
8654
  }>;
7477
8655
  _meta: object;
7478
- _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
+ };
7479
8689
  _input_in: {
7480
8690
  appId?: string | undefined;
7481
8691
  } & {
@@ -7553,7 +8763,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7553
8763
  transformer: typeof superjson.default;
7554
8764
  }>;
7555
8765
  _meta: object;
7556
- _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
+ };
7557
8799
  _input_in: {
7558
8800
  appId?: string | undefined;
7559
8801
  } & {};
@@ -7627,7 +8869,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7627
8869
  transformer: typeof superjson.default;
7628
8870
  }>;
7629
8871
  _meta: object;
7630
- _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
+ };
7631
8905
  _input_in: {
7632
8906
  appId?: string | undefined;
7633
8907
  } & {
@@ -7705,7 +8979,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7705
8979
  transformer: typeof superjson.default;
7706
8980
  }>;
7707
8981
  _meta: object;
7708
- _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
+ };
7709
9015
  _input_in: {
7710
9016
  appId?: string | undefined;
7711
9017
  } & {
@@ -7783,7 +9089,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7783
9089
  transformer: typeof superjson.default;
7784
9090
  }>;
7785
9091
  _meta: object;
7786
- _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
+ };
7787
9125
  _input_in: {
7788
9126
  appId?: string | undefined;
7789
9127
  } & {
@@ -7861,7 +9199,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
7861
9199
  transformer: typeof superjson.default;
7862
9200
  }>;
7863
9201
  _meta: object;
7864
- _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
+ };
7865
9235
  _input_in: {
7866
9236
  appId?: string | undefined;
7867
9237
  } & {
@@ -8191,8 +9561,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8191
9561
  } & {
8192
9562
  recipients: string[];
8193
9563
  senderFiles: {
8194
- id: string;
8195
9564
  name: string;
9565
+ id: string;
8196
9566
  }[];
8197
9567
  };
8198
9568
  _input_out: {
@@ -8205,8 +9575,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8205
9575
  } & {
8206
9576
  recipients: string[];
8207
9577
  senderFiles: {
8208
- id: string;
8209
9578
  name: string;
9579
+ id: string;
8210
9580
  }[];
8211
9581
  };
8212
9582
  _output_in: {
@@ -8990,7 +10360,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
8990
10360
  transformer: typeof superjson.default;
8991
10361
  }>;
8992
10362
  _meta: object;
8993
- _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
+ };
8994
10396
  _input_in: {
8995
10397
  subject: string;
8996
10398
  html: string;
@@ -9101,8 +10503,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9101
10503
  } & {
9102
10504
  recipientId: string;
9103
10505
  attachments: {
9104
- id: string;
9105
10506
  name: string;
10507
+ id: string;
9106
10508
  key: string | null;
9107
10509
  }[];
9108
10510
  };
@@ -9115,8 +10517,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9115
10517
  } & {
9116
10518
  recipientId: string;
9117
10519
  attachments: {
9118
- id: string;
9119
10520
  name: string;
10521
+ id: string;
9120
10522
  key: string | null;
9121
10523
  }[];
9122
10524
  };
@@ -9367,8 +10769,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9367
10769
  replyToId: string | null;
9368
10770
  recipients: string[] | null;
9369
10771
  senderFiles: {
9370
- id: string;
9371
10772
  name: string;
10773
+ id: string;
9372
10774
  }[] | null;
9373
10775
  };
9374
10776
  _input_out: {
@@ -9381,8 +10783,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9381
10783
  replyToId: string | null;
9382
10784
  recipients: string[] | null;
9383
10785
  senderFiles: {
9384
- id: string;
9385
10786
  name: string;
10787
+ id: string;
9386
10788
  }[] | null;
9387
10789
  };
9388
10790
  _output_in: {
@@ -9626,17 +11028,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
9626
11028
  };
9627
11029
  _output_in: {
9628
11030
  email: string;
9629
- accountInfosId: string | null;
9630
11031
  id: string;
9631
11032
  createdAt: Date;
9632
11033
  isPrimary: boolean;
11034
+ accountInfosId: string | null;
9633
11035
  };
9634
11036
  _output_out: {
9635
11037
  email: string;
9636
- accountInfosId: string | null;
9637
11038
  id: string;
9638
11039
  createdAt: Date;
9639
11040
  isPrimary: boolean;
11041
+ accountInfosId: string | null;
9640
11042
  };
9641
11043
  }, unknown>;
9642
11044
  createFeedback: _trpc_server.BuildProcedure<"mutation", {
@@ -10076,14 +11478,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10076
11478
  message?: string | undefined;
10077
11479
  };
10078
11480
  _output_in: {
10079
- userId: string;
10080
11481
  id: string;
11482
+ userId: string;
10081
11483
  customMessage: string | null;
10082
11484
  reportedUserId: string;
10083
11485
  };
10084
11486
  _output_out: {
10085
- userId: string;
10086
11487
  id: string;
11488
+ userId: string;
10087
11489
  customMessage: string | null;
10088
11490
  reportedUserId: string;
10089
11491
  };
@@ -10256,7 +11658,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10256
11658
  transformer: typeof superjson.default;
10257
11659
  }>;
10258
11660
  _meta: object;
10259
- _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
+ };
10260
11672
  _input_in: {
10261
11673
  paymentIntentId: string;
10262
11674
  sellerId: string;
@@ -10296,7 +11708,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10296
11708
  transformer: typeof superjson.default;
10297
11709
  }>;
10298
11710
  _meta: object;
10299
- _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
+ };
10300
11722
  _input_in: {};
10301
11723
  _input_out: {};
10302
11724
  _output_in: Record<string, any>;
@@ -10324,7 +11746,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10324
11746
  transformer: typeof superjson.default;
10325
11747
  }>;
10326
11748
  _meta: object;
10327
- _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
+ };
10328
11760
  _input_in: {};
10329
11761
  _input_out: {};
10330
11762
  _output_in: Record<string, any>;
@@ -10352,7 +11784,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10352
11784
  transformer: typeof superjson.default;
10353
11785
  }>;
10354
11786
  _meta: object;
10355
- _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
+ };
10356
11798
  _input_in: {
10357
11799
  paymentIntentId: string;
10358
11800
  sellerId: string;
@@ -10390,7 +11832,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10390
11832
  transformer: typeof superjson.default;
10391
11833
  }>;
10392
11834
  _meta: object;
10393
- _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
+ };
10394
11846
  _input_in: {
10395
11847
  payoutId: string;
10396
11848
  };
@@ -10426,7 +11878,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10426
11878
  transformer: typeof superjson.default;
10427
11879
  }>;
10428
11880
  _meta: object;
10429
- _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
+ };
10430
11892
  _input_in: {};
10431
11893
  _input_out: {};
10432
11894
  _output_in: Record<string, any>;
@@ -10454,7 +11916,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10454
11916
  transformer: typeof superjson.default;
10455
11917
  }>;
10456
11918
  _meta: object;
10457
- _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
+ };
10458
11930
  _input_in: {
10459
11931
  paymentIntentId: string;
10460
11932
  sellerId: string;
@@ -10492,7 +11964,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10492
11964
  transformer: typeof superjson.default;
10493
11965
  }>;
10494
11966
  _meta: object;
10495
- _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
+ };
10496
11978
  _input_in: {
10497
11979
  cardTokenId: string;
10498
11980
  lastFourDigit: string;
@@ -10530,7 +12012,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10530
12012
  transformer: typeof superjson.default;
10531
12013
  }>;
10532
12014
  _meta: object;
10533
- _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
+ };
10534
12026
  _input_in: {
10535
12027
  userId: string;
10536
12028
  amount: number;
@@ -10570,7 +12062,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10570
12062
  transformer: typeof superjson.default;
10571
12063
  }>;
10572
12064
  _meta: object;
10573
- _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
+ };
10574
12076
  _input_in: {
10575
12077
  amount: number;
10576
12078
  currency: string;
@@ -10610,7 +12112,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10610
12112
  transformer: typeof superjson.default;
10611
12113
  }>;
10612
12114
  _meta: object;
10613
- _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
+ };
10614
12126
  _input_in: {
10615
12127
  amount: number;
10616
12128
  currency: string;
@@ -10650,7 +12162,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10650
12162
  transformer: typeof superjson.default;
10651
12163
  }>;
10652
12164
  _meta: object;
10653
- _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
+ };
10654
12176
  _input_in: {
10655
12177
  cardTokenId: string;
10656
12178
  };
@@ -10718,7 +12240,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10718
12240
  transformer: typeof superjson.default;
10719
12241
  }>;
10720
12242
  _meta: object;
10721
- _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
+ };
10722
12254
  _input_in: {};
10723
12255
  _input_out: {};
10724
12256
  _output_in: {
@@ -10750,7 +12282,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10750
12282
  transformer: typeof superjson.default;
10751
12283
  }>;
10752
12284
  _meta: object;
10753
- _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
+ };
10754
12318
  _input_in: {
10755
12319
  appId: string;
10756
12320
  invoiceId: string;
@@ -10821,10 +12385,42 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10821
12385
  message: string;
10822
12386
  code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
10823
12387
  };
10824
- transformer: typeof superjson.default;
10825
- }>;
10826
- _meta: object;
10827
- _ctx_out: {};
12388
+ transformer: typeof superjson.default;
12389
+ }>;
12390
+ _meta: object;
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
+ };
10828
12424
  _input_in: {
10829
12425
  appId: string;
10830
12426
  };
@@ -10896,7 +12492,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10896
12492
  transformer: typeof superjson.default;
10897
12493
  }>;
10898
12494
  _meta: object;
10899
- _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
+ };
10900
12506
  _input_in: {
10901
12507
  userId: string;
10902
12508
  amount: number;
@@ -10938,7 +12544,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10938
12544
  transformer: typeof superjson.default;
10939
12545
  }>;
10940
12546
  _meta: object;
10941
- _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
+ };
10942
12558
  _input_in: {};
10943
12559
  _input_out: {};
10944
12560
  _output_in: {
@@ -10970,7 +12586,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10970
12586
  transformer: typeof superjson.default;
10971
12587
  }>;
10972
12588
  _meta: object;
10973
- _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
+ };
10974
12600
  _input_in: {};
10975
12601
  _input_out: {};
10976
12602
  _output_in: {
@@ -11002,7 +12628,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11002
12628
  transformer: typeof superjson.default;
11003
12629
  }>;
11004
12630
  _meta: object;
11005
- _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
+ };
11006
12642
  _input_in: {
11007
12643
  paymentRequestId: string;
11008
12644
  };
@@ -11034,7 +12670,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11034
12670
  transformer: typeof superjson.default;
11035
12671
  }>;
11036
12672
  _meta: object;
11037
- _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
+ };
11038
12684
  _input_in: {};
11039
12685
  _input_out: {};
11040
12686
  _output_in: Record<string, unknown>[];
@@ -11062,7 +12708,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11062
12708
  transformer: typeof superjson.default;
11063
12709
  }>;
11064
12710
  _meta: object;
11065
- _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
+ };
11066
12722
  _input_in: {
11067
12723
  sellerId: string;
11068
12724
  paymentRequestId: string;
@@ -11096,7 +12752,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11096
12752
  transformer: typeof superjson.default;
11097
12753
  }>;
11098
12754
  _meta: object;
11099
- _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
+ };
11100
12766
  _input_in: {};
11101
12767
  _input_out: {};
11102
12768
  _output_in: Record<string, unknown>[];
@@ -11124,7 +12790,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11124
12790
  transformer: typeof superjson.default;
11125
12791
  }>;
11126
12792
  _meta: object;
11127
- _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
+ };
11128
12804
  _input_in: {
11129
12805
  payoutId: string;
11130
12806
  };
@@ -11156,7 +12832,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11156
12832
  transformer: typeof superjson.default;
11157
12833
  }>;
11158
12834
  _meta: object;
11159
- _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
+ };
11160
12846
  _input_in: {};
11161
12847
  _input_out: {};
11162
12848
  _output_in: Record<string, any>;
@@ -11184,7 +12870,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11184
12870
  transformer: typeof superjson.default;
11185
12871
  }>;
11186
12872
  _meta: object;
11187
- _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
+ };
11188
12884
  _input_in: {
11189
12885
  transactionId: string;
11190
12886
  };
@@ -11216,7 +12912,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11216
12912
  transformer: typeof superjson.default;
11217
12913
  }>;
11218
12914
  _meta: object;
11219
- _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
+ };
11220
12926
  _input_in: {
11221
12927
  transferId: string;
11222
12928
  };
@@ -11248,7 +12954,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11248
12954
  transformer: typeof superjson.default;
11249
12955
  }>;
11250
12956
  _meta: object;
11251
- _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
+ };
11252
12968
  _input_in: {};
11253
12969
  _input_out: {};
11254
12970
  _output_in: Record<string, any>;
@@ -11297,16 +13013,48 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11297
13013
  transformer: typeof superjson.default;
11298
13014
  }>;
11299
13015
  _meta: object;
11300
- _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
+ };
11301
13049
  _input_in: {
11302
- appId: string;
11303
13050
  userId: string;
11304
13051
  role: "developer" | "admin";
13052
+ appId: string;
11305
13053
  };
11306
13054
  _input_out: {
11307
- appId: string;
11308
13055
  userId: string;
11309
13056
  role: "developer" | "admin";
13057
+ appId: string;
11310
13058
  };
11311
13059
  _output_in: {
11312
13060
  isAdded: boolean;
@@ -11337,7 +13085,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11337
13085
  transformer: typeof superjson.default;
11338
13086
  }>;
11339
13087
  _meta: object;
11340
- _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
+ };
11341
13121
  _input_in: {
11342
13122
  appId: string;
11343
13123
  };
@@ -11346,46 +13126,59 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11346
13126
  };
11347
13127
  _output_in: {
11348
13128
  plan: {
11349
- id: string;
11350
13129
  name: string;
13130
+ id: string;
11351
13131
  isCustomPlan?: boolean | undefined;
11352
13132
  canHaveDatabase?: boolean | undefined;
11353
13133
  } & {
11354
- descriptor: {
13134
+ quotas: {
13135
+ users: bigint | null;
13136
+ totalStorageSize: bigint | null;
13137
+ devs: bigint | null;
11355
13138
  devsBase: bigint | null;
11356
13139
  devsUnit: bigint | null;
11357
13140
  devsPrice: number | null;
11358
13141
  usersBase: bigint | null;
11359
13142
  usersUnit: bigint | null;
11360
13143
  usersPrice: number | null;
13144
+ perDataSize: bigint | null;
11361
13145
  perDataSizeBase: bigint | null;
11362
13146
  perDataSizeUnit: bigint | null;
11363
13147
  perDataSizePrice: number | null;
13148
+ bandwidth: bigint | null;
11364
13149
  bandwidthBase: bigint | null;
11365
13150
  bandwidthUnit: bigint | null;
11366
13151
  bandwidthPrice: number | null;
11367
13152
  totalStorageSizeBase: bigint | null;
11368
13153
  totalStorageSizeUnit: bigint | null;
11369
13154
  totalStorageSizePrice: number | null;
11370
- devsMax: bigint | null;
11371
- usersMax: bigint | null;
11372
- perDataSizeMax: bigint | null;
11373
- bandwidthMax: bigint | null;
11374
- totalStorageSizeMax: bigint | null;
13155
+ baseQuotasId: string;
13156
+ } & {
13157
+ baseQuotas: {
13158
+ uploadCount: bigint | null;
13159
+ downloadCount: bigint | null;
13160
+ totalDataCount: bigint | null;
13161
+ totalStorageSize: bigint | null;
13162
+ perDataSize: bigint | null;
13163
+ downloadBandwidth: bigint | null;
13164
+ uploadBandwidth: bigint | null;
13165
+ receivedMailsId: string;
13166
+ sentMailsId: string;
13167
+ };
11375
13168
  };
11376
13169
  };
13170
+ name: string;
11377
13171
  id: string;
11378
13172
  createdAt: Date;
13173
+ updatedAt: Date;
13174
+ quotasId: string;
11379
13175
  ownerId: string;
11380
13176
  blocked: boolean;
11381
- name: string;
11382
13177
  color: string | null;
11383
13178
  logo: string | null;
11384
- updatedAt: Date;
11385
13179
  origin: string[];
11386
13180
  planId: string | null;
11387
13181
  lastMetricsReset: Date;
11388
- quotasId: string;
11389
13182
  owner: {
11390
13183
  user: {
11391
13184
  id: string;
@@ -11404,46 +13197,59 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11404
13197
  };
11405
13198
  _output_out: {
11406
13199
  plan: {
11407
- id: string;
11408
13200
  name: string;
13201
+ id: string;
11409
13202
  isCustomPlan: boolean;
11410
13203
  canHaveDatabase: boolean;
11411
13204
  } & {
11412
- descriptor: {
13205
+ quotas: {
13206
+ users: bigint | null;
13207
+ totalStorageSize: bigint | null;
13208
+ devs: bigint | null;
11413
13209
  devsBase: bigint | null;
11414
13210
  devsUnit: bigint | null;
11415
13211
  devsPrice: number | null;
11416
13212
  usersBase: bigint | null;
11417
13213
  usersUnit: bigint | null;
11418
13214
  usersPrice: number | null;
13215
+ perDataSize: bigint | null;
11419
13216
  perDataSizeBase: bigint | null;
11420
13217
  perDataSizeUnit: bigint | null;
11421
13218
  perDataSizePrice: number | null;
13219
+ bandwidth: bigint | null;
11422
13220
  bandwidthBase: bigint | null;
11423
13221
  bandwidthUnit: bigint | null;
11424
13222
  bandwidthPrice: number | null;
11425
13223
  totalStorageSizeBase: bigint | null;
11426
13224
  totalStorageSizeUnit: bigint | null;
11427
13225
  totalStorageSizePrice: number | null;
11428
- devsMax: bigint | null;
11429
- usersMax: bigint | null;
11430
- perDataSizeMax: bigint | null;
11431
- bandwidthMax: bigint | null;
11432
- totalStorageSizeMax: bigint | null;
13226
+ baseQuotasId: string;
13227
+ } & {
13228
+ baseQuotas: {
13229
+ uploadCount: bigint | null;
13230
+ downloadCount: bigint | null;
13231
+ totalDataCount: bigint | null;
13232
+ totalStorageSize: bigint | null;
13233
+ perDataSize: bigint | null;
13234
+ downloadBandwidth: bigint | null;
13235
+ uploadBandwidth: bigint | null;
13236
+ receivedMailsId: string;
13237
+ sentMailsId: string;
13238
+ };
11433
13239
  };
11434
13240
  };
13241
+ name: string;
11435
13242
  id: string;
11436
13243
  createdAt: Date;
13244
+ updatedAt: Date;
13245
+ quotasId: string;
11437
13246
  ownerId: string;
11438
13247
  blocked: boolean;
11439
- name: string;
11440
13248
  color: string | null;
11441
13249
  logo: string | null;
11442
- updatedAt: Date;
11443
13250
  origin: string[];
11444
13251
  planId: string | null;
11445
13252
  lastMetricsReset: Date;
11446
- quotasId: string;
11447
13253
  owner: {
11448
13254
  user: {
11449
13255
  id: string;
@@ -11485,53 +13291,66 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11485
13291
  _meta: object;
11486
13292
  _ctx_out: {};
11487
13293
  _input_in: {
11488
- sortBy: "users" | "updatedAt" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
13294
+ sortBy: "updatedAt" | "users" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
11489
13295
  };
11490
13296
  _input_out: {
11491
- sortBy: "users" | "updatedAt" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
13297
+ sortBy: "updatedAt" | "users" | "updatedAt_desc" | "updatedAt_asc" | "users_desc" | "users_asc";
11492
13298
  };
11493
13299
  _output_in: {
11494
13300
  plan: {
11495
- id: string;
11496
13301
  name: string;
13302
+ id: string;
11497
13303
  isCustomPlan?: boolean | undefined;
11498
13304
  canHaveDatabase?: boolean | undefined;
11499
13305
  } & {
11500
- descriptor: {
13306
+ quotas: {
13307
+ users: bigint | null;
13308
+ totalStorageSize: bigint | null;
13309
+ devs: bigint | null;
11501
13310
  devsBase: bigint | null;
11502
13311
  devsUnit: bigint | null;
11503
13312
  devsPrice: number | null;
11504
13313
  usersBase: bigint | null;
11505
13314
  usersUnit: bigint | null;
11506
13315
  usersPrice: number | null;
13316
+ perDataSize: bigint | null;
11507
13317
  perDataSizeBase: bigint | null;
11508
13318
  perDataSizeUnit: bigint | null;
11509
13319
  perDataSizePrice: number | null;
13320
+ bandwidth: bigint | null;
11510
13321
  bandwidthBase: bigint | null;
11511
13322
  bandwidthUnit: bigint | null;
11512
13323
  bandwidthPrice: number | null;
11513
13324
  totalStorageSizeBase: bigint | null;
11514
13325
  totalStorageSizeUnit: bigint | null;
11515
13326
  totalStorageSizePrice: number | null;
11516
- devsMax: bigint | null;
11517
- usersMax: bigint | null;
11518
- perDataSizeMax: bigint | null;
11519
- bandwidthMax: bigint | null;
11520
- totalStorageSizeMax: bigint | null;
13327
+ baseQuotasId: string;
13328
+ } & {
13329
+ baseQuotas: {
13330
+ uploadCount: bigint | null;
13331
+ downloadCount: bigint | null;
13332
+ totalDataCount: bigint | null;
13333
+ totalStorageSize: bigint | null;
13334
+ perDataSize: bigint | null;
13335
+ downloadBandwidth: bigint | null;
13336
+ uploadBandwidth: bigint | null;
13337
+ receivedMailsId: string;
13338
+ sentMailsId: string;
13339
+ };
11521
13340
  };
11522
13341
  };
13342
+ name: string;
11523
13343
  id: string;
11524
13344
  createdAt: Date;
13345
+ updatedAt: Date;
13346
+ quotasId: string;
11525
13347
  ownerId: string;
11526
13348
  blocked: boolean;
11527
- name: string;
11528
13349
  color: string | null;
11529
13350
  logo: string | null;
11530
- updatedAt: Date;
11531
13351
  origin: string[];
11532
13352
  planId: string | null;
11533
13353
  lastMetricsReset: Date;
11534
- quotasId: string;
11535
13354
  owner: {
11536
13355
  user: {
11537
13356
  id: string;
@@ -11550,46 +13369,59 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11550
13369
  }[];
11551
13370
  _output_out: {
11552
13371
  plan: {
11553
- id: string;
11554
13372
  name: string;
13373
+ id: string;
11555
13374
  isCustomPlan: boolean;
11556
13375
  canHaveDatabase: boolean;
11557
13376
  } & {
11558
- descriptor: {
13377
+ quotas: {
13378
+ users: bigint | null;
13379
+ totalStorageSize: bigint | null;
13380
+ devs: bigint | null;
11559
13381
  devsBase: bigint | null;
11560
13382
  devsUnit: bigint | null;
11561
13383
  devsPrice: number | null;
11562
13384
  usersBase: bigint | null;
11563
13385
  usersUnit: bigint | null;
11564
13386
  usersPrice: number | null;
13387
+ perDataSize: bigint | null;
11565
13388
  perDataSizeBase: bigint | null;
11566
13389
  perDataSizeUnit: bigint | null;
11567
13390
  perDataSizePrice: number | null;
13391
+ bandwidth: bigint | null;
11568
13392
  bandwidthBase: bigint | null;
11569
13393
  bandwidthUnit: bigint | null;
11570
13394
  bandwidthPrice: number | null;
11571
13395
  totalStorageSizeBase: bigint | null;
11572
13396
  totalStorageSizeUnit: bigint | null;
11573
13397
  totalStorageSizePrice: number | null;
11574
- devsMax: bigint | null;
11575
- usersMax: bigint | null;
11576
- perDataSizeMax: bigint | null;
11577
- bandwidthMax: bigint | null;
11578
- totalStorageSizeMax: bigint | null;
13398
+ baseQuotasId: string;
13399
+ } & {
13400
+ baseQuotas: {
13401
+ uploadCount: bigint | null;
13402
+ downloadCount: bigint | null;
13403
+ totalDataCount: bigint | null;
13404
+ totalStorageSize: bigint | null;
13405
+ perDataSize: bigint | null;
13406
+ downloadBandwidth: bigint | null;
13407
+ uploadBandwidth: bigint | null;
13408
+ receivedMailsId: string;
13409
+ sentMailsId: string;
13410
+ };
11579
13411
  };
11580
13412
  };
13413
+ name: string;
11581
13414
  id: string;
11582
13415
  createdAt: Date;
13416
+ updatedAt: Date;
13417
+ quotasId: string;
11583
13418
  ownerId: string;
11584
13419
  blocked: boolean;
11585
- name: string;
11586
13420
  color: string | null;
11587
13421
  logo: string | null;
11588
- updatedAt: Date;
11589
13422
  origin: string[];
11590
13423
  planId: string | null;
11591
13424
  lastMetricsReset: Date;
11592
- quotasId: string;
11593
13425
  owner: {
11594
13426
  user: {
11595
13427
  id: string;
@@ -11679,7 +13511,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11679
13511
  transformer: typeof superjson.default;
11680
13512
  }>;
11681
13513
  _meta: object;
11682
- _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
+ };
11683
13547
  _input_in: {
11684
13548
  appId: string;
11685
13549
  };
@@ -11715,7 +13579,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11715
13579
  transformer: typeof superjson.default;
11716
13580
  }>;
11717
13581
  _meta: object;
11718
- _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
+ };
11719
13615
  _input_in: {
11720
13616
  appId: string;
11721
13617
  developerId: string;
@@ -11753,7 +13649,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11753
13649
  transformer: typeof superjson.default;
11754
13650
  }>;
11755
13651
  _meta: object;
11756
- _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
+ };
11757
13685
  _input_in: {
11758
13686
  appId: string;
11759
13687
  developerId: string;
@@ -11773,10 +13701,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11773
13701
  infos: {
11774
13702
  emails: {
11775
13703
  email: string;
11776
- accountInfosId: string | null;
11777
13704
  id: string;
11778
13705
  createdAt: Date;
11779
13706
  isPrimary: boolean;
13707
+ accountInfosId: string | null;
11780
13708
  }[];
11781
13709
  };
11782
13710
  };
@@ -11797,10 +13725,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11797
13725
  infos: {
11798
13726
  emails: {
11799
13727
  email: string;
11800
- accountInfosId: string | null;
11801
13728
  id: string;
11802
13729
  createdAt: Date;
11803
13730
  isPrimary: boolean;
13731
+ accountInfosId: string | null;
11804
13732
  }[];
11805
13733
  };
11806
13734
  };
@@ -11833,7 +13761,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11833
13761
  transformer: typeof superjson.default;
11834
13762
  }>;
11835
13763
  _meta: object;
11836
- _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
+ };
11837
13797
  _input_in: {
11838
13798
  appId: string;
11839
13799
  };
@@ -11851,10 +13811,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11851
13811
  infos: {
11852
13812
  emails: {
11853
13813
  email: string;
11854
- accountInfosId: string | null;
11855
13814
  id: string;
11856
13815
  createdAt: Date;
11857
13816
  isPrimary: boolean;
13817
+ accountInfosId: string | null;
11858
13818
  }[];
11859
13819
  };
11860
13820
  };
@@ -11875,10 +13835,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11875
13835
  infos: {
11876
13836
  emails: {
11877
13837
  email: string;
11878
- accountInfosId: string | null;
11879
13838
  id: string;
11880
13839
  createdAt: Date;
11881
13840
  isPrimary: boolean;
13841
+ accountInfosId: string | null;
11882
13842
  }[];
11883
13843
  };
11884
13844
  };
@@ -11919,14 +13879,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11919
13879
  appId: string;
11920
13880
  };
11921
13881
  _output_in: {
11922
- id: string;
11923
13882
  name: string;
13883
+ id: string;
11924
13884
  color: string | null;
11925
13885
  logo: string | null;
11926
13886
  };
11927
13887
  _output_out: {
11928
- id: string;
11929
13888
  name: string;
13889
+ id: string;
11930
13890
  color: string | null;
11931
13891
  logo: string | null;
11932
13892
  };
@@ -11953,7 +13913,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11953
13913
  transformer: typeof superjson.default;
11954
13914
  }>;
11955
13915
  _meta: object;
11956
- _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
+ };
11957
13949
  _input_in: {
11958
13950
  appId: string;
11959
13951
  origins: string[];
@@ -11991,7 +13983,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11991
13983
  transformer: typeof superjson.default;
11992
13984
  }>;
11993
13985
  _meta: object;
11994
- _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
+ };
11995
14019
  _input_in: {
11996
14020
  appId: string;
11997
14021
  name?: string | undefined;
@@ -12033,7 +14057,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12033
14057
  transformer: typeof superjson.default;
12034
14058
  }>;
12035
14059
  _meta: object;
12036
- _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
+ };
12037
14093
  _input_in: {
12038
14094
  appId: string;
12039
14095
  developerId: string;
@@ -12073,14 +14129,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12073
14129
  transformer: typeof superjson.default;
12074
14130
  }>;
12075
14131
  _meta: object;
12076
- _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
+ };
12077
14158
  _input_in: {
12078
- appId: string;
12079
14159
  userId: string;
14160
+ appId: string;
12080
14161
  };
12081
14162
  _input_out: {
12082
- appId: string;
12083
14163
  userId: string;
14164
+ appId: string;
12084
14165
  };
12085
14166
  _output_in: {
12086
14167
  isUpdated: boolean;
@@ -12111,7 +14192,39 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12111
14192
  transformer: typeof superjson.default;
12112
14193
  }>;
12113
14194
  _meta: object;
12114
- _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
+ };
12115
14228
  _input_in: {
12116
14229
  appId: string;
12117
14230
  planName: string;
@@ -12351,11 +14464,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12351
14464
  account: {
12352
14465
  id: string;
12353
14466
  createdAt: Date;
12354
- role: "user" | "admin";
12355
14467
  deletedAt: Date | null;
12356
14468
  infosId: string;
12357
- updatedAt: Date;
12358
14469
  phones: string[];
14470
+ updatedAt: Date;
14471
+ role: "user" | "admin";
12359
14472
  emails: {
12360
14473
  email: string;
12361
14474
  isPrimary: boolean;
@@ -12380,11 +14493,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12380
14493
  account: {
12381
14494
  id: string;
12382
14495
  createdAt: Date;
12383
- role: "user" | "admin";
12384
14496
  deletedAt: Date | null;
12385
14497
  infosId: string;
12386
- updatedAt: Date;
12387
14498
  phones: string[];
14499
+ updatedAt: Date;
14500
+ role: "user" | "admin";
12388
14501
  emails: {
12389
14502
  email: string;
12390
14503
  isPrimary: boolean;
@@ -12418,21 +14531,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12418
14531
  _input_in: {} | undefined;
12419
14532
  _input_out: {} | undefined;
12420
14533
  _output_in: {
12421
- accountId: string;
12422
- userId: string;
12423
14534
  id: string;
12424
14535
  createdAt: Date;
14536
+ accountId: string;
14537
+ userId: string;
12425
14538
  lastActivity: Date | null;
12426
14539
  userAgent: string | null;
12427
14540
  ip: string | null;
12428
14541
  country: string | null;
12429
14542
  city: string | null;
12430
14543
  appSessions: ({
12431
- appId: string;
12432
- userId: string;
12433
14544
  id: string;
12434
- userSessionId: string;
12435
14545
  createdAt: Date;
14546
+ userId: string;
14547
+ appId: string;
14548
+ userSessionId: string;
12436
14549
  lastActivity: Date | null;
12437
14550
  userAgent: string | null;
12438
14551
  ip: string | null;
@@ -12445,21 +14558,21 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12445
14558
  })[];
12446
14559
  }[];
12447
14560
  _output_out: {
12448
- accountId: string;
12449
- userId: string;
12450
14561
  id: string;
12451
14562
  createdAt: Date;
14563
+ accountId: string;
14564
+ userId: string;
12452
14565
  lastActivity: Date | null;
12453
14566
  userAgent: string | null;
12454
14567
  ip: string | null;
12455
14568
  country: string | null;
12456
14569
  city: string | null;
12457
14570
  appSessions: ({
12458
- appId: string;
12459
- userId: string;
12460
14571
  id: string;
12461
- userSessionId: string;
12462
14572
  createdAt: Date;
14573
+ userId: string;
14574
+ appId: string;
14575
+ userSessionId: string;
12463
14576
  lastActivity: Date | null;
12464
14577
  userAgent: string | null;
12465
14578
  ip: string | null;