@seamapi/types 1.917.0 → 1.918.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.
@@ -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: string;
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: string;
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: string;
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: string;
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;
package/dist/index.cjs CHANGED
@@ -6484,7 +6484,28 @@ var lock_unlocked_event = device_event.extend({
6484
6484
  `);
6485
6485
  var lock_access_denied_event = device_event.extend({
6486
6486
  event_type: zod.z.literal("lock.access_denied"),
6487
- access_code_id: zod.z.string().uuid().optional().describe("ID of the access code that was used in the unlock attempts.")
6487
+ access_code_id: zod.z.string().uuid().optional().describe("ID of the access code that was used in the unlock attempts."),
6488
+ user_identity_id: zod.z.string().uuid().optional().describe(`
6489
+ undocumented: Unreleased.
6490
+ ---
6491
+ ID of the user identity associated with the access-denied event.
6492
+ `),
6493
+ acs_system_id: zod.z.string().uuid().optional().describe(`
6494
+ undocumented: Unreleased.
6495
+ ---
6496
+ ID of the ACS system associated with the access-denied event.
6497
+ `),
6498
+ acs_user_id: zod.z.string().uuid().optional().describe(`
6499
+ undocumented: Unreleased.
6500
+ ---
6501
+ ID of the ACS user associated with the access-denied event.
6502
+ `),
6503
+ acs_entrance_id: zod.z.string().uuid().optional().describe(`
6504
+ undocumented: Unreleased.
6505
+ ---
6506
+ ID of the ACS entrance associated with the access-denied event.
6507
+ `),
6508
+ device_id: zod.z.string().uuid().optional().describe("ID of the affected device.")
6488
6509
  }).describe(`
6489
6510
  ---
6490
6511
  route_path: /locks
@@ -29954,6 +29975,21 @@ var openapi = {
29954
29975
  format: "uuid",
29955
29976
  type: "string"
29956
29977
  },
29978
+ acs_entrance_id: {
29979
+ description: "\n undocumented: Unreleased.\n ---\n ID of the ACS entrance associated with the access-denied event.\n ",
29980
+ format: "uuid",
29981
+ type: "string"
29982
+ },
29983
+ acs_system_id: {
29984
+ description: "\n undocumented: Unreleased.\n ---\n ID of the ACS system associated with the access-denied event.\n ",
29985
+ format: "uuid",
29986
+ type: "string"
29987
+ },
29988
+ acs_user_id: {
29989
+ description: "\n undocumented: Unreleased.\n ---\n ID of the ACS user associated with the access-denied event.\n ",
29990
+ format: "uuid",
29991
+ type: "string"
29992
+ },
29957
29993
  connected_account_custom_metadata: {
29958
29994
  additionalProperties: {
29959
29995
  oneOf: [{ type: "string" }, { type: "boolean" }]
@@ -29998,6 +30034,11 @@ var openapi = {
29998
30034
  format: "date-time",
29999
30035
  type: "string"
30000
30036
  },
30037
+ user_identity_id: {
30038
+ description: "\n undocumented: Unreleased.\n ---\n ID of the user identity associated with the access-denied event.\n ",
30039
+ format: "uuid",
30040
+ type: "string"
30041
+ },
30001
30042
  workspace_id: {
30002
30043
  description: "ID of the workspace associated with the event.",
30003
30044
  format: "uuid",
@@ -30009,7 +30050,6 @@ var openapi = {
30009
30050
  "workspace_id",
30010
30051
  "created_at",
30011
30052
  "occurred_at",
30012
- "device_id",
30013
30053
  "connected_account_id",
30014
30054
  "event_type"
30015
30055
  ],