vibeusage 0.3.0 → 0.3.1
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 +13 -7
- package/node_modules/@insforge/sdk/LICENSE +201 -201
- package/node_modules/@insforge/sdk/README.md +326 -259
- package/node_modules/@insforge/sdk/dist/index.d.mts +377 -182
- package/node_modules/@insforge/sdk/dist/index.d.ts +377 -182
- package/node_modules/@insforge/sdk/dist/index.js +1172 -677
- package/node_modules/@insforge/sdk/dist/index.js.map +1 -1
- package/node_modules/@insforge/sdk/dist/index.mjs +1171 -677
- package/node_modules/@insforge/sdk/dist/index.mjs.map +1 -1
- package/node_modules/@insforge/sdk/package.json +68 -68
- package/node_modules/@insforge/shared-schemas/dist/ai-api.schema.d.ts +1120 -43
- package/node_modules/@insforge/shared-schemas/dist/ai-api.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/ai-api.schema.js +179 -5
- package/node_modules/@insforge/shared-schemas/dist/ai-api.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/ai.schema.d.ts +25 -25
- package/node_modules/@insforge/shared-schemas/dist/ai.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/ai.schema.js +2 -2
- package/node_modules/@insforge/shared-schemas/dist/ai.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/auth-api.schema.d.ts +197 -51
- package/node_modules/@insforge/shared-schemas/dist/auth-api.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/auth-api.schema.js +87 -23
- package/node_modules/@insforge/shared-schemas/dist/auth-api.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/auth.schema.d.ts +32 -3
- package/node_modules/@insforge/shared-schemas/dist/auth.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/auth.schema.js +21 -3
- package/node_modules/@insforge/shared-schemas/dist/auth.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/cloud-events.schema.d.ts +380 -0
- package/node_modules/@insforge/shared-schemas/dist/cloud-events.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/cloud-events.schema.js +74 -0
- package/node_modules/@insforge/shared-schemas/dist/cloud-events.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/database-api.schema.d.ts +13 -13
- package/node_modules/@insforge/shared-schemas/dist/database-api.schema.js +1 -1
- package/node_modules/@insforge/shared-schemas/dist/database-api.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/deployments-api.schema.d.ts +735 -0
- package/node_modules/@insforge/shared-schemas/dist/deployments-api.schema.d.ts.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/deployments-api.schema.js +209 -0
- package/node_modules/@insforge/shared-schemas/dist/deployments-api.schema.js.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/deployments.schema.d.ts +37 -0
- package/node_modules/@insforge/shared-schemas/dist/deployments.schema.d.ts.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/deployments.schema.js +25 -0
- package/node_modules/@insforge/shared-schemas/dist/deployments.schema.js.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/docs.schema.d.ts +5 -1
- package/node_modules/@insforge/shared-schemas/dist/docs.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/docs.schema.js +34 -4
- package/node_modules/@insforge/shared-schemas/dist/docs.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/email-api.schema.js +1 -1
- package/node_modules/@insforge/shared-schemas/dist/email-api.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/functions-api.schema.d.ts +186 -6
- package/node_modules/@insforge/shared-schemas/dist/functions-api.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/functions-api.schema.js +21 -2
- package/node_modules/@insforge/shared-schemas/dist/functions-api.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/functions.schema.d.ts +5 -5
- package/node_modules/@insforge/shared-schemas/dist/functions.schema.js +1 -1
- package/node_modules/@insforge/shared-schemas/dist/functions.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/index.d.ts +24 -18
- package/node_modules/@insforge/shared-schemas/dist/index.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/index.js +24 -18
- package/node_modules/@insforge/shared-schemas/dist/index.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/logs-api.schema.js +1 -1
- package/node_modules/@insforge/shared-schemas/dist/logs-api.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/logs.schema.d.ts +43 -0
- package/node_modules/@insforge/shared-schemas/dist/logs.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/logs.schema.js +11 -0
- package/node_modules/@insforge/shared-schemas/dist/logs.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/metadata.schema.d.ts +229 -172
- package/node_modules/@insforge/shared-schemas/dist/metadata.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/metadata.schema.js +27 -7
- package/node_modules/@insforge/shared-schemas/dist/metadata.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/rate-limit-api.schema.d.ts +51 -0
- package/node_modules/@insforge/shared-schemas/dist/rate-limit-api.schema.d.ts.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/rate-limit-api.schema.js +31 -0
- package/node_modules/@insforge/shared-schemas/dist/rate-limit-api.schema.js.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/rate-limit.schema.d.ts +31 -0
- package/node_modules/@insforge/shared-schemas/dist/rate-limit.schema.d.ts.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/rate-limit.schema.js +12 -0
- package/node_modules/@insforge/shared-schemas/dist/rate-limit.schema.js.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/realtime-api.schema.d.ts +39 -20
- package/node_modules/@insforge/shared-schemas/dist/realtime-api.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/realtime-api.schema.js +5 -1
- package/node_modules/@insforge/shared-schemas/dist/realtime-api.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/realtime.schema.d.ts +12 -4
- package/node_modules/@insforge/shared-schemas/dist/realtime.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/realtime.schema.js +6 -0
- package/node_modules/@insforge/shared-schemas/dist/realtime.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/schedules-api.schema.d.ts +287 -0
- package/node_modules/@insforge/shared-schemas/dist/schedules-api.schema.d.ts.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/schedules-api.schema.js +81 -0
- package/node_modules/@insforge/shared-schemas/dist/schedules-api.schema.js.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/schedules.schema.d.ts +77 -0
- package/node_modules/@insforge/shared-schemas/dist/schedules.schema.d.ts.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/schedules.schema.js +36 -0
- package/node_modules/@insforge/shared-schemas/dist/schedules.schema.js.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/secrets-api.schema.d.ts +113 -0
- package/node_modules/@insforge/shared-schemas/dist/secrets-api.schema.d.ts.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/secrets-api.schema.js +31 -0
- package/node_modules/@insforge/shared-schemas/dist/secrets-api.schema.js.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/secrets.schema.d.ts +31 -0
- package/node_modules/@insforge/shared-schemas/dist/secrets.schema.d.ts.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/secrets.schema.js +13 -0
- package/node_modules/@insforge/shared-schemas/dist/secrets.schema.js.map +1 -0
- package/node_modules/@insforge/shared-schemas/dist/storage-api.schema.d.ts +27 -2
- package/node_modules/@insforge/shared-schemas/dist/storage-api.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/storage-api.schema.js +9 -1
- package/node_modules/@insforge/shared-schemas/dist/storage-api.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/storage.schema.d.ts +17 -0
- package/node_modules/@insforge/shared-schemas/dist/storage.schema.d.ts.map +1 -1
- package/node_modules/@insforge/shared-schemas/dist/storage.schema.js +6 -0
- package/node_modules/@insforge/shared-schemas/dist/storage.schema.js.map +1 -1
- package/node_modules/@insforge/shared-schemas/package.json +2 -1
- package/package.json +2 -2
- package/src/commands/status.js +22 -0
- package/src/commands/sync.js +33 -22
- package/src/lib/diagnostics.js +34 -0
- package/src/lib/doctor.js +23 -0
- package/src/lib/insforge-client.js +13 -9
- package/src/lib/opencode-sqlite.js +113 -0
- package/src/lib/opencode-usage-audit.js +3 -2
- package/src/lib/rollout.js +227 -1
- package/src/lib/vibeusage-api.js +2 -2
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const updateApiRateLimitConfigRequestSchema: z.ZodObject<{
|
|
3
|
+
sendEmailOtpMaxRequests: z.ZodNumber;
|
|
4
|
+
sendEmailOtpWindowMinutes: z.ZodNumber;
|
|
5
|
+
verifyOtpMaxRequests: z.ZodNumber;
|
|
6
|
+
verifyOtpWindowMinutes: z.ZodNumber;
|
|
7
|
+
emailCooldownSeconds: z.ZodNumber;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
sendEmailOtpMaxRequests: number;
|
|
10
|
+
sendEmailOtpWindowMinutes: number;
|
|
11
|
+
verifyOtpMaxRequests: number;
|
|
12
|
+
verifyOtpWindowMinutes: number;
|
|
13
|
+
emailCooldownSeconds: number;
|
|
14
|
+
}, {
|
|
15
|
+
sendEmailOtpMaxRequests: number;
|
|
16
|
+
sendEmailOtpWindowMinutes: number;
|
|
17
|
+
verifyOtpMaxRequests: number;
|
|
18
|
+
verifyOtpWindowMinutes: number;
|
|
19
|
+
emailCooldownSeconds: number;
|
|
20
|
+
}>;
|
|
21
|
+
export declare const getApiRateLimitConfigResponseSchema: z.ZodObject<{
|
|
22
|
+
id: z.ZodString;
|
|
23
|
+
sendEmailOtpMaxRequests: z.ZodNumber;
|
|
24
|
+
sendEmailOtpWindowMinutes: z.ZodNumber;
|
|
25
|
+
verifyOtpMaxRequests: z.ZodNumber;
|
|
26
|
+
verifyOtpWindowMinutes: z.ZodNumber;
|
|
27
|
+
emailCooldownSeconds: z.ZodNumber;
|
|
28
|
+
createdAt: z.ZodString;
|
|
29
|
+
updatedAt: z.ZodString;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
id: string;
|
|
32
|
+
createdAt: string;
|
|
33
|
+
updatedAt: string;
|
|
34
|
+
sendEmailOtpMaxRequests: number;
|
|
35
|
+
sendEmailOtpWindowMinutes: number;
|
|
36
|
+
verifyOtpMaxRequests: number;
|
|
37
|
+
verifyOtpWindowMinutes: number;
|
|
38
|
+
emailCooldownSeconds: number;
|
|
39
|
+
}, {
|
|
40
|
+
id: string;
|
|
41
|
+
createdAt: string;
|
|
42
|
+
updatedAt: string;
|
|
43
|
+
sendEmailOtpMaxRequests: number;
|
|
44
|
+
sendEmailOtpWindowMinutes: number;
|
|
45
|
+
verifyOtpMaxRequests: number;
|
|
46
|
+
verifyOtpWindowMinutes: number;
|
|
47
|
+
emailCooldownSeconds: number;
|
|
48
|
+
}>;
|
|
49
|
+
export type UpdateApiRateLimitConfigRequest = z.infer<typeof updateApiRateLimitConfigRequestSchema>;
|
|
50
|
+
export type GetApiRateLimitConfigResponse = z.infer<typeof getApiRateLimitConfigResponseSchema>;
|
|
51
|
+
//# sourceMappingURL=rate-limit-api.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rate-limit-api.schema.d.ts","sourceRoot":"","sources":["../src/rate-limit-api.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;EA0BhD,CAAC;AAEH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA2B,CAAC;AAE5E,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC;AACpG,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { apiRateLimitConfigSchema } from './rate-limit.schema';
|
|
3
|
+
export const updateApiRateLimitConfigRequestSchema = z.object({
|
|
4
|
+
sendEmailOtpMaxRequests: z
|
|
5
|
+
.number()
|
|
6
|
+
.int()
|
|
7
|
+
.min(1, 'Must be at least 1 request')
|
|
8
|
+
.max(100, 'Must be at most 100 requests'),
|
|
9
|
+
sendEmailOtpWindowMinutes: z
|
|
10
|
+
.number()
|
|
11
|
+
.int()
|
|
12
|
+
.min(1, 'Must be at least 1 minute')
|
|
13
|
+
.max(1440, 'Must be at most 1440 minutes'),
|
|
14
|
+
verifyOtpMaxRequests: z
|
|
15
|
+
.number()
|
|
16
|
+
.int()
|
|
17
|
+
.min(1, 'Must be at least 1 attempt')
|
|
18
|
+
.max(100, 'Must be at most 100 attempts'),
|
|
19
|
+
verifyOtpWindowMinutes: z
|
|
20
|
+
.number()
|
|
21
|
+
.int()
|
|
22
|
+
.min(1, 'Must be at least 1 minute')
|
|
23
|
+
.max(1440, 'Must be at most 1440 minutes'),
|
|
24
|
+
emailCooldownSeconds: z
|
|
25
|
+
.number()
|
|
26
|
+
.int()
|
|
27
|
+
.min(0, 'Must be at least 0 seconds')
|
|
28
|
+
.max(3600, 'Must be at most 3600 seconds'),
|
|
29
|
+
});
|
|
30
|
+
export const getApiRateLimitConfigResponseSchema = apiRateLimitConfigSchema;
|
|
31
|
+
//# sourceMappingURL=rate-limit-api.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rate-limit-api.schema.js","sourceRoot":"","sources":["../src/rate-limit-api.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,MAAM,CAAC,MAAM,qCAAqC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5D,uBAAuB,EAAE,CAAC;SACvB,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,EAAE,4BAA4B,CAAC;SACpC,GAAG,CAAC,GAAG,EAAE,8BAA8B,CAAC;IAC3C,yBAAyB,EAAE,CAAC;SACzB,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,EAAE,2BAA2B,CAAC;SACnC,GAAG,CAAC,IAAI,EAAE,8BAA8B,CAAC;IAC5C,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,EAAE,4BAA4B,CAAC;SACpC,GAAG,CAAC,GAAG,EAAE,8BAA8B,CAAC;IAC3C,sBAAsB,EAAE,CAAC;SACtB,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,EAAE,2BAA2B,CAAC;SACnC,GAAG,CAAC,IAAI,EAAE,8BAA8B,CAAC;IAC5C,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,EAAE,4BAA4B,CAAC;SACpC,GAAG,CAAC,IAAI,EAAE,8BAA8B,CAAC;CAC7C,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,mCAAmC,GAAG,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const apiRateLimitConfigSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
sendEmailOtpMaxRequests: z.ZodNumber;
|
|
5
|
+
sendEmailOtpWindowMinutes: z.ZodNumber;
|
|
6
|
+
verifyOtpMaxRequests: z.ZodNumber;
|
|
7
|
+
verifyOtpWindowMinutes: z.ZodNumber;
|
|
8
|
+
emailCooldownSeconds: z.ZodNumber;
|
|
9
|
+
createdAt: z.ZodString;
|
|
10
|
+
updatedAt: z.ZodString;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
id: string;
|
|
13
|
+
createdAt: string;
|
|
14
|
+
updatedAt: string;
|
|
15
|
+
sendEmailOtpMaxRequests: number;
|
|
16
|
+
sendEmailOtpWindowMinutes: number;
|
|
17
|
+
verifyOtpMaxRequests: number;
|
|
18
|
+
verifyOtpWindowMinutes: number;
|
|
19
|
+
emailCooldownSeconds: number;
|
|
20
|
+
}, {
|
|
21
|
+
id: string;
|
|
22
|
+
createdAt: string;
|
|
23
|
+
updatedAt: string;
|
|
24
|
+
sendEmailOtpMaxRequests: number;
|
|
25
|
+
sendEmailOtpWindowMinutes: number;
|
|
26
|
+
verifyOtpMaxRequests: number;
|
|
27
|
+
verifyOtpWindowMinutes: number;
|
|
28
|
+
emailCooldownSeconds: number;
|
|
29
|
+
}>;
|
|
30
|
+
export type ApiRateLimitConfigSchema = z.infer<typeof apiRateLimitConfigSchema>;
|
|
31
|
+
//# sourceMappingURL=rate-limit.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rate-limit.schema.d.ts","sourceRoot":"","sources":["../src/rate-limit.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;EASnC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export const apiRateLimitConfigSchema = z.object({
|
|
3
|
+
id: z.string().uuid(),
|
|
4
|
+
sendEmailOtpMaxRequests: z.number().int().positive(),
|
|
5
|
+
sendEmailOtpWindowMinutes: z.number().int().positive(),
|
|
6
|
+
verifyOtpMaxRequests: z.number().int().positive(),
|
|
7
|
+
verifyOtpWindowMinutes: z.number().int().positive(),
|
|
8
|
+
emailCooldownSeconds: z.number().int().nonnegative(),
|
|
9
|
+
createdAt: z.string(),
|
|
10
|
+
updatedAt: z.string(),
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=rate-limit.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rate-limit.schema.js","sourceRoot":"","sources":["../src/rate-limit.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,uBAAuB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACpD,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACtD,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACjD,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IACnD,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,WAAW,EAAE;IACpD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC"}
|
|
@@ -5,15 +5,15 @@ export declare const createChannelRequestSchema: z.ZodObject<{
|
|
|
5
5
|
webhookUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6
6
|
enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
pattern: string;
|
|
9
8
|
enabled: boolean;
|
|
9
|
+
pattern: string;
|
|
10
10
|
description?: string | undefined;
|
|
11
11
|
webhookUrls?: string[] | undefined;
|
|
12
12
|
}, {
|
|
13
13
|
pattern: string;
|
|
14
14
|
description?: string | undefined;
|
|
15
|
-
webhookUrls?: string[] | undefined;
|
|
16
15
|
enabled?: boolean | undefined;
|
|
16
|
+
webhookUrls?: string[] | undefined;
|
|
17
17
|
}>;
|
|
18
18
|
export declare const createChannelResponseSchema: z.ZodObject<{
|
|
19
19
|
id: z.ZodString;
|
|
@@ -26,19 +26,19 @@ export declare const createChannelResponseSchema: z.ZodObject<{
|
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
27
|
id: string;
|
|
28
28
|
createdAt: string;
|
|
29
|
-
updatedAt: string;
|
|
30
29
|
description: string | null;
|
|
30
|
+
enabled: boolean;
|
|
31
|
+
updatedAt: string;
|
|
31
32
|
pattern: string;
|
|
32
33
|
webhookUrls: string[] | null;
|
|
33
|
-
enabled: boolean;
|
|
34
34
|
}, {
|
|
35
35
|
id: string;
|
|
36
36
|
createdAt: string;
|
|
37
|
-
updatedAt: string;
|
|
38
37
|
description: string | null;
|
|
38
|
+
enabled: boolean;
|
|
39
|
+
updatedAt: string;
|
|
39
40
|
pattern: string;
|
|
40
41
|
webhookUrls: string[] | null;
|
|
41
|
-
enabled: boolean;
|
|
42
42
|
}>;
|
|
43
43
|
export type CreateChannelRequest = z.infer<typeof createChannelRequestSchema>;
|
|
44
44
|
export type CreateChannelResponse = z.infer<typeof createChannelResponseSchema>;
|
|
@@ -49,14 +49,14 @@ export declare const updateChannelRequestSchema: z.ZodObject<{
|
|
|
49
49
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
50
50
|
}, "strip", z.ZodTypeAny, {
|
|
51
51
|
description?: string | undefined;
|
|
52
|
+
enabled?: boolean | undefined;
|
|
52
53
|
pattern?: string | undefined;
|
|
53
54
|
webhookUrls?: string[] | undefined;
|
|
54
|
-
enabled?: boolean | undefined;
|
|
55
55
|
}, {
|
|
56
56
|
description?: string | undefined;
|
|
57
|
+
enabled?: boolean | undefined;
|
|
57
58
|
pattern?: string | undefined;
|
|
58
59
|
webhookUrls?: string[] | undefined;
|
|
59
|
-
enabled?: boolean | undefined;
|
|
60
60
|
}>;
|
|
61
61
|
export declare const updateChannelResponseSchema: z.ZodObject<{
|
|
62
62
|
id: z.ZodString;
|
|
@@ -69,19 +69,19 @@ export declare const updateChannelResponseSchema: z.ZodObject<{
|
|
|
69
69
|
}, "strip", z.ZodTypeAny, {
|
|
70
70
|
id: string;
|
|
71
71
|
createdAt: string;
|
|
72
|
-
updatedAt: string;
|
|
73
72
|
description: string | null;
|
|
73
|
+
enabled: boolean;
|
|
74
|
+
updatedAt: string;
|
|
74
75
|
pattern: string;
|
|
75
76
|
webhookUrls: string[] | null;
|
|
76
|
-
enabled: boolean;
|
|
77
77
|
}, {
|
|
78
78
|
id: string;
|
|
79
79
|
createdAt: string;
|
|
80
|
-
updatedAt: string;
|
|
81
80
|
description: string | null;
|
|
81
|
+
enabled: boolean;
|
|
82
|
+
updatedAt: string;
|
|
82
83
|
pattern: string;
|
|
83
84
|
webhookUrls: string[] | null;
|
|
84
|
-
enabled: boolean;
|
|
85
85
|
}>;
|
|
86
86
|
export type UpdateChannelRequest = z.infer<typeof updateChannelRequestSchema>;
|
|
87
87
|
export type UpdateChannelResponse = z.infer<typeof updateChannelResponseSchema>;
|
|
@@ -96,19 +96,19 @@ export declare const getChannelResponseSchema: z.ZodObject<{
|
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
97
|
id: string;
|
|
98
98
|
createdAt: string;
|
|
99
|
-
updatedAt: string;
|
|
100
99
|
description: string | null;
|
|
100
|
+
enabled: boolean;
|
|
101
|
+
updatedAt: string;
|
|
101
102
|
pattern: string;
|
|
102
103
|
webhookUrls: string[] | null;
|
|
103
|
-
enabled: boolean;
|
|
104
104
|
}, {
|
|
105
105
|
id: string;
|
|
106
106
|
createdAt: string;
|
|
107
|
-
updatedAt: string;
|
|
108
107
|
description: string | null;
|
|
108
|
+
enabled: boolean;
|
|
109
|
+
updatedAt: string;
|
|
109
110
|
pattern: string;
|
|
110
111
|
webhookUrls: string[] | null;
|
|
111
|
-
enabled: boolean;
|
|
112
112
|
}>;
|
|
113
113
|
export type GetChannelResponse = z.infer<typeof getChannelResponseSchema>;
|
|
114
114
|
export declare const listChannelsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -122,19 +122,19 @@ export declare const listChannelsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
|
122
122
|
}, "strip", z.ZodTypeAny, {
|
|
123
123
|
id: string;
|
|
124
124
|
createdAt: string;
|
|
125
|
-
updatedAt: string;
|
|
126
125
|
description: string | null;
|
|
126
|
+
enabled: boolean;
|
|
127
|
+
updatedAt: string;
|
|
127
128
|
pattern: string;
|
|
128
129
|
webhookUrls: string[] | null;
|
|
129
|
-
enabled: boolean;
|
|
130
130
|
}, {
|
|
131
131
|
id: string;
|
|
132
132
|
createdAt: string;
|
|
133
|
-
updatedAt: string;
|
|
134
133
|
description: string | null;
|
|
134
|
+
enabled: boolean;
|
|
135
|
+
updatedAt: string;
|
|
135
136
|
pattern: string;
|
|
136
137
|
webhookUrls: string[] | null;
|
|
137
|
-
enabled: boolean;
|
|
138
138
|
}>, "many">;
|
|
139
139
|
export type ListChannelsResponse = z.infer<typeof listChannelsResponseSchema>;
|
|
140
140
|
export declare const deleteChannelResponseSchema: z.ZodObject<{
|
|
@@ -223,7 +223,9 @@ export declare const messageStatsResponseSchema: z.ZodObject<{
|
|
|
223
223
|
count: number;
|
|
224
224
|
eventName: string;
|
|
225
225
|
}>, "many">;
|
|
226
|
+
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
226
227
|
}, "strip", z.ZodTypeAny, {
|
|
228
|
+
retentionDays: number | null;
|
|
227
229
|
totalMessages: number;
|
|
228
230
|
whDeliveryRate: number;
|
|
229
231
|
topEvents: {
|
|
@@ -231,6 +233,7 @@ export declare const messageStatsResponseSchema: z.ZodObject<{
|
|
|
231
233
|
eventName: string;
|
|
232
234
|
}[];
|
|
233
235
|
}, {
|
|
236
|
+
retentionDays: number | null;
|
|
234
237
|
totalMessages: number;
|
|
235
238
|
whDeliveryRate: number;
|
|
236
239
|
topEvents: {
|
|
@@ -240,6 +243,22 @@ export declare const messageStatsResponseSchema: z.ZodObject<{
|
|
|
240
243
|
}>;
|
|
241
244
|
export type MessageStatsRequest = z.infer<typeof messageStatsRequestSchema>;
|
|
242
245
|
export type MessageStatsResponse = z.infer<typeof messageStatsResponseSchema>;
|
|
246
|
+
export declare const updateRealtimeConfigRequestSchema: z.ZodObject<{
|
|
247
|
+
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
248
|
+
}, "strip", z.ZodTypeAny, {
|
|
249
|
+
retentionDays: number | null;
|
|
250
|
+
}, {
|
|
251
|
+
retentionDays: number | null;
|
|
252
|
+
}>;
|
|
253
|
+
export declare const getRealtimeConfigResponseSchema: z.ZodObject<{
|
|
254
|
+
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
255
|
+
}, "strip", z.ZodTypeAny, {
|
|
256
|
+
retentionDays: number | null;
|
|
257
|
+
}, {
|
|
258
|
+
retentionDays: number | null;
|
|
259
|
+
}>;
|
|
260
|
+
export type UpdateRealtimeConfigRequest = z.infer<typeof updateRealtimeConfigRequestSchema>;
|
|
261
|
+
export type GetRealtimeConfigResponse = z.infer<typeof getRealtimeConfigResponseSchema>;
|
|
243
262
|
export declare const rlsPolicySchema: z.ZodObject<{
|
|
244
263
|
policyName: z.ZodString;
|
|
245
264
|
tableName: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"realtime-api.schema.d.ts","sourceRoot":"","sources":["../src/realtime-api.schema.ts"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AK,CAAC,OAAO,iCAAiC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { realtimeChannelSchema, realtimeMessageSchema } from './realtime.schema';
|
|
2
|
+
import { realtimeChannelSchema, realtimeConfigSchema, realtimeMessageSchema, } from './realtime.schema.js';
|
|
3
3
|
// ============================================================================
|
|
4
4
|
// Channel CRUD Schemas
|
|
5
5
|
// ============================================================================
|
|
@@ -50,7 +50,11 @@ export const messageStatsResponseSchema = z.object({
|
|
|
50
50
|
eventName: z.string(),
|
|
51
51
|
count: z.number().int().min(0),
|
|
52
52
|
})),
|
|
53
|
+
retentionDays: realtimeConfigSchema.shape.retentionDays,
|
|
53
54
|
});
|
|
55
|
+
// Realtime Config
|
|
56
|
+
export const updateRealtimeConfigRequestSchema = realtimeConfigSchema;
|
|
57
|
+
export const getRealtimeConfigResponseSchema = realtimeConfigSchema;
|
|
54
58
|
// ============================================================================
|
|
55
59
|
// Permissions Schemas
|
|
56
60
|
// ============================================================================
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"realtime-api.schema.js","sourceRoot":"","sources":["../src/realtime-api.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,
|
|
1
|
+
{"version":3,"file":"realtime-api.schema.js","sourceRoot":"","sources":["../src/realtime-api.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,GACtB,MAAM,sBAAsB,CAAC;AAE9B,+EAA+E;AAC/E,uBAAuB;AACvB,+EAA+E;AAE/E,iBAAiB;AACjB,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,EAAE,6BAA6B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AAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;KAC/B,CAAC,CACH;IACD,aAAa,EAAE,oBAAoB,CAAC,KAAK,CAAC,aAAa;CACxD,CAAC,CAAC;AAKH,kBAAkB;AAClB,MAAM,CAAC,MAAM,iCAAiC,GAAG,oBAAoB,CAAC;AACtE,MAAM,CAAC,MAAM,+BAA+B,GAAG,oBAAoB,CAAC;AAKpE,+EAA+E;AAC/E,sBAAsB;AACtB,+EAA+E;AAE/E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC1B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC5B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC;QAClB,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC;KACnC,CAAC;IACF,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC;QAChB,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC;KACnC,CAAC;CACH,CAAC,CAAC"}
|
|
@@ -11,19 +11,19 @@ export declare const realtimeChannelSchema: z.ZodObject<{
|
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
id: string;
|
|
13
13
|
createdAt: string;
|
|
14
|
-
updatedAt: string;
|
|
15
14
|
description: string | null;
|
|
15
|
+
enabled: boolean;
|
|
16
|
+
updatedAt: string;
|
|
16
17
|
pattern: string;
|
|
17
18
|
webhookUrls: string[] | null;
|
|
18
|
-
enabled: boolean;
|
|
19
19
|
}, {
|
|
20
20
|
id: string;
|
|
21
21
|
createdAt: string;
|
|
22
|
-
updatedAt: string;
|
|
23
22
|
description: string | null;
|
|
23
|
+
enabled: boolean;
|
|
24
|
+
updatedAt: string;
|
|
24
25
|
pattern: string;
|
|
25
26
|
webhookUrls: string[] | null;
|
|
26
|
-
enabled: boolean;
|
|
27
27
|
}>;
|
|
28
28
|
export type RealtimeChannel = z.infer<typeof realtimeChannelSchema>;
|
|
29
29
|
export declare const realtimeMessageSchema: z.ZodObject<{
|
|
@@ -64,6 +64,14 @@ export declare const realtimeMessageSchema: z.ZodObject<{
|
|
|
64
64
|
whDeliveredCount: number;
|
|
65
65
|
}>;
|
|
66
66
|
export type RealtimeMessage = z.infer<typeof realtimeMessageSchema>;
|
|
67
|
+
export declare const realtimeConfigSchema: z.ZodObject<{
|
|
68
|
+
retentionDays: z.ZodNullable<z.ZodNumber>;
|
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
retentionDays: number | null;
|
|
71
|
+
}, {
|
|
72
|
+
retentionDays: number | null;
|
|
73
|
+
}>;
|
|
74
|
+
export type RealtimeConfig = z.infer<typeof realtimeConfigSchema>;
|
|
67
75
|
/**
|
|
68
76
|
* Payload for realtime:subscribe client event
|
|
69
77
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"realtime.schema.d.ts","sourceRoot":"","sources":["../src/realtime.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,gBAAgB,+BAA6B,CAAC;AAM3D,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;EAQhC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAMpE,eAAO,MAAM,qBAA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BAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAalC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAIrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;EAK/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAMlE;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;EAMlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAIhB,CAAC;AAEjB,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -32,6 +32,12 @@ export const realtimeMessageSchema = z.object({
|
|
|
32
32
|
createdAt: z.string().datetime(),
|
|
33
33
|
});
|
|
34
34
|
// ============================================================================
|
|
35
|
+
// Config Schema
|
|
36
|
+
// ============================================================================
|
|
37
|
+
export const realtimeConfigSchema = z.object({
|
|
38
|
+
retentionDays: z.number().int().positive().nullable(),
|
|
39
|
+
});
|
|
40
|
+
// ============================================================================
|
|
35
41
|
// WebSocket Event Payloads (for SDK/frontend)
|
|
36
42
|
// ============================================================================
|
|
37
43
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"realtime.schema.js","sourceRoot":"","sources":["../src/realtime.schema.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