@go-mondo/identity-sdk 0.0.2-beta.87 → 0.0.2-beta.89
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/.release-please-manifest.json +1 -1
- package/.tsbuildinfo/cjs.json +1 -1
- package/.tsbuildinfo/esm.json +1 -1
- package/CHANGELOG.md +14 -0
- package/dist/cjs/action/schema/base.d.ts +1 -1
- package/dist/cjs/action/schema/base.js +1 -1
- package/dist/cjs/action/schema/operations/sign-up-verification.d.ts +1 -1
- package/dist/cjs/action/schema/operations/sign-up-verification.test.js +1 -1
- package/dist/cjs/action/schema/operations/sign-up.d.ts +1 -1
- package/dist/cjs/action/schema/operations/user-attribute-verification.d.ts +1 -1
- package/dist/cjs/action/schema/operations/user-attribute-verification.test.js +1 -1
- package/dist/cjs/action/schema/schema.d.ts +40 -40
- package/dist/cjs/action/schema/schema.d.ts.map +1 -1
- package/dist/cjs/activity/resources.js +1 -1
- package/dist/cjs/activity/schema/base.d.ts +4 -4
- package/dist/cjs/activity/schema/base.js +3 -3
- package/dist/cjs/activity/schema/schema.d.ts +193 -193
- package/dist/cjs/activity/schema/schema.d.ts.map +1 -1
- package/dist/cjs/activity/schema/types/authentication.d.ts +2 -2
- package/dist/cjs/activity/schema/types/authorization.d.ts +2 -2
- package/dist/cjs/activity/schema/types/note.d.ts +4 -4
- package/dist/cjs/activity/schema/types/operation.d.ts +2 -2
- package/dist/cjs/activity/schema/types/unknown.d.ts +2 -2
- package/dist/cjs/app/authorization/schema.d.ts +3 -3
- package/dist/cjs/app/authorization/schema.js +2 -2
- package/dist/cjs/app/oauth/schema.d.ts +3 -3
- package/dist/cjs/app/oauth/schema.d.ts.map +1 -1
- package/dist/cjs/app/oauth/schema.js +2 -2
- package/dist/cjs/app/oauth/schema.test.js +1 -1
- package/dist/cjs/app/oidc/schema.d.ts +4 -4
- package/dist/cjs/app/oidc/schema.d.ts.map +1 -1
- package/dist/cjs/app/oidc/schema.js +3 -3
- package/dist/cjs/app/oidc/schema.test.js +1 -1
- package/dist/cjs/app/registration/schema.d.ts +3 -3
- package/dist/cjs/app/registration/schema.d.ts.map +1 -1
- package/dist/cjs/app/registration/schema.js +2 -2
- package/dist/cjs/app/resources.d.ts.map +1 -1
- package/dist/cjs/app/resources.js +1 -1
- package/dist/cjs/app/saml/schema.d.ts +4 -4
- package/dist/cjs/app/saml/schema.d.ts.map +1 -1
- package/dist/cjs/app/saml/schema.js +3 -3
- package/dist/cjs/app/schema.d.ts +4 -4
- package/dist/cjs/app/schema.d.ts.map +1 -1
- package/dist/cjs/app/schema.js +3 -3
- package/dist/cjs/app/schema.test.js +90 -1
- package/dist/cjs/association/resources.js +1 -1
- package/dist/cjs/association/schema.d.ts +5 -5
- package/dist/cjs/association/schema.d.ts.map +1 -1
- package/dist/cjs/association/schema.js +2 -2
- package/dist/cjs/authentication/providers/schema.d.ts +1 -1
- package/dist/cjs/authentication/providers/schema.js +1 -1
- package/dist/cjs/authentication/sessions/resources.js +1 -1
- package/dist/cjs/authentication/sessions/schema.d.ts +3 -3
- package/dist/cjs/authentication/sessions/schema.d.ts.map +1 -1
- package/dist/cjs/authentication/sessions/schema.js +2 -2
- package/dist/cjs/authentication/settings/schema.d.ts +3 -3
- package/dist/cjs/authentication/settings/schema.js +2 -2
- package/dist/cjs/authentication/settings/schema.test.js +1 -1
- package/dist/cjs/authentication/strategies/resources.d.ts.map +1 -1
- package/dist/cjs/authentication/strategies/resources.js +1 -1
- package/dist/cjs/authentication/strategies/schema/base.d.ts +4 -4
- package/dist/cjs/authentication/strategies/schema/base.d.ts.map +1 -1
- package/dist/cjs/authentication/strategies/schema/base.js +3 -3
- package/dist/cjs/authentication/strategies/schema/schema.d.ts +8 -8
- package/dist/cjs/authentication/strategies/schema/types/email.d.ts +4 -4
- package/dist/cjs/authentication/strategies/schema/types/totp.d.ts +4 -4
- package/dist/cjs/authorization/permissions/resources.d.ts.map +1 -1
- package/dist/cjs/authorization/permissions/resources.js +1 -1
- package/dist/cjs/authorization/permissions/schema.d.ts +4 -4
- package/dist/cjs/authorization/permissions/schema.js +3 -3
- package/dist/cjs/authorization/roles/resources.d.ts.map +1 -1
- package/dist/cjs/authorization/roles/resources.js +1 -1
- package/dist/cjs/authorization/roles/schema.d.ts +4 -4
- package/dist/cjs/authorization/roles/schema.js +3 -3
- package/dist/cjs/common/schema/metadata.d.ts +77 -23
- package/dist/cjs/common/schema/metadata.d.ts.map +1 -1
- package/dist/cjs/common/schema/metadata.js +108 -63
- package/dist/cjs/common/schema/metadata.test.js +189 -57
- package/dist/cjs/customer/organization/schema.d.ts +4 -4
- package/dist/cjs/customer/organization/schema.js +3 -3
- package/dist/cjs/customer/users/schema.d.ts +8 -8
- package/dist/cjs/customer/users/schema.js +3 -3
- package/dist/cjs/customer/users/schema.test.js +6 -6
- package/dist/cjs/oauth/authorize/schema/schema.d.ts +24 -24
- package/dist/cjs/oauth/authorize/schema/schema.d.ts.map +1 -1
- package/dist/cjs/workspace/authorization/schema.d.ts +3 -3
- package/dist/cjs/workspace/authorization/schema.d.ts.map +1 -1
- package/dist/cjs/workspace/authorization/schema.js +2 -2
- package/dist/cjs/workspace/branding/schema.d.ts +3 -3
- package/dist/cjs/workspace/branding/schema.d.ts.map +1 -1
- package/dist/cjs/workspace/branding/schema.js +2 -2
- package/dist/cjs/workspace/registration/schema.d.ts +3 -3
- package/dist/cjs/workspace/registration/schema.d.ts.map +1 -1
- package/dist/cjs/workspace/registration/schema.js +2 -2
- package/dist/cjs/workspace/settings/schema.d.ts +3 -3
- package/dist/cjs/workspace/settings/schema.d.ts.map +1 -1
- package/dist/cjs/workspace/settings/schema.js +2 -2
- package/dist/cjs/workspace/settings/schema.test.js +2 -2
- package/dist/cjs/workspace/tenant/schema.d.ts +4 -4
- package/dist/cjs/workspace/user/notifications/schema.d.ts +4 -4
- package/dist/cjs/workspace/user/notifications/schema.d.ts.map +1 -1
- package/dist/cjs/workspace/user/notifications/schema.js +3 -3
- package/dist/cjs/workspace/user/preferences/schema.d.ts +3 -3
- package/dist/cjs/workspace/user/preferences/schema.js +2 -2
- package/dist/esm/action/schema/base.d.ts +1 -1
- package/dist/esm/action/schema/base.js +2 -2
- package/dist/esm/action/schema/operations/sign-up-verification.d.ts +1 -1
- package/dist/esm/action/schema/operations/sign-up-verification.test.js +1 -1
- package/dist/esm/action/schema/operations/sign-up.d.ts +1 -1
- package/dist/esm/action/schema/operations/user-attribute-verification.d.ts +1 -1
- package/dist/esm/action/schema/operations/user-attribute-verification.test.js +1 -1
- package/dist/esm/action/schema/schema.d.ts +3 -3
- package/dist/esm/activity/resources.js +2 -2
- package/dist/esm/activity/schema/base.d.ts +4 -4
- package/dist/esm/activity/schema/base.js +4 -4
- package/dist/esm/activity/schema/schema.d.ts +12 -12
- package/dist/esm/activity/schema/types/authentication.d.ts +2 -2
- package/dist/esm/activity/schema/types/authorization.d.ts +2 -2
- package/dist/esm/activity/schema/types/note.d.ts +4 -4
- package/dist/esm/activity/schema/types/operation.d.ts +2 -2
- package/dist/esm/activity/schema/types/unknown.d.ts +2 -2
- package/dist/esm/app/authorization/schema.d.ts +3 -3
- package/dist/esm/app/authorization/schema.js +3 -3
- package/dist/esm/app/oauth/schema.d.ts +3 -3
- package/dist/esm/app/oauth/schema.d.ts.map +1 -1
- package/dist/esm/app/oauth/schema.js +3 -3
- package/dist/esm/app/oauth/schema.test.js +1 -1
- package/dist/esm/app/oidc/schema.d.ts +4 -4
- package/dist/esm/app/oidc/schema.d.ts.map +1 -1
- package/dist/esm/app/oidc/schema.js +4 -4
- package/dist/esm/app/oidc/schema.test.js +1 -1
- package/dist/esm/app/registration/schema.d.ts +3 -3
- package/dist/esm/app/registration/schema.d.ts.map +1 -1
- package/dist/esm/app/registration/schema.js +3 -3
- package/dist/esm/app/resources.d.ts.map +1 -1
- package/dist/esm/app/resources.js +2 -2
- package/dist/esm/app/saml/schema.d.ts +4 -4
- package/dist/esm/app/saml/schema.d.ts.map +1 -1
- package/dist/esm/app/saml/schema.js +4 -4
- package/dist/esm/app/schema.d.ts +4 -4
- package/dist/esm/app/schema.d.ts.map +1 -1
- package/dist/esm/app/schema.js +4 -4
- package/dist/esm/app/schema.test.js +91 -2
- package/dist/esm/association/resources.js +2 -2
- package/dist/esm/association/schema.d.ts +5 -5
- package/dist/esm/association/schema.d.ts.map +1 -1
- package/dist/esm/association/schema.js +3 -3
- package/dist/esm/authentication/providers/schema.d.ts +1 -1
- package/dist/esm/authentication/providers/schema.js +2 -2
- package/dist/esm/authentication/sessions/resources.js +2 -2
- package/dist/esm/authentication/sessions/schema.d.ts +3 -3
- package/dist/esm/authentication/sessions/schema.d.ts.map +1 -1
- package/dist/esm/authentication/sessions/schema.js +3 -3
- package/dist/esm/authentication/settings/schema.d.ts +3 -3
- package/dist/esm/authentication/settings/schema.js +3 -3
- package/dist/esm/authentication/settings/schema.test.js +1 -1
- package/dist/esm/authentication/strategies/resources.d.ts.map +1 -1
- package/dist/esm/authentication/strategies/resources.js +2 -2
- package/dist/esm/authentication/strategies/schema/base.d.ts +4 -4
- package/dist/esm/authentication/strategies/schema/base.d.ts.map +1 -1
- package/dist/esm/authentication/strategies/schema/base.js +4 -4
- package/dist/esm/authentication/strategies/schema/schema.d.ts +8 -8
- package/dist/esm/authentication/strategies/schema/types/email.d.ts +4 -4
- package/dist/esm/authentication/strategies/schema/types/totp.d.ts +4 -4
- package/dist/esm/authorization/permissions/resources.d.ts.map +1 -1
- package/dist/esm/authorization/permissions/resources.js +2 -2
- package/dist/esm/authorization/permissions/schema.d.ts +4 -4
- package/dist/esm/authorization/permissions/schema.js +4 -4
- package/dist/esm/authorization/roles/resources.d.ts.map +1 -1
- package/dist/esm/authorization/roles/resources.js +2 -2
- package/dist/esm/authorization/roles/schema.d.ts +4 -4
- package/dist/esm/authorization/roles/schema.js +4 -4
- package/dist/esm/common/schema/metadata.d.ts +77 -23
- package/dist/esm/common/schema/metadata.d.ts.map +1 -1
- package/dist/esm/common/schema/metadata.js +107 -62
- package/dist/esm/common/schema/metadata.test.js +190 -58
- package/dist/esm/customer/organization/schema.d.ts +4 -4
- package/dist/esm/customer/organization/schema.js +4 -4
- package/dist/esm/customer/users/schema.d.ts +8 -8
- package/dist/esm/customer/users/schema.js +4 -4
- package/dist/esm/customer/users/schema.test.js +6 -6
- package/dist/esm/workspace/authorization/schema.d.ts +3 -3
- package/dist/esm/workspace/authorization/schema.d.ts.map +1 -1
- package/dist/esm/workspace/authorization/schema.js +3 -3
- package/dist/esm/workspace/branding/schema.d.ts +3 -3
- package/dist/esm/workspace/branding/schema.d.ts.map +1 -1
- package/dist/esm/workspace/branding/schema.js +3 -3
- package/dist/esm/workspace/registration/schema.d.ts +3 -3
- package/dist/esm/workspace/registration/schema.d.ts.map +1 -1
- package/dist/esm/workspace/registration/schema.js +3 -3
- package/dist/esm/workspace/settings/schema.d.ts +3 -3
- package/dist/esm/workspace/settings/schema.d.ts.map +1 -1
- package/dist/esm/workspace/settings/schema.js +3 -3
- package/dist/esm/workspace/settings/schema.test.js +2 -2
- package/dist/esm/workspace/tenant/schema.d.ts +4 -4
- package/dist/esm/workspace/user/notifications/schema.d.ts +4 -4
- package/dist/esm/workspace/user/notifications/schema.d.ts.map +1 -1
- package/dist/esm/workspace/user/notifications/schema.js +4 -4
- package/dist/esm/workspace/user/preferences/schema.d.ts +3 -3
- package/dist/esm/workspace/user/preferences/schema.js +3 -3
- package/package.json +2 -2
|
@@ -1,296 +1,296 @@
|
|
|
1
1
|
import type { z } from 'zod';
|
|
2
2
|
export { ActivityType, PerformerType, type AnyActivityType, type AnyPerformerType, } from './base.js';
|
|
3
|
-
export declare const ActivitySchema:
|
|
4
|
-
type:
|
|
5
|
-
message:
|
|
6
|
-
metadata:
|
|
7
|
-
deactivatedAt:
|
|
8
|
-
deletedAt:
|
|
9
|
-
updatedAt:
|
|
10
|
-
createdAt:
|
|
11
|
-
id:
|
|
12
|
-
performedBy:
|
|
13
|
-
type:
|
|
3
|
+
export declare const ActivitySchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
4
|
+
type: z.ZodLiteral<"note">;
|
|
5
|
+
message: z.ZodString;
|
|
6
|
+
metadata: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<import("../../common/index.js").MetadataMap, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>, z.ZodTransform<import("../../common/index.js").MetadataMap, import("../../common/index.js").MetadataMap | undefined>>;
|
|
7
|
+
deactivatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
|
|
8
|
+
deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
|
|
9
|
+
updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
|
|
10
|
+
createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
|
|
11
|
+
id: z.ZodString;
|
|
12
|
+
performedBy: z.ZodObject<{
|
|
13
|
+
type: z.ZodEnum<{
|
|
14
14
|
system: "system";
|
|
15
15
|
guest: "guest";
|
|
16
16
|
identity: "identity";
|
|
17
17
|
automation: "automation";
|
|
18
18
|
integration: "integration";
|
|
19
19
|
}>;
|
|
20
|
-
identifier:
|
|
21
|
-
},
|
|
22
|
-
source:
|
|
23
|
-
app:
|
|
24
|
-
isMutateable:
|
|
25
|
-
},
|
|
26
|
-
type:
|
|
27
|
-
status:
|
|
20
|
+
identifier: z.ZodString;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
source: z.ZodString;
|
|
23
|
+
app: z.ZodOptional<z.ZodString>;
|
|
24
|
+
isMutateable: z.ZodBoolean;
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
+
type: z.ZodLiteral<"authentication">;
|
|
27
|
+
status: z.ZodEnum<{
|
|
28
28
|
success: "success";
|
|
29
29
|
fail: "fail";
|
|
30
30
|
}>;
|
|
31
|
-
identity:
|
|
32
|
-
message:
|
|
33
|
-
metadata:
|
|
34
|
-
deactivatedAt:
|
|
35
|
-
deletedAt:
|
|
36
|
-
updatedAt:
|
|
37
|
-
createdAt:
|
|
38
|
-
id:
|
|
39
|
-
performedBy:
|
|
40
|
-
type:
|
|
31
|
+
identity: z.ZodString;
|
|
32
|
+
message: z.ZodString;
|
|
33
|
+
metadata: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<import("../../common/index.js").MetadataMap, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>, z.ZodTransform<import("../../common/index.js").MetadataMap, import("../../common/index.js").MetadataMap | undefined>>;
|
|
34
|
+
deactivatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
|
|
35
|
+
deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
|
|
36
|
+
updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
|
|
37
|
+
createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
|
|
38
|
+
id: z.ZodString;
|
|
39
|
+
performedBy: z.ZodObject<{
|
|
40
|
+
type: z.ZodEnum<{
|
|
41
41
|
system: "system";
|
|
42
42
|
guest: "guest";
|
|
43
43
|
identity: "identity";
|
|
44
44
|
automation: "automation";
|
|
45
45
|
integration: "integration";
|
|
46
46
|
}>;
|
|
47
|
-
identifier:
|
|
48
|
-
},
|
|
49
|
-
source:
|
|
50
|
-
app:
|
|
51
|
-
isMutateable:
|
|
52
|
-
},
|
|
53
|
-
type:
|
|
54
|
-
status:
|
|
47
|
+
identifier: z.ZodString;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
source: z.ZodString;
|
|
50
|
+
app: z.ZodOptional<z.ZodString>;
|
|
51
|
+
isMutateable: z.ZodBoolean;
|
|
52
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
53
|
+
type: z.ZodLiteral<"authorization">;
|
|
54
|
+
status: z.ZodEnum<{
|
|
55
55
|
success: "success";
|
|
56
56
|
fail: "fail";
|
|
57
57
|
}>;
|
|
58
|
-
identity:
|
|
59
|
-
message:
|
|
60
|
-
metadata:
|
|
61
|
-
deactivatedAt:
|
|
62
|
-
deletedAt:
|
|
63
|
-
updatedAt:
|
|
64
|
-
createdAt:
|
|
65
|
-
id:
|
|
66
|
-
performedBy:
|
|
67
|
-
type:
|
|
58
|
+
identity: z.ZodOptional<z.ZodString>;
|
|
59
|
+
message: z.ZodString;
|
|
60
|
+
metadata: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<import("../../common/index.js").MetadataMap, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>, z.ZodTransform<import("../../common/index.js").MetadataMap, import("../../common/index.js").MetadataMap | undefined>>;
|
|
61
|
+
deactivatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
|
|
62
|
+
deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
|
|
63
|
+
updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
|
|
64
|
+
createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
|
|
65
|
+
id: z.ZodString;
|
|
66
|
+
performedBy: z.ZodObject<{
|
|
67
|
+
type: z.ZodEnum<{
|
|
68
68
|
system: "system";
|
|
69
69
|
guest: "guest";
|
|
70
70
|
identity: "identity";
|
|
71
71
|
automation: "automation";
|
|
72
72
|
integration: "integration";
|
|
73
73
|
}>;
|
|
74
|
-
identifier:
|
|
75
|
-
},
|
|
76
|
-
source:
|
|
77
|
-
app:
|
|
78
|
-
isMutateable:
|
|
79
|
-
},
|
|
80
|
-
type:
|
|
81
|
-
operation:
|
|
74
|
+
identifier: z.ZodString;
|
|
75
|
+
}, z.core.$strip>;
|
|
76
|
+
source: z.ZodString;
|
|
77
|
+
app: z.ZodOptional<z.ZodString>;
|
|
78
|
+
isMutateable: z.ZodBoolean;
|
|
79
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
80
|
+
type: z.ZodLiteral<"operation">;
|
|
81
|
+
operation: z.ZodEnum<{
|
|
82
82
|
automation: "automation";
|
|
83
83
|
create: "create";
|
|
84
84
|
update: "update";
|
|
85
85
|
delete: "delete";
|
|
86
86
|
}>;
|
|
87
|
-
message:
|
|
88
|
-
target:
|
|
89
|
-
metadata:
|
|
90
|
-
deactivatedAt:
|
|
91
|
-
deletedAt:
|
|
92
|
-
updatedAt:
|
|
93
|
-
createdAt:
|
|
94
|
-
id:
|
|
95
|
-
performedBy:
|
|
96
|
-
type:
|
|
87
|
+
message: z.ZodString;
|
|
88
|
+
target: z.ZodString;
|
|
89
|
+
metadata: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<import("../../common/index.js").MetadataMap, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>, z.ZodTransform<import("../../common/index.js").MetadataMap, import("../../common/index.js").MetadataMap | undefined>>;
|
|
90
|
+
deactivatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
|
|
91
|
+
deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
|
|
92
|
+
updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
|
|
93
|
+
createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
|
|
94
|
+
id: z.ZodString;
|
|
95
|
+
performedBy: z.ZodObject<{
|
|
96
|
+
type: z.ZodEnum<{
|
|
97
97
|
system: "system";
|
|
98
98
|
guest: "guest";
|
|
99
99
|
identity: "identity";
|
|
100
100
|
automation: "automation";
|
|
101
101
|
integration: "integration";
|
|
102
102
|
}>;
|
|
103
|
-
identifier:
|
|
104
|
-
},
|
|
105
|
-
source:
|
|
106
|
-
app:
|
|
107
|
-
isMutateable:
|
|
108
|
-
},
|
|
109
|
-
type:
|
|
110
|
-
message:
|
|
111
|
-
metadata:
|
|
112
|
-
deactivatedAt:
|
|
113
|
-
deletedAt:
|
|
114
|
-
updatedAt:
|
|
115
|
-
createdAt:
|
|
116
|
-
id:
|
|
117
|
-
performedBy:
|
|
118
|
-
type:
|
|
103
|
+
identifier: z.ZodString;
|
|
104
|
+
}, z.core.$strip>;
|
|
105
|
+
source: z.ZodString;
|
|
106
|
+
app: z.ZodOptional<z.ZodString>;
|
|
107
|
+
isMutateable: z.ZodBoolean;
|
|
108
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
109
|
+
type: z.ZodLiteral<"unknown">;
|
|
110
|
+
message: z.ZodString;
|
|
111
|
+
metadata: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<import("../../common/index.js").MetadataMap, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>, z.ZodTransform<import("../../common/index.js").MetadataMap, import("../../common/index.js").MetadataMap | undefined>>;
|
|
112
|
+
deactivatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
|
|
113
|
+
deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
|
|
114
|
+
updatedAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
|
|
115
|
+
createdAt: z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>;
|
|
116
|
+
id: z.ZodString;
|
|
117
|
+
performedBy: z.ZodObject<{
|
|
118
|
+
type: z.ZodEnum<{
|
|
119
119
|
system: "system";
|
|
120
120
|
guest: "guest";
|
|
121
121
|
identity: "identity";
|
|
122
122
|
automation: "automation";
|
|
123
123
|
integration: "integration";
|
|
124
124
|
}>;
|
|
125
|
-
identifier:
|
|
126
|
-
},
|
|
127
|
-
source:
|
|
128
|
-
app:
|
|
129
|
-
isMutateable:
|
|
130
|
-
},
|
|
125
|
+
identifier: z.ZodString;
|
|
126
|
+
}, z.core.$strip>;
|
|
127
|
+
source: z.ZodString;
|
|
128
|
+
app: z.ZodOptional<z.ZodString>;
|
|
129
|
+
isMutateable: z.ZodBoolean;
|
|
130
|
+
}, z.core.$strip>]>;
|
|
131
131
|
export type ActivityProperties = z.input<typeof ActivitySchema>;
|
|
132
132
|
export type Activity = z.output<typeof ActivitySchema>;
|
|
133
|
-
export declare const ActivityPayloadSchema:
|
|
134
|
-
type:
|
|
135
|
-
message:
|
|
136
|
-
metadata:
|
|
137
|
-
deactivatedAt:
|
|
138
|
-
deletedAt:
|
|
139
|
-
updatedAt:
|
|
140
|
-
createdAt:
|
|
141
|
-
id:
|
|
142
|
-
performedBy:
|
|
143
|
-
type:
|
|
133
|
+
export declare const ActivityPayloadSchema: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
134
|
+
type: z.ZodLiteral<"note">;
|
|
135
|
+
message: z.ZodString;
|
|
136
|
+
metadata: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<import("../../common/index.js").MetadataRecord, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>, z.ZodTransform<import("../../common/index.js").MetadataRecord | undefined, import("../../common/index.js").MetadataRecord | undefined>>;
|
|
137
|
+
deactivatedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
|
|
138
|
+
deletedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
|
|
139
|
+
updatedAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
|
|
140
|
+
createdAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
|
|
141
|
+
id: z.ZodString;
|
|
142
|
+
performedBy: z.ZodObject<{
|
|
143
|
+
type: z.ZodEnum<{
|
|
144
144
|
system: "system";
|
|
145
145
|
guest: "guest";
|
|
146
146
|
identity: "identity";
|
|
147
147
|
automation: "automation";
|
|
148
148
|
integration: "integration";
|
|
149
149
|
}>;
|
|
150
|
-
identifier:
|
|
151
|
-
},
|
|
152
|
-
source:
|
|
153
|
-
app:
|
|
154
|
-
isMutateable:
|
|
155
|
-
},
|
|
156
|
-
type:
|
|
157
|
-
status:
|
|
150
|
+
identifier: z.ZodString;
|
|
151
|
+
}, z.core.$strip>;
|
|
152
|
+
source: z.ZodString;
|
|
153
|
+
app: z.ZodOptional<z.ZodString>;
|
|
154
|
+
isMutateable: z.ZodBoolean;
|
|
155
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
156
|
+
type: z.ZodLiteral<"authentication">;
|
|
157
|
+
status: z.ZodEnum<{
|
|
158
158
|
success: "success";
|
|
159
159
|
fail: "fail";
|
|
160
160
|
}>;
|
|
161
|
-
identity:
|
|
162
|
-
message:
|
|
163
|
-
metadata:
|
|
164
|
-
deactivatedAt:
|
|
165
|
-
deletedAt:
|
|
166
|
-
updatedAt:
|
|
167
|
-
createdAt:
|
|
168
|
-
id:
|
|
169
|
-
performedBy:
|
|
170
|
-
type:
|
|
161
|
+
identity: z.ZodString;
|
|
162
|
+
message: z.ZodString;
|
|
163
|
+
metadata: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<import("../../common/index.js").MetadataRecord, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>, z.ZodTransform<import("../../common/index.js").MetadataRecord | undefined, import("../../common/index.js").MetadataRecord | undefined>>;
|
|
164
|
+
deactivatedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
|
|
165
|
+
deletedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
|
|
166
|
+
updatedAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
|
|
167
|
+
createdAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
|
|
168
|
+
id: z.ZodString;
|
|
169
|
+
performedBy: z.ZodObject<{
|
|
170
|
+
type: z.ZodEnum<{
|
|
171
171
|
system: "system";
|
|
172
172
|
guest: "guest";
|
|
173
173
|
identity: "identity";
|
|
174
174
|
automation: "automation";
|
|
175
175
|
integration: "integration";
|
|
176
176
|
}>;
|
|
177
|
-
identifier:
|
|
178
|
-
},
|
|
179
|
-
source:
|
|
180
|
-
app:
|
|
181
|
-
isMutateable:
|
|
182
|
-
},
|
|
183
|
-
type:
|
|
184
|
-
status:
|
|
177
|
+
identifier: z.ZodString;
|
|
178
|
+
}, z.core.$strip>;
|
|
179
|
+
source: z.ZodString;
|
|
180
|
+
app: z.ZodOptional<z.ZodString>;
|
|
181
|
+
isMutateable: z.ZodBoolean;
|
|
182
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
183
|
+
type: z.ZodLiteral<"authorization">;
|
|
184
|
+
status: z.ZodEnum<{
|
|
185
185
|
success: "success";
|
|
186
186
|
fail: "fail";
|
|
187
187
|
}>;
|
|
188
|
-
identity:
|
|
189
|
-
message:
|
|
190
|
-
metadata:
|
|
191
|
-
deactivatedAt:
|
|
192
|
-
deletedAt:
|
|
193
|
-
updatedAt:
|
|
194
|
-
createdAt:
|
|
195
|
-
id:
|
|
196
|
-
performedBy:
|
|
197
|
-
type:
|
|
188
|
+
identity: z.ZodOptional<z.ZodString>;
|
|
189
|
+
message: z.ZodString;
|
|
190
|
+
metadata: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<import("../../common/index.js").MetadataRecord, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>, z.ZodTransform<import("../../common/index.js").MetadataRecord | undefined, import("../../common/index.js").MetadataRecord | undefined>>;
|
|
191
|
+
deactivatedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
|
|
192
|
+
deletedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
|
|
193
|
+
updatedAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
|
|
194
|
+
createdAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
|
|
195
|
+
id: z.ZodString;
|
|
196
|
+
performedBy: z.ZodObject<{
|
|
197
|
+
type: z.ZodEnum<{
|
|
198
198
|
system: "system";
|
|
199
199
|
guest: "guest";
|
|
200
200
|
identity: "identity";
|
|
201
201
|
automation: "automation";
|
|
202
202
|
integration: "integration";
|
|
203
203
|
}>;
|
|
204
|
-
identifier:
|
|
205
|
-
},
|
|
206
|
-
source:
|
|
207
|
-
app:
|
|
208
|
-
isMutateable:
|
|
209
|
-
},
|
|
210
|
-
type:
|
|
211
|
-
operation:
|
|
204
|
+
identifier: z.ZodString;
|
|
205
|
+
}, z.core.$strip>;
|
|
206
|
+
source: z.ZodString;
|
|
207
|
+
app: z.ZodOptional<z.ZodString>;
|
|
208
|
+
isMutateable: z.ZodBoolean;
|
|
209
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
210
|
+
type: z.ZodLiteral<"operation">;
|
|
211
|
+
operation: z.ZodEnum<{
|
|
212
212
|
automation: "automation";
|
|
213
213
|
create: "create";
|
|
214
214
|
update: "update";
|
|
215
215
|
delete: "delete";
|
|
216
216
|
}>;
|
|
217
|
-
message:
|
|
218
|
-
target:
|
|
219
|
-
metadata:
|
|
220
|
-
deactivatedAt:
|
|
221
|
-
deletedAt:
|
|
222
|
-
updatedAt:
|
|
223
|
-
createdAt:
|
|
224
|
-
id:
|
|
225
|
-
performedBy:
|
|
226
|
-
type:
|
|
217
|
+
message: z.ZodString;
|
|
218
|
+
target: z.ZodString;
|
|
219
|
+
metadata: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<import("../../common/index.js").MetadataRecord, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>, z.ZodTransform<import("../../common/index.js").MetadataRecord | undefined, import("../../common/index.js").MetadataRecord | undefined>>;
|
|
220
|
+
deactivatedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
|
|
221
|
+
deletedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
|
|
222
|
+
updatedAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
|
|
223
|
+
createdAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
|
|
224
|
+
id: z.ZodString;
|
|
225
|
+
performedBy: z.ZodObject<{
|
|
226
|
+
type: z.ZodEnum<{
|
|
227
227
|
system: "system";
|
|
228
228
|
guest: "guest";
|
|
229
229
|
identity: "identity";
|
|
230
230
|
automation: "automation";
|
|
231
231
|
integration: "integration";
|
|
232
232
|
}>;
|
|
233
|
-
identifier:
|
|
234
|
-
},
|
|
235
|
-
source:
|
|
236
|
-
app:
|
|
237
|
-
isMutateable:
|
|
238
|
-
},
|
|
239
|
-
type:
|
|
240
|
-
message:
|
|
241
|
-
metadata:
|
|
242
|
-
deactivatedAt:
|
|
243
|
-
deletedAt:
|
|
244
|
-
updatedAt:
|
|
245
|
-
createdAt:
|
|
246
|
-
id:
|
|
247
|
-
performedBy:
|
|
248
|
-
type:
|
|
233
|
+
identifier: z.ZodString;
|
|
234
|
+
}, z.core.$strip>;
|
|
235
|
+
source: z.ZodString;
|
|
236
|
+
app: z.ZodOptional<z.ZodString>;
|
|
237
|
+
isMutateable: z.ZodBoolean;
|
|
238
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
239
|
+
type: z.ZodLiteral<"unknown">;
|
|
240
|
+
message: z.ZodString;
|
|
241
|
+
metadata: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<import("../../common/index.js").MetadataRecord, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>, z.ZodTransform<import("../../common/index.js").MetadataRecord | undefined, import("../../common/index.js").MetadataRecord | undefined>>;
|
|
242
|
+
deactivatedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
|
|
243
|
+
deletedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
|
|
244
|
+
updatedAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
|
|
245
|
+
createdAt: z.ZodPipe<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>, z.ZodTransform<string, Date>>;
|
|
246
|
+
id: z.ZodString;
|
|
247
|
+
performedBy: z.ZodObject<{
|
|
248
|
+
type: z.ZodEnum<{
|
|
249
249
|
system: "system";
|
|
250
250
|
guest: "guest";
|
|
251
251
|
identity: "identity";
|
|
252
252
|
automation: "automation";
|
|
253
253
|
integration: "integration";
|
|
254
254
|
}>;
|
|
255
|
-
identifier:
|
|
256
|
-
},
|
|
257
|
-
source:
|
|
258
|
-
app:
|
|
259
|
-
isMutateable:
|
|
260
|
-
},
|
|
255
|
+
identifier: z.ZodString;
|
|
256
|
+
}, z.core.$strip>;
|
|
257
|
+
source: z.ZodString;
|
|
258
|
+
app: z.ZodOptional<z.ZodString>;
|
|
259
|
+
isMutateable: z.ZodBoolean;
|
|
260
|
+
}, z.core.$strip>]>;
|
|
261
261
|
export type ActivityPayload = z.output<typeof ActivityPayloadSchema>;
|
|
262
|
-
export declare const InsertActivityPayloadSchema:
|
|
263
|
-
type:
|
|
264
|
-
message:
|
|
265
|
-
metadata:
|
|
266
|
-
id:
|
|
267
|
-
performedBy:
|
|
268
|
-
type:
|
|
262
|
+
export declare const InsertActivityPayloadSchema: z.ZodObject<{
|
|
263
|
+
type: z.ZodLiteral<"note">;
|
|
264
|
+
message: z.ZodString;
|
|
265
|
+
metadata: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<import("../../common/index.js").MetadataRecord, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>, z.ZodTransform<import("../../common/index.js").MetadataRecord | null | undefined, import("../../common/index.js").MetadataRecord | undefined>>;
|
|
266
|
+
id: z.ZodDefault<z.ZodString>;
|
|
267
|
+
performedBy: z.ZodOptional<z.ZodObject<{
|
|
268
|
+
type: z.ZodEnum<{
|
|
269
269
|
system: "system";
|
|
270
270
|
guest: "guest";
|
|
271
271
|
identity: "identity";
|
|
272
272
|
automation: "automation";
|
|
273
273
|
integration: "integration";
|
|
274
274
|
}>;
|
|
275
|
-
identifier:
|
|
276
|
-
},
|
|
277
|
-
},
|
|
275
|
+
identifier: z.ZodString;
|
|
276
|
+
}, z.core.$strip>>;
|
|
277
|
+
}, z.core.$strip>;
|
|
278
278
|
export type InsertActivityPayload = z.output<typeof InsertActivityPayloadSchema>;
|
|
279
|
-
export declare const UpdateActivityPayloadSchema:
|
|
280
|
-
type:
|
|
281
|
-
message:
|
|
282
|
-
metadata:
|
|
283
|
-
performedBy:
|
|
284
|
-
type:
|
|
279
|
+
export declare const UpdateActivityPayloadSchema: z.ZodObject<{
|
|
280
|
+
type: z.ZodLiteral<"note">;
|
|
281
|
+
message: z.ZodOptional<z.ZodString>;
|
|
282
|
+
metadata: z.ZodPipe<z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodMap<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<import("../../common/index.js").MetadataRecord, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>, z.ZodTransform<import("../../common/index.js").MetadataRecord | null | undefined, import("../../common/index.js").MetadataRecord | undefined>>;
|
|
283
|
+
performedBy: z.ZodOptional<z.ZodObject<{
|
|
284
|
+
type: z.ZodEnum<{
|
|
285
285
|
system: "system";
|
|
286
286
|
guest: "guest";
|
|
287
287
|
identity: "identity";
|
|
288
288
|
automation: "automation";
|
|
289
289
|
integration: "integration";
|
|
290
290
|
}>;
|
|
291
|
-
identifier:
|
|
292
|
-
},
|
|
293
|
-
},
|
|
291
|
+
identifier: z.ZodString;
|
|
292
|
+
}, z.core.$strip>>;
|
|
293
|
+
}, z.core.$strip>;
|
|
294
294
|
export type UpdateActivityPayload = z.output<typeof UpdateActivityPayloadSchema>;
|
|
295
295
|
export { ActivityIdPropertySchema, ActivityIdSchema, PerformedBySchema, SourceSchema, type ActivityId, type ActivityIdProperty, type PerformedBy, } from './base.js';
|
|
296
296
|
export * from './types/authentication.js';
|