@seamapi/types 1.437.0 → 1.438.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.
Files changed (35) hide show
  1. package/dist/connect.cjs +917 -5
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1335 -0
  4. package/lib/seam/connect/models/events/access-codes.d.ts +204 -0
  5. package/lib/seam/connect/models/events/access-codes.js +7 -0
  6. package/lib/seam/connect/models/events/access-codes.js.map +1 -1
  7. package/lib/seam/connect/models/events/connect-webviews.d.ts +6 -0
  8. package/lib/seam/connect/models/events/connect-webviews.js +5 -0
  9. package/lib/seam/connect/models/events/connect-webviews.js.map +1 -1
  10. package/lib/seam/connect/models/events/connected-accounts.d.ts +42 -0
  11. package/lib/seam/connect/models/events/connected-accounts.js +4 -0
  12. package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
  13. package/lib/seam/connect/models/events/devices.d.ts +396 -0
  14. package/lib/seam/connect/models/events/devices.js +7 -0
  15. package/lib/seam/connect/models/events/devices.js.map +1 -1
  16. package/lib/seam/connect/models/events/phones.d.ts +6 -0
  17. package/lib/seam/connect/models/events/phones.js +4 -0
  18. package/lib/seam/connect/models/events/phones.js.map +1 -1
  19. package/lib/seam/connect/models/events/seam-event.d.ts +327 -0
  20. package/lib/seam/connect/models/user-identities/user-identity.d.ts +3 -0
  21. package/lib/seam/connect/models/user-identities/user-identity.js +3 -0
  22. package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
  23. package/lib/seam/connect/openapi.d.ts +537 -0
  24. package/lib/seam/connect/openapi.js +887 -0
  25. package/lib/seam/connect/openapi.js.map +1 -1
  26. package/lib/seam/connect/route-types.d.ts +468 -0
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/models/events/access-codes.ts +11 -0
  29. package/src/lib/seam/connect/models/events/connect-webviews.ts +8 -0
  30. package/src/lib/seam/connect/models/events/connected-accounts.ts +6 -0
  31. package/src/lib/seam/connect/models/events/devices.ts +11 -0
  32. package/src/lib/seam/connect/models/events/phones.ts +6 -0
  33. package/src/lib/seam/connect/models/user-identities/user-identity.ts +5 -0
  34. package/src/lib/seam/connect/openapi.ts +1003 -0
  35. package/src/lib/seam/connect/route-types.ts +904 -0
@@ -18984,6 +18984,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18984
18984
  access_code_id: z.ZodString;
18985
18985
  device_id: z.ZodString;
18986
18986
  connected_account_id: z.ZodString;
18987
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
18988
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
18987
18989
  }>, {
18988
18990
  event_type: z.ZodLiteral<"access_code.created">;
18989
18991
  }>, "strip", z.ZodTypeAny, {
@@ -18995,6 +18997,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18995
18997
  event_id: string;
18996
18998
  occurred_at: string;
18997
18999
  event_type: "access_code.created";
19000
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19001
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
18998
19002
  }, {
18999
19003
  device_id: string;
19000
19004
  workspace_id: string;
@@ -19004,6 +19008,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19004
19008
  event_id: string;
19005
19009
  occurred_at: string;
19006
19010
  event_type: "access_code.created";
19011
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19012
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19007
19013
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19008
19014
  event_id: z.ZodString;
19009
19015
  workspace_id: z.ZodString;
@@ -19013,6 +19019,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19013
19019
  access_code_id: z.ZodString;
19014
19020
  device_id: z.ZodString;
19015
19021
  connected_account_id: z.ZodString;
19022
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19023
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19016
19024
  }>, {
19017
19025
  event_type: z.ZodLiteral<"access_code.changed">;
19018
19026
  }>, "strip", z.ZodTypeAny, {
@@ -19024,6 +19032,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19024
19032
  event_id: string;
19025
19033
  occurred_at: string;
19026
19034
  event_type: "access_code.changed";
19035
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19036
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19027
19037
  }, {
19028
19038
  device_id: string;
19029
19039
  workspace_id: string;
@@ -19033,6 +19043,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19033
19043
  event_id: string;
19034
19044
  occurred_at: string;
19035
19045
  event_type: "access_code.changed";
19046
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19047
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19036
19048
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19037
19049
  event_id: z.ZodString;
19038
19050
  workspace_id: z.ZodString;
@@ -19042,6 +19054,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19042
19054
  access_code_id: z.ZodString;
19043
19055
  device_id: z.ZodString;
19044
19056
  connected_account_id: z.ZodString;
19057
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19058
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19045
19059
  }>, {
19046
19060
  event_type: z.ZodLiteral<"access_code.scheduled_on_device">;
19047
19061
  code: z.ZodString;
@@ -19055,6 +19069,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19055
19069
  event_id: string;
19056
19070
  occurred_at: string;
19057
19071
  event_type: "access_code.scheduled_on_device";
19072
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19073
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19058
19074
  }, {
19059
19075
  code: string;
19060
19076
  device_id: string;
@@ -19065,6 +19081,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19065
19081
  event_id: string;
19066
19082
  occurred_at: string;
19067
19083
  event_type: "access_code.scheduled_on_device";
19084
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19085
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19068
19086
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19069
19087
  event_id: z.ZodString;
19070
19088
  workspace_id: z.ZodString;
@@ -19074,6 +19092,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19074
19092
  access_code_id: z.ZodString;
19075
19093
  device_id: z.ZodString;
19076
19094
  connected_account_id: z.ZodString;
19095
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19096
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19077
19097
  }>, {
19078
19098
  event_type: z.ZodLiteral<"access_code.set_on_device">;
19079
19099
  code: z.ZodString;
@@ -19087,6 +19107,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19087
19107
  event_id: string;
19088
19108
  occurred_at: string;
19089
19109
  event_type: "access_code.set_on_device";
19110
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19111
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19090
19112
  }, {
19091
19113
  code: string;
19092
19114
  device_id: string;
@@ -19097,6 +19119,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19097
19119
  event_id: string;
19098
19120
  occurred_at: string;
19099
19121
  event_type: "access_code.set_on_device";
19122
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19123
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19100
19124
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19101
19125
  event_id: z.ZodString;
19102
19126
  workspace_id: z.ZodString;
@@ -19106,6 +19130,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19106
19130
  access_code_id: z.ZodString;
19107
19131
  device_id: z.ZodString;
19108
19132
  connected_account_id: z.ZodString;
19133
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19134
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19109
19135
  }>, {
19110
19136
  event_type: z.ZodLiteral<"access_code.removed_from_device">;
19111
19137
  }>, "strip", z.ZodTypeAny, {
@@ -19117,6 +19143,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19117
19143
  event_id: string;
19118
19144
  occurred_at: string;
19119
19145
  event_type: "access_code.removed_from_device";
19146
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19147
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19120
19148
  }, {
19121
19149
  device_id: string;
19122
19150
  workspace_id: string;
@@ -19126,6 +19154,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19126
19154
  event_id: string;
19127
19155
  occurred_at: string;
19128
19156
  event_type: "access_code.removed_from_device";
19157
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19158
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19129
19159
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19130
19160
  event_id: z.ZodString;
19131
19161
  workspace_id: z.ZodString;
@@ -19135,6 +19165,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19135
19165
  access_code_id: z.ZodString;
19136
19166
  device_id: z.ZodString;
19137
19167
  connected_account_id: z.ZodString;
19168
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19169
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19138
19170
  }>, {
19139
19171
  event_type: z.ZodLiteral<"access_code.delay_in_setting_on_device">;
19140
19172
  }>, "strip", z.ZodTypeAny, {
@@ -19146,6 +19178,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19146
19178
  event_id: string;
19147
19179
  occurred_at: string;
19148
19180
  event_type: "access_code.delay_in_setting_on_device";
19181
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19182
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19149
19183
  }, {
19150
19184
  device_id: string;
19151
19185
  workspace_id: string;
@@ -19155,6 +19189,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19155
19189
  event_id: string;
19156
19190
  occurred_at: string;
19157
19191
  event_type: "access_code.delay_in_setting_on_device";
19192
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19193
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19158
19194
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19159
19195
  event_id: z.ZodString;
19160
19196
  workspace_id: z.ZodString;
@@ -19164,6 +19200,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19164
19200
  access_code_id: z.ZodString;
19165
19201
  device_id: z.ZodString;
19166
19202
  connected_account_id: z.ZodString;
19203
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19204
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19167
19205
  }>, {
19168
19206
  event_type: z.ZodLiteral<"access_code.failed_to_set_on_device">;
19169
19207
  }>, "strip", z.ZodTypeAny, {
@@ -19175,6 +19213,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19175
19213
  event_id: string;
19176
19214
  occurred_at: string;
19177
19215
  event_type: "access_code.failed_to_set_on_device";
19216
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19217
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19178
19218
  }, {
19179
19219
  device_id: string;
19180
19220
  workspace_id: string;
@@ -19184,6 +19224,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19184
19224
  event_id: string;
19185
19225
  occurred_at: string;
19186
19226
  event_type: "access_code.failed_to_set_on_device";
19227
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19228
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19187
19229
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19188
19230
  event_id: z.ZodString;
19189
19231
  workspace_id: z.ZodString;
@@ -19193,6 +19235,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19193
19235
  access_code_id: z.ZodString;
19194
19236
  device_id: z.ZodString;
19195
19237
  connected_account_id: z.ZodString;
19238
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19239
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19196
19240
  }>, {
19197
19241
  event_type: z.ZodLiteral<"access_code.deleted">;
19198
19242
  code: z.ZodNullable<z.ZodString>;
@@ -19206,6 +19250,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19206
19250
  event_id: string;
19207
19251
  occurred_at: string;
19208
19252
  event_type: "access_code.deleted";
19253
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19254
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19209
19255
  }, {
19210
19256
  code: string | null;
19211
19257
  device_id: string;
@@ -19216,6 +19262,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19216
19262
  event_id: string;
19217
19263
  occurred_at: string;
19218
19264
  event_type: "access_code.deleted";
19265
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19266
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19219
19267
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19220
19268
  event_id: z.ZodString;
19221
19269
  workspace_id: z.ZodString;
@@ -19225,6 +19273,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19225
19273
  access_code_id: z.ZodString;
19226
19274
  device_id: z.ZodString;
19227
19275
  connected_account_id: z.ZodString;
19276
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19277
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19228
19278
  }>, {
19229
19279
  event_type: z.ZodLiteral<"access_code.delay_in_removing_from_device">;
19230
19280
  }>, "strip", z.ZodTypeAny, {
@@ -19236,6 +19286,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19236
19286
  event_id: string;
19237
19287
  occurred_at: string;
19238
19288
  event_type: "access_code.delay_in_removing_from_device";
19289
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19290
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19239
19291
  }, {
19240
19292
  device_id: string;
19241
19293
  workspace_id: string;
@@ -19245,6 +19297,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19245
19297
  event_id: string;
19246
19298
  occurred_at: string;
19247
19299
  event_type: "access_code.delay_in_removing_from_device";
19300
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19301
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19248
19302
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19249
19303
  event_id: z.ZodString;
19250
19304
  workspace_id: z.ZodString;
@@ -19254,6 +19308,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19254
19308
  access_code_id: z.ZodString;
19255
19309
  device_id: z.ZodString;
19256
19310
  connected_account_id: z.ZodString;
19311
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19312
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19257
19313
  }>, {
19258
19314
  event_type: z.ZodLiteral<"access_code.failed_to_remove_from_device">;
19259
19315
  }>, "strip", z.ZodTypeAny, {
@@ -19265,6 +19321,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19265
19321
  event_id: string;
19266
19322
  occurred_at: string;
19267
19323
  event_type: "access_code.failed_to_remove_from_device";
19324
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19325
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19268
19326
  }, {
19269
19327
  device_id: string;
19270
19328
  workspace_id: string;
@@ -19274,6 +19332,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19274
19332
  event_id: string;
19275
19333
  occurred_at: string;
19276
19334
  event_type: "access_code.failed_to_remove_from_device";
19335
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19336
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19277
19337
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19278
19338
  event_id: z.ZodString;
19279
19339
  workspace_id: z.ZodString;
@@ -19283,6 +19343,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19283
19343
  access_code_id: z.ZodString;
19284
19344
  device_id: z.ZodString;
19285
19345
  connected_account_id: z.ZodString;
19346
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19347
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19286
19348
  }>, {
19287
19349
  event_type: z.ZodLiteral<"access_code.modified_external_to_seam">;
19288
19350
  }>, "strip", z.ZodTypeAny, {
@@ -19294,6 +19356,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19294
19356
  event_id: string;
19295
19357
  occurred_at: string;
19296
19358
  event_type: "access_code.modified_external_to_seam";
19359
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19360
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19297
19361
  }, {
19298
19362
  device_id: string;
19299
19363
  workspace_id: string;
@@ -19303,6 +19367,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19303
19367
  event_id: string;
19304
19368
  occurred_at: string;
19305
19369
  event_type: "access_code.modified_external_to_seam";
19370
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19371
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19306
19372
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19307
19373
  event_id: z.ZodString;
19308
19374
  workspace_id: z.ZodString;
@@ -19312,6 +19378,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19312
19378
  access_code_id: z.ZodString;
19313
19379
  device_id: z.ZodString;
19314
19380
  connected_account_id: z.ZodString;
19381
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19382
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19315
19383
  }>, {
19316
19384
  event_type: z.ZodLiteral<"access_code.deleted_external_to_seam">;
19317
19385
  }>, "strip", z.ZodTypeAny, {
@@ -19323,6 +19391,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19323
19391
  event_id: string;
19324
19392
  occurred_at: string;
19325
19393
  event_type: "access_code.deleted_external_to_seam";
19394
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19395
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19326
19396
  }, {
19327
19397
  device_id: string;
19328
19398
  workspace_id: string;
@@ -19332,6 +19402,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19332
19402
  event_id: string;
19333
19403
  occurred_at: string;
19334
19404
  event_type: "access_code.deleted_external_to_seam";
19405
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19406
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19335
19407
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19336
19408
  event_id: z.ZodString;
19337
19409
  workspace_id: z.ZodString;
@@ -19341,6 +19413,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19341
19413
  access_code_id: z.ZodString;
19342
19414
  device_id: z.ZodString;
19343
19415
  connected_account_id: z.ZodString;
19416
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19417
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19344
19418
  }>, {
19345
19419
  event_type: z.ZodLiteral<"access_code.backup_access_code_pulled">;
19346
19420
  backup_access_code_id: z.ZodString;
@@ -19354,6 +19428,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19354
19428
  occurred_at: string;
19355
19429
  event_type: "access_code.backup_access_code_pulled";
19356
19430
  backup_access_code_id: string;
19431
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19432
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19357
19433
  }, {
19358
19434
  device_id: string;
19359
19435
  workspace_id: string;
@@ -19364,6 +19440,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19364
19440
  occurred_at: string;
19365
19441
  event_type: "access_code.backup_access_code_pulled";
19366
19442
  backup_access_code_id: string;
19443
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19444
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19367
19445
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19368
19446
  event_id: z.ZodString;
19369
19447
  workspace_id: z.ZodString;
@@ -19373,6 +19451,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19373
19451
  access_code_id: z.ZodString;
19374
19452
  device_id: z.ZodString;
19375
19453
  connected_account_id: z.ZodString;
19454
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19455
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19376
19456
  }>, {
19377
19457
  event_type: z.ZodLiteral<"access_code.unmanaged.converted_to_managed">;
19378
19458
  }>, "strip", z.ZodTypeAny, {
@@ -19384,6 +19464,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19384
19464
  event_id: string;
19385
19465
  occurred_at: string;
19386
19466
  event_type: "access_code.unmanaged.converted_to_managed";
19467
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19468
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19387
19469
  }, {
19388
19470
  device_id: string;
19389
19471
  workspace_id: string;
@@ -19393,6 +19475,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19393
19475
  event_id: string;
19394
19476
  occurred_at: string;
19395
19477
  event_type: "access_code.unmanaged.converted_to_managed";
19478
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19479
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19396
19480
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19397
19481
  event_id: z.ZodString;
19398
19482
  workspace_id: z.ZodString;
@@ -19402,6 +19486,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19402
19486
  access_code_id: z.ZodString;
19403
19487
  device_id: z.ZodString;
19404
19488
  connected_account_id: z.ZodString;
19489
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19490
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19405
19491
  }>, {
19406
19492
  event_type: z.ZodLiteral<"access_code.unmanaged.failed_to_convert_to_managed">;
19407
19493
  }>, "strip", z.ZodTypeAny, {
@@ -19413,6 +19499,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19413
19499
  event_id: string;
19414
19500
  occurred_at: string;
19415
19501
  event_type: "access_code.unmanaged.failed_to_convert_to_managed";
19502
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19503
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19416
19504
  }, {
19417
19505
  device_id: string;
19418
19506
  workspace_id: string;
@@ -19422,6 +19510,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19422
19510
  event_id: string;
19423
19511
  occurred_at: string;
19424
19512
  event_type: "access_code.unmanaged.failed_to_convert_to_managed";
19513
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19514
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19425
19515
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19426
19516
  event_id: z.ZodString;
19427
19517
  workspace_id: z.ZodString;
@@ -19431,6 +19521,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19431
19521
  access_code_id: z.ZodString;
19432
19522
  device_id: z.ZodString;
19433
19523
  connected_account_id: z.ZodString;
19524
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19525
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19434
19526
  }>, {
19435
19527
  event_type: z.ZodLiteral<"access_code.unmanaged.created">;
19436
19528
  }>, "strip", z.ZodTypeAny, {
@@ -19442,6 +19534,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19442
19534
  event_id: string;
19443
19535
  occurred_at: string;
19444
19536
  event_type: "access_code.unmanaged.created";
19537
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19538
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19445
19539
  }, {
19446
19540
  device_id: string;
19447
19541
  workspace_id: string;
@@ -19451,6 +19545,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19451
19545
  event_id: string;
19452
19546
  occurred_at: string;
19453
19547
  event_type: "access_code.unmanaged.created";
19548
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19549
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19454
19550
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19455
19551
  event_id: z.ZodString;
19456
19552
  workspace_id: z.ZodString;
@@ -19460,6 +19556,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19460
19556
  access_code_id: z.ZodString;
19461
19557
  device_id: z.ZodString;
19462
19558
  connected_account_id: z.ZodString;
19559
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19560
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
19463
19561
  }>, {
19464
19562
  event_type: z.ZodLiteral<"access_code.unmanaged.removed">;
19465
19563
  }>, "strip", z.ZodTypeAny, {
@@ -19471,6 +19569,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19471
19569
  event_id: string;
19472
19570
  occurred_at: string;
19473
19571
  event_type: "access_code.unmanaged.removed";
19572
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19573
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19474
19574
  }, {
19475
19575
  device_id: string;
19476
19576
  workspace_id: string;
@@ -19480,6 +19580,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19480
19580
  event_id: string;
19481
19581
  occurred_at: string;
19482
19582
  event_type: "access_code.unmanaged.removed";
19583
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
19584
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
19483
19585
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19484
19586
  event_id: z.ZodString;
19485
19587
  workspace_id: z.ZodString;
@@ -20154,6 +20256,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20154
20256
  occurred_at: z.ZodString;
20155
20257
  }, {
20156
20258
  connected_account_id: z.ZodString;
20259
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20157
20260
  }>, {
20158
20261
  event_type: z.ZodLiteral<"connected_account.connected">;
20159
20262
  connect_webview_id: z.ZodString;
@@ -20165,6 +20268,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20165
20268
  event_id: string;
20166
20269
  occurred_at: string;
20167
20270
  event_type: "connected_account.connected";
20271
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20168
20272
  }, {
20169
20273
  workspace_id: string;
20170
20274
  created_at: string;
@@ -20173,6 +20277,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20173
20277
  event_id: string;
20174
20278
  occurred_at: string;
20175
20279
  event_type: "connected_account.connected";
20280
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20176
20281
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20177
20282
  event_id: z.ZodString;
20178
20283
  workspace_id: z.ZodString;
@@ -20180,6 +20285,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20180
20285
  occurred_at: z.ZodString;
20181
20286
  }, {
20182
20287
  connected_account_id: z.ZodString;
20288
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20183
20289
  }>, {
20184
20290
  event_type: z.ZodLiteral<"connected_account.created">;
20185
20291
  connect_webview_id: z.ZodString;
@@ -20191,6 +20297,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20191
20297
  event_id: string;
20192
20298
  occurred_at: string;
20193
20299
  event_type: "connected_account.created";
20300
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20194
20301
  }, {
20195
20302
  workspace_id: string;
20196
20303
  created_at: string;
@@ -20199,6 +20306,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20199
20306
  event_id: string;
20200
20307
  occurred_at: string;
20201
20308
  event_type: "connected_account.created";
20309
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20202
20310
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20203
20311
  event_id: z.ZodString;
20204
20312
  workspace_id: z.ZodString;
@@ -20206,6 +20314,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20206
20314
  occurred_at: z.ZodString;
20207
20315
  }, {
20208
20316
  connected_account_id: z.ZodString;
20317
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20209
20318
  }>, {
20210
20319
  event_type: z.ZodLiteral<"connected_account.successful_login">;
20211
20320
  connect_webview_id: z.ZodString;
@@ -20217,6 +20326,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20217
20326
  event_id: string;
20218
20327
  occurred_at: string;
20219
20328
  event_type: "connected_account.successful_login";
20329
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20220
20330
  }, {
20221
20331
  workspace_id: string;
20222
20332
  created_at: string;
@@ -20225,6 +20335,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20225
20335
  event_id: string;
20226
20336
  occurred_at: string;
20227
20337
  event_type: "connected_account.successful_login";
20338
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20228
20339
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20229
20340
  event_id: z.ZodString;
20230
20341
  workspace_id: z.ZodString;
@@ -20232,6 +20343,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20232
20343
  occurred_at: z.ZodString;
20233
20344
  }, {
20234
20345
  connected_account_id: z.ZodString;
20346
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20235
20347
  }>, {
20236
20348
  event_type: z.ZodLiteral<"connected_account.disconnected">;
20237
20349
  }>, "strip", z.ZodTypeAny, {
@@ -20241,6 +20353,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20241
20353
  event_id: string;
20242
20354
  occurred_at: string;
20243
20355
  event_type: "connected_account.disconnected";
20356
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20244
20357
  }, {
20245
20358
  workspace_id: string;
20246
20359
  created_at: string;
@@ -20248,6 +20361,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20248
20361
  event_id: string;
20249
20362
  occurred_at: string;
20250
20363
  event_type: "connected_account.disconnected";
20364
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20251
20365
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20252
20366
  event_id: z.ZodString;
20253
20367
  workspace_id: z.ZodString;
@@ -20255,6 +20369,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20255
20369
  occurred_at: z.ZodString;
20256
20370
  }, {
20257
20371
  connected_account_id: z.ZodString;
20372
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20258
20373
  }>, {
20259
20374
  event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
20260
20375
  }>, "strip", z.ZodTypeAny, {
@@ -20264,6 +20379,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20264
20379
  event_id: string;
20265
20380
  occurred_at: string;
20266
20381
  event_type: "connected_account.completed_first_sync";
20382
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20267
20383
  }, {
20268
20384
  workspace_id: string;
20269
20385
  created_at: string;
@@ -20271,6 +20387,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20271
20387
  event_id: string;
20272
20388
  occurred_at: string;
20273
20389
  event_type: "connected_account.completed_first_sync";
20390
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20274
20391
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20275
20392
  event_id: z.ZodString;
20276
20393
  workspace_id: z.ZodString;
@@ -20278,6 +20395,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20278
20395
  occurred_at: z.ZodString;
20279
20396
  }, {
20280
20397
  connected_account_id: z.ZodString;
20398
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20281
20399
  }>, {
20282
20400
  event_type: z.ZodLiteral<"connected_account.deleted">;
20283
20401
  }>, "strip", z.ZodTypeAny, {
@@ -20287,6 +20405,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20287
20405
  event_id: string;
20288
20406
  occurred_at: string;
20289
20407
  event_type: "connected_account.deleted";
20408
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20290
20409
  }, {
20291
20410
  workspace_id: string;
20292
20411
  created_at: string;
@@ -20294,6 +20413,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20294
20413
  event_id: string;
20295
20414
  occurred_at: string;
20296
20415
  event_type: "connected_account.deleted";
20416
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20297
20417
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20298
20418
  event_id: z.ZodString;
20299
20419
  workspace_id: z.ZodString;
@@ -20301,6 +20421,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20301
20421
  occurred_at: z.ZodString;
20302
20422
  }, {
20303
20423
  connected_account_id: z.ZodString;
20424
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20304
20425
  }>, {
20305
20426
  event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
20306
20427
  }>, "strip", z.ZodTypeAny, {
@@ -20310,6 +20431,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20310
20431
  event_id: string;
20311
20432
  occurred_at: string;
20312
20433
  event_type: "connected_account.completed_first_sync_after_reconnection";
20434
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20313
20435
  }, {
20314
20436
  workspace_id: string;
20315
20437
  created_at: string;
@@ -20317,6 +20439,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20317
20439
  event_id: string;
20318
20440
  occurred_at: string;
20319
20441
  event_type: "connected_account.completed_first_sync_after_reconnection";
20442
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20320
20443
  }>, ...(z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20321
20444
  event_id: z.ZodString;
20322
20445
  workspace_id: z.ZodString;
@@ -20443,6 +20566,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20443
20566
  }>, {
20444
20567
  event_type: z.ZodLiteral<"connect_webview.login_succeeded">;
20445
20568
  connected_account_id: z.ZodString;
20569
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20446
20570
  }>, "strip", z.ZodTypeAny, {
20447
20571
  workspace_id: string;
20448
20572
  created_at: string;
@@ -20451,6 +20575,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20451
20575
  event_id: string;
20452
20576
  occurred_at: string;
20453
20577
  event_type: "connect_webview.login_succeeded";
20578
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20454
20579
  }, {
20455
20580
  workspace_id: string;
20456
20581
  created_at: string;
@@ -20459,6 +20584,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20459
20584
  event_id: string;
20460
20585
  occurred_at: string;
20461
20586
  event_type: "connect_webview.login_succeeded";
20587
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20462
20588
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20463
20589
  event_id: z.ZodString;
20464
20590
  workspace_id: z.ZodString;
@@ -20490,6 +20616,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20490
20616
  }, {
20491
20617
  device_id: z.ZodString;
20492
20618
  connected_account_id: z.ZodString;
20619
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20620
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20493
20621
  }>, {
20494
20622
  event_type: z.ZodLiteral<"device.connected">;
20495
20623
  }>, "strip", z.ZodTypeAny, {
@@ -20500,6 +20628,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20500
20628
  event_id: string;
20501
20629
  occurred_at: string;
20502
20630
  event_type: "device.connected";
20631
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20632
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20503
20633
  }, {
20504
20634
  device_id: string;
20505
20635
  workspace_id: string;
@@ -20508,6 +20638,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20508
20638
  event_id: string;
20509
20639
  occurred_at: string;
20510
20640
  event_type: "device.connected";
20641
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20642
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20511
20643
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20512
20644
  event_id: z.ZodString;
20513
20645
  workspace_id: z.ZodString;
@@ -20516,6 +20648,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20516
20648
  }, {
20517
20649
  device_id: z.ZodString;
20518
20650
  connected_account_id: z.ZodString;
20651
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20652
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20519
20653
  }>, {
20520
20654
  event_type: z.ZodLiteral<"device.added">;
20521
20655
  }>, "strip", z.ZodTypeAny, {
@@ -20526,6 +20660,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20526
20660
  event_id: string;
20527
20661
  occurred_at: string;
20528
20662
  event_type: "device.added";
20663
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20664
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20529
20665
  }, {
20530
20666
  device_id: string;
20531
20667
  workspace_id: string;
@@ -20534,6 +20670,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20534
20670
  event_id: string;
20535
20671
  occurred_at: string;
20536
20672
  event_type: "device.added";
20673
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20674
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20537
20675
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20538
20676
  event_id: z.ZodString;
20539
20677
  workspace_id: z.ZodString;
@@ -20542,6 +20680,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20542
20680
  }, {
20543
20681
  device_id: z.ZodString;
20544
20682
  connected_account_id: z.ZodString;
20683
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20684
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20545
20685
  }>, {
20546
20686
  event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
20547
20687
  }>, "strip", z.ZodTypeAny, {
@@ -20552,6 +20692,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20552
20692
  event_id: string;
20553
20693
  occurred_at: string;
20554
20694
  event_type: "device.converted_to_unmanaged";
20695
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20696
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20555
20697
  }, {
20556
20698
  device_id: string;
20557
20699
  workspace_id: string;
@@ -20560,6 +20702,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20560
20702
  event_id: string;
20561
20703
  occurred_at: string;
20562
20704
  event_type: "device.converted_to_unmanaged";
20705
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20706
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20563
20707
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20564
20708
  event_id: z.ZodString;
20565
20709
  workspace_id: z.ZodString;
@@ -20568,6 +20712,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20568
20712
  }, {
20569
20713
  device_id: z.ZodString;
20570
20714
  connected_account_id: z.ZodString;
20715
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20716
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20571
20717
  }>, {
20572
20718
  event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
20573
20719
  }>, "strip", z.ZodTypeAny, {
@@ -20578,6 +20724,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20578
20724
  event_id: string;
20579
20725
  occurred_at: string;
20580
20726
  event_type: "device.unmanaged.converted_to_managed";
20727
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20728
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20581
20729
  }, {
20582
20730
  device_id: string;
20583
20731
  workspace_id: string;
@@ -20586,6 +20734,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20586
20734
  event_id: string;
20587
20735
  occurred_at: string;
20588
20736
  event_type: "device.unmanaged.converted_to_managed";
20737
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20738
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20589
20739
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20590
20740
  event_id: z.ZodString;
20591
20741
  workspace_id: z.ZodString;
@@ -20594,6 +20744,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20594
20744
  }, {
20595
20745
  device_id: z.ZodString;
20596
20746
  connected_account_id: z.ZodString;
20747
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20748
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20597
20749
  }>, {
20598
20750
  event_type: z.ZodLiteral<"device.unmanaged.connected">;
20599
20751
  }>, "strip", z.ZodTypeAny, {
@@ -20604,6 +20756,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20604
20756
  event_id: string;
20605
20757
  occurred_at: string;
20606
20758
  event_type: "device.unmanaged.connected";
20759
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20760
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20607
20761
  }, {
20608
20762
  device_id: string;
20609
20763
  workspace_id: string;
@@ -20612,6 +20766,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20612
20766
  event_id: string;
20613
20767
  occurred_at: string;
20614
20768
  event_type: "device.unmanaged.connected";
20769
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20770
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20615
20771
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20616
20772
  event_id: z.ZodString;
20617
20773
  workspace_id: z.ZodString;
@@ -20620,6 +20776,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20620
20776
  }, {
20621
20777
  device_id: z.ZodString;
20622
20778
  connected_account_id: z.ZodString;
20779
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20780
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20623
20781
  }>, {
20624
20782
  event_type: z.ZodLiteral<"device.disconnected">;
20625
20783
  error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
@@ -20632,6 +20790,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20632
20790
  event_id: string;
20633
20791
  occurred_at: string;
20634
20792
  event_type: "device.disconnected";
20793
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20794
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20635
20795
  }, {
20636
20796
  device_id: string;
20637
20797
  workspace_id: string;
@@ -20641,6 +20801,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20641
20801
  event_id: string;
20642
20802
  occurred_at: string;
20643
20803
  event_type: "device.disconnected";
20804
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20805
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20644
20806
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20645
20807
  event_id: z.ZodString;
20646
20808
  workspace_id: z.ZodString;
@@ -20649,6 +20811,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20649
20811
  }, {
20650
20812
  device_id: z.ZodString;
20651
20813
  connected_account_id: z.ZodString;
20814
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20815
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20652
20816
  }>, {
20653
20817
  event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
20654
20818
  error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
@@ -20661,6 +20825,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20661
20825
  event_id: string;
20662
20826
  occurred_at: string;
20663
20827
  event_type: "device.unmanaged.disconnected";
20828
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20829
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20664
20830
  }, {
20665
20831
  device_id: string;
20666
20832
  workspace_id: string;
@@ -20670,6 +20836,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20670
20836
  event_id: string;
20671
20837
  occurred_at: string;
20672
20838
  event_type: "device.unmanaged.disconnected";
20839
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20840
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20673
20841
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20674
20842
  event_id: z.ZodString;
20675
20843
  workspace_id: z.ZodString;
@@ -20678,6 +20846,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20678
20846
  }, {
20679
20847
  device_id: z.ZodString;
20680
20848
  connected_account_id: z.ZodString;
20849
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20850
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20681
20851
  }>, {
20682
20852
  event_type: z.ZodLiteral<"device.tampered">;
20683
20853
  }>, "strip", z.ZodTypeAny, {
@@ -20688,6 +20858,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20688
20858
  event_id: string;
20689
20859
  occurred_at: string;
20690
20860
  event_type: "device.tampered";
20861
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20862
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20691
20863
  }, {
20692
20864
  device_id: string;
20693
20865
  workspace_id: string;
@@ -20696,6 +20868,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20696
20868
  event_id: string;
20697
20869
  occurred_at: string;
20698
20870
  event_type: "device.tampered";
20871
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20872
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20699
20873
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20700
20874
  event_id: z.ZodString;
20701
20875
  workspace_id: z.ZodString;
@@ -20704,6 +20878,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20704
20878
  }, {
20705
20879
  device_id: z.ZodString;
20706
20880
  connected_account_id: z.ZodString;
20881
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20882
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20707
20883
  }>, {
20708
20884
  event_type: z.ZodLiteral<"device.low_battery">;
20709
20885
  battery_level: z.ZodNumber;
@@ -20716,6 +20892,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20716
20892
  event_id: string;
20717
20893
  occurred_at: string;
20718
20894
  event_type: "device.low_battery";
20895
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20896
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20719
20897
  }, {
20720
20898
  device_id: string;
20721
20899
  workspace_id: string;
@@ -20725,6 +20903,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20725
20903
  event_id: string;
20726
20904
  occurred_at: string;
20727
20905
  event_type: "device.low_battery";
20906
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20907
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20728
20908
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20729
20909
  event_id: z.ZodString;
20730
20910
  workspace_id: z.ZodString;
@@ -20733,6 +20913,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20733
20913
  }, {
20734
20914
  device_id: z.ZodString;
20735
20915
  connected_account_id: z.ZodString;
20916
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20917
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20736
20918
  }>, {
20737
20919
  event_type: z.ZodLiteral<"device.battery_status_changed">;
20738
20920
  battery_status: z.ZodEnum<["critical", "low", "good", "full"]>;
@@ -20747,6 +20929,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20747
20929
  occurred_at: string;
20748
20930
  event_type: "device.battery_status_changed";
20749
20931
  battery_status: "critical" | "low" | "good" | "full";
20932
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20933
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20750
20934
  }, {
20751
20935
  device_id: string;
20752
20936
  workspace_id: string;
@@ -20757,6 +20941,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20757
20941
  occurred_at: string;
20758
20942
  event_type: "device.battery_status_changed";
20759
20943
  battery_status: "critical" | "low" | "good" | "full";
20944
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20945
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20760
20946
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20761
20947
  event_id: z.ZodString;
20762
20948
  workspace_id: z.ZodString;
@@ -20765,6 +20951,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20765
20951
  }, {
20766
20952
  device_id: z.ZodString;
20767
20953
  connected_account_id: z.ZodString;
20954
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20955
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20768
20956
  }>, {
20769
20957
  event_type: z.ZodLiteral<"device.removed">;
20770
20958
  }>, "strip", z.ZodTypeAny, {
@@ -20775,6 +20963,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20775
20963
  event_id: string;
20776
20964
  occurred_at: string;
20777
20965
  event_type: "device.removed";
20966
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20967
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20778
20968
  }, {
20779
20969
  device_id: string;
20780
20970
  workspace_id: string;
@@ -20783,6 +20973,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20783
20973
  event_id: string;
20784
20974
  occurred_at: string;
20785
20975
  event_type: "device.removed";
20976
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20977
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20786
20978
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20787
20979
  event_id: z.ZodString;
20788
20980
  workspace_id: z.ZodString;
@@ -20791,6 +20983,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20791
20983
  }, {
20792
20984
  device_id: z.ZodString;
20793
20985
  connected_account_id: z.ZodString;
20986
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20987
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20794
20988
  }>, {
20795
20989
  event_type: z.ZodLiteral<"device.deleted">;
20796
20990
  }>, "strip", z.ZodTypeAny, {
@@ -20801,6 +20995,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20801
20995
  event_id: string;
20802
20996
  occurred_at: string;
20803
20997
  event_type: "device.deleted";
20998
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
20999
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20804
21000
  }, {
20805
21001
  device_id: string;
20806
21002
  workspace_id: string;
@@ -20809,6 +21005,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20809
21005
  event_id: string;
20810
21006
  occurred_at: string;
20811
21007
  event_type: "device.deleted";
21008
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21009
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20812
21010
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20813
21011
  event_id: z.ZodString;
20814
21012
  workspace_id: z.ZodString;
@@ -20817,6 +21015,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20817
21015
  }, {
20818
21016
  device_id: z.ZodString;
20819
21017
  connected_account_id: z.ZodString;
21018
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21019
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20820
21020
  }>, {
20821
21021
  event_type: z.ZodLiteral<"device.third_party_integration_detected">;
20822
21022
  }>, "strip", z.ZodTypeAny, {
@@ -20827,6 +21027,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20827
21027
  event_id: string;
20828
21028
  occurred_at: string;
20829
21029
  event_type: "device.third_party_integration_detected";
21030
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21031
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20830
21032
  }, {
20831
21033
  device_id: string;
20832
21034
  workspace_id: string;
@@ -20835,6 +21037,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20835
21037
  event_id: string;
20836
21038
  occurred_at: string;
20837
21039
  event_type: "device.third_party_integration_detected";
21040
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21041
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20838
21042
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20839
21043
  event_id: z.ZodString;
20840
21044
  workspace_id: z.ZodString;
@@ -20843,6 +21047,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20843
21047
  }, {
20844
21048
  device_id: z.ZodString;
20845
21049
  connected_account_id: z.ZodString;
21050
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21051
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20846
21052
  }>, {
20847
21053
  event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
20848
21054
  }>, "strip", z.ZodTypeAny, {
@@ -20853,6 +21059,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20853
21059
  event_id: string;
20854
21060
  occurred_at: string;
20855
21061
  event_type: "device.third_party_integration_no_longer_detected";
21062
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21063
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20856
21064
  }, {
20857
21065
  device_id: string;
20858
21066
  workspace_id: string;
@@ -20861,6 +21069,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20861
21069
  event_id: string;
20862
21070
  occurred_at: string;
20863
21071
  event_type: "device.third_party_integration_no_longer_detected";
21072
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21073
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20864
21074
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20865
21075
  event_id: z.ZodString;
20866
21076
  workspace_id: z.ZodString;
@@ -20869,6 +21079,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20869
21079
  }, {
20870
21080
  device_id: z.ZodString;
20871
21081
  connected_account_id: z.ZodString;
21082
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21083
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20872
21084
  }>, {
20873
21085
  event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
20874
21086
  }>, "strip", z.ZodTypeAny, {
@@ -20879,6 +21091,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20879
21091
  event_id: string;
20880
21092
  occurred_at: string;
20881
21093
  event_type: "device.salto.privacy_mode_activated";
21094
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21095
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20882
21096
  }, {
20883
21097
  device_id: string;
20884
21098
  workspace_id: string;
@@ -20887,6 +21101,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20887
21101
  event_id: string;
20888
21102
  occurred_at: string;
20889
21103
  event_type: "device.salto.privacy_mode_activated";
21104
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21105
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20890
21106
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20891
21107
  event_id: z.ZodString;
20892
21108
  workspace_id: z.ZodString;
@@ -20895,6 +21111,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20895
21111
  }, {
20896
21112
  device_id: z.ZodString;
20897
21113
  connected_account_id: z.ZodString;
21114
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21115
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20898
21116
  }>, {
20899
21117
  event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
20900
21118
  }>, "strip", z.ZodTypeAny, {
@@ -20905,6 +21123,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20905
21123
  event_id: string;
20906
21124
  occurred_at: string;
20907
21125
  event_type: "device.salto.privacy_mode_deactivated";
21126
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21127
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20908
21128
  }, {
20909
21129
  device_id: string;
20910
21130
  workspace_id: string;
@@ -20913,6 +21133,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20913
21133
  event_id: string;
20914
21134
  occurred_at: string;
20915
21135
  event_type: "device.salto.privacy_mode_deactivated";
21136
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21137
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20916
21138
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20917
21139
  event_id: z.ZodString;
20918
21140
  workspace_id: z.ZodString;
@@ -20921,6 +21143,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20921
21143
  }, {
20922
21144
  device_id: z.ZodString;
20923
21145
  connected_account_id: z.ZodString;
21146
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21147
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20924
21148
  }>, {
20925
21149
  event_type: z.ZodLiteral<"device.connection_became_flaky">;
20926
21150
  }>, "strip", z.ZodTypeAny, {
@@ -20931,6 +21155,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20931
21155
  event_id: string;
20932
21156
  occurred_at: string;
20933
21157
  event_type: "device.connection_became_flaky";
21158
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21159
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20934
21160
  }, {
20935
21161
  device_id: string;
20936
21162
  workspace_id: string;
@@ -20939,6 +21165,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20939
21165
  event_id: string;
20940
21166
  occurred_at: string;
20941
21167
  event_type: "device.connection_became_flaky";
21168
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21169
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20942
21170
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20943
21171
  event_id: z.ZodString;
20944
21172
  workspace_id: z.ZodString;
@@ -20947,6 +21175,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20947
21175
  }, {
20948
21176
  device_id: z.ZodString;
20949
21177
  connected_account_id: z.ZodString;
21178
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21179
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20950
21180
  }>, {
20951
21181
  event_type: z.ZodLiteral<"device.connection_stabilized">;
20952
21182
  }>, "strip", z.ZodTypeAny, {
@@ -20957,6 +21187,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20957
21187
  event_id: string;
20958
21188
  occurred_at: string;
20959
21189
  event_type: "device.connection_stabilized";
21190
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21191
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20960
21192
  }, {
20961
21193
  device_id: string;
20962
21194
  workspace_id: string;
@@ -20965,6 +21197,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20965
21197
  event_id: string;
20966
21198
  occurred_at: string;
20967
21199
  event_type: "device.connection_stabilized";
21200
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21201
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20968
21202
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20969
21203
  event_id: z.ZodString;
20970
21204
  workspace_id: z.ZodString;
@@ -20973,6 +21207,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20973
21207
  }, {
20974
21208
  device_id: z.ZodString;
20975
21209
  connected_account_id: z.ZodString;
21210
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21211
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
20976
21212
  }>, {
20977
21213
  event_type: z.ZodLiteral<"device.error.subscription_required">;
20978
21214
  }>, "strip", z.ZodTypeAny, {
@@ -20983,6 +21219,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20983
21219
  event_id: string;
20984
21220
  occurred_at: string;
20985
21221
  event_type: "device.error.subscription_required";
21222
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21223
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20986
21224
  }, {
20987
21225
  device_id: string;
20988
21226
  workspace_id: string;
@@ -20991,6 +21229,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20991
21229
  event_id: string;
20992
21230
  occurred_at: string;
20993
21231
  event_type: "device.error.subscription_required";
21232
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21233
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
20994
21234
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20995
21235
  event_id: z.ZodString;
20996
21236
  workspace_id: z.ZodString;
@@ -20999,6 +21239,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
20999
21239
  }, {
21000
21240
  device_id: z.ZodString;
21001
21241
  connected_account_id: z.ZodString;
21242
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21243
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21002
21244
  }>, {
21003
21245
  event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
21004
21246
  }>, "strip", z.ZodTypeAny, {
@@ -21009,6 +21251,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21009
21251
  event_id: string;
21010
21252
  occurred_at: string;
21011
21253
  event_type: "device.error.subscription_required.resolved";
21254
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21255
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21012
21256
  }, {
21013
21257
  device_id: string;
21014
21258
  workspace_id: string;
@@ -21017,6 +21261,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21017
21261
  event_id: string;
21018
21262
  occurred_at: string;
21019
21263
  event_type: "device.error.subscription_required.resolved";
21264
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21265
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21020
21266
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
21021
21267
  event_id: z.ZodString;
21022
21268
  workspace_id: z.ZodString;
@@ -21025,6 +21271,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21025
21271
  }, {
21026
21272
  device_id: z.ZodString;
21027
21273
  connected_account_id: z.ZodString;
21274
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21275
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21028
21276
  }>, {
21029
21277
  event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
21030
21278
  }>, "strip", z.ZodTypeAny, {
@@ -21035,6 +21283,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21035
21283
  event_id: string;
21036
21284
  occurred_at: string;
21037
21285
  event_type: "device.accessory_keypad_connected";
21286
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21287
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21038
21288
  }, {
21039
21289
  device_id: string;
21040
21290
  workspace_id: string;
@@ -21043,6 +21293,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21043
21293
  event_id: string;
21044
21294
  occurred_at: string;
21045
21295
  event_type: "device.accessory_keypad_connected";
21296
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21297
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21046
21298
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
21047
21299
  event_id: z.ZodString;
21048
21300
  workspace_id: z.ZodString;
@@ -21051,6 +21303,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21051
21303
  }, {
21052
21304
  device_id: z.ZodString;
21053
21305
  connected_account_id: z.ZodString;
21306
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21307
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21054
21308
  }>, {
21055
21309
  event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
21056
21310
  }>, "strip", z.ZodTypeAny, {
@@ -21061,6 +21315,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21061
21315
  event_id: string;
21062
21316
  occurred_at: string;
21063
21317
  event_type: "device.accessory_keypad_disconnected";
21318
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21319
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21064
21320
  }, {
21065
21321
  device_id: string;
21066
21322
  workspace_id: string;
@@ -21069,6 +21325,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21069
21325
  event_id: string;
21070
21326
  occurred_at: string;
21071
21327
  event_type: "device.accessory_keypad_disconnected";
21328
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21329
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21072
21330
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
21073
21331
  event_id: z.ZodString;
21074
21332
  workspace_id: z.ZodString;
@@ -21077,6 +21335,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21077
21335
  }, {
21078
21336
  device_id: z.ZodString;
21079
21337
  connected_account_id: z.ZodString;
21338
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21339
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21080
21340
  }>, {
21081
21341
  event_type: z.ZodLiteral<"noise_sensor.noise_threshold_triggered">;
21082
21342
  noise_level_decibels: z.ZodOptional<z.ZodNumber>;
@@ -21097,6 +21357,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21097
21357
  noiseaware_metadata?: Record<string, unknown> | undefined;
21098
21358
  minut_metadata?: Record<string, unknown> | undefined;
21099
21359
  noise_level_decibels?: number | undefined;
21360
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21361
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21100
21362
  noise_threshold_id?: string | undefined;
21101
21363
  noise_threshold_name?: string | undefined;
21102
21364
  }, {
@@ -21111,6 +21373,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21111
21373
  noiseaware_metadata?: Record<string, unknown> | undefined;
21112
21374
  minut_metadata?: Record<string, unknown> | undefined;
21113
21375
  noise_level_decibels?: number | undefined;
21376
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21377
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21114
21378
  noise_threshold_id?: string | undefined;
21115
21379
  noise_threshold_name?: string | undefined;
21116
21380
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -21121,6 +21385,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21121
21385
  }, {
21122
21386
  device_id: z.ZodString;
21123
21387
  connected_account_id: z.ZodString;
21388
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21389
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21124
21390
  }>, {
21125
21391
  event_type: z.ZodLiteral<"lock.locked">;
21126
21392
  access_code_id: z.ZodOptional<z.ZodString>;
@@ -21137,6 +21403,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21137
21403
  event_type: "lock.locked";
21138
21404
  access_code_id?: string | undefined;
21139
21405
  action_attempt_id?: string | undefined;
21406
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21407
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21140
21408
  }, {
21141
21409
  device_id: string;
21142
21410
  workspace_id: string;
@@ -21148,6 +21416,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21148
21416
  event_type: "lock.locked";
21149
21417
  access_code_id?: string | undefined;
21150
21418
  action_attempt_id?: string | undefined;
21419
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21420
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21151
21421
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
21152
21422
  event_id: z.ZodString;
21153
21423
  workspace_id: z.ZodString;
@@ -21156,6 +21426,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21156
21426
  }, {
21157
21427
  device_id: z.ZodString;
21158
21428
  connected_account_id: z.ZodString;
21429
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21430
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21159
21431
  }>, {
21160
21432
  event_type: z.ZodLiteral<"lock.unlocked">;
21161
21433
  access_code_id: z.ZodOptional<z.ZodString>;
@@ -21172,6 +21444,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21172
21444
  event_type: "lock.unlocked";
21173
21445
  access_code_id?: string | undefined;
21174
21446
  action_attempt_id?: string | undefined;
21447
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21448
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21175
21449
  }, {
21176
21450
  device_id: string;
21177
21451
  workspace_id: string;
@@ -21183,6 +21457,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21183
21457
  event_type: "lock.unlocked";
21184
21458
  access_code_id?: string | undefined;
21185
21459
  action_attempt_id?: string | undefined;
21460
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21461
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21186
21462
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
21187
21463
  event_id: z.ZodString;
21188
21464
  workspace_id: z.ZodString;
@@ -21191,6 +21467,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21191
21467
  }, {
21192
21468
  device_id: z.ZodString;
21193
21469
  connected_account_id: z.ZodString;
21470
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21471
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21194
21472
  }>, {
21195
21473
  event_type: z.ZodLiteral<"lock.access_denied">;
21196
21474
  access_code_id: z.ZodOptional<z.ZodString>;
@@ -21203,6 +21481,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21203
21481
  occurred_at: string;
21204
21482
  event_type: "lock.access_denied";
21205
21483
  access_code_id?: string | undefined;
21484
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21485
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21206
21486
  }, {
21207
21487
  device_id: string;
21208
21488
  workspace_id: string;
@@ -21212,6 +21492,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21212
21492
  occurred_at: string;
21213
21493
  event_type: "lock.access_denied";
21214
21494
  access_code_id?: string | undefined;
21495
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21496
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21215
21497
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
21216
21498
  event_id: z.ZodString;
21217
21499
  workspace_id: z.ZodString;
@@ -21220,6 +21502,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21220
21502
  }, {
21221
21503
  device_id: z.ZodString;
21222
21504
  connected_account_id: z.ZodString;
21505
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21506
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21223
21507
  }>, {
21224
21508
  event_type: z.ZodLiteral<"thermostat.climate_preset_activated">;
21225
21509
  thermostat_schedule_id: z.ZodNullable<z.ZodString>;
@@ -21236,6 +21520,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21236
21520
  occurred_at: string;
21237
21521
  event_type: "thermostat.climate_preset_activated";
21238
21522
  is_fallback_climate_preset: boolean;
21523
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21524
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21239
21525
  }, {
21240
21526
  climate_preset_key: string;
21241
21527
  device_id: string;
@@ -21247,6 +21533,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21247
21533
  occurred_at: string;
21248
21534
  event_type: "thermostat.climate_preset_activated";
21249
21535
  is_fallback_climate_preset: boolean;
21536
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21537
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21250
21538
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
21251
21539
  event_id: z.ZodString;
21252
21540
  workspace_id: z.ZodString;
@@ -21255,6 +21543,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21255
21543
  }, {
21256
21544
  device_id: z.ZodString;
21257
21545
  connected_account_id: z.ZodString;
21546
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21547
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21258
21548
  }>, {
21259
21549
  event_type: z.ZodLiteral<"thermostat.manually_adjusted">;
21260
21550
  method: z.ZodEnum<["seam", "external"]>;
@@ -21301,6 +21591,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21301
21591
  heating_set_point_celsius?: number | undefined;
21302
21592
  cooling_set_point_fahrenheit?: number | undefined;
21303
21593
  heating_set_point_fahrenheit?: number | undefined;
21594
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21595
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21304
21596
  }, {
21305
21597
  device_id: string;
21306
21598
  workspace_id: string;
@@ -21316,6 +21608,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21316
21608
  heating_set_point_celsius?: number | undefined;
21317
21609
  cooling_set_point_fahrenheit?: number | undefined;
21318
21610
  heating_set_point_fahrenheit?: number | undefined;
21611
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21612
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21319
21613
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
21320
21614
  event_id: z.ZodString;
21321
21615
  workspace_id: z.ZodString;
@@ -21324,6 +21618,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21324
21618
  }, {
21325
21619
  device_id: z.ZodString;
21326
21620
  connected_account_id: z.ZodString;
21621
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21622
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21327
21623
  }>, {
21328
21624
  event_type: z.ZodLiteral<"thermostat.temperature_threshold_exceeded">;
21329
21625
  temperature_celsius: z.ZodNumber;
@@ -21346,6 +21642,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21346
21642
  event_id: string;
21347
21643
  occurred_at: string;
21348
21644
  event_type: "thermostat.temperature_threshold_exceeded";
21645
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21646
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21349
21647
  }, {
21350
21648
  device_id: string;
21351
21649
  workspace_id: string;
@@ -21360,6 +21658,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21360
21658
  event_id: string;
21361
21659
  occurred_at: string;
21362
21660
  event_type: "thermostat.temperature_threshold_exceeded";
21661
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21662
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21363
21663
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
21364
21664
  event_id: z.ZodString;
21365
21665
  workspace_id: z.ZodString;
@@ -21368,6 +21668,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21368
21668
  }, {
21369
21669
  device_id: z.ZodString;
21370
21670
  connected_account_id: z.ZodString;
21671
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21672
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21371
21673
  }>, {
21372
21674
  event_type: z.ZodLiteral<"thermostat.temperature_threshold_no_longer_exceeded">;
21373
21675
  temperature_celsius: z.ZodNumber;
@@ -21390,6 +21692,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21390
21692
  event_id: string;
21391
21693
  occurred_at: string;
21392
21694
  event_type: "thermostat.temperature_threshold_no_longer_exceeded";
21695
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21696
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21393
21697
  }, {
21394
21698
  device_id: string;
21395
21699
  workspace_id: string;
@@ -21404,6 +21708,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21404
21708
  event_id: string;
21405
21709
  occurred_at: string;
21406
21710
  event_type: "thermostat.temperature_threshold_no_longer_exceeded";
21711
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21712
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21407
21713
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
21408
21714
  event_id: z.ZodString;
21409
21715
  workspace_id: z.ZodString;
@@ -21412,6 +21718,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21412
21718
  }, {
21413
21719
  device_id: z.ZodString;
21414
21720
  connected_account_id: z.ZodString;
21721
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21722
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21415
21723
  }>, {
21416
21724
  event_type: z.ZodLiteral<"thermostat.temperature_reached_set_point">;
21417
21725
  temperature_celsius: z.ZodNumber;
@@ -21428,6 +21736,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21428
21736
  event_id: string;
21429
21737
  occurred_at: string;
21430
21738
  event_type: "thermostat.temperature_reached_set_point";
21739
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21740
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21431
21741
  desired_temperature_celsius?: number | undefined;
21432
21742
  desired_temperature_fahrenheit?: number | undefined;
21433
21743
  }, {
@@ -21440,6 +21750,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21440
21750
  event_id: string;
21441
21751
  occurred_at: string;
21442
21752
  event_type: "thermostat.temperature_reached_set_point";
21753
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21754
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21443
21755
  desired_temperature_celsius?: number | undefined;
21444
21756
  desired_temperature_fahrenheit?: number | undefined;
21445
21757
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -21450,6 +21762,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21450
21762
  }, {
21451
21763
  device_id: z.ZodString;
21452
21764
  connected_account_id: z.ZodString;
21765
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21766
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21453
21767
  }>, {
21454
21768
  event_type: z.ZodLiteral<"thermostat.temperature_changed">;
21455
21769
  temperature_celsius: z.ZodNumber;
@@ -21464,6 +21778,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21464
21778
  event_id: string;
21465
21779
  occurred_at: string;
21466
21780
  event_type: "thermostat.temperature_changed";
21781
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21782
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21467
21783
  }, {
21468
21784
  device_id: string;
21469
21785
  workspace_id: string;
@@ -21474,6 +21790,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21474
21790
  event_id: string;
21475
21791
  occurred_at: string;
21476
21792
  event_type: "thermostat.temperature_changed";
21793
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21794
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21477
21795
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
21478
21796
  event_id: z.ZodString;
21479
21797
  workspace_id: z.ZodString;
@@ -21482,6 +21800,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21482
21800
  }, {
21483
21801
  device_id: z.ZodString;
21484
21802
  connected_account_id: z.ZodString;
21803
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21804
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21485
21805
  }>, {
21486
21806
  event_type: z.ZodLiteral<"device.name_changed">;
21487
21807
  device_name: z.ZodString;
@@ -21494,6 +21814,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21494
21814
  event_id: string;
21495
21815
  occurred_at: string;
21496
21816
  event_type: "device.name_changed";
21817
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21818
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21497
21819
  }, {
21498
21820
  device_id: string;
21499
21821
  workspace_id: string;
@@ -21503,6 +21825,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21503
21825
  event_id: string;
21504
21826
  occurred_at: string;
21505
21827
  event_type: "device.name_changed";
21828
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21829
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
21506
21830
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
21507
21831
  event_id: z.ZodString;
21508
21832
  workspace_id: z.ZodString;
@@ -21533,6 +21857,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21533
21857
  occurred_at: z.ZodString;
21534
21858
  }, {
21535
21859
  device_id: z.ZodString;
21860
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
21536
21861
  }>, {
21537
21862
  event_type: z.ZodLiteral<"phone.deactivated">;
21538
21863
  }>, "strip", z.ZodTypeAny, {
@@ -21542,6 +21867,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21542
21867
  event_id: string;
21543
21868
  occurred_at: string;
21544
21869
  event_type: "phone.deactivated";
21870
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21545
21871
  }, {
21546
21872
  device_id: string;
21547
21873
  workspace_id: string;
@@ -21549,6 +21875,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
21549
21875
  event_id: string;
21550
21876
  occurred_at: string;
21551
21877
  event_type: "phone.deactivated";
21878
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
21552
21879
  }>]>;
21553
21880
  type SeamEvent = z.infer<typeof seam_event>;
21554
21881
  type SeamEventType = SeamEvent['event_type'];
@@ -21845,6 +22172,7 @@ declare const user_identity: z.ZodObject<{
21845
22172
  created_at: string;
21846
22173
  warning_code: "acs_user_profile_does_not_match_user_identity";
21847
22174
  }>]>, "many">;
22175
+ acs_user_ids: z.ZodArray<z.ZodString, "many">;
21848
22176
  }, "strip", z.ZodTypeAny, {
21849
22177
  display_name: string;
21850
22178
  workspace_id: string;
@@ -21870,6 +22198,7 @@ declare const user_identity: z.ZodObject<{
21870
22198
  full_name: string | null;
21871
22199
  phone_number: string | null;
21872
22200
  user_identity_key: string | null;
22201
+ acs_user_ids: string[];
21873
22202
  }, {
21874
22203
  display_name: string;
21875
22204
  workspace_id: string;
@@ -21895,6 +22224,7 @@ declare const user_identity: z.ZodObject<{
21895
22224
  full_name: string | null;
21896
22225
  phone_number: string | null;
21897
22226
  user_identity_key: string | null;
22227
+ acs_user_ids: string[];
21898
22228
  }>;
21899
22229
  type UserIdentity = z.output<typeof user_identity>;
21900
22230
 
@@ -28759,6 +29089,15 @@ declare const _default: {
28759
29089
  format: string;
28760
29090
  type: string;
28761
29091
  };
29092
+ connected_account_custom_metadata: {
29093
+ additionalProperties: {
29094
+ oneOf: {
29095
+ type: string;
29096
+ }[];
29097
+ };
29098
+ description: string;
29099
+ type: string;
29100
+ };
28762
29101
  connected_account_id: {
28763
29102
  description: string;
28764
29103
  format: string;
@@ -28769,6 +29108,15 @@ declare const _default: {
28769
29108
  format: string;
28770
29109
  type: string;
28771
29110
  };
29111
+ device_custom_metadata: {
29112
+ additionalProperties: {
29113
+ oneOf: {
29114
+ type: string;
29115
+ }[];
29116
+ };
29117
+ description: string;
29118
+ type: string;
29119
+ };
28772
29120
  device_id: {
28773
29121
  description: string;
28774
29122
  format: string;
@@ -28856,6 +29204,15 @@ declare const _default: {
28856
29204
  type: string;
28857
29205
  nullable?: never;
28858
29206
  };
29207
+ connected_account_custom_metadata: {
29208
+ additionalProperties: {
29209
+ oneOf: {
29210
+ type: string;
29211
+ }[];
29212
+ };
29213
+ description: string;
29214
+ type: string;
29215
+ };
28859
29216
  connected_account_id: {
28860
29217
  description: string;
28861
29218
  format: string;
@@ -28866,6 +29223,15 @@ declare const _default: {
28866
29223
  format: string;
28867
29224
  type: string;
28868
29225
  };
29226
+ device_custom_metadata: {
29227
+ additionalProperties: {
29228
+ oneOf: {
29229
+ type: string;
29230
+ }[];
29231
+ };
29232
+ description: string;
29233
+ type: string;
29234
+ };
28869
29235
  device_id: {
28870
29236
  description: string;
28871
29237
  format: string;
@@ -28952,6 +29318,15 @@ declare const _default: {
28952
29318
  nullable: boolean;
28953
29319
  type: string;
28954
29320
  };
29321
+ connected_account_custom_metadata: {
29322
+ additionalProperties: {
29323
+ oneOf: {
29324
+ type: string;
29325
+ }[];
29326
+ };
29327
+ description: string;
29328
+ type: string;
29329
+ };
28955
29330
  connected_account_id: {
28956
29331
  description: string;
28957
29332
  format: string;
@@ -28962,6 +29337,15 @@ declare const _default: {
28962
29337
  format: string;
28963
29338
  type: string;
28964
29339
  };
29340
+ device_custom_metadata: {
29341
+ additionalProperties: {
29342
+ oneOf: {
29343
+ type: string;
29344
+ }[];
29345
+ };
29346
+ description: string;
29347
+ type: string;
29348
+ };
28965
29349
  device_id: {
28966
29350
  description: string;
28967
29351
  format: string;
@@ -29046,6 +29430,15 @@ declare const _default: {
29046
29430
  backup_access_code_id: {
29047
29431
  type: string;
29048
29432
  };
29433
+ connected_account_custom_metadata: {
29434
+ additionalProperties: {
29435
+ oneOf: {
29436
+ type: string;
29437
+ }[];
29438
+ };
29439
+ description: string;
29440
+ type: string;
29441
+ };
29049
29442
  connected_account_id: {
29050
29443
  description: string;
29051
29444
  format: string;
@@ -29056,6 +29449,15 @@ declare const _default: {
29056
29449
  format: string;
29057
29450
  type: string;
29058
29451
  };
29452
+ device_custom_metadata: {
29453
+ additionalProperties: {
29454
+ oneOf: {
29455
+ type: string;
29456
+ }[];
29457
+ };
29458
+ description: string;
29459
+ type: string;
29460
+ };
29059
29461
  device_id: {
29060
29462
  description: string;
29061
29463
  format: string;
@@ -29162,7 +29564,9 @@ declare const _default: {
29162
29564
  type: string;
29163
29565
  };
29164
29566
  access_code_id?: never;
29567
+ connected_account_custom_metadata?: never;
29165
29568
  connected_account_id?: never;
29569
+ device_custom_metadata?: never;
29166
29570
  device_id?: never;
29167
29571
  code?: never;
29168
29572
  backup_access_code_id?: never;
@@ -29251,7 +29655,9 @@ declare const _default: {
29251
29655
  type: string;
29252
29656
  };
29253
29657
  access_code_id?: never;
29658
+ connected_account_custom_metadata?: never;
29254
29659
  connected_account_id?: never;
29660
+ device_custom_metadata?: never;
29255
29661
  device_id?: never;
29256
29662
  code?: never;
29257
29663
  backup_access_code_id?: never;
@@ -29334,7 +29740,9 @@ declare const _default: {
29334
29740
  type: string;
29335
29741
  };
29336
29742
  access_code_id?: never;
29743
+ connected_account_custom_metadata?: never;
29337
29744
  connected_account_id?: never;
29745
+ device_custom_metadata?: never;
29338
29746
  device_id?: never;
29339
29747
  code?: never;
29340
29748
  backup_access_code_id?: never;
@@ -29423,6 +29831,8 @@ declare const _default: {
29423
29831
  type: string;
29424
29832
  };
29425
29833
  access_code_id?: never;
29834
+ connected_account_custom_metadata?: never;
29835
+ device_custom_metadata?: never;
29426
29836
  device_id?: never;
29427
29837
  code?: never;
29428
29838
  backup_access_code_id?: never;
@@ -29516,6 +29926,8 @@ declare const _default: {
29516
29926
  type: string;
29517
29927
  };
29518
29928
  access_code_id?: never;
29929
+ connected_account_custom_metadata?: never;
29930
+ device_custom_metadata?: never;
29519
29931
  device_id?: never;
29520
29932
  code?: never;
29521
29933
  backup_access_code_id?: never;
@@ -29607,6 +30019,8 @@ declare const _default: {
29607
30019
  type: string;
29608
30020
  };
29609
30021
  access_code_id?: never;
30022
+ connected_account_custom_metadata?: never;
30023
+ device_custom_metadata?: never;
29610
30024
  device_id?: never;
29611
30025
  code?: never;
29612
30026
  backup_access_code_id?: never;
@@ -29699,6 +30113,8 @@ declare const _default: {
29699
30113
  type: string;
29700
30114
  };
29701
30115
  access_code_id?: never;
30116
+ connected_account_custom_metadata?: never;
30117
+ device_custom_metadata?: never;
29702
30118
  device_id?: never;
29703
30119
  code?: never;
29704
30120
  backup_access_code_id?: never;
@@ -29791,6 +30207,8 @@ declare const _default: {
29791
30207
  type: string;
29792
30208
  };
29793
30209
  access_code_id?: never;
30210
+ connected_account_custom_metadata?: never;
30211
+ device_custom_metadata?: never;
29794
30212
  device_id?: never;
29795
30213
  code?: never;
29796
30214
  backup_access_code_id?: never;
@@ -29883,6 +30301,8 @@ declare const _default: {
29883
30301
  type: string;
29884
30302
  };
29885
30303
  access_code_id?: never;
30304
+ connected_account_custom_metadata?: never;
30305
+ device_custom_metadata?: never;
29886
30306
  device_id?: never;
29887
30307
  code?: never;
29888
30308
  backup_access_code_id?: never;
@@ -29965,7 +30385,9 @@ declare const _default: {
29965
30385
  type: string;
29966
30386
  };
29967
30387
  access_code_id?: never;
30388
+ connected_account_custom_metadata?: never;
29968
30389
  connected_account_id?: never;
30390
+ device_custom_metadata?: never;
29969
30391
  device_id?: never;
29970
30392
  code?: never;
29971
30393
  backup_access_code_id?: never;
@@ -30024,6 +30446,15 @@ declare const _default: {
30024
30446
  format: string;
30025
30447
  type: string;
30026
30448
  };
30449
+ connected_account_custom_metadata: {
30450
+ additionalProperties: {
30451
+ oneOf: {
30452
+ type: string;
30453
+ }[];
30454
+ };
30455
+ description: string;
30456
+ type: string;
30457
+ };
30027
30458
  connected_account_id: {
30028
30459
  description: string;
30029
30460
  format: string;
@@ -30054,6 +30485,7 @@ declare const _default: {
30054
30485
  type: string;
30055
30486
  };
30056
30487
  access_code_id?: never;
30488
+ device_custom_metadata?: never;
30057
30489
  device_id?: never;
30058
30490
  code?: never;
30059
30491
  backup_access_code_id?: never;
@@ -30113,6 +30545,15 @@ declare const _default: {
30113
30545
  format: string;
30114
30546
  type: string;
30115
30547
  };
30548
+ connected_account_custom_metadata: {
30549
+ additionalProperties: {
30550
+ oneOf: {
30551
+ type: string;
30552
+ }[];
30553
+ };
30554
+ description: string;
30555
+ type: string;
30556
+ };
30116
30557
  connected_account_id: {
30117
30558
  description: string;
30118
30559
  format: string;
@@ -30143,6 +30584,7 @@ declare const _default: {
30143
30584
  type: string;
30144
30585
  };
30145
30586
  access_code_id?: never;
30587
+ device_custom_metadata?: never;
30146
30588
  device_id?: never;
30147
30589
  code?: never;
30148
30590
  backup_access_code_id?: never;
@@ -30195,6 +30637,15 @@ declare const _default: {
30195
30637
  } | {
30196
30638
  description: string;
30197
30639
  properties: {
30640
+ connected_account_custom_metadata: {
30641
+ additionalProperties: {
30642
+ oneOf: {
30643
+ type: string;
30644
+ }[];
30645
+ };
30646
+ description: string;
30647
+ type: string;
30648
+ };
30198
30649
  connected_account_id: {
30199
30650
  description: string;
30200
30651
  format: string;
@@ -30225,6 +30676,7 @@ declare const _default: {
30225
30676
  type: string;
30226
30677
  };
30227
30678
  access_code_id?: never;
30679
+ device_custom_metadata?: never;
30228
30680
  device_id?: never;
30229
30681
  code?: never;
30230
30682
  backup_access_code_id?: never;
@@ -30317,7 +30769,9 @@ declare const _default: {
30317
30769
  type: string;
30318
30770
  };
30319
30771
  access_code_id?: never;
30772
+ connected_account_custom_metadata?: never;
30320
30773
  connected_account_id?: never;
30774
+ device_custom_metadata?: never;
30321
30775
  device_id?: never;
30322
30776
  code?: never;
30323
30777
  backup_access_code_id?: never;
@@ -30399,7 +30853,9 @@ declare const _default: {
30399
30853
  type: string;
30400
30854
  };
30401
30855
  access_code_id?: never;
30856
+ connected_account_custom_metadata?: never;
30402
30857
  connected_account_id?: never;
30858
+ device_custom_metadata?: never;
30403
30859
  device_id?: never;
30404
30860
  code?: never;
30405
30861
  backup_access_code_id?: never;
@@ -30453,6 +30909,15 @@ declare const _default: {
30453
30909
  } | {
30454
30910
  description: string;
30455
30911
  properties: {
30912
+ connected_account_custom_metadata: {
30913
+ additionalProperties: {
30914
+ oneOf: {
30915
+ type: string;
30916
+ }[];
30917
+ };
30918
+ description: string;
30919
+ type: string;
30920
+ };
30456
30921
  connected_account_id: {
30457
30922
  description: string;
30458
30923
  format: string;
@@ -30463,6 +30928,15 @@ declare const _default: {
30463
30928
  format: string;
30464
30929
  type: string;
30465
30930
  };
30931
+ device_custom_metadata: {
30932
+ additionalProperties: {
30933
+ oneOf: {
30934
+ type: string;
30935
+ }[];
30936
+ };
30937
+ description: string;
30938
+ type: string;
30939
+ };
30466
30940
  device_id: {
30467
30941
  description: string;
30468
30942
  format: string;
@@ -30541,6 +31015,15 @@ declare const _default: {
30541
31015
  } | {
30542
31016
  description: string;
30543
31017
  properties: {
31018
+ connected_account_custom_metadata: {
31019
+ additionalProperties: {
31020
+ oneOf: {
31021
+ type: string;
31022
+ }[];
31023
+ };
31024
+ description: string;
31025
+ type: string;
31026
+ };
30544
31027
  connected_account_id: {
30545
31028
  description: string;
30546
31029
  format: string;
@@ -30551,6 +31034,15 @@ declare const _default: {
30551
31034
  format: string;
30552
31035
  type: string;
30553
31036
  };
31037
+ device_custom_metadata: {
31038
+ additionalProperties: {
31039
+ oneOf: {
31040
+ type: string;
31041
+ }[];
31042
+ };
31043
+ description: string;
31044
+ type: string;
31045
+ };
30554
31046
  device_id: {
30555
31047
  description: string;
30556
31048
  format: string;
@@ -30640,6 +31132,15 @@ declare const _default: {
30640
31132
  minimum: number;
30641
31133
  type: string;
30642
31134
  };
31135
+ connected_account_custom_metadata: {
31136
+ additionalProperties: {
31137
+ oneOf: {
31138
+ type: string;
31139
+ }[];
31140
+ };
31141
+ description: string;
31142
+ type: string;
31143
+ };
30643
31144
  connected_account_id: {
30644
31145
  description: string;
30645
31146
  format: string;
@@ -30650,6 +31151,15 @@ declare const _default: {
30650
31151
  format: string;
30651
31152
  type: string;
30652
31153
  };
31154
+ device_custom_metadata: {
31155
+ additionalProperties: {
31156
+ oneOf: {
31157
+ type: string;
31158
+ }[];
31159
+ };
31160
+ description: string;
31161
+ type: string;
31162
+ };
30653
31163
  device_id: {
30654
31164
  description: string;
30655
31165
  format: string;
@@ -30739,6 +31249,15 @@ declare const _default: {
30739
31249
  enum: string[];
30740
31250
  type: string;
30741
31251
  };
31252
+ connected_account_custom_metadata: {
31253
+ additionalProperties: {
31254
+ oneOf: {
31255
+ type: string;
31256
+ }[];
31257
+ };
31258
+ description: string;
31259
+ type: string;
31260
+ };
30742
31261
  connected_account_id: {
30743
31262
  description: string;
30744
31263
  format: string;
@@ -30749,6 +31268,15 @@ declare const _default: {
30749
31268
  format: string;
30750
31269
  type: string;
30751
31270
  };
31271
+ device_custom_metadata: {
31272
+ additionalProperties: {
31273
+ oneOf: {
31274
+ type: string;
31275
+ }[];
31276
+ };
31277
+ description: string;
31278
+ type: string;
31279
+ };
30752
31280
  device_id: {
30753
31281
  description: string;
30754
31282
  format: string;
@@ -30825,6 +31353,15 @@ declare const _default: {
30825
31353
  } | {
30826
31354
  description: string;
30827
31355
  properties: {
31356
+ connected_account_custom_metadata: {
31357
+ additionalProperties: {
31358
+ oneOf: {
31359
+ type: string;
31360
+ }[];
31361
+ };
31362
+ description: string;
31363
+ type: string;
31364
+ };
30828
31365
  connected_account_id: {
30829
31366
  description: string;
30830
31367
  format: string;
@@ -30835,6 +31372,15 @@ declare const _default: {
30835
31372
  format: string;
30836
31373
  type: string;
30837
31374
  };
31375
+ device_custom_metadata: {
31376
+ additionalProperties: {
31377
+ oneOf: {
31378
+ type: string;
31379
+ }[];
31380
+ };
31381
+ description: string;
31382
+ type: string;
31383
+ };
30838
31384
  device_id: {
30839
31385
  description: string;
30840
31386
  format: string;
@@ -30946,6 +31492,15 @@ declare const _default: {
30946
31492
  format: string;
30947
31493
  type: string;
30948
31494
  };
31495
+ connected_account_custom_metadata: {
31496
+ additionalProperties: {
31497
+ oneOf: {
31498
+ type: string;
31499
+ }[];
31500
+ };
31501
+ description: string;
31502
+ type: string;
31503
+ };
30949
31504
  connected_account_id: {
30950
31505
  description: string;
30951
31506
  format: string;
@@ -30956,6 +31511,15 @@ declare const _default: {
30956
31511
  format: string;
30957
31512
  type: string;
30958
31513
  };
31514
+ device_custom_metadata: {
31515
+ additionalProperties: {
31516
+ oneOf: {
31517
+ type: string;
31518
+ }[];
31519
+ };
31520
+ description: string;
31521
+ type: string;
31522
+ };
30959
31523
  device_id: {
30960
31524
  description: string;
30961
31525
  format: string;
@@ -31040,6 +31604,15 @@ declare const _default: {
31040
31604
  description: string;
31041
31605
  type: string;
31042
31606
  };
31607
+ connected_account_custom_metadata: {
31608
+ additionalProperties: {
31609
+ oneOf: {
31610
+ type: string;
31611
+ }[];
31612
+ };
31613
+ description: string;
31614
+ type: string;
31615
+ };
31043
31616
  connected_account_id: {
31044
31617
  description: string;
31045
31618
  format: string;
@@ -31050,6 +31623,15 @@ declare const _default: {
31050
31623
  format: string;
31051
31624
  type: string;
31052
31625
  };
31626
+ device_custom_metadata: {
31627
+ additionalProperties: {
31628
+ oneOf: {
31629
+ type: string;
31630
+ }[];
31631
+ };
31632
+ description: string;
31633
+ type: string;
31634
+ };
31053
31635
  device_id: {
31054
31636
  description: string;
31055
31637
  format: string;
@@ -31135,6 +31717,15 @@ declare const _default: {
31135
31717
  } | {
31136
31718
  description: string;
31137
31719
  properties: {
31720
+ connected_account_custom_metadata: {
31721
+ additionalProperties: {
31722
+ oneOf: {
31723
+ type: string;
31724
+ }[];
31725
+ };
31726
+ description: string;
31727
+ type: string;
31728
+ };
31138
31729
  connected_account_id: {
31139
31730
  description: string;
31140
31731
  format: string;
@@ -31155,6 +31746,15 @@ declare const _default: {
31155
31746
  format: string;
31156
31747
  type: string;
31157
31748
  };
31749
+ device_custom_metadata: {
31750
+ additionalProperties: {
31751
+ oneOf: {
31752
+ type: string;
31753
+ }[];
31754
+ };
31755
+ description: string;
31756
+ type: string;
31757
+ };
31158
31758
  device_id: {
31159
31759
  description: string;
31160
31760
  format: string;
@@ -31251,6 +31851,15 @@ declare const _default: {
31251
31851
  } | {
31252
31852
  description: string;
31253
31853
  properties: {
31854
+ connected_account_custom_metadata: {
31855
+ additionalProperties: {
31856
+ oneOf: {
31857
+ type: string;
31858
+ }[];
31859
+ };
31860
+ description: string;
31861
+ type: string;
31862
+ };
31254
31863
  connected_account_id: {
31255
31864
  description: string;
31256
31865
  format: string;
@@ -31261,6 +31870,15 @@ declare const _default: {
31261
31870
  format: string;
31262
31871
  type: string;
31263
31872
  };
31873
+ device_custom_metadata: {
31874
+ additionalProperties: {
31875
+ oneOf: {
31876
+ type: string;
31877
+ }[];
31878
+ };
31879
+ description: string;
31880
+ type: string;
31881
+ };
31264
31882
  device_id: {
31265
31883
  description: string;
31266
31884
  format: string;
@@ -31367,6 +31985,15 @@ declare const _default: {
31367
31985
  } | {
31368
31986
  description: string;
31369
31987
  properties: {
31988
+ connected_account_custom_metadata: {
31989
+ additionalProperties: {
31990
+ oneOf: {
31991
+ type: string;
31992
+ }[];
31993
+ };
31994
+ description: string;
31995
+ type: string;
31996
+ };
31370
31997
  connected_account_id: {
31371
31998
  description: string;
31372
31999
  format: string;
@@ -31387,6 +32014,15 @@ declare const _default: {
31387
32014
  format: string;
31388
32015
  type: string;
31389
32016
  };
32017
+ device_custom_metadata: {
32018
+ additionalProperties: {
32019
+ oneOf: {
32020
+ type: string;
32021
+ }[];
32022
+ };
32023
+ description: string;
32024
+ type: string;
32025
+ };
31390
32026
  device_id: {
31391
32027
  description: string;
31392
32028
  format: string;
@@ -31471,6 +32107,15 @@ declare const _default: {
31471
32107
  } | {
31472
32108
  description: string;
31473
32109
  properties: {
32110
+ connected_account_custom_metadata: {
32111
+ additionalProperties: {
32112
+ oneOf: {
32113
+ type: string;
32114
+ }[];
32115
+ };
32116
+ description: string;
32117
+ type: string;
32118
+ };
31474
32119
  connected_account_id: {
31475
32120
  description: string;
31476
32121
  format: string;
@@ -31481,6 +32126,15 @@ declare const _default: {
31481
32126
  format: string;
31482
32127
  type: string;
31483
32128
  };
32129
+ device_custom_metadata: {
32130
+ additionalProperties: {
32131
+ oneOf: {
32132
+ type: string;
32133
+ }[];
32134
+ };
32135
+ description: string;
32136
+ type: string;
32137
+ };
31484
32138
  device_id: {
31485
32139
  description: string;
31486
32140
  format: string;
@@ -31567,6 +32221,15 @@ declare const _default: {
31567
32221
  } | {
31568
32222
  description: string;
31569
32223
  properties: {
32224
+ connected_account_custom_metadata: {
32225
+ additionalProperties: {
32226
+ oneOf: {
32227
+ type: string;
32228
+ }[];
32229
+ };
32230
+ description: string;
32231
+ type: string;
32232
+ };
31570
32233
  connected_account_id: {
31571
32234
  description: string;
31572
32235
  format: string;
@@ -31577,6 +32240,15 @@ declare const _default: {
31577
32240
  format: string;
31578
32241
  type: string;
31579
32242
  };
32243
+ device_custom_metadata: {
32244
+ additionalProperties: {
32245
+ oneOf: {
32246
+ type: string;
32247
+ }[];
32248
+ };
32249
+ description: string;
32250
+ type: string;
32251
+ };
31580
32252
  device_id: {
31581
32253
  description: string;
31582
32254
  format: string;
@@ -31688,7 +32360,9 @@ declare const _default: {
31688
32360
  type: string;
31689
32361
  };
31690
32362
  access_code_id?: never;
32363
+ connected_account_custom_metadata?: never;
31691
32364
  connected_account_id?: never;
32365
+ device_custom_metadata?: never;
31692
32366
  device_id?: never;
31693
32367
  code?: never;
31694
32368
  backup_access_code_id?: never;
@@ -31747,6 +32421,15 @@ declare const _default: {
31747
32421
  format: string;
31748
32422
  type: string;
31749
32423
  };
32424
+ device_custom_metadata: {
32425
+ additionalProperties: {
32426
+ oneOf: {
32427
+ type: string;
32428
+ }[];
32429
+ };
32430
+ description: string;
32431
+ type: string;
32432
+ };
31750
32433
  device_id: {
31751
32434
  description: string;
31752
32435
  format: string;
@@ -31772,6 +32455,7 @@ declare const _default: {
31772
32455
  type: string;
31773
32456
  };
31774
32457
  access_code_id?: never;
32458
+ connected_account_custom_metadata?: never;
31775
32459
  connected_account_id?: never;
31776
32460
  code?: never;
31777
32461
  backup_access_code_id?: never;
@@ -34549,6 +35233,14 @@ declare const _default: {
34549
35233
  user_identity: {
34550
35234
  description: string;
34551
35235
  properties: {
35236
+ acs_user_ids: {
35237
+ description: string;
35238
+ items: {
35239
+ format: string;
35240
+ type: string;
35241
+ };
35242
+ type: string;
35243
+ };
34552
35244
  created_at: {
34553
35245
  description: string;
34554
35246
  format: string;
@@ -43290,6 +43982,7 @@ declare const _default: {
43290
43982
  deprecated?: never;
43291
43983
  nullable?: never;
43292
43984
  'x-deprecated'?: never;
43985
+ items?: never;
43293
43986
  };
43294
43987
  } | {
43295
43988
  in: string;
@@ -43301,6 +43994,22 @@ declare const _default: {
43301
43994
  type: string;
43302
43995
  'x-deprecated': string;
43303
43996
  description?: never;
43997
+ items?: never;
43998
+ };
43999
+ } | {
44000
+ in: string;
44001
+ name: string;
44002
+ schema: {
44003
+ description: string;
44004
+ items: {
44005
+ format: string;
44006
+ type: string;
44007
+ };
44008
+ type: string;
44009
+ format?: never;
44010
+ deprecated?: never;
44011
+ nullable?: never;
44012
+ 'x-deprecated'?: never;
43304
44013
  };
43305
44014
  })[];
43306
44015
  responses: {
@@ -43385,6 +44094,14 @@ declare const _default: {
43385
44094
  format: string;
43386
44095
  type: string;
43387
44096
  };
44097
+ acs_entrance_ids: {
44098
+ description: string;
44099
+ items: {
44100
+ format: string;
44101
+ type: string;
44102
+ };
44103
+ type: string;
44104
+ };
43388
44105
  acs_system_id: {
43389
44106
  description: string;
43390
44107
  format: string;
@@ -51505,6 +52222,80 @@ declare const _default: {
51505
52222
  'x-title': string;
51506
52223
  };
51507
52224
  };
52225
+ '/devices/simulate/connect_to_hub': {
52226
+ post: {
52227
+ description: string;
52228
+ operationId: string;
52229
+ requestBody: {
52230
+ content: {
52231
+ 'application/json': {
52232
+ schema: {
52233
+ properties: {
52234
+ device_id: {
52235
+ description: string;
52236
+ format: string;
52237
+ type: string;
52238
+ };
52239
+ };
52240
+ required: string[];
52241
+ type: string;
52242
+ };
52243
+ };
52244
+ };
52245
+ };
52246
+ responses: {
52247
+ 200: {
52248
+ content: {
52249
+ 'application/json': {
52250
+ schema: {
52251
+ properties: {
52252
+ ok: {
52253
+ type: string;
52254
+ };
52255
+ };
52256
+ required: string[];
52257
+ type: string;
52258
+ };
52259
+ };
52260
+ };
52261
+ description: string;
52262
+ };
52263
+ 400: {
52264
+ description: string;
52265
+ };
52266
+ 401: {
52267
+ description: string;
52268
+ };
52269
+ };
52270
+ security: ({
52271
+ api_key: never[];
52272
+ pat_with_workspace?: never;
52273
+ console_session_with_workspace?: never;
52274
+ client_session_with_customer?: never;
52275
+ } | {
52276
+ pat_with_workspace: never[];
52277
+ api_key?: never;
52278
+ console_session_with_workspace?: never;
52279
+ client_session_with_customer?: never;
52280
+ } | {
52281
+ console_session_with_workspace: never[];
52282
+ api_key?: never;
52283
+ pat_with_workspace?: never;
52284
+ client_session_with_customer?: never;
52285
+ } | {
52286
+ client_session_with_customer: never[];
52287
+ api_key?: never;
52288
+ pat_with_workspace?: never;
52289
+ console_session_with_workspace?: never;
52290
+ })[];
52291
+ summary: string;
52292
+ tags: string[];
52293
+ 'x-fern-sdk-group-name': string[];
52294
+ 'x-fern-sdk-method-name': string;
52295
+ 'x-response-key': null;
52296
+ 'x-title': string;
52297
+ };
52298
+ };
51508
52299
  '/devices/simulate/disconnect': {
51509
52300
  post: {
51510
52301
  description: string;
@@ -51579,6 +52370,80 @@ declare const _default: {
51579
52370
  'x-title': string;
51580
52371
  };
51581
52372
  };
52373
+ '/devices/simulate/disconnect_from_hub': {
52374
+ post: {
52375
+ description: string;
52376
+ operationId: string;
52377
+ requestBody: {
52378
+ content: {
52379
+ 'application/json': {
52380
+ schema: {
52381
+ properties: {
52382
+ device_id: {
52383
+ description: string;
52384
+ format: string;
52385
+ type: string;
52386
+ };
52387
+ };
52388
+ required: string[];
52389
+ type: string;
52390
+ };
52391
+ };
52392
+ };
52393
+ };
52394
+ responses: {
52395
+ 200: {
52396
+ content: {
52397
+ 'application/json': {
52398
+ schema: {
52399
+ properties: {
52400
+ ok: {
52401
+ type: string;
52402
+ };
52403
+ };
52404
+ required: string[];
52405
+ type: string;
52406
+ };
52407
+ };
52408
+ };
52409
+ description: string;
52410
+ };
52411
+ 400: {
52412
+ description: string;
52413
+ };
52414
+ 401: {
52415
+ description: string;
52416
+ };
52417
+ };
52418
+ security: ({
52419
+ api_key: never[];
52420
+ pat_with_workspace?: never;
52421
+ console_session_with_workspace?: never;
52422
+ client_session_with_customer?: never;
52423
+ } | {
52424
+ pat_with_workspace: never[];
52425
+ api_key?: never;
52426
+ console_session_with_workspace?: never;
52427
+ client_session_with_customer?: never;
52428
+ } | {
52429
+ console_session_with_workspace: never[];
52430
+ api_key?: never;
52431
+ pat_with_workspace?: never;
52432
+ client_session_with_customer?: never;
52433
+ } | {
52434
+ client_session_with_customer: never[];
52435
+ api_key?: never;
52436
+ pat_with_workspace?: never;
52437
+ console_session_with_workspace?: never;
52438
+ })[];
52439
+ summary: string;
52440
+ tags: string[];
52441
+ 'x-fern-sdk-group-name': string[];
52442
+ 'x-fern-sdk-method-name': string;
52443
+ 'x-response-key': null;
52444
+ 'x-title': string;
52445
+ };
52446
+ };
51582
52447
  '/devices/simulate/remove': {
51583
52448
  post: {
51584
52449
  description: string;
@@ -54080,6 +54945,7 @@ declare const _default: {
54080
54945
  'x-fern-sdk-method-name': string;
54081
54946
  'x-fern-sdk-return-value': string;
54082
54947
  'x-response-key': string;
54948
+ 'x-title': string;
54083
54949
  };
54084
54950
  };
54085
54951
  '/locks/simulate/manual_lock_via_keypad': {
@@ -54150,6 +55016,7 @@ declare const _default: {
54150
55016
  'x-fern-sdk-method-name': string;
54151
55017
  'x-fern-sdk-return-value': string;
54152
55018
  'x-response-key': string;
55019
+ 'x-title': string;
54153
55020
  };
54154
55021
  };
54155
55022
  '/locks/unlock_door': {
@@ -86383,6 +87250,8 @@ interface Routes {
86383
87250
  access_method_id?: string | undefined;
86384
87251
  /** ID of the connected account for which you want to retrieve all entrances. */
86385
87252
  connected_account_id?: string | undefined;
87253
+ /** IDs of the entrances for which you want to retrieve all entrances. */
87254
+ acs_entrance_ids?: string[] | undefined;
86386
87255
  };
86387
87256
  formData: {};
86388
87257
  jsonResponse: {
@@ -94977,6 +95846,18 @@ interface Routes {
94977
95846
  formData: {};
94978
95847
  jsonResponse: {};
94979
95848
  };
95849
+ '/devices/simulate/connect_to_hub': {
95850
+ route: '/devices/simulate/connect_to_hub';
95851
+ method: 'POST';
95852
+ queryParams: {};
95853
+ jsonBody: {
95854
+ /** ID of the device whose hub you want to reconnect. */
95855
+ device_id: string;
95856
+ };
95857
+ commonParams: {};
95858
+ formData: {};
95859
+ jsonResponse: {};
95860
+ };
94980
95861
  '/devices/simulate/disconnect': {
94981
95862
  route: '/devices/simulate/disconnect';
94982
95863
  method: 'POST';
@@ -94989,6 +95870,18 @@ interface Routes {
94989
95870
  formData: {};
94990
95871
  jsonResponse: {};
94991
95872
  };
95873
+ '/devices/simulate/disconnect_from_hub': {
95874
+ route: '/devices/simulate/disconnect_from_hub';
95875
+ method: 'POST';
95876
+ queryParams: {};
95877
+ jsonBody: {
95878
+ /** ID of the device whose hub you want to disconnect. */
95879
+ device_id: string;
95880
+ };
95881
+ commonParams: {};
95882
+ formData: {};
95883
+ jsonResponse: {};
95884
+ };
94992
95885
  '/devices/simulate/remove': {
94993
95886
  route: '/devices/simulate/remove';
94994
95887
  method: 'POST';
@@ -95909,6 +96802,10 @@ interface Routes {
95909
96802
  device_id: string;
95910
96803
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
95911
96804
  connected_account_id: string;
96805
+ /** Custom metadata of the device, present when device_id is provided. */
96806
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
96807
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
96808
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
95912
96809
  event_type: 'access_code.created';
95913
96810
  } | {
95914
96811
  /** ID of the event. */
@@ -95925,6 +96822,10 @@ interface Routes {
95925
96822
  device_id: string;
95926
96823
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
95927
96824
  connected_account_id: string;
96825
+ /** Custom metadata of the device, present when device_id is provided. */
96826
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
96827
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
96828
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
95928
96829
  event_type: 'access_code.changed';
95929
96830
  } | {
95930
96831
  /** ID of the event. */
@@ -95941,6 +96842,10 @@ interface Routes {
95941
96842
  device_id: string;
95942
96843
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
95943
96844
  connected_account_id: string;
96845
+ /** Custom metadata of the device, present when device_id is provided. */
96846
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
96847
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
96848
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
95944
96849
  event_type: 'access_code.scheduled_on_device';
95945
96850
  /** Code for the affected access code. */
95946
96851
  code: string;
@@ -95959,6 +96864,10 @@ interface Routes {
95959
96864
  device_id: string;
95960
96865
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
95961
96866
  connected_account_id: string;
96867
+ /** Custom metadata of the device, present when device_id is provided. */
96868
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
96869
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
96870
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
95962
96871
  event_type: 'access_code.set_on_device';
95963
96872
  /** Code for the affected access code. */
95964
96873
  code: string;
@@ -95977,6 +96886,10 @@ interface Routes {
95977
96886
  device_id: string;
95978
96887
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
95979
96888
  connected_account_id: string;
96889
+ /** Custom metadata of the device, present when device_id is provided. */
96890
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
96891
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
96892
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
95980
96893
  event_type: 'access_code.removed_from_device';
95981
96894
  } | {
95982
96895
  /** ID of the event. */
@@ -95993,6 +96906,10 @@ interface Routes {
95993
96906
  device_id: string;
95994
96907
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
95995
96908
  connected_account_id: string;
96909
+ /** Custom metadata of the device, present when device_id is provided. */
96910
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
96911
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
96912
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
95996
96913
  event_type: 'access_code.delay_in_setting_on_device';
95997
96914
  } | {
95998
96915
  /** ID of the event. */
@@ -96009,6 +96926,10 @@ interface Routes {
96009
96926
  device_id: string;
96010
96927
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
96011
96928
  connected_account_id: string;
96929
+ /** Custom metadata of the device, present when device_id is provided. */
96930
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
96931
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
96932
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96012
96933
  event_type: 'access_code.failed_to_set_on_device';
96013
96934
  } | {
96014
96935
  /** ID of the event. */
@@ -96025,6 +96946,10 @@ interface Routes {
96025
96946
  device_id: string;
96026
96947
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
96027
96948
  connected_account_id: string;
96949
+ /** Custom metadata of the device, present when device_id is provided. */
96950
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
96951
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
96952
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96028
96953
  event_type: 'access_code.deleted';
96029
96954
  /** Code for the affected access code. */
96030
96955
  code: string | null;
@@ -96043,6 +96968,10 @@ interface Routes {
96043
96968
  device_id: string;
96044
96969
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
96045
96970
  connected_account_id: string;
96971
+ /** Custom metadata of the device, present when device_id is provided. */
96972
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
96973
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
96974
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96046
96975
  event_type: 'access_code.delay_in_removing_from_device';
96047
96976
  } | {
96048
96977
  /** ID of the event. */
@@ -96059,6 +96988,10 @@ interface Routes {
96059
96988
  device_id: string;
96060
96989
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
96061
96990
  connected_account_id: string;
96991
+ /** Custom metadata of the device, present when device_id is provided. */
96992
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
96993
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
96994
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96062
96995
  event_type: 'access_code.failed_to_remove_from_device';
96063
96996
  } | {
96064
96997
  /** ID of the event. */
@@ -96075,6 +97008,10 @@ interface Routes {
96075
97008
  device_id: string;
96076
97009
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
96077
97010
  connected_account_id: string;
97011
+ /** Custom metadata of the device, present when device_id is provided. */
97012
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97013
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97014
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96078
97015
  event_type: 'access_code.modified_external_to_seam';
96079
97016
  } | {
96080
97017
  /** ID of the event. */
@@ -96091,6 +97028,10 @@ interface Routes {
96091
97028
  device_id: string;
96092
97029
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
96093
97030
  connected_account_id: string;
97031
+ /** Custom metadata of the device, present when device_id is provided. */
97032
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97033
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97034
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96094
97035
  event_type: 'access_code.deleted_external_to_seam';
96095
97036
  } | {
96096
97037
  /** ID of the event. */
@@ -96107,6 +97048,10 @@ interface Routes {
96107
97048
  device_id: string;
96108
97049
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
96109
97050
  connected_account_id: string;
97051
+ /** Custom metadata of the device, present when device_id is provided. */
97052
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97053
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97054
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96110
97055
  event_type: 'access_code.backup_access_code_pulled';
96111
97056
  backup_access_code_id: string;
96112
97057
  } | {
@@ -96124,6 +97069,10 @@ interface Routes {
96124
97069
  device_id: string;
96125
97070
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
96126
97071
  connected_account_id: string;
97072
+ /** Custom metadata of the device, present when device_id is provided. */
97073
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97074
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97075
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96127
97076
  event_type: 'access_code.unmanaged.converted_to_managed';
96128
97077
  } | {
96129
97078
  /** ID of the event. */
@@ -96140,6 +97089,10 @@ interface Routes {
96140
97089
  device_id: string;
96141
97090
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
96142
97091
  connected_account_id: string;
97092
+ /** Custom metadata of the device, present when device_id is provided. */
97093
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97094
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97095
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96143
97096
  event_type: 'access_code.unmanaged.failed_to_convert_to_managed';
96144
97097
  } | {
96145
97098
  /** ID of the event. */
@@ -96156,6 +97109,10 @@ interface Routes {
96156
97109
  device_id: string;
96157
97110
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
96158
97111
  connected_account_id: string;
97112
+ /** Custom metadata of the device, present when device_id is provided. */
97113
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97114
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97115
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96159
97116
  event_type: 'access_code.unmanaged.created';
96160
97117
  } | {
96161
97118
  /** ID of the event. */
@@ -96172,6 +97129,10 @@ interface Routes {
96172
97129
  device_id: string;
96173
97130
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
96174
97131
  connected_account_id: string;
97132
+ /** Custom metadata of the device, present when device_id is provided. */
97133
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97134
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97135
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96175
97136
  event_type: 'access_code.unmanaged.removed';
96176
97137
  } | {
96177
97138
  /** ID of the event. */
@@ -96534,6 +97495,8 @@ interface Routes {
96534
97495
  occurred_at: string;
96535
97496
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
96536
97497
  connected_account_id: string;
97498
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97499
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96537
97500
  event_type: 'connected_account.connected';
96538
97501
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
96539
97502
  connect_webview_id: string;
@@ -96548,6 +97511,8 @@ interface Routes {
96548
97511
  occurred_at: string;
96549
97512
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
96550
97513
  connected_account_id: string;
97514
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97515
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96551
97516
  event_type: 'connected_account.created';
96552
97517
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
96553
97518
  connect_webview_id: string;
@@ -96562,6 +97527,8 @@ interface Routes {
96562
97527
  occurred_at: string;
96563
97528
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
96564
97529
  connected_account_id: string;
97530
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97531
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96565
97532
  event_type: 'connected_account.successful_login';
96566
97533
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
96567
97534
  connect_webview_id: string;
@@ -96576,6 +97543,8 @@ interface Routes {
96576
97543
  occurred_at: string;
96577
97544
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
96578
97545
  connected_account_id: string;
97546
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97547
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96579
97548
  event_type: 'connected_account.disconnected';
96580
97549
  } | {
96581
97550
  /** ID of the event. */
@@ -96588,6 +97557,8 @@ interface Routes {
96588
97557
  occurred_at: string;
96589
97558
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
96590
97559
  connected_account_id: string;
97560
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97561
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96591
97562
  event_type: 'connected_account.completed_first_sync';
96592
97563
  } | {
96593
97564
  /** ID of the event. */
@@ -96600,6 +97571,8 @@ interface Routes {
96600
97571
  occurred_at: string;
96601
97572
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
96602
97573
  connected_account_id: string;
97574
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97575
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96603
97576
  event_type: 'connected_account.deleted';
96604
97577
  } | {
96605
97578
  /** ID of the event. */
@@ -96612,6 +97585,8 @@ interface Routes {
96612
97585
  occurred_at: string;
96613
97586
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
96614
97587
  connected_account_id: string;
97588
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97589
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96615
97590
  event_type: 'connected_account.completed_first_sync_after_reconnection';
96616
97591
  } | {
96617
97592
  /** ID of the event. */
@@ -96691,6 +97666,8 @@ interface Routes {
96691
97666
  event_type: 'connect_webview.login_succeeded';
96692
97667
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96693
97668
  connected_account_id: string;
97669
+ /** Custom metadata of the connected account; present when connected_account_id is provided. */
97670
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96694
97671
  } | {
96695
97672
  /** ID of the event. */
96696
97673
  event_id: string;
@@ -96716,6 +97693,10 @@ interface Routes {
96716
97693
  device_id: string;
96717
97694
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96718
97695
  connected_account_id: string;
97696
+ /** Custom metadata of the device, present when device_id is provided. */
97697
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97698
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97699
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96719
97700
  event_type: 'device.connected';
96720
97701
  } | {
96721
97702
  /** ID of the event. */
@@ -96730,6 +97711,10 @@ interface Routes {
96730
97711
  device_id: string;
96731
97712
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96732
97713
  connected_account_id: string;
97714
+ /** Custom metadata of the device, present when device_id is provided. */
97715
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97716
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97717
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96733
97718
  event_type: 'device.added';
96734
97719
  } | {
96735
97720
  /** ID of the event. */
@@ -96744,6 +97729,10 @@ interface Routes {
96744
97729
  device_id: string;
96745
97730
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96746
97731
  connected_account_id: string;
97732
+ /** Custom metadata of the device, present when device_id is provided. */
97733
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97734
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97735
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96747
97736
  event_type: 'device.converted_to_unmanaged';
96748
97737
  } | {
96749
97738
  /** ID of the event. */
@@ -96758,6 +97747,10 @@ interface Routes {
96758
97747
  device_id: string;
96759
97748
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96760
97749
  connected_account_id: string;
97750
+ /** Custom metadata of the device, present when device_id is provided. */
97751
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97752
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97753
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96761
97754
  event_type: 'device.unmanaged.converted_to_managed';
96762
97755
  } | {
96763
97756
  /** ID of the event. */
@@ -96772,6 +97765,10 @@ interface Routes {
96772
97765
  device_id: string;
96773
97766
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96774
97767
  connected_account_id: string;
97768
+ /** Custom metadata of the device, present when device_id is provided. */
97769
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97770
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97771
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96775
97772
  event_type: 'device.unmanaged.connected';
96776
97773
  } | {
96777
97774
  /** ID of the event. */
@@ -96786,6 +97783,10 @@ interface Routes {
96786
97783
  device_id: string;
96787
97784
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96788
97785
  connected_account_id: string;
97786
+ /** Custom metadata of the device, present when device_id is provided. */
97787
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97788
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97789
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96789
97790
  event_type: 'device.disconnected';
96790
97791
  /** Error code associated with the disconnection event, if any. */
96791
97792
  error_code: 'account_disconnected' | 'hub_disconnected' | 'device_disconnected';
@@ -96802,6 +97803,10 @@ interface Routes {
96802
97803
  device_id: string;
96803
97804
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96804
97805
  connected_account_id: string;
97806
+ /** Custom metadata of the device, present when device_id is provided. */
97807
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97808
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97809
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96805
97810
  event_type: 'device.unmanaged.disconnected';
96806
97811
  /** Error code associated with the disconnection event, if any. */
96807
97812
  error_code: 'account_disconnected' | 'hub_disconnected' | 'device_disconnected';
@@ -96818,6 +97823,10 @@ interface Routes {
96818
97823
  device_id: string;
96819
97824
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96820
97825
  connected_account_id: string;
97826
+ /** Custom metadata of the device, present when device_id is provided. */
97827
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97828
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97829
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96821
97830
  event_type: 'device.tampered';
96822
97831
  } | {
96823
97832
  /** ID of the event. */
@@ -96832,6 +97841,10 @@ interface Routes {
96832
97841
  device_id: string;
96833
97842
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96834
97843
  connected_account_id: string;
97844
+ /** Custom metadata of the device, present when device_id is provided. */
97845
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97846
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97847
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96835
97848
  event_type: 'device.low_battery';
96836
97849
  /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
96837
97850
  battery_level: number;
@@ -96848,6 +97861,10 @@ interface Routes {
96848
97861
  device_id: string;
96849
97862
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96850
97863
  connected_account_id: string;
97864
+ /** Custom metadata of the device, present when device_id is provided. */
97865
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97866
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97867
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96851
97868
  event_type: 'device.battery_status_changed';
96852
97869
  /** Battery status of the affected device, calculated from the numeric `battery_level` value. */
96853
97870
  battery_status: 'critical' | 'low' | 'good' | 'full';
@@ -96866,6 +97883,10 @@ interface Routes {
96866
97883
  device_id: string;
96867
97884
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96868
97885
  connected_account_id: string;
97886
+ /** Custom metadata of the device, present when device_id is provided. */
97887
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97888
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97889
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96869
97890
  event_type: 'device.removed';
96870
97891
  } | {
96871
97892
  /** ID of the event. */
@@ -96880,6 +97901,10 @@ interface Routes {
96880
97901
  device_id: string;
96881
97902
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96882
97903
  connected_account_id: string;
97904
+ /** Custom metadata of the device, present when device_id is provided. */
97905
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97906
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97907
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96883
97908
  event_type: 'device.deleted';
96884
97909
  } | {
96885
97910
  /** ID of the event. */
@@ -96894,6 +97919,10 @@ interface Routes {
96894
97919
  device_id: string;
96895
97920
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96896
97921
  connected_account_id: string;
97922
+ /** Custom metadata of the device, present when device_id is provided. */
97923
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97924
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97925
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96897
97926
  event_type: 'device.third_party_integration_detected';
96898
97927
  } | {
96899
97928
  /** ID of the event. */
@@ -96908,6 +97937,10 @@ interface Routes {
96908
97937
  device_id: string;
96909
97938
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96910
97939
  connected_account_id: string;
97940
+ /** Custom metadata of the device, present when device_id is provided. */
97941
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97942
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97943
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96911
97944
  event_type: 'device.third_party_integration_no_longer_detected';
96912
97945
  } | {
96913
97946
  /** ID of the event. */
@@ -96922,6 +97955,10 @@ interface Routes {
96922
97955
  device_id: string;
96923
97956
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96924
97957
  connected_account_id: string;
97958
+ /** Custom metadata of the device, present when device_id is provided. */
97959
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97960
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97961
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96925
97962
  event_type: 'device.salto.privacy_mode_activated';
96926
97963
  } | {
96927
97964
  /** ID of the event. */
@@ -96936,6 +97973,10 @@ interface Routes {
96936
97973
  device_id: string;
96937
97974
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96938
97975
  connected_account_id: string;
97976
+ /** Custom metadata of the device, present when device_id is provided. */
97977
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97978
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97979
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96939
97980
  event_type: 'device.salto.privacy_mode_deactivated';
96940
97981
  } | {
96941
97982
  /** ID of the event. */
@@ -96950,6 +97991,10 @@ interface Routes {
96950
97991
  device_id: string;
96951
97992
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96952
97993
  connected_account_id: string;
97994
+ /** Custom metadata of the device, present when device_id is provided. */
97995
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97996
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
97997
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96953
97998
  event_type: 'device.connection_became_flaky';
96954
97999
  } | {
96955
98000
  /** ID of the event. */
@@ -96964,6 +98009,10 @@ interface Routes {
96964
98009
  device_id: string;
96965
98010
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96966
98011
  connected_account_id: string;
98012
+ /** Custom metadata of the device, present when device_id is provided. */
98013
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98014
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98015
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96967
98016
  event_type: 'device.connection_stabilized';
96968
98017
  } | {
96969
98018
  /** ID of the event. */
@@ -96978,6 +98027,10 @@ interface Routes {
96978
98027
  device_id: string;
96979
98028
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96980
98029
  connected_account_id: string;
98030
+ /** Custom metadata of the device, present when device_id is provided. */
98031
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98032
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98033
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96981
98034
  event_type: 'device.error.subscription_required';
96982
98035
  } | {
96983
98036
  /** ID of the event. */
@@ -96992,6 +98045,10 @@ interface Routes {
96992
98045
  device_id: string;
96993
98046
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
96994
98047
  connected_account_id: string;
98048
+ /** Custom metadata of the device, present when device_id is provided. */
98049
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98050
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98051
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
96995
98052
  event_type: 'device.error.subscription_required.resolved';
96996
98053
  } | {
96997
98054
  /** ID of the event. */
@@ -97006,6 +98063,10 @@ interface Routes {
97006
98063
  device_id: string;
97007
98064
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
97008
98065
  connected_account_id: string;
98066
+ /** Custom metadata of the device, present when device_id is provided. */
98067
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98068
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98069
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97009
98070
  event_type: 'device.accessory_keypad_connected';
97010
98071
  } | {
97011
98072
  /** ID of the event. */
@@ -97020,6 +98081,10 @@ interface Routes {
97020
98081
  device_id: string;
97021
98082
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
97022
98083
  connected_account_id: string;
98084
+ /** Custom metadata of the device, present when device_id is provided. */
98085
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98086
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98087
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97023
98088
  event_type: 'device.accessory_keypad_disconnected';
97024
98089
  } | {
97025
98090
  /** ID of the event. */
@@ -97034,6 +98099,10 @@ interface Routes {
97034
98099
  device_id: string;
97035
98100
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
97036
98101
  connected_account_id: string;
98102
+ /** Custom metadata of the device, present when device_id is provided. */
98103
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98104
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98105
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97037
98106
  event_type: 'noise_sensor.noise_threshold_triggered';
97038
98107
  /** Detected noise level in decibels. */
97039
98108
  noise_level_decibels?: number | undefined;
@@ -97060,6 +98129,10 @@ interface Routes {
97060
98129
  device_id: string;
97061
98130
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
97062
98131
  connected_account_id: string;
98132
+ /** Custom metadata of the device, present when device_id is provided. */
98133
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98134
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98135
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97063
98136
  event_type: 'lock.locked';
97064
98137
  /** ID of the access code that was used to lock the device. */
97065
98138
  access_code_id?: string | undefined;
@@ -97080,6 +98153,10 @@ interface Routes {
97080
98153
  device_id: string;
97081
98154
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
97082
98155
  connected_account_id: string;
98156
+ /** Custom metadata of the device, present when device_id is provided. */
98157
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98158
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98159
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97083
98160
  event_type: 'lock.unlocked';
97084
98161
  /** ID of the access code that was used to unlock the affected device. */
97085
98162
  access_code_id?: string | undefined;
@@ -97100,6 +98177,10 @@ interface Routes {
97100
98177
  device_id: string;
97101
98178
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
97102
98179
  connected_account_id: string;
98180
+ /** Custom metadata of the device, present when device_id is provided. */
98181
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98182
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98183
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97103
98184
  event_type: 'lock.access_denied';
97104
98185
  /** ID of the access code that was used in the unlock attempts. */
97105
98186
  access_code_id?: string | undefined;
@@ -97116,6 +98197,10 @@ interface Routes {
97116
98197
  device_id: string;
97117
98198
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
97118
98199
  connected_account_id: string;
98200
+ /** Custom metadata of the device, present when device_id is provided. */
98201
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98202
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98203
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97119
98204
  event_type: 'thermostat.climate_preset_activated';
97120
98205
  /** ID of the thermostat schedule that prompted the affected climate preset to be activated. */
97121
98206
  thermostat_schedule_id: string | null;
@@ -97136,6 +98221,10 @@ interface Routes {
97136
98221
  device_id: string;
97137
98222
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
97138
98223
  connected_account_id: string;
98224
+ /** Custom metadata of the device, present when device_id is provided. */
98225
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98226
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98227
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97139
98228
  event_type: 'thermostat.manually_adjusted';
97140
98229
  /** Method used to adjust the affected thermostat manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the thermostat. */
97141
98230
  method: 'seam' | 'external';
@@ -97164,6 +98253,10 @@ interface Routes {
97164
98253
  device_id: string;
97165
98254
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
97166
98255
  connected_account_id: string;
98256
+ /** Custom metadata of the device, present when device_id is provided. */
98257
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98258
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98259
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97167
98260
  event_type: 'thermostat.temperature_threshold_exceeded';
97168
98261
  /** Temperature, in °C, reported by the affected thermostat. */
97169
98262
  temperature_celsius: number;
@@ -97190,6 +98283,10 @@ interface Routes {
97190
98283
  device_id: string;
97191
98284
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
97192
98285
  connected_account_id: string;
98286
+ /** Custom metadata of the device, present when device_id is provided. */
98287
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98288
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98289
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97193
98290
  event_type: 'thermostat.temperature_threshold_no_longer_exceeded';
97194
98291
  /** Temperature, in °C, reported by the affected thermostat. */
97195
98292
  temperature_celsius: number;
@@ -97216,6 +98313,10 @@ interface Routes {
97216
98313
  device_id: string;
97217
98314
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
97218
98315
  connected_account_id: string;
98316
+ /** Custom metadata of the device, present when device_id is provided. */
98317
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98318
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98319
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97219
98320
  event_type: 'thermostat.temperature_reached_set_point';
97220
98321
  /** Temperature, in °C, reported by the affected thermostat. */
97221
98322
  temperature_celsius: number;
@@ -97238,6 +98339,10 @@ interface Routes {
97238
98339
  device_id: string;
97239
98340
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
97240
98341
  connected_account_id: string;
98342
+ /** Custom metadata of the device, present when device_id is provided. */
98343
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98344
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98345
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97241
98346
  event_type: 'thermostat.temperature_changed';
97242
98347
  /** Temperature, in °C, reported by the affected thermostat. */
97243
98348
  temperature_celsius: number;
@@ -97256,6 +98361,10 @@ interface Routes {
97256
98361
  device_id: string;
97257
98362
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
97258
98363
  connected_account_id: string;
98364
+ /** Custom metadata of the device, present when device_id is provided. */
98365
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98366
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98367
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97259
98368
  event_type: 'device.name_changed';
97260
98369
  /** The new name of the affected device. */
97261
98370
  device_name: string;
@@ -97282,6 +98391,8 @@ interface Routes {
97282
98391
  occurred_at: string;
97283
98392
  /** ID of the affected phone device. */
97284
98393
  device_id: string;
98394
+ /** Custom metadata of the device; present when device_id is provided. */
98395
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
97285
98396
  event_type: 'phone.deactivated';
97286
98397
  }) | undefined;
97287
98398
  message?: string | undefined;
@@ -97343,6 +98454,10 @@ interface Routes {
97343
98454
  device_id: string;
97344
98455
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
97345
98456
  connected_account_id: string;
98457
+ /** Custom metadata of the device, present when device_id is provided. */
98458
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98459
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98460
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97346
98461
  event_type: 'access_code.created';
97347
98462
  } | {
97348
98463
  /** ID of the event. */
@@ -97359,6 +98474,10 @@ interface Routes {
97359
98474
  device_id: string;
97360
98475
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
97361
98476
  connected_account_id: string;
98477
+ /** Custom metadata of the device, present when device_id is provided. */
98478
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98479
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98480
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97362
98481
  event_type: 'access_code.changed';
97363
98482
  } | {
97364
98483
  /** ID of the event. */
@@ -97375,6 +98494,10 @@ interface Routes {
97375
98494
  device_id: string;
97376
98495
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
97377
98496
  connected_account_id: string;
98497
+ /** Custom metadata of the device, present when device_id is provided. */
98498
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98499
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98500
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97378
98501
  event_type: 'access_code.scheduled_on_device';
97379
98502
  /** Code for the affected access code. */
97380
98503
  code: string;
@@ -97393,6 +98516,10 @@ interface Routes {
97393
98516
  device_id: string;
97394
98517
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
97395
98518
  connected_account_id: string;
98519
+ /** Custom metadata of the device, present when device_id is provided. */
98520
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98521
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98522
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97396
98523
  event_type: 'access_code.set_on_device';
97397
98524
  /** Code for the affected access code. */
97398
98525
  code: string;
@@ -97411,6 +98538,10 @@ interface Routes {
97411
98538
  device_id: string;
97412
98539
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
97413
98540
  connected_account_id: string;
98541
+ /** Custom metadata of the device, present when device_id is provided. */
98542
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98543
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98544
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97414
98545
  event_type: 'access_code.removed_from_device';
97415
98546
  } | {
97416
98547
  /** ID of the event. */
@@ -97427,6 +98558,10 @@ interface Routes {
97427
98558
  device_id: string;
97428
98559
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
97429
98560
  connected_account_id: string;
98561
+ /** Custom metadata of the device, present when device_id is provided. */
98562
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98563
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98564
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97430
98565
  event_type: 'access_code.delay_in_setting_on_device';
97431
98566
  } | {
97432
98567
  /** ID of the event. */
@@ -97443,6 +98578,10 @@ interface Routes {
97443
98578
  device_id: string;
97444
98579
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
97445
98580
  connected_account_id: string;
98581
+ /** Custom metadata of the device, present when device_id is provided. */
98582
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98583
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98584
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97446
98585
  event_type: 'access_code.failed_to_set_on_device';
97447
98586
  } | {
97448
98587
  /** ID of the event. */
@@ -97459,6 +98598,10 @@ interface Routes {
97459
98598
  device_id: string;
97460
98599
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
97461
98600
  connected_account_id: string;
98601
+ /** Custom metadata of the device, present when device_id is provided. */
98602
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98603
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98604
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97462
98605
  event_type: 'access_code.deleted';
97463
98606
  /** Code for the affected access code. */
97464
98607
  code: string | null;
@@ -97477,6 +98620,10 @@ interface Routes {
97477
98620
  device_id: string;
97478
98621
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
97479
98622
  connected_account_id: string;
98623
+ /** Custom metadata of the device, present when device_id is provided. */
98624
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98625
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98626
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97480
98627
  event_type: 'access_code.delay_in_removing_from_device';
97481
98628
  } | {
97482
98629
  /** ID of the event. */
@@ -97493,6 +98640,10 @@ interface Routes {
97493
98640
  device_id: string;
97494
98641
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
97495
98642
  connected_account_id: string;
98643
+ /** Custom metadata of the device, present when device_id is provided. */
98644
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98645
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98646
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97496
98647
  event_type: 'access_code.failed_to_remove_from_device';
97497
98648
  } | {
97498
98649
  /** ID of the event. */
@@ -97509,6 +98660,10 @@ interface Routes {
97509
98660
  device_id: string;
97510
98661
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
97511
98662
  connected_account_id: string;
98663
+ /** Custom metadata of the device, present when device_id is provided. */
98664
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98665
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98666
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97512
98667
  event_type: 'access_code.modified_external_to_seam';
97513
98668
  } | {
97514
98669
  /** ID of the event. */
@@ -97525,6 +98680,10 @@ interface Routes {
97525
98680
  device_id: string;
97526
98681
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
97527
98682
  connected_account_id: string;
98683
+ /** Custom metadata of the device, present when device_id is provided. */
98684
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98685
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98686
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97528
98687
  event_type: 'access_code.deleted_external_to_seam';
97529
98688
  } | {
97530
98689
  /** ID of the event. */
@@ -97541,6 +98700,10 @@ interface Routes {
97541
98700
  device_id: string;
97542
98701
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
97543
98702
  connected_account_id: string;
98703
+ /** Custom metadata of the device, present when device_id is provided. */
98704
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98705
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98706
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97544
98707
  event_type: 'access_code.backup_access_code_pulled';
97545
98708
  backup_access_code_id: string;
97546
98709
  } | {
@@ -97558,6 +98721,10 @@ interface Routes {
97558
98721
  device_id: string;
97559
98722
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
97560
98723
  connected_account_id: string;
98724
+ /** Custom metadata of the device, present when device_id is provided. */
98725
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98726
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98727
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97561
98728
  event_type: 'access_code.unmanaged.converted_to_managed';
97562
98729
  } | {
97563
98730
  /** ID of the event. */
@@ -97574,6 +98741,10 @@ interface Routes {
97574
98741
  device_id: string;
97575
98742
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
97576
98743
  connected_account_id: string;
98744
+ /** Custom metadata of the device, present when device_id is provided. */
98745
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98746
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98747
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97577
98748
  event_type: 'access_code.unmanaged.failed_to_convert_to_managed';
97578
98749
  } | {
97579
98750
  /** ID of the event. */
@@ -97590,6 +98761,10 @@ interface Routes {
97590
98761
  device_id: string;
97591
98762
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
97592
98763
  connected_account_id: string;
98764
+ /** Custom metadata of the device, present when device_id is provided. */
98765
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98766
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98767
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97593
98768
  event_type: 'access_code.unmanaged.created';
97594
98769
  } | {
97595
98770
  /** ID of the event. */
@@ -97606,6 +98781,10 @@ interface Routes {
97606
98781
  device_id: string;
97607
98782
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the affected access code. */
97608
98783
  connected_account_id: string;
98784
+ /** Custom metadata of the device, present when device_id is provided. */
98785
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98786
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
98787
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97609
98788
  event_type: 'access_code.unmanaged.removed';
97610
98789
  } | {
97611
98790
  /** ID of the event. */
@@ -97968,6 +99147,8 @@ interface Routes {
97968
99147
  occurred_at: string;
97969
99148
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
97970
99149
  connected_account_id: string;
99150
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99151
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97971
99152
  event_type: 'connected_account.connected';
97972
99153
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
97973
99154
  connect_webview_id: string;
@@ -97982,6 +99163,8 @@ interface Routes {
97982
99163
  occurred_at: string;
97983
99164
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
97984
99165
  connected_account_id: string;
99166
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99167
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97985
99168
  event_type: 'connected_account.created';
97986
99169
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
97987
99170
  connect_webview_id: string;
@@ -97996,6 +99179,8 @@ interface Routes {
97996
99179
  occurred_at: string;
97997
99180
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
97998
99181
  connected_account_id: string;
99182
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99183
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
97999
99184
  event_type: 'connected_account.successful_login';
98000
99185
  /** ID of the [Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews) associated with the event. */
98001
99186
  connect_webview_id: string;
@@ -98010,6 +99195,8 @@ interface Routes {
98010
99195
  occurred_at: string;
98011
99196
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
98012
99197
  connected_account_id: string;
99198
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99199
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98013
99200
  event_type: 'connected_account.disconnected';
98014
99201
  } | {
98015
99202
  /** ID of the event. */
@@ -98022,6 +99209,8 @@ interface Routes {
98022
99209
  occurred_at: string;
98023
99210
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
98024
99211
  connected_account_id: string;
99212
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99213
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98025
99214
  event_type: 'connected_account.completed_first_sync';
98026
99215
  } | {
98027
99216
  /** ID of the event. */
@@ -98034,6 +99223,8 @@ interface Routes {
98034
99223
  occurred_at: string;
98035
99224
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
98036
99225
  connected_account_id: string;
99226
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99227
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98037
99228
  event_type: 'connected_account.deleted';
98038
99229
  } | {
98039
99230
  /** ID of the event. */
@@ -98046,6 +99237,8 @@ interface Routes {
98046
99237
  occurred_at: string;
98047
99238
  /** ID of the affected [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
98048
99239
  connected_account_id: string;
99240
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99241
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98049
99242
  event_type: 'connected_account.completed_first_sync_after_reconnection';
98050
99243
  } | {
98051
99244
  /** ID of the event. */
@@ -98125,6 +99318,8 @@ interface Routes {
98125
99318
  event_type: 'connect_webview.login_succeeded';
98126
99319
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98127
99320
  connected_account_id: string;
99321
+ /** Custom metadata of the connected account; present when connected_account_id is provided. */
99322
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98128
99323
  } | {
98129
99324
  /** ID of the event. */
98130
99325
  event_id: string;
@@ -98150,6 +99345,10 @@ interface Routes {
98150
99345
  device_id: string;
98151
99346
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98152
99347
  connected_account_id: string;
99348
+ /** Custom metadata of the device, present when device_id is provided. */
99349
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99350
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99351
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98153
99352
  event_type: 'device.connected';
98154
99353
  } | {
98155
99354
  /** ID of the event. */
@@ -98164,6 +99363,10 @@ interface Routes {
98164
99363
  device_id: string;
98165
99364
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98166
99365
  connected_account_id: string;
99366
+ /** Custom metadata of the device, present when device_id is provided. */
99367
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99368
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99369
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98167
99370
  event_type: 'device.added';
98168
99371
  } | {
98169
99372
  /** ID of the event. */
@@ -98178,6 +99381,10 @@ interface Routes {
98178
99381
  device_id: string;
98179
99382
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98180
99383
  connected_account_id: string;
99384
+ /** Custom metadata of the device, present when device_id is provided. */
99385
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99386
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99387
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98181
99388
  event_type: 'device.converted_to_unmanaged';
98182
99389
  } | {
98183
99390
  /** ID of the event. */
@@ -98192,6 +99399,10 @@ interface Routes {
98192
99399
  device_id: string;
98193
99400
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98194
99401
  connected_account_id: string;
99402
+ /** Custom metadata of the device, present when device_id is provided. */
99403
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99404
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99405
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98195
99406
  event_type: 'device.unmanaged.converted_to_managed';
98196
99407
  } | {
98197
99408
  /** ID of the event. */
@@ -98206,6 +99417,10 @@ interface Routes {
98206
99417
  device_id: string;
98207
99418
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98208
99419
  connected_account_id: string;
99420
+ /** Custom metadata of the device, present when device_id is provided. */
99421
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99422
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99423
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98209
99424
  event_type: 'device.unmanaged.connected';
98210
99425
  } | {
98211
99426
  /** ID of the event. */
@@ -98220,6 +99435,10 @@ interface Routes {
98220
99435
  device_id: string;
98221
99436
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98222
99437
  connected_account_id: string;
99438
+ /** Custom metadata of the device, present when device_id is provided. */
99439
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99440
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99441
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98223
99442
  event_type: 'device.disconnected';
98224
99443
  /** Error code associated with the disconnection event, if any. */
98225
99444
  error_code: 'account_disconnected' | 'hub_disconnected' | 'device_disconnected';
@@ -98236,6 +99455,10 @@ interface Routes {
98236
99455
  device_id: string;
98237
99456
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98238
99457
  connected_account_id: string;
99458
+ /** Custom metadata of the device, present when device_id is provided. */
99459
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99460
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99461
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98239
99462
  event_type: 'device.unmanaged.disconnected';
98240
99463
  /** Error code associated with the disconnection event, if any. */
98241
99464
  error_code: 'account_disconnected' | 'hub_disconnected' | 'device_disconnected';
@@ -98252,6 +99475,10 @@ interface Routes {
98252
99475
  device_id: string;
98253
99476
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98254
99477
  connected_account_id: string;
99478
+ /** Custom metadata of the device, present when device_id is provided. */
99479
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99480
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99481
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98255
99482
  event_type: 'device.tampered';
98256
99483
  } | {
98257
99484
  /** ID of the event. */
@@ -98266,6 +99493,10 @@ interface Routes {
98266
99493
  device_id: string;
98267
99494
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98268
99495
  connected_account_id: string;
99496
+ /** Custom metadata of the device, present when device_id is provided. */
99497
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99498
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99499
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98269
99500
  event_type: 'device.low_battery';
98270
99501
  /** Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device. */
98271
99502
  battery_level: number;
@@ -98282,6 +99513,10 @@ interface Routes {
98282
99513
  device_id: string;
98283
99514
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98284
99515
  connected_account_id: string;
99516
+ /** Custom metadata of the device, present when device_id is provided. */
99517
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99518
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99519
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98285
99520
  event_type: 'device.battery_status_changed';
98286
99521
  /** Battery status of the affected device, calculated from the numeric `battery_level` value. */
98287
99522
  battery_status: 'critical' | 'low' | 'good' | 'full';
@@ -98300,6 +99535,10 @@ interface Routes {
98300
99535
  device_id: string;
98301
99536
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98302
99537
  connected_account_id: string;
99538
+ /** Custom metadata of the device, present when device_id is provided. */
99539
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99540
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99541
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98303
99542
  event_type: 'device.removed';
98304
99543
  } | {
98305
99544
  /** ID of the event. */
@@ -98314,6 +99553,10 @@ interface Routes {
98314
99553
  device_id: string;
98315
99554
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98316
99555
  connected_account_id: string;
99556
+ /** Custom metadata of the device, present when device_id is provided. */
99557
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99558
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99559
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98317
99560
  event_type: 'device.deleted';
98318
99561
  } | {
98319
99562
  /** ID of the event. */
@@ -98328,6 +99571,10 @@ interface Routes {
98328
99571
  device_id: string;
98329
99572
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98330
99573
  connected_account_id: string;
99574
+ /** Custom metadata of the device, present when device_id is provided. */
99575
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99576
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99577
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98331
99578
  event_type: 'device.third_party_integration_detected';
98332
99579
  } | {
98333
99580
  /** ID of the event. */
@@ -98342,6 +99589,10 @@ interface Routes {
98342
99589
  device_id: string;
98343
99590
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98344
99591
  connected_account_id: string;
99592
+ /** Custom metadata of the device, present when device_id is provided. */
99593
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99594
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99595
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98345
99596
  event_type: 'device.third_party_integration_no_longer_detected';
98346
99597
  } | {
98347
99598
  /** ID of the event. */
@@ -98356,6 +99607,10 @@ interface Routes {
98356
99607
  device_id: string;
98357
99608
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98358
99609
  connected_account_id: string;
99610
+ /** Custom metadata of the device, present when device_id is provided. */
99611
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99612
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99613
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98359
99614
  event_type: 'device.salto.privacy_mode_activated';
98360
99615
  } | {
98361
99616
  /** ID of the event. */
@@ -98370,6 +99625,10 @@ interface Routes {
98370
99625
  device_id: string;
98371
99626
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98372
99627
  connected_account_id: string;
99628
+ /** Custom metadata of the device, present when device_id is provided. */
99629
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99630
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99631
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98373
99632
  event_type: 'device.salto.privacy_mode_deactivated';
98374
99633
  } | {
98375
99634
  /** ID of the event. */
@@ -98384,6 +99643,10 @@ interface Routes {
98384
99643
  device_id: string;
98385
99644
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98386
99645
  connected_account_id: string;
99646
+ /** Custom metadata of the device, present when device_id is provided. */
99647
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99648
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99649
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98387
99650
  event_type: 'device.connection_became_flaky';
98388
99651
  } | {
98389
99652
  /** ID of the event. */
@@ -98398,6 +99661,10 @@ interface Routes {
98398
99661
  device_id: string;
98399
99662
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98400
99663
  connected_account_id: string;
99664
+ /** Custom metadata of the device, present when device_id is provided. */
99665
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99666
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99667
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98401
99668
  event_type: 'device.connection_stabilized';
98402
99669
  } | {
98403
99670
  /** ID of the event. */
@@ -98412,6 +99679,10 @@ interface Routes {
98412
99679
  device_id: string;
98413
99680
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98414
99681
  connected_account_id: string;
99682
+ /** Custom metadata of the device, present when device_id is provided. */
99683
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99684
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99685
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98415
99686
  event_type: 'device.error.subscription_required';
98416
99687
  } | {
98417
99688
  /** ID of the event. */
@@ -98426,6 +99697,10 @@ interface Routes {
98426
99697
  device_id: string;
98427
99698
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98428
99699
  connected_account_id: string;
99700
+ /** Custom metadata of the device, present when device_id is provided. */
99701
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99702
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99703
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98429
99704
  event_type: 'device.error.subscription_required.resolved';
98430
99705
  } | {
98431
99706
  /** ID of the event. */
@@ -98440,6 +99715,10 @@ interface Routes {
98440
99715
  device_id: string;
98441
99716
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98442
99717
  connected_account_id: string;
99718
+ /** Custom metadata of the device, present when device_id is provided. */
99719
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99720
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99721
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98443
99722
  event_type: 'device.accessory_keypad_connected';
98444
99723
  } | {
98445
99724
  /** ID of the event. */
@@ -98454,6 +99733,10 @@ interface Routes {
98454
99733
  device_id: string;
98455
99734
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98456
99735
  connected_account_id: string;
99736
+ /** Custom metadata of the device, present when device_id is provided. */
99737
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99738
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99739
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98457
99740
  event_type: 'device.accessory_keypad_disconnected';
98458
99741
  } | {
98459
99742
  /** ID of the event. */
@@ -98468,6 +99751,10 @@ interface Routes {
98468
99751
  device_id: string;
98469
99752
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98470
99753
  connected_account_id: string;
99754
+ /** Custom metadata of the device, present when device_id is provided. */
99755
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99756
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99757
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98471
99758
  event_type: 'noise_sensor.noise_threshold_triggered';
98472
99759
  /** Detected noise level in decibels. */
98473
99760
  noise_level_decibels?: number | undefined;
@@ -98494,6 +99781,10 @@ interface Routes {
98494
99781
  device_id: string;
98495
99782
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98496
99783
  connected_account_id: string;
99784
+ /** Custom metadata of the device, present when device_id is provided. */
99785
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99786
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99787
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98497
99788
  event_type: 'lock.locked';
98498
99789
  /** ID of the access code that was used to lock the device. */
98499
99790
  access_code_id?: string | undefined;
@@ -98514,6 +99805,10 @@ interface Routes {
98514
99805
  device_id: string;
98515
99806
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98516
99807
  connected_account_id: string;
99808
+ /** Custom metadata of the device, present when device_id is provided. */
99809
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99810
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99811
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98517
99812
  event_type: 'lock.unlocked';
98518
99813
  /** ID of the access code that was used to unlock the affected device. */
98519
99814
  access_code_id?: string | undefined;
@@ -98534,6 +99829,10 @@ interface Routes {
98534
99829
  device_id: string;
98535
99830
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98536
99831
  connected_account_id: string;
99832
+ /** Custom metadata of the device, present when device_id is provided. */
99833
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99834
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99835
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98537
99836
  event_type: 'lock.access_denied';
98538
99837
  /** ID of the access code that was used in the unlock attempts. */
98539
99838
  access_code_id?: string | undefined;
@@ -98550,6 +99849,10 @@ interface Routes {
98550
99849
  device_id: string;
98551
99850
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98552
99851
  connected_account_id: string;
99852
+ /** Custom metadata of the device, present when device_id is provided. */
99853
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99854
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99855
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98553
99856
  event_type: 'thermostat.climate_preset_activated';
98554
99857
  /** ID of the thermostat schedule that prompted the affected climate preset to be activated. */
98555
99858
  thermostat_schedule_id: string | null;
@@ -98570,6 +99873,10 @@ interface Routes {
98570
99873
  device_id: string;
98571
99874
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98572
99875
  connected_account_id: string;
99876
+ /** Custom metadata of the device, present when device_id is provided. */
99877
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99878
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99879
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98573
99880
  event_type: 'thermostat.manually_adjusted';
98574
99881
  /** Method used to adjust the affected thermostat manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the thermostat. */
98575
99882
  method: 'seam' | 'external';
@@ -98598,6 +99905,10 @@ interface Routes {
98598
99905
  device_id: string;
98599
99906
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98600
99907
  connected_account_id: string;
99908
+ /** Custom metadata of the device, present when device_id is provided. */
99909
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99910
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99911
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98601
99912
  event_type: 'thermostat.temperature_threshold_exceeded';
98602
99913
  /** Temperature, in °C, reported by the affected thermostat. */
98603
99914
  temperature_celsius: number;
@@ -98624,6 +99935,10 @@ interface Routes {
98624
99935
  device_id: string;
98625
99936
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98626
99937
  connected_account_id: string;
99938
+ /** Custom metadata of the device, present when device_id is provided. */
99939
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99940
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99941
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98627
99942
  event_type: 'thermostat.temperature_threshold_no_longer_exceeded';
98628
99943
  /** Temperature, in °C, reported by the affected thermostat. */
98629
99944
  temperature_celsius: number;
@@ -98650,6 +99965,10 @@ interface Routes {
98650
99965
  device_id: string;
98651
99966
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98652
99967
  connected_account_id: string;
99968
+ /** Custom metadata of the device, present when device_id is provided. */
99969
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99970
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99971
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98653
99972
  event_type: 'thermostat.temperature_reached_set_point';
98654
99973
  /** Temperature, in °C, reported by the affected thermostat. */
98655
99974
  temperature_celsius: number;
@@ -98672,6 +99991,10 @@ interface Routes {
98672
99991
  device_id: string;
98673
99992
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98674
99993
  connected_account_id: string;
99994
+ /** Custom metadata of the device, present when device_id is provided. */
99995
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
99996
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
99997
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98675
99998
  event_type: 'thermostat.temperature_changed';
98676
99999
  /** Temperature, in °C, reported by the affected thermostat. */
98677
100000
  temperature_celsius: number;
@@ -98690,6 +100013,10 @@ interface Routes {
98690
100013
  device_id: string;
98691
100014
  /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
98692
100015
  connected_account_id: string;
100016
+ /** Custom metadata of the device, present when device_id is provided. */
100017
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
100018
+ /** Custom metadata of the connected account, present when connected_account_id is provided. */
100019
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
98693
100020
  event_type: 'device.name_changed';
98694
100021
  /** The new name of the affected device. */
98695
100022
  device_name: string;
@@ -98716,6 +100043,8 @@ interface Routes {
98716
100043
  occurred_at: string;
98717
100044
  /** ID of the affected phone device. */
98718
100045
  device_id: string;
100046
+ /** Custom metadata of the device; present when device_id is provided. */
100047
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
98719
100048
  event_type: 'phone.deactivated';
98720
100049
  }>;
98721
100050
  };
@@ -132231,6 +133560,8 @@ interface Routes {
132231
133560
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
132232
133561
  warning_code: 'acs_user_profile_does_not_match_user_identity';
132233
133562
  }>;
133563
+ /** Array of access system user IDs associated with the user identity. */
133564
+ acs_user_ids: string[];
132234
133565
  };
132235
133566
  };
132236
133567
  };
@@ -132437,6 +133768,8 @@ interface Routes {
132437
133768
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
132438
133769
  warning_code: 'acs_user_profile_does_not_match_user_identity';
132439
133770
  }>;
133771
+ /** Array of access system user IDs associated with the user identity. */
133772
+ acs_user_ids: string[];
132440
133773
  };
132441
133774
  };
132442
133775
  };
@@ -132511,6 +133844,8 @@ interface Routes {
132511
133844
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
132512
133845
  warning_code: 'acs_user_profile_does_not_match_user_identity';
132513
133846
  }>;
133847
+ /** Array of access system user IDs associated with the user identity. */
133848
+ acs_user_ids: string[];
132514
133849
  }>;
132515
133850
  };
132516
133851
  };