@secrecy/trpc-api-types 1.33.0-feat-orgs.29 → 1.33.0-feat-orgs.31

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 +718 -186
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -1809,14 +1809,14 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
1809
1809
  _meta: object;
1810
1810
  _ctx_out: {};
1811
1811
  _input_in: {
1812
- type: string;
1813
1812
  smsCode: string;
1813
+ type: string;
1814
1814
  emailCode: string;
1815
1815
  godFather?: string | undefined;
1816
1816
  };
1817
1817
  _input_out: {
1818
- type: string;
1819
1818
  smsCode: string;
1819
+ type: string;
1820
1820
  emailCode: string;
1821
1821
  godFather?: string | undefined;
1822
1822
  };
@@ -2680,8 +2680,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2680
2680
  id: string;
2681
2681
  size: bigint;
2682
2682
  key: string | null;
2683
- type: "received_mail";
2684
2683
  storageType: "s3" | "cold" | "lite";
2684
+ type: "received_mail";
2685
2685
  md5: string;
2686
2686
  sizeEncrypted: bigint | null;
2687
2687
  md5Encrypted: string | null;
@@ -2698,8 +2698,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2698
2698
  id: string;
2699
2699
  size: bigint;
2700
2700
  key: string | null;
2701
- type: "sent_mail";
2702
2701
  storageType: "s3" | "cold" | "lite";
2702
+ type: "sent_mail";
2703
2703
  md5: string;
2704
2704
  sizeEncrypted: bigint | null;
2705
2705
  md5Encrypted: string | null;
@@ -2715,8 +2715,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2715
2715
  id: string;
2716
2716
  size: bigint;
2717
2717
  key: string | null;
2718
- type: "cloud";
2719
2718
  storageType: "s3" | "cold";
2719
+ type: "cloud";
2720
2720
  md5: string;
2721
2721
  sizeEncrypted: bigint | null;
2722
2722
  md5Encrypted: string | null;
@@ -2732,8 +2732,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2732
2732
  id: string;
2733
2733
  size: bigint;
2734
2734
  key: string | null;
2735
- type: "lite";
2736
2735
  storageType: "lite";
2736
+ type: "lite";
2737
2737
  md5: string;
2738
2738
  sizeEncrypted: bigint | null;
2739
2739
  md5Encrypted: string | null;
@@ -2746,8 +2746,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2746
2746
  id: string;
2747
2747
  size: bigint;
2748
2748
  key: string | null;
2749
- type: "received_mail";
2750
2749
  storageType: "s3" | "cold" | "lite";
2750
+ type: "received_mail";
2751
2751
  md5: string;
2752
2752
  sizeEncrypted: bigint | null;
2753
2753
  md5Encrypted: string | null;
@@ -2764,8 +2764,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2764
2764
  id: string;
2765
2765
  size: bigint;
2766
2766
  key: string | null;
2767
- type: "sent_mail";
2768
2767
  storageType: "s3" | "cold" | "lite";
2768
+ type: "sent_mail";
2769
2769
  md5: string;
2770
2770
  sizeEncrypted: bigint | null;
2771
2771
  md5Encrypted: string | null;
@@ -2781,8 +2781,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2781
2781
  id: string;
2782
2782
  size: bigint;
2783
2783
  key: string | null;
2784
- type: "cloud";
2785
2784
  storageType: "s3" | "cold";
2785
+ type: "cloud";
2786
2786
  md5: string;
2787
2787
  sizeEncrypted: bigint | null;
2788
2788
  md5Encrypted: string | null;
@@ -2798,8 +2798,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2798
2798
  id: string;
2799
2799
  size: bigint;
2800
2800
  key: string | null;
2801
- type: "lite";
2802
2801
  storageType: "lite";
2802
+ type: "lite";
2803
2803
  md5: string;
2804
2804
  sizeEncrypted: bigint | null;
2805
2805
  md5Encrypted: string | null;
@@ -2842,8 +2842,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2842
2842
  id: string;
2843
2843
  size: bigint;
2844
2844
  key: string | null;
2845
- type: "received_mail";
2846
2845
  storageType: "s3" | "cold" | "lite";
2846
+ type: "received_mail";
2847
2847
  md5: string;
2848
2848
  sizeEncrypted: bigint | null;
2849
2849
  md5Encrypted: string | null;
@@ -2860,8 +2860,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2860
2860
  id: string;
2861
2861
  size: bigint;
2862
2862
  key: string | null;
2863
- type: "sent_mail";
2864
2863
  storageType: "s3" | "cold" | "lite";
2864
+ type: "sent_mail";
2865
2865
  md5: string;
2866
2866
  sizeEncrypted: bigint | null;
2867
2867
  md5Encrypted: string | null;
@@ -2877,8 +2877,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2877
2877
  id: string;
2878
2878
  size: bigint;
2879
2879
  key: string | null;
2880
- type: "cloud";
2881
2880
  storageType: "s3" | "cold";
2881
+ type: "cloud";
2882
2882
  md5: string;
2883
2883
  sizeEncrypted: bigint | null;
2884
2884
  md5Encrypted: string | null;
@@ -2894,8 +2894,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2894
2894
  id: string;
2895
2895
  size: bigint;
2896
2896
  key: string | null;
2897
- type: "lite";
2898
2897
  storageType: "lite";
2898
+ type: "lite";
2899
2899
  md5: string;
2900
2900
  sizeEncrypted: bigint | null;
2901
2901
  md5Encrypted: string | null;
@@ -2908,8 +2908,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2908
2908
  id: string;
2909
2909
  size: bigint;
2910
2910
  key: string | null;
2911
- type: "received_mail";
2912
2911
  storageType: "s3" | "cold" | "lite";
2912
+ type: "received_mail";
2913
2913
  md5: string;
2914
2914
  sizeEncrypted: bigint | null;
2915
2915
  md5Encrypted: string | null;
@@ -2926,8 +2926,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2926
2926
  id: string;
2927
2927
  size: bigint;
2928
2928
  key: string | null;
2929
- type: "sent_mail";
2930
2929
  storageType: "s3" | "cold" | "lite";
2930
+ type: "sent_mail";
2931
2931
  md5: string;
2932
2932
  sizeEncrypted: bigint | null;
2933
2933
  md5Encrypted: string | null;
@@ -2943,8 +2943,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2943
2943
  id: string;
2944
2944
  size: bigint;
2945
2945
  key: string | null;
2946
- type: "cloud";
2947
2946
  storageType: "s3" | "cold";
2947
+ type: "cloud";
2948
2948
  md5: string;
2949
2949
  sizeEncrypted: bigint | null;
2950
2950
  md5Encrypted: string | null;
@@ -2960,8 +2960,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2960
2960
  id: string;
2961
2961
  size: bigint;
2962
2962
  key: string | null;
2963
- type: "lite";
2964
2963
  storageType: "lite";
2964
+ type: "lite";
2965
2965
  md5: string;
2966
2966
  sizeEncrypted: bigint | null;
2967
2967
  md5Encrypted: string | null;
@@ -10755,8 +10755,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10755
10755
  id: string;
10756
10756
  createdAt: Date;
10757
10757
  deletedAt: Date | null;
10758
- type: "received" | "sent";
10759
10758
  subject: string;
10759
+ type: "received" | "sent";
10760
10760
  body: string;
10761
10761
  openedAt: Date | null;
10762
10762
  } & {
@@ -10813,8 +10813,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10813
10813
  id: string;
10814
10814
  createdAt: Date;
10815
10815
  deletedAt: Date | null;
10816
- type: "received" | "sent";
10817
10816
  subject: string;
10817
+ type: "received" | "sent";
10818
10818
  body: string;
10819
10819
  openedAt: Date | null;
10820
10820
  } & {
@@ -10923,8 +10923,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10923
10923
  id: string;
10924
10924
  createdAt: Date;
10925
10925
  deletedAt: Date | null;
10926
- type: "received" | "sent";
10927
10926
  subject: string;
10927
+ type: "received" | "sent";
10928
10928
  body: string;
10929
10929
  openedAt: Date | null;
10930
10930
  } & {
@@ -10981,8 +10981,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
10981
10981
  id: string;
10982
10982
  createdAt: Date;
10983
10983
  deletedAt: Date | null;
10984
- type: "received" | "sent";
10985
10984
  subject: string;
10985
+ type: "received" | "sent";
10986
10986
  body: string;
10987
10987
  openedAt: Date | null;
10988
10988
  } & {
@@ -11177,8 +11177,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11177
11177
  id: string;
11178
11178
  createdAt: Date;
11179
11179
  deletedAt: Date | null;
11180
- type: "received" | "sent";
11181
11180
  subject: string;
11181
+ type: "received" | "sent";
11182
11182
  body: string;
11183
11183
  openedAt: Date | null;
11184
11184
  } & {
@@ -11235,8 +11235,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11235
11235
  id: string;
11236
11236
  createdAt: Date;
11237
11237
  deletedAt: Date | null;
11238
- type: "received" | "sent";
11239
11238
  subject: string;
11239
+ type: "received" | "sent";
11240
11240
  body: string;
11241
11241
  openedAt: Date | null;
11242
11242
  } & {
@@ -11325,8 +11325,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11325
11325
  id: string;
11326
11326
  createdAt: Date;
11327
11327
  deletedAt: Date | null;
11328
- type: "received" | "sent";
11329
11328
  subject: string;
11329
+ type: "received" | "sent";
11330
11330
  body: string;
11331
11331
  openedAt: Date | null;
11332
11332
  } & {
@@ -11383,8 +11383,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11383
11383
  id: string;
11384
11384
  createdAt: Date;
11385
11385
  deletedAt: Date | null;
11386
- type: "received" | "sent";
11387
11386
  subject: string;
11387
+ type: "received" | "sent";
11388
11388
  body: string;
11389
11389
  openedAt: Date | null;
11390
11390
  } & {
@@ -11541,8 +11541,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11541
11541
  id: string;
11542
11542
  createdAt: Date;
11543
11543
  deletedAt: Date | null;
11544
- type: "received" | "sent";
11545
11544
  subject: string;
11545
+ type: "received" | "sent";
11546
11546
  body: string;
11547
11547
  openedAt: Date | null;
11548
11548
  } & {
@@ -11599,8 +11599,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11599
11599
  id: string;
11600
11600
  createdAt: Date;
11601
11601
  deletedAt: Date | null;
11602
- type: "received" | "sent";
11603
11602
  subject: string;
11603
+ type: "received" | "sent";
11604
11604
  body: string;
11605
11605
  openedAt: Date | null;
11606
11606
  } & {
@@ -11922,8 +11922,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11922
11922
  id: string;
11923
11923
  createdAt: Date;
11924
11924
  deletedAt: Date | null;
11925
- type: "received" | "sent";
11926
11925
  subject: string;
11926
+ type: "received" | "sent";
11927
11927
  body: string;
11928
11928
  openedAt: Date | null;
11929
11929
  } & {
@@ -11980,8 +11980,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
11980
11980
  id: string;
11981
11981
  createdAt: Date;
11982
11982
  deletedAt: Date | null;
11983
- type: "received" | "sent";
11984
11983
  subject: string;
11984
+ type: "received" | "sent";
11985
11985
  body: string;
11986
11986
  openedAt: Date | null;
11987
11987
  } & {
@@ -12154,8 +12154,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12154
12154
  id: string;
12155
12155
  createdAt: Date;
12156
12156
  deletedAt: Date | null;
12157
- type: "received" | "sent";
12158
12157
  subject: string;
12158
+ type: "received" | "sent";
12159
12159
  body: string;
12160
12160
  openedAt: Date | null;
12161
12161
  } & {
@@ -12212,8 +12212,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12212
12212
  id: string;
12213
12213
  createdAt: Date;
12214
12214
  deletedAt: Date | null;
12215
- type: "received" | "sent";
12216
12215
  subject: string;
12216
+ type: "received" | "sent";
12217
12217
  body: string;
12218
12218
  openedAt: Date | null;
12219
12219
  } & {
@@ -12609,12 +12609,42 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12609
12609
  transformer: typeof superjson.default;
12610
12610
  }>;
12611
12611
  _meta: object;
12612
- _ctx_out: {};
12612
+ _ctx_out: {
12613
+ session: {
12614
+ org: {
12615
+ id: string;
12616
+ name: string;
12617
+ planId: string;
12618
+ role: _prisma_client.$Enums.OrganizationRole;
12619
+ };
12620
+ sessionId: string;
12621
+ accountId: string;
12622
+ accountInfosId: string;
12623
+ accountRole: _prisma_client.AccountRole;
12624
+ userId: string;
12625
+ userRole: _prisma_client.UserRole;
12626
+ app?: {
12627
+ id: string;
12628
+ planId: string;
12629
+ fakeUserId: string;
12630
+ isCare: boolean;
12631
+ settingsId: string;
12632
+ };
12633
+ };
12634
+ req: {
12635
+ headers: Headers;
12636
+ };
12637
+ res: {
12638
+ headers: Headers;
12639
+ };
12640
+ locale: Locales;
12641
+ ls: TranslationFunctions;
12642
+ };
12613
12643
  _input_in: {
12614
- id: string;
12644
+ orgId: string;
12615
12645
  };
12616
12646
  _input_out: {
12617
- id: string;
12647
+ orgId: string;
12618
12648
  };
12619
12649
  _output_in: {
12620
12650
  name: string;
@@ -12661,7 +12691,37 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12661
12691
  transformer: typeof superjson.default;
12662
12692
  }>;
12663
12693
  _meta: object;
12664
- _ctx_out: {};
12694
+ _ctx_out: {
12695
+ session: {
12696
+ org: {
12697
+ id: string;
12698
+ name: string;
12699
+ planId: string;
12700
+ role: _prisma_client.$Enums.OrganizationRole;
12701
+ };
12702
+ sessionId: string;
12703
+ accountId: string;
12704
+ accountInfosId: string;
12705
+ accountRole: _prisma_client.AccountRole;
12706
+ userId: string;
12707
+ userRole: _prisma_client.UserRole;
12708
+ app?: {
12709
+ id: string;
12710
+ planId: string;
12711
+ fakeUserId: string;
12712
+ isCare: boolean;
12713
+ settingsId: string;
12714
+ };
12715
+ };
12716
+ req: {
12717
+ headers: Headers;
12718
+ };
12719
+ res: {
12720
+ headers: Headers;
12721
+ };
12722
+ locale: Locales;
12723
+ ls: TranslationFunctions;
12724
+ };
12665
12725
  _input_in: {
12666
12726
  waitUntilPeriodEnd: boolean;
12667
12727
  };
@@ -12697,7 +12757,37 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12697
12757
  transformer: typeof superjson.default;
12698
12758
  }>;
12699
12759
  _meta: object;
12700
- _ctx_out: {};
12760
+ _ctx_out: {
12761
+ session: {
12762
+ org: {
12763
+ id: string;
12764
+ name: string;
12765
+ planId: string;
12766
+ role: _prisma_client.$Enums.OrganizationRole;
12767
+ };
12768
+ sessionId: string;
12769
+ accountId: string;
12770
+ accountInfosId: string;
12771
+ accountRole: _prisma_client.AccountRole;
12772
+ userId: string;
12773
+ userRole: _prisma_client.UserRole;
12774
+ app?: {
12775
+ id: string;
12776
+ planId: string;
12777
+ fakeUserId: string;
12778
+ isCare: boolean;
12779
+ settingsId: string;
12780
+ };
12781
+ };
12782
+ req: {
12783
+ headers: Headers;
12784
+ };
12785
+ res: {
12786
+ headers: Headers;
12787
+ };
12788
+ locale: Locales;
12789
+ ls: TranslationFunctions;
12790
+ };
12701
12791
  _input_in: {
12702
12792
  planKind: "free" | "basic" | "advanced" | "pro";
12703
12793
  billingProfileId?: string | undefined;
@@ -12713,7 +12803,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12713
12803
  url: string | null;
12714
12804
  };
12715
12805
  }, unknown>;
12716
- delete: _trpc_server.BuildProcedure<"mutation", {
12806
+ create: _trpc_server.BuildProcedure<"mutation", {
12717
12807
  _config: _trpc_server.RootConfig<{
12718
12808
  ctx: {};
12719
12809
  meta: object;
@@ -12737,10 +12827,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12737
12827
  _meta: object;
12738
12828
  _ctx_out: {};
12739
12829
  _input_in: {
12740
- id: string;
12830
+ name: string;
12741
12831
  };
12742
12832
  _input_out: {
12743
- id: string;
12833
+ name: string;
12744
12834
  };
12745
12835
  _output_in: {
12746
12836
  name: string;
@@ -12765,7 +12855,7 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12765
12855
  billingProfileStripeCustomerId: string | null;
12766
12856
  };
12767
12857
  }, unknown>;
12768
- getSubscription: _trpc_server.BuildProcedure<"query", {
12858
+ delete: _trpc_server.BuildProcedure<"mutation", {
12769
12859
  _config: _trpc_server.RootConfig<{
12770
12860
  ctx: {};
12771
12861
  meta: object;
@@ -12787,49 +12877,67 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12787
12877
  transformer: typeof superjson.default;
12788
12878
  }>;
12789
12879
  _meta: object;
12790
- _ctx_out: {};
12791
- _input_in: {} | undefined;
12792
- _input_out: {} | undefined;
12880
+ _ctx_out: {
12881
+ session: {
12882
+ org: {
12883
+ id: string;
12884
+ name: string;
12885
+ planId: string;
12886
+ role: _prisma_client.$Enums.OrganizationRole;
12887
+ };
12888
+ sessionId: string;
12889
+ accountId: string;
12890
+ accountInfosId: string;
12891
+ accountRole: _prisma_client.AccountRole;
12892
+ userId: string;
12893
+ userRole: _prisma_client.UserRole;
12894
+ app?: {
12895
+ id: string;
12896
+ planId: string;
12897
+ fakeUserId: string;
12898
+ isCare: boolean;
12899
+ settingsId: string;
12900
+ };
12901
+ };
12902
+ req: {
12903
+ headers: Headers;
12904
+ };
12905
+ res: {
12906
+ headers: Headers;
12907
+ };
12908
+ locale: Locales;
12909
+ ls: TranslationFunctions;
12910
+ };
12911
+ _input_in: {
12912
+ orgId: string;
12913
+ };
12914
+ _input_out: {
12915
+ orgId: string;
12916
+ };
12793
12917
  _output_in: {
12794
- subscription: {
12795
- id: string;
12796
- currency: string;
12797
- description: string | null;
12798
- status: "active" | "canceled" | "past_due" | "incomplete" | "incomplete_expired" | "paused" | "trialing" | "unpaid";
12799
- metadata: Record<string, string>;
12800
- billingCycleAnchor: number;
12801
- cancelAt: number | null;
12802
- cancelAtPeriodEnd: boolean;
12803
- canceledAt: number | null;
12804
- created: number;
12805
- daysUntilDue: number | null;
12806
- startDate: number;
12807
- endedAt: number | null;
12808
- trialEnd: number | null;
12809
- trialStart: number | null;
12810
- } | null;
12918
+ name: string;
12919
+ id: string;
12920
+ ownerId: string;
12921
+ createdAt: Date;
12922
+ planId: string;
12923
+ stripeSubId: string | null;
12924
+ stripeSubPaidUntil: Date | null;
12925
+ quotasId: string;
12926
+ billingProfileStripeCustomerId: string | null;
12811
12927
  };
12812
12928
  _output_out: {
12813
- subscription: {
12814
- id: string;
12815
- currency: string;
12816
- description: string | null;
12817
- status: "active" | "canceled" | "past_due" | "incomplete" | "incomplete_expired" | "paused" | "trialing" | "unpaid";
12818
- metadata: Record<string, string>;
12819
- billingCycleAnchor: number;
12820
- cancelAt: number | null;
12821
- cancelAtPeriodEnd: boolean;
12822
- canceledAt: number | null;
12823
- created: number;
12824
- daysUntilDue: number | null;
12825
- startDate: number;
12826
- endedAt: number | null;
12827
- trialEnd: number | null;
12828
- trialStart: number | null;
12829
- } | null;
12929
+ name: string;
12930
+ id: string;
12931
+ ownerId: string;
12932
+ createdAt: Date;
12933
+ planId: string;
12934
+ stripeSubId: string | null;
12935
+ stripeSubPaidUntil: Date | null;
12936
+ quotasId: string;
12937
+ billingProfileStripeCustomerId: string | null;
12830
12938
  };
12831
12939
  }, unknown>;
12832
- limits: _trpc_server.BuildProcedure<"query", {
12940
+ getSubscription: _trpc_server.BuildProcedure<"query", {
12833
12941
  _config: _trpc_server.RootConfig<{
12834
12942
  ctx: {};
12835
12943
  meta: object;
@@ -12851,103 +12959,79 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12851
12959
  transformer: typeof superjson.default;
12852
12960
  }>;
12853
12961
  _meta: object;
12854
- _ctx_out: {};
12855
- _input_in: {
12856
- id: string;
12857
- appId: string;
12858
- };
12859
- _input_out: {
12860
- id: string;
12861
- appId: string;
12862
- };
12863
- _output_in: {
12864
- quotas: {
12865
- perDataSize: bigint | null;
12866
- totalStorageSize: bigint | null;
12867
- downloadCount: bigint | null;
12868
- uploadCount: bigint | null;
12869
- totalDataCount: bigint | null;
12870
- bandwith: bigint | null;
12871
- };
12872
- appId: string;
12873
- orgId: string;
12874
- settings: {
12875
- perDataSizeLimit: bigint | null;
12876
- bandwidthLimit: bigint | null;
12877
- totalStorageSizeLimit: bigint | null;
12878
- payForUsers: boolean;
12879
- };
12880
- metrics: {
12881
- downloadBandwidth: bigint;
12882
- downloadCount: bigint;
12883
- uploadBandwidth: bigint;
12884
- uploadCount: bigint;
12962
+ _ctx_out: {
12963
+ session: {
12964
+ org: {
12965
+ id: string;
12966
+ name: string;
12967
+ planId: string;
12968
+ role: _prisma_client.$Enums.OrganizationRole;
12969
+ };
12970
+ sessionId: string;
12971
+ accountId: string;
12972
+ accountInfosId: string;
12973
+ accountRole: _prisma_client.AccountRole;
12974
+ userId: string;
12975
+ userRole: _prisma_client.UserRole;
12976
+ app?: {
12977
+ id: string;
12978
+ planId: string;
12979
+ fakeUserId: string;
12980
+ isCare: boolean;
12981
+ settingsId: string;
12982
+ };
12885
12983
  };
12886
- type: "app";
12887
- } | {
12888
- quotas: {};
12889
- appId: string;
12890
- orgId: string;
12891
- settings: {
12892
- perDataSizeLimit: bigint | null;
12893
- bandwidthLimit: bigint | null;
12894
- totalStorageSizeLimit: bigint | null;
12895
- payForUsers: boolean;
12984
+ req: {
12985
+ headers: Headers;
12896
12986
  };
12897
- metrics: {
12898
- downloadBandwidth: bigint;
12899
- downloadCount: bigint;
12900
- uploadBandwidth: bigint;
12901
- uploadCount: bigint;
12987
+ res: {
12988
+ headers: Headers;
12902
12989
  };
12903
- type: "org";
12904
- userLimitedQuotas: {} | null;
12990
+ locale: Locales;
12991
+ ls: TranslationFunctions;
12992
+ };
12993
+ _input_in: {} | undefined;
12994
+ _input_out: {} | undefined;
12995
+ _output_in: {
12996
+ subscription: {
12997
+ id: string;
12998
+ currency: string;
12999
+ description: string | null;
13000
+ status: "active" | "canceled" | "past_due" | "incomplete" | "incomplete_expired" | "paused" | "trialing" | "unpaid";
13001
+ metadata: Record<string, string>;
13002
+ billingCycleAnchor: number;
13003
+ cancelAt: number | null;
13004
+ cancelAtPeriodEnd: boolean;
13005
+ canceledAt: number | null;
13006
+ created: number;
13007
+ daysUntilDue: number | null;
13008
+ startDate: number;
13009
+ endedAt: number | null;
13010
+ trialEnd: number | null;
13011
+ trialStart: number | null;
13012
+ } | null;
12905
13013
  };
12906
13014
  _output_out: {
12907
- quotas: {
12908
- perDataSize: bigint | null;
12909
- totalStorageSize: bigint | null;
12910
- downloadCount: bigint | null;
12911
- uploadCount: bigint | null;
12912
- totalDataCount: bigint | null;
12913
- bandwith: bigint | null;
12914
- };
12915
- appId: string;
12916
- orgId: string;
12917
- settings: {
12918
- perDataSizeLimit: bigint | null;
12919
- bandwidthLimit: bigint | null;
12920
- totalStorageSizeLimit: bigint | null;
12921
- payForUsers: boolean;
12922
- };
12923
- metrics: {
12924
- downloadBandwidth: bigint;
12925
- downloadCount: bigint;
12926
- uploadBandwidth: bigint;
12927
- uploadCount: bigint;
12928
- };
12929
- type: "app";
12930
- } | {
12931
- quotas: {};
12932
- appId: string;
12933
- orgId: string;
12934
- settings: {
12935
- perDataSizeLimit: bigint | null;
12936
- bandwidthLimit: bigint | null;
12937
- totalStorageSizeLimit: bigint | null;
12938
- payForUsers: boolean;
12939
- };
12940
- metrics: {
12941
- downloadBandwidth: bigint;
12942
- downloadCount: bigint;
12943
- uploadBandwidth: bigint;
12944
- uploadCount: bigint;
12945
- };
12946
- type: "org";
12947
- userLimitedQuotas: {} | null;
13015
+ subscription: {
13016
+ id: string;
13017
+ currency: string;
13018
+ description: string | null;
13019
+ status: "active" | "canceled" | "past_due" | "incomplete" | "incomplete_expired" | "paused" | "trialing" | "unpaid";
13020
+ metadata: Record<string, string>;
13021
+ billingCycleAnchor: number;
13022
+ cancelAt: number | null;
13023
+ cancelAtPeriodEnd: boolean;
13024
+ canceledAt: number | null;
13025
+ created: number;
13026
+ daysUntilDue: number | null;
13027
+ startDate: number;
13028
+ endedAt: number | null;
13029
+ trialEnd: number | null;
13030
+ trialStart: number | null;
13031
+ } | null;
12948
13032
  };
12949
13033
  }, unknown>;
12950
- mine: _trpc_server.BuildProcedure<"query", {
13034
+ list: _trpc_server.BuildProcedure<"query", {
12951
13035
  _config: _trpc_server.RootConfig<{
12952
13036
  ctx: {};
12953
13037
  meta: object;
@@ -12969,7 +13053,37 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12969
13053
  transformer: typeof superjson.default;
12970
13054
  }>;
12971
13055
  _meta: object;
12972
- _ctx_out: {};
13056
+ _ctx_out: {
13057
+ session: {
13058
+ org: {
13059
+ id: string;
13060
+ name: string;
13061
+ planId: string;
13062
+ role: _prisma_client.$Enums.OrganizationRole;
13063
+ };
13064
+ sessionId: string;
13065
+ accountId: string;
13066
+ accountInfosId: string;
13067
+ accountRole: _prisma_client.AccountRole;
13068
+ userId: string;
13069
+ userRole: _prisma_client.UserRole;
13070
+ app?: {
13071
+ id: string;
13072
+ planId: string;
13073
+ fakeUserId: string;
13074
+ isCare: boolean;
13075
+ settingsId: string;
13076
+ };
13077
+ };
13078
+ req: {
13079
+ headers: Headers;
13080
+ };
13081
+ res: {
13082
+ headers: Headers;
13083
+ };
13084
+ locale: Locales;
13085
+ ls: TranslationFunctions;
13086
+ };
12973
13087
  _input_in: {};
12974
13088
  _input_out: {};
12975
13089
  _output_in: {
@@ -12995,6 +13109,124 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
12995
13109
  billingProfileStripeCustomerId: string | null;
12996
13110
  }[];
12997
13111
  }, unknown>;
13112
+ organizationLimits: _trpc_server.BuildProcedure<"query", {
13113
+ _config: _trpc_server.RootConfig<{
13114
+ ctx: {};
13115
+ meta: object;
13116
+ errorShape: {
13117
+ message: string;
13118
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
13119
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
13120
+ } | {
13121
+ data: {
13122
+ zodError: zod.typeToFlattenedError<any, string> | null;
13123
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
13124
+ httpStatus: number;
13125
+ path?: string;
13126
+ stack?: string;
13127
+ };
13128
+ message: string;
13129
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
13130
+ };
13131
+ transformer: typeof superjson.default;
13132
+ }>;
13133
+ _meta: object;
13134
+ _ctx_out: {
13135
+ session: {
13136
+ org: {
13137
+ id: string;
13138
+ name: string;
13139
+ planId: string;
13140
+ role: _prisma_client.$Enums.OrganizationRole;
13141
+ };
13142
+ sessionId: string;
13143
+ accountId: string;
13144
+ accountInfosId: string;
13145
+ accountRole: _prisma_client.AccountRole;
13146
+ userId: string;
13147
+ userRole: _prisma_client.UserRole;
13148
+ app?: {
13149
+ id: string;
13150
+ planId: string;
13151
+ fakeUserId: string;
13152
+ isCare: boolean;
13153
+ settingsId: string;
13154
+ };
13155
+ };
13156
+ req: {
13157
+ headers: Headers;
13158
+ };
13159
+ res: {
13160
+ headers: Headers;
13161
+ };
13162
+ locale: Locales;
13163
+ ls: TranslationFunctions;
13164
+ };
13165
+ _input_in: {
13166
+ orgId: string;
13167
+ };
13168
+ _input_out: {
13169
+ orgId: string;
13170
+ };
13171
+ _output_in: {
13172
+ quotas: {
13173
+ perDataSize: bigint | null;
13174
+ totalStorageSize: bigint | null;
13175
+ downloadBandwidth: bigint | null;
13176
+ downloadCount: bigint | null;
13177
+ uploadBandwidth: bigint | null;
13178
+ uploadCount: bigint | null;
13179
+ totalDataCount: bigint | null;
13180
+ sentMails: {
13181
+ count: bigint | null;
13182
+ perDataSize: bigint | null;
13183
+ totalStorageSize: bigint | null;
13184
+ totalDataCount: bigint | null;
13185
+ totalCount: bigint | null;
13186
+ dataCount: bigint | null;
13187
+ dataSize: bigint | null;
13188
+ };
13189
+ };
13190
+ metrics: {
13191
+ downloadBandwidth: bigint;
13192
+ downloadCount: bigint;
13193
+ uploadBandwidth: bigint;
13194
+ uploadCount: bigint;
13195
+ sentMailCount: bigint;
13196
+ sentMailDataCount: bigint;
13197
+ sentMailDataSize: bigint;
13198
+ };
13199
+ };
13200
+ _output_out: {
13201
+ quotas: {
13202
+ perDataSize: bigint | null;
13203
+ totalStorageSize: bigint | null;
13204
+ downloadBandwidth: bigint | null;
13205
+ downloadCount: bigint | null;
13206
+ uploadBandwidth: bigint | null;
13207
+ uploadCount: bigint | null;
13208
+ totalDataCount: bigint | null;
13209
+ sentMails: {
13210
+ count: bigint | null;
13211
+ perDataSize: bigint | null;
13212
+ totalStorageSize: bigint | null;
13213
+ totalDataCount: bigint | null;
13214
+ totalCount: bigint | null;
13215
+ dataCount: bigint | null;
13216
+ dataSize: bigint | null;
13217
+ };
13218
+ };
13219
+ metrics: {
13220
+ downloadBandwidth: bigint;
13221
+ downloadCount: bigint;
13222
+ uploadBandwidth: bigint;
13223
+ uploadCount: bigint;
13224
+ sentMailCount: bigint;
13225
+ sentMailDataCount: bigint;
13226
+ sentMailDataSize: bigint;
13227
+ };
13228
+ };
13229
+ }, unknown>;
12998
13230
  removeMember: _trpc_server.BuildProcedure<"mutation", {
12999
13231
  _config: _trpc_server.RootConfig<{
13000
13232
  ctx: {};
@@ -13017,14 +13249,44 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
13017
13249
  transformer: typeof superjson.default;
13018
13250
  }>;
13019
13251
  _meta: object;
13020
- _ctx_out: {};
13252
+ _ctx_out: {
13253
+ session: {
13254
+ org: {
13255
+ id: string;
13256
+ name: string;
13257
+ planId: string;
13258
+ role: _prisma_client.$Enums.OrganizationRole;
13259
+ };
13260
+ sessionId: string;
13261
+ accountId: string;
13262
+ accountInfosId: string;
13263
+ accountRole: _prisma_client.AccountRole;
13264
+ userId: string;
13265
+ userRole: _prisma_client.UserRole;
13266
+ app?: {
13267
+ id: string;
13268
+ planId: string;
13269
+ fakeUserId: string;
13270
+ isCare: boolean;
13271
+ settingsId: string;
13272
+ };
13273
+ };
13274
+ req: {
13275
+ headers: Headers;
13276
+ };
13277
+ res: {
13278
+ headers: Headers;
13279
+ };
13280
+ locale: Locales;
13281
+ ls: TranslationFunctions;
13282
+ };
13021
13283
  _input_in: {
13022
- id: string;
13023
13284
  userId: string;
13285
+ orgId: string;
13024
13286
  };
13025
13287
  _input_out: {
13026
- id: string;
13027
13288
  userId: string;
13289
+ orgId: string;
13028
13290
  };
13029
13291
  _output_in: {
13030
13292
  isRemoved: boolean;
@@ -13055,14 +13317,44 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
13055
13317
  transformer: typeof superjson.default;
13056
13318
  }>;
13057
13319
  _meta: object;
13058
- _ctx_out: {};
13320
+ _ctx_out: {
13321
+ session: {
13322
+ org: {
13323
+ id: string;
13324
+ name: string;
13325
+ planId: string;
13326
+ role: _prisma_client.$Enums.OrganizationRole;
13327
+ };
13328
+ sessionId: string;
13329
+ accountId: string;
13330
+ accountInfosId: string;
13331
+ accountRole: _prisma_client.AccountRole;
13332
+ userId: string;
13333
+ userRole: _prisma_client.UserRole;
13334
+ app?: {
13335
+ id: string;
13336
+ planId: string;
13337
+ fakeUserId: string;
13338
+ isCare: boolean;
13339
+ settingsId: string;
13340
+ };
13341
+ };
13342
+ req: {
13343
+ headers: Headers;
13344
+ };
13345
+ res: {
13346
+ headers: Headers;
13347
+ };
13348
+ locale: Locales;
13349
+ ls: TranslationFunctions;
13350
+ };
13059
13351
  _input_in: {
13060
- id: string;
13061
13352
  userId: string;
13353
+ orgId: string;
13062
13354
  };
13063
13355
  _input_out: {
13064
- id: string;
13065
13356
  userId: string;
13357
+ orgId: string;
13066
13358
  };
13067
13359
  _output_in: {
13068
13360
  name: string;
@@ -13109,16 +13401,46 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
13109
13401
  transformer: typeof superjson.default;
13110
13402
  }>;
13111
13403
  _meta: object;
13112
- _ctx_out: {};
13404
+ _ctx_out: {
13405
+ session: {
13406
+ org: {
13407
+ id: string;
13408
+ name: string;
13409
+ planId: string;
13410
+ role: _prisma_client.$Enums.OrganizationRole;
13411
+ };
13412
+ sessionId: string;
13413
+ accountId: string;
13414
+ accountInfosId: string;
13415
+ accountRole: _prisma_client.AccountRole;
13416
+ userId: string;
13417
+ userRole: _prisma_client.UserRole;
13418
+ app?: {
13419
+ id: string;
13420
+ planId: string;
13421
+ fakeUserId: string;
13422
+ isCare: boolean;
13423
+ settingsId: string;
13424
+ };
13425
+ };
13426
+ req: {
13427
+ headers: Headers;
13428
+ };
13429
+ res: {
13430
+ headers: Headers;
13431
+ };
13432
+ locale: Locales;
13433
+ ls: TranslationFunctions;
13434
+ };
13113
13435
  _input_in: {
13114
- id: string;
13115
13436
  role: "user" | "admin";
13116
13437
  userId: string;
13438
+ orgId: string;
13117
13439
  };
13118
13440
  _input_out: {
13119
- id: string;
13120
13441
  role: "user" | "admin";
13121
13442
  userId: string;
13443
+ orgId: string;
13122
13444
  };
13123
13445
  _output_in: {
13124
13446
  createdAt: Date;
@@ -13155,16 +13477,46 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
13155
13477
  transformer: typeof superjson.default;
13156
13478
  }>;
13157
13479
  _meta: object;
13158
- _ctx_out: {};
13480
+ _ctx_out: {
13481
+ session: {
13482
+ org: {
13483
+ id: string;
13484
+ name: string;
13485
+ planId: string;
13486
+ role: _prisma_client.$Enums.OrganizationRole;
13487
+ };
13488
+ sessionId: string;
13489
+ accountId: string;
13490
+ accountInfosId: string;
13491
+ accountRole: _prisma_client.AccountRole;
13492
+ userId: string;
13493
+ userRole: _prisma_client.UserRole;
13494
+ app?: {
13495
+ id: string;
13496
+ planId: string;
13497
+ fakeUserId: string;
13498
+ isCare: boolean;
13499
+ settingsId: string;
13500
+ };
13501
+ };
13502
+ req: {
13503
+ headers: Headers;
13504
+ };
13505
+ res: {
13506
+ headers: Headers;
13507
+ };
13508
+ locale: Locales;
13509
+ ls: TranslationFunctions;
13510
+ };
13159
13511
  _input_in: {
13160
- name: string;
13161
- id: string;
13162
- billingProfileStripeCustomerId: string | null;
13512
+ orgId: string;
13513
+ name?: string | undefined;
13514
+ billingProfileStripeCustomerId?: string | null | undefined;
13163
13515
  };
13164
13516
  _input_out: {
13165
- name: string;
13166
- id: string;
13167
- billingProfileStripeCustomerId: string | null;
13517
+ orgId: string;
13518
+ name?: string | undefined;
13519
+ billingProfileStripeCustomerId?: string | null | undefined;
13168
13520
  };
13169
13521
  _output_in: {
13170
13522
  name: string;
@@ -13189,6 +13541,186 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
13189
13541
  billingProfileStripeCustomerId: string | null;
13190
13542
  };
13191
13543
  }, unknown>;
13544
+ userContextLimits: _trpc_server.BuildProcedure<"query", {
13545
+ _config: _trpc_server.RootConfig<{
13546
+ ctx: {};
13547
+ meta: object;
13548
+ errorShape: {
13549
+ message: string;
13550
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
13551
+ data: _trpc_server_dist_error_formatter.DefaultErrorData;
13552
+ } | {
13553
+ data: {
13554
+ zodError: zod.typeToFlattenedError<any, string> | null;
13555
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_KEY;
13556
+ httpStatus: number;
13557
+ path?: string;
13558
+ stack?: string;
13559
+ };
13560
+ message: string;
13561
+ code: _trpc_server_rpc.TRPC_ERROR_CODE_NUMBER;
13562
+ };
13563
+ transformer: typeof superjson.default;
13564
+ }>;
13565
+ _meta: object;
13566
+ _ctx_out: {
13567
+ session: {
13568
+ org: {
13569
+ id: string;
13570
+ name: string;
13571
+ planId: string;
13572
+ role: _prisma_client.$Enums.OrganizationRole;
13573
+ };
13574
+ sessionId: string;
13575
+ accountId: string;
13576
+ accountInfosId: string;
13577
+ accountRole: _prisma_client.AccountRole;
13578
+ userId: string;
13579
+ userRole: _prisma_client.UserRole;
13580
+ app?: {
13581
+ id: string;
13582
+ planId: string;
13583
+ fakeUserId: string;
13584
+ isCare: boolean;
13585
+ settingsId: string;
13586
+ };
13587
+ };
13588
+ req: {
13589
+ headers: Headers;
13590
+ };
13591
+ res: {
13592
+ headers: Headers;
13593
+ };
13594
+ locale: Locales;
13595
+ ls: TranslationFunctions;
13596
+ };
13597
+ _input_in: {
13598
+ appId: string;
13599
+ orgId: string;
13600
+ };
13601
+ _input_out: {
13602
+ appId: string;
13603
+ orgId: string;
13604
+ };
13605
+ _output_in: {
13606
+ quotas: {
13607
+ perDataSize: bigint | null;
13608
+ totalStorageSize: bigint | null;
13609
+ downloadCount: bigint | null;
13610
+ uploadCount: bigint | null;
13611
+ totalDataCount: bigint | null;
13612
+ bandwith: bigint | null;
13613
+ };
13614
+ appId: string;
13615
+ orgId: string;
13616
+ settings: {
13617
+ perDataSizeLimit: bigint | null;
13618
+ bandwidthLimit: bigint | null;
13619
+ totalStorageSizeLimit: bigint | null;
13620
+ payForUsers: boolean;
13621
+ };
13622
+ metrics: {
13623
+ downloadBandwidth: bigint;
13624
+ downloadCount: bigint;
13625
+ uploadBandwidth: bigint;
13626
+ uploadCount: bigint;
13627
+ };
13628
+ type: "app";
13629
+ } | {
13630
+ quotas: {
13631
+ perDataSize: bigint | null;
13632
+ totalStorageSize: bigint | null;
13633
+ downloadBandwidth: bigint | null;
13634
+ downloadCount: bigint | null;
13635
+ uploadBandwidth: bigint | null;
13636
+ uploadCount: bigint | null;
13637
+ totalDataCount: bigint | null;
13638
+ };
13639
+ appId: string;
13640
+ orgId: string;
13641
+ settings: {
13642
+ perDataSizeLimit: bigint | null;
13643
+ bandwidthLimit: bigint | null;
13644
+ totalStorageSizeLimit: bigint | null;
13645
+ payForUsers: boolean;
13646
+ };
13647
+ metrics: {
13648
+ downloadBandwidth: bigint;
13649
+ downloadCount: bigint;
13650
+ uploadBandwidth: bigint;
13651
+ uploadCount: bigint;
13652
+ };
13653
+ type: "org";
13654
+ userLimitedQuotas: {
13655
+ perDataSize: bigint | null;
13656
+ totalStorageSize: bigint | null;
13657
+ downloadBandwidth: bigint | null;
13658
+ downloadCount: bigint | null;
13659
+ uploadBandwidth: bigint | null;
13660
+ uploadCount: bigint | null;
13661
+ totalDataCount: bigint | null;
13662
+ } | null;
13663
+ };
13664
+ _output_out: {
13665
+ quotas: {
13666
+ perDataSize: bigint | null;
13667
+ totalStorageSize: bigint | null;
13668
+ downloadCount: bigint | null;
13669
+ uploadCount: bigint | null;
13670
+ totalDataCount: bigint | null;
13671
+ bandwith: bigint | null;
13672
+ };
13673
+ appId: string;
13674
+ orgId: string;
13675
+ settings: {
13676
+ perDataSizeLimit: bigint | null;
13677
+ bandwidthLimit: bigint | null;
13678
+ totalStorageSizeLimit: bigint | null;
13679
+ payForUsers: boolean;
13680
+ };
13681
+ metrics: {
13682
+ downloadBandwidth: bigint;
13683
+ downloadCount: bigint;
13684
+ uploadBandwidth: bigint;
13685
+ uploadCount: bigint;
13686
+ };
13687
+ type: "app";
13688
+ } | {
13689
+ quotas: {
13690
+ perDataSize: bigint | null;
13691
+ totalStorageSize: bigint | null;
13692
+ downloadBandwidth: bigint | null;
13693
+ downloadCount: bigint | null;
13694
+ uploadBandwidth: bigint | null;
13695
+ uploadCount: bigint | null;
13696
+ totalDataCount: bigint | null;
13697
+ };
13698
+ appId: string;
13699
+ orgId: string;
13700
+ settings: {
13701
+ perDataSizeLimit: bigint | null;
13702
+ bandwidthLimit: bigint | null;
13703
+ totalStorageSizeLimit: bigint | null;
13704
+ payForUsers: boolean;
13705
+ };
13706
+ metrics: {
13707
+ downloadBandwidth: bigint;
13708
+ downloadCount: bigint;
13709
+ uploadBandwidth: bigint;
13710
+ uploadCount: bigint;
13711
+ };
13712
+ type: "org";
13713
+ userLimitedQuotas: {
13714
+ perDataSize: bigint | null;
13715
+ totalStorageSize: bigint | null;
13716
+ downloadBandwidth: bigint | null;
13717
+ downloadCount: bigint | null;
13718
+ uploadBandwidth: bigint | null;
13719
+ uploadCount: bigint | null;
13720
+ totalDataCount: bigint | null;
13721
+ } | null;
13722
+ };
13723
+ }, unknown>;
13192
13724
  }>;
13193
13725
  plan: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<{
13194
13726
  ctx: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.33.0-feat-orgs.29",
3
+ "version": "1.33.0-feat-orgs.31",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"