@secrecy/trpc-api-types 1.33.0-feat-unlog-upload.17 → 1.33.0-feat-enhanced-create-org.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 +44 -13
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1673,7 +1673,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1673
1673
|
output: {
|
|
1674
1674
|
type: "authed";
|
|
1675
1675
|
id: string;
|
|
1676
|
-
storageType: "s3" | "cold";
|
|
1676
|
+
storageType: "s3" | "cold" | "lite";
|
|
1677
1677
|
parts: {
|
|
1678
1678
|
url: string;
|
|
1679
1679
|
order: number;
|
|
@@ -1718,7 +1718,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1718
1718
|
output: {
|
|
1719
1719
|
type: "authed";
|
|
1720
1720
|
id: string;
|
|
1721
|
-
storageType: "s3" | "cold";
|
|
1721
|
+
storageType: "s3" | "cold" | "lite";
|
|
1722
1722
|
parts: {
|
|
1723
1723
|
url: string;
|
|
1724
1724
|
order: number;
|
|
@@ -1765,6 +1765,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1765
1765
|
output: {
|
|
1766
1766
|
type: "authed";
|
|
1767
1767
|
id: string;
|
|
1768
|
+
storageType: "s3" | "cold" | "lite";
|
|
1768
1769
|
key: string | null;
|
|
1769
1770
|
keyPair: {
|
|
1770
1771
|
pub: string;
|
|
@@ -1773,6 +1774,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1773
1774
|
} | {
|
|
1774
1775
|
type: "guest";
|
|
1775
1776
|
id: string;
|
|
1777
|
+
storageType: "s3" | "cold" | "lite";
|
|
1776
1778
|
};
|
|
1777
1779
|
meta: any;
|
|
1778
1780
|
}>;
|
|
@@ -2760,10 +2762,17 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2760
2762
|
delAccess?: "delete" | "read" | "write" | null | undefined;
|
|
2761
2763
|
sharingDelAccess?: "delete" | "read" | "write" | null | undefined;
|
|
2762
2764
|
});
|
|
2763
|
-
output: Record<string, {
|
|
2765
|
+
output: Record<string, ({
|
|
2764
2766
|
nodeId: string;
|
|
2765
2767
|
includeKeys: boolean;
|
|
2766
|
-
}
|
|
2768
|
+
} & {
|
|
2769
|
+
rights: "delete" | "read" | "write";
|
|
2770
|
+
} & {
|
|
2771
|
+
addAccess?: "delete" | "read" | "write" | null | undefined;
|
|
2772
|
+
sharingAddAccess?: "delete" | "read" | "write" | null | undefined;
|
|
2773
|
+
delAccess?: "delete" | "read" | "write" | null | undefined;
|
|
2774
|
+
sharingDelAccess?: "delete" | "read" | "write" | null | undefined;
|
|
2775
|
+
})[]>;
|
|
2767
2776
|
meta: any;
|
|
2768
2777
|
}>;
|
|
2769
2778
|
updateNode: _trpc_server.TRPCMutationProcedure<{
|
|
@@ -4876,6 +4885,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4876
4885
|
createSubscription: _trpc_server.TRPCMutationProcedure<{
|
|
4877
4886
|
input: {
|
|
4878
4887
|
planKind: "free" | "basic" | "advanced" | "pro";
|
|
4888
|
+
orgId?: string | undefined;
|
|
4889
|
+
returnUrl?: string | undefined;
|
|
4879
4890
|
billingProfileId?: string | undefined;
|
|
4880
4891
|
};
|
|
4881
4892
|
output: {
|
|
@@ -4886,17 +4897,37 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4886
4897
|
create: _trpc_server.TRPCMutationProcedure<{
|
|
4887
4898
|
input: {
|
|
4888
4899
|
name: string;
|
|
4900
|
+
billingProfileId?: string | undefined;
|
|
4901
|
+
planKind?: "free" | "basic" | "advanced" | "pro" | undefined;
|
|
4902
|
+
returnUrl?: string | undefined;
|
|
4889
4903
|
};
|
|
4890
4904
|
output: {
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4905
|
+
type: "immediate";
|
|
4906
|
+
organization: {
|
|
4907
|
+
id: string;
|
|
4908
|
+
name: string;
|
|
4909
|
+
createdAt: Date;
|
|
4910
|
+
ownerId: string;
|
|
4911
|
+
planId: string;
|
|
4912
|
+
quotasId: string;
|
|
4913
|
+
stripeSubId: string | null;
|
|
4914
|
+
stripeSubPaidUntil: Date | null;
|
|
4915
|
+
billingProfileStripeCustomerId: string | null;
|
|
4916
|
+
};
|
|
4917
|
+
} | {
|
|
4918
|
+
type: "checkout";
|
|
4919
|
+
url: string;
|
|
4920
|
+
organization: {
|
|
4921
|
+
id: string;
|
|
4922
|
+
name: string;
|
|
4923
|
+
createdAt: Date;
|
|
4924
|
+
ownerId: string;
|
|
4925
|
+
planId: string;
|
|
4926
|
+
quotasId: string;
|
|
4927
|
+
stripeSubId: string | null;
|
|
4928
|
+
stripeSubPaidUntil: Date | null;
|
|
4929
|
+
billingProfileStripeCustomerId: string | null;
|
|
4930
|
+
};
|
|
4900
4931
|
};
|
|
4901
4932
|
meta: any;
|
|
4902
4933
|
}>;
|