@logto/cloud 0.2.5-31703ea → 0.2.5-444ed49

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.
@@ -0,0 +1,414 @@
1
+ // Generated by dts-bundle-generator v8.0.1
2
+
3
+ import { RequestContext } from '@withtyped/server';
4
+ import { InferModelType } from '@withtyped/server/model';
5
+
6
+ export type WithAuthContext<Context = RequestContext> = Context & {
7
+ auth: {
8
+ id: string;
9
+ scopes: string[];
10
+ };
11
+ };
12
+ declare enum TenantTag {
13
+ Development = "development",
14
+ Staging = "staging",
15
+ Production = "production"
16
+ }
17
+ declare enum VerificationCodeType {
18
+ SignIn = "SignIn",
19
+ Register = "Register",
20
+ ForgotPassword = "ForgotPassword",
21
+ /** @deprecated */
22
+ Continue = "Continue",
23
+ Generic = "Generic",
24
+ /** @deprecated Use `Generic` type template for sending test sms/email use case */
25
+ Test = "Test"
26
+ }
27
+ declare const AffiliateProperties: import("@withtyped/server/model").default<"affiliate_properties", {
28
+ createdAt: Date;
29
+ affiliateId: string;
30
+ type: "hostname" | "query";
31
+ value: string;
32
+ }, "createdAt", "createdAt">;
33
+ export type AffiliateProperty = InferModelType<typeof AffiliateProperties>;
34
+ declare const Affiliates: import("@withtyped/server/model").default<"affiliates", {
35
+ id: string;
36
+ createdAt: Date;
37
+ name: string;
38
+ }, "createdAt" | "id", "createdAt" | "id">;
39
+ export type Affiliate = InferModelType<typeof Affiliates>;
40
+ export type AffiliateData = Affiliate & {
41
+ properties: Array<Pick<AffiliateProperty, "type" | "value">>;
42
+ };
43
+ declare const router: import("@withtyped/server").Router<WithAuthContext, import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").BaseRoutes, import("@withtyped/server").RoutesWithPrefix<{
44
+ options: {};
45
+ patch: {
46
+ "/tenants/:tenantId": import("@withtyped/server").PathGuard<"/:tenantId", unknown, {
47
+ name?: string | undefined;
48
+ tag?: TenantTag | undefined;
49
+ }, {
50
+ id: string;
51
+ name: string;
52
+ indicator: string;
53
+ isSuspended: boolean;
54
+ planId: string;
55
+ subscription: {
56
+ status: "incomplete" | "incomplete_expired" | "trialing" | "active" | "past_due" | "canceled" | "unpaid" | "paused";
57
+ planId: string;
58
+ currentPeriodStart: Date;
59
+ currentPeriodEnd: Date;
60
+ };
61
+ tag: TenantTag;
62
+ usage: {
63
+ activeUsers: number;
64
+ cost: number;
65
+ };
66
+ openInvoices: {
67
+ status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
68
+ createdAt: Date;
69
+ id: string;
70
+ updatedAt: Date;
71
+ customerId: string | null;
72
+ billingReason: string | null;
73
+ periodStart: Date;
74
+ periodEnd: Date;
75
+ amountDue: number;
76
+ amountPaid: number;
77
+ subscriptionId: string | null;
78
+ hostedInvoiceUrl: string | null;
79
+ invoicePdf: string | null;
80
+ }[];
81
+ }>;
82
+ };
83
+ get: {
84
+ "/tenants": import("@withtyped/server").PathGuard<"/", unknown, unknown, {
85
+ id: string;
86
+ name: string;
87
+ indicator: string;
88
+ isSuspended: boolean;
89
+ planId: string;
90
+ subscription: {
91
+ status: "incomplete" | "incomplete_expired" | "trialing" | "active" | "past_due" | "canceled" | "unpaid" | "paused";
92
+ planId: string;
93
+ currentPeriodStart: Date;
94
+ currentPeriodEnd: Date;
95
+ };
96
+ tag: TenantTag;
97
+ usage: {
98
+ activeUsers: number;
99
+ cost: number;
100
+ };
101
+ openInvoices: {
102
+ status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
103
+ createdAt: Date;
104
+ id: string;
105
+ updatedAt: Date;
106
+ customerId: string | null;
107
+ billingReason: string | null;
108
+ periodStart: Date;
109
+ periodEnd: Date;
110
+ amountDue: number;
111
+ amountPaid: number;
112
+ subscriptionId: string | null;
113
+ hostedInvoiceUrl: string | null;
114
+ invoicePdf: string | null;
115
+ }[];
116
+ }[]>;
117
+ };
118
+ post: {
119
+ "/tenants": import("@withtyped/server").PathGuard<"/", unknown, {
120
+ name?: string | undefined;
121
+ tag?: TenantTag | undefined;
122
+ }, {
123
+ id: string;
124
+ name: string;
125
+ indicator: string;
126
+ isSuspended: boolean;
127
+ planId: string;
128
+ subscription: {
129
+ status: "incomplete" | "incomplete_expired" | "trialing" | "active" | "past_due" | "canceled" | "unpaid" | "paused";
130
+ planId: string;
131
+ currentPeriodStart: Date;
132
+ currentPeriodEnd: Date;
133
+ };
134
+ tag: TenantTag;
135
+ usage: {
136
+ activeUsers: number;
137
+ cost: number;
138
+ };
139
+ openInvoices: {
140
+ status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
141
+ createdAt: Date;
142
+ id: string;
143
+ updatedAt: Date;
144
+ customerId: string | null;
145
+ billingReason: string | null;
146
+ periodStart: Date;
147
+ periodEnd: Date;
148
+ amountDue: number;
149
+ amountPaid: number;
150
+ subscriptionId: string | null;
151
+ hostedInvoiceUrl: string | null;
152
+ invoicePdf: string | null;
153
+ }[];
154
+ }>;
155
+ };
156
+ put: {};
157
+ head: {};
158
+ delete: {
159
+ "/tenants/:tenantId": import("@withtyped/server").PathGuard<"/:tenantId", unknown, unknown, unknown>;
160
+ };
161
+ copy: {};
162
+ }, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
163
+ options: {};
164
+ patch: {};
165
+ get: {
166
+ "/tenants/my/subscription": import("@withtyped/server").PathGuard<"/my/subscription", unknown, unknown, {
167
+ status: "incomplete" | "incomplete_expired" | "trialing" | "active" | "past_due" | "canceled" | "unpaid" | "paused";
168
+ planId: string;
169
+ currentPeriodStart: Date;
170
+ currentPeriodEnd: Date;
171
+ }>;
172
+ } & {
173
+ "/tenants/:tenantId/subscription": import("@withtyped/server").PathGuard<"/:tenantId/subscription", unknown, unknown, {
174
+ status: "incomplete" | "incomplete_expired" | "trialing" | "active" | "past_due" | "canceled" | "unpaid" | "paused";
175
+ planId: string;
176
+ currentPeriodStart: Date;
177
+ currentPeriodEnd: Date;
178
+ }>;
179
+ } & {
180
+ "/tenants/:tenantId/invoices": import("@withtyped/server").PathGuard<"/:tenantId/invoices", unknown, unknown, {
181
+ invoices: {
182
+ status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
183
+ createdAt: Date;
184
+ id: string;
185
+ updatedAt: Date;
186
+ customerId: string | null;
187
+ billingReason: string | null;
188
+ periodStart: Date;
189
+ periodEnd: Date;
190
+ amountDue: number;
191
+ amountPaid: number;
192
+ subscriptionId: string | null;
193
+ hostedInvoiceUrl: string | null;
194
+ invoicePdf: string | null;
195
+ planName: string | null;
196
+ }[];
197
+ }>;
198
+ } & {
199
+ "/tenants/:tenantId/usage": import("@withtyped/server").PathGuard<"/:tenantId/usage", unknown, unknown, {
200
+ activeUsers: number;
201
+ cost: number;
202
+ }>;
203
+ };
204
+ post: {
205
+ "/tenants/:tenantId/stripe-customer-portal": import("@withtyped/server").PathGuard<"/:tenantId/stripe-customer-portal", unknown, {
206
+ callbackUrl?: string | undefined;
207
+ }, {
208
+ redirectUri: string;
209
+ }>;
210
+ };
211
+ put: {};
212
+ head: {};
213
+ delete: {
214
+ "/tenants/:tenantId/subscription": import("@withtyped/server").PathGuard<"/:tenantId/subscription", unknown, unknown, unknown>;
215
+ };
216
+ copy: {};
217
+ }, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
218
+ options: {};
219
+ patch: {};
220
+ get: {
221
+ "/services/mails/usage": import("@withtyped/server").PathGuard<"/mails/usage", {
222
+ from?: string | undefined;
223
+ }, unknown, {
224
+ count: number;
225
+ }>;
226
+ };
227
+ post: {
228
+ "/services/mails": import("@withtyped/server").PathGuard<"/mails", unknown, {
229
+ data: {
230
+ type: VerificationCodeType;
231
+ payload: {
232
+ senderName?: string | undefined;
233
+ companyInformation?: string | undefined;
234
+ appLogo?: string | undefined;
235
+ code: string;
236
+ };
237
+ to: string;
238
+ };
239
+ }, unknown>;
240
+ } & {
241
+ "/services/send-sms": import("@withtyped/server").PathGuard<"/send-sms", unknown, {
242
+ data: {
243
+ type: VerificationCodeType;
244
+ to: string;
245
+ payload: {
246
+ code: string;
247
+ };
248
+ };
249
+ }, unknown>;
250
+ };
251
+ put: {};
252
+ head: {};
253
+ delete: {};
254
+ copy: {};
255
+ }, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
256
+ options: {};
257
+ patch: {};
258
+ get: {
259
+ "/subscription-plans": import("@withtyped/server").PathGuard<"/", unknown, unknown, {
260
+ createdAt: Date;
261
+ id: string;
262
+ name: string;
263
+ quota: {
264
+ mauLimit: number | null;
265
+ applicationsLimit: number | null;
266
+ machineToMachineLimit: number | null;
267
+ resourcesLimit: number | null;
268
+ scopesPerResourceLimit: number | null;
269
+ customDomainEnabled: boolean;
270
+ omniSignInEnabled: boolean;
271
+ builtInEmailConnectorEnabled: boolean;
272
+ socialConnectorsLimit: number | null;
273
+ standardConnectorsLimit: number | null;
274
+ rolesLimit: number | null;
275
+ scopesPerRoleLimit: number | null;
276
+ hooksLimit: number | null;
277
+ auditLogsRetentionDays: number | null;
278
+ mfaEnabled: boolean;
279
+ };
280
+ stripeProducts: {
281
+ description?: string | undefined;
282
+ type: "flat" | "tier1" | "tier2" | "tier3";
283
+ id: string;
284
+ name: string;
285
+ price: {
286
+ quantity?: 1 | undefined;
287
+ unitAmount?: number | null | undefined;
288
+ id: string;
289
+ unitAmountDecimal: string;
290
+ };
291
+ }[];
292
+ updatedAt: Date;
293
+ }[]>;
294
+ };
295
+ post: {};
296
+ put: {};
297
+ head: {};
298
+ delete: {};
299
+ copy: {};
300
+ }, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
301
+ options: {};
302
+ patch: {};
303
+ get: {
304
+ "/my/tenant": import("@withtyped/server").PathGuard<"/tenant", unknown, unknown, {
305
+ name: string;
306
+ id: string;
307
+ indicator: string;
308
+ isSuspended: boolean;
309
+ tag: TenantTag;
310
+ }>;
311
+ };
312
+ post: {};
313
+ put: {};
314
+ head: {};
315
+ delete: {};
316
+ copy: {};
317
+ }, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
318
+ options: {};
319
+ patch: {};
320
+ get: {
321
+ "/checkout-session/:id": import("@withtyped/server").PathGuard<"/:id", unknown, unknown, {
322
+ status: "open" | "complete" | "expired";
323
+ createdAt: Date;
324
+ id: string;
325
+ userId: string;
326
+ updatedAt: Date;
327
+ tenantId: string | null;
328
+ planId: string;
329
+ }>;
330
+ };
331
+ post: {
332
+ "/checkout-session": import("@withtyped/server").PathGuard<"/", unknown, {
333
+ tenantId?: string | undefined;
334
+ tenantTag?: TenantTag | undefined;
335
+ tenantName?: string | undefined;
336
+ cancelCallbackUrl?: string | undefined;
337
+ planId: string;
338
+ successCallbackUrl: string;
339
+ }, {
340
+ redirectUri?: string | null | undefined;
341
+ sessionId: string;
342
+ }>;
343
+ };
344
+ put: {};
345
+ head: {};
346
+ delete: {};
347
+ copy: {};
348
+ }, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
349
+ options: {};
350
+ patch: {};
351
+ get: {
352
+ "/affiliates": import("@withtyped/server").PathGuard<"/", unknown, unknown, AffiliateData[]>;
353
+ };
354
+ post: {
355
+ "/affiliates": import("@withtyped/server").PathGuard<"/", unknown, {
356
+ name: string;
357
+ }, {
358
+ createdAt: Date;
359
+ id: string;
360
+ name: string;
361
+ }>;
362
+ } & {
363
+ "/affiliates/:id/properties": import("@withtyped/server").PathGuard<"/:id/properties", unknown, {
364
+ value: string;
365
+ type: "hostname" | "query";
366
+ }, {
367
+ value: string;
368
+ type: "hostname" | "query";
369
+ createdAt: Date;
370
+ affiliateId: string;
371
+ }>;
372
+ };
373
+ put: {};
374
+ head: {};
375
+ delete: {
376
+ "/affiliates/:id/properties": import("@withtyped/server").PathGuard<"/:id/properties", unknown, {
377
+ value: string;
378
+ type: "hostname" | "query";
379
+ }, unknown>;
380
+ };
381
+ copy: {};
382
+ }, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
383
+ options: {};
384
+ patch: {};
385
+ get: {};
386
+ post: {
387
+ "/affiliate-logs": import("@withtyped/server").PathGuard<"/", unknown, {
388
+ hostname?: string | undefined;
389
+ query?: string | undefined;
390
+ createdAt: string;
391
+ userId: string;
392
+ }, {
393
+ createdAt: Date;
394
+ id: string;
395
+ affiliateId: string | null;
396
+ userId: string;
397
+ createdVia: {
398
+ hostname?: string | undefined;
399
+ query?: string | undefined;
400
+ createdAt: string;
401
+ };
402
+ }>;
403
+ };
404
+ put: {};
405
+ head: {};
406
+ delete: {};
407
+ copy: {};
408
+ }, "/api">>, "/api">;
409
+
410
+ export {
411
+ router as default,
412
+ };
413
+
414
+ export {};
package/package.json CHANGED
@@ -1,63 +1,72 @@
1
1
  {
2
2
  "name": "@logto/cloud",
3
- "version": "0.2.5-31703ea",
3
+ "version": "0.2.5-444ed49",
4
4
  "description": "Logto Cloud service.",
5
5
  "main": "build/index.js",
6
6
  "author": "Silverhand Inc. <contact@silverhand.io>",
7
7
  "license": "Elastic-2.0",
8
8
  "type": "module",
9
9
  "files": [
10
- "build"
10
+ "lib"
11
11
  ],
12
12
  "exports": {
13
- "./routes": "./build/routes/index.js"
13
+ "./routes": "./lib/routes/index.js"
14
14
  },
15
15
  "imports": {
16
16
  "#src/*": "./build/*"
17
17
  },
18
18
  "devDependencies": {
19
- "@silverhand/eslint-config": "3.0.1",
20
- "@silverhand/jest-config": "3.0.0",
21
- "@silverhand/ts-config": "3.0.0",
19
+ "@silverhand/eslint-config": "4.0.1",
20
+ "@silverhand/jest-config": "4.0.0",
21
+ "@silverhand/ts-config": "4.0.0",
22
22
  "@types/accepts": "^1.3.5",
23
23
  "@types/http-proxy": "^1.17.9",
24
24
  "@types/jest": "^29.4.0",
25
25
  "@types/mime-types": "^2.1.1",
26
26
  "@types/node": "^18.11.18",
27
+ "@types/yargs": "^17.0.24",
27
28
  "dts-bundle-generator": "^8.0.1",
28
- "eslint": "^8.21.0",
29
+ "eslint": "^8.44.0",
29
30
  "jest": "^29.5.0",
30
- "lint-staged": "^13.0.0",
31
- "nodemon": "^2.0.19",
32
- "prettier": "^2.8.1",
31
+ "lint-staged": "^14.0.0",
32
+ "nodemon": "^3.0.0",
33
+ "prettier": "^3.0.0",
33
34
  "typescript": "^5.0.0"
34
35
  },
35
36
  "engines": {
36
37
  "node": "^18.12.0"
37
38
  },
38
39
  "eslintConfig": {
39
- "extends": "@silverhand"
40
+ "extends": "@silverhand",
41
+ "rules": {
42
+ "no-console": "error"
43
+ },
44
+ "ignorePatterns": [
45
+ "types.test.ts"
46
+ ]
40
47
  },
41
48
  "prettier": "@silverhand/eslint-config/.prettierrc",
42
49
  "publishConfig": {
43
50
  "access": "public"
44
51
  },
45
52
  "dependencies": {
46
- "@withtyped/server": "^0.12.0"
53
+ "@silverhand/essentials": "^2.8.4",
54
+ "@withtyped/server": "^0.12.7"
47
55
  },
48
56
  "scripts": {
49
57
  "precommit": "lint-staged",
50
- "build": "rm -rf build/ && tsc -p tsconfig.build.json",
58
+ "build": "rm -rf build/ && tsc -p tsconfig.build.json && pnpm build:lib",
51
59
  "//": "It is not used to build the service itself.",
52
- "build:lib": "rm -rf build/ && dts-bundle-generator src/routes/index.ts --project tsconfig.build.json -o build/routes/index.d.ts",
60
+ "build:lib": "rm -rf lib/ && dts-bundle-generator src/routes/index.ts --project tsconfig.build.json -o lib/routes/index.d.ts",
53
61
  "build:test": "rm -rf build/ && tsc -p tsconfig.test.json --sourcemap",
54
62
  "lint": "eslint --ext .ts src",
55
63
  "lint:report": "pnpm lint --format json --output-file report.json",
56
64
  "dev": "rm -rf build/ && nodemon",
57
65
  "start": "NODE_ENV=production node .",
58
66
  "test:only": "NODE_OPTIONS=\"--experimental-vm-modules --max_old_space_size=4096\" jest --logHeapUsage",
59
- "test": "pnpm build:test && pnpm test:only",
67
+ "test": "pnpm build:test && pnpm test:only && pnpm build:lib && pnpm test:types",
60
68
  "test:ci": "pnpm test:only --coverage --silent",
61
- "test:types": "tsc -p tsconfig.test.types.json"
69
+ "test:types": "tsc -p tsconfig.test.types.json",
70
+ "cli": "node ./build/cli/index.js"
62
71
  }
63
72
  }
@@ -1,165 +0,0 @@
1
- // Generated by dts-bundle-generator v8.0.1
2
-
3
- import { RequestContext } from '@withtyped/server';
4
- import { InferModelType } from '@withtyped/server/model';
5
-
6
- export type WithAuthContext<Context = RequestContext> = Context & {
7
- auth: {
8
- id: string;
9
- scopes: string[];
10
- };
11
- };
12
- declare enum TenantTag {
13
- Development = "development",
14
- Staging = "staging",
15
- Production = "production"
16
- }
17
- declare const Tenants: import("@withtyped/server/model").default<"tenants", {
18
- id: string;
19
- dbUser: string | null;
20
- dbUserPassword: string | null;
21
- name: string;
22
- tag: TenantTag;
23
- createdAt: Date;
24
- }, "name" | "createdAt" | "tag", "createdAt">;
25
- export type TenantModel = InferModelType<typeof Tenants>;
26
- export type TenantInfo = Pick<TenantModel, "id" | "name" | "tag"> & {
27
- indicator: string;
28
- };
29
- declare enum VerificationCodeType {
30
- SignIn = "SignIn",
31
- Register = "Register",
32
- ForgotPassword = "ForgotPassword",
33
- /** @deprecated */
34
- Continue = "Continue",
35
- Generic = "Generic",
36
- /** @deprecated Use `Generic` type template for sending test sms/email use case */
37
- Test = "Test"
38
- }
39
- declare const _default: import("@withtyped/server").Router<WithAuthContext, import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").MergeRoutes<import("@withtyped/server").BaseRoutes, import("@withtyped/server").RoutesWithPrefix<{
40
- options: {};
41
- patch: {
42
- "/tenants/:tenantId": import("@withtyped/server").PathGuard<"/:tenantId", unknown, {
43
- name?: string | undefined;
44
- tag?: TenantTag | undefined;
45
- }, TenantInfo>;
46
- };
47
- get: {
48
- "/tenants": import("@withtyped/server").PathGuard<"/", unknown, unknown, TenantInfo[]>;
49
- };
50
- post: {
51
- "/tenants": import("@withtyped/server").PathGuard<"/", unknown, {
52
- name?: string | undefined;
53
- tag?: TenantTag | undefined;
54
- }, TenantInfo>;
55
- };
56
- put: {};
57
- head: {};
58
- delete: {
59
- "/tenants/:tenantId": import("@withtyped/server").PathGuard<"/:tenantId", unknown, unknown, unknown>;
60
- };
61
- copy: {};
62
- }, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
63
- options: {};
64
- patch: {};
65
- get: {
66
- "/services/mails/usage": import("@withtyped/server").PathGuard<"/mails/usage", {
67
- from?: string | undefined;
68
- }, unknown, unknown>;
69
- };
70
- post: {
71
- "/services/send-email": import("@withtyped/server").PathGuard<"/send-email", unknown, {
72
- data: {
73
- type: VerificationCodeType;
74
- to: string;
75
- payload: {
76
- fromName?: string | undefined;
77
- companyAddress?: string | undefined;
78
- appLogo?: string | undefined;
79
- code: string;
80
- };
81
- };
82
- }, unknown>;
83
- } & {
84
- "/services/mails": import("@withtyped/server").PathGuard<"/mails", unknown, {
85
- data: {
86
- type: VerificationCodeType;
87
- to: string;
88
- payload: {
89
- fromName?: string | undefined;
90
- companyAddress?: string | undefined;
91
- appLogo?: string | undefined;
92
- code: string;
93
- };
94
- };
95
- }, unknown>;
96
- } & {
97
- "/services/send-sms": import("@withtyped/server").PathGuard<"/send-sms", unknown, {
98
- data: {
99
- type: VerificationCodeType;
100
- to: string;
101
- payload: {
102
- fromName?: string | undefined;
103
- companyAddress?: string | undefined;
104
- appLogo?: string | undefined;
105
- code: string;
106
- };
107
- };
108
- }, unknown>;
109
- };
110
- put: {};
111
- head: {};
112
- delete: {};
113
- copy: {};
114
- }, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
115
- options: {};
116
- patch: {};
117
- get: {
118
- "/subscription-plans": import("@withtyped/server").PathGuard<"/", unknown, unknown, {
119
- id: string;
120
- name: string;
121
- products: {
122
- description?: string | undefined;
123
- type: "flat" | "tier1" | "tier2" | "tier3";
124
- id: string;
125
- name: string;
126
- price: {
127
- quantity?: 1 | undefined;
128
- unitAmount?: number | null | undefined;
129
- id: string;
130
- unitAmountDecimal: string;
131
- };
132
- }[];
133
- quota: {
134
- tenantLimit: number | null;
135
- mauLimit: number | null;
136
- applicationsLimit: number;
137
- machineToMachineLimit: number;
138
- resourcesLimit: number;
139
- scopesPerResourceLimit: number;
140
- customDomainEnabled: boolean;
141
- omniSignInEnabled: boolean;
142
- builtInEmailConnectorEnabled: boolean;
143
- socialConnectorsLimit: number | null;
144
- standardConnectorsLimit: number;
145
- rolesLimit: number;
146
- scopesPerRoleLimit: number | null;
147
- hooksLimit: number;
148
- auditLogsRetentionDays: number;
149
- };
150
- createdAt: Date;
151
- updatedAt: Date;
152
- }[]>;
153
- };
154
- post: {};
155
- put: {};
156
- head: {};
157
- delete: {};
158
- copy: {};
159
- }, "/api">>, "/api">;
160
-
161
- export {
162
- _default as default,
163
- };
164
-
165
- export {};