@secrecy/trpc-api-types 1.33.0-fix-account-swtich-org.1 → 1.33.0-fix-rename-fake-id.1

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.ts +49 -55
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -560,6 +560,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
560
560
  stripeSubPaidUntil: Date | null;
561
561
  billingProfileStripeCustomerId: string | null;
562
562
  status: "active" | "inactive" | "pending_for_payment";
563
+ minMembersToReport: number;
563
564
  };
564
565
  meta: any;
565
566
  }>;
@@ -4505,7 +4506,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
4505
4506
  }>;
4506
4507
  sendAppMail: _trpc_server.TRPCMutationProcedure<{
4507
4508
  input: {
4508
- fakeUserIds: string[];
4509
+ userAppIds: string[];
4509
4510
  subject: string;
4510
4511
  html: string;
4511
4512
  };
@@ -4852,6 +4853,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
4852
4853
  stripeSubPaidUntil: Date | null;
4853
4854
  billingProfileStripeCustomerId: string | null;
4854
4855
  status: "active" | "inactive" | "pending_for_payment";
4856
+ minMembersToReport: number;
4855
4857
  } & {
4856
4858
  plan: {
4857
4859
  id: string;
@@ -4888,6 +4890,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
4888
4890
  input: {
4889
4891
  planKind: "free" | "basic" | "advanced" | "pro";
4890
4892
  orgId?: string | undefined;
4893
+ minMembers?: number | undefined;
4891
4894
  returnUrl?: string | undefined;
4892
4895
  billingProfileId?: string | undefined;
4893
4896
  };
@@ -4900,8 +4903,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
4900
4903
  input: {
4901
4904
  name: string;
4902
4905
  billingProfileId?: string | undefined;
4903
- planKind?: "free" | "basic" | "advanced" | "pro" | undefined;
4904
4906
  returnUrl?: string | undefined;
4907
+ plan?: {
4908
+ kind: "free" | "basic" | "advanced" | "pro";
4909
+ minMembers?: number | undefined;
4910
+ } | undefined;
4905
4911
  };
4906
4912
  output: {
4907
4913
  type: "immediate";
@@ -4916,6 +4922,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
4916
4922
  stripeSubPaidUntil: Date | null;
4917
4923
  billingProfileStripeCustomerId: string | null;
4918
4924
  status: "active" | "inactive" | "pending_for_payment";
4925
+ minMembersToReport: number;
4919
4926
  };
4920
4927
  } | {
4921
4928
  type: "checkout";
@@ -4931,6 +4938,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
4931
4938
  stripeSubPaidUntil: Date | null;
4932
4939
  billingProfileStripeCustomerId: string | null;
4933
4940
  status: "active" | "inactive" | "pending_for_payment";
4941
+ minMembersToReport: number;
4934
4942
  };
4935
4943
  };
4936
4944
  meta: any;
@@ -4950,6 +4958,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
4950
4958
  stripeSubPaidUntil: Date | null;
4951
4959
  billingProfileStripeCustomerId: string | null;
4952
4960
  status: "active" | "inactive" | "pending_for_payment";
4961
+ minMembersToReport: number;
4953
4962
  };
4954
4963
  meta: any;
4955
4964
  }>;
@@ -4989,6 +4998,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
4989
4998
  stripeSubPaidUntil: Date | null;
4990
4999
  billingProfileStripeCustomerId: string | null;
4991
5000
  status: "active" | "inactive" | "pending_for_payment";
5001
+ minMembersToReport: number;
4992
5002
  }[];
4993
5003
  meta: any;
4994
5004
  }>;
@@ -5029,6 +5039,41 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
5029
5039
  };
5030
5040
  meta: any;
5031
5041
  }>;
5042
+ plans: _trpc_server.TRPCQueryProcedure<{
5043
+ input: Record<string, never>;
5044
+ output: {
5045
+ plans: {
5046
+ id: string;
5047
+ kind: "free" | "basic" | "advanced" | "pro";
5048
+ quotasId: string;
5049
+ stripePricesId: string | null;
5050
+ quotas: {
5051
+ downloadBandwidth: bigint | null;
5052
+ uploadBandwidth: bigint | null;
5053
+ downloadCount: bigint | null;
5054
+ uploadCount: bigint | null;
5055
+ totalDataCount: bigint | null;
5056
+ totalStorageSize: bigint | null;
5057
+ perDataSize: bigint | null;
5058
+ sentMails: {
5059
+ count: bigint | null;
5060
+ dataCount: bigint | null;
5061
+ dataSize: bigint | null;
5062
+ totalDataCount: bigint | null;
5063
+ totalStorageSize: bigint | null;
5064
+ perDataSize: bigint | null;
5065
+ totalCount: bigint | null;
5066
+ };
5067
+ };
5068
+ price: number;
5069
+ }[];
5070
+ membersTiers: {
5071
+ up_to: number | "inf";
5072
+ unit_amount: number;
5073
+ }[];
5074
+ };
5075
+ meta: any;
5076
+ }>;
5032
5077
  removeMember: _trpc_server.TRPCMutationProcedure<{
5033
5078
  input: {
5034
5079
  orgId: string;
@@ -5055,6 +5100,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
5055
5100
  stripeSubPaidUntil: Date | null;
5056
5101
  billingProfileStripeCustomerId: string | null;
5057
5102
  status: "active" | "inactive" | "pending_for_payment";
5103
+ minMembersToReport: number;
5058
5104
  };
5059
5105
  meta: any;
5060
5106
  }>;
@@ -5089,6 +5135,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
5089
5135
  stripeSubPaidUntil: Date | null;
5090
5136
  billingProfileStripeCustomerId: string | null;
5091
5137
  status: "active" | "inactive" | "pending_for_payment";
5138
+ minMembersToReport: number;
5092
5139
  };
5093
5140
  meta: any;
5094
5141
  }>;
@@ -5170,59 +5217,6 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
5170
5217
  meta: any;
5171
5218
  }>;
5172
5219
  }>>;
5173
- plan: _trpc_server.TRPCBuiltRouter<{
5174
- ctx: any;
5175
- meta: any;
5176
- errorShape: {
5177
- message: string;
5178
- code: _trpc_server.TRPC_ERROR_CODE_NUMBER;
5179
- data: _trpc_server.TRPCDefaultErrorData;
5180
- } | {
5181
- data: {
5182
- zodError: zod_v4.ZodFlattenedError<unknown, string> | null;
5183
- code: _trpc_server.TRPC_ERROR_CODE_KEY;
5184
- httpStatus: number;
5185
- path?: string;
5186
- stack?: string;
5187
- };
5188
- message: string;
5189
- code: _trpc_server.TRPC_ERROR_CODE_NUMBER;
5190
- };
5191
- transformer: true;
5192
- }, _trpc_server.TRPCDecorateCreateRouterOptions<{
5193
- all: _trpc_server.TRPCQueryProcedure<{
5194
- input: Record<string, never>;
5195
- output: ({
5196
- id: string;
5197
- kind: "free" | "basic" | "advanced" | "pro";
5198
- quotasId: string;
5199
- stripePricesId: string | null;
5200
- } & {
5201
- quotas: {
5202
- downloadBandwidth: bigint | null;
5203
- uploadBandwidth: bigint | null;
5204
- downloadCount: bigint | null;
5205
- uploadCount: bigint | null;
5206
- totalDataCount: bigint | null;
5207
- totalStorageSize: bigint | null;
5208
- perDataSize: bigint | null;
5209
- } & {
5210
- sentMails: {
5211
- count: bigint | null;
5212
- dataCount: bigint | null;
5213
- dataSize: bigint | null;
5214
- totalDataCount: bigint | null;
5215
- totalStorageSize: bigint | null;
5216
- perDataSize: bigint | null;
5217
- totalCount: bigint | null;
5218
- };
5219
- };
5220
- } & {
5221
- price: number;
5222
- })[];
5223
- meta: any;
5224
- }>;
5225
- }>>;
5226
5220
  pseudonym: _trpc_server.TRPCBuiltRouter<{
5227
5221
  ctx: any;
5228
5222
  meta: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secrecy/trpc-api-types",
3
- "version": "1.33.0-fix-account-swtich-org.1",
3
+ "version": "1.33.0-fix-rename-fake-id.1",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"