@logto/cloud 0.2.5-70aa370 → 0.2.5-8065345
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/build/routes/index.d.ts +25 -16
- package/package.json +1 -1
package/build/routes/index.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export type Affiliate = InferModelType<typeof Affiliates>;
|
|
|
40
40
|
export type AffiliateData = Affiliate & {
|
|
41
41
|
properties: Array<Pick<AffiliateProperty, "type" | "value">>;
|
|
42
42
|
};
|
|
43
|
-
declare const router: import("@withtyped/server").Router<WithAuthContext, import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").BaseRoutes, import("@withtyped/server").RoutesWithPrefix<{
|
|
43
|
+
declare const router: import("@withtyped/server").Router<WithAuthContext, import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").BaseRoutes, import("@withtyped/server").RoutesWithPrefix<{
|
|
44
44
|
options: {};
|
|
45
45
|
patch: {
|
|
46
46
|
"/tenants/:tenantId": import("@withtyped/server").PathGuard<"/:tenantId", unknown, {
|
|
@@ -62,7 +62,29 @@ declare const router: import("@withtyped/server").Router<WithAuthContext, import
|
|
|
62
62
|
planId: string;
|
|
63
63
|
tag: TenantTag;
|
|
64
64
|
}[]>;
|
|
65
|
-
}
|
|
65
|
+
};
|
|
66
|
+
post: {
|
|
67
|
+
"/tenants": import("@withtyped/server").PathGuard<"/", unknown, {
|
|
68
|
+
name?: string | undefined;
|
|
69
|
+
tag?: TenantTag | undefined;
|
|
70
|
+
}, {
|
|
71
|
+
id: string;
|
|
72
|
+
name: string;
|
|
73
|
+
indicator: string;
|
|
74
|
+
planId: string;
|
|
75
|
+
tag: TenantTag;
|
|
76
|
+
}>;
|
|
77
|
+
};
|
|
78
|
+
put: {};
|
|
79
|
+
head: {};
|
|
80
|
+
delete: {
|
|
81
|
+
"/tenants/:tenantId": import("@withtyped/server").PathGuard<"/:tenantId", unknown, unknown, unknown>;
|
|
82
|
+
};
|
|
83
|
+
copy: {};
|
|
84
|
+
}, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
|
|
85
|
+
options: {};
|
|
86
|
+
patch: {};
|
|
87
|
+
get: {
|
|
66
88
|
"/tenants/my/subscription": import("@withtyped/server").PathGuard<"/my/subscription", unknown, unknown, {
|
|
67
89
|
status: "incomplete" | "incomplete_expired" | "trialing" | "active" | "past_due" | "canceled" | "unpaid" | "paused";
|
|
68
90
|
planId: string;
|
|
@@ -102,20 +124,9 @@ declare const router: import("@withtyped/server").Router<WithAuthContext, import
|
|
|
102
124
|
}>;
|
|
103
125
|
};
|
|
104
126
|
post: {
|
|
105
|
-
"/tenants": import("@withtyped/server").PathGuard<"/", unknown, {
|
|
106
|
-
name?: string | undefined;
|
|
107
|
-
tag?: TenantTag | undefined;
|
|
108
|
-
}, {
|
|
109
|
-
id: string;
|
|
110
|
-
name: string;
|
|
111
|
-
indicator: string;
|
|
112
|
-
planId: string;
|
|
113
|
-
tag: TenantTag;
|
|
114
|
-
}>;
|
|
115
|
-
} & {
|
|
116
127
|
"/tenants/:tenantId/stripe-customer-portal": import("@withtyped/server").PathGuard<"/:tenantId/stripe-customer-portal", unknown, {
|
|
117
128
|
callbackUrl?: string | undefined;
|
|
118
|
-
}
|
|
129
|
+
}, {
|
|
119
130
|
redirectUri: string;
|
|
120
131
|
}>;
|
|
121
132
|
};
|
|
@@ -123,8 +134,6 @@ declare const router: import("@withtyped/server").Router<WithAuthContext, import
|
|
|
123
134
|
head: {};
|
|
124
135
|
delete: {
|
|
125
136
|
"/tenants/:tenantId/subscription": import("@withtyped/server").PathGuard<"/:tenantId/subscription", unknown, unknown, unknown>;
|
|
126
|
-
} & {
|
|
127
|
-
"/tenants/:tenantId": import("@withtyped/server").PathGuard<"/:tenantId", unknown, unknown, unknown>;
|
|
128
137
|
};
|
|
129
138
|
copy: {};
|
|
130
139
|
}, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
|