@secrecy/lib 1.39.0-feat-custom-tech-plan.3 → 1.39.0-feat-custom-tech-plan.5

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.
@@ -626,20 +626,20 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
626
626
  _input_in: {} | undefined;
627
627
  _input_out: {} | undefined;
628
628
  _output_in: {
629
- codes: string[];
630
629
  id: string;
631
- kind: string;
632
- relatedTo: "secrecy" | "secrecy_tech";
630
+ name: string;
633
631
  descriptorId: string;
634
- isCustomPlan: boolean;
632
+ stripePricesId: string | null;
633
+ isCustomPlan?: boolean | undefined;
634
+ canHaveDatabase?: boolean | undefined;
635
635
  };
636
636
  _output_out: {
637
- codes: string[];
638
637
  id: string;
639
- kind: string;
640
- relatedTo: "secrecy" | "secrecy_tech";
638
+ name: string;
641
639
  descriptorId: string;
642
640
  isCustomPlan: boolean;
641
+ canHaveDatabase: boolean;
642
+ stripePricesId: string | null;
643
643
  };
644
644
  }, unknown>>;
645
645
  };
@@ -678,7 +678,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
678
678
  }>;
679
679
  _meta: object;
680
680
  _ctx_out: {
681
- session: SecrecySession | null;
681
+ session: SecrecySessionWithApp;
682
682
  req: {
683
683
  headers: Headers;
684
684
  body: ReadableStream<Uint8Array> | null;
@@ -692,12 +692,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
692
692
  _input_in: {} | undefined;
693
693
  _input_out: {} | undefined;
694
694
  _output_in: ({
695
- codes: string[];
696
695
  id: string;
697
- kind: string;
698
- relatedTo: "secrecy" | "secrecy_tech";
699
- descriptorId: string;
700
- isCustomPlan: boolean;
696
+ name: string;
697
+ isCustomPlan?: boolean | undefined;
698
+ canHaveDatabase?: boolean | undefined;
701
699
  } & {
702
700
  descriptor: {
703
701
  devsBase: bigint | null;
@@ -725,12 +723,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
725
723
  price: number;
726
724
  })[];
727
725
  _output_out: ({
728
- codes: string[];
729
726
  id: string;
730
- kind: string;
731
- relatedTo: "secrecy" | "secrecy_tech";
732
- descriptorId: string;
727
+ name: string;
733
728
  isCustomPlan: boolean;
729
+ canHaveDatabase: boolean;
734
730
  } & {
735
731
  descriptor: {
736
732
  devsBase: bigint | null;
@@ -15719,12 +15715,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
15719
15715
  };
15720
15716
  _output_in: {
15721
15717
  plan: {
15722
- codes: string[];
15723
15718
  id: string;
15724
- kind: string;
15725
- relatedTo: "secrecy" | "secrecy_tech";
15726
- descriptorId: string;
15727
- isCustomPlan: boolean;
15719
+ name: string;
15720
+ isCustomPlan?: boolean | undefined;
15721
+ canHaveDatabase?: boolean | undefined;
15728
15722
  } & {
15729
15723
  descriptor: {
15730
15724
  devsBase: bigint | null;
@@ -15770,12 +15764,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
15770
15764
  } | null;
15771
15765
  };
15772
15766
  plans: ({
15773
- codes: string[];
15774
15767
  id: string;
15775
- kind: string;
15776
- relatedTo: "secrecy" | "secrecy_tech";
15777
- descriptorId: string;
15778
- isCustomPlan: boolean;
15768
+ name: string;
15769
+ isCustomPlan?: boolean | undefined;
15770
+ canHaveDatabase?: boolean | undefined;
15779
15771
  } & {
15780
15772
  descriptor: {
15781
15773
  devsBase: bigint | null;
@@ -15803,12 +15795,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
15803
15795
  };
15804
15796
  _output_out: {
15805
15797
  plan: {
15806
- codes: string[];
15807
15798
  id: string;
15808
- kind: string;
15809
- relatedTo: "secrecy" | "secrecy_tech";
15810
- descriptorId: string;
15799
+ name: string;
15811
15800
  isCustomPlan: boolean;
15801
+ canHaveDatabase: boolean;
15812
15802
  } & {
15813
15803
  descriptor: {
15814
15804
  devsBase: bigint | null;
@@ -15854,12 +15844,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
15854
15844
  } | null;
15855
15845
  };
15856
15846
  plans: ({
15857
- codes: string[];
15858
15847
  id: string;
15859
- kind: string;
15860
- relatedTo: "secrecy" | "secrecy_tech";
15861
- descriptorId: string;
15848
+ name: string;
15862
15849
  isCustomPlan: boolean;
15850
+ canHaveDatabase: boolean;
15863
15851
  } & {
15864
15852
  descriptor: {
15865
15853
  devsBase: bigint | null;
@@ -15941,12 +15929,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
15941
15929
  };
15942
15930
  _output_in: {
15943
15931
  plan: {
15944
- codes: string[];
15945
15932
  id: string;
15946
- kind: string;
15947
- relatedTo: "secrecy" | "secrecy_tech";
15948
- descriptorId: string;
15949
- isCustomPlan: boolean;
15933
+ name: string;
15934
+ isCustomPlan?: boolean | undefined;
15935
+ canHaveDatabase?: boolean | undefined;
15950
15936
  } & {
15951
15937
  descriptor: {
15952
15938
  devsBase: bigint | null;
@@ -15992,12 +15978,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
15992
15978
  } | null;
15993
15979
  };
15994
15980
  plans: ({
15995
- codes: string[];
15996
15981
  id: string;
15997
- kind: string;
15998
- relatedTo: "secrecy" | "secrecy_tech";
15999
- descriptorId: string;
16000
- isCustomPlan: boolean;
15982
+ name: string;
15983
+ isCustomPlan?: boolean | undefined;
15984
+ canHaveDatabase?: boolean | undefined;
16001
15985
  } & {
16002
15986
  descriptor: {
16003
15987
  devsBase: bigint | null;
@@ -16025,12 +16009,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16025
16009
  }[];
16026
16010
  _output_out: {
16027
16011
  plan: {
16028
- codes: string[];
16029
16012
  id: string;
16030
- kind: string;
16031
- relatedTo: "secrecy" | "secrecy_tech";
16032
- descriptorId: string;
16013
+ name: string;
16033
16014
  isCustomPlan: boolean;
16015
+ canHaveDatabase: boolean;
16034
16016
  } & {
16035
16017
  descriptor: {
16036
16018
  devsBase: bigint | null;
@@ -16076,12 +16058,10 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16076
16058
  } | null;
16077
16059
  };
16078
16060
  plans: ({
16079
- codes: string[];
16080
16061
  id: string;
16081
- kind: string;
16082
- relatedTo: "secrecy" | "secrecy_tech";
16083
- descriptorId: string;
16062
+ name: string;
16084
16063
  isCustomPlan: boolean;
16064
+ canHaveDatabase: boolean;
16085
16065
  } & {
16086
16066
  descriptor: {
16087
16067
  devsBase: bigint | null;
@@ -16317,11 +16297,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16317
16297
  };
16318
16298
  _input_in: {
16319
16299
  appId: string;
16320
- planCode: "tech_solo_month" | "tech_pro_month" | "tech_premium_month";
16300
+ planName: string;
16321
16301
  };
16322
16302
  _input_out: {
16323
16303
  appId: string;
16324
- planCode: "tech_solo_month" | "tech_pro_month" | "tech_premium_month";
16304
+ planName: string;
16325
16305
  };
16326
16306
  _output_in: {
16327
16307
  url: string | null;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@secrecy/lib",
3
3
  "author": "Anonymize <anonymize@gmail.com>",
4
4
  "description": "Anonymize Secrecy Library",
5
- "version": "1.39.0-feat-custom-tech-plan.3",
5
+ "version": "1.39.0-feat-custom-tech-plan.5",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/anonymize-org/lib.git"
@@ -74,7 +74,7 @@
74
74
  },
75
75
  "dependencies": {
76
76
  "@secrecy/lib-utils": "^1.0.18",
77
- "@secrecy/trpc-api-types": "1.33.0-feat-custom-tech-plan.2",
77
+ "@secrecy/trpc-api-types": "1.33.0-feat-custom-tech-plan.5",
78
78
  "@trpc/client": "10.45.2",
79
79
  "@trpc/server": "10.45.2",
80
80
  "@types/libsodium-wrappers-sumo": "^0.7.8",