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