@secrecy/trpc-api-types 1.33.0-feat-unlog-upload.17 → 1.33.0-feat-enhanced-create-org.2
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 +52 -13
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -559,6 +559,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
559
559
|
stripeSubId: string | null;
|
|
560
560
|
stripeSubPaidUntil: Date | null;
|
|
561
561
|
billingProfileStripeCustomerId: string | null;
|
|
562
|
+
status: "active" | "inactive" | "pending_for_payment";
|
|
562
563
|
};
|
|
563
564
|
meta: any;
|
|
564
565
|
}>;
|
|
@@ -1673,7 +1674,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1673
1674
|
output: {
|
|
1674
1675
|
type: "authed";
|
|
1675
1676
|
id: string;
|
|
1676
|
-
storageType: "s3" | "cold";
|
|
1677
|
+
storageType: "s3" | "cold" | "lite";
|
|
1677
1678
|
parts: {
|
|
1678
1679
|
url: string;
|
|
1679
1680
|
order: number;
|
|
@@ -1718,7 +1719,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1718
1719
|
output: {
|
|
1719
1720
|
type: "authed";
|
|
1720
1721
|
id: string;
|
|
1721
|
-
storageType: "s3" | "cold";
|
|
1722
|
+
storageType: "s3" | "cold" | "lite";
|
|
1722
1723
|
parts: {
|
|
1723
1724
|
url: string;
|
|
1724
1725
|
order: number;
|
|
@@ -1765,6 +1766,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1765
1766
|
output: {
|
|
1766
1767
|
type: "authed";
|
|
1767
1768
|
id: string;
|
|
1769
|
+
storageType: "s3" | "cold" | "lite";
|
|
1768
1770
|
key: string | null;
|
|
1769
1771
|
keyPair: {
|
|
1770
1772
|
pub: string;
|
|
@@ -1773,6 +1775,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1773
1775
|
} | {
|
|
1774
1776
|
type: "guest";
|
|
1775
1777
|
id: string;
|
|
1778
|
+
storageType: "s3" | "cold" | "lite";
|
|
1776
1779
|
};
|
|
1777
1780
|
meta: any;
|
|
1778
1781
|
}>;
|
|
@@ -2760,10 +2763,17 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2760
2763
|
delAccess?: "delete" | "read" | "write" | null | undefined;
|
|
2761
2764
|
sharingDelAccess?: "delete" | "read" | "write" | null | undefined;
|
|
2762
2765
|
});
|
|
2763
|
-
output: Record<string, {
|
|
2766
|
+
output: Record<string, ({
|
|
2764
2767
|
nodeId: string;
|
|
2765
2768
|
includeKeys: boolean;
|
|
2766
|
-
}
|
|
2769
|
+
} & {
|
|
2770
|
+
rights: "delete" | "read" | "write";
|
|
2771
|
+
} & {
|
|
2772
|
+
addAccess?: "delete" | "read" | "write" | null | undefined;
|
|
2773
|
+
sharingAddAccess?: "delete" | "read" | "write" | null | undefined;
|
|
2774
|
+
delAccess?: "delete" | "read" | "write" | null | undefined;
|
|
2775
|
+
sharingDelAccess?: "delete" | "read" | "write" | null | undefined;
|
|
2776
|
+
})[]>;
|
|
2767
2777
|
meta: any;
|
|
2768
2778
|
}>;
|
|
2769
2779
|
updateNode: _trpc_server.TRPCMutationProcedure<{
|
|
@@ -4841,6 +4851,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4841
4851
|
stripeSubId: string | null;
|
|
4842
4852
|
stripeSubPaidUntil: Date | null;
|
|
4843
4853
|
billingProfileStripeCustomerId: string | null;
|
|
4854
|
+
status: "active" | "inactive" | "pending_for_payment";
|
|
4844
4855
|
} & {
|
|
4845
4856
|
plan: {
|
|
4846
4857
|
id: string;
|
|
@@ -4876,6 +4887,8 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4876
4887
|
createSubscription: _trpc_server.TRPCMutationProcedure<{
|
|
4877
4888
|
input: {
|
|
4878
4889
|
planKind: "free" | "basic" | "advanced" | "pro";
|
|
4890
|
+
orgId?: string | undefined;
|
|
4891
|
+
returnUrl?: string | undefined;
|
|
4879
4892
|
billingProfileId?: string | undefined;
|
|
4880
4893
|
};
|
|
4881
4894
|
output: {
|
|
@@ -4886,17 +4899,39 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4886
4899
|
create: _trpc_server.TRPCMutationProcedure<{
|
|
4887
4900
|
input: {
|
|
4888
4901
|
name: string;
|
|
4902
|
+
billingProfileId?: string | undefined;
|
|
4903
|
+
planKind?: "free" | "basic" | "advanced" | "pro" | undefined;
|
|
4904
|
+
returnUrl?: string | undefined;
|
|
4889
4905
|
};
|
|
4890
4906
|
output: {
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4907
|
+
type: "immediate";
|
|
4908
|
+
organization: {
|
|
4909
|
+
id: string;
|
|
4910
|
+
name: string;
|
|
4911
|
+
createdAt: Date;
|
|
4912
|
+
ownerId: string;
|
|
4913
|
+
planId: string;
|
|
4914
|
+
quotasId: string;
|
|
4915
|
+
stripeSubId: string | null;
|
|
4916
|
+
stripeSubPaidUntil: Date | null;
|
|
4917
|
+
billingProfileStripeCustomerId: string | null;
|
|
4918
|
+
status: "active" | "inactive" | "pending_for_payment";
|
|
4919
|
+
};
|
|
4920
|
+
} | {
|
|
4921
|
+
type: "checkout";
|
|
4922
|
+
url: string;
|
|
4923
|
+
organization: {
|
|
4924
|
+
id: string;
|
|
4925
|
+
name: string;
|
|
4926
|
+
createdAt: Date;
|
|
4927
|
+
ownerId: string;
|
|
4928
|
+
planId: string;
|
|
4929
|
+
quotasId: string;
|
|
4930
|
+
stripeSubId: string | null;
|
|
4931
|
+
stripeSubPaidUntil: Date | null;
|
|
4932
|
+
billingProfileStripeCustomerId: string | null;
|
|
4933
|
+
status: "active" | "inactive" | "pending_for_payment";
|
|
4934
|
+
};
|
|
4900
4935
|
};
|
|
4901
4936
|
meta: any;
|
|
4902
4937
|
}>;
|
|
@@ -4914,6 +4949,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4914
4949
|
stripeSubId: string | null;
|
|
4915
4950
|
stripeSubPaidUntil: Date | null;
|
|
4916
4951
|
billingProfileStripeCustomerId: string | null;
|
|
4952
|
+
status: "active" | "inactive" | "pending_for_payment";
|
|
4917
4953
|
};
|
|
4918
4954
|
meta: any;
|
|
4919
4955
|
}>;
|
|
@@ -4952,6 +4988,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
4952
4988
|
stripeSubId: string | null;
|
|
4953
4989
|
stripeSubPaidUntil: Date | null;
|
|
4954
4990
|
billingProfileStripeCustomerId: string | null;
|
|
4991
|
+
status: "active" | "inactive" | "pending_for_payment";
|
|
4955
4992
|
}[];
|
|
4956
4993
|
meta: any;
|
|
4957
4994
|
}>;
|
|
@@ -5017,6 +5054,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5017
5054
|
stripeSubId: string | null;
|
|
5018
5055
|
stripeSubPaidUntil: Date | null;
|
|
5019
5056
|
billingProfileStripeCustomerId: string | null;
|
|
5057
|
+
status: "active" | "inactive" | "pending_for_payment";
|
|
5020
5058
|
};
|
|
5021
5059
|
meta: any;
|
|
5022
5060
|
}>;
|
|
@@ -5050,6 +5088,7 @@ declare var appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5050
5088
|
stripeSubId: string | null;
|
|
5051
5089
|
stripeSubPaidUntil: Date | null;
|
|
5052
5090
|
billingProfileStripeCustomerId: string | null;
|
|
5091
|
+
status: "active" | "inactive" | "pending_for_payment";
|
|
5053
5092
|
};
|
|
5054
5093
|
meta: any;
|
|
5055
5094
|
}>;
|