@secrecy/trpc-api-types 1.33.0-feat-orgs.17 → 1.33.0-feat-orgs.18

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 +96 -52
  2. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -2264,8 +2264,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2264
2264
  current: {
2265
2265
  id: string;
2266
2266
  createdAt: Date;
2267
- storageType: "s3" | "cold" | "lite";
2268
2267
  size: bigint;
2268
+ storageType: "s3" | "cold" | "lite";
2269
2269
  createdByUserId: string;
2270
2270
  createdByAppId: string;
2271
2271
  createdByOrgId: string;
@@ -2284,8 +2284,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2284
2284
  history: {
2285
2285
  id: string;
2286
2286
  createdAt: Date;
2287
- storageType: "s3" | "cold" | "lite";
2288
2287
  size: bigint;
2288
+ storageType: "s3" | "cold" | "lite";
2289
2289
  createdByUserId: string;
2290
2290
  createdByAppId: string;
2291
2291
  createdByOrgId: string;
@@ -2417,8 +2417,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2417
2417
  current: {
2418
2418
  id: string;
2419
2419
  createdAt: Date;
2420
- storageType: "s3" | "cold" | "lite";
2421
2420
  size: bigint;
2421
+ storageType: "s3" | "cold" | "lite";
2422
2422
  createdByUserId: string;
2423
2423
  createdByAppId: string;
2424
2424
  createdByOrgId: string;
@@ -2437,8 +2437,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2437
2437
  history: {
2438
2438
  id: string;
2439
2439
  createdAt: Date;
2440
- storageType: "s3" | "cold" | "lite";
2441
2440
  size: bigint;
2441
+ storageType: "s3" | "cold" | "lite";
2442
2442
  createdByUserId: string;
2443
2443
  createdByAppId: string;
2444
2444
  createdByOrgId: string;
@@ -2605,8 +2605,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2605
2605
  _output_in: {
2606
2606
  id: string;
2607
2607
  createdAt: Date;
2608
- storageType: "s3" | "cold" | "lite";
2609
2608
  size: bigint;
2609
+ storageType: "s3" | "cold" | "lite";
2610
2610
  createdByUserId: string;
2611
2611
  createdByAppId: string;
2612
2612
  createdByOrgId: string;
@@ -2625,8 +2625,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2625
2625
  _output_out: {
2626
2626
  id: string;
2627
2627
  createdAt: Date;
2628
- storageType: "s3" | "cold" | "lite";
2629
2628
  size: bigint;
2629
+ storageType: "s3" | "cold" | "lite";
2630
2630
  createdByUserId: string;
2631
2631
  createdByAppId: string;
2632
2632
  createdByOrgId: string;
@@ -2674,10 +2674,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2674
2674
  };
2675
2675
  _output_in: {
2676
2676
  id: string;
2677
+ size: bigint;
2677
2678
  key: string | null;
2678
2679
  type: "received_mail";
2679
2680
  storageType: "s3" | "cold" | "lite";
2680
- size: bigint;
2681
2681
  md5: string;
2682
2682
  sizeEncrypted: bigint | null;
2683
2683
  md5Encrypted: string | null;
@@ -2692,10 +2692,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2692
2692
  maybeContent: Buffer | null;
2693
2693
  } | {
2694
2694
  id: string;
2695
+ size: bigint;
2695
2696
  key: string | null;
2696
2697
  type: "sent_mail";
2697
2698
  storageType: "s3" | "cold" | "lite";
2698
- size: bigint;
2699
2699
  md5: string;
2700
2700
  sizeEncrypted: bigint | null;
2701
2701
  md5Encrypted: string | null;
@@ -2709,10 +2709,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2709
2709
  maybeContent: Buffer | null;
2710
2710
  } | {
2711
2711
  id: string;
2712
+ size: bigint;
2712
2713
  key: string | null;
2713
2714
  type: "cloud";
2714
2715
  storageType: "s3" | "cold";
2715
- size: bigint;
2716
2716
  md5: string;
2717
2717
  sizeEncrypted: bigint | null;
2718
2718
  md5Encrypted: string | null;
@@ -2726,10 +2726,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2726
2726
  publicKey: string;
2727
2727
  } | {
2728
2728
  id: string;
2729
+ size: bigint;
2729
2730
  key: string | null;
2730
2731
  type: "lite";
2731
2732
  storageType: "lite";
2732
- size: bigint;
2733
2733
  md5: string;
2734
2734
  sizeEncrypted: bigint | null;
2735
2735
  md5Encrypted: string | null;
@@ -2740,10 +2740,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2740
2740
  };
2741
2741
  _output_out: {
2742
2742
  id: string;
2743
+ size: bigint;
2743
2744
  key: string | null;
2744
2745
  type: "received_mail";
2745
2746
  storageType: "s3" | "cold" | "lite";
2746
- size: bigint;
2747
2747
  md5: string;
2748
2748
  sizeEncrypted: bigint | null;
2749
2749
  md5Encrypted: string | null;
@@ -2758,10 +2758,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2758
2758
  maybeContent: Buffer | null;
2759
2759
  } | {
2760
2760
  id: string;
2761
+ size: bigint;
2761
2762
  key: string | null;
2762
2763
  type: "sent_mail";
2763
2764
  storageType: "s3" | "cold" | "lite";
2764
- size: bigint;
2765
2765
  md5: string;
2766
2766
  sizeEncrypted: bigint | null;
2767
2767
  md5Encrypted: string | null;
@@ -2775,10 +2775,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2775
2775
  maybeContent: Buffer | null;
2776
2776
  } | {
2777
2777
  id: string;
2778
+ size: bigint;
2778
2779
  key: string | null;
2779
2780
  type: "cloud";
2780
2781
  storageType: "s3" | "cold";
2781
- size: bigint;
2782
2782
  md5: string;
2783
2783
  sizeEncrypted: bigint | null;
2784
2784
  md5Encrypted: string | null;
@@ -2792,10 +2792,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2792
2792
  publicKey: string;
2793
2793
  } | {
2794
2794
  id: string;
2795
+ size: bigint;
2795
2796
  key: string | null;
2796
2797
  type: "lite";
2797
2798
  storageType: "lite";
2798
- size: bigint;
2799
2799
  md5: string;
2800
2800
  sizeEncrypted: bigint | null;
2801
2801
  md5Encrypted: string | null;
@@ -2836,10 +2836,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2836
2836
  };
2837
2837
  _output_in: ({
2838
2838
  id: string;
2839
+ size: bigint;
2839
2840
  key: string | null;
2840
2841
  type: "received_mail";
2841
2842
  storageType: "s3" | "cold" | "lite";
2842
- size: bigint;
2843
2843
  md5: string;
2844
2844
  sizeEncrypted: bigint | null;
2845
2845
  md5Encrypted: string | null;
@@ -2854,10 +2854,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2854
2854
  maybeContent: Buffer | null;
2855
2855
  } | {
2856
2856
  id: string;
2857
+ size: bigint;
2857
2858
  key: string | null;
2858
2859
  type: "sent_mail";
2859
2860
  storageType: "s3" | "cold" | "lite";
2860
- size: bigint;
2861
2861
  md5: string;
2862
2862
  sizeEncrypted: bigint | null;
2863
2863
  md5Encrypted: string | null;
@@ -2871,10 +2871,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2871
2871
  maybeContent: Buffer | null;
2872
2872
  } | {
2873
2873
  id: string;
2874
+ size: bigint;
2874
2875
  key: string | null;
2875
2876
  type: "cloud";
2876
2877
  storageType: "s3" | "cold";
2877
- size: bigint;
2878
2878
  md5: string;
2879
2879
  sizeEncrypted: bigint | null;
2880
2880
  md5Encrypted: string | null;
@@ -2888,10 +2888,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2888
2888
  publicKey: string;
2889
2889
  } | {
2890
2890
  id: string;
2891
+ size: bigint;
2891
2892
  key: string | null;
2892
2893
  type: "lite";
2893
2894
  storageType: "lite";
2894
- size: bigint;
2895
2895
  md5: string;
2896
2896
  sizeEncrypted: bigint | null;
2897
2897
  md5Encrypted: string | null;
@@ -2902,10 +2902,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2902
2902
  })[];
2903
2903
  _output_out: ({
2904
2904
  id: string;
2905
+ size: bigint;
2905
2906
  key: string | null;
2906
2907
  type: "received_mail";
2907
2908
  storageType: "s3" | "cold" | "lite";
2908
- size: bigint;
2909
2909
  md5: string;
2910
2910
  sizeEncrypted: bigint | null;
2911
2911
  md5Encrypted: string | null;
@@ -2920,10 +2920,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2920
2920
  maybeContent: Buffer | null;
2921
2921
  } | {
2922
2922
  id: string;
2923
+ size: bigint;
2923
2924
  key: string | null;
2924
2925
  type: "sent_mail";
2925
2926
  storageType: "s3" | "cold" | "lite";
2926
- size: bigint;
2927
2927
  md5: string;
2928
2928
  sizeEncrypted: bigint | null;
2929
2929
  md5Encrypted: string | null;
@@ -2937,10 +2937,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2937
2937
  maybeContent: Buffer | null;
2938
2938
  } | {
2939
2939
  id: string;
2940
+ size: bigint;
2940
2941
  key: string | null;
2941
2942
  type: "cloud";
2942
2943
  storageType: "s3" | "cold";
2943
- size: bigint;
2944
2944
  md5: string;
2945
2945
  sizeEncrypted: bigint | null;
2946
2946
  md5Encrypted: string | null;
@@ -2954,10 +2954,10 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
2954
2954
  publicKey: string;
2955
2955
  } | {
2956
2956
  id: string;
2957
+ size: bigint;
2957
2958
  key: string | null;
2958
2959
  type: "lite";
2959
2960
  storageType: "lite";
2960
- size: bigint;
2961
2961
  md5: string;
2962
2962
  sizeEncrypted: bigint | null;
2963
2963
  md5Encrypted: string | null;
@@ -3118,8 +3118,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3118
3118
  current: {
3119
3119
  id: string;
3120
3120
  createdAt: Date;
3121
- storageType: "s3" | "cold" | "lite";
3122
3121
  size: bigint;
3122
+ storageType: "s3" | "cold" | "lite";
3123
3123
  createdByUserId: string;
3124
3124
  createdByAppId: string;
3125
3125
  createdByOrgId: string;
@@ -3138,8 +3138,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3138
3138
  history: {
3139
3139
  id: string;
3140
3140
  createdAt: Date;
3141
- storageType: "s3" | "cold" | "lite";
3142
3141
  size: bigint;
3142
+ storageType: "s3" | "cold" | "lite";
3143
3143
  createdByUserId: string;
3144
3144
  createdByAppId: string;
3145
3145
  createdByOrgId: string;
@@ -3271,8 +3271,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3271
3271
  current: {
3272
3272
  id: string;
3273
3273
  createdAt: Date;
3274
- storageType: "s3" | "cold" | "lite";
3275
3274
  size: bigint;
3275
+ storageType: "s3" | "cold" | "lite";
3276
3276
  createdByUserId: string;
3277
3277
  createdByAppId: string;
3278
3278
  createdByOrgId: string;
@@ -3291,8 +3291,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3291
3291
  history: {
3292
3292
  id: string;
3293
3293
  createdAt: Date;
3294
- storageType: "s3" | "cold" | "lite";
3295
3294
  size: bigint;
3295
+ storageType: "s3" | "cold" | "lite";
3296
3296
  createdByUserId: string;
3297
3297
  createdByAppId: string;
3298
3298
  createdByOrgId: string;
@@ -3477,9 +3477,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3477
3477
  deletedAt: Date | null;
3478
3478
  history: {
3479
3479
  createdAt: Date;
3480
+ size: bigint;
3480
3481
  dataId: string;
3481
3482
  storageType: "s3" | "cold" | "lite";
3482
- size: bigint;
3483
3483
  }[];
3484
3484
  access: {
3485
3485
  appId: string;
@@ -3518,9 +3518,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3518
3518
  deletedAt: Date | null;
3519
3519
  history: {
3520
3520
  createdAt: Date;
3521
+ size: bigint;
3521
3522
  dataId: string;
3522
3523
  storageType: "s3" | "cold" | "lite";
3523
- size: bigint;
3524
3524
  }[];
3525
3525
  access: {
3526
3526
  appId: string;
@@ -3657,33 +3657,33 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3657
3657
  _meta: object;
3658
3658
  _ctx_out: {};
3659
3659
  _input_in: {
3660
+ size: bigint;
3660
3661
  key: string;
3661
3662
  type: "encrypted";
3662
- size: bigint;
3663
3663
  md5: string;
3664
3664
  sizeEncrypted: bigint;
3665
3665
  md5Encrypted: string;
3666
3666
  mime?: string | undefined;
3667
3667
  ext?: string | undefined;
3668
3668
  } | {
3669
- type: "unencrypted";
3670
3669
  size: bigint;
3670
+ type: "unencrypted";
3671
3671
  md5: string;
3672
3672
  mime?: string | undefined;
3673
3673
  ext?: string | undefined;
3674
3674
  };
3675
3675
  _input_out: {
3676
+ size: bigint;
3676
3677
  key: string;
3677
3678
  type: "encrypted";
3678
- size: bigint;
3679
3679
  md5: string;
3680
3680
  sizeEncrypted: bigint;
3681
3681
  md5Encrypted: string;
3682
3682
  mime?: string | undefined;
3683
3683
  ext?: string | undefined;
3684
3684
  } | {
3685
- type: "unencrypted";
3686
3685
  size: bigint;
3686
+ type: "unencrypted";
3687
3687
  md5: string;
3688
3688
  mime?: string | undefined;
3689
3689
  ext?: string | undefined;
@@ -3741,33 +3741,33 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3741
3741
  _meta: object;
3742
3742
  _ctx_out: {};
3743
3743
  _input_in: {
3744
+ size: bigint;
3744
3745
  key: string;
3745
3746
  type: "encrypted";
3746
- size: bigint;
3747
3747
  md5: string;
3748
3748
  sizeEncrypted: bigint;
3749
3749
  md5Encrypted: string;
3750
3750
  mime?: string | undefined;
3751
3751
  ext?: string | undefined;
3752
3752
  } | {
3753
- type: "unencrypted";
3754
3753
  size: bigint;
3754
+ type: "unencrypted";
3755
3755
  md5: string;
3756
3756
  mime?: string | undefined;
3757
3757
  ext?: string | undefined;
3758
3758
  };
3759
3759
  _input_out: {
3760
+ size: bigint;
3760
3761
  key: string;
3761
3762
  type: "encrypted";
3762
- size: bigint;
3763
3763
  md5: string;
3764
3764
  sizeEncrypted: bigint;
3765
3765
  md5Encrypted: string;
3766
3766
  mime?: string | undefined;
3767
3767
  ext?: string | undefined;
3768
3768
  } | {
3769
- type: "unencrypted";
3770
3769
  size: bigint;
3770
+ type: "unencrypted";
3771
3771
  md5: string;
3772
3772
  mime?: string | undefined;
3773
3773
  ext?: string | undefined;
@@ -3825,9 +3825,9 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3825
3825
  _meta: object;
3826
3826
  _ctx_out: {};
3827
3827
  _input_in: {
3828
+ size: bigint;
3828
3829
  key: string;
3829
3830
  type: "encrypted";
3830
- size: bigint;
3831
3831
  md5: string;
3832
3832
  sizeEncrypted: bigint;
3833
3833
  md5Encrypted: string;
@@ -3835,17 +3835,17 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3835
3835
  mime?: string | undefined;
3836
3836
  ext?: string | undefined;
3837
3837
  } | {
3838
- type: "unencrypted";
3839
3838
  size: bigint;
3839
+ type: "unencrypted";
3840
3840
  md5: string;
3841
3841
  content: Buffer;
3842
3842
  mime?: string | undefined;
3843
3843
  ext?: string | undefined;
3844
3844
  };
3845
3845
  _input_out: {
3846
+ size: bigint;
3846
3847
  key: string;
3847
3848
  type: "encrypted";
3848
- size: bigint;
3849
3849
  md5: string;
3850
3850
  sizeEncrypted: bigint;
3851
3851
  md5Encrypted: string;
@@ -3853,8 +3853,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
3853
3853
  mime?: string | undefined;
3854
3854
  ext?: string | undefined;
3855
3855
  } | {
3856
- type: "unencrypted";
3857
3856
  size: bigint;
3857
+ type: "unencrypted";
3858
3858
  md5: string;
3859
3859
  content: Buffer;
3860
3860
  mime?: string | undefined;
@@ -4318,8 +4318,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4318
4318
  current: {
4319
4319
  id: string;
4320
4320
  createdAt: Date;
4321
- storageType: "s3" | "cold" | "lite";
4322
4321
  size: bigint;
4322
+ storageType: "s3" | "cold" | "lite";
4323
4323
  createdByUserId: string;
4324
4324
  createdByAppId: string;
4325
4325
  createdByOrgId: string;
@@ -4338,8 +4338,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4338
4338
  history: {
4339
4339
  id: string;
4340
4340
  createdAt: Date;
4341
- storageType: "s3" | "cold" | "lite";
4342
4341
  size: bigint;
4342
+ storageType: "s3" | "cold" | "lite";
4343
4343
  createdByUserId: string;
4344
4344
  createdByAppId: string;
4345
4345
  createdByOrgId: string;
@@ -4471,8 +4471,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4471
4471
  current: {
4472
4472
  id: string;
4473
4473
  createdAt: Date;
4474
- storageType: "s3" | "cold" | "lite";
4475
4474
  size: bigint;
4475
+ storageType: "s3" | "cold" | "lite";
4476
4476
  createdByUserId: string;
4477
4477
  createdByAppId: string;
4478
4478
  createdByOrgId: string;
@@ -4491,8 +4491,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
4491
4491
  history: {
4492
4492
  id: string;
4493
4493
  createdAt: Date;
4494
- storageType: "s3" | "cold" | "lite";
4495
4494
  size: bigint;
4495
+ storageType: "s3" | "cold" | "lite";
4496
4496
  createdByUserId: string;
4497
4497
  createdByAppId: string;
4498
4498
  createdByOrgId: string;
@@ -5122,8 +5122,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5122
5122
  current: {
5123
5123
  id: string;
5124
5124
  createdAt: Date;
5125
- storageType: "s3" | "cold" | "lite";
5126
5125
  size: bigint;
5126
+ storageType: "s3" | "cold" | "lite";
5127
5127
  createdByUserId: string;
5128
5128
  createdByAppId: string;
5129
5129
  createdByOrgId: string;
@@ -5142,8 +5142,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5142
5142
  history: {
5143
5143
  id: string;
5144
5144
  createdAt: Date;
5145
- storageType: "s3" | "cold" | "lite";
5146
5145
  size: bigint;
5146
+ storageType: "s3" | "cold" | "lite";
5147
5147
  createdByUserId: string;
5148
5148
  createdByAppId: string;
5149
5149
  createdByOrgId: string;
@@ -5275,8 +5275,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5275
5275
  current: {
5276
5276
  id: string;
5277
5277
  createdAt: Date;
5278
- storageType: "s3" | "cold" | "lite";
5279
5278
  size: bigint;
5279
+ storageType: "s3" | "cold" | "lite";
5280
5280
  createdByUserId: string;
5281
5281
  createdByAppId: string;
5282
5282
  createdByOrgId: string;
@@ -5295,8 +5295,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
5295
5295
  history: {
5296
5296
  id: string;
5297
5297
  createdAt: Date;
5298
- storageType: "s3" | "cold" | "lite";
5299
5298
  size: bigint;
5299
+ storageType: "s3" | "cold" | "lite";
5300
5300
  createdByUserId: string;
5301
5301
  createdByAppId: string;
5302
5302
  createdByOrgId: string;
@@ -6032,8 +6032,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6032
6032
  current: {
6033
6033
  id: string;
6034
6034
  createdAt: Date;
6035
- storageType: "s3" | "cold" | "lite";
6036
6035
  size: bigint;
6036
+ storageType: "s3" | "cold" | "lite";
6037
6037
  createdByUserId: string;
6038
6038
  createdByAppId: string;
6039
6039
  createdByOrgId: string;
@@ -6052,8 +6052,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6052
6052
  history: {
6053
6053
  id: string;
6054
6054
  createdAt: Date;
6055
- storageType: "s3" | "cold" | "lite";
6056
6055
  size: bigint;
6056
+ storageType: "s3" | "cold" | "lite";
6057
6057
  createdByUserId: string;
6058
6058
  createdByAppId: string;
6059
6059
  createdByOrgId: string;
@@ -6185,8 +6185,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6185
6185
  current: {
6186
6186
  id: string;
6187
6187
  createdAt: Date;
6188
- storageType: "s3" | "cold" | "lite";
6189
6188
  size: bigint;
6189
+ storageType: "s3" | "cold" | "lite";
6190
6190
  createdByUserId: string;
6191
6191
  createdByAppId: string;
6192
6192
  createdByOrgId: string;
@@ -6205,8 +6205,8 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
6205
6205
  history: {
6206
6206
  id: string;
6207
6207
  createdAt: Date;
6208
- storageType: "s3" | "cold" | "lite";
6209
6208
  size: bigint;
6209
+ storageType: "s3" | "cold" | "lite";
6210
6210
  createdByUserId: string;
6211
6211
  createdByAppId: string;
6212
6212
  createdByOrgId: string;
@@ -15481,10 +15481,50 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
15481
15481
  }[];
15482
15482
  };
15483
15483
  _output_in: {
15484
+ name: string;
15484
15485
  id: string;
15486
+ ownerId: string;
15487
+ blocked: boolean;
15488
+ color: string | null;
15489
+ logo: string | null;
15490
+ createdAt: Date;
15491
+ updatedAt: Date;
15492
+ deletedAt: Date | null;
15493
+ origin: string[];
15494
+ isCare: boolean;
15495
+ planId: string;
15496
+ stripeInvoices: string[];
15497
+ stripeSubId: string | null;
15498
+ stripeSubPaidUntil: Date | null;
15499
+ stripeLastMetricReport: Date;
15500
+ lastMetricsReset: Date;
15501
+ settingsId: string;
15502
+ quotasId: string;
15503
+ neonProjectId: string | null;
15504
+ billingProfileStripeCustomerId: string | null;
15485
15505
  };
15486
15506
  _output_out: {
15507
+ name: string;
15487
15508
  id: string;
15509
+ ownerId: string;
15510
+ blocked: boolean;
15511
+ color: string | null;
15512
+ logo: string | null;
15513
+ createdAt: Date;
15514
+ updatedAt: Date;
15515
+ deletedAt: Date | null;
15516
+ origin: string[];
15517
+ isCare: boolean;
15518
+ planId: string;
15519
+ stripeInvoices: string[];
15520
+ stripeSubId: string | null;
15521
+ stripeSubPaidUntil: Date | null;
15522
+ stripeLastMetricReport: Date;
15523
+ lastMetricsReset: Date;
15524
+ settingsId: string;
15525
+ quotasId: string;
15526
+ neonProjectId: string | null;
15527
+ billingProfileStripeCustomerId: string | null;
15488
15528
  };
15489
15529
  }, unknown>;
15490
15530
  createSubscription: _trpc_server.BuildProcedure<"mutation", {
@@ -15548,9 +15588,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
15548
15588
  ls: TranslationFunctions;
15549
15589
  };
15550
15590
  _input_in: {
15591
+ appId: string;
15551
15592
  planName: string;
15552
15593
  };
15553
15594
  _input_out: {
15595
+ appId: string;
15554
15596
  planName: string;
15555
15597
  };
15556
15598
  _output_in: {
@@ -15621,9 +15663,11 @@ declare const appRouter: _trpc_server.CreateRouterInner<_trpc_server.RootConfig<
15621
15663
  ls: TranslationFunctions;
15622
15664
  };
15623
15665
  _input_in: {
15666
+ appId: string;
15624
15667
  waitUntilPeriodEnd: boolean;
15625
15668
  };
15626
15669
  _input_out: {
15670
+ appId: string;
15627
15671
  waitUntilPeriodEnd: boolean;
15628
15672
  };
15629
15673
  _output_in: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.33.0-feat-orgs.17",
3
+ "version": "1.33.0-feat-orgs.18",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"