@seamapi/types 1.442.0 → 1.444.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 +131 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1935 -1913
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +27 -27
- package/dist/index.cjs +131 -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 +50 -0
- package/lib/seam/connect/openapi.js +127 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +36 -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 +143 -0
- package/src/lib/seam/connect/route-types.ts +36 -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,14 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const access_grant_created_event: z.ZodObject<
|
|
2
|
+
export declare const access_grant_created_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
|
access_grant_id: z.ZodString;
|
|
9
|
-
}
|
|
9
|
+
} & {
|
|
10
10
|
event_type: z.ZodLiteral<"access_grant.created">;
|
|
11
|
-
}
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
workspace_id: string;
|
|
13
13
|
created_at: string;
|
|
14
14
|
access_grant_id: string;
|
|
@@ -23,16 +23,16 @@ export declare const access_grant_created_event: z.ZodObject<z.objectUtil.extend
|
|
|
23
23
|
occurred_at: string;
|
|
24
24
|
event_type: "access_grant.created";
|
|
25
25
|
}>;
|
|
26
|
-
export declare const access_grant_deleted_event: z.ZodObject<
|
|
26
|
+
export declare const access_grant_deleted_event: z.ZodObject<{
|
|
27
27
|
event_id: z.ZodString;
|
|
28
28
|
workspace_id: z.ZodString;
|
|
29
29
|
created_at: z.ZodString;
|
|
30
30
|
occurred_at: z.ZodString;
|
|
31
|
-
}
|
|
31
|
+
} & {
|
|
32
32
|
access_grant_id: z.ZodString;
|
|
33
|
-
}
|
|
33
|
+
} & {
|
|
34
34
|
event_type: z.ZodLiteral<"access_grant.deleted">;
|
|
35
|
-
}
|
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
|
36
36
|
workspace_id: string;
|
|
37
37
|
created_at: string;
|
|
38
38
|
access_grant_id: string;
|
|
@@ -47,16 +47,16 @@ export declare const access_grant_deleted_event: z.ZodObject<z.objectUtil.extend
|
|
|
47
47
|
occurred_at: string;
|
|
48
48
|
event_type: "access_grant.deleted";
|
|
49
49
|
}>;
|
|
50
|
-
export declare const access_grant_access_granted_to_all_doors_event: z.ZodObject<
|
|
50
|
+
export declare const access_grant_access_granted_to_all_doors_event: z.ZodObject<{
|
|
51
51
|
event_id: z.ZodString;
|
|
52
52
|
workspace_id: z.ZodString;
|
|
53
53
|
created_at: z.ZodString;
|
|
54
54
|
occurred_at: z.ZodString;
|
|
55
|
-
}
|
|
55
|
+
} & {
|
|
56
56
|
access_grant_id: z.ZodString;
|
|
57
|
-
}
|
|
57
|
+
} & {
|
|
58
58
|
event_type: z.ZodLiteral<"access_grant.access_granted_to_all_doors">;
|
|
59
|
-
}
|
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
|
60
60
|
workspace_id: string;
|
|
61
61
|
created_at: string;
|
|
62
62
|
access_grant_id: string;
|
|
@@ -72,17 +72,17 @@ export declare const access_grant_access_granted_to_all_doors_event: z.ZodObject
|
|
|
72
72
|
event_type: "access_grant.access_granted_to_all_doors";
|
|
73
73
|
}>;
|
|
74
74
|
export type AccessGrantAccessGrantedToAllDoorsEvent = z.infer<typeof access_grant_access_granted_to_all_doors_event>;
|
|
75
|
-
export declare const access_grant_access_granted_to_door_event: z.ZodObject<
|
|
75
|
+
export declare const access_grant_access_granted_to_door_event: z.ZodObject<{
|
|
76
76
|
event_id: z.ZodString;
|
|
77
77
|
workspace_id: z.ZodString;
|
|
78
78
|
created_at: z.ZodString;
|
|
79
79
|
occurred_at: z.ZodString;
|
|
80
|
-
}
|
|
80
|
+
} & {
|
|
81
81
|
access_grant_id: z.ZodString;
|
|
82
|
-
}
|
|
82
|
+
} & {
|
|
83
83
|
event_type: z.ZodLiteral<"access_grant.access_granted_to_door">;
|
|
84
84
|
acs_entrance_id: z.ZodString;
|
|
85
|
-
}
|
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
|
86
86
|
workspace_id: string;
|
|
87
87
|
created_at: string;
|
|
88
88
|
access_grant_id: string;
|
|
@@ -100,17 +100,17 @@ export declare const access_grant_access_granted_to_door_event: z.ZodObject<z.ob
|
|
|
100
100
|
event_type: "access_grant.access_granted_to_door";
|
|
101
101
|
}>;
|
|
102
102
|
export type AccessGrantAccessGrantedToDoorEvent = z.infer<typeof access_grant_access_granted_to_door_event>;
|
|
103
|
-
export declare const access_grant_access_to_door_lost_event: z.ZodObject<
|
|
103
|
+
export declare const access_grant_access_to_door_lost_event: z.ZodObject<{
|
|
104
104
|
event_id: z.ZodString;
|
|
105
105
|
workspace_id: z.ZodString;
|
|
106
106
|
created_at: z.ZodString;
|
|
107
107
|
occurred_at: z.ZodString;
|
|
108
|
-
}
|
|
108
|
+
} & {
|
|
109
109
|
access_grant_id: z.ZodString;
|
|
110
|
-
}
|
|
110
|
+
} & {
|
|
111
111
|
event_type: z.ZodLiteral<"access_grant.access_to_door_lost">;
|
|
112
112
|
acs_entrance_id: z.ZodString;
|
|
113
|
-
}
|
|
113
|
+
}, "strip", z.ZodTypeAny, {
|
|
114
114
|
workspace_id: string;
|
|
115
115
|
created_at: string;
|
|
116
116
|
access_grant_id: string;
|
|
@@ -128,16 +128,16 @@ export declare const access_grant_access_to_door_lost_event: z.ZodObject<z.objec
|
|
|
128
128
|
event_type: "access_grant.access_to_door_lost";
|
|
129
129
|
}>;
|
|
130
130
|
export type AccessGrantAccessToDoorLostEvent = z.infer<typeof access_grant_access_to_door_lost_event>;
|
|
131
|
-
export declare const access_grant_events: readonly [z.ZodObject<
|
|
131
|
+
export declare const access_grant_events: readonly [z.ZodObject<{
|
|
132
132
|
event_id: z.ZodString;
|
|
133
133
|
workspace_id: z.ZodString;
|
|
134
134
|
created_at: z.ZodString;
|
|
135
135
|
occurred_at: z.ZodString;
|
|
136
|
-
}
|
|
136
|
+
} & {
|
|
137
137
|
access_grant_id: z.ZodString;
|
|
138
|
-
}
|
|
138
|
+
} & {
|
|
139
139
|
event_type: z.ZodLiteral<"access_grant.created">;
|
|
140
|
-
}
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
141
|
workspace_id: string;
|
|
142
142
|
created_at: string;
|
|
143
143
|
access_grant_id: string;
|
|
@@ -151,16 +151,16 @@ export declare const access_grant_events: readonly [z.ZodObject<z.objectUtil.ext
|
|
|
151
151
|
event_id: string;
|
|
152
152
|
occurred_at: string;
|
|
153
153
|
event_type: "access_grant.created";
|
|
154
|
-
}>, z.ZodObject<
|
|
154
|
+
}>, z.ZodObject<{
|
|
155
155
|
event_id: z.ZodString;
|
|
156
156
|
workspace_id: z.ZodString;
|
|
157
157
|
created_at: z.ZodString;
|
|
158
158
|
occurred_at: z.ZodString;
|
|
159
|
-
}
|
|
159
|
+
} & {
|
|
160
160
|
access_grant_id: z.ZodString;
|
|
161
|
-
}
|
|
161
|
+
} & {
|
|
162
162
|
event_type: z.ZodLiteral<"access_grant.deleted">;
|
|
163
|
-
}
|
|
163
|
+
}, "strip", z.ZodTypeAny, {
|
|
164
164
|
workspace_id: string;
|
|
165
165
|
created_at: string;
|
|
166
166
|
access_grant_id: string;
|
|
@@ -174,16 +174,16 @@ export declare const access_grant_events: readonly [z.ZodObject<z.objectUtil.ext
|
|
|
174
174
|
event_id: string;
|
|
175
175
|
occurred_at: string;
|
|
176
176
|
event_type: "access_grant.deleted";
|
|
177
|
-
}>, z.ZodObject<
|
|
177
|
+
}>, z.ZodObject<{
|
|
178
178
|
event_id: z.ZodString;
|
|
179
179
|
workspace_id: z.ZodString;
|
|
180
180
|
created_at: z.ZodString;
|
|
181
181
|
occurred_at: z.ZodString;
|
|
182
|
-
}
|
|
182
|
+
} & {
|
|
183
183
|
access_grant_id: z.ZodString;
|
|
184
|
-
}
|
|
184
|
+
} & {
|
|
185
185
|
event_type: z.ZodLiteral<"access_grant.access_granted_to_all_doors">;
|
|
186
|
-
}
|
|
186
|
+
}, "strip", z.ZodTypeAny, {
|
|
187
187
|
workspace_id: string;
|
|
188
188
|
created_at: string;
|
|
189
189
|
access_grant_id: string;
|
|
@@ -197,17 +197,17 @@ export declare const access_grant_events: readonly [z.ZodObject<z.objectUtil.ext
|
|
|
197
197
|
event_id: string;
|
|
198
198
|
occurred_at: string;
|
|
199
199
|
event_type: "access_grant.access_granted_to_all_doors";
|
|
200
|
-
}>, z.ZodObject<
|
|
200
|
+
}>, z.ZodObject<{
|
|
201
201
|
event_id: z.ZodString;
|
|
202
202
|
workspace_id: z.ZodString;
|
|
203
203
|
created_at: z.ZodString;
|
|
204
204
|
occurred_at: z.ZodString;
|
|
205
|
-
}
|
|
205
|
+
} & {
|
|
206
206
|
access_grant_id: z.ZodString;
|
|
207
|
-
}
|
|
207
|
+
} & {
|
|
208
208
|
event_type: z.ZodLiteral<"access_grant.access_granted_to_door">;
|
|
209
209
|
acs_entrance_id: z.ZodString;
|
|
210
|
-
}
|
|
210
|
+
}, "strip", z.ZodTypeAny, {
|
|
211
211
|
workspace_id: string;
|
|
212
212
|
created_at: string;
|
|
213
213
|
access_grant_id: string;
|
|
@@ -223,17 +223,17 @@ export declare const access_grant_events: readonly [z.ZodObject<z.objectUtil.ext
|
|
|
223
223
|
event_id: string;
|
|
224
224
|
occurred_at: string;
|
|
225
225
|
event_type: "access_grant.access_granted_to_door";
|
|
226
|
-
}>, z.ZodObject<
|
|
226
|
+
}>, z.ZodObject<{
|
|
227
227
|
event_id: z.ZodString;
|
|
228
228
|
workspace_id: z.ZodString;
|
|
229
229
|
created_at: z.ZodString;
|
|
230
230
|
occurred_at: z.ZodString;
|
|
231
|
-
}
|
|
231
|
+
} & {
|
|
232
232
|
access_grant_id: z.ZodString;
|
|
233
|
-
}
|
|
233
|
+
} & {
|
|
234
234
|
event_type: z.ZodLiteral<"access_grant.access_to_door_lost">;
|
|
235
235
|
acs_entrance_id: z.ZodString;
|
|
236
|
-
}
|
|
236
|
+
}, "strip", z.ZodTypeAny, {
|
|
237
237
|
workspace_id: string;
|
|
238
238
|
created_at: string;
|
|
239
239
|
access_grant_id: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const access_method_issued_event: z.ZodObject<
|
|
2
|
+
export declare const access_method_issued_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
|
access_method_id: z.ZodString;
|
|
9
|
-
}
|
|
9
|
+
} & {
|
|
10
10
|
event_type: z.ZodLiteral<"access_method.issued">;
|
|
11
|
-
}
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
workspace_id: string;
|
|
13
13
|
created_at: string;
|
|
14
14
|
access_method_id: string;
|
|
@@ -24,16 +24,16 @@ export declare const access_method_issued_event: z.ZodObject<z.objectUtil.extend
|
|
|
24
24
|
event_type: "access_method.issued";
|
|
25
25
|
}>;
|
|
26
26
|
export type AccessMethodIssuedEvent = z.infer<typeof access_method_issued_event>;
|
|
27
|
-
export declare const access_method_card_encoding_required_event: z.ZodObject<
|
|
27
|
+
export declare const access_method_card_encoding_required_event: 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
|
access_method_id: z.ZodString;
|
|
34
|
-
}
|
|
34
|
+
} & {
|
|
35
35
|
event_type: z.ZodLiteral<"access_method.card_encoding_required">;
|
|
36
|
-
}
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
37
|
workspace_id: string;
|
|
38
38
|
created_at: string;
|
|
39
39
|
access_method_id: string;
|
|
@@ -49,16 +49,16 @@ export declare const access_method_card_encoding_required_event: z.ZodObject<z.o
|
|
|
49
49
|
event_type: "access_method.card_encoding_required";
|
|
50
50
|
}>;
|
|
51
51
|
export type AccessMethodCardEncodingRequiredEvent = z.infer<typeof access_method_card_encoding_required_event>;
|
|
52
|
-
export declare const access_method_revoked_event: z.ZodObject<
|
|
52
|
+
export declare const access_method_revoked_event: z.ZodObject<{
|
|
53
53
|
event_id: z.ZodString;
|
|
54
54
|
workspace_id: z.ZodString;
|
|
55
55
|
created_at: z.ZodString;
|
|
56
56
|
occurred_at: z.ZodString;
|
|
57
|
-
}
|
|
57
|
+
} & {
|
|
58
58
|
access_method_id: z.ZodString;
|
|
59
|
-
}
|
|
59
|
+
} & {
|
|
60
60
|
event_type: z.ZodLiteral<"access_method.revoked">;
|
|
61
|
-
}
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
workspace_id: string;
|
|
63
63
|
created_at: string;
|
|
64
64
|
access_method_id: string;
|
|
@@ -73,16 +73,16 @@ export declare const access_method_revoked_event: z.ZodObject<z.objectUtil.exten
|
|
|
73
73
|
occurred_at: string;
|
|
74
74
|
event_type: "access_method.revoked";
|
|
75
75
|
}>;
|
|
76
|
-
export declare const access_method_deleted_event: z.ZodObject<
|
|
76
|
+
export declare const access_method_deleted_event: z.ZodObject<{
|
|
77
77
|
event_id: z.ZodString;
|
|
78
78
|
workspace_id: z.ZodString;
|
|
79
79
|
created_at: z.ZodString;
|
|
80
80
|
occurred_at: z.ZodString;
|
|
81
|
-
}
|
|
81
|
+
} & {
|
|
82
82
|
access_method_id: z.ZodString;
|
|
83
|
-
}
|
|
83
|
+
} & {
|
|
84
84
|
event_type: z.ZodLiteral<"access_method.deleted">;
|
|
85
|
-
}
|
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
|
86
86
|
workspace_id: string;
|
|
87
87
|
created_at: string;
|
|
88
88
|
access_method_id: string;
|
|
@@ -97,16 +97,16 @@ export declare const access_method_deleted_event: z.ZodObject<z.objectUtil.exten
|
|
|
97
97
|
occurred_at: string;
|
|
98
98
|
event_type: "access_method.deleted";
|
|
99
99
|
}>;
|
|
100
|
-
export declare const access_method_reissued_event: z.ZodObject<
|
|
100
|
+
export declare const access_method_reissued_event: z.ZodObject<{
|
|
101
101
|
event_id: z.ZodString;
|
|
102
102
|
workspace_id: z.ZodString;
|
|
103
103
|
created_at: z.ZodString;
|
|
104
104
|
occurred_at: z.ZodString;
|
|
105
|
-
}
|
|
105
|
+
} & {
|
|
106
106
|
access_method_id: z.ZodString;
|
|
107
|
-
}
|
|
107
|
+
} & {
|
|
108
108
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
109
|
-
}
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
110
|
workspace_id: string;
|
|
111
111
|
created_at: string;
|
|
112
112
|
access_method_id: string;
|
|
@@ -122,16 +122,16 @@ export declare const access_method_reissued_event: z.ZodObject<z.objectUtil.exte
|
|
|
122
122
|
event_type: "access_method.reissued";
|
|
123
123
|
}>;
|
|
124
124
|
export type AccessMethodRevokedEvent = z.infer<typeof access_method_revoked_event>;
|
|
125
|
-
export declare const access_method_events: readonly [z.ZodObject<
|
|
125
|
+
export declare const access_method_events: readonly [z.ZodObject<{
|
|
126
126
|
event_id: z.ZodString;
|
|
127
127
|
workspace_id: z.ZodString;
|
|
128
128
|
created_at: z.ZodString;
|
|
129
129
|
occurred_at: z.ZodString;
|
|
130
|
-
}
|
|
130
|
+
} & {
|
|
131
131
|
access_method_id: z.ZodString;
|
|
132
|
-
}
|
|
132
|
+
} & {
|
|
133
133
|
event_type: z.ZodLiteral<"access_method.issued">;
|
|
134
|
-
}
|
|
134
|
+
}, "strip", z.ZodTypeAny, {
|
|
135
135
|
workspace_id: string;
|
|
136
136
|
created_at: string;
|
|
137
137
|
access_method_id: string;
|
|
@@ -145,16 +145,16 @@ export declare const access_method_events: readonly [z.ZodObject<z.objectUtil.ex
|
|
|
145
145
|
event_id: string;
|
|
146
146
|
occurred_at: string;
|
|
147
147
|
event_type: "access_method.issued";
|
|
148
|
-
}>, z.ZodObject<
|
|
148
|
+
}>, z.ZodObject<{
|
|
149
149
|
event_id: z.ZodString;
|
|
150
150
|
workspace_id: z.ZodString;
|
|
151
151
|
created_at: z.ZodString;
|
|
152
152
|
occurred_at: z.ZodString;
|
|
153
|
-
}
|
|
153
|
+
} & {
|
|
154
154
|
access_method_id: z.ZodString;
|
|
155
|
-
}
|
|
155
|
+
} & {
|
|
156
156
|
event_type: z.ZodLiteral<"access_method.revoked">;
|
|
157
|
-
}
|
|
157
|
+
}, "strip", z.ZodTypeAny, {
|
|
158
158
|
workspace_id: string;
|
|
159
159
|
created_at: string;
|
|
160
160
|
access_method_id: string;
|
|
@@ -168,16 +168,16 @@ export declare const access_method_events: readonly [z.ZodObject<z.objectUtil.ex
|
|
|
168
168
|
event_id: string;
|
|
169
169
|
occurred_at: string;
|
|
170
170
|
event_type: "access_method.revoked";
|
|
171
|
-
}>, z.ZodObject<
|
|
171
|
+
}>, z.ZodObject<{
|
|
172
172
|
event_id: z.ZodString;
|
|
173
173
|
workspace_id: z.ZodString;
|
|
174
174
|
created_at: z.ZodString;
|
|
175
175
|
occurred_at: z.ZodString;
|
|
176
|
-
}
|
|
176
|
+
} & {
|
|
177
177
|
access_method_id: z.ZodString;
|
|
178
|
-
}
|
|
178
|
+
} & {
|
|
179
179
|
event_type: z.ZodLiteral<"access_method.card_encoding_required">;
|
|
180
|
-
}
|
|
180
|
+
}, "strip", z.ZodTypeAny, {
|
|
181
181
|
workspace_id: string;
|
|
182
182
|
created_at: string;
|
|
183
183
|
access_method_id: string;
|
|
@@ -191,16 +191,16 @@ export declare const access_method_events: readonly [z.ZodObject<z.objectUtil.ex
|
|
|
191
191
|
event_id: string;
|
|
192
192
|
occurred_at: string;
|
|
193
193
|
event_type: "access_method.card_encoding_required";
|
|
194
|
-
}>, z.ZodObject<
|
|
194
|
+
}>, z.ZodObject<{
|
|
195
195
|
event_id: z.ZodString;
|
|
196
196
|
workspace_id: z.ZodString;
|
|
197
197
|
created_at: z.ZodString;
|
|
198
198
|
occurred_at: z.ZodString;
|
|
199
|
-
}
|
|
199
|
+
} & {
|
|
200
200
|
access_method_id: z.ZodString;
|
|
201
|
-
}
|
|
201
|
+
} & {
|
|
202
202
|
event_type: z.ZodLiteral<"access_method.deleted">;
|
|
203
|
-
}
|
|
203
|
+
}, "strip", z.ZodTypeAny, {
|
|
204
204
|
workspace_id: string;
|
|
205
205
|
created_at: string;
|
|
206
206
|
access_method_id: string;
|
|
@@ -214,16 +214,16 @@ export declare const access_method_events: readonly [z.ZodObject<z.objectUtil.ex
|
|
|
214
214
|
event_id: string;
|
|
215
215
|
occurred_at: string;
|
|
216
216
|
event_type: "access_method.deleted";
|
|
217
|
-
}>, z.ZodObject<
|
|
217
|
+
}>, z.ZodObject<{
|
|
218
218
|
event_id: z.ZodString;
|
|
219
219
|
workspace_id: z.ZodString;
|
|
220
220
|
created_at: z.ZodString;
|
|
221
221
|
occurred_at: z.ZodString;
|
|
222
|
-
}
|
|
222
|
+
} & {
|
|
223
223
|
access_method_id: z.ZodString;
|
|
224
|
-
}
|
|
224
|
+
} & {
|
|
225
225
|
event_type: z.ZodLiteral<"access_method.reissued">;
|
|
226
|
-
}
|
|
226
|
+
}, "strip", z.ZodTypeAny, {
|
|
227
227
|
workspace_id: string;
|
|
228
228
|
created_at: string;
|
|
229
229
|
access_method_id: string;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const acs_access_group_deleted_event: z.ZodObject<
|
|
2
|
+
export declare const acs_access_group_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_access_group_id: z.ZodString;
|
|
12
|
-
}
|
|
12
|
+
} & {
|
|
13
13
|
event_type: z.ZodLiteral<"acs_access_group.deleted">;
|
|
14
|
-
}
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
workspace_id: string;
|
|
16
16
|
created_at: string;
|
|
17
17
|
acs_access_group_id: string;
|
|
@@ -31,19 +31,19 @@ export declare const acs_access_group_deleted_event: z.ZodObject<z.objectUtil.ex
|
|
|
31
31
|
connected_account_id?: string | undefined;
|
|
32
32
|
}>;
|
|
33
33
|
export type AcsAccessGroupDeletedEvent = z.infer<typeof acs_access_group_deleted_event>;
|
|
34
|
-
export declare const acs_access_group_events: readonly [z.ZodObject<
|
|
34
|
+
export declare const acs_access_group_events: readonly [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_access_group_id: z.ZodString;
|
|
44
|
-
}
|
|
44
|
+
} & {
|
|
45
45
|
event_type: z.ZodLiteral<"acs_access_group.deleted">;
|
|
46
|
-
}
|
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
|
47
47
|
workspace_id: string;
|
|
48
48
|
created_at: string;
|
|
49
49
|
acs_access_group_id: string;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const common_acs_event: z.ZodObject<
|
|
2
|
+
export declare const common_acs_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
|
+
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
workspace_id: string;
|
|
12
12
|
created_at: string;
|
|
13
13
|
acs_system_id: string;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const acs_credential_deleted_event: z.ZodObject<
|
|
2
|
+
export declare const acs_credential_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_credential_id: z.ZodString;
|
|
12
|
-
}
|
|
12
|
+
} & {
|
|
13
13
|
event_type: z.ZodLiteral<"acs_credential.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_credential_deleted_event: z.ZodObject<z.objectUtil.exte
|
|
|
31
31
|
connected_account_id?: string | undefined;
|
|
32
32
|
}>;
|
|
33
33
|
export type AcsCredentialDeletedEvent = z.infer<typeof acs_credential_deleted_event>;
|
|
34
|
-
export declare const acs_credential_issued: z.ZodObject<
|
|
34
|
+
export declare const acs_credential_issued: 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_credential_id: z.ZodString;
|
|
44
|
-
}
|
|
44
|
+
} & {
|
|
45
45
|
event_type: z.ZodLiteral<"acs_credential.issued">;
|
|
46
|
-
}
|
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
|
47
47
|
workspace_id: string;
|
|
48
48
|
created_at: string;
|
|
49
49
|
acs_system_id: string;
|
|
@@ -62,19 +62,19 @@ export declare const acs_credential_issued: z.ZodObject<z.objectUtil.extendShape
|
|
|
62
62
|
event_type: "acs_credential.issued";
|
|
63
63
|
connected_account_id?: string | undefined;
|
|
64
64
|
}>;
|
|
65
|
-
export declare const acs_credential_reissued: z.ZodObject<
|
|
65
|
+
export declare const acs_credential_reissued: z.ZodObject<{
|
|
66
66
|
event_id: z.ZodString;
|
|
67
67
|
workspace_id: z.ZodString;
|
|
68
68
|
created_at: z.ZodString;
|
|
69
69
|
occurred_at: z.ZodString;
|
|
70
|
-
}
|
|
70
|
+
} & {
|
|
71
71
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
72
72
|
acs_system_id: z.ZodString;
|
|
73
|
-
}
|
|
73
|
+
} & {
|
|
74
74
|
acs_credential_id: z.ZodString;
|
|
75
|
-
}
|
|
75
|
+
} & {
|
|
76
76
|
event_type: z.ZodLiteral<"acs_credential.reissued">;
|
|
77
|
-
}
|
|
77
|
+
}, "strip", z.ZodTypeAny, {
|
|
78
78
|
workspace_id: string;
|
|
79
79
|
created_at: string;
|
|
80
80
|
acs_system_id: string;
|
|
@@ -93,19 +93,19 @@ export declare const acs_credential_reissued: z.ZodObject<z.objectUtil.extendSha
|
|
|
93
93
|
event_type: "acs_credential.reissued";
|
|
94
94
|
connected_account_id?: string | undefined;
|
|
95
95
|
}>;
|
|
96
|
-
export declare const acs_credential_invalidated: z.ZodObject<
|
|
96
|
+
export declare const acs_credential_invalidated: 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_credential_id: z.ZodString;
|
|
106
|
-
}
|
|
106
|
+
} & {
|
|
107
107
|
event_type: z.ZodLiteral<"acs_credential.invalidated">;
|
|
108
|
-
}
|
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
|
109
109
|
workspace_id: string;
|
|
110
110
|
created_at: string;
|
|
111
111
|
acs_system_id: string;
|
|
@@ -124,19 +124,19 @@ export declare const acs_credential_invalidated: z.ZodObject<z.objectUtil.extend
|
|
|
124
124
|
event_type: "acs_credential.invalidated";
|
|
125
125
|
connected_account_id?: string | undefined;
|
|
126
126
|
}>;
|
|
127
|
-
export declare const acs_credential_events: readonly [z.ZodObject<
|
|
127
|
+
export declare const acs_credential_events: readonly [z.ZodObject<{
|
|
128
128
|
event_id: z.ZodString;
|
|
129
129
|
workspace_id: z.ZodString;
|
|
130
130
|
created_at: z.ZodString;
|
|
131
131
|
occurred_at: z.ZodString;
|
|
132
|
-
}
|
|
132
|
+
} & {
|
|
133
133
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
134
134
|
acs_system_id: z.ZodString;
|
|
135
|
-
}
|
|
135
|
+
} & {
|
|
136
136
|
acs_credential_id: z.ZodString;
|
|
137
|
-
}
|
|
137
|
+
} & {
|
|
138
138
|
event_type: z.ZodLiteral<"acs_credential.deleted">;
|
|
139
|
-
}
|
|
139
|
+
}, "strip", z.ZodTypeAny, {
|
|
140
140
|
workspace_id: string;
|
|
141
141
|
created_at: string;
|
|
142
142
|
acs_system_id: string;
|
|
@@ -154,19 +154,19 @@ export declare const acs_credential_events: readonly [z.ZodObject<z.objectUtil.e
|
|
|
154
154
|
occurred_at: string;
|
|
155
155
|
event_type: "acs_credential.deleted";
|
|
156
156
|
connected_account_id?: string | undefined;
|
|
157
|
-
}>, z.ZodObject<
|
|
157
|
+
}>, z.ZodObject<{
|
|
158
158
|
event_id: z.ZodString;
|
|
159
159
|
workspace_id: z.ZodString;
|
|
160
160
|
created_at: z.ZodString;
|
|
161
161
|
occurred_at: z.ZodString;
|
|
162
|
-
}
|
|
162
|
+
} & {
|
|
163
163
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
164
164
|
acs_system_id: z.ZodString;
|
|
165
|
-
}
|
|
165
|
+
} & {
|
|
166
166
|
acs_credential_id: z.ZodString;
|
|
167
|
-
}
|
|
167
|
+
} & {
|
|
168
168
|
event_type: z.ZodLiteral<"acs_credential.issued">;
|
|
169
|
-
}
|
|
169
|
+
}, "strip", z.ZodTypeAny, {
|
|
170
170
|
workspace_id: string;
|
|
171
171
|
created_at: string;
|
|
172
172
|
acs_system_id: string;
|
|
@@ -184,19 +184,19 @@ export declare const acs_credential_events: readonly [z.ZodObject<z.objectUtil.e
|
|
|
184
184
|
occurred_at: string;
|
|
185
185
|
event_type: "acs_credential.issued";
|
|
186
186
|
connected_account_id?: string | undefined;
|
|
187
|
-
}>, z.ZodObject<
|
|
187
|
+
}>, z.ZodObject<{
|
|
188
188
|
event_id: z.ZodString;
|
|
189
189
|
workspace_id: z.ZodString;
|
|
190
190
|
created_at: z.ZodString;
|
|
191
191
|
occurred_at: z.ZodString;
|
|
192
|
-
}
|
|
192
|
+
} & {
|
|
193
193
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
194
194
|
acs_system_id: z.ZodString;
|
|
195
|
-
}
|
|
195
|
+
} & {
|
|
196
196
|
acs_credential_id: z.ZodString;
|
|
197
|
-
}
|
|
197
|
+
} & {
|
|
198
198
|
event_type: z.ZodLiteral<"acs_credential.reissued">;
|
|
199
|
-
}
|
|
199
|
+
}, "strip", z.ZodTypeAny, {
|
|
200
200
|
workspace_id: string;
|
|
201
201
|
created_at: string;
|
|
202
202
|
acs_system_id: string;
|
|
@@ -214,19 +214,19 @@ export declare const acs_credential_events: readonly [z.ZodObject<z.objectUtil.e
|
|
|
214
214
|
occurred_at: string;
|
|
215
215
|
event_type: "acs_credential.reissued";
|
|
216
216
|
connected_account_id?: string | undefined;
|
|
217
|
-
}>, z.ZodObject<
|
|
217
|
+
}>, z.ZodObject<{
|
|
218
218
|
event_id: z.ZodString;
|
|
219
219
|
workspace_id: z.ZodString;
|
|
220
220
|
created_at: z.ZodString;
|
|
221
221
|
occurred_at: z.ZodString;
|
|
222
|
-
}
|
|
222
|
+
} & {
|
|
223
223
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
224
224
|
acs_system_id: z.ZodString;
|
|
225
|
-
}
|
|
225
|
+
} & {
|
|
226
226
|
acs_credential_id: z.ZodString;
|
|
227
|
-
}
|
|
227
|
+
} & {
|
|
228
228
|
event_type: z.ZodLiteral<"acs_credential.invalidated">;
|
|
229
|
-
}
|
|
229
|
+
}, "strip", z.ZodTypeAny, {
|
|
230
230
|
workspace_id: string;
|
|
231
231
|
created_at: string;
|
|
232
232
|
acs_system_id: string;
|