@seamapi/types 1.917.0 → 1.919.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 +492 -186
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +115 -8
- package/dist/index.cjs +492 -186
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.js +78 -44
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.js +7 -4
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.js +7 -3
- package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.js +58 -31
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +42 -24
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.js +29 -19
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device.js +51 -27
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/events/devices.d.ts +30 -8
- package/lib/seam/connect/models/events/devices.js +25 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +15 -4
- package/lib/seam/connect/openapi.js +138 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +100 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +136 -114
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +10 -9
- package/src/lib/seam/connect/models/acs/acs-encoder.ts +7 -5
- package/src/lib/seam/connect/models/acs/acs-system.ts +73 -56
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +48 -40
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +78 -73
- package/src/lib/seam/connect/models/devices/device.ts +70 -46
- package/src/lib/seam/connect/models/events/devices.ts +25 -0
- package/src/lib/seam/connect/openapi.ts +142 -4
- package/src/lib/seam/connect/route-types.ts +100 -4
package/dist/connect.d.cts
CHANGED
|
@@ -28127,8 +28127,6 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
28127
28127
|
workspace_id: z.ZodString;
|
|
28128
28128
|
created_at: z.ZodString;
|
|
28129
28129
|
occurred_at: z.ZodString;
|
|
28130
|
-
} & {
|
|
28131
|
-
device_id: z.ZodString;
|
|
28132
28130
|
connected_account_id: z.ZodString;
|
|
28133
28131
|
customer_key: z.ZodOptional<z.ZodString>;
|
|
28134
28132
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -28136,28 +28134,41 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
|
|
|
28136
28134
|
} & {
|
|
28137
28135
|
event_type: z.ZodLiteral<"lock.access_denied">;
|
|
28138
28136
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
28137
|
+
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
28138
|
+
acs_system_id: z.ZodOptional<z.ZodString>;
|
|
28139
|
+
acs_user_id: z.ZodOptional<z.ZodString>;
|
|
28140
|
+
acs_entrance_id: z.ZodOptional<z.ZodString>;
|
|
28141
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
28139
28142
|
}, "strip", z.ZodTypeAny, {
|
|
28140
|
-
device_id: string;
|
|
28141
28143
|
workspace_id: string;
|
|
28142
28144
|
created_at: string;
|
|
28143
28145
|
connected_account_id: string;
|
|
28144
28146
|
event_id: string;
|
|
28145
28147
|
occurred_at: string;
|
|
28146
28148
|
event_type: "lock.access_denied";
|
|
28149
|
+
device_id?: string | undefined;
|
|
28147
28150
|
customer_key?: string | undefined;
|
|
28148
28151
|
access_code_id?: string | undefined;
|
|
28152
|
+
user_identity_id?: string | undefined;
|
|
28153
|
+
acs_user_id?: string | undefined;
|
|
28154
|
+
acs_entrance_id?: string | undefined;
|
|
28155
|
+
acs_system_id?: string | undefined;
|
|
28149
28156
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
28150
28157
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
28151
28158
|
}, {
|
|
28152
|
-
device_id: string;
|
|
28153
28159
|
workspace_id: string;
|
|
28154
28160
|
created_at: string;
|
|
28155
28161
|
connected_account_id: string;
|
|
28156
28162
|
event_id: string;
|
|
28157
28163
|
occurred_at: string;
|
|
28158
28164
|
event_type: "lock.access_denied";
|
|
28165
|
+
device_id?: string | undefined;
|
|
28159
28166
|
customer_key?: string | undefined;
|
|
28160
28167
|
access_code_id?: string | undefined;
|
|
28168
|
+
user_identity_id?: string | undefined;
|
|
28169
|
+
acs_user_id?: string | undefined;
|
|
28170
|
+
acs_entrance_id?: string | undefined;
|
|
28171
|
+
acs_system_id?: string | undefined;
|
|
28161
28172
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
28162
28173
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
28163
28174
|
}>, z.ZodObject<{
|
|
@@ -77199,7 +77210,7 @@ type Routes = {
|
|
|
77199
77210
|
/** Date and time at which the event occurred. */
|
|
77200
77211
|
occurred_at: string;
|
|
77201
77212
|
/** ID of the affected device. */
|
|
77202
|
-
device_id
|
|
77213
|
+
device_id?: string | undefined;
|
|
77203
77214
|
/** ID of the connected account associated with the event. */
|
|
77204
77215
|
connected_account_id: string;
|
|
77205
77216
|
/** The customer key associated with the device, if any. */
|
|
@@ -77215,6 +77226,30 @@ type Routes = {
|
|
|
77215
77226
|
event_type: 'lock.access_denied';
|
|
77216
77227
|
/** ID of the access code that was used in the unlock attempts. */
|
|
77217
77228
|
access_code_id?: string | undefined;
|
|
77229
|
+
/**
|
|
77230
|
+
undocumented: Unreleased.
|
|
77231
|
+
---
|
|
77232
|
+
ID of the user identity associated with the access-denied event.
|
|
77233
|
+
*/
|
|
77234
|
+
user_identity_id?: string | undefined;
|
|
77235
|
+
/**
|
|
77236
|
+
undocumented: Unreleased.
|
|
77237
|
+
---
|
|
77238
|
+
ID of the ACS system associated with the access-denied event.
|
|
77239
|
+
*/
|
|
77240
|
+
acs_system_id?: string | undefined;
|
|
77241
|
+
/**
|
|
77242
|
+
undocumented: Unreleased.
|
|
77243
|
+
---
|
|
77244
|
+
ID of the ACS user associated with the access-denied event.
|
|
77245
|
+
*/
|
|
77246
|
+
acs_user_id?: string | undefined;
|
|
77247
|
+
/**
|
|
77248
|
+
undocumented: Unreleased.
|
|
77249
|
+
---
|
|
77250
|
+
ID of the ACS entrance associated with the access-denied event.
|
|
77251
|
+
*/
|
|
77252
|
+
acs_entrance_id?: string | undefined;
|
|
77218
77253
|
} | {
|
|
77219
77254
|
/** ID of the event. */
|
|
77220
77255
|
event_id: string;
|
|
@@ -80175,7 +80210,7 @@ type Routes = {
|
|
|
80175
80210
|
/** Date and time at which the event occurred. */
|
|
80176
80211
|
occurred_at: string;
|
|
80177
80212
|
/** ID of the affected device. */
|
|
80178
|
-
device_id
|
|
80213
|
+
device_id?: string | undefined;
|
|
80179
80214
|
/** ID of the connected account associated with the event. */
|
|
80180
80215
|
connected_account_id: string;
|
|
80181
80216
|
/** The customer key associated with the device, if any. */
|
|
@@ -80191,6 +80226,30 @@ type Routes = {
|
|
|
80191
80226
|
event_type: 'lock.access_denied';
|
|
80192
80227
|
/** ID of the access code that was used in the unlock attempts. */
|
|
80193
80228
|
access_code_id?: string | undefined;
|
|
80229
|
+
/**
|
|
80230
|
+
undocumented: Unreleased.
|
|
80231
|
+
---
|
|
80232
|
+
ID of the user identity associated with the access-denied event.
|
|
80233
|
+
*/
|
|
80234
|
+
user_identity_id?: string | undefined;
|
|
80235
|
+
/**
|
|
80236
|
+
undocumented: Unreleased.
|
|
80237
|
+
---
|
|
80238
|
+
ID of the ACS system associated with the access-denied event.
|
|
80239
|
+
*/
|
|
80240
|
+
acs_system_id?: string | undefined;
|
|
80241
|
+
/**
|
|
80242
|
+
undocumented: Unreleased.
|
|
80243
|
+
---
|
|
80244
|
+
ID of the ACS user associated with the access-denied event.
|
|
80245
|
+
*/
|
|
80246
|
+
acs_user_id?: string | undefined;
|
|
80247
|
+
/**
|
|
80248
|
+
undocumented: Unreleased.
|
|
80249
|
+
---
|
|
80250
|
+
ID of the ACS entrance associated with the access-denied event.
|
|
80251
|
+
*/
|
|
80252
|
+
acs_entrance_id?: string | undefined;
|
|
80194
80253
|
} | {
|
|
80195
80254
|
/** ID of the event. */
|
|
80196
80255
|
event_id: string;
|
|
@@ -108987,7 +109046,7 @@ type Routes = {
|
|
|
108987
109046
|
/** Date and time at which the event occurred. */
|
|
108988
109047
|
occurred_at: string;
|
|
108989
109048
|
/** ID of the affected device. */
|
|
108990
|
-
device_id
|
|
109049
|
+
device_id?: string | undefined;
|
|
108991
109050
|
/** ID of the connected account associated with the event. */
|
|
108992
109051
|
connected_account_id: string;
|
|
108993
109052
|
/** The customer key associated with the device, if any. */
|
|
@@ -109003,6 +109062,30 @@ type Routes = {
|
|
|
109003
109062
|
event_type: 'lock.access_denied';
|
|
109004
109063
|
/** ID of the access code that was used in the unlock attempts. */
|
|
109005
109064
|
access_code_id?: string | undefined;
|
|
109065
|
+
/**
|
|
109066
|
+
undocumented: Unreleased.
|
|
109067
|
+
---
|
|
109068
|
+
ID of the user identity associated with the access-denied event.
|
|
109069
|
+
*/
|
|
109070
|
+
user_identity_id?: string | undefined;
|
|
109071
|
+
/**
|
|
109072
|
+
undocumented: Unreleased.
|
|
109073
|
+
---
|
|
109074
|
+
ID of the ACS system associated with the access-denied event.
|
|
109075
|
+
*/
|
|
109076
|
+
acs_system_id?: string | undefined;
|
|
109077
|
+
/**
|
|
109078
|
+
undocumented: Unreleased.
|
|
109079
|
+
---
|
|
109080
|
+
ID of the ACS user associated with the access-denied event.
|
|
109081
|
+
*/
|
|
109082
|
+
acs_user_id?: string | undefined;
|
|
109083
|
+
/**
|
|
109084
|
+
undocumented: Unreleased.
|
|
109085
|
+
---
|
|
109086
|
+
ID of the ACS entrance associated with the access-denied event.
|
|
109087
|
+
*/
|
|
109088
|
+
acs_entrance_id?: string | undefined;
|
|
109006
109089
|
} | {
|
|
109007
109090
|
/** ID of the event. */
|
|
109008
109091
|
event_id: string;
|
|
@@ -146120,7 +146203,7 @@ type Routes = {
|
|
|
146120
146203
|
/** Date and time at which the event occurred. */
|
|
146121
146204
|
occurred_at: string;
|
|
146122
146205
|
/** ID of the affected device. */
|
|
146123
|
-
device_id
|
|
146206
|
+
device_id?: string | undefined;
|
|
146124
146207
|
/** ID of the connected account associated with the event. */
|
|
146125
146208
|
connected_account_id: string;
|
|
146126
146209
|
/** The customer key associated with the device, if any. */
|
|
@@ -146136,6 +146219,30 @@ type Routes = {
|
|
|
146136
146219
|
event_type: 'lock.access_denied';
|
|
146137
146220
|
/** ID of the access code that was used in the unlock attempts. */
|
|
146138
146221
|
access_code_id?: string | undefined;
|
|
146222
|
+
/**
|
|
146223
|
+
undocumented: Unreleased.
|
|
146224
|
+
---
|
|
146225
|
+
ID of the user identity associated with the access-denied event.
|
|
146226
|
+
*/
|
|
146227
|
+
user_identity_id?: string | undefined;
|
|
146228
|
+
/**
|
|
146229
|
+
undocumented: Unreleased.
|
|
146230
|
+
---
|
|
146231
|
+
ID of the ACS system associated with the access-denied event.
|
|
146232
|
+
*/
|
|
146233
|
+
acs_system_id?: string | undefined;
|
|
146234
|
+
/**
|
|
146235
|
+
undocumented: Unreleased.
|
|
146236
|
+
---
|
|
146237
|
+
ID of the ACS user associated with the access-denied event.
|
|
146238
|
+
*/
|
|
146239
|
+
acs_user_id?: string | undefined;
|
|
146240
|
+
/**
|
|
146241
|
+
undocumented: Unreleased.
|
|
146242
|
+
---
|
|
146243
|
+
ID of the ACS entrance associated with the access-denied event.
|
|
146244
|
+
*/
|
|
146245
|
+
acs_entrance_id?: string | undefined;
|
|
146139
146246
|
} | {
|
|
146140
146247
|
/** ID of the event. */
|
|
146141
146248
|
event_id: string;
|