@logto/cloud 0.2.5-cbbfdc2 → 0.2.5-d434baa

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,418 @@
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/invoices/:invoiceId/hosted-invoice-url": import("@withtyped/server").PathGuard<"/:tenantId/invoices/:invoiceId/hosted-invoice-url", unknown, unknown, {
200
+ hostedInvoiceUrl: string;
201
+ }>;
202
+ } & {
203
+ "/tenants/:tenantId/usage": import("@withtyped/server").PathGuard<"/:tenantId/usage", unknown, unknown, {
204
+ activeUsers: number;
205
+ cost: number;
206
+ }>;
207
+ };
208
+ post: {
209
+ "/tenants/:tenantId/stripe-customer-portal": import("@withtyped/server").PathGuard<"/:tenantId/stripe-customer-portal", unknown, {
210
+ callbackUrl?: string | undefined;
211
+ }, {
212
+ redirectUri: string;
213
+ }>;
214
+ };
215
+ put: {};
216
+ head: {};
217
+ delete: {
218
+ "/tenants/:tenantId/subscription": import("@withtyped/server").PathGuard<"/:tenantId/subscription", unknown, unknown, unknown>;
219
+ };
220
+ copy: {};
221
+ }, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
222
+ options: {};
223
+ patch: {};
224
+ get: {
225
+ "/services/mails/usage": import("@withtyped/server").PathGuard<"/mails/usage", {
226
+ from?: string | undefined;
227
+ }, unknown, {
228
+ count: number;
229
+ }>;
230
+ };
231
+ post: {
232
+ "/services/mails": import("@withtyped/server").PathGuard<"/mails", unknown, {
233
+ data: {
234
+ type: VerificationCodeType;
235
+ payload: {
236
+ senderName?: string | undefined;
237
+ companyInformation?: string | undefined;
238
+ appLogo?: string | undefined;
239
+ code: string;
240
+ };
241
+ to: string;
242
+ };
243
+ }, unknown>;
244
+ } & {
245
+ "/services/send-sms": import("@withtyped/server").PathGuard<"/send-sms", unknown, {
246
+ data: {
247
+ type: VerificationCodeType;
248
+ to: string;
249
+ payload: {
250
+ code: string;
251
+ };
252
+ };
253
+ }, unknown>;
254
+ };
255
+ put: {};
256
+ head: {};
257
+ delete: {};
258
+ copy: {};
259
+ }, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
260
+ options: {};
261
+ patch: {};
262
+ get: {
263
+ "/subscription-plans": import("@withtyped/server").PathGuard<"/", unknown, unknown, {
264
+ createdAt: Date;
265
+ id: string;
266
+ name: string;
267
+ quota: {
268
+ mauLimit: number | null;
269
+ applicationsLimit: number | null;
270
+ machineToMachineLimit: number | null;
271
+ resourcesLimit: number | null;
272
+ scopesPerResourceLimit: number | null;
273
+ customDomainEnabled: boolean;
274
+ omniSignInEnabled: boolean;
275
+ builtInEmailConnectorEnabled: boolean;
276
+ socialConnectorsLimit: number | null;
277
+ standardConnectorsLimit: number | null;
278
+ rolesLimit: number | null;
279
+ scopesPerRoleLimit: number | null;
280
+ hooksLimit: number | null;
281
+ auditLogsRetentionDays: number | null;
282
+ mfaEnabled: boolean;
283
+ };
284
+ stripeProducts: {
285
+ description?: string | undefined;
286
+ type: "flat" | "tier1" | "tier2" | "tier3";
287
+ id: string;
288
+ name: string;
289
+ price: {
290
+ quantity?: 1 | undefined;
291
+ unitAmount?: number | null | undefined;
292
+ id: string;
293
+ unitAmountDecimal: string;
294
+ };
295
+ }[];
296
+ updatedAt: Date;
297
+ }[]>;
298
+ };
299
+ post: {};
300
+ put: {};
301
+ head: {};
302
+ delete: {};
303
+ copy: {};
304
+ }, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
305
+ options: {};
306
+ patch: {};
307
+ get: {
308
+ "/my/tenant": import("@withtyped/server").PathGuard<"/tenant", unknown, unknown, {
309
+ id: string;
310
+ name: string;
311
+ indicator: string;
312
+ isSuspended: boolean;
313
+ tag: TenantTag;
314
+ }>;
315
+ };
316
+ post: {};
317
+ put: {};
318
+ head: {};
319
+ delete: {};
320
+ copy: {};
321
+ }, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
322
+ options: {};
323
+ patch: {};
324
+ get: {
325
+ "/checkout-session/:id": import("@withtyped/server").PathGuard<"/:id", unknown, unknown, {
326
+ status: "open" | "complete" | "expired";
327
+ createdAt: Date;
328
+ id: string;
329
+ userId: string;
330
+ updatedAt: Date;
331
+ tenantId: string | null;
332
+ planId: string;
333
+ }>;
334
+ };
335
+ post: {
336
+ "/checkout-session": import("@withtyped/server").PathGuard<"/", unknown, {
337
+ tenantId?: string | undefined;
338
+ tenantTag?: TenantTag | undefined;
339
+ tenantName?: string | undefined;
340
+ cancelCallbackUrl?: string | undefined;
341
+ planId: string;
342
+ successCallbackUrl: string;
343
+ }, {
344
+ redirectUri?: string | null | undefined;
345
+ sessionId: string;
346
+ }>;
347
+ };
348
+ put: {};
349
+ head: {};
350
+ delete: {};
351
+ copy: {};
352
+ }, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
353
+ options: {};
354
+ patch: {};
355
+ get: {
356
+ "/affiliates": import("@withtyped/server").PathGuard<"/", unknown, unknown, AffiliateData[]>;
357
+ };
358
+ post: {
359
+ "/affiliates": import("@withtyped/server").PathGuard<"/", unknown, {
360
+ name: string;
361
+ }, {
362
+ createdAt: Date;
363
+ id: string;
364
+ name: string;
365
+ }>;
366
+ } & {
367
+ "/affiliates/:id/properties": import("@withtyped/server").PathGuard<"/:id/properties", unknown, {
368
+ value: string;
369
+ type: "hostname" | "query";
370
+ }, {
371
+ value: string;
372
+ type: "hostname" | "query";
373
+ createdAt: Date;
374
+ affiliateId: string;
375
+ }>;
376
+ };
377
+ put: {};
378
+ head: {};
379
+ delete: {
380
+ "/affiliates/:id/properties": import("@withtyped/server").PathGuard<"/:id/properties", unknown, {
381
+ value: string;
382
+ type: "hostname" | "query";
383
+ }, unknown>;
384
+ };
385
+ copy: {};
386
+ }, "/api">>, import("@withtyped/server").RoutesWithPrefix<{
387
+ options: {};
388
+ patch: {};
389
+ get: {};
390
+ post: {
391
+ "/affiliate-logs": import("@withtyped/server").PathGuard<"/", unknown, {
392
+ hostname?: string | undefined;
393
+ query?: string | undefined;
394
+ createdAt: string;
395
+ userId: string;
396
+ }, {
397
+ createdAt: Date;
398
+ id: string;
399
+ affiliateId: string | null;
400
+ userId: string;
401
+ createdVia: {
402
+ hostname?: string | undefined;
403
+ query?: string | undefined;
404
+ createdAt: string;
405
+ };
406
+ }>;
407
+ };
408
+ put: {};
409
+ head: {};
410
+ delete: {};
411
+ copy: {};
412
+ }, "/api">>, "/api">;
413
+
414
+ export {
415
+ router as default,
416
+ };
417
+
418
+ export {};
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@logto/cloud",
3
- "version": "0.2.5-cbbfdc2",
3
+ "version": "0.2.5-d434baa",
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",
@@ -26,11 +26,11 @@
26
26
  "@types/node": "^18.11.18",
27
27
  "@types/yargs": "^17.0.24",
28
28
  "dts-bundle-generator": "^8.0.1",
29
- "eslint": "^8.21.0",
29
+ "eslint": "^8.44.0",
30
30
  "jest": "^29.5.0",
31
- "lint-staged": "^13.0.0",
31
+ "lint-staged": "^14.0.0",
32
32
  "nodemon": "^3.0.0",
33
- "prettier": "^2.8.1",
33
+ "prettier": "^3.0.0",
34
34
  "typescript": "^5.0.0"
35
35
  },
36
36
  "engines": {
@@ -38,6 +38,9 @@
38
38
  },
39
39
  "eslintConfig": {
40
40
  "extends": "@silverhand",
41
+ "rules": {
42
+ "no-console": "error"
43
+ },
41
44
  "ignorePatterns": [
42
45
  "types.test.ts"
43
46
  ]
@@ -47,14 +50,14 @@
47
50
  "access": "public"
48
51
  },
49
52
  "dependencies": {
50
- "@silverhand/essentials": "^2.7.0",
51
- "@withtyped/server": "^0.12.4"
53
+ "@silverhand/essentials": "^2.8.4",
54
+ "@withtyped/server": "^0.12.7"
52
55
  },
53
56
  "scripts": {
54
57
  "precommit": "lint-staged",
55
- "build": "rm -rf build/ && tsc -p tsconfig.build.json",
58
+ "build": "rm -rf build/ && tsc -p tsconfig.build.json && pnpm build:lib",
56
59
  "//": "It is not used to build the service itself.",
57
- "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",
58
61
  "build:test": "rm -rf build/ && tsc -p tsconfig.test.json --sourcemap",
59
62
  "lint": "eslint --ext .ts src",
60
63
  "lint:report": "pnpm lint --format json --output-file report.json",
@@ -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 {};