@seamapi/types 1.442.0 → 1.443.0
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/dist/connect.cjs +86 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1914 -1913
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +27 -27
- package/dist/index.cjs +86 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +387 -389
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +173 -186
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +18 -18
- package/lib/seam/connect/models/acs/acs-credential.d.ts +63 -63
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +6 -6
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +3 -3
- package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +152 -152
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +45 -45
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -354
- package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/common.d.ts +9 -12
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -105
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +54 -57
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +54 -57
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -15
- package/lib/seam/connect/models/batches/batch.d.ts +128 -120
- package/lib/seam/connect/models/batches/spaces.d.ts +128 -120
- package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +24 -24
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +78 -78
- package/lib/seam/connect/models/customer/access-grant-resources.d.ts +30 -30
- package/lib/seam/connect/models/customer/customer-data.d.ts +57 -57
- package/lib/seam/connect/models/customer/location-resources.d.ts +54 -54
- package/lib/seam/connect/models/customer/user-identity-resources.d.ts +30 -30
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +3 -3
- package/lib/seam/connect/models/devices/device-provider.d.ts +4 -4
- package/lib/seam/connect/models/devices/device.d.ts +368 -376
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +118 -120
- package/lib/seam/connect/models/events/access-codes.d.ts +136 -136
- package/lib/seam/connect/models/events/access-grants.d.ts +40 -40
- package/lib/seam/connect/models/events/access-methods.d.ts +40 -40
- package/lib/seam/connect/models/events/acs/access-groups.d.ts +10 -10
- package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
- package/lib/seam/connect/models/events/acs/credentials.d.ts +40 -40
- package/lib/seam/connect/models/events/acs/encoders.d.ts +20 -20
- package/lib/seam/connect/models/events/acs/entrances.d.ts +20 -20
- package/lib/seam/connect/models/events/acs/index.d.ts +67 -67
- package/lib/seam/connect/models/events/acs/systems.d.ts +24 -24
- package/lib/seam/connect/models/events/acs/users.d.ts +20 -20
- package/lib/seam/connect/models/events/action-attempts.d.ts +32 -32
- package/lib/seam/connect/models/events/client-sessions.d.ts +8 -8
- package/lib/seam/connect/models/events/connect-webviews.d.ts +16 -16
- package/lib/seam/connect/models/events/connected-accounts.d.ts +56 -56
- package/lib/seam/connect/models/events/devices.d.ts +266 -266
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +8 -8
- package/lib/seam/connect/models/events/phones.d.ts +8 -8
- package/lib/seam/connect/models/events/seam-event.d.ts +372 -372
- package/lib/seam/connect/models/phones/phone-session.d.ts +50 -50
- package/lib/seam/connect/models/spaces/space.d.ts +6 -0
- package/lib/seam/connect/models/spaces/space.js +2 -0
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +18 -18
- package/lib/seam/connect/openapi.d.ts +35 -0
- package/lib/seam/connect/openapi.js +82 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +30 -0
- package/lib/seam/devicedb/models/device-model.d.ts +15 -15
- package/lib/seam/devicedb/route-specs.d.ts +12 -12
- package/package.json +8 -7
- package/src/lib/seam/connect/models/spaces/space.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +92 -0
- package/src/lib/seam/connect/route-types.ts +30 -0
- package/lib/seam/connect/internal/enums.d.ts +0 -1
- package/lib/seam/connect/internal/enums.js +0 -2
- package/lib/seam/connect/internal/enums.js.map +0 -1
- package/lib/seam/connect/internal/index.d.ts +0 -4
- package/lib/seam/connect/internal/index.js +0 -5
- package/lib/seam/connect/internal/index.js.map +0 -1
- package/lib/seam/connect/internal/model-types.d.ts +0 -2
- package/lib/seam/connect/internal/model-types.js +0 -2
- package/lib/seam/connect/internal/model-types.js.map +0 -1
- package/lib/seam/connect/internal/schemas.d.ts +0 -2
- package/lib/seam/connect/internal/schemas.js +0 -3
- package/lib/seam/connect/internal/schemas.js.map +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const acs_user_deleted_event: z.ZodObject<
|
|
2
|
+
export declare const acs_user_deleted_event: z.ZodObject<{
|
|
3
3
|
event_id: z.ZodString;
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
|
-
}
|
|
7
|
+
} & {
|
|
8
8
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
9
9
|
acs_system_id: z.ZodString;
|
|
10
|
-
}
|
|
10
|
+
} & {
|
|
11
11
|
acs_user_id: z.ZodString;
|
|
12
|
-
}
|
|
12
|
+
} & {
|
|
13
13
|
event_type: z.ZodLiteral<"acs_user.deleted">;
|
|
14
|
-
}
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
workspace_id: string;
|
|
16
16
|
created_at: string;
|
|
17
17
|
acs_system_id: string;
|
|
@@ -31,19 +31,19 @@ export declare const acs_user_deleted_event: z.ZodObject<z.objectUtil.extendShap
|
|
|
31
31
|
connected_account_id?: string | undefined;
|
|
32
32
|
}>;
|
|
33
33
|
export type AcsUserDeletedEvent = z.infer<typeof acs_user_deleted_event>;
|
|
34
|
-
export declare const acs_user_created_event: z.ZodObject<
|
|
34
|
+
export declare const acs_user_created_event: z.ZodObject<{
|
|
35
35
|
event_id: z.ZodString;
|
|
36
36
|
workspace_id: z.ZodString;
|
|
37
37
|
created_at: z.ZodString;
|
|
38
38
|
occurred_at: z.ZodString;
|
|
39
|
-
}
|
|
39
|
+
} & {
|
|
40
40
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
41
41
|
acs_system_id: z.ZodString;
|
|
42
|
-
}
|
|
42
|
+
} & {
|
|
43
43
|
acs_user_id: z.ZodString;
|
|
44
|
-
}
|
|
44
|
+
} & {
|
|
45
45
|
event_type: z.ZodLiteral<"acs_user.created">;
|
|
46
|
-
}
|
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
|
47
47
|
workspace_id: string;
|
|
48
48
|
created_at: string;
|
|
49
49
|
acs_system_id: string;
|
|
@@ -63,19 +63,19 @@ export declare const acs_user_created_event: z.ZodObject<z.objectUtil.extendShap
|
|
|
63
63
|
connected_account_id?: string | undefined;
|
|
64
64
|
}>;
|
|
65
65
|
export type AcsUserCreatedEvent = z.infer<typeof acs_user_created_event>;
|
|
66
|
-
export declare const acs_user_events: readonly [z.ZodObject<
|
|
66
|
+
export declare const acs_user_events: readonly [z.ZodObject<{
|
|
67
67
|
event_id: z.ZodString;
|
|
68
68
|
workspace_id: z.ZodString;
|
|
69
69
|
created_at: z.ZodString;
|
|
70
70
|
occurred_at: z.ZodString;
|
|
71
|
-
}
|
|
71
|
+
} & {
|
|
72
72
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
73
73
|
acs_system_id: z.ZodString;
|
|
74
|
-
}
|
|
74
|
+
} & {
|
|
75
75
|
acs_user_id: z.ZodString;
|
|
76
|
-
}
|
|
76
|
+
} & {
|
|
77
77
|
event_type: z.ZodLiteral<"acs_user.created">;
|
|
78
|
-
}
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
79
|
workspace_id: string;
|
|
80
80
|
created_at: string;
|
|
81
81
|
acs_system_id: string;
|
|
@@ -93,19 +93,19 @@ export declare const acs_user_events: readonly [z.ZodObject<z.objectUtil.extendS
|
|
|
93
93
|
occurred_at: string;
|
|
94
94
|
event_type: "acs_user.created";
|
|
95
95
|
connected_account_id?: string | undefined;
|
|
96
|
-
}>, z.ZodObject<
|
|
96
|
+
}>, z.ZodObject<{
|
|
97
97
|
event_id: z.ZodString;
|
|
98
98
|
workspace_id: z.ZodString;
|
|
99
99
|
created_at: z.ZodString;
|
|
100
100
|
occurred_at: z.ZodString;
|
|
101
|
-
}
|
|
101
|
+
} & {
|
|
102
102
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
103
103
|
acs_system_id: z.ZodString;
|
|
104
|
-
}
|
|
104
|
+
} & {
|
|
105
105
|
acs_user_id: z.ZodString;
|
|
106
|
-
}
|
|
106
|
+
} & {
|
|
107
107
|
event_type: z.ZodLiteral<"acs_user.deleted">;
|
|
108
|
-
}
|
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
|
109
109
|
workspace_id: string;
|
|
110
110
|
created_at: string;
|
|
111
111
|
acs_system_id: string;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const action_attempt_lock_door_succeeded_event: z.ZodObject<
|
|
2
|
+
export declare const action_attempt_lock_door_succeeded_event: z.ZodObject<{
|
|
3
3
|
event_id: z.ZodString;
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
|
-
}
|
|
7
|
+
} & {
|
|
8
8
|
action_attempt_id: z.ZodString;
|
|
9
9
|
action_type: z.ZodString;
|
|
10
10
|
status: z.ZodString;
|
|
11
|
-
}
|
|
11
|
+
} & {
|
|
12
12
|
event_type: z.ZodLiteral<"action_attempt.lock_door.succeeded">;
|
|
13
|
-
}
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
status: string;
|
|
15
15
|
workspace_id: string;
|
|
16
16
|
created_at: string;
|
|
@@ -29,18 +29,18 @@ export declare const action_attempt_lock_door_succeeded_event: z.ZodObject<z.obj
|
|
|
29
29
|
occurred_at: string;
|
|
30
30
|
event_type: "action_attempt.lock_door.succeeded";
|
|
31
31
|
}>;
|
|
32
|
-
export declare const action_attempt_lock_door_failed_event: z.ZodObject<
|
|
32
|
+
export declare const action_attempt_lock_door_failed_event: z.ZodObject<{
|
|
33
33
|
event_id: z.ZodString;
|
|
34
34
|
workspace_id: z.ZodString;
|
|
35
35
|
created_at: z.ZodString;
|
|
36
36
|
occurred_at: z.ZodString;
|
|
37
|
-
}
|
|
37
|
+
} & {
|
|
38
38
|
action_attempt_id: z.ZodString;
|
|
39
39
|
action_type: z.ZodString;
|
|
40
40
|
status: z.ZodString;
|
|
41
|
-
}
|
|
41
|
+
} & {
|
|
42
42
|
event_type: z.ZodLiteral<"action_attempt.lock_door.failed">;
|
|
43
|
-
}
|
|
43
|
+
}, "strip", z.ZodTypeAny, {
|
|
44
44
|
status: string;
|
|
45
45
|
workspace_id: string;
|
|
46
46
|
created_at: string;
|
|
@@ -59,18 +59,18 @@ export declare const action_attempt_lock_door_failed_event: z.ZodObject<z.object
|
|
|
59
59
|
occurred_at: string;
|
|
60
60
|
event_type: "action_attempt.lock_door.failed";
|
|
61
61
|
}>;
|
|
62
|
-
export declare const action_attempt_unlock_door_succeeded_event: z.ZodObject<
|
|
62
|
+
export declare const action_attempt_unlock_door_succeeded_event: z.ZodObject<{
|
|
63
63
|
event_id: z.ZodString;
|
|
64
64
|
workspace_id: z.ZodString;
|
|
65
65
|
created_at: z.ZodString;
|
|
66
66
|
occurred_at: z.ZodString;
|
|
67
|
-
}
|
|
67
|
+
} & {
|
|
68
68
|
action_attempt_id: z.ZodString;
|
|
69
69
|
action_type: z.ZodString;
|
|
70
70
|
status: z.ZodString;
|
|
71
|
-
}
|
|
71
|
+
} & {
|
|
72
72
|
event_type: z.ZodLiteral<"action_attempt.unlock_door.succeeded">;
|
|
73
|
-
}
|
|
73
|
+
}, "strip", z.ZodTypeAny, {
|
|
74
74
|
status: string;
|
|
75
75
|
workspace_id: string;
|
|
76
76
|
created_at: string;
|
|
@@ -89,18 +89,18 @@ export declare const action_attempt_unlock_door_succeeded_event: z.ZodObject<z.o
|
|
|
89
89
|
occurred_at: string;
|
|
90
90
|
event_type: "action_attempt.unlock_door.succeeded";
|
|
91
91
|
}>;
|
|
92
|
-
export declare const action_attempt_unlock_door_failed_event: z.ZodObject<
|
|
92
|
+
export declare const action_attempt_unlock_door_failed_event: z.ZodObject<{
|
|
93
93
|
event_id: z.ZodString;
|
|
94
94
|
workspace_id: z.ZodString;
|
|
95
95
|
created_at: z.ZodString;
|
|
96
96
|
occurred_at: z.ZodString;
|
|
97
|
-
}
|
|
97
|
+
} & {
|
|
98
98
|
action_attempt_id: z.ZodString;
|
|
99
99
|
action_type: z.ZodString;
|
|
100
100
|
status: z.ZodString;
|
|
101
|
-
}
|
|
101
|
+
} & {
|
|
102
102
|
event_type: z.ZodLiteral<"action_attempt.unlock_door.failed">;
|
|
103
|
-
}
|
|
103
|
+
}, "strip", z.ZodTypeAny, {
|
|
104
104
|
status: string;
|
|
105
105
|
workspace_id: string;
|
|
106
106
|
created_at: string;
|
|
@@ -119,18 +119,18 @@ export declare const action_attempt_unlock_door_failed_event: z.ZodObject<z.obje
|
|
|
119
119
|
occurred_at: string;
|
|
120
120
|
event_type: "action_attempt.unlock_door.failed";
|
|
121
121
|
}>;
|
|
122
|
-
export declare const action_attempt_events: (z.ZodObject<
|
|
122
|
+
export declare const action_attempt_events: (z.ZodObject<{
|
|
123
123
|
event_id: z.ZodString;
|
|
124
124
|
workspace_id: z.ZodString;
|
|
125
125
|
created_at: z.ZodString;
|
|
126
126
|
occurred_at: z.ZodString;
|
|
127
|
-
}
|
|
127
|
+
} & {
|
|
128
128
|
action_attempt_id: z.ZodString;
|
|
129
129
|
action_type: z.ZodString;
|
|
130
130
|
status: z.ZodString;
|
|
131
|
-
}
|
|
131
|
+
} & {
|
|
132
132
|
event_type: z.ZodLiteral<"action_attempt.lock_door.succeeded">;
|
|
133
|
-
}
|
|
133
|
+
}, "strip", z.ZodTypeAny, {
|
|
134
134
|
status: string;
|
|
135
135
|
workspace_id: string;
|
|
136
136
|
created_at: string;
|
|
@@ -148,18 +148,18 @@ export declare const action_attempt_events: (z.ZodObject<z.objectUtil.extendShap
|
|
|
148
148
|
event_id: string;
|
|
149
149
|
occurred_at: string;
|
|
150
150
|
event_type: "action_attempt.lock_door.succeeded";
|
|
151
|
-
}> | z.ZodObject<
|
|
151
|
+
}> | z.ZodObject<{
|
|
152
152
|
event_id: z.ZodString;
|
|
153
153
|
workspace_id: z.ZodString;
|
|
154
154
|
created_at: z.ZodString;
|
|
155
155
|
occurred_at: z.ZodString;
|
|
156
|
-
}
|
|
156
|
+
} & {
|
|
157
157
|
action_attempt_id: z.ZodString;
|
|
158
158
|
action_type: z.ZodString;
|
|
159
159
|
status: z.ZodString;
|
|
160
|
-
}
|
|
160
|
+
} & {
|
|
161
161
|
event_type: z.ZodLiteral<"action_attempt.lock_door.failed">;
|
|
162
|
-
}
|
|
162
|
+
}, "strip", z.ZodTypeAny, {
|
|
163
163
|
status: string;
|
|
164
164
|
workspace_id: string;
|
|
165
165
|
created_at: string;
|
|
@@ -177,18 +177,18 @@ export declare const action_attempt_events: (z.ZodObject<z.objectUtil.extendShap
|
|
|
177
177
|
event_id: string;
|
|
178
178
|
occurred_at: string;
|
|
179
179
|
event_type: "action_attempt.lock_door.failed";
|
|
180
|
-
}> | z.ZodObject<
|
|
180
|
+
}> | z.ZodObject<{
|
|
181
181
|
event_id: z.ZodString;
|
|
182
182
|
workspace_id: z.ZodString;
|
|
183
183
|
created_at: z.ZodString;
|
|
184
184
|
occurred_at: z.ZodString;
|
|
185
|
-
}
|
|
185
|
+
} & {
|
|
186
186
|
action_attempt_id: z.ZodString;
|
|
187
187
|
action_type: z.ZodString;
|
|
188
188
|
status: z.ZodString;
|
|
189
|
-
}
|
|
189
|
+
} & {
|
|
190
190
|
event_type: z.ZodLiteral<"action_attempt.unlock_door.succeeded">;
|
|
191
|
-
}
|
|
191
|
+
}, "strip", z.ZodTypeAny, {
|
|
192
192
|
status: string;
|
|
193
193
|
workspace_id: string;
|
|
194
194
|
created_at: string;
|
|
@@ -206,18 +206,18 @@ export declare const action_attempt_events: (z.ZodObject<z.objectUtil.extendShap
|
|
|
206
206
|
event_id: string;
|
|
207
207
|
occurred_at: string;
|
|
208
208
|
event_type: "action_attempt.unlock_door.succeeded";
|
|
209
|
-
}> | z.ZodObject<
|
|
209
|
+
}> | z.ZodObject<{
|
|
210
210
|
event_id: z.ZodString;
|
|
211
211
|
workspace_id: z.ZodString;
|
|
212
212
|
created_at: z.ZodString;
|
|
213
213
|
occurred_at: z.ZodString;
|
|
214
|
-
}
|
|
214
|
+
} & {
|
|
215
215
|
action_attempt_id: z.ZodString;
|
|
216
216
|
action_type: z.ZodString;
|
|
217
217
|
status: z.ZodString;
|
|
218
|
-
}
|
|
218
|
+
} & {
|
|
219
219
|
event_type: z.ZodLiteral<"action_attempt.unlock_door.failed">;
|
|
220
|
-
}
|
|
220
|
+
}, "strip", z.ZodTypeAny, {
|
|
221
221
|
status: string;
|
|
222
222
|
workspace_id: string;
|
|
223
223
|
created_at: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const client_session_deleted_event: z.ZodObject<
|
|
2
|
+
export declare const client_session_deleted_event: z.ZodObject<{
|
|
3
3
|
event_id: z.ZodString;
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
|
-
}
|
|
7
|
+
} & {
|
|
8
8
|
client_session_id: z.ZodString;
|
|
9
|
-
}
|
|
9
|
+
} & {
|
|
10
10
|
event_type: z.ZodLiteral<"client_session.deleted">;
|
|
11
|
-
}
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
workspace_id: string;
|
|
13
13
|
created_at: string;
|
|
14
14
|
client_session_id: string;
|
|
@@ -24,16 +24,16 @@ export declare const client_session_deleted_event: z.ZodObject<z.objectUtil.exte
|
|
|
24
24
|
event_type: "client_session.deleted";
|
|
25
25
|
}>;
|
|
26
26
|
export type ClientSessionDeletedEvent = z.infer<typeof client_session_deleted_event>;
|
|
27
|
-
export declare const client_session_events: readonly [z.ZodObject<
|
|
27
|
+
export declare const client_session_events: readonly [z.ZodObject<{
|
|
28
28
|
event_id: z.ZodString;
|
|
29
29
|
workspace_id: z.ZodString;
|
|
30
30
|
created_at: z.ZodString;
|
|
31
31
|
occurred_at: z.ZodString;
|
|
32
|
-
}
|
|
32
|
+
} & {
|
|
33
33
|
client_session_id: z.ZodString;
|
|
34
|
-
}
|
|
34
|
+
} & {
|
|
35
35
|
event_type: z.ZodLiteral<"client_session.deleted">;
|
|
36
|
-
}
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
37
|
workspace_id: string;
|
|
38
38
|
created_at: string;
|
|
39
39
|
client_session_id: string;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const connect_webview_login_succeeded_event: z.ZodObject<
|
|
2
|
+
export declare const connect_webview_login_succeeded_event: z.ZodObject<{
|
|
3
3
|
event_id: z.ZodString;
|
|
4
4
|
workspace_id: z.ZodString;
|
|
5
5
|
created_at: z.ZodString;
|
|
6
6
|
occurred_at: z.ZodString;
|
|
7
|
-
}
|
|
7
|
+
} & {
|
|
8
8
|
connect_webview_id: z.ZodString;
|
|
9
|
-
}
|
|
9
|
+
} & {
|
|
10
10
|
event_type: z.ZodLiteral<"connect_webview.login_succeeded">;
|
|
11
11
|
connected_account_id: z.ZodString;
|
|
12
12
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
13
|
-
}
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
workspace_id: string;
|
|
15
15
|
created_at: string;
|
|
16
16
|
connected_account_id: string;
|
|
@@ -30,16 +30,16 @@ export declare const connect_webview_login_succeeded_event: z.ZodObject<z.object
|
|
|
30
30
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
31
31
|
}>;
|
|
32
32
|
export type ConnectWebviewLoginSucceededEvent = z.infer<typeof connect_webview_login_succeeded_event>;
|
|
33
|
-
export declare const connect_webview_login_failed_event: z.ZodObject<
|
|
33
|
+
export declare const connect_webview_login_failed_event: z.ZodObject<{
|
|
34
34
|
event_id: z.ZodString;
|
|
35
35
|
workspace_id: z.ZodString;
|
|
36
36
|
created_at: z.ZodString;
|
|
37
37
|
occurred_at: z.ZodString;
|
|
38
|
-
}
|
|
38
|
+
} & {
|
|
39
39
|
connect_webview_id: z.ZodString;
|
|
40
|
-
}
|
|
40
|
+
} & {
|
|
41
41
|
event_type: z.ZodLiteral<"connect_webview.login_failed">;
|
|
42
|
-
}
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
43
|
workspace_id: string;
|
|
44
44
|
created_at: string;
|
|
45
45
|
connect_webview_id: string;
|
|
@@ -55,18 +55,18 @@ export declare const connect_webview_login_failed_event: z.ZodObject<z.objectUti
|
|
|
55
55
|
event_type: "connect_webview.login_failed";
|
|
56
56
|
}>;
|
|
57
57
|
export type ConnectWebviewLoginFailedEvent = z.infer<typeof connect_webview_login_failed_event>;
|
|
58
|
-
export declare const connect_webview_events: readonly [z.ZodObject<
|
|
58
|
+
export declare const connect_webview_events: readonly [z.ZodObject<{
|
|
59
59
|
event_id: z.ZodString;
|
|
60
60
|
workspace_id: z.ZodString;
|
|
61
61
|
created_at: z.ZodString;
|
|
62
62
|
occurred_at: z.ZodString;
|
|
63
|
-
}
|
|
63
|
+
} & {
|
|
64
64
|
connect_webview_id: z.ZodString;
|
|
65
|
-
}
|
|
65
|
+
} & {
|
|
66
66
|
event_type: z.ZodLiteral<"connect_webview.login_succeeded">;
|
|
67
67
|
connected_account_id: z.ZodString;
|
|
68
68
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
69
|
-
}
|
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
|
70
70
|
workspace_id: string;
|
|
71
71
|
created_at: string;
|
|
72
72
|
connected_account_id: string;
|
|
@@ -84,16 +84,16 @@ export declare const connect_webview_events: readonly [z.ZodObject<z.objectUtil.
|
|
|
84
84
|
occurred_at: string;
|
|
85
85
|
event_type: "connect_webview.login_succeeded";
|
|
86
86
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
87
|
-
}>, z.ZodObject<
|
|
87
|
+
}>, z.ZodObject<{
|
|
88
88
|
event_id: z.ZodString;
|
|
89
89
|
workspace_id: z.ZodString;
|
|
90
90
|
created_at: z.ZodString;
|
|
91
91
|
occurred_at: z.ZodString;
|
|
92
|
-
}
|
|
92
|
+
} & {
|
|
93
93
|
connect_webview_id: z.ZodString;
|
|
94
|
-
}
|
|
94
|
+
} & {
|
|
95
95
|
event_type: z.ZodLiteral<"connect_webview.login_failed">;
|
|
96
|
-
}
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
97
97
|
workspace_id: string;
|
|
98
98
|
created_at: string;
|
|
99
99
|
connect_webview_id: string;
|