@seamapi/types 1.711.0 → 1.713.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.
@@ -27153,6 +27153,112 @@ declare const batch: z.ZodObject<{
27153
27153
  connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
27154
27154
  } & {
27155
27155
  event_type: z.ZodLiteral<"connected_account.disconnected">;
27156
+ connected_account_errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
27157
+ created_at: z.ZodString;
27158
+ message: z.ZodString;
27159
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
27160
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
27161
+ } & {
27162
+ error_code: z.ZodLiteral<"account_disconnected">;
27163
+ }, "strip", z.ZodTypeAny, {
27164
+ message: string;
27165
+ created_at: string;
27166
+ error_code: "account_disconnected";
27167
+ is_connected_account_error?: boolean | undefined;
27168
+ is_bridge_error?: boolean | undefined;
27169
+ }, {
27170
+ message: string;
27171
+ created_at: string;
27172
+ error_code: "account_disconnected";
27173
+ is_connected_account_error?: boolean | undefined;
27174
+ is_bridge_error?: boolean | undefined;
27175
+ }>, z.ZodObject<{
27176
+ created_at: z.ZodString;
27177
+ message: z.ZodString;
27178
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
27179
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
27180
+ } & {
27181
+ error_code: z.ZodLiteral<"bridge_disconnected">;
27182
+ }, "strip", z.ZodTypeAny, {
27183
+ message: string;
27184
+ created_at: string;
27185
+ error_code: "bridge_disconnected";
27186
+ is_connected_account_error?: boolean | undefined;
27187
+ is_bridge_error?: boolean | undefined;
27188
+ }, {
27189
+ message: string;
27190
+ created_at: string;
27191
+ error_code: "bridge_disconnected";
27192
+ is_connected_account_error?: boolean | undefined;
27193
+ is_bridge_error?: boolean | undefined;
27194
+ }>, z.ZodObject<{
27195
+ created_at: z.ZodString;
27196
+ message: z.ZodString;
27197
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
27198
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
27199
+ } & {
27200
+ error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
27201
+ salto_ks_metadata: z.ZodObject<{
27202
+ sites: z.ZodArray<z.ZodObject<{
27203
+ site_id: z.ZodString;
27204
+ site_name: z.ZodString;
27205
+ subscribed_site_user_count: z.ZodNumber;
27206
+ site_user_subscription_limit: z.ZodNumber;
27207
+ }, "strip", z.ZodTypeAny, {
27208
+ site_id: string;
27209
+ site_name: string;
27210
+ subscribed_site_user_count: number;
27211
+ site_user_subscription_limit: number;
27212
+ }, {
27213
+ site_id: string;
27214
+ site_name: string;
27215
+ subscribed_site_user_count: number;
27216
+ site_user_subscription_limit: number;
27217
+ }>, "many">;
27218
+ }, "strip", z.ZodTypeAny, {
27219
+ sites: {
27220
+ site_id: string;
27221
+ site_name: string;
27222
+ subscribed_site_user_count: number;
27223
+ site_user_subscription_limit: number;
27224
+ }[];
27225
+ }, {
27226
+ sites: {
27227
+ site_id: string;
27228
+ site_name: string;
27229
+ subscribed_site_user_count: number;
27230
+ site_user_subscription_limit: number;
27231
+ }[];
27232
+ }>;
27233
+ }, "strip", z.ZodTypeAny, {
27234
+ message: string;
27235
+ created_at: string;
27236
+ error_code: "salto_ks_subscription_limit_exceeded";
27237
+ salto_ks_metadata: {
27238
+ sites: {
27239
+ site_id: string;
27240
+ site_name: string;
27241
+ subscribed_site_user_count: number;
27242
+ site_user_subscription_limit: number;
27243
+ }[];
27244
+ };
27245
+ is_connected_account_error?: boolean | undefined;
27246
+ is_bridge_error?: boolean | undefined;
27247
+ }, {
27248
+ message: string;
27249
+ created_at: string;
27250
+ error_code: "salto_ks_subscription_limit_exceeded";
27251
+ salto_ks_metadata: {
27252
+ sites: {
27253
+ site_id: string;
27254
+ site_name: string;
27255
+ subscribed_site_user_count: number;
27256
+ site_user_subscription_limit: number;
27257
+ }[];
27258
+ };
27259
+ is_connected_account_error?: boolean | undefined;
27260
+ is_bridge_error?: boolean | undefined;
27261
+ }>]>, "many">;
27156
27262
  }, "strip", z.ZodTypeAny, {
27157
27263
  workspace_id: string;
27158
27264
  created_at: string;
@@ -27160,6 +27266,33 @@ declare const batch: z.ZodObject<{
27160
27266
  event_id: string;
27161
27267
  occurred_at: string;
27162
27268
  event_type: "connected_account.disconnected";
27269
+ connected_account_errors: ({
27270
+ message: string;
27271
+ created_at: string;
27272
+ error_code: "account_disconnected";
27273
+ is_connected_account_error?: boolean | undefined;
27274
+ is_bridge_error?: boolean | undefined;
27275
+ } | {
27276
+ message: string;
27277
+ created_at: string;
27278
+ error_code: "bridge_disconnected";
27279
+ is_connected_account_error?: boolean | undefined;
27280
+ is_bridge_error?: boolean | undefined;
27281
+ } | {
27282
+ message: string;
27283
+ created_at: string;
27284
+ error_code: "salto_ks_subscription_limit_exceeded";
27285
+ salto_ks_metadata: {
27286
+ sites: {
27287
+ site_id: string;
27288
+ site_name: string;
27289
+ subscribed_site_user_count: number;
27290
+ site_user_subscription_limit: number;
27291
+ }[];
27292
+ };
27293
+ is_connected_account_error?: boolean | undefined;
27294
+ is_bridge_error?: boolean | undefined;
27295
+ })[];
27163
27296
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
27164
27297
  }, {
27165
27298
  workspace_id: string;
@@ -27168,6 +27301,33 @@ declare const batch: z.ZodObject<{
27168
27301
  event_id: string;
27169
27302
  occurred_at: string;
27170
27303
  event_type: "connected_account.disconnected";
27304
+ connected_account_errors: ({
27305
+ message: string;
27306
+ created_at: string;
27307
+ error_code: "account_disconnected";
27308
+ is_connected_account_error?: boolean | undefined;
27309
+ is_bridge_error?: boolean | undefined;
27310
+ } | {
27311
+ message: string;
27312
+ created_at: string;
27313
+ error_code: "bridge_disconnected";
27314
+ is_connected_account_error?: boolean | undefined;
27315
+ is_bridge_error?: boolean | undefined;
27316
+ } | {
27317
+ message: string;
27318
+ created_at: string;
27319
+ error_code: "salto_ks_subscription_limit_exceeded";
27320
+ salto_ks_metadata: {
27321
+ sites: {
27322
+ site_id: string;
27323
+ site_name: string;
27324
+ subscribed_site_user_count: number;
27325
+ site_user_subscription_limit: number;
27326
+ }[];
27327
+ };
27328
+ is_connected_account_error?: boolean | undefined;
27329
+ is_bridge_error?: boolean | undefined;
27330
+ })[];
27171
27331
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
27172
27332
  }>, z.ZodObject<{
27173
27333
  event_id: z.ZodString;
@@ -34972,6 +35132,33 @@ declare const batch: z.ZodObject<{
34972
35132
  event_id: string;
34973
35133
  occurred_at: string;
34974
35134
  event_type: "connected_account.disconnected";
35135
+ connected_account_errors: ({
35136
+ message: string;
35137
+ created_at: string;
35138
+ error_code: "account_disconnected";
35139
+ is_connected_account_error?: boolean | undefined;
35140
+ is_bridge_error?: boolean | undefined;
35141
+ } | {
35142
+ message: string;
35143
+ created_at: string;
35144
+ error_code: "bridge_disconnected";
35145
+ is_connected_account_error?: boolean | undefined;
35146
+ is_bridge_error?: boolean | undefined;
35147
+ } | {
35148
+ message: string;
35149
+ created_at: string;
35150
+ error_code: "salto_ks_subscription_limit_exceeded";
35151
+ salto_ks_metadata: {
35152
+ sites: {
35153
+ site_id: string;
35154
+ site_name: string;
35155
+ subscribed_site_user_count: number;
35156
+ site_user_subscription_limit: number;
35157
+ }[];
35158
+ };
35159
+ is_connected_account_error?: boolean | undefined;
35160
+ is_bridge_error?: boolean | undefined;
35161
+ })[];
34975
35162
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
34976
35163
  } | {
34977
35164
  workspace_id: string;
@@ -39064,6 +39251,33 @@ declare const batch: z.ZodObject<{
39064
39251
  event_id: string;
39065
39252
  occurred_at: string;
39066
39253
  event_type: "connected_account.disconnected";
39254
+ connected_account_errors: ({
39255
+ message: string;
39256
+ created_at: string;
39257
+ error_code: "account_disconnected";
39258
+ is_connected_account_error?: boolean | undefined;
39259
+ is_bridge_error?: boolean | undefined;
39260
+ } | {
39261
+ message: string;
39262
+ created_at: string;
39263
+ error_code: "bridge_disconnected";
39264
+ is_connected_account_error?: boolean | undefined;
39265
+ is_bridge_error?: boolean | undefined;
39266
+ } | {
39267
+ message: string;
39268
+ created_at: string;
39269
+ error_code: "salto_ks_subscription_limit_exceeded";
39270
+ salto_ks_metadata: {
39271
+ sites: {
39272
+ site_id: string;
39273
+ site_name: string;
39274
+ subscribed_site_user_count: number;
39275
+ site_user_subscription_limit: number;
39276
+ }[];
39277
+ };
39278
+ is_connected_account_error?: boolean | undefined;
39279
+ is_bridge_error?: boolean | undefined;
39280
+ })[];
39067
39281
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
39068
39282
  } | {
39069
39283
  workspace_id: string;
@@ -51096,6 +51310,112 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
51096
51310
  connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
51097
51311
  } & {
51098
51312
  event_type: z.ZodLiteral<"connected_account.disconnected">;
51313
+ connected_account_errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<{
51314
+ created_at: z.ZodString;
51315
+ message: z.ZodString;
51316
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
51317
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
51318
+ } & {
51319
+ error_code: z.ZodLiteral<"account_disconnected">;
51320
+ }, "strip", z.ZodTypeAny, {
51321
+ message: string;
51322
+ created_at: string;
51323
+ error_code: "account_disconnected";
51324
+ is_connected_account_error?: boolean | undefined;
51325
+ is_bridge_error?: boolean | undefined;
51326
+ }, {
51327
+ message: string;
51328
+ created_at: string;
51329
+ error_code: "account_disconnected";
51330
+ is_connected_account_error?: boolean | undefined;
51331
+ is_bridge_error?: boolean | undefined;
51332
+ }>, z.ZodObject<{
51333
+ created_at: z.ZodString;
51334
+ message: z.ZodString;
51335
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
51336
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
51337
+ } & {
51338
+ error_code: z.ZodLiteral<"bridge_disconnected">;
51339
+ }, "strip", z.ZodTypeAny, {
51340
+ message: string;
51341
+ created_at: string;
51342
+ error_code: "bridge_disconnected";
51343
+ is_connected_account_error?: boolean | undefined;
51344
+ is_bridge_error?: boolean | undefined;
51345
+ }, {
51346
+ message: string;
51347
+ created_at: string;
51348
+ error_code: "bridge_disconnected";
51349
+ is_connected_account_error?: boolean | undefined;
51350
+ is_bridge_error?: boolean | undefined;
51351
+ }>, z.ZodObject<{
51352
+ created_at: z.ZodString;
51353
+ message: z.ZodString;
51354
+ is_connected_account_error: z.ZodOptional<z.ZodBoolean>;
51355
+ is_bridge_error: z.ZodOptional<z.ZodBoolean>;
51356
+ } & {
51357
+ error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
51358
+ salto_ks_metadata: z.ZodObject<{
51359
+ sites: z.ZodArray<z.ZodObject<{
51360
+ site_id: z.ZodString;
51361
+ site_name: z.ZodString;
51362
+ subscribed_site_user_count: z.ZodNumber;
51363
+ site_user_subscription_limit: z.ZodNumber;
51364
+ }, "strip", z.ZodTypeAny, {
51365
+ site_id: string;
51366
+ site_name: string;
51367
+ subscribed_site_user_count: number;
51368
+ site_user_subscription_limit: number;
51369
+ }, {
51370
+ site_id: string;
51371
+ site_name: string;
51372
+ subscribed_site_user_count: number;
51373
+ site_user_subscription_limit: number;
51374
+ }>, "many">;
51375
+ }, "strip", z.ZodTypeAny, {
51376
+ sites: {
51377
+ site_id: string;
51378
+ site_name: string;
51379
+ subscribed_site_user_count: number;
51380
+ site_user_subscription_limit: number;
51381
+ }[];
51382
+ }, {
51383
+ sites: {
51384
+ site_id: string;
51385
+ site_name: string;
51386
+ subscribed_site_user_count: number;
51387
+ site_user_subscription_limit: number;
51388
+ }[];
51389
+ }>;
51390
+ }, "strip", z.ZodTypeAny, {
51391
+ message: string;
51392
+ created_at: string;
51393
+ error_code: "salto_ks_subscription_limit_exceeded";
51394
+ salto_ks_metadata: {
51395
+ sites: {
51396
+ site_id: string;
51397
+ site_name: string;
51398
+ subscribed_site_user_count: number;
51399
+ site_user_subscription_limit: number;
51400
+ }[];
51401
+ };
51402
+ is_connected_account_error?: boolean | undefined;
51403
+ is_bridge_error?: boolean | undefined;
51404
+ }, {
51405
+ message: string;
51406
+ created_at: string;
51407
+ error_code: "salto_ks_subscription_limit_exceeded";
51408
+ salto_ks_metadata: {
51409
+ sites: {
51410
+ site_id: string;
51411
+ site_name: string;
51412
+ subscribed_site_user_count: number;
51413
+ site_user_subscription_limit: number;
51414
+ }[];
51415
+ };
51416
+ is_connected_account_error?: boolean | undefined;
51417
+ is_bridge_error?: boolean | undefined;
51418
+ }>]>, "many">;
51099
51419
  }, "strip", z.ZodTypeAny, {
51100
51420
  workspace_id: string;
51101
51421
  created_at: string;
@@ -51103,6 +51423,33 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
51103
51423
  event_id: string;
51104
51424
  occurred_at: string;
51105
51425
  event_type: "connected_account.disconnected";
51426
+ connected_account_errors: ({
51427
+ message: string;
51428
+ created_at: string;
51429
+ error_code: "account_disconnected";
51430
+ is_connected_account_error?: boolean | undefined;
51431
+ is_bridge_error?: boolean | undefined;
51432
+ } | {
51433
+ message: string;
51434
+ created_at: string;
51435
+ error_code: "bridge_disconnected";
51436
+ is_connected_account_error?: boolean | undefined;
51437
+ is_bridge_error?: boolean | undefined;
51438
+ } | {
51439
+ message: string;
51440
+ created_at: string;
51441
+ error_code: "salto_ks_subscription_limit_exceeded";
51442
+ salto_ks_metadata: {
51443
+ sites: {
51444
+ site_id: string;
51445
+ site_name: string;
51446
+ subscribed_site_user_count: number;
51447
+ site_user_subscription_limit: number;
51448
+ }[];
51449
+ };
51450
+ is_connected_account_error?: boolean | undefined;
51451
+ is_bridge_error?: boolean | undefined;
51452
+ })[];
51106
51453
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
51107
51454
  }, {
51108
51455
  workspace_id: string;
@@ -51111,6 +51458,33 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
51111
51458
  event_id: string;
51112
51459
  occurred_at: string;
51113
51460
  event_type: "connected_account.disconnected";
51461
+ connected_account_errors: ({
51462
+ message: string;
51463
+ created_at: string;
51464
+ error_code: "account_disconnected";
51465
+ is_connected_account_error?: boolean | undefined;
51466
+ is_bridge_error?: boolean | undefined;
51467
+ } | {
51468
+ message: string;
51469
+ created_at: string;
51470
+ error_code: "bridge_disconnected";
51471
+ is_connected_account_error?: boolean | undefined;
51472
+ is_bridge_error?: boolean | undefined;
51473
+ } | {
51474
+ message: string;
51475
+ created_at: string;
51476
+ error_code: "salto_ks_subscription_limit_exceeded";
51477
+ salto_ks_metadata: {
51478
+ sites: {
51479
+ site_id: string;
51480
+ site_name: string;
51481
+ subscribed_site_user_count: number;
51482
+ site_user_subscription_limit: number;
51483
+ }[];
51484
+ };
51485
+ is_connected_account_error?: boolean | undefined;
51486
+ is_bridge_error?: boolean | undefined;
51487
+ })[];
51114
51488
  connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
51115
51489
  }>, z.ZodObject<{
51116
51490
  event_id: z.ZodString;
@@ -60949,6 +61323,7 @@ declare const _default: {
60949
61323
  client_session_id?: never;
60950
61324
  connect_webview_id?: never;
60951
61325
  customer_key?: never;
61326
+ connected_account_errors?: never;
60952
61327
  connected_account_type?: never;
60953
61328
  action_attempt_id?: never;
60954
61329
  action_type?: never;
@@ -61079,6 +61454,7 @@ declare const _default: {
61079
61454
  client_session_id?: never;
61080
61455
  connect_webview_id?: never;
61081
61456
  customer_key?: never;
61457
+ connected_account_errors?: never;
61082
61458
  connected_account_type?: never;
61083
61459
  action_attempt_id?: never;
61084
61460
  action_type?: never;
@@ -61209,6 +61585,7 @@ declare const _default: {
61209
61585
  client_session_id?: never;
61210
61586
  connect_webview_id?: never;
61211
61587
  customer_key?: never;
61588
+ connected_account_errors?: never;
61212
61589
  connected_account_type?: never;
61213
61590
  action_attempt_id?: never;
61214
61591
  action_type?: never;
@@ -61337,6 +61714,7 @@ declare const _default: {
61337
61714
  client_session_id?: never;
61338
61715
  connect_webview_id?: never;
61339
61716
  customer_key?: never;
61717
+ connected_account_errors?: never;
61340
61718
  connected_account_type?: never;
61341
61719
  action_attempt_id?: never;
61342
61720
  action_type?: never;
@@ -61439,6 +61817,7 @@ declare const _default: {
61439
61817
  client_session_id?: never;
61440
61818
  connect_webview_id?: never;
61441
61819
  customer_key?: never;
61820
+ connected_account_errors?: never;
61442
61821
  connected_account_type?: never;
61443
61822
  action_attempt_id?: never;
61444
61823
  action_type?: never;
@@ -61545,6 +61924,7 @@ declare const _default: {
61545
61924
  client_session_id?: never;
61546
61925
  connect_webview_id?: never;
61547
61926
  customer_key?: never;
61927
+ connected_account_errors?: never;
61548
61928
  connected_account_type?: never;
61549
61929
  action_attempt_id?: never;
61550
61930
  action_type?: never;
@@ -61656,6 +62036,7 @@ declare const _default: {
61656
62036
  client_session_id?: never;
61657
62037
  connect_webview_id?: never;
61658
62038
  customer_key?: never;
62039
+ connected_account_errors?: never;
61659
62040
  connected_account_type?: never;
61660
62041
  action_attempt_id?: never;
61661
62042
  action_type?: never;
@@ -61761,6 +62142,7 @@ declare const _default: {
61761
62142
  client_session_id?: never;
61762
62143
  connect_webview_id?: never;
61763
62144
  customer_key?: never;
62145
+ connected_account_errors?: never;
61764
62146
  connected_account_type?: never;
61765
62147
  action_attempt_id?: never;
61766
62148
  action_type?: never;
@@ -61883,6 +62265,7 @@ declare const _default: {
61883
62265
  client_session_id?: never;
61884
62266
  connect_webview_id?: never;
61885
62267
  customer_key?: never;
62268
+ connected_account_errors?: never;
61886
62269
  connected_account_type?: never;
61887
62270
  action_attempt_id?: never;
61888
62271
  action_type?: never;
@@ -61998,6 +62381,7 @@ declare const _default: {
61998
62381
  client_session_id?: never;
61999
62382
  connect_webview_id?: never;
62000
62383
  customer_key?: never;
62384
+ connected_account_errors?: never;
62001
62385
  connected_account_type?: never;
62002
62386
  action_attempt_id?: never;
62003
62387
  action_type?: never;
@@ -62104,6 +62488,7 @@ declare const _default: {
62104
62488
  client_session_id?: never;
62105
62489
  connect_webview_id?: never;
62106
62490
  customer_key?: never;
62491
+ connected_account_errors?: never;
62107
62492
  connected_account_type?: never;
62108
62493
  action_attempt_id?: never;
62109
62494
  action_type?: never;
@@ -62214,6 +62599,7 @@ declare const _default: {
62214
62599
  client_session_id?: never;
62215
62600
  connect_webview_id?: never;
62216
62601
  customer_key?: never;
62602
+ connected_account_errors?: never;
62217
62603
  connected_account_type?: never;
62218
62604
  action_attempt_id?: never;
62219
62605
  action_type?: never;
@@ -62324,6 +62710,7 @@ declare const _default: {
62324
62710
  client_session_id?: never;
62325
62711
  connect_webview_id?: never;
62326
62712
  customer_key?: never;
62713
+ connected_account_errors?: never;
62327
62714
  connected_account_type?: never;
62328
62715
  action_attempt_id?: never;
62329
62716
  action_type?: never;
@@ -62434,6 +62821,7 @@ declare const _default: {
62434
62821
  client_session_id?: never;
62435
62822
  connect_webview_id?: never;
62436
62823
  customer_key?: never;
62824
+ connected_account_errors?: never;
62437
62825
  connected_account_type?: never;
62438
62826
  action_attempt_id?: never;
62439
62827
  action_type?: never;
@@ -62544,6 +62932,7 @@ declare const _default: {
62544
62932
  client_session_id?: never;
62545
62933
  connect_webview_id?: never;
62546
62934
  customer_key?: never;
62935
+ connected_account_errors?: never;
62547
62936
  connected_account_type?: never;
62548
62937
  action_attempt_id?: never;
62549
62938
  action_type?: never;
@@ -62654,6 +63043,7 @@ declare const _default: {
62654
63043
  client_session_id?: never;
62655
63044
  connect_webview_id?: never;
62656
63045
  customer_key?: never;
63046
+ connected_account_errors?: never;
62657
63047
  connected_account_type?: never;
62658
63048
  action_attempt_id?: never;
62659
63049
  action_type?: never;
@@ -62756,6 +63146,7 @@ declare const _default: {
62756
63146
  acs_access_group_id?: never;
62757
63147
  connect_webview_id?: never;
62758
63148
  customer_key?: never;
63149
+ connected_account_errors?: never;
62759
63150
  connected_account_type?: never;
62760
63151
  action_attempt_id?: never;
62761
63152
  action_type?: never;
@@ -62873,6 +63264,122 @@ declare const _default: {
62873
63264
  acs_encoder_id?: never;
62874
63265
  acs_access_group_id?: never;
62875
63266
  client_session_id?: never;
63267
+ connected_account_errors?: never;
63268
+ connected_account_type?: never;
63269
+ action_attempt_id?: never;
63270
+ action_type?: never;
63271
+ status?: never;
63272
+ error_code?: never;
63273
+ battery_level?: never;
63274
+ battery_status?: never;
63275
+ minut_metadata?: never;
63276
+ noise_level_decibels?: never;
63277
+ noise_level_nrs?: never;
63278
+ noise_threshold_id?: never;
63279
+ noise_threshold_name?: never;
63280
+ noiseaware_metadata?: never;
63281
+ access_code_is_managed?: never;
63282
+ method?: never;
63283
+ user_identity_id?: never;
63284
+ climate_preset_key?: never;
63285
+ is_fallback_climate_preset?: never;
63286
+ thermostat_schedule_id?: never;
63287
+ cooling_set_point_celsius?: never;
63288
+ cooling_set_point_fahrenheit?: never;
63289
+ fan_mode_setting?: never;
63290
+ heating_set_point_celsius?: never;
63291
+ heating_set_point_fahrenheit?: never;
63292
+ hvac_mode_setting?: never;
63293
+ lower_limit_celsius?: never;
63294
+ lower_limit_fahrenheit?: never;
63295
+ temperature_celsius?: never;
63296
+ temperature_fahrenheit?: never;
63297
+ upper_limit_celsius?: never;
63298
+ upper_limit_fahrenheit?: never;
63299
+ desired_temperature_celsius?: never;
63300
+ desired_temperature_fahrenheit?: never;
63301
+ device_name?: never;
63302
+ enrollment_automation_id?: never;
63303
+ acs_entrance_ids?: never;
63304
+ device_ids?: never;
63305
+ space_id?: never;
63306
+ space_key?: never;
63307
+ };
63308
+ required: string[];
63309
+ type: string;
63310
+ 'x-route-path': string;
63311
+ deprecated?: never;
63312
+ 'x-deprecated'?: never;
63313
+ } | {
63314
+ description: string;
63315
+ properties: {
63316
+ connect_webview_id: {
63317
+ description: string;
63318
+ format: string;
63319
+ type: string;
63320
+ };
63321
+ connected_account_custom_metadata: {
63322
+ additionalProperties: {
63323
+ oneOf: {
63324
+ type: string;
63325
+ }[];
63326
+ };
63327
+ description: string;
63328
+ type: string;
63329
+ };
63330
+ connected_account_id: {
63331
+ description: string;
63332
+ format: string;
63333
+ type: string;
63334
+ };
63335
+ created_at: {
63336
+ description: string;
63337
+ format: string;
63338
+ type: string;
63339
+ };
63340
+ event_id: {
63341
+ description: string;
63342
+ format: string;
63343
+ type: string;
63344
+ };
63345
+ event_type: {
63346
+ enum: string[];
63347
+ type: string;
63348
+ description?: never;
63349
+ };
63350
+ occurred_at: {
63351
+ description: string;
63352
+ format: string;
63353
+ type: string;
63354
+ };
63355
+ workspace_id: {
63356
+ description: string;
63357
+ format: string;
63358
+ type: string;
63359
+ };
63360
+ access_code_id?: never;
63361
+ device_custom_metadata?: never;
63362
+ device_id?: never;
63363
+ code?: never;
63364
+ backup_access_code_id?: never;
63365
+ access_grant_id?: never;
63366
+ acs_entrance_id?: never;
63367
+ access_grant_key?: never;
63368
+ ends_at?: never;
63369
+ starts_at?: never;
63370
+ error_message?: never;
63371
+ access_grant_ids?: never;
63372
+ access_grant_keys?: never;
63373
+ access_method_id?: never;
63374
+ is_backup_code?: never;
63375
+ acs_system_id?: never;
63376
+ acs_credential_id?: never;
63377
+ acs_user_id?: never;
63378
+ acs_encoder_id?: never;
63379
+ acs_access_group_id?: never;
63380
+ client_session_id?: never;
63381
+ customer_key?: never;
63382
+ connected_account_errors?: never;
62876
63383
  connected_account_type?: never;
62877
63384
  action_attempt_id?: never;
62878
63385
  action_type?: never;
@@ -62919,6 +63426,7 @@ declare const _default: {
62919
63426
  deprecated?: never;
62920
63427
  'x-deprecated'?: never;
62921
63428
  } | {
63429
+ deprecated: boolean;
62922
63430
  description: string;
62923
63431
  properties: {
62924
63432
  connect_webview_id: {
@@ -62987,6 +63495,7 @@ declare const _default: {
62987
63495
  acs_access_group_id?: never;
62988
63496
  client_session_id?: never;
62989
63497
  customer_key?: never;
63498
+ connected_account_errors?: never;
62990
63499
  connected_account_type?: never;
62991
63500
  action_attempt_id?: never;
62992
63501
  action_type?: never;
@@ -63029,18 +63538,11 @@ declare const _default: {
63029
63538
  };
63030
63539
  required: string[];
63031
63540
  type: string;
63541
+ 'x-deprecated': string;
63032
63542
  'x-route-path': string;
63033
- deprecated?: never;
63034
- 'x-deprecated'?: never;
63035
63543
  } | {
63036
- deprecated: boolean;
63037
63544
  description: string;
63038
63545
  properties: {
63039
- connect_webview_id: {
63040
- description: string;
63041
- format: string;
63042
- type: string;
63043
- };
63044
63546
  connected_account_custom_metadata: {
63045
63547
  additionalProperties: {
63046
63548
  oneOf: {
@@ -63050,6 +63552,109 @@ declare const _default: {
63050
63552
  description: string;
63051
63553
  type: string;
63052
63554
  };
63555
+ connected_account_errors: {
63556
+ description: string;
63557
+ items: {
63558
+ discriminator: {
63559
+ propertyName: string;
63560
+ };
63561
+ oneOf: ({
63562
+ description: string;
63563
+ properties: {
63564
+ created_at: {
63565
+ description: string;
63566
+ format: string;
63567
+ type: string;
63568
+ };
63569
+ error_code: {
63570
+ description: string;
63571
+ enum: string[];
63572
+ type: string;
63573
+ };
63574
+ is_bridge_error: {
63575
+ description: string;
63576
+ type: string;
63577
+ };
63578
+ is_connected_account_error: {
63579
+ description: string;
63580
+ type: string;
63581
+ };
63582
+ message: {
63583
+ description: string;
63584
+ type: string;
63585
+ };
63586
+ salto_ks_metadata?: never;
63587
+ };
63588
+ required: string[];
63589
+ type: string;
63590
+ } | {
63591
+ description: string;
63592
+ properties: {
63593
+ created_at: {
63594
+ description: string;
63595
+ format: string;
63596
+ type: string;
63597
+ };
63598
+ error_code: {
63599
+ description: string;
63600
+ enum: string[];
63601
+ type: string;
63602
+ };
63603
+ is_bridge_error: {
63604
+ description: string;
63605
+ type: string;
63606
+ };
63607
+ is_connected_account_error: {
63608
+ description: string;
63609
+ type: string;
63610
+ };
63611
+ message: {
63612
+ description: string;
63613
+ type: string;
63614
+ };
63615
+ salto_ks_metadata: {
63616
+ description: string;
63617
+ properties: {
63618
+ sites: {
63619
+ description: string;
63620
+ items: {
63621
+ description: string;
63622
+ properties: {
63623
+ site_id: {
63624
+ description: string;
63625
+ type: string;
63626
+ };
63627
+ site_name: {
63628
+ description: string;
63629
+ type: string;
63630
+ };
63631
+ site_user_subscription_limit: {
63632
+ description: string;
63633
+ minimum: number;
63634
+ type: string;
63635
+ };
63636
+ subscribed_site_user_count: {
63637
+ description: string;
63638
+ minimum: number;
63639
+ type: string;
63640
+ };
63641
+ };
63642
+ required: string[];
63643
+ type: string;
63644
+ };
63645
+ type: string;
63646
+ };
63647
+ };
63648
+ required: string[];
63649
+ type: string;
63650
+ };
63651
+ };
63652
+ required: string[];
63653
+ type: string;
63654
+ })[];
63655
+ };
63656
+ type: string;
63657
+ };
63053
63658
  connected_account_id: {
63054
63659
  description: string;
63055
63660
  format: string;
@@ -63101,6 +63706,7 @@ declare const _default: {
63101
63706
  acs_encoder_id?: never;
63102
63707
  acs_access_group_id?: never;
63103
63708
  client_session_id?: never;
63709
+ connect_webview_id?: never;
63104
63710
  customer_key?: never;
63105
63711
  connected_account_type?: never;
63106
63712
  action_attempt_id?: never;
@@ -63144,8 +63750,9 @@ declare const _default: {
63144
63750
  };
63145
63751
  required: string[];
63146
63752
  type: string;
63147
- 'x-deprecated': string;
63148
63753
  'x-route-path': string;
63754
+ deprecated?: never;
63755
+ 'x-deprecated'?: never;
63149
63756
  } | {
63150
63757
  description: string;
63151
63758
  properties: {
@@ -63211,6 +63818,7 @@ declare const _default: {
63211
63818
  client_session_id?: never;
63212
63819
  connect_webview_id?: never;
63213
63820
  customer_key?: never;
63821
+ connected_account_errors?: never;
63214
63822
  connected_account_type?: never;
63215
63823
  action_attempt_id?: never;
63216
63824
  action_type?: never;
@@ -63328,6 +63936,7 @@ declare const _default: {
63328
63936
  acs_access_group_id?: never;
63329
63937
  client_session_id?: never;
63330
63938
  connect_webview_id?: never;
63939
+ connected_account_errors?: never;
63331
63940
  action_attempt_id?: never;
63332
63941
  action_type?: never;
63333
63942
  status?: never;
@@ -63438,6 +64047,7 @@ declare const _default: {
63438
64047
  client_session_id?: never;
63439
64048
  connect_webview_id?: never;
63440
64049
  customer_key?: never;
64050
+ connected_account_errors?: never;
63441
64051
  connected_account_type?: never;
63442
64052
  error_code?: never;
63443
64053
  battery_level?: never;
@@ -63537,6 +64147,7 @@ declare const _default: {
63537
64147
  acs_access_group_id?: never;
63538
64148
  client_session_id?: never;
63539
64149
  customer_key?: never;
64150
+ connected_account_errors?: never;
63540
64151
  connected_account_type?: never;
63541
64152
  action_attempt_id?: never;
63542
64153
  action_type?: never;
@@ -63659,6 +64270,7 @@ declare const _default: {
63659
64270
  client_session_id?: never;
63660
64271
  connect_webview_id?: never;
63661
64272
  customer_key?: never;
64273
+ connected_account_errors?: never;
63662
64274
  connected_account_type?: never;
63663
64275
  action_attempt_id?: never;
63664
64276
  action_type?: never;
@@ -63786,6 +64398,7 @@ declare const _default: {
63786
64398
  client_session_id?: never;
63787
64399
  connect_webview_id?: never;
63788
64400
  customer_key?: never;
64401
+ connected_account_errors?: never;
63789
64402
  connected_account_type?: never;
63790
64403
  action_attempt_id?: never;
63791
64404
  action_type?: never;
@@ -63914,6 +64527,7 @@ declare const _default: {
63914
64527
  client_session_id?: never;
63915
64528
  connect_webview_id?: never;
63916
64529
  customer_key?: never;
64530
+ connected_account_errors?: never;
63917
64531
  connected_account_type?: never;
63918
64532
  action_attempt_id?: never;
63919
64533
  action_type?: never;
@@ -64047,6 +64661,7 @@ declare const _default: {
64047
64661
  client_session_id?: never;
64048
64662
  connect_webview_id?: never;
64049
64663
  customer_key?: never;
64664
+ connected_account_errors?: never;
64050
64665
  connected_account_type?: never;
64051
64666
  action_attempt_id?: never;
64052
64667
  action_type?: never;
@@ -64196,6 +64811,7 @@ declare const _default: {
64196
64811
  client_session_id?: never;
64197
64812
  connect_webview_id?: never;
64198
64813
  customer_key?: never;
64814
+ connected_account_errors?: never;
64199
64815
  connected_account_type?: never;
64200
64816
  action_attempt_id?: never;
64201
64817
  action_type?: never;
@@ -64330,6 +64946,7 @@ declare const _default: {
64330
64946
  client_session_id?: never;
64331
64947
  connect_webview_id?: never;
64332
64948
  customer_key?: never;
64949
+ connected_account_errors?: never;
64333
64950
  connected_account_type?: never;
64334
64951
  action_type?: never;
64335
64952
  status?: never;
@@ -64484,6 +65101,7 @@ declare const _default: {
64484
65101
  client_session_id?: never;
64485
65102
  connect_webview_id?: never;
64486
65103
  customer_key?: never;
65104
+ connected_account_errors?: never;
64487
65105
  connected_account_type?: never;
64488
65106
  action_type?: never;
64489
65107
  status?: never;
@@ -64616,6 +65234,7 @@ declare const _default: {
64616
65234
  client_session_id?: never;
64617
65235
  connect_webview_id?: never;
64618
65236
  customer_key?: never;
65237
+ connected_account_errors?: never;
64619
65238
  connected_account_type?: never;
64620
65239
  action_attempt_id?: never;
64621
65240
  action_type?: never;
@@ -64770,6 +65389,7 @@ declare const _default: {
64770
65389
  client_session_id?: never;
64771
65390
  connect_webview_id?: never;
64772
65391
  customer_key?: never;
65392
+ connected_account_errors?: never;
64773
65393
  connected_account_type?: never;
64774
65394
  action_attempt_id?: never;
64775
65395
  action_type?: never;
@@ -64919,6 +65539,7 @@ declare const _default: {
64919
65539
  client_session_id?: never;
64920
65540
  connect_webview_id?: never;
64921
65541
  customer_key?: never;
65542
+ connected_account_errors?: never;
64922
65543
  connected_account_type?: never;
64923
65544
  action_attempt_id?: never;
64924
65545
  action_type?: never;
@@ -65055,6 +65676,7 @@ declare const _default: {
65055
65676
  client_session_id?: never;
65056
65677
  connect_webview_id?: never;
65057
65678
  customer_key?: never;
65679
+ connected_account_errors?: never;
65058
65680
  connected_account_type?: never;
65059
65681
  action_attempt_id?: never;
65060
65682
  action_type?: never;
@@ -65183,6 +65805,7 @@ declare const _default: {
65183
65805
  client_session_id?: never;
65184
65806
  connect_webview_id?: never;
65185
65807
  customer_key?: never;
65808
+ connected_account_errors?: never;
65186
65809
  connected_account_type?: never;
65187
65810
  action_attempt_id?: never;
65188
65811
  action_type?: never;
@@ -65307,6 +65930,7 @@ declare const _default: {
65307
65930
  client_session_id?: never;
65308
65931
  connect_webview_id?: never;
65309
65932
  customer_key?: never;
65933
+ connected_account_errors?: never;
65310
65934
  connected_account_type?: never;
65311
65935
  action_attempt_id?: never;
65312
65936
  action_type?: never;
@@ -65409,6 +66033,7 @@ declare const _default: {
65409
66033
  client_session_id?: never;
65410
66034
  connect_webview_id?: never;
65411
66035
  customer_key?: never;
66036
+ connected_account_errors?: never;
65412
66037
  connected_account_type?: never;
65413
66038
  action_attempt_id?: never;
65414
66039
  action_type?: never;
@@ -65518,6 +66143,7 @@ declare const _default: {
65518
66143
  client_session_id?: never;
65519
66144
  connect_webview_id?: never;
65520
66145
  customer_key?: never;
66146
+ connected_account_errors?: never;
65521
66147
  connected_account_type?: never;
65522
66148
  action_attempt_id?: never;
65523
66149
  action_type?: never;
@@ -65641,6 +66267,7 @@ declare const _default: {
65641
66267
  client_session_id?: never;
65642
66268
  connect_webview_id?: never;
65643
66269
  customer_key?: never;
66270
+ connected_account_errors?: never;
65644
66271
  connected_account_type?: never;
65645
66272
  action_attempt_id?: never;
65646
66273
  action_type?: never;
@@ -99433,10 +100060,6 @@ declare const _default: {
99433
100060
  description: string;
99434
100061
  type: string;
99435
100062
  };
99436
- customer_id: {
99437
- description: string;
99438
- type: string;
99439
- };
99440
100063
  customer_key: {
99441
100064
  description: string;
99442
100065
  type: string;
@@ -148219,6 +148842,55 @@ type Routes = {
148219
148842
  [x: string]: string | boolean;
148220
148843
  } | undefined;
148221
148844
  event_type: 'connected_account.disconnected';
148845
+ /** Errors associated with the connected account. */
148846
+ connected_account_errors: ({
148847
+ /** Date and time at which Seam created the error. */
148848
+ created_at: string;
148849
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148850
+ message: string;
148851
+ /** Indicates whether the error is related specifically to the connected account. */
148852
+ is_connected_account_error?: boolean | undefined;
148853
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
148854
+ is_bridge_error?: boolean | undefined;
148855
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148856
+ error_code: 'account_disconnected';
148857
+ } | {
148858
+ /** Date and time at which Seam created the error. */
148859
+ created_at: string;
148860
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148861
+ message: string;
148862
+ /** Indicates whether the error is related specifically to the connected account. */
148863
+ is_connected_account_error?: boolean | undefined;
148864
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
148865
+ is_bridge_error?: boolean | undefined;
148866
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148867
+ error_code: 'bridge_disconnected';
148868
+ } | {
148869
+ /** Date and time at which Seam created the error. */
148870
+ created_at: string;
148871
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148872
+ message: string;
148873
+ /** Indicates whether the error is related specifically to the connected account. */
148874
+ is_connected_account_error?: boolean | undefined;
148875
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
148876
+ is_bridge_error?: boolean | undefined;
148877
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148878
+ error_code: 'salto_ks_subscription_limit_exceeded';
148879
+ /** Salto KS metadata associated with the connected account that has an error. */
148880
+ salto_ks_metadata: {
148881
+ /** Salto sites associated with the connected account that has an error. */
148882
+ sites: {
148883
+ /** ID of a Salto site associated with the connected account that has an error. */
148884
+ site_id: string;
148885
+ /** Name of a Salto site associated with the connected account that has an error. */
148886
+ site_name: string;
148887
+ /** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
148888
+ subscribed_site_user_count: number;
148889
+ /** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
148890
+ site_user_subscription_limit: number;
148891
+ }[];
148892
+ };
148893
+ })[];
148222
148894
  } | {
148223
148895
  /** ID of the event. */
148224
148896
  event_id: string;
@@ -150287,6 +150959,55 @@ type Routes = {
150287
150959
  [x: string]: string | boolean;
150288
150960
  } | undefined;
150289
150961
  event_type: 'connected_account.disconnected';
150962
+ /** Errors associated with the connected account. */
150963
+ connected_account_errors: ({
150964
+ /** Date and time at which Seam created the error. */
150965
+ created_at: string;
150966
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
150967
+ message: string;
150968
+ /** Indicates whether the error is related specifically to the connected account. */
150969
+ is_connected_account_error?: boolean | undefined;
150970
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
150971
+ is_bridge_error?: boolean | undefined;
150972
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
150973
+ error_code: 'account_disconnected';
150974
+ } | {
150975
+ /** Date and time at which Seam created the error. */
150976
+ created_at: string;
150977
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
150978
+ message: string;
150979
+ /** Indicates whether the error is related specifically to the connected account. */
150980
+ is_connected_account_error?: boolean | undefined;
150981
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
150982
+ is_bridge_error?: boolean | undefined;
150983
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
150984
+ error_code: 'bridge_disconnected';
150985
+ } | {
150986
+ /** Date and time at which Seam created the error. */
150987
+ created_at: string;
150988
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
150989
+ message: string;
150990
+ /** Indicates whether the error is related specifically to the connected account. */
150991
+ is_connected_account_error?: boolean | undefined;
150992
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
150993
+ is_bridge_error?: boolean | undefined;
150994
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
150995
+ error_code: 'salto_ks_subscription_limit_exceeded';
150996
+ /** Salto KS metadata associated with the connected account that has an error. */
150997
+ salto_ks_metadata: {
150998
+ /** Salto sites associated with the connected account that has an error. */
150999
+ sites: {
151000
+ /** ID of a Salto site associated with the connected account that has an error. */
151001
+ site_id: string;
151002
+ /** Name of a Salto site associated with the connected account that has an error. */
151003
+ site_name: string;
151004
+ /** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
151005
+ subscribed_site_user_count: number;
151006
+ /** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
151007
+ site_user_subscription_limit: number;
151008
+ }[];
151009
+ };
151010
+ })[];
150290
151011
  } | {
150291
151012
  /** ID of the event. */
150292
151013
  event_id: string;
@@ -169325,11 +170046,9 @@ type Routes = {
169325
170046
  /** ID of the connector to sync */
169326
170047
  connector_id: string;
169327
170048
  /** Type of the connector to sync */
169328
- connector_type?: string | undefined;
169329
- /** ID of the customer to sync */
169330
- customer_id?: string | undefined;
170049
+ connector_type: string;
169331
170050
  /** Key of the customer to sync */
169332
- customer_key?: string | undefined;
170051
+ customer_key: string;
169333
170052
  /** ID of the connector customer to sync */
169334
170053
  connector_customer_id?: (string | null) | undefined;
169335
170054
  /** Unique provider resource key of the connector to sync */
@@ -170395,6 +171114,55 @@ type Routes = {
170395
171114
  [x: string]: string | boolean;
170396
171115
  } | undefined;
170397
171116
  event_type: 'connected_account.disconnected';
171117
+ /** Errors associated with the connected account. */
171118
+ connected_account_errors: ({
171119
+ /** Date and time at which Seam created the error. */
171120
+ created_at: string;
171121
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
171122
+ message: string;
171123
+ /** Indicates whether the error is related specifically to the connected account. */
171124
+ is_connected_account_error?: boolean | undefined;
171125
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
171126
+ is_bridge_error?: boolean | undefined;
171127
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
171128
+ error_code: 'account_disconnected';
171129
+ } | {
171130
+ /** Date and time at which Seam created the error. */
171131
+ created_at: string;
171132
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
171133
+ message: string;
171134
+ /** Indicates whether the error is related specifically to the connected account. */
171135
+ is_connected_account_error?: boolean | undefined;
171136
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
171137
+ is_bridge_error?: boolean | undefined;
171138
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
171139
+ error_code: 'bridge_disconnected';
171140
+ } | {
171141
+ /** Date and time at which Seam created the error. */
171142
+ created_at: string;
171143
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
171144
+ message: string;
171145
+ /** Indicates whether the error is related specifically to the connected account. */
171146
+ is_connected_account_error?: boolean | undefined;
171147
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
171148
+ is_bridge_error?: boolean | undefined;
171149
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
171150
+ error_code: 'salto_ks_subscription_limit_exceeded';
171151
+ /** Salto KS metadata associated with the connected account that has an error. */
171152
+ salto_ks_metadata: {
171153
+ /** Salto sites associated with the connected account that has an error. */
171154
+ sites: {
171155
+ /** ID of a Salto site associated with the connected account that has an error. */
171156
+ site_id: string;
171157
+ /** Name of a Salto site associated with the connected account that has an error. */
171158
+ site_name: string;
171159
+ /** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
171160
+ subscribed_site_user_count: number;
171161
+ /** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
171162
+ site_user_subscription_limit: number;
171163
+ }[];
171164
+ };
171165
+ })[];
170398
171166
  } | {
170399
171167
  /** ID of the event. */
170400
171168
  event_id: string;
@@ -199632,6 +200400,55 @@ type Routes = {
199632
200400
  [x: string]: string | boolean;
199633
200401
  } | undefined;
199634
200402
  event_type: 'connected_account.disconnected';
200403
+ /** Errors associated with the connected account. */
200404
+ connected_account_errors: ({
200405
+ /** Date and time at which Seam created the error. */
200406
+ created_at: string;
200407
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
200408
+ message: string;
200409
+ /** Indicates whether the error is related specifically to the connected account. */
200410
+ is_connected_account_error?: boolean | undefined;
200411
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
200412
+ is_bridge_error?: boolean | undefined;
200413
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
200414
+ error_code: 'account_disconnected';
200415
+ } | {
200416
+ /** Date and time at which Seam created the error. */
200417
+ created_at: string;
200418
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
200419
+ message: string;
200420
+ /** Indicates whether the error is related specifically to the connected account. */
200421
+ is_connected_account_error?: boolean | undefined;
200422
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
200423
+ is_bridge_error?: boolean | undefined;
200424
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
200425
+ error_code: 'bridge_disconnected';
200426
+ } | {
200427
+ /** Date and time at which Seam created the error. */
200428
+ created_at: string;
200429
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
200430
+ message: string;
200431
+ /** Indicates whether the error is related specifically to the connected account. */
200432
+ is_connected_account_error?: boolean | undefined;
200433
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
200434
+ is_bridge_error?: boolean | undefined;
200435
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
200436
+ error_code: 'salto_ks_subscription_limit_exceeded';
200437
+ /** Salto KS metadata associated with the connected account that has an error. */
200438
+ salto_ks_metadata: {
200439
+ /** Salto sites associated with the connected account that has an error. */
200440
+ sites: {
200441
+ /** ID of a Salto site associated with the connected account that has an error. */
200442
+ site_id: string;
200443
+ /** Name of a Salto site associated with the connected account that has an error. */
200444
+ site_name: string;
200445
+ /** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
200446
+ subscribed_site_user_count: number;
200447
+ /** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
200448
+ site_user_subscription_limit: number;
200449
+ }[];
200450
+ };
200451
+ })[];
199635
200452
  } | {
199636
200453
  /** ID of the event. */
199637
200454
  event_id: string;