@secrecy/trpc-api-types 1.33.0-feat-sso-login-userid.1 → 1.33.0-feat-groups-identity.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.
- package/dist/index.d.ts +54 -58
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -444,7 +444,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
444
444
|
};
|
|
445
445
|
events: {
|
|
446
446
|
id: string;
|
|
447
|
-
|
|
447
|
+
dataReportUserId: string;
|
|
448
448
|
type: "delete" | "read" | "add";
|
|
449
449
|
date: Date;
|
|
450
450
|
reportedDataId: string;
|
|
@@ -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
|
}>;
|
|
@@ -2204,6 +2205,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2204
2205
|
id: string;
|
|
2205
2206
|
};
|
|
2206
2207
|
output: {
|
|
2208
|
+
id: string;
|
|
2207
2209
|
nameKey: string | null;
|
|
2208
2210
|
isRoot: boolean;
|
|
2209
2211
|
createdAt: Date;
|
|
@@ -2212,8 +2214,9 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2212
2214
|
sharingAddAccess: "delete" | "read" | "write" | null;
|
|
2213
2215
|
delAccess: "delete" | "read" | "write" | null;
|
|
2214
2216
|
sharingDelAccess: "delete" | "read" | "write" | null;
|
|
2215
|
-
userAppUserId: string;
|
|
2216
|
-
userAppAppId: string;
|
|
2217
|
+
userAppUserId: string | null;
|
|
2218
|
+
userAppAppId: string | null;
|
|
2219
|
+
groupId: string | null;
|
|
2217
2220
|
sharedByUserId: string;
|
|
2218
2221
|
sharedByAppId: string;
|
|
2219
2222
|
nodeId: string;
|
|
@@ -4505,7 +4508,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4505
4508
|
}>;
|
|
4506
4509
|
sendAppMail: _trpc_server.TRPCMutationProcedure<{
|
|
4507
4510
|
input: {
|
|
4508
|
-
|
|
4511
|
+
userAppIds: string[];
|
|
4509
4512
|
subject: string;
|
|
4510
4513
|
html: string;
|
|
4511
4514
|
};
|
|
@@ -4852,6 +4855,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4852
4855
|
stripeSubPaidUntil: Date | null;
|
|
4853
4856
|
billingProfileStripeCustomerId: string | null;
|
|
4854
4857
|
status: "active" | "inactive" | "pending_for_payment";
|
|
4858
|
+
minMembersToReport: number;
|
|
4855
4859
|
} & {
|
|
4856
4860
|
plan: {
|
|
4857
4861
|
id: string;
|
|
@@ -4888,6 +4892,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4888
4892
|
input: {
|
|
4889
4893
|
planKind: "free" | "basic" | "advanced" | "pro";
|
|
4890
4894
|
orgId?: string | undefined;
|
|
4895
|
+
minMembers?: number | undefined;
|
|
4891
4896
|
returnUrl?: string | undefined;
|
|
4892
4897
|
billingProfileId?: string | undefined;
|
|
4893
4898
|
};
|
|
@@ -4900,8 +4905,11 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4900
4905
|
input: {
|
|
4901
4906
|
name: string;
|
|
4902
4907
|
billingProfileId?: string | undefined;
|
|
4903
|
-
planKind?: "free" | "basic" | "advanced" | "pro" | undefined;
|
|
4904
4908
|
returnUrl?: string | undefined;
|
|
4909
|
+
plan?: {
|
|
4910
|
+
kind: "free" | "basic" | "advanced" | "pro";
|
|
4911
|
+
minMembers?: number | undefined;
|
|
4912
|
+
} | undefined;
|
|
4905
4913
|
};
|
|
4906
4914
|
output: {
|
|
4907
4915
|
type: "immediate";
|
|
@@ -4916,6 +4924,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4916
4924
|
stripeSubPaidUntil: Date | null;
|
|
4917
4925
|
billingProfileStripeCustomerId: string | null;
|
|
4918
4926
|
status: "active" | "inactive" | "pending_for_payment";
|
|
4927
|
+
minMembersToReport: number;
|
|
4919
4928
|
};
|
|
4920
4929
|
} | {
|
|
4921
4930
|
type: "checkout";
|
|
@@ -4931,6 +4940,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4931
4940
|
stripeSubPaidUntil: Date | null;
|
|
4932
4941
|
billingProfileStripeCustomerId: string | null;
|
|
4933
4942
|
status: "active" | "inactive" | "pending_for_payment";
|
|
4943
|
+
minMembersToReport: number;
|
|
4934
4944
|
};
|
|
4935
4945
|
};
|
|
4936
4946
|
meta: any;
|
|
@@ -4950,6 +4960,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4950
4960
|
stripeSubPaidUntil: Date | null;
|
|
4951
4961
|
billingProfileStripeCustomerId: string | null;
|
|
4952
4962
|
status: "active" | "inactive" | "pending_for_payment";
|
|
4963
|
+
minMembersToReport: number;
|
|
4953
4964
|
};
|
|
4954
4965
|
meta: any;
|
|
4955
4966
|
}>;
|
|
@@ -4989,6 +5000,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4989
5000
|
stripeSubPaidUntil: Date | null;
|
|
4990
5001
|
billingProfileStripeCustomerId: string | null;
|
|
4991
5002
|
status: "active" | "inactive" | "pending_for_payment";
|
|
5003
|
+
minMembersToReport: number;
|
|
4992
5004
|
}[];
|
|
4993
5005
|
meta: any;
|
|
4994
5006
|
}>;
|
|
@@ -5029,6 +5041,41 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5029
5041
|
};
|
|
5030
5042
|
meta: any;
|
|
5031
5043
|
}>;
|
|
5044
|
+
plans: _trpc_server.TRPCQueryProcedure<{
|
|
5045
|
+
input: Record<string, never>;
|
|
5046
|
+
output: {
|
|
5047
|
+
plans: {
|
|
5048
|
+
id: string;
|
|
5049
|
+
kind: "free" | "basic" | "advanced" | "pro";
|
|
5050
|
+
quotasId: string;
|
|
5051
|
+
stripePricesId: string | null;
|
|
5052
|
+
quotas: {
|
|
5053
|
+
downloadBandwidth: bigint | null;
|
|
5054
|
+
uploadBandwidth: bigint | null;
|
|
5055
|
+
downloadCount: bigint | null;
|
|
5056
|
+
uploadCount: bigint | null;
|
|
5057
|
+
totalDataCount: bigint | null;
|
|
5058
|
+
totalStorageSize: bigint | null;
|
|
5059
|
+
perDataSize: bigint | null;
|
|
5060
|
+
sentMails: {
|
|
5061
|
+
count: bigint | null;
|
|
5062
|
+
dataCount: bigint | null;
|
|
5063
|
+
dataSize: bigint | null;
|
|
5064
|
+
totalDataCount: bigint | null;
|
|
5065
|
+
totalStorageSize: bigint | null;
|
|
5066
|
+
perDataSize: bigint | null;
|
|
5067
|
+
totalCount: bigint | null;
|
|
5068
|
+
};
|
|
5069
|
+
};
|
|
5070
|
+
price: number;
|
|
5071
|
+
}[];
|
|
5072
|
+
membersTiers: {
|
|
5073
|
+
up_to: number | "inf";
|
|
5074
|
+
unit_amount: number;
|
|
5075
|
+
}[];
|
|
5076
|
+
};
|
|
5077
|
+
meta: any;
|
|
5078
|
+
}>;
|
|
5032
5079
|
removeMember: _trpc_server.TRPCMutationProcedure<{
|
|
5033
5080
|
input: {
|
|
5034
5081
|
orgId: string;
|
|
@@ -5055,6 +5102,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5055
5102
|
stripeSubPaidUntil: Date | null;
|
|
5056
5103
|
billingProfileStripeCustomerId: string | null;
|
|
5057
5104
|
status: "active" | "inactive" | "pending_for_payment";
|
|
5105
|
+
minMembersToReport: number;
|
|
5058
5106
|
};
|
|
5059
5107
|
meta: any;
|
|
5060
5108
|
}>;
|
|
@@ -5089,6 +5137,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5089
5137
|
stripeSubPaidUntil: Date | null;
|
|
5090
5138
|
billingProfileStripeCustomerId: string | null;
|
|
5091
5139
|
status: "active" | "inactive" | "pending_for_payment";
|
|
5140
|
+
minMembersToReport: number;
|
|
5092
5141
|
};
|
|
5093
5142
|
meta: any;
|
|
5094
5143
|
}>;
|
|
@@ -5170,59 +5219,6 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5170
5219
|
meta: any;
|
|
5171
5220
|
}>;
|
|
5172
5221
|
}>>;
|
|
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
5222
|
pseudonym: _trpc_server.TRPCBuiltRouter<{
|
|
5227
5223
|
ctx: any;
|
|
5228
5224
|
meta: any;
|