@logto/cloud 0.2.5-c1f6f94 → 0.2.5-c29be90
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/README.md +63 -0
- package/lib/routes/index.d.ts +972 -313
- package/package.json +9 -4
package/lib/routes/index.d.ts
CHANGED
|
@@ -1,25 +1,42 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.3.1
|
|
2
2
|
|
|
3
3
|
import { Json, JsonObject, RequestContext } from '@withtyped/server';
|
|
4
|
-
import { InferModelType } from '@withtyped/server/model';
|
|
5
4
|
|
|
6
|
-
declare const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
5
|
+
declare const router: import("@withtyped/server").Router<import("@withtyped/server").RequestContext, import("@withtyped/server").RequestContext, import("@withtyped/server").MergeRoutes<{
|
|
6
|
+
options: {};
|
|
7
|
+
patch: {};
|
|
8
|
+
get: {
|
|
9
|
+
"/api/status": import("@withtyped/server").PathGuard<"/status", unknown, unknown, unknown>;
|
|
10
|
+
} & {
|
|
11
|
+
"/api/teapot": import("@withtyped/server").PathGuard<"/teapot", unknown, unknown, {
|
|
12
|
+
message: string;
|
|
13
|
+
}>;
|
|
14
|
+
};
|
|
15
|
+
post: {};
|
|
16
|
+
put: {};
|
|
17
|
+
delete: {};
|
|
18
|
+
copy: {};
|
|
19
|
+
head: {};
|
|
20
|
+
}, import("@withtyped/server").RoutesWithPrefix<{
|
|
21
|
+
options: {};
|
|
22
|
+
patch: {};
|
|
23
|
+
get: {};
|
|
24
|
+
post: {
|
|
25
|
+
"/invitations/:invitationId/auth": import("@withtyped/server").PathGuard<"/:invitationId/auth", unknown, unknown, unknown>;
|
|
26
|
+
};
|
|
27
|
+
put: {};
|
|
28
|
+
delete: {};
|
|
29
|
+
copy: {};
|
|
30
|
+
head: {};
|
|
31
|
+
}, "/api">>, "/api">;
|
|
32
|
+
export type WithAuthContext<Context = RequestContext> = Context & {
|
|
33
|
+
auth: {
|
|
34
|
+
/** The ID of the authenticated subject (`sub`). */
|
|
35
|
+
id: string;
|
|
36
|
+
/** The scopes that the subject has (`scope`). */
|
|
37
|
+
scopes: string[];
|
|
38
|
+
};
|
|
39
|
+
};
|
|
23
40
|
declare enum TemplateType {
|
|
24
41
|
/** The template for sending verification code when user is signing in. */
|
|
25
42
|
SignIn = "SignIn",
|
|
@@ -34,7 +51,11 @@ declare enum TemplateType {
|
|
|
34
51
|
/** The template for validating user permission for sensitive operations. */
|
|
35
52
|
UserPermissionValidation = "UserPermissionValidation",
|
|
36
53
|
/** The template for binding a new identifier to an existing account. */
|
|
37
|
-
BindNewIdentifier = "BindNewIdentifier"
|
|
54
|
+
BindNewIdentifier = "BindNewIdentifier",
|
|
55
|
+
/** The template for sending MFA verification code. */
|
|
56
|
+
MfaVerification = "MfaVerification",
|
|
57
|
+
/** The template for binding MFA verification. */
|
|
58
|
+
BindMfa = "BindMfa"
|
|
38
59
|
}
|
|
39
60
|
declare enum OrganizationInvitationStatus {
|
|
40
61
|
Pending = "Pending",
|
|
@@ -74,48 +95,51 @@ declare enum TenantRole {
|
|
|
74
95
|
/** Collaborator of the tenant, who has permissions to operate the tenant data, but not the tenant settings. */
|
|
75
96
|
Collaborator = "collaborator"
|
|
76
97
|
}
|
|
77
|
-
declare const
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
JP = "JP",
|
|
95
|
-
CrescLabJP = "CRESCLAB_JP"
|
|
96
|
-
}
|
|
97
|
-
declare const publicRegionNames: readonly [
|
|
98
|
-
"EU",
|
|
99
|
-
"US",
|
|
100
|
-
"AU",
|
|
101
|
-
"JP"
|
|
98
|
+
declare const availableReportableUsageKeys: readonly [
|
|
99
|
+
"tokenLimit",
|
|
100
|
+
"mauLimit",
|
|
101
|
+
"machineToMachineLimit",
|
|
102
|
+
"resourcesLimit",
|
|
103
|
+
"enterpriseSsoLimit",
|
|
104
|
+
"hooksLimit",
|
|
105
|
+
"tenantMembersLimit",
|
|
106
|
+
"mfaEnabled",
|
|
107
|
+
"organizationsEnabled",
|
|
108
|
+
"organizationsLimit",
|
|
109
|
+
"securityFeaturesEnabled",
|
|
110
|
+
"userRolesLimit",
|
|
111
|
+
"machineToMachineRolesLimit",
|
|
112
|
+
"thirdPartyApplicationsLimit",
|
|
113
|
+
"samlApplicationsLimit",
|
|
114
|
+
"customDomainsLimit"
|
|
102
115
|
];
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
116
|
+
export type ReportableUsageKey = (typeof availableReportableUsageKeys)[number];
|
|
117
|
+
export type RealtimeReportableUsageKey = Exclude<ReportableUsageKey, "tokenLimit" | "mauLimit">;
|
|
118
|
+
declare enum LogtoSkuType {
|
|
119
|
+
Basic = "Basic",
|
|
120
|
+
AddOn = "AddOn"
|
|
121
|
+
}
|
|
122
|
+
declare enum UsageReportingType {
|
|
123
|
+
TokenUsage = "tokenUsage",
|
|
124
|
+
MauUsageWithM2MTokens = "mauUsageWithM2MTokens"
|
|
125
|
+
}
|
|
126
|
+
declare enum DatabaseRegionAccessRole {
|
|
127
|
+
/** Instance administrator - can manage collaborators and create tenants */
|
|
128
|
+
Admin = "admin",
|
|
129
|
+
/** Collaborator user - can only create tenants in the instance */
|
|
130
|
+
Collaborator = "collaborator"
|
|
131
|
+
}
|
|
132
|
+
declare enum QuotaScope {
|
|
133
|
+
/**
|
|
134
|
+
* Shared quota across multiple regions or tenants under the same enterprise.
|
|
135
|
+
*/
|
|
136
|
+
Shared = "shared",
|
|
137
|
+
/**
|
|
138
|
+
* Tenant level dedicated quota.
|
|
139
|
+
*/
|
|
140
|
+
Dedicated = "dedicated"
|
|
141
|
+
}
|
|
142
|
+
declare const router$1: import("@withtyped/server").Router<RequestContext, WithAuthContext<Omit<import("@withtyped/server").BaseContext & {
|
|
119
143
|
request: {
|
|
120
144
|
id?: string | undefined;
|
|
121
145
|
method?: import("@withtyped/server").RequestMethod | undefined;
|
|
@@ -134,7 +158,8 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
134
158
|
body?: Json | undefined;
|
|
135
159
|
bodyRaw?: Buffer | undefined;
|
|
136
160
|
};
|
|
137
|
-
}>, 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").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").BaseRoutes, import("@withtyped/server").RoutesWithPrefix<{
|
|
161
|
+
}>, 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").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<{
|
|
162
|
+
options: {};
|
|
138
163
|
patch: {
|
|
139
164
|
"/tenants/:tenantId": import("@withtyped/server").PathGuard<"/:tenantId", unknown, {
|
|
140
165
|
name?: string | undefined;
|
|
@@ -147,8 +172,10 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
147
172
|
tokenLimit: number | null;
|
|
148
173
|
};
|
|
149
174
|
usage: {
|
|
150
|
-
|
|
175
|
+
userTokenUsage: number;
|
|
176
|
+
m2mTokenUsage: number;
|
|
151
177
|
tokenUsage: number;
|
|
178
|
+
activeUsers: number;
|
|
152
179
|
};
|
|
153
180
|
indicator: string;
|
|
154
181
|
isSuspended: boolean;
|
|
@@ -159,6 +186,7 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
159
186
|
currentPeriodStart: Date;
|
|
160
187
|
currentPeriodEnd: Date;
|
|
161
188
|
isEnterprisePlan: boolean;
|
|
189
|
+
quotaScope: "dedicated" | "shared";
|
|
162
190
|
id?: string | undefined;
|
|
163
191
|
upcomingInvoice?: {
|
|
164
192
|
subtotal: number;
|
|
@@ -167,12 +195,12 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
167
195
|
totalExcludingTax: number | null;
|
|
168
196
|
} | null | undefined;
|
|
169
197
|
};
|
|
170
|
-
regionName:
|
|
198
|
+
regionName: string;
|
|
171
199
|
tag: TenantTag;
|
|
172
200
|
openInvoices: {
|
|
173
201
|
id: string;
|
|
174
202
|
createdAt: Date;
|
|
175
|
-
status: "
|
|
203
|
+
status: "open" | "void" | "draft" | "paid" | "uncollectible" | null;
|
|
176
204
|
updatedAt: Date;
|
|
177
205
|
customerId: string | null;
|
|
178
206
|
billingReason: string | null;
|
|
@@ -184,10 +212,14 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
184
212
|
subscriptionId: string | null;
|
|
185
213
|
hostedInvoiceUrl: string | null;
|
|
186
214
|
invoicePdf: string | null;
|
|
215
|
+
collectionMethod: "charge_automatically" | "send_invoice" | null;
|
|
216
|
+
dueDate: Date | null;
|
|
187
217
|
}[];
|
|
218
|
+
featureFlags?: {
|
|
219
|
+
isMultipleCustomDomainsEnabled?: boolean | undefined;
|
|
220
|
+
} | undefined;
|
|
188
221
|
}>;
|
|
189
222
|
};
|
|
190
|
-
options: {};
|
|
191
223
|
get: {
|
|
192
224
|
"/tenants": import("@withtyped/server").PathGuard<"/", unknown, unknown, {
|
|
193
225
|
id: string;
|
|
@@ -198,8 +230,10 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
198
230
|
tokenLimit: number | null;
|
|
199
231
|
};
|
|
200
232
|
usage: {
|
|
201
|
-
|
|
233
|
+
userTokenUsage: number;
|
|
234
|
+
m2mTokenUsage: number;
|
|
202
235
|
tokenUsage: number;
|
|
236
|
+
activeUsers: number;
|
|
203
237
|
};
|
|
204
238
|
indicator: string;
|
|
205
239
|
isSuspended: boolean;
|
|
@@ -210,6 +244,7 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
210
244
|
currentPeriodStart: Date;
|
|
211
245
|
currentPeriodEnd: Date;
|
|
212
246
|
isEnterprisePlan: boolean;
|
|
247
|
+
quotaScope: "dedicated" | "shared";
|
|
213
248
|
id?: string | undefined;
|
|
214
249
|
upcomingInvoice?: {
|
|
215
250
|
subtotal: number;
|
|
@@ -218,12 +253,12 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
218
253
|
totalExcludingTax: number | null;
|
|
219
254
|
} | null | undefined;
|
|
220
255
|
};
|
|
221
|
-
regionName:
|
|
256
|
+
regionName: string;
|
|
222
257
|
tag: TenantTag;
|
|
223
258
|
openInvoices: {
|
|
224
259
|
id: string;
|
|
225
260
|
createdAt: Date;
|
|
226
|
-
status: "
|
|
261
|
+
status: "open" | "void" | "draft" | "paid" | "uncollectible" | null;
|
|
227
262
|
updatedAt: Date;
|
|
228
263
|
customerId: string | null;
|
|
229
264
|
billingReason: string | null;
|
|
@@ -235,15 +270,20 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
235
270
|
subscriptionId: string | null;
|
|
236
271
|
hostedInvoiceUrl: string | null;
|
|
237
272
|
invoicePdf: string | null;
|
|
273
|
+
collectionMethod: "charge_automatically" | "send_invoice" | null;
|
|
274
|
+
dueDate: Date | null;
|
|
238
275
|
}[];
|
|
276
|
+
featureFlags?: {
|
|
277
|
+
isMultipleCustomDomainsEnabled?: boolean | undefined;
|
|
278
|
+
} | undefined;
|
|
239
279
|
}[]>;
|
|
240
280
|
};
|
|
241
281
|
post: {
|
|
242
282
|
"/tenants": import("@withtyped/server").PathGuard<"/", unknown, {
|
|
243
283
|
id?: string | undefined;
|
|
244
284
|
name?: string | undefined;
|
|
285
|
+
regionName?: string | undefined;
|
|
245
286
|
tag?: TenantTag | undefined;
|
|
246
|
-
regionName?: RegionName | undefined;
|
|
247
287
|
}, {
|
|
248
288
|
id: string;
|
|
249
289
|
name: string;
|
|
@@ -253,8 +293,10 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
253
293
|
tokenLimit: number | null;
|
|
254
294
|
};
|
|
255
295
|
usage: {
|
|
256
|
-
|
|
296
|
+
userTokenUsage: number;
|
|
297
|
+
m2mTokenUsage: number;
|
|
257
298
|
tokenUsage: number;
|
|
299
|
+
activeUsers: number;
|
|
258
300
|
};
|
|
259
301
|
indicator: string;
|
|
260
302
|
isSuspended: boolean;
|
|
@@ -265,6 +307,7 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
265
307
|
currentPeriodStart: Date;
|
|
266
308
|
currentPeriodEnd: Date;
|
|
267
309
|
isEnterprisePlan: boolean;
|
|
310
|
+
quotaScope: "dedicated" | "shared";
|
|
268
311
|
id?: string | undefined;
|
|
269
312
|
upcomingInvoice?: {
|
|
270
313
|
subtotal: number;
|
|
@@ -273,12 +316,12 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
273
316
|
totalExcludingTax: number | null;
|
|
274
317
|
} | null | undefined;
|
|
275
318
|
};
|
|
276
|
-
regionName:
|
|
319
|
+
regionName: string;
|
|
277
320
|
tag: TenantTag;
|
|
278
321
|
openInvoices: {
|
|
279
322
|
id: string;
|
|
280
323
|
createdAt: Date;
|
|
281
|
-
status: "
|
|
324
|
+
status: "open" | "void" | "draft" | "paid" | "uncollectible" | null;
|
|
282
325
|
updatedAt: Date;
|
|
283
326
|
customerId: string | null;
|
|
284
327
|
billingReason: string | null;
|
|
@@ -290,8 +333,31 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
290
333
|
subscriptionId: string | null;
|
|
291
334
|
hostedInvoiceUrl: string | null;
|
|
292
335
|
invoicePdf: string | null;
|
|
336
|
+
collectionMethod: "charge_automatically" | "send_invoice" | null;
|
|
337
|
+
dueDate: Date | null;
|
|
293
338
|
}[];
|
|
339
|
+
defaultApplication: {
|
|
340
|
+
id: string;
|
|
341
|
+
secret: string;
|
|
342
|
+
};
|
|
343
|
+
featureFlags?: {
|
|
344
|
+
isMultipleCustomDomainsEnabled?: boolean | undefined;
|
|
345
|
+
} | undefined;
|
|
294
346
|
}>;
|
|
347
|
+
} & {
|
|
348
|
+
"/tenants/subscriptions/plan": import("@withtyped/server").PathGuard<"/subscriptions/plan", unknown, {
|
|
349
|
+
tenantIds: string[];
|
|
350
|
+
planId: string;
|
|
351
|
+
}, {
|
|
352
|
+
tenantId: string;
|
|
353
|
+
success: boolean;
|
|
354
|
+
error?: string | undefined;
|
|
355
|
+
updatedLineItems?: unknown[] | undefined;
|
|
356
|
+
}[]>;
|
|
357
|
+
} & {
|
|
358
|
+
"/tenants/unsuspend": import("@withtyped/server").PathGuard<"/unsuspend", unknown, {
|
|
359
|
+
tenantId: string;
|
|
360
|
+
}, unknown>;
|
|
295
361
|
};
|
|
296
362
|
put: {};
|
|
297
363
|
delete: {
|
|
@@ -300,13 +366,17 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
300
366
|
copy: {};
|
|
301
367
|
head: {};
|
|
302
368
|
}, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
|
|
303
|
-
patch: {};
|
|
304
369
|
options: {};
|
|
370
|
+
patch: {};
|
|
305
371
|
get: {
|
|
306
372
|
"/tenants/my/subscription": import("@withtyped/server").PathGuard<"/my/subscription", unknown, unknown, {
|
|
307
373
|
status: "incomplete" | "incomplete_expired" | "trialing" | "active" | "past_due" | "canceled" | "unpaid" | "paused";
|
|
374
|
+
quotaScope: "dedicated" | "shared";
|
|
308
375
|
quota: {
|
|
309
376
|
auditLogsRetentionDays: number | null;
|
|
377
|
+
subjectTokenEnabled: boolean;
|
|
378
|
+
hostedEmailLimit: number | null;
|
|
379
|
+
hostedEmailDailyLimit: number | null;
|
|
310
380
|
mauLimit: number | null;
|
|
311
381
|
applicationsLimit: number | null;
|
|
312
382
|
thirdPartyApplicationsLimit: number | null;
|
|
@@ -317,8 +387,10 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
317
387
|
scopesPerRoleLimit: number | null;
|
|
318
388
|
hooksLimit: number | null;
|
|
319
389
|
customJwtEnabled: boolean;
|
|
320
|
-
|
|
390
|
+
inlineHooksEnabled: boolean;
|
|
321
391
|
bringYourUiEnabled: boolean;
|
|
392
|
+
collectUserProfileEnabled: boolean;
|
|
393
|
+
passkeySignInEnabled: boolean;
|
|
322
394
|
tokenLimit: number | null;
|
|
323
395
|
machineToMachineLimit: number | null;
|
|
324
396
|
resourcesLimit: number | null;
|
|
@@ -327,14 +399,36 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
327
399
|
mfaEnabled: boolean;
|
|
328
400
|
organizationsEnabled: boolean;
|
|
329
401
|
organizationsLimit: number | null;
|
|
402
|
+
securityFeaturesEnabled: boolean;
|
|
330
403
|
idpInitiatedSsoEnabled: boolean;
|
|
331
404
|
samlApplicationsLimit: number | null;
|
|
332
|
-
|
|
405
|
+
customDomainsLimit: number | null;
|
|
333
406
|
};
|
|
334
407
|
planId: string;
|
|
335
408
|
currentPeriodStart: Date;
|
|
336
409
|
currentPeriodEnd: Date;
|
|
337
410
|
isEnterprisePlan: boolean;
|
|
411
|
+
systemLimit: {
|
|
412
|
+
applicationsLimit?: number | undefined;
|
|
413
|
+
thirdPartyApplicationsLimit?: number | undefined;
|
|
414
|
+
scopesPerResourceLimit?: number | undefined;
|
|
415
|
+
socialConnectorsLimit?: number | undefined;
|
|
416
|
+
userRolesLimit?: number | undefined;
|
|
417
|
+
machineToMachineRolesLimit?: number | undefined;
|
|
418
|
+
scopesPerRoleLimit?: number | undefined;
|
|
419
|
+
hooksLimit?: number | undefined;
|
|
420
|
+
machineToMachineLimit?: number | undefined;
|
|
421
|
+
resourcesLimit?: number | undefined;
|
|
422
|
+
enterpriseSsoLimit?: number | undefined;
|
|
423
|
+
tenantMembersLimit?: number | undefined;
|
|
424
|
+
organizationsLimit?: number | undefined;
|
|
425
|
+
samlApplicationsLimit?: number | undefined;
|
|
426
|
+
customDomainsLimit?: number | undefined;
|
|
427
|
+
usersPerOrganizationLimit?: number | undefined;
|
|
428
|
+
organizationUserRolesLimit?: number | undefined;
|
|
429
|
+
organizationMachineToMachineRolesLimit?: number | undefined;
|
|
430
|
+
organizationScopesLimit?: number | undefined;
|
|
431
|
+
};
|
|
338
432
|
id?: string | undefined;
|
|
339
433
|
upcomingInvoice?: {
|
|
340
434
|
subtotal: number;
|
|
@@ -345,33 +439,11 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
345
439
|
}>;
|
|
346
440
|
} & {
|
|
347
441
|
"/tenants/my/subscription-usage": import("@withtyped/server").PathGuard<"/my/subscription-usage", unknown, unknown, {
|
|
348
|
-
usage: {
|
|
349
|
-
applicationsLimit: number;
|
|
350
|
-
thirdPartyApplicationsLimit: number;
|
|
351
|
-
scopesPerResourceLimit: number;
|
|
352
|
-
socialConnectorsLimit: number;
|
|
353
|
-
userRolesLimit: number;
|
|
354
|
-
machineToMachineRolesLimit: number;
|
|
355
|
-
scopesPerRoleLimit: number;
|
|
356
|
-
hooksLimit: number;
|
|
357
|
-
customJwtEnabled: boolean;
|
|
358
|
-
subjectTokenEnabled: boolean;
|
|
359
|
-
bringYourUiEnabled: boolean;
|
|
360
|
-
machineToMachineLimit: number;
|
|
361
|
-
resourcesLimit: number;
|
|
362
|
-
enterpriseSsoLimit: number;
|
|
363
|
-
tenantMembersLimit: number;
|
|
364
|
-
mfaEnabled: boolean;
|
|
365
|
-
organizationsEnabled: boolean;
|
|
366
|
-
organizationsLimit: number;
|
|
367
|
-
idpInitiatedSsoEnabled: boolean;
|
|
368
|
-
samlApplicationsLimit: number;
|
|
369
|
-
captchaEnabled: boolean;
|
|
370
|
-
};
|
|
371
|
-
resources: Record<string, number>;
|
|
372
|
-
roles: Record<string, number>;
|
|
373
442
|
quota: {
|
|
374
443
|
auditLogsRetentionDays: number | null;
|
|
444
|
+
subjectTokenEnabled: boolean;
|
|
445
|
+
hostedEmailLimit: number | null;
|
|
446
|
+
hostedEmailDailyLimit: number | null;
|
|
375
447
|
mauLimit: number | null;
|
|
376
448
|
applicationsLimit: number | null;
|
|
377
449
|
thirdPartyApplicationsLimit: number | null;
|
|
@@ -382,8 +454,10 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
382
454
|
scopesPerRoleLimit: number | null;
|
|
383
455
|
hooksLimit: number | null;
|
|
384
456
|
customJwtEnabled: boolean;
|
|
385
|
-
|
|
457
|
+
inlineHooksEnabled: boolean;
|
|
386
458
|
bringYourUiEnabled: boolean;
|
|
459
|
+
collectUserProfileEnabled: boolean;
|
|
460
|
+
passkeySignInEnabled: boolean;
|
|
387
461
|
tokenLimit: number | null;
|
|
388
462
|
machineToMachineLimit: number | null;
|
|
389
463
|
resourcesLimit: number | null;
|
|
@@ -392,12 +466,42 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
392
466
|
mfaEnabled: boolean;
|
|
393
467
|
organizationsEnabled: boolean;
|
|
394
468
|
organizationsLimit: number | null;
|
|
469
|
+
securityFeaturesEnabled: boolean;
|
|
395
470
|
idpInitiatedSsoEnabled: boolean;
|
|
396
471
|
samlApplicationsLimit: number | null;
|
|
397
|
-
|
|
472
|
+
customDomainsLimit: number | null;
|
|
473
|
+
};
|
|
474
|
+
usage: {
|
|
475
|
+
applicationsLimit: number;
|
|
476
|
+
thirdPartyApplicationsLimit: number;
|
|
477
|
+
scopesPerResourceLimit: number;
|
|
478
|
+
socialConnectorsLimit: number;
|
|
479
|
+
userRolesLimit: number;
|
|
480
|
+
machineToMachineRolesLimit: number;
|
|
481
|
+
scopesPerRoleLimit: number;
|
|
482
|
+
hooksLimit: number;
|
|
483
|
+
customJwtEnabled: boolean;
|
|
484
|
+
inlineHooksEnabled: boolean;
|
|
485
|
+
bringYourUiEnabled: boolean;
|
|
486
|
+
collectUserProfileEnabled: boolean;
|
|
487
|
+
passkeySignInEnabled: boolean;
|
|
488
|
+
machineToMachineLimit: number;
|
|
489
|
+
resourcesLimit: number;
|
|
490
|
+
enterpriseSsoLimit: number;
|
|
491
|
+
tenantMembersLimit: number;
|
|
492
|
+
mfaEnabled: boolean;
|
|
493
|
+
organizationsEnabled: boolean;
|
|
494
|
+
organizationsLimit: number;
|
|
495
|
+
securityFeaturesEnabled: boolean;
|
|
496
|
+
idpInitiatedSsoEnabled: boolean;
|
|
497
|
+
samlApplicationsLimit: number;
|
|
498
|
+
customDomainsLimit: number;
|
|
398
499
|
};
|
|
399
500
|
basicQuota: {
|
|
400
501
|
auditLogsRetentionDays: number | null;
|
|
502
|
+
subjectTokenEnabled: boolean;
|
|
503
|
+
hostedEmailLimit: number | null;
|
|
504
|
+
hostedEmailDailyLimit: number | null;
|
|
401
505
|
mauLimit: number | null;
|
|
402
506
|
applicationsLimit: number | null;
|
|
403
507
|
thirdPartyApplicationsLimit: number | null;
|
|
@@ -408,8 +512,10 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
408
512
|
scopesPerRoleLimit: number | null;
|
|
409
513
|
hooksLimit: number | null;
|
|
410
514
|
customJwtEnabled: boolean;
|
|
411
|
-
|
|
515
|
+
inlineHooksEnabled: boolean;
|
|
412
516
|
bringYourUiEnabled: boolean;
|
|
517
|
+
collectUserProfileEnabled: boolean;
|
|
518
|
+
passkeySignInEnabled: boolean;
|
|
413
519
|
tokenLimit: number | null;
|
|
414
520
|
machineToMachineLimit: number | null;
|
|
415
521
|
resourcesLimit: number | null;
|
|
@@ -418,9 +524,10 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
418
524
|
mfaEnabled: boolean;
|
|
419
525
|
organizationsEnabled: boolean;
|
|
420
526
|
organizationsLimit: number | null;
|
|
527
|
+
securityFeaturesEnabled: boolean;
|
|
421
528
|
idpInitiatedSsoEnabled: boolean;
|
|
422
529
|
samlApplicationsLimit: number | null;
|
|
423
|
-
|
|
530
|
+
customDomainsLimit: number | null;
|
|
424
531
|
};
|
|
425
532
|
}>;
|
|
426
533
|
};
|
|
@@ -436,8 +543,53 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
436
543
|
copy: {};
|
|
437
544
|
head: {};
|
|
438
545
|
}, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
|
|
546
|
+
options: {};
|
|
547
|
+
patch: {};
|
|
548
|
+
get: {};
|
|
549
|
+
post: {
|
|
550
|
+
"/tenants/subscription-cache/invalidate": import("@withtyped/server").PathGuard<"/subscription-cache/invalidate", unknown, {
|
|
551
|
+
tenantIds: string[];
|
|
552
|
+
}, unknown>;
|
|
553
|
+
};
|
|
554
|
+
put: {};
|
|
555
|
+
delete: {};
|
|
556
|
+
copy: {};
|
|
557
|
+
head: {};
|
|
558
|
+
}, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
|
|
559
|
+
options: {};
|
|
439
560
|
patch: {};
|
|
561
|
+
get: {};
|
|
562
|
+
post: {
|
|
563
|
+
"/tenants/domains/cleanup": import("@withtyped/server").PathGuard<"/domains/cleanup", unknown, {
|
|
564
|
+
staleDays: number;
|
|
565
|
+
cursor?: string | undefined;
|
|
566
|
+
limit?: number | undefined;
|
|
567
|
+
}, {
|
|
568
|
+
results: ({
|
|
569
|
+
tenantId: string;
|
|
570
|
+
success: true;
|
|
571
|
+
summary: {
|
|
572
|
+
scannedCount: number;
|
|
573
|
+
staleCandidateCount: number;
|
|
574
|
+
deletedCount: number;
|
|
575
|
+
skippedActiveCount: number;
|
|
576
|
+
failedCount: number;
|
|
577
|
+
};
|
|
578
|
+
} | {
|
|
579
|
+
tenantId: string;
|
|
580
|
+
error: string;
|
|
581
|
+
success: false;
|
|
582
|
+
})[];
|
|
583
|
+
nextCursor: string | null;
|
|
584
|
+
}>;
|
|
585
|
+
};
|
|
586
|
+
put: {};
|
|
587
|
+
delete: {};
|
|
588
|
+
copy: {};
|
|
589
|
+
head: {};
|
|
590
|
+
}, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
|
|
440
591
|
options: {};
|
|
592
|
+
patch: {};
|
|
441
593
|
get: {
|
|
442
594
|
"/tenants/:tenantId/subscription": import("@withtyped/server").PathGuard<"/:tenantId/subscription", unknown, unknown, {
|
|
443
595
|
status: "incomplete" | "incomplete_expired" | "trialing" | "active" | "past_due" | "canceled" | "unpaid" | "paused";
|
|
@@ -445,6 +597,7 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
445
597
|
currentPeriodStart: Date;
|
|
446
598
|
currentPeriodEnd: Date;
|
|
447
599
|
isEnterprisePlan: boolean;
|
|
600
|
+
quotaScope: "dedicated" | "shared";
|
|
448
601
|
id?: string | undefined;
|
|
449
602
|
upcomingInvoice?: {
|
|
450
603
|
subtotal: number;
|
|
@@ -455,33 +608,11 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
455
608
|
}>;
|
|
456
609
|
} & {
|
|
457
610
|
"/tenants/:tenantId/subscription-usage": import("@withtyped/server").PathGuard<"/:tenantId/subscription-usage", unknown, unknown, {
|
|
458
|
-
usage: {
|
|
459
|
-
applicationsLimit: number;
|
|
460
|
-
thirdPartyApplicationsLimit: number;
|
|
461
|
-
scopesPerResourceLimit: number;
|
|
462
|
-
socialConnectorsLimit: number;
|
|
463
|
-
userRolesLimit: number;
|
|
464
|
-
machineToMachineRolesLimit: number;
|
|
465
|
-
scopesPerRoleLimit: number;
|
|
466
|
-
hooksLimit: number;
|
|
467
|
-
customJwtEnabled: boolean;
|
|
468
|
-
subjectTokenEnabled: boolean;
|
|
469
|
-
bringYourUiEnabled: boolean;
|
|
470
|
-
machineToMachineLimit: number;
|
|
471
|
-
resourcesLimit: number;
|
|
472
|
-
enterpriseSsoLimit: number;
|
|
473
|
-
tenantMembersLimit: number;
|
|
474
|
-
mfaEnabled: boolean;
|
|
475
|
-
organizationsEnabled: boolean;
|
|
476
|
-
organizationsLimit: number;
|
|
477
|
-
idpInitiatedSsoEnabled: boolean;
|
|
478
|
-
samlApplicationsLimit: number;
|
|
479
|
-
captchaEnabled: boolean;
|
|
480
|
-
};
|
|
481
|
-
resources: Record<string, number>;
|
|
482
|
-
roles: Record<string, number>;
|
|
483
611
|
quota: {
|
|
484
612
|
auditLogsRetentionDays: number | null;
|
|
613
|
+
subjectTokenEnabled: boolean;
|
|
614
|
+
hostedEmailLimit: number | null;
|
|
615
|
+
hostedEmailDailyLimit: number | null;
|
|
485
616
|
mauLimit: number | null;
|
|
486
617
|
applicationsLimit: number | null;
|
|
487
618
|
thirdPartyApplicationsLimit: number | null;
|
|
@@ -492,8 +623,10 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
492
623
|
scopesPerRoleLimit: number | null;
|
|
493
624
|
hooksLimit: number | null;
|
|
494
625
|
customJwtEnabled: boolean;
|
|
495
|
-
|
|
626
|
+
inlineHooksEnabled: boolean;
|
|
496
627
|
bringYourUiEnabled: boolean;
|
|
628
|
+
collectUserProfileEnabled: boolean;
|
|
629
|
+
passkeySignInEnabled: boolean;
|
|
497
630
|
tokenLimit: number | null;
|
|
498
631
|
machineToMachineLimit: number | null;
|
|
499
632
|
resourcesLimit: number | null;
|
|
@@ -502,12 +635,44 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
502
635
|
mfaEnabled: boolean;
|
|
503
636
|
organizationsEnabled: boolean;
|
|
504
637
|
organizationsLimit: number | null;
|
|
638
|
+
securityFeaturesEnabled: boolean;
|
|
505
639
|
idpInitiatedSsoEnabled: boolean;
|
|
506
640
|
samlApplicationsLimit: number | null;
|
|
507
|
-
|
|
641
|
+
customDomainsLimit: number | null;
|
|
642
|
+
};
|
|
643
|
+
usage: {
|
|
644
|
+
applicationsLimit: number;
|
|
645
|
+
thirdPartyApplicationsLimit: number;
|
|
646
|
+
scopesPerResourceLimit: number;
|
|
647
|
+
socialConnectorsLimit: number;
|
|
648
|
+
userRolesLimit: number;
|
|
649
|
+
machineToMachineRolesLimit: number;
|
|
650
|
+
scopesPerRoleLimit: number;
|
|
651
|
+
hooksLimit: number;
|
|
652
|
+
customJwtEnabled: boolean;
|
|
653
|
+
inlineHooksEnabled: boolean;
|
|
654
|
+
bringYourUiEnabled: boolean;
|
|
655
|
+
collectUserProfileEnabled: boolean;
|
|
656
|
+
passkeySignInEnabled: boolean;
|
|
657
|
+
machineToMachineLimit: number;
|
|
658
|
+
resourcesLimit: number;
|
|
659
|
+
enterpriseSsoLimit: number;
|
|
660
|
+
tenantMembersLimit: number;
|
|
661
|
+
mfaEnabled: boolean;
|
|
662
|
+
organizationsEnabled: boolean;
|
|
663
|
+
organizationsLimit: number;
|
|
664
|
+
securityFeaturesEnabled: boolean;
|
|
665
|
+
idpInitiatedSsoEnabled: boolean;
|
|
666
|
+
samlApplicationsLimit: number;
|
|
667
|
+
customDomainsLimit: number;
|
|
508
668
|
};
|
|
669
|
+
resources: Record<string, number>;
|
|
670
|
+
roles: Record<string, number>;
|
|
509
671
|
basicQuota: {
|
|
510
672
|
auditLogsRetentionDays: number | null;
|
|
673
|
+
subjectTokenEnabled: boolean;
|
|
674
|
+
hostedEmailLimit: number | null;
|
|
675
|
+
hostedEmailDailyLimit: number | null;
|
|
511
676
|
mauLimit: number | null;
|
|
512
677
|
applicationsLimit: number | null;
|
|
513
678
|
thirdPartyApplicationsLimit: number | null;
|
|
@@ -518,8 +683,10 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
518
683
|
scopesPerRoleLimit: number | null;
|
|
519
684
|
hooksLimit: number | null;
|
|
520
685
|
customJwtEnabled: boolean;
|
|
521
|
-
|
|
686
|
+
inlineHooksEnabled: boolean;
|
|
522
687
|
bringYourUiEnabled: boolean;
|
|
688
|
+
collectUserProfileEnabled: boolean;
|
|
689
|
+
passkeySignInEnabled: boolean;
|
|
523
690
|
tokenLimit: number | null;
|
|
524
691
|
machineToMachineLimit: number | null;
|
|
525
692
|
resourcesLimit: number | null;
|
|
@@ -528,61 +695,79 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
528
695
|
mfaEnabled: boolean;
|
|
529
696
|
organizationsEnabled: boolean;
|
|
530
697
|
organizationsLimit: number | null;
|
|
698
|
+
securityFeaturesEnabled: boolean;
|
|
531
699
|
idpInitiatedSsoEnabled: boolean;
|
|
532
700
|
samlApplicationsLimit: number | null;
|
|
533
|
-
|
|
701
|
+
customDomainsLimit: number | null;
|
|
534
702
|
};
|
|
535
703
|
}>;
|
|
536
704
|
} & {
|
|
537
705
|
"/tenants/:tenantId/subscription/periodic-usage": import("@withtyped/server").PathGuard<"/:tenantId/subscription/periodic-usage", unknown, unknown, {
|
|
538
706
|
mauLimit: number;
|
|
539
707
|
tokenLimit: number;
|
|
708
|
+
userTokenLimit: number;
|
|
709
|
+
m2mTokenLimit: number;
|
|
540
710
|
}>;
|
|
541
711
|
} & {
|
|
542
|
-
"/tenants/:tenantId/subscription/
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
type: LogtoSkuType;
|
|
550
|
-
quota: {
|
|
551
|
-
auditLogsRetentionDays?: number | null | undefined;
|
|
552
|
-
mauLimit?: number | null | undefined;
|
|
553
|
-
applicationsLimit?: number | null | undefined;
|
|
554
|
-
thirdPartyApplicationsLimit?: number | null | undefined;
|
|
555
|
-
scopesPerResourceLimit?: number | null | undefined;
|
|
556
|
-
socialConnectorsLimit?: number | null | undefined;
|
|
557
|
-
userRolesLimit?: number | null | undefined;
|
|
558
|
-
machineToMachineRolesLimit?: number | null | undefined;
|
|
559
|
-
scopesPerRoleLimit?: number | null | undefined;
|
|
560
|
-
hooksLimit?: number | null | undefined;
|
|
561
|
-
customJwtEnabled?: boolean | undefined;
|
|
562
|
-
subjectTokenEnabled?: boolean | undefined;
|
|
563
|
-
bringYourUiEnabled?: boolean | undefined;
|
|
564
|
-
tokenLimit?: number | null | undefined;
|
|
565
|
-
machineToMachineLimit?: number | null | undefined;
|
|
566
|
-
resourcesLimit?: number | null | undefined;
|
|
567
|
-
enterpriseSsoLimit?: number | null | undefined;
|
|
568
|
-
tenantMembersLimit?: number | null | undefined;
|
|
569
|
-
mfaEnabled?: boolean | undefined;
|
|
570
|
-
organizationsEnabled?: boolean | undefined;
|
|
571
|
-
organizationsLimit?: number | null | undefined;
|
|
572
|
-
idpInitiatedSsoEnabled?: boolean | undefined;
|
|
573
|
-
samlApplicationsLimit?: number | null | undefined;
|
|
574
|
-
captchaEnabled?: boolean | undefined;
|
|
575
|
-
};
|
|
576
|
-
updatedAt: Date;
|
|
577
|
-
productId: string | null;
|
|
578
|
-
} | undefined;
|
|
712
|
+
"/tenants/:tenantId/subscription/hosted-email-usage": import("@withtyped/server").PathGuard<"/:tenantId/subscription/hosted-email-usage", unknown, unknown, {
|
|
713
|
+
periodStart: string;
|
|
714
|
+
periodEnd: string;
|
|
715
|
+
dailyUsage: number;
|
|
716
|
+
periodUsage: number;
|
|
717
|
+
dailyLimit: number | null;
|
|
718
|
+
periodLimit: number | null;
|
|
579
719
|
}>;
|
|
720
|
+
} & {
|
|
721
|
+
"/tenants/:tenantId/subscription/add-on-skus": import("@withtyped/server").PathGuard<"/:tenantId/subscription/add-on-skus", unknown, unknown, Partial<Record<"mauLimit" | "thirdPartyApplicationsLimit" | "userRolesLimit" | "machineToMachineRolesLimit" | "hooksLimit" | "tokenLimit" | "machineToMachineLimit" | "resourcesLimit" | "enterpriseSsoLimit" | "tenantMembersLimit" | "mfaEnabled" | "organizationsEnabled" | "organizationsLimit" | "securityFeaturesEnabled" | "samlApplicationsLimit" | "customDomainsLimit", {
|
|
722
|
+
id: string;
|
|
723
|
+
name: string | null;
|
|
724
|
+
createdAt: Date;
|
|
725
|
+
defaultPriceId: string | null;
|
|
726
|
+
unitPrice: number | null;
|
|
727
|
+
type: LogtoSkuType;
|
|
728
|
+
quota: {
|
|
729
|
+
auditLogsRetentionDays?: number | null | undefined;
|
|
730
|
+
subjectTokenEnabled?: boolean | undefined;
|
|
731
|
+
hostedEmailLimit?: number | null | undefined;
|
|
732
|
+
hostedEmailDailyLimit?: number | null | undefined;
|
|
733
|
+
mauLimit?: number | null | undefined;
|
|
734
|
+
applicationsLimit?: number | null | undefined;
|
|
735
|
+
thirdPartyApplicationsLimit?: number | null | undefined;
|
|
736
|
+
scopesPerResourceLimit?: number | null | undefined;
|
|
737
|
+
socialConnectorsLimit?: number | null | undefined;
|
|
738
|
+
userRolesLimit?: number | null | undefined;
|
|
739
|
+
machineToMachineRolesLimit?: number | null | undefined;
|
|
740
|
+
scopesPerRoleLimit?: number | null | undefined;
|
|
741
|
+
hooksLimit?: number | null | undefined;
|
|
742
|
+
customJwtEnabled?: boolean | undefined;
|
|
743
|
+
inlineHooksEnabled?: boolean | undefined;
|
|
744
|
+
bringYourUiEnabled?: boolean | undefined;
|
|
745
|
+
collectUserProfileEnabled?: boolean | undefined;
|
|
746
|
+
passkeySignInEnabled?: boolean | undefined;
|
|
747
|
+
tokenLimit?: number | null | undefined;
|
|
748
|
+
machineToMachineLimit?: number | null | undefined;
|
|
749
|
+
resourcesLimit?: number | null | undefined;
|
|
750
|
+
enterpriseSsoLimit?: number | null | undefined;
|
|
751
|
+
tenantMembersLimit?: number | null | undefined;
|
|
752
|
+
mfaEnabled?: boolean | undefined;
|
|
753
|
+
organizationsEnabled?: boolean | undefined;
|
|
754
|
+
organizationsLimit?: number | null | undefined;
|
|
755
|
+
securityFeaturesEnabled?: boolean | undefined;
|
|
756
|
+
idpInitiatedSsoEnabled?: boolean | undefined;
|
|
757
|
+
samlApplicationsLimit?: number | null | undefined;
|
|
758
|
+
customDomainsLimit?: number | null | undefined;
|
|
759
|
+
};
|
|
760
|
+
isDefault: boolean;
|
|
761
|
+
isDevPlan: boolean;
|
|
762
|
+
updatedAt: Date;
|
|
763
|
+
productId: string | null;
|
|
764
|
+
}>>>;
|
|
580
765
|
} & {
|
|
581
766
|
"/tenants/:tenantId/invoices": import("@withtyped/server").PathGuard<"/:tenantId/invoices", unknown, unknown, {
|
|
582
767
|
invoices: {
|
|
583
768
|
id: string;
|
|
584
769
|
createdAt: Date;
|
|
585
|
-
status: "
|
|
770
|
+
status: "open" | "void" | "draft" | "paid" | "uncollectible" | null;
|
|
586
771
|
updatedAt: Date;
|
|
587
772
|
customerId: string | null;
|
|
588
773
|
billingReason: string | null;
|
|
@@ -594,6 +779,8 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
594
779
|
subscriptionId: string | null;
|
|
595
780
|
hostedInvoiceUrl: string | null;
|
|
596
781
|
invoicePdf: string | null;
|
|
782
|
+
collectionMethod: "charge_automatically" | "send_invoice" | null;
|
|
783
|
+
dueDate: Date | null;
|
|
597
784
|
planName: string | null;
|
|
598
785
|
skuId?: string | null | undefined;
|
|
599
786
|
}[];
|
|
@@ -610,6 +797,9 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
610
797
|
type: LogtoSkuType;
|
|
611
798
|
quota: {
|
|
612
799
|
auditLogsRetentionDays?: number | null | undefined;
|
|
800
|
+
subjectTokenEnabled?: boolean | undefined;
|
|
801
|
+
hostedEmailLimit?: number | null | undefined;
|
|
802
|
+
hostedEmailDailyLimit?: number | null | undefined;
|
|
613
803
|
mauLimit?: number | null | undefined;
|
|
614
804
|
applicationsLimit?: number | null | undefined;
|
|
615
805
|
thirdPartyApplicationsLimit?: number | null | undefined;
|
|
@@ -620,8 +810,10 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
620
810
|
scopesPerRoleLimit?: number | null | undefined;
|
|
621
811
|
hooksLimit?: number | null | undefined;
|
|
622
812
|
customJwtEnabled?: boolean | undefined;
|
|
623
|
-
|
|
813
|
+
inlineHooksEnabled?: boolean | undefined;
|
|
624
814
|
bringYourUiEnabled?: boolean | undefined;
|
|
815
|
+
collectUserProfileEnabled?: boolean | undefined;
|
|
816
|
+
passkeySignInEnabled?: boolean | undefined;
|
|
625
817
|
tokenLimit?: number | null | undefined;
|
|
626
818
|
machineToMachineLimit?: number | null | undefined;
|
|
627
819
|
resourcesLimit?: number | null | undefined;
|
|
@@ -630,10 +822,13 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
630
822
|
mfaEnabled?: boolean | undefined;
|
|
631
823
|
organizationsEnabled?: boolean | undefined;
|
|
632
824
|
organizationsLimit?: number | null | undefined;
|
|
825
|
+
securityFeaturesEnabled?: boolean | undefined;
|
|
633
826
|
idpInitiatedSsoEnabled?: boolean | undefined;
|
|
634
827
|
samlApplicationsLimit?: number | null | undefined;
|
|
635
|
-
|
|
828
|
+
customDomainsLimit?: number | null | undefined;
|
|
636
829
|
};
|
|
830
|
+
isDefault: boolean;
|
|
831
|
+
isDevPlan: boolean;
|
|
637
832
|
updatedAt: Date;
|
|
638
833
|
productId: string | null;
|
|
639
834
|
}[]>;
|
|
@@ -656,8 +851,8 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
656
851
|
copy: {};
|
|
657
852
|
head: {};
|
|
658
853
|
}, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
|
|
659
|
-
patch: {};
|
|
660
854
|
options: {};
|
|
855
|
+
patch: {};
|
|
661
856
|
get: {
|
|
662
857
|
"/services/mails/usage": import("@withtyped/server").PathGuard<"/mails/usage", {
|
|
663
858
|
from?: string | undefined;
|
|
@@ -670,17 +865,59 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
670
865
|
data: {
|
|
671
866
|
type: TemplateType;
|
|
672
867
|
payload: {
|
|
673
|
-
link?: string | undefined;
|
|
674
868
|
code?: string | undefined;
|
|
869
|
+
link?: string | undefined;
|
|
675
870
|
locale?: string | undefined;
|
|
871
|
+
uiLocales?: string | undefined;
|
|
676
872
|
} & {
|
|
677
873
|
[k: string]: unknown;
|
|
678
874
|
} & {
|
|
679
875
|
senderName?: string | undefined;
|
|
680
876
|
companyInformation?: string | undefined;
|
|
681
877
|
appLogo?: string | undefined;
|
|
878
|
+
} & {
|
|
879
|
+
organization?: {
|
|
880
|
+
id: string;
|
|
881
|
+
name: string;
|
|
882
|
+
branding: {
|
|
883
|
+
logoUrl?: string | undefined;
|
|
884
|
+
darkLogoUrl?: string | undefined;
|
|
885
|
+
favicon?: string | undefined;
|
|
886
|
+
darkFavicon?: string | undefined;
|
|
887
|
+
};
|
|
888
|
+
} | undefined;
|
|
889
|
+
inviter?: {
|
|
890
|
+
id: string;
|
|
891
|
+
name: string | null;
|
|
892
|
+
username: string | null;
|
|
893
|
+
primaryEmail: string | null;
|
|
894
|
+
primaryPhone: string | null;
|
|
895
|
+
avatar: string | null;
|
|
896
|
+
profile: Partial<{
|
|
897
|
+
familyName: string;
|
|
898
|
+
givenName: string;
|
|
899
|
+
middleName: string;
|
|
900
|
+
nickname: string;
|
|
901
|
+
preferredUsername: string;
|
|
902
|
+
profile: string;
|
|
903
|
+
website: string;
|
|
904
|
+
gender: string;
|
|
905
|
+
birthdate: string;
|
|
906
|
+
zoneinfo: string;
|
|
907
|
+
locale: string;
|
|
908
|
+
address: Partial<{
|
|
909
|
+
formatted: string;
|
|
910
|
+
streetAddress: string;
|
|
911
|
+
locality: string;
|
|
912
|
+
region: string;
|
|
913
|
+
postalCode: string;
|
|
914
|
+
country: string;
|
|
915
|
+
}>;
|
|
916
|
+
}>;
|
|
917
|
+
} | undefined;
|
|
682
918
|
};
|
|
683
919
|
to: string;
|
|
920
|
+
ip?: string | undefined;
|
|
684
921
|
};
|
|
685
922
|
}, unknown>;
|
|
686
923
|
} & {
|
|
@@ -692,9 +929,11 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
692
929
|
code?: string | undefined;
|
|
693
930
|
link?: string | undefined;
|
|
694
931
|
locale?: string | undefined;
|
|
932
|
+
uiLocales?: string | undefined;
|
|
695
933
|
} & {
|
|
696
934
|
[k: string]: unknown;
|
|
697
935
|
};
|
|
936
|
+
ip?: string | undefined;
|
|
698
937
|
};
|
|
699
938
|
}, unknown>;
|
|
700
939
|
} & {
|
|
@@ -703,13 +942,14 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
703
942
|
}, {
|
|
704
943
|
token: Record<string, Json>;
|
|
705
944
|
context: Record<string, Json>;
|
|
706
|
-
script: string;
|
|
707
945
|
tokenType: LogtoJwtTokenKeyType.AccessToken;
|
|
946
|
+
script: string;
|
|
708
947
|
environmentVariables?: Record<string, string> | undefined;
|
|
709
948
|
} | {
|
|
710
949
|
token: Record<string, Json>;
|
|
711
|
-
script: string;
|
|
712
950
|
tokenType: LogtoJwtTokenKeyType.ClientCredentials;
|
|
951
|
+
script: string;
|
|
952
|
+
context?: Record<string, Json> | undefined;
|
|
713
953
|
environmentVariables?: Record<string, string> | undefined;
|
|
714
954
|
}, Record<string, unknown>>;
|
|
715
955
|
};
|
|
@@ -731,8 +971,8 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
731
971
|
copy: {};
|
|
732
972
|
head: {};
|
|
733
973
|
}, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
|
|
734
|
-
patch: {};
|
|
735
974
|
options: {};
|
|
975
|
+
patch: {};
|
|
736
976
|
get: {
|
|
737
977
|
"/skus": import("@withtyped/server").PathGuard<"/", {
|
|
738
978
|
type?: LogtoSkuType | undefined;
|
|
@@ -745,6 +985,9 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
745
985
|
type: LogtoSkuType;
|
|
746
986
|
quota: {
|
|
747
987
|
auditLogsRetentionDays?: number | null | undefined;
|
|
988
|
+
subjectTokenEnabled?: boolean | undefined;
|
|
989
|
+
hostedEmailLimit?: number | null | undefined;
|
|
990
|
+
hostedEmailDailyLimit?: number | null | undefined;
|
|
748
991
|
mauLimit?: number | null | undefined;
|
|
749
992
|
applicationsLimit?: number | null | undefined;
|
|
750
993
|
thirdPartyApplicationsLimit?: number | null | undefined;
|
|
@@ -755,8 +998,10 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
755
998
|
scopesPerRoleLimit?: number | null | undefined;
|
|
756
999
|
hooksLimit?: number | null | undefined;
|
|
757
1000
|
customJwtEnabled?: boolean | undefined;
|
|
758
|
-
|
|
1001
|
+
inlineHooksEnabled?: boolean | undefined;
|
|
759
1002
|
bringYourUiEnabled?: boolean | undefined;
|
|
1003
|
+
collectUserProfileEnabled?: boolean | undefined;
|
|
1004
|
+
passkeySignInEnabled?: boolean | undefined;
|
|
760
1005
|
tokenLimit?: number | null | undefined;
|
|
761
1006
|
machineToMachineLimit?: number | null | undefined;
|
|
762
1007
|
resourcesLimit?: number | null | undefined;
|
|
@@ -765,28 +1010,26 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
765
1010
|
mfaEnabled?: boolean | undefined;
|
|
766
1011
|
organizationsEnabled?: boolean | undefined;
|
|
767
1012
|
organizationsLimit?: number | null | undefined;
|
|
1013
|
+
securityFeaturesEnabled?: boolean | undefined;
|
|
768
1014
|
idpInitiatedSsoEnabled?: boolean | undefined;
|
|
769
1015
|
samlApplicationsLimit?: number | null | undefined;
|
|
770
|
-
|
|
1016
|
+
customDomainsLimit?: number | null | undefined;
|
|
771
1017
|
};
|
|
1018
|
+
isDefault: boolean;
|
|
1019
|
+
isDevPlan: boolean;
|
|
772
1020
|
updatedAt: Date;
|
|
773
1021
|
productId: string | null;
|
|
774
1022
|
}[]>;
|
|
1023
|
+
} & {
|
|
1024
|
+
"/skus/:basicSkuId/usage-reporting-type": import("@withtyped/server").PathGuard<"/:basicSkuId/usage-reporting-type", unknown, unknown, {
|
|
1025
|
+
basicSkuId: string;
|
|
1026
|
+
usageReportingType: UsageReportingType | null;
|
|
1027
|
+
}>;
|
|
775
1028
|
};
|
|
776
1029
|
post: {
|
|
777
1030
|
"/skus": import("@withtyped/server").PathGuard<"/", unknown, {
|
|
778
|
-
type: LogtoSkuType
|
|
1031
|
+
type: LogtoSkuType;
|
|
779
1032
|
quota: {
|
|
780
|
-
tokenLimit?: number | null | undefined;
|
|
781
|
-
machineToMachineLimit?: number | null | undefined;
|
|
782
|
-
resourcesLimit?: number | null | undefined;
|
|
783
|
-
enterpriseSsoLimit?: number | null | undefined;
|
|
784
|
-
hooksLimit?: number | null | undefined;
|
|
785
|
-
tenantMembersLimit?: number | null | undefined;
|
|
786
|
-
mfaEnabled?: boolean | undefined;
|
|
787
|
-
organizationsEnabled?: boolean | undefined;
|
|
788
|
-
organizationsLimit?: number | null | undefined;
|
|
789
|
-
auditLogsRetentionDays?: number | null | undefined;
|
|
790
1033
|
mauLimit?: number | null | undefined;
|
|
791
1034
|
applicationsLimit?: number | null | undefined;
|
|
792
1035
|
thirdPartyApplicationsLimit?: number | null | undefined;
|
|
@@ -795,51 +1038,45 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
795
1038
|
userRolesLimit?: number | null | undefined;
|
|
796
1039
|
machineToMachineRolesLimit?: number | null | undefined;
|
|
797
1040
|
scopesPerRoleLimit?: number | null | undefined;
|
|
1041
|
+
hooksLimit?: number | null | undefined;
|
|
1042
|
+
auditLogsRetentionDays?: number | null | undefined;
|
|
1043
|
+
hostedEmailLimit?: number | null | undefined;
|
|
1044
|
+
hostedEmailDailyLimit?: number | null | undefined;
|
|
798
1045
|
customJwtEnabled?: boolean | undefined;
|
|
1046
|
+
inlineHooksEnabled?: boolean | undefined;
|
|
799
1047
|
subjectTokenEnabled?: boolean | undefined;
|
|
800
1048
|
bringYourUiEnabled?: boolean | undefined;
|
|
1049
|
+
collectUserProfileEnabled?: boolean | undefined;
|
|
1050
|
+
passkeySignInEnabled?: boolean | undefined;
|
|
1051
|
+
tokenLimit?: number | null | undefined;
|
|
1052
|
+
machineToMachineLimit?: number | null | undefined;
|
|
1053
|
+
resourcesLimit?: number | null | undefined;
|
|
1054
|
+
enterpriseSsoLimit?: number | null | undefined;
|
|
1055
|
+
tenantMembersLimit?: number | null | undefined;
|
|
1056
|
+
mfaEnabled?: boolean | undefined;
|
|
1057
|
+
organizationsEnabled?: boolean | undefined;
|
|
1058
|
+
organizationsLimit?: number | null | undefined;
|
|
1059
|
+
securityFeaturesEnabled?: boolean | undefined;
|
|
801
1060
|
idpInitiatedSsoEnabled?: boolean | undefined;
|
|
802
1061
|
samlApplicationsLimit?: number | null | undefined;
|
|
803
|
-
|
|
804
|
-
};
|
|
805
|
-
} | {
|
|
806
|
-
type: LogtoSkuType.Basic;
|
|
807
|
-
quota: {
|
|
808
|
-
auditLogsRetentionDays: number | null;
|
|
809
|
-
mauLimit: number | null;
|
|
810
|
-
applicationsLimit: number | null;
|
|
811
|
-
thirdPartyApplicationsLimit: number | null;
|
|
812
|
-
scopesPerResourceLimit: number | null;
|
|
813
|
-
socialConnectorsLimit: number | null;
|
|
814
|
-
userRolesLimit: number | null;
|
|
815
|
-
machineToMachineRolesLimit: number | null;
|
|
816
|
-
scopesPerRoleLimit: number | null;
|
|
817
|
-
hooksLimit: number | null;
|
|
818
|
-
customJwtEnabled: boolean;
|
|
819
|
-
subjectTokenEnabled: boolean;
|
|
820
|
-
bringYourUiEnabled: boolean;
|
|
821
|
-
tokenLimit: number | null;
|
|
822
|
-
machineToMachineLimit: number | null;
|
|
823
|
-
resourcesLimit: number | null;
|
|
824
|
-
enterpriseSsoLimit: number | null;
|
|
825
|
-
tenantMembersLimit: number | null;
|
|
826
|
-
mfaEnabled: boolean;
|
|
827
|
-
organizationsEnabled: boolean;
|
|
828
|
-
organizationsLimit: number | null;
|
|
829
|
-
idpInitiatedSsoEnabled: boolean;
|
|
830
|
-
samlApplicationsLimit: number | null;
|
|
831
|
-
captchaEnabled: boolean;
|
|
832
|
-
};
|
|
833
|
-
addOnRelations: {
|
|
834
|
-
tokenLimit: string;
|
|
1062
|
+
customDomainsLimit?: number | null | undefined;
|
|
835
1063
|
};
|
|
1064
|
+
id?: string | undefined;
|
|
1065
|
+
isDefault?: boolean | undefined;
|
|
1066
|
+
isDevPlan?: boolean | undefined;
|
|
1067
|
+
usageReportingType?: UsageReportingType | undefined;
|
|
836
1068
|
}, {
|
|
1069
|
+
type: LogtoSkuType;
|
|
837
1070
|
id: string;
|
|
838
1071
|
createdAt: Date;
|
|
839
|
-
|
|
1072
|
+
isDefault: boolean;
|
|
1073
|
+
isDevPlan: boolean;
|
|
840
1074
|
updatedAt: Date;
|
|
841
1075
|
quota: {
|
|
842
1076
|
auditLogsRetentionDays?: number | null | undefined;
|
|
1077
|
+
subjectTokenEnabled?: boolean | undefined;
|
|
1078
|
+
hostedEmailLimit?: number | null | undefined;
|
|
1079
|
+
hostedEmailDailyLimit?: number | null | undefined;
|
|
843
1080
|
mauLimit?: number | null | undefined;
|
|
844
1081
|
applicationsLimit?: number | null | undefined;
|
|
845
1082
|
thirdPartyApplicationsLimit?: number | null | undefined;
|
|
@@ -850,8 +1087,10 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
850
1087
|
scopesPerRoleLimit?: number | null | undefined;
|
|
851
1088
|
hooksLimit?: number | null | undefined;
|
|
852
1089
|
customJwtEnabled?: boolean | undefined;
|
|
853
|
-
|
|
1090
|
+
inlineHooksEnabled?: boolean | undefined;
|
|
854
1091
|
bringYourUiEnabled?: boolean | undefined;
|
|
1092
|
+
collectUserProfileEnabled?: boolean | undefined;
|
|
1093
|
+
passkeySignInEnabled?: boolean | undefined;
|
|
855
1094
|
tokenLimit?: number | null | undefined;
|
|
856
1095
|
machineToMachineLimit?: number | null | undefined;
|
|
857
1096
|
resourcesLimit?: number | null | undefined;
|
|
@@ -860,9 +1099,10 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
860
1099
|
mfaEnabled?: boolean | undefined;
|
|
861
1100
|
organizationsEnabled?: boolean | undefined;
|
|
862
1101
|
organizationsLimit?: number | null | undefined;
|
|
1102
|
+
securityFeaturesEnabled?: boolean | undefined;
|
|
863
1103
|
idpInitiatedSsoEnabled?: boolean | undefined;
|
|
864
1104
|
samlApplicationsLimit?: number | null | undefined;
|
|
865
|
-
|
|
1105
|
+
customDomainsLimit?: number | null | undefined;
|
|
866
1106
|
};
|
|
867
1107
|
}>;
|
|
868
1108
|
} & {
|
|
@@ -874,36 +1114,56 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
874
1114
|
}, {
|
|
875
1115
|
productId: string;
|
|
876
1116
|
}>;
|
|
1117
|
+
} & {
|
|
1118
|
+
"/skus/:basicSkuId/usage-add-on-relations": import("@withtyped/server").PathGuard<"/:basicSkuId/usage-add-on-relations", unknown, {
|
|
1119
|
+
usageKey: "mauLimit" | "thirdPartyApplicationsLimit" | "userRolesLimit" | "machineToMachineRolesLimit" | "hooksLimit" | "tokenLimit" | "machineToMachineLimit" | "resourcesLimit" | "enterpriseSsoLimit" | "tenantMembersLimit" | "mfaEnabled" | "organizationsEnabled" | "organizationsLimit" | "securityFeaturesEnabled" | "samlApplicationsLimit" | "customDomainsLimit";
|
|
1120
|
+
addOnSkuId: string;
|
|
1121
|
+
}, {
|
|
1122
|
+
usageKey: "mauLimit" | "thirdPartyApplicationsLimit" | "userRolesLimit" | "machineToMachineRolesLimit" | "hooksLimit" | "tokenLimit" | "machineToMachineLimit" | "resourcesLimit" | "enterpriseSsoLimit" | "tenantMembersLimit" | "mfaEnabled" | "organizationsEnabled" | "organizationsLimit" | "securityFeaturesEnabled" | "samlApplicationsLimit" | "customDomainsLimit";
|
|
1123
|
+
basicSkuId: string;
|
|
1124
|
+
addOnSkuId: string;
|
|
1125
|
+
}>;
|
|
1126
|
+
};
|
|
1127
|
+
put: {
|
|
1128
|
+
"/skus/:basicSkuId/usage-reporting-type": import("@withtyped/server").PathGuard<"/:basicSkuId/usage-reporting-type", unknown, {
|
|
1129
|
+
usageReportingType: UsageReportingType;
|
|
1130
|
+
}, {
|
|
1131
|
+
basicSkuId: string;
|
|
1132
|
+
usageReportingType: UsageReportingType;
|
|
1133
|
+
}>;
|
|
877
1134
|
};
|
|
878
|
-
put: {};
|
|
879
1135
|
delete: {
|
|
880
1136
|
"/skus/:skuId": import("@withtyped/server").PathGuard<"/:skuId", unknown, unknown, unknown>;
|
|
1137
|
+
} & {
|
|
1138
|
+
"/skus/:basicSkuId/usage-add-on-relations/:usageKey": import("@withtyped/server").PathGuard<"/:basicSkuId/usage-add-on-relations/:usageKey", unknown, unknown, unknown>;
|
|
1139
|
+
} & {
|
|
1140
|
+
"/skus/:basicSkuId/usage-reporting-type": import("@withtyped/server").PathGuard<"/:basicSkuId/usage-reporting-type", unknown, unknown, unknown>;
|
|
881
1141
|
};
|
|
882
1142
|
copy: {};
|
|
883
1143
|
head: {};
|
|
884
1144
|
}, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
|
|
885
|
-
patch: {};
|
|
886
1145
|
options: {};
|
|
1146
|
+
patch: {};
|
|
887
1147
|
get: {
|
|
888
1148
|
"/checkout-session/:id": import("@withtyped/server").PathGuard<"/:id", unknown, unknown, {
|
|
889
|
-
id: string;
|
|
890
|
-
createdAt: Date;
|
|
891
|
-
userId: string;
|
|
892
1149
|
status: "open" | "complete" | "expired";
|
|
1150
|
+
skuId: string | null;
|
|
1151
|
+
userId: string;
|
|
893
1152
|
tenantId: string | null;
|
|
1153
|
+
id: string;
|
|
1154
|
+
createdAt: Date;
|
|
894
1155
|
updatedAt: Date;
|
|
895
|
-
skuId: string | null;
|
|
896
1156
|
planId: string | null;
|
|
897
1157
|
}>;
|
|
898
1158
|
};
|
|
899
1159
|
post: {
|
|
900
1160
|
"/checkout-session": import("@withtyped/server").PathGuard<"/", unknown, {
|
|
901
1161
|
successCallbackUrl: string;
|
|
902
|
-
tenantId?: string | undefined;
|
|
903
|
-
skuId?: string | undefined;
|
|
904
|
-
tenantName?: string | undefined;
|
|
905
1162
|
tenantTag?: TenantTag | undefined;
|
|
906
|
-
|
|
1163
|
+
tenantName?: string | undefined;
|
|
1164
|
+
tenantRegionName?: string | undefined;
|
|
1165
|
+
skuId?: string | undefined;
|
|
1166
|
+
tenantId?: string | undefined;
|
|
907
1167
|
cancelCallbackUrl?: string | undefined;
|
|
908
1168
|
}, {
|
|
909
1169
|
sessionId: string;
|
|
@@ -915,78 +1175,18 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
915
1175
|
copy: {};
|
|
916
1176
|
head: {};
|
|
917
1177
|
}, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
|
|
918
|
-
patch: {};
|
|
919
1178
|
options: {};
|
|
920
|
-
get: {
|
|
921
|
-
"/affiliates": import("@withtyped/server").PathGuard<"/", unknown, unknown, AffiliateData[]>;
|
|
922
|
-
};
|
|
923
|
-
post: {
|
|
924
|
-
"/affiliates": import("@withtyped/server").PathGuard<"/", unknown, {
|
|
925
|
-
name: string;
|
|
926
|
-
}, {
|
|
927
|
-
id: string;
|
|
928
|
-
createdAt: Date;
|
|
929
|
-
name: string;
|
|
930
|
-
}>;
|
|
931
|
-
} & {
|
|
932
|
-
"/affiliates/:id/properties": import("@withtyped/server").PathGuard<"/:id/properties", unknown, {
|
|
933
|
-
type: "hostname" | "query";
|
|
934
|
-
value: string;
|
|
935
|
-
}, {
|
|
936
|
-
createdAt: Date;
|
|
937
|
-
affiliateId: string;
|
|
938
|
-
type: "hostname" | "query";
|
|
939
|
-
value: string;
|
|
940
|
-
}>;
|
|
941
|
-
};
|
|
942
|
-
put: {};
|
|
943
|
-
delete: {
|
|
944
|
-
"/affiliates/:id/properties": import("@withtyped/server").PathGuard<"/:id/properties", unknown, {
|
|
945
|
-
type: "hostname" | "query";
|
|
946
|
-
value: string;
|
|
947
|
-
}, unknown>;
|
|
948
|
-
};
|
|
949
|
-
copy: {};
|
|
950
|
-
head: {};
|
|
951
|
-
}, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
|
|
952
|
-
patch: {};
|
|
953
|
-
options: {};
|
|
954
|
-
get: {};
|
|
955
|
-
post: {
|
|
956
|
-
"/affiliate-logs": import("@withtyped/server").PathGuard<"/", unknown, {
|
|
957
|
-
createdAt: string;
|
|
958
|
-
userId: string;
|
|
959
|
-
hostname?: string | undefined;
|
|
960
|
-
query?: string | undefined;
|
|
961
|
-
}, {
|
|
962
|
-
id: string;
|
|
963
|
-
createdAt: Date;
|
|
964
|
-
affiliateId: string | null;
|
|
965
|
-
userId: string;
|
|
966
|
-
createdVia: {
|
|
967
|
-
createdAt: string;
|
|
968
|
-
hostname?: string | undefined;
|
|
969
|
-
query?: string | undefined;
|
|
970
|
-
};
|
|
971
|
-
}>;
|
|
972
|
-
};
|
|
973
|
-
put: {};
|
|
974
|
-
delete: {};
|
|
975
|
-
copy: {};
|
|
976
|
-
head: {};
|
|
977
|
-
}, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
|
|
978
1179
|
patch: {
|
|
979
1180
|
"/invitations/:invitationId/status": import("@withtyped/server").PathGuard<"/:invitationId/status", unknown, {
|
|
980
1181
|
status: OrganizationInvitationStatus.Accepted;
|
|
981
1182
|
}, unknown>;
|
|
982
1183
|
};
|
|
983
|
-
options: {};
|
|
984
1184
|
get: {
|
|
985
1185
|
"/invitations": import("@withtyped/server").PathGuard<"/", unknown, unknown, ({
|
|
986
|
-
id: string;
|
|
987
|
-
createdAt: number;
|
|
988
1186
|
status: OrganizationInvitationStatus;
|
|
989
1187
|
tenantId: string;
|
|
1188
|
+
id: string;
|
|
1189
|
+
createdAt: number;
|
|
990
1190
|
updatedAt: number;
|
|
991
1191
|
inviterId: string | null;
|
|
992
1192
|
invitee: string;
|
|
@@ -995,15 +1195,15 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
995
1195
|
expiresAt: number;
|
|
996
1196
|
organizationRoles: OrganizationRoleEntity[];
|
|
997
1197
|
} & {
|
|
998
|
-
tenantName: string;
|
|
999
1198
|
tenantTag: TenantTag;
|
|
1199
|
+
tenantName: string;
|
|
1000
1200
|
})[]>;
|
|
1001
1201
|
} & {
|
|
1002
1202
|
"/invitations/:invitationId": import("@withtyped/server").PathGuard<"/:invitationId", unknown, unknown, {
|
|
1003
|
-
id: string;
|
|
1004
|
-
createdAt: number;
|
|
1005
1203
|
status: OrganizationInvitationStatus;
|
|
1006
1204
|
tenantId: string;
|
|
1205
|
+
id: string;
|
|
1206
|
+
createdAt: number;
|
|
1007
1207
|
updatedAt: number;
|
|
1008
1208
|
inviterId: string | null;
|
|
1009
1209
|
invitee: string;
|
|
@@ -1019,8 +1219,191 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
1019
1219
|
copy: {};
|
|
1020
1220
|
head: {};
|
|
1021
1221
|
}, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
|
|
1022
|
-
patch: {};
|
|
1023
1222
|
options: {};
|
|
1223
|
+
patch: {
|
|
1224
|
+
"/system-limits/:id": import("@withtyped/server").PathGuard<"/:id", unknown, {
|
|
1225
|
+
limits: {
|
|
1226
|
+
applicationsLimit?: number | undefined;
|
|
1227
|
+
thirdPartyApplicationsLimit?: number | undefined;
|
|
1228
|
+
scopesPerResourceLimit?: number | undefined;
|
|
1229
|
+
socialConnectorsLimit?: number | undefined;
|
|
1230
|
+
userRolesLimit?: number | undefined;
|
|
1231
|
+
machineToMachineRolesLimit?: number | undefined;
|
|
1232
|
+
scopesPerRoleLimit?: number | undefined;
|
|
1233
|
+
hooksLimit?: number | undefined;
|
|
1234
|
+
machineToMachineLimit?: number | undefined;
|
|
1235
|
+
resourcesLimit?: number | undefined;
|
|
1236
|
+
enterpriseSsoLimit?: number | undefined;
|
|
1237
|
+
tenantMembersLimit?: number | undefined;
|
|
1238
|
+
organizationsLimit?: number | undefined;
|
|
1239
|
+
samlApplicationsLimit?: number | undefined;
|
|
1240
|
+
customDomainsLimit?: number | undefined;
|
|
1241
|
+
usersPerOrganizationLimit?: number | undefined;
|
|
1242
|
+
organizationUserRolesLimit?: number | undefined;
|
|
1243
|
+
organizationMachineToMachineRolesLimit?: number | undefined;
|
|
1244
|
+
organizationScopesLimit?: number | undefined;
|
|
1245
|
+
};
|
|
1246
|
+
}, {
|
|
1247
|
+
id: string;
|
|
1248
|
+
createdAt: Date;
|
|
1249
|
+
updatedAt: Date;
|
|
1250
|
+
limits: {
|
|
1251
|
+
applicationsLimit?: number | undefined;
|
|
1252
|
+
thirdPartyApplicationsLimit?: number | undefined;
|
|
1253
|
+
scopesPerResourceLimit?: number | undefined;
|
|
1254
|
+
socialConnectorsLimit?: number | undefined;
|
|
1255
|
+
userRolesLimit?: number | undefined;
|
|
1256
|
+
machineToMachineRolesLimit?: number | undefined;
|
|
1257
|
+
scopesPerRoleLimit?: number | undefined;
|
|
1258
|
+
hooksLimit?: number | undefined;
|
|
1259
|
+
machineToMachineLimit?: number | undefined;
|
|
1260
|
+
resourcesLimit?: number | undefined;
|
|
1261
|
+
enterpriseSsoLimit?: number | undefined;
|
|
1262
|
+
tenantMembersLimit?: number | undefined;
|
|
1263
|
+
organizationsLimit?: number | undefined;
|
|
1264
|
+
samlApplicationsLimit?: number | undefined;
|
|
1265
|
+
customDomainsLimit?: number | undefined;
|
|
1266
|
+
usersPerOrganizationLimit?: number | undefined;
|
|
1267
|
+
organizationUserRolesLimit?: number | undefined;
|
|
1268
|
+
organizationMachineToMachineRolesLimit?: number | undefined;
|
|
1269
|
+
organizationScopesLimit?: number | undefined;
|
|
1270
|
+
};
|
|
1271
|
+
}>;
|
|
1272
|
+
};
|
|
1273
|
+
get: {
|
|
1274
|
+
"/system-limits": import("@withtyped/server").PathGuard<"/", {
|
|
1275
|
+
basicSkuId?: string | undefined;
|
|
1276
|
+
}, unknown, {
|
|
1277
|
+
id: string;
|
|
1278
|
+
createdAt: Date;
|
|
1279
|
+
updatedAt: Date;
|
|
1280
|
+
limits: {
|
|
1281
|
+
applicationsLimit?: number | undefined;
|
|
1282
|
+
thirdPartyApplicationsLimit?: number | undefined;
|
|
1283
|
+
scopesPerResourceLimit?: number | undefined;
|
|
1284
|
+
socialConnectorsLimit?: number | undefined;
|
|
1285
|
+
userRolesLimit?: number | undefined;
|
|
1286
|
+
machineToMachineRolesLimit?: number | undefined;
|
|
1287
|
+
scopesPerRoleLimit?: number | undefined;
|
|
1288
|
+
hooksLimit?: number | undefined;
|
|
1289
|
+
machineToMachineLimit?: number | undefined;
|
|
1290
|
+
resourcesLimit?: number | undefined;
|
|
1291
|
+
enterpriseSsoLimit?: number | undefined;
|
|
1292
|
+
tenantMembersLimit?: number | undefined;
|
|
1293
|
+
organizationsLimit?: number | undefined;
|
|
1294
|
+
samlApplicationsLimit?: number | undefined;
|
|
1295
|
+
customDomainsLimit?: number | undefined;
|
|
1296
|
+
usersPerOrganizationLimit?: number | undefined;
|
|
1297
|
+
organizationUserRolesLimit?: number | undefined;
|
|
1298
|
+
organizationMachineToMachineRolesLimit?: number | undefined;
|
|
1299
|
+
organizationScopesLimit?: number | undefined;
|
|
1300
|
+
};
|
|
1301
|
+
basicSkuIds: string[];
|
|
1302
|
+
}[]>;
|
|
1303
|
+
} & {
|
|
1304
|
+
"/system-limits/:id": import("@withtyped/server").PathGuard<"/:id", unknown, unknown, {
|
|
1305
|
+
id: string;
|
|
1306
|
+
createdAt: Date;
|
|
1307
|
+
updatedAt: Date;
|
|
1308
|
+
limits: {
|
|
1309
|
+
applicationsLimit?: number | undefined;
|
|
1310
|
+
thirdPartyApplicationsLimit?: number | undefined;
|
|
1311
|
+
scopesPerResourceLimit?: number | undefined;
|
|
1312
|
+
socialConnectorsLimit?: number | undefined;
|
|
1313
|
+
userRolesLimit?: number | undefined;
|
|
1314
|
+
machineToMachineRolesLimit?: number | undefined;
|
|
1315
|
+
scopesPerRoleLimit?: number | undefined;
|
|
1316
|
+
hooksLimit?: number | undefined;
|
|
1317
|
+
machineToMachineLimit?: number | undefined;
|
|
1318
|
+
resourcesLimit?: number | undefined;
|
|
1319
|
+
enterpriseSsoLimit?: number | undefined;
|
|
1320
|
+
tenantMembersLimit?: number | undefined;
|
|
1321
|
+
organizationsLimit?: number | undefined;
|
|
1322
|
+
samlApplicationsLimit?: number | undefined;
|
|
1323
|
+
customDomainsLimit?: number | undefined;
|
|
1324
|
+
usersPerOrganizationLimit?: number | undefined;
|
|
1325
|
+
organizationUserRolesLimit?: number | undefined;
|
|
1326
|
+
organizationMachineToMachineRolesLimit?: number | undefined;
|
|
1327
|
+
organizationScopesLimit?: number | undefined;
|
|
1328
|
+
};
|
|
1329
|
+
basicSkuIds: string[];
|
|
1330
|
+
}>;
|
|
1331
|
+
};
|
|
1332
|
+
post: {
|
|
1333
|
+
"/system-limits": import("@withtyped/server").PathGuard<"/", unknown, {
|
|
1334
|
+
limits: {
|
|
1335
|
+
applicationsLimit?: number | undefined;
|
|
1336
|
+
thirdPartyApplicationsLimit?: number | undefined;
|
|
1337
|
+
scopesPerResourceLimit?: number | undefined;
|
|
1338
|
+
socialConnectorsLimit?: number | undefined;
|
|
1339
|
+
userRolesLimit?: number | undefined;
|
|
1340
|
+
machineToMachineRolesLimit?: number | undefined;
|
|
1341
|
+
scopesPerRoleLimit?: number | undefined;
|
|
1342
|
+
hooksLimit?: number | undefined;
|
|
1343
|
+
machineToMachineLimit?: number | undefined;
|
|
1344
|
+
resourcesLimit?: number | undefined;
|
|
1345
|
+
enterpriseSsoLimit?: number | undefined;
|
|
1346
|
+
tenantMembersLimit?: number | undefined;
|
|
1347
|
+
organizationsLimit?: number | undefined;
|
|
1348
|
+
samlApplicationsLimit?: number | undefined;
|
|
1349
|
+
customDomainsLimit?: number | undefined;
|
|
1350
|
+
usersPerOrganizationLimit?: number | undefined;
|
|
1351
|
+
organizationUserRolesLimit?: number | undefined;
|
|
1352
|
+
organizationMachineToMachineRolesLimit?: number | undefined;
|
|
1353
|
+
organizationScopesLimit?: number | undefined;
|
|
1354
|
+
};
|
|
1355
|
+
id?: string | undefined;
|
|
1356
|
+
}, {
|
|
1357
|
+
id: string;
|
|
1358
|
+
createdAt: Date;
|
|
1359
|
+
updatedAt: Date;
|
|
1360
|
+
limits: {
|
|
1361
|
+
applicationsLimit?: number | undefined;
|
|
1362
|
+
thirdPartyApplicationsLimit?: number | undefined;
|
|
1363
|
+
scopesPerResourceLimit?: number | undefined;
|
|
1364
|
+
socialConnectorsLimit?: number | undefined;
|
|
1365
|
+
userRolesLimit?: number | undefined;
|
|
1366
|
+
machineToMachineRolesLimit?: number | undefined;
|
|
1367
|
+
scopesPerRoleLimit?: number | undefined;
|
|
1368
|
+
hooksLimit?: number | undefined;
|
|
1369
|
+
machineToMachineLimit?: number | undefined;
|
|
1370
|
+
resourcesLimit?: number | undefined;
|
|
1371
|
+
enterpriseSsoLimit?: number | undefined;
|
|
1372
|
+
tenantMembersLimit?: number | undefined;
|
|
1373
|
+
organizationsLimit?: number | undefined;
|
|
1374
|
+
samlApplicationsLimit?: number | undefined;
|
|
1375
|
+
customDomainsLimit?: number | undefined;
|
|
1376
|
+
usersPerOrganizationLimit?: number | undefined;
|
|
1377
|
+
organizationUserRolesLimit?: number | undefined;
|
|
1378
|
+
organizationMachineToMachineRolesLimit?: number | undefined;
|
|
1379
|
+
organizationScopesLimit?: number | undefined;
|
|
1380
|
+
};
|
|
1381
|
+
}>;
|
|
1382
|
+
} & {
|
|
1383
|
+
"/system-limits/:systemLimitId/basic-sku-relations": import("@withtyped/server").PathGuard<"/:systemLimitId/basic-sku-relations", unknown, {
|
|
1384
|
+
basicSkuIds: string[];
|
|
1385
|
+
}, {
|
|
1386
|
+
relations: {
|
|
1387
|
+
createdAt: Date;
|
|
1388
|
+
updatedAt: Date;
|
|
1389
|
+
basicSkuId: string;
|
|
1390
|
+
systemLimitId: string;
|
|
1391
|
+
}[];
|
|
1392
|
+
}>;
|
|
1393
|
+
};
|
|
1394
|
+
put: {};
|
|
1395
|
+
delete: {
|
|
1396
|
+
"/system-limits/:id": import("@withtyped/server").PathGuard<"/:id", unknown, unknown, unknown>;
|
|
1397
|
+
} & {
|
|
1398
|
+
"/system-limits/:systemLimitId/basic-sku-relations": import("@withtyped/server").PathGuard<"/:systemLimitId/basic-sku-relations", unknown, {
|
|
1399
|
+
basicSkuIds: string[];
|
|
1400
|
+
}, unknown>;
|
|
1401
|
+
};
|
|
1402
|
+
copy: {};
|
|
1403
|
+
head: {};
|
|
1404
|
+
}, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
|
|
1405
|
+
options: {};
|
|
1406
|
+
patch: {};
|
|
1024
1407
|
get: {};
|
|
1025
1408
|
post: {};
|
|
1026
1409
|
put: {};
|
|
@@ -1029,6 +1412,262 @@ declare const router: import("@withtyped/server").Router<RequestContext, WithAut
|
|
|
1029
1412
|
};
|
|
1030
1413
|
copy: {};
|
|
1031
1414
|
head: {};
|
|
1415
|
+
}, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
|
|
1416
|
+
options: {};
|
|
1417
|
+
patch: {
|
|
1418
|
+
"/me/regions/:regionName/users/:userId": import("@withtyped/server").PathGuard<"/:regionName/users/:userId", unknown, {
|
|
1419
|
+
role: DatabaseRegionAccessRole;
|
|
1420
|
+
}, {
|
|
1421
|
+
role: DatabaseRegionAccessRole;
|
|
1422
|
+
userId: string;
|
|
1423
|
+
}>;
|
|
1424
|
+
};
|
|
1425
|
+
get: {
|
|
1426
|
+
"/me/regions": import("@withtyped/server").PathGuard<"/", unknown, unknown, {
|
|
1427
|
+
regions: {
|
|
1428
|
+
id: string;
|
|
1429
|
+
name: string;
|
|
1430
|
+
country: string;
|
|
1431
|
+
displayName: string;
|
|
1432
|
+
tags: TenantTag[];
|
|
1433
|
+
isPrivate: boolean;
|
|
1434
|
+
customTenantIdPrefix: string | null;
|
|
1435
|
+
}[];
|
|
1436
|
+
}>;
|
|
1437
|
+
} & {
|
|
1438
|
+
"/me/regions/:regionName/users": import("@withtyped/server").PathGuard<"/:regionName/users", unknown, unknown, {
|
|
1439
|
+
users: {
|
|
1440
|
+
role: DatabaseRegionAccessRole;
|
|
1441
|
+
userId: string;
|
|
1442
|
+
}[];
|
|
1443
|
+
}>;
|
|
1444
|
+
};
|
|
1445
|
+
post: {
|
|
1446
|
+
"/me/regions/:regionName/users": import("@withtyped/server").PathGuard<"/:regionName/users", unknown, {
|
|
1447
|
+
role: DatabaseRegionAccessRole;
|
|
1448
|
+
userId: string;
|
|
1449
|
+
}, {
|
|
1450
|
+
role: DatabaseRegionAccessRole;
|
|
1451
|
+
userId: string;
|
|
1452
|
+
}>;
|
|
1453
|
+
};
|
|
1454
|
+
put: {};
|
|
1455
|
+
delete: {
|
|
1456
|
+
"/me/regions/:regionName/users/:userId": import("@withtyped/server").PathGuard<"/:regionName/users/:userId", unknown, unknown, unknown>;
|
|
1457
|
+
};
|
|
1458
|
+
copy: {};
|
|
1459
|
+
head: {};
|
|
1460
|
+
}, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
|
|
1461
|
+
options: {};
|
|
1462
|
+
patch: {};
|
|
1463
|
+
get: {
|
|
1464
|
+
"/me/logto-enterprises": import("@withtyped/server").PathGuard<"/", unknown, unknown, {
|
|
1465
|
+
logtoEnterprises: {
|
|
1466
|
+
id: string;
|
|
1467
|
+
quotaScope: QuotaScope;
|
|
1468
|
+
createdAt: Date;
|
|
1469
|
+
name: string | null;
|
|
1470
|
+
updatedAt: Date;
|
|
1471
|
+
}[];
|
|
1472
|
+
}>;
|
|
1473
|
+
} & {
|
|
1474
|
+
"/me/logto-enterprises/:id": import("@withtyped/server").PathGuard<"/:id", {
|
|
1475
|
+
includeSharedQuota?: string | undefined;
|
|
1476
|
+
includeUsages?: string | undefined;
|
|
1477
|
+
includeSkuItems?: string | undefined;
|
|
1478
|
+
}, unknown, {
|
|
1479
|
+
id: string;
|
|
1480
|
+
regionNames: string[];
|
|
1481
|
+
quotaScope: QuotaScope;
|
|
1482
|
+
createdAt: Date;
|
|
1483
|
+
name: string | null;
|
|
1484
|
+
updatedAt: Date;
|
|
1485
|
+
subscription?: {
|
|
1486
|
+
status: "incomplete" | "incomplete_expired" | "trialing" | "active" | "past_due" | "canceled" | "unpaid" | "paused";
|
|
1487
|
+
quotaScope: "dedicated" | "shared";
|
|
1488
|
+
currentPeriodStart: Date;
|
|
1489
|
+
currentPeriodEnd: Date;
|
|
1490
|
+
isEnterprisePlan: boolean;
|
|
1491
|
+
id?: string | undefined;
|
|
1492
|
+
upcomingInvoice?: {
|
|
1493
|
+
subtotal: number;
|
|
1494
|
+
subtotalExcludingTax: number | null;
|
|
1495
|
+
total: number;
|
|
1496
|
+
totalExcludingTax: number | null;
|
|
1497
|
+
} | null | undefined;
|
|
1498
|
+
} | undefined;
|
|
1499
|
+
quota?: {
|
|
1500
|
+
usageReportingType: UsageReportingType;
|
|
1501
|
+
basicQuota: {
|
|
1502
|
+
auditLogsRetentionDays: number | null;
|
|
1503
|
+
subjectTokenEnabled: boolean;
|
|
1504
|
+
hostedEmailLimit: number | null;
|
|
1505
|
+
hostedEmailDailyLimit: number | null;
|
|
1506
|
+
mauLimit: number | null;
|
|
1507
|
+
applicationsLimit: number | null;
|
|
1508
|
+
thirdPartyApplicationsLimit: number | null;
|
|
1509
|
+
scopesPerResourceLimit: number | null;
|
|
1510
|
+
socialConnectorsLimit: number | null;
|
|
1511
|
+
userRolesLimit: number | null;
|
|
1512
|
+
machineToMachineRolesLimit: number | null;
|
|
1513
|
+
scopesPerRoleLimit: number | null;
|
|
1514
|
+
hooksLimit: number | null;
|
|
1515
|
+
customJwtEnabled: boolean;
|
|
1516
|
+
inlineHooksEnabled: boolean;
|
|
1517
|
+
bringYourUiEnabled: boolean;
|
|
1518
|
+
collectUserProfileEnabled: boolean;
|
|
1519
|
+
passkeySignInEnabled: boolean;
|
|
1520
|
+
tokenLimit: number | null;
|
|
1521
|
+
machineToMachineLimit: number | null;
|
|
1522
|
+
resourcesLimit: number | null;
|
|
1523
|
+
enterpriseSsoLimit: number | null;
|
|
1524
|
+
tenantMembersLimit: number | null;
|
|
1525
|
+
mfaEnabled: boolean;
|
|
1526
|
+
organizationsEnabled: boolean;
|
|
1527
|
+
organizationsLimit: number | null;
|
|
1528
|
+
securityFeaturesEnabled: boolean;
|
|
1529
|
+
idpInitiatedSsoEnabled: boolean;
|
|
1530
|
+
samlApplicationsLimit: number | null;
|
|
1531
|
+
customDomainsLimit: number | null;
|
|
1532
|
+
};
|
|
1533
|
+
aggregatedQuota: {
|
|
1534
|
+
auditLogsRetentionDays: number | null;
|
|
1535
|
+
subjectTokenEnabled: boolean;
|
|
1536
|
+
hostedEmailLimit: number | null;
|
|
1537
|
+
hostedEmailDailyLimit: number | null;
|
|
1538
|
+
mauLimit: number | null;
|
|
1539
|
+
applicationsLimit: number | null;
|
|
1540
|
+
thirdPartyApplicationsLimit: number | null;
|
|
1541
|
+
scopesPerResourceLimit: number | null;
|
|
1542
|
+
socialConnectorsLimit: number | null;
|
|
1543
|
+
userRolesLimit: number | null;
|
|
1544
|
+
machineToMachineRolesLimit: number | null;
|
|
1545
|
+
scopesPerRoleLimit: number | null;
|
|
1546
|
+
hooksLimit: number | null;
|
|
1547
|
+
customJwtEnabled: boolean;
|
|
1548
|
+
inlineHooksEnabled: boolean;
|
|
1549
|
+
bringYourUiEnabled: boolean;
|
|
1550
|
+
collectUserProfileEnabled: boolean;
|
|
1551
|
+
passkeySignInEnabled: boolean;
|
|
1552
|
+
tokenLimit: number | null;
|
|
1553
|
+
machineToMachineLimit: number | null;
|
|
1554
|
+
resourcesLimit: number | null;
|
|
1555
|
+
enterpriseSsoLimit: number | null;
|
|
1556
|
+
tenantMembersLimit: number | null;
|
|
1557
|
+
mfaEnabled: boolean;
|
|
1558
|
+
organizationsEnabled: boolean;
|
|
1559
|
+
organizationsLimit: number | null;
|
|
1560
|
+
securityFeaturesEnabled: boolean;
|
|
1561
|
+
idpInitiatedSsoEnabled: boolean;
|
|
1562
|
+
samlApplicationsLimit: number | null;
|
|
1563
|
+
customDomainsLimit: number | null;
|
|
1564
|
+
};
|
|
1565
|
+
} | undefined;
|
|
1566
|
+
usages?: {
|
|
1567
|
+
mauLimit: number;
|
|
1568
|
+
applicationsLimit: number;
|
|
1569
|
+
thirdPartyApplicationsLimit: number;
|
|
1570
|
+
socialConnectorsLimit: number;
|
|
1571
|
+
userRolesLimit: number;
|
|
1572
|
+
machineToMachineRolesLimit: number;
|
|
1573
|
+
hooksLimit: number;
|
|
1574
|
+
customJwtEnabled: boolean;
|
|
1575
|
+
inlineHooksEnabled: boolean;
|
|
1576
|
+
bringYourUiEnabled: boolean;
|
|
1577
|
+
collectUserProfileEnabled: boolean;
|
|
1578
|
+
passkeySignInEnabled: boolean;
|
|
1579
|
+
tokenLimit: number;
|
|
1580
|
+
machineToMachineLimit: number;
|
|
1581
|
+
resourcesLimit: number;
|
|
1582
|
+
enterpriseSsoLimit: number;
|
|
1583
|
+
tenantMembersLimit: number;
|
|
1584
|
+
mfaEnabled: boolean;
|
|
1585
|
+
organizationsEnabled: boolean;
|
|
1586
|
+
organizationsLimit: number;
|
|
1587
|
+
securityFeaturesEnabled: boolean;
|
|
1588
|
+
idpInitiatedSsoEnabled: boolean;
|
|
1589
|
+
samlApplicationsLimit: number;
|
|
1590
|
+
customDomainsLimit: number;
|
|
1591
|
+
userTokenLimit: number;
|
|
1592
|
+
m2mTokenLimit: number;
|
|
1593
|
+
} | undefined;
|
|
1594
|
+
subscriptionSkuItems?: {
|
|
1595
|
+
type: LogtoSkuType;
|
|
1596
|
+
logtoSkuId: string;
|
|
1597
|
+
count: number;
|
|
1598
|
+
isDevPlan: boolean;
|
|
1599
|
+
quota: {
|
|
1600
|
+
auditLogsRetentionDays?: number | null | undefined;
|
|
1601
|
+
subjectTokenEnabled?: boolean | undefined;
|
|
1602
|
+
hostedEmailLimit?: number | null | undefined;
|
|
1603
|
+
hostedEmailDailyLimit?: number | null | undefined;
|
|
1604
|
+
mauLimit?: number | null | undefined;
|
|
1605
|
+
applicationsLimit?: number | null | undefined;
|
|
1606
|
+
thirdPartyApplicationsLimit?: number | null | undefined;
|
|
1607
|
+
scopesPerResourceLimit?: number | null | undefined;
|
|
1608
|
+
socialConnectorsLimit?: number | null | undefined;
|
|
1609
|
+
userRolesLimit?: number | null | undefined;
|
|
1610
|
+
machineToMachineRolesLimit?: number | null | undefined;
|
|
1611
|
+
scopesPerRoleLimit?: number | null | undefined;
|
|
1612
|
+
hooksLimit?: number | null | undefined;
|
|
1613
|
+
customJwtEnabled?: boolean | undefined;
|
|
1614
|
+
inlineHooksEnabled?: boolean | undefined;
|
|
1615
|
+
bringYourUiEnabled?: boolean | undefined;
|
|
1616
|
+
collectUserProfileEnabled?: boolean | undefined;
|
|
1617
|
+
passkeySignInEnabled?: boolean | undefined;
|
|
1618
|
+
tokenLimit?: number | null | undefined;
|
|
1619
|
+
machineToMachineLimit?: number | null | undefined;
|
|
1620
|
+
resourcesLimit?: number | null | undefined;
|
|
1621
|
+
enterpriseSsoLimit?: number | null | undefined;
|
|
1622
|
+
tenantMembersLimit?: number | null | undefined;
|
|
1623
|
+
mfaEnabled?: boolean | undefined;
|
|
1624
|
+
organizationsEnabled?: boolean | undefined;
|
|
1625
|
+
organizationsLimit?: number | null | undefined;
|
|
1626
|
+
securityFeaturesEnabled?: boolean | undefined;
|
|
1627
|
+
idpInitiatedSsoEnabled?: boolean | undefined;
|
|
1628
|
+
samlApplicationsLimit?: number | null | undefined;
|
|
1629
|
+
customDomainsLimit?: number | null | undefined;
|
|
1630
|
+
};
|
|
1631
|
+
unitPrice?: number | null | undefined;
|
|
1632
|
+
}[] | undefined;
|
|
1633
|
+
}>;
|
|
1634
|
+
} & {
|
|
1635
|
+
"/me/logto-enterprises/:id/invoices": import("@withtyped/server").PathGuard<"/:id/invoices", unknown, unknown, {
|
|
1636
|
+
invoices: {
|
|
1637
|
+
status: "open" | "void" | "draft" | "paid" | "uncollectible" | null;
|
|
1638
|
+
id: string;
|
|
1639
|
+
createdAt: Date;
|
|
1640
|
+
updatedAt: Date;
|
|
1641
|
+
customerId: string | null;
|
|
1642
|
+
basicSkuId: string | null;
|
|
1643
|
+
billingReason: string | null;
|
|
1644
|
+
periodStart: Date;
|
|
1645
|
+
periodEnd: Date;
|
|
1646
|
+
amountDue: number;
|
|
1647
|
+
amountPaid: number;
|
|
1648
|
+
subscriptionId: string | null;
|
|
1649
|
+
hostedInvoiceUrl: string | null;
|
|
1650
|
+
invoicePdf: string | null;
|
|
1651
|
+
collectionMethod: "charge_automatically" | "send_invoice" | null;
|
|
1652
|
+
dueDate: Date | null;
|
|
1653
|
+
}[];
|
|
1654
|
+
}>;
|
|
1655
|
+
} & {
|
|
1656
|
+
"/me/logto-enterprises/:enterpriseId/invoices/:invoiceId/hosted-invoice-url": import("@withtyped/server").PathGuard<"/:enterpriseId/invoices/:invoiceId/hosted-invoice-url", unknown, unknown, {
|
|
1657
|
+
hostedInvoiceUrl: string;
|
|
1658
|
+
}>;
|
|
1659
|
+
};
|
|
1660
|
+
post: {
|
|
1661
|
+
"/me/logto-enterprises/:id/stripe-customer-portal": import("@withtyped/server").PathGuard<"/:id/stripe-customer-portal", unknown, {
|
|
1662
|
+
callbackUrl?: string | undefined;
|
|
1663
|
+
}, {
|
|
1664
|
+
redirectUri: string;
|
|
1665
|
+
}>;
|
|
1666
|
+
};
|
|
1667
|
+
put: {};
|
|
1668
|
+
delete: {};
|
|
1669
|
+
copy: {};
|
|
1670
|
+
head: {};
|
|
1032
1671
|
}, "/api">>, "/api">;
|
|
1033
1672
|
export declare const tenantAuthRouter: import("@withtyped/server").Router<RequestContext, import("@withtyped/server").WithBodyContext<import("@withtyped/server").BaseContext & {
|
|
1034
1673
|
request: {
|
|
@@ -1038,15 +1677,16 @@ export declare const tenantAuthRouter: import("@withtyped/server").Router<Reques
|
|
|
1038
1677
|
url: URL;
|
|
1039
1678
|
body?: unknown;
|
|
1040
1679
|
};
|
|
1041
|
-
}>, import("@withtyped/server").MergeRoutes<import("@withtyped/server").BaseRoutes, import("@withtyped/server").RoutesWithPrefix<{
|
|
1680
|
+
}>, import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").BaseRoutes, import("@withtyped/server").RoutesWithPrefix<{
|
|
1681
|
+
options: {};
|
|
1042
1682
|
patch: {
|
|
1043
1683
|
"/:tenantId/invitations/:invitationId/status": import("@withtyped/server").PathGuard<"/:tenantId/invitations/:invitationId/status", unknown, {
|
|
1044
1684
|
status: OrganizationInvitationStatus.Revoked;
|
|
1045
1685
|
}, {
|
|
1046
|
-
id: string;
|
|
1047
|
-
createdAt: number;
|
|
1048
1686
|
status: OrganizationInvitationStatus;
|
|
1049
1687
|
tenantId: string;
|
|
1688
|
+
id: string;
|
|
1689
|
+
createdAt: number;
|
|
1050
1690
|
updatedAt: number;
|
|
1051
1691
|
inviterId: string | null;
|
|
1052
1692
|
invitee: string;
|
|
@@ -1056,7 +1696,6 @@ export declare const tenantAuthRouter: import("@withtyped/server").Router<Reques
|
|
|
1056
1696
|
organizationRoles: OrganizationRoleEntity[];
|
|
1057
1697
|
}>;
|
|
1058
1698
|
};
|
|
1059
|
-
options: {};
|
|
1060
1699
|
get: {
|
|
1061
1700
|
"/:tenantId/members": import("@withtyped/server").PathGuard<"/:tenantId/members", unknown, unknown, {
|
|
1062
1701
|
id: string;
|
|
@@ -1071,10 +1710,10 @@ export declare const tenantAuthRouter: import("@withtyped/server").Router<Reques
|
|
|
1071
1710
|
"/:tenantId/members/:userId/scopes": import("@withtyped/server").PathGuard<"/:tenantId/members/:userId/scopes", unknown, unknown, OrganizationScope[]>;
|
|
1072
1711
|
} & {
|
|
1073
1712
|
"/:tenantId/invitations": import("@withtyped/server").PathGuard<"/:tenantId/invitations", unknown, unknown, ({
|
|
1074
|
-
id: string;
|
|
1075
|
-
createdAt: number;
|
|
1076
1713
|
status: OrganizationInvitationStatus;
|
|
1077
1714
|
tenantId: string;
|
|
1715
|
+
id: string;
|
|
1716
|
+
createdAt: number;
|
|
1078
1717
|
updatedAt: number;
|
|
1079
1718
|
inviterId: string | null;
|
|
1080
1719
|
invitee: string;
|
|
@@ -1092,10 +1731,10 @@ export declare const tenantAuthRouter: import("@withtyped/server").Router<Reques
|
|
|
1092
1731
|
roleName: TenantRole;
|
|
1093
1732
|
expiresAt?: number | undefined;
|
|
1094
1733
|
}, {
|
|
1095
|
-
id: string;
|
|
1096
|
-
createdAt: number;
|
|
1097
1734
|
status: OrganizationInvitationStatus;
|
|
1098
1735
|
tenantId: string;
|
|
1736
|
+
id: string;
|
|
1737
|
+
createdAt: number;
|
|
1099
1738
|
updatedAt: number;
|
|
1100
1739
|
inviterId: string | null;
|
|
1101
1740
|
invitee: string;
|
|
@@ -1104,10 +1743,10 @@ export declare const tenantAuthRouter: import("@withtyped/server").Router<Reques
|
|
|
1104
1743
|
expiresAt: number;
|
|
1105
1744
|
organizationRoles: OrganizationRoleEntity[];
|
|
1106
1745
|
} | {
|
|
1107
|
-
id: string;
|
|
1108
|
-
createdAt: number;
|
|
1109
1746
|
status: OrganizationInvitationStatus;
|
|
1110
1747
|
tenantId: string;
|
|
1748
|
+
id: string;
|
|
1749
|
+
createdAt: number;
|
|
1111
1750
|
updatedAt: number;
|
|
1112
1751
|
inviterId: string | null;
|
|
1113
1752
|
invitee: string;
|
|
@@ -1131,10 +1770,30 @@ export declare const tenantAuthRouter: import("@withtyped/server").Router<Reques
|
|
|
1131
1770
|
};
|
|
1132
1771
|
copy: {};
|
|
1133
1772
|
head: {};
|
|
1773
|
+
}, "/api/tenants">>, import("@withtyped/server").RoutesWithPrefix<{
|
|
1774
|
+
options: {};
|
|
1775
|
+
patch: {
|
|
1776
|
+
"/:tenantId/settings": import("@withtyped/server").PathGuard<"/:tenantId/settings", unknown, {
|
|
1777
|
+
isMfaRequired?: boolean | undefined;
|
|
1778
|
+
}, {
|
|
1779
|
+
isMfaRequired: boolean;
|
|
1780
|
+
}>;
|
|
1781
|
+
};
|
|
1782
|
+
get: {
|
|
1783
|
+
"/:tenantId/settings": import("@withtyped/server").PathGuard<"/:tenantId/settings", unknown, unknown, {
|
|
1784
|
+
isMfaRequired: boolean;
|
|
1785
|
+
}>;
|
|
1786
|
+
};
|
|
1787
|
+
post: {};
|
|
1788
|
+
put: {};
|
|
1789
|
+
delete: {};
|
|
1790
|
+
copy: {};
|
|
1791
|
+
head: {};
|
|
1134
1792
|
}, "/api/tenants">>, "/api/tenants">;
|
|
1135
1793
|
|
|
1136
1794
|
export {
|
|
1137
|
-
router as
|
|
1795
|
+
router as anonymousRouter,
|
|
1796
|
+
router$1 as default,
|
|
1138
1797
|
};
|
|
1139
1798
|
|
|
1140
1799
|
export {};
|