@seamapi/types 1.710.0 → 1.712.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;
@@ -61978,7 +62361,112 @@ declare const _default: {
61978
62361
  };
61979
62362
  access_code_id?: never;
61980
62363
  connected_account_custom_metadata?: never;
61981
- connected_account_id?: never;
62364
+ connected_account_id?: never;
62365
+ device_custom_metadata?: never;
62366
+ device_id?: never;
62367
+ code?: never;
62368
+ backup_access_code_id?: never;
62369
+ access_grant_id?: never;
62370
+ acs_entrance_id?: never;
62371
+ access_grant_key?: never;
62372
+ ends_at?: never;
62373
+ starts_at?: never;
62374
+ error_message?: never;
62375
+ is_backup_code?: never;
62376
+ acs_system_id?: never;
62377
+ acs_credential_id?: never;
62378
+ acs_user_id?: never;
62379
+ acs_encoder_id?: never;
62380
+ acs_access_group_id?: never;
62381
+ client_session_id?: never;
62382
+ connect_webview_id?: never;
62383
+ customer_key?: never;
62384
+ connected_account_errors?: never;
62385
+ connected_account_type?: never;
62386
+ action_attempt_id?: never;
62387
+ action_type?: never;
62388
+ status?: never;
62389
+ error_code?: never;
62390
+ battery_level?: never;
62391
+ battery_status?: never;
62392
+ minut_metadata?: never;
62393
+ noise_level_decibels?: never;
62394
+ noise_level_nrs?: never;
62395
+ noise_threshold_id?: never;
62396
+ noise_threshold_name?: never;
62397
+ noiseaware_metadata?: never;
62398
+ access_code_is_managed?: never;
62399
+ method?: never;
62400
+ user_identity_id?: never;
62401
+ climate_preset_key?: never;
62402
+ is_fallback_climate_preset?: never;
62403
+ thermostat_schedule_id?: never;
62404
+ cooling_set_point_celsius?: never;
62405
+ cooling_set_point_fahrenheit?: never;
62406
+ fan_mode_setting?: never;
62407
+ heating_set_point_celsius?: never;
62408
+ heating_set_point_fahrenheit?: never;
62409
+ hvac_mode_setting?: never;
62410
+ lower_limit_celsius?: never;
62411
+ lower_limit_fahrenheit?: never;
62412
+ temperature_celsius?: never;
62413
+ temperature_fahrenheit?: never;
62414
+ upper_limit_celsius?: never;
62415
+ upper_limit_fahrenheit?: never;
62416
+ desired_temperature_celsius?: never;
62417
+ desired_temperature_fahrenheit?: never;
62418
+ device_name?: never;
62419
+ enrollment_automation_id?: never;
62420
+ acs_entrance_ids?: never;
62421
+ device_ids?: never;
62422
+ space_id?: never;
62423
+ space_key?: never;
62424
+ };
62425
+ required: string[];
62426
+ type: string;
62427
+ 'x-route-path': string;
62428
+ deprecated?: never;
62429
+ 'x-deprecated'?: never;
62430
+ } | {
62431
+ description: string;
62432
+ properties: {
62433
+ acs_system_id: {
62434
+ description: string;
62435
+ format: string;
62436
+ type: string;
62437
+ };
62438
+ connected_account_id: {
62439
+ description: string;
62440
+ format: string;
62441
+ type: string;
62442
+ };
62443
+ created_at: {
62444
+ description: string;
62445
+ format: string;
62446
+ type: string;
62447
+ };
62448
+ event_id: {
62449
+ description: string;
62450
+ format: string;
62451
+ type: string;
62452
+ };
62453
+ event_type: {
62454
+ enum: string[];
62455
+ type: string;
62456
+ description?: never;
62457
+ };
62458
+ occurred_at: {
62459
+ description: string;
62460
+ format: string;
62461
+ type: string;
62462
+ };
62463
+ workspace_id: {
62464
+ description: string;
62465
+ format: string;
62466
+ type: string;
62467
+ };
62468
+ access_code_id?: never;
62469
+ connected_account_custom_metadata?: never;
61982
62470
  device_custom_metadata?: never;
61983
62471
  device_id?: never;
61984
62472
  code?: never;
@@ -61989,8 +62477,10 @@ declare const _default: {
61989
62477
  ends_at?: never;
61990
62478
  starts_at?: never;
61991
62479
  error_message?: never;
62480
+ access_grant_ids?: never;
62481
+ access_grant_keys?: never;
62482
+ access_method_id?: never;
61992
62483
  is_backup_code?: never;
61993
- acs_system_id?: never;
61994
62484
  acs_credential_id?: never;
61995
62485
  acs_user_id?: never;
61996
62486
  acs_encoder_id?: never;
@@ -61998,6 +62488,7 @@ declare const _default: {
61998
62488
  client_session_id?: never;
61999
62489
  connect_webview_id?: never;
62000
62490
  customer_key?: never;
62491
+ connected_account_errors?: never;
62001
62492
  connected_account_type?: never;
62002
62493
  action_attempt_id?: never;
62003
62494
  action_type?: never;
@@ -62046,6 +62537,11 @@ declare const _default: {
62046
62537
  } | {
62047
62538
  description: string;
62048
62539
  properties: {
62540
+ acs_credential_id: {
62541
+ description: string;
62542
+ format: string;
62543
+ type: string;
62544
+ };
62049
62545
  acs_system_id: {
62050
62546
  description: string;
62051
62547
  format: string;
@@ -62097,13 +62593,13 @@ declare const _default: {
62097
62593
  access_grant_keys?: never;
62098
62594
  access_method_id?: never;
62099
62595
  is_backup_code?: never;
62100
- acs_credential_id?: never;
62101
62596
  acs_user_id?: never;
62102
62597
  acs_encoder_id?: never;
62103
62598
  acs_access_group_id?: never;
62104
62599
  client_session_id?: never;
62105
62600
  connect_webview_id?: never;
62106
62601
  customer_key?: never;
62602
+ connected_account_errors?: never;
62107
62603
  connected_account_type?: never;
62108
62604
  action_attempt_id?: never;
62109
62605
  action_type?: never;
@@ -62152,15 +62648,15 @@ declare const _default: {
62152
62648
  } | {
62153
62649
  description: string;
62154
62650
  properties: {
62155
- acs_credential_id: {
62651
+ acs_system_id: {
62156
62652
  description: string;
62157
62653
  format: string;
62158
62654
  type: string;
62159
62655
  };
62160
- acs_system_id: {
62161
- description: string;
62656
+ acs_user_id: {
62162
62657
  format: string;
62163
62658
  type: string;
62659
+ description?: never;
62164
62660
  };
62165
62661
  connected_account_id: {
62166
62662
  description: string;
@@ -62208,12 +62704,13 @@ declare const _default: {
62208
62704
  access_grant_keys?: never;
62209
62705
  access_method_id?: never;
62210
62706
  is_backup_code?: never;
62211
- acs_user_id?: never;
62707
+ acs_credential_id?: never;
62212
62708
  acs_encoder_id?: never;
62213
62709
  acs_access_group_id?: never;
62214
62710
  client_session_id?: never;
62215
62711
  connect_webview_id?: never;
62216
62712
  customer_key?: never;
62713
+ connected_account_errors?: never;
62217
62714
  connected_account_type?: never;
62218
62715
  action_attempt_id?: never;
62219
62716
  action_type?: never;
@@ -62262,15 +62759,15 @@ declare const _default: {
62262
62759
  } | {
62263
62760
  description: string;
62264
62761
  properties: {
62265
- acs_system_id: {
62762
+ acs_encoder_id: {
62266
62763
  description: string;
62267
62764
  format: string;
62268
62765
  type: string;
62269
62766
  };
62270
- acs_user_id: {
62767
+ acs_system_id: {
62768
+ description: string;
62271
62769
  format: string;
62272
62770
  type: string;
62273
- description?: never;
62274
62771
  };
62275
62772
  connected_account_id: {
62276
62773
  description: string;
@@ -62319,11 +62816,12 @@ declare const _default: {
62319
62816
  access_method_id?: never;
62320
62817
  is_backup_code?: never;
62321
62818
  acs_credential_id?: never;
62322
- acs_encoder_id?: never;
62819
+ acs_user_id?: never;
62323
62820
  acs_access_group_id?: never;
62324
62821
  client_session_id?: never;
62325
62822
  connect_webview_id?: never;
62326
62823
  customer_key?: never;
62824
+ connected_account_errors?: never;
62327
62825
  connected_account_type?: never;
62328
62826
  action_attempt_id?: never;
62329
62827
  action_type?: never;
@@ -62372,7 +62870,7 @@ declare const _default: {
62372
62870
  } | {
62373
62871
  description: string;
62374
62872
  properties: {
62375
- acs_encoder_id: {
62873
+ acs_access_group_id: {
62376
62874
  description: string;
62377
62875
  format: string;
62378
62876
  type: string;
@@ -62430,10 +62928,11 @@ declare const _default: {
62430
62928
  is_backup_code?: never;
62431
62929
  acs_credential_id?: never;
62432
62930
  acs_user_id?: never;
62433
- acs_access_group_id?: never;
62931
+ acs_encoder_id?: never;
62434
62932
  client_session_id?: never;
62435
62933
  connect_webview_id?: never;
62436
62934
  customer_key?: never;
62935
+ connected_account_errors?: never;
62437
62936
  connected_account_type?: never;
62438
62937
  action_attempt_id?: never;
62439
62938
  action_type?: never;
@@ -62482,10 +62981,10 @@ declare const _default: {
62482
62981
  } | {
62483
62982
  description: string;
62484
62983
  properties: {
62485
- acs_access_group_id: {
62486
- description: string;
62984
+ acs_entrance_id: {
62487
62985
  format: string;
62488
62986
  type: string;
62987
+ description?: never;
62489
62988
  };
62490
62989
  acs_system_id: {
62491
62990
  description: string;
@@ -62529,7 +63028,6 @@ declare const _default: {
62529
63028
  code?: never;
62530
63029
  backup_access_code_id?: never;
62531
63030
  access_grant_id?: never;
62532
- acs_entrance_id?: never;
62533
63031
  access_grant_key?: never;
62534
63032
  ends_at?: never;
62535
63033
  starts_at?: never;
@@ -62541,9 +63039,11 @@ declare const _default: {
62541
63039
  acs_credential_id?: never;
62542
63040
  acs_user_id?: never;
62543
63041
  acs_encoder_id?: never;
63042
+ acs_access_group_id?: never;
62544
63043
  client_session_id?: never;
62545
63044
  connect_webview_id?: never;
62546
63045
  customer_key?: never;
63046
+ connected_account_errors?: never;
62547
63047
  connected_account_type?: never;
62548
63048
  action_attempt_id?: never;
62549
63049
  action_type?: never;
@@ -62592,17 +63092,7 @@ declare const _default: {
62592
63092
  } | {
62593
63093
  description: string;
62594
63094
  properties: {
62595
- acs_entrance_id: {
62596
- format: string;
62597
- type: string;
62598
- description?: never;
62599
- };
62600
- acs_system_id: {
62601
- description: string;
62602
- format: string;
62603
- type: string;
62604
- };
62605
- connected_account_id: {
63095
+ client_session_id: {
62606
63096
  description: string;
62607
63097
  format: string;
62608
63098
  type: string;
@@ -62634,11 +63124,13 @@ declare const _default: {
62634
63124
  };
62635
63125
  access_code_id?: never;
62636
63126
  connected_account_custom_metadata?: never;
63127
+ connected_account_id?: never;
62637
63128
  device_custom_metadata?: never;
62638
63129
  device_id?: never;
62639
63130
  code?: never;
62640
63131
  backup_access_code_id?: never;
62641
63132
  access_grant_id?: never;
63133
+ acs_entrance_id?: never;
62642
63134
  access_grant_key?: never;
62643
63135
  ends_at?: never;
62644
63136
  starts_at?: never;
@@ -62647,13 +63139,14 @@ declare const _default: {
62647
63139
  access_grant_keys?: never;
62648
63140
  access_method_id?: never;
62649
63141
  is_backup_code?: never;
63142
+ acs_system_id?: never;
62650
63143
  acs_credential_id?: never;
62651
63144
  acs_user_id?: never;
62652
63145
  acs_encoder_id?: never;
62653
63146
  acs_access_group_id?: never;
62654
- client_session_id?: never;
62655
63147
  connect_webview_id?: never;
62656
63148
  customer_key?: never;
63149
+ connected_account_errors?: never;
62657
63150
  connected_account_type?: never;
62658
63151
  action_attempt_id?: never;
62659
63152
  action_type?: never;
@@ -62702,7 +63195,21 @@ declare const _default: {
62702
63195
  } | {
62703
63196
  description: string;
62704
63197
  properties: {
62705
- client_session_id: {
63198
+ connect_webview_id: {
63199
+ description: string;
63200
+ format: string;
63201
+ type: string;
63202
+ };
63203
+ connected_account_custom_metadata: {
63204
+ additionalProperties: {
63205
+ oneOf: {
63206
+ type: string;
63207
+ }[];
63208
+ };
63209
+ description: string;
63210
+ type: string;
63211
+ };
63212
+ connected_account_id: {
62706
63213
  description: string;
62707
63214
  format: string;
62708
63215
  type: string;
@@ -62712,6 +63219,10 @@ declare const _default: {
62712
63219
  format: string;
62713
63220
  type: string;
62714
63221
  };
63222
+ customer_key: {
63223
+ description: string;
63224
+ type: string;
63225
+ };
62715
63226
  event_id: {
62716
63227
  description: string;
62717
63228
  format: string;
@@ -62733,8 +63244,6 @@ declare const _default: {
62733
63244
  type: string;
62734
63245
  };
62735
63246
  access_code_id?: never;
62736
- connected_account_custom_metadata?: never;
62737
- connected_account_id?: never;
62738
63247
  device_custom_metadata?: never;
62739
63248
  device_id?: never;
62740
63249
  code?: never;
@@ -62754,8 +63263,8 @@ declare const _default: {
62754
63263
  acs_user_id?: never;
62755
63264
  acs_encoder_id?: never;
62756
63265
  acs_access_group_id?: never;
62757
- connect_webview_id?: never;
62758
- customer_key?: never;
63266
+ client_session_id?: never;
63267
+ connected_account_errors?: never;
62759
63268
  connected_account_type?: never;
62760
63269
  action_attempt_id?: never;
62761
63270
  action_type?: never;
@@ -62828,10 +63337,6 @@ declare const _default: {
62828
63337
  format: string;
62829
63338
  type: string;
62830
63339
  };
62831
- customer_key: {
62832
- description: string;
62833
- type: string;
62834
- };
62835
63340
  event_id: {
62836
63341
  description: string;
62837
63342
  format: string;
@@ -62873,6 +63378,8 @@ declare const _default: {
62873
63378
  acs_encoder_id?: never;
62874
63379
  acs_access_group_id?: never;
62875
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;
@@ -74800,79 +75427,95 @@ declare const _default: {
74800
75427
  pat_with_workspace: never[];
74801
75428
  console_session_with_workspace?: never;
74802
75429
  api_key?: never;
75430
+ client_session_with_customer?: never;
75431
+ } | {
75432
+ console_session_with_workspace: never[];
75433
+ pat_with_workspace?: never;
75434
+ api_key?: never;
75435
+ client_session_with_customer?: never;
75436
+ } | {
75437
+ api_key: never[];
75438
+ pat_with_workspace?: never;
75439
+ console_session_with_workspace?: never;
75440
+ client_session_with_customer?: never;
75441
+ } | {
75442
+ client_session_with_customer: never[];
75443
+ pat_with_workspace?: never;
75444
+ console_session_with_workspace?: never;
75445
+ api_key?: never;
75446
+ })[];
75447
+ summary: string;
75448
+ tags: never[];
75449
+ 'x-draft': string;
75450
+ 'x-fern-sdk-group-name': string[];
75451
+ 'x-fern-sdk-method-name': string;
75452
+ 'x-response-key': null;
75453
+ 'x-title': string;
75454
+ };
75455
+ post: {
75456
+ description: string;
75457
+ operationId: string;
75458
+ requestBody: {
75459
+ content: {
75460
+ 'application/json': {
75461
+ schema: {
75462
+ properties: {
75463
+ access_method_id: {
75464
+ description: string;
75465
+ format: string;
75466
+ type: string;
75467
+ };
75468
+ };
75469
+ required: string[];
75470
+ type: string;
75471
+ };
75472
+ };
75473
+ };
75474
+ };
75475
+ responses: {
75476
+ 200: {
75477
+ content: {
75478
+ 'application/json': {
75479
+ schema: {
75480
+ properties: {
75481
+ ok: {
75482
+ type: string;
75483
+ };
75484
+ };
75485
+ required: string[];
75486
+ type: string;
75487
+ };
75488
+ };
75489
+ };
75490
+ description: string;
75491
+ };
75492
+ 400: {
75493
+ description: string;
75494
+ };
75495
+ 401: {
75496
+ description: string;
75497
+ };
75498
+ };
75499
+ security: ({
75500
+ pat_with_workspace: never[];
75501
+ console_session_with_workspace?: never;
75502
+ api_key?: never;
75503
+ client_session_with_customer?: never;
74803
75504
  } | {
74804
75505
  console_session_with_workspace: never[];
74805
75506
  pat_with_workspace?: never;
74806
75507
  api_key?: never;
75508
+ client_session_with_customer?: never;
74807
75509
  } | {
74808
75510
  api_key: never[];
74809
75511
  pat_with_workspace?: never;
74810
75512
  console_session_with_workspace?: never;
74811
- })[];
74812
- summary: string;
74813
- tags: never[];
74814
- 'x-draft': string;
74815
- 'x-fern-sdk-group-name': string[];
74816
- 'x-fern-sdk-method-name': string;
74817
- 'x-response-key': null;
74818
- 'x-title': string;
74819
- };
74820
- post: {
74821
- description: string;
74822
- operationId: string;
74823
- requestBody: {
74824
- content: {
74825
- 'application/json': {
74826
- schema: {
74827
- properties: {
74828
- access_method_id: {
74829
- description: string;
74830
- format: string;
74831
- type: string;
74832
- };
74833
- };
74834
- required: string[];
74835
- type: string;
74836
- };
74837
- };
74838
- };
74839
- };
74840
- responses: {
74841
- 200: {
74842
- content: {
74843
- 'application/json': {
74844
- schema: {
74845
- properties: {
74846
- ok: {
74847
- type: string;
74848
- };
74849
- };
74850
- required: string[];
74851
- type: string;
74852
- };
74853
- };
74854
- };
74855
- description: string;
74856
- };
74857
- 400: {
74858
- description: string;
74859
- };
74860
- 401: {
74861
- description: string;
74862
- };
74863
- };
74864
- security: ({
74865
- pat_with_workspace: never[];
74866
- console_session_with_workspace?: never;
74867
- api_key?: never;
74868
- } | {
74869
- console_session_with_workspace: never[];
74870
- pat_with_workspace?: never;
74871
- api_key?: never;
75513
+ client_session_with_customer?: never;
74872
75514
  } | {
74873
- api_key: never[];
75515
+ client_session_with_customer: never[];
74874
75516
  pat_with_workspace?: never;
74875
75517
  console_session_with_workspace?: never;
75518
+ api_key?: never;
74876
75519
  })[];
74877
75520
  summary: string;
74878
75521
  tags: never[];
@@ -148203,6 +148846,55 @@ type Routes = {
148203
148846
  [x: string]: string | boolean;
148204
148847
  } | undefined;
148205
148848
  event_type: 'connected_account.disconnected';
148849
+ /** Errors associated with the connected account. */
148850
+ connected_account_errors: ({
148851
+ /** Date and time at which Seam created the error. */
148852
+ created_at: string;
148853
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148854
+ message: string;
148855
+ /** Indicates whether the error is related specifically to the connected account. */
148856
+ is_connected_account_error?: boolean | undefined;
148857
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
148858
+ is_bridge_error?: boolean | undefined;
148859
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148860
+ error_code: 'account_disconnected';
148861
+ } | {
148862
+ /** Date and time at which Seam created the error. */
148863
+ created_at: string;
148864
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148865
+ message: string;
148866
+ /** Indicates whether the error is related specifically to the connected account. */
148867
+ is_connected_account_error?: boolean | undefined;
148868
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
148869
+ is_bridge_error?: boolean | undefined;
148870
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148871
+ error_code: 'bridge_disconnected';
148872
+ } | {
148873
+ /** Date and time at which Seam created the error. */
148874
+ created_at: string;
148875
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
148876
+ message: string;
148877
+ /** Indicates whether the error is related specifically to the connected account. */
148878
+ is_connected_account_error?: boolean | undefined;
148879
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
148880
+ is_bridge_error?: boolean | undefined;
148881
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
148882
+ error_code: 'salto_ks_subscription_limit_exceeded';
148883
+ /** Salto KS metadata associated with the connected account that has an error. */
148884
+ salto_ks_metadata: {
148885
+ /** Salto sites associated with the connected account that has an error. */
148886
+ sites: {
148887
+ /** ID of a Salto site associated with the connected account that has an error. */
148888
+ site_id: string;
148889
+ /** Name of a Salto site associated with the connected account that has an error. */
148890
+ site_name: string;
148891
+ /** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
148892
+ subscribed_site_user_count: number;
148893
+ /** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
148894
+ site_user_subscription_limit: number;
148895
+ }[];
148896
+ };
148897
+ })[];
148206
148898
  } | {
148207
148899
  /** ID of the event. */
148208
148900
  event_id: string;
@@ -150271,6 +150963,55 @@ type Routes = {
150271
150963
  [x: string]: string | boolean;
150272
150964
  } | undefined;
150273
150965
  event_type: 'connected_account.disconnected';
150966
+ /** Errors associated with the connected account. */
150967
+ connected_account_errors: ({
150968
+ /** Date and time at which Seam created the error. */
150969
+ created_at: string;
150970
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
150971
+ message: string;
150972
+ /** Indicates whether the error is related specifically to the connected account. */
150973
+ is_connected_account_error?: boolean | undefined;
150974
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
150975
+ is_bridge_error?: boolean | undefined;
150976
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
150977
+ error_code: 'account_disconnected';
150978
+ } | {
150979
+ /** Date and time at which Seam created the error. */
150980
+ created_at: string;
150981
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
150982
+ message: string;
150983
+ /** Indicates whether the error is related specifically to the connected account. */
150984
+ is_connected_account_error?: boolean | undefined;
150985
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
150986
+ is_bridge_error?: boolean | undefined;
150987
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
150988
+ error_code: 'bridge_disconnected';
150989
+ } | {
150990
+ /** Date and time at which Seam created the error. */
150991
+ created_at: string;
150992
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
150993
+ message: string;
150994
+ /** Indicates whether the error is related specifically to the connected account. */
150995
+ is_connected_account_error?: boolean | undefined;
150996
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
150997
+ is_bridge_error?: boolean | undefined;
150998
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
150999
+ error_code: 'salto_ks_subscription_limit_exceeded';
151000
+ /** Salto KS metadata associated with the connected account that has an error. */
151001
+ salto_ks_metadata: {
151002
+ /** Salto sites associated with the connected account that has an error. */
151003
+ sites: {
151004
+ /** ID of a Salto site associated with the connected account that has an error. */
151005
+ site_id: string;
151006
+ /** Name of a Salto site associated with the connected account that has an error. */
151007
+ site_name: string;
151008
+ /** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
151009
+ subscribed_site_user_count: number;
151010
+ /** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
151011
+ site_user_subscription_limit: number;
151012
+ }[];
151013
+ };
151014
+ })[];
150274
151015
  } | {
150275
151016
  /** ID of the event. */
150276
151017
  event_id: string;
@@ -170379,6 +171120,55 @@ type Routes = {
170379
171120
  [x: string]: string | boolean;
170380
171121
  } | undefined;
170381
171122
  event_type: 'connected_account.disconnected';
171123
+ /** Errors associated with the connected account. */
171124
+ connected_account_errors: ({
171125
+ /** Date and time at which Seam created the error. */
171126
+ created_at: string;
171127
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
171128
+ message: string;
171129
+ /** Indicates whether the error is related specifically to the connected account. */
171130
+ is_connected_account_error?: boolean | undefined;
171131
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
171132
+ is_bridge_error?: boolean | undefined;
171133
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
171134
+ error_code: 'account_disconnected';
171135
+ } | {
171136
+ /** Date and time at which Seam created the error. */
171137
+ created_at: string;
171138
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
171139
+ message: string;
171140
+ /** Indicates whether the error is related specifically to the connected account. */
171141
+ is_connected_account_error?: boolean | undefined;
171142
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
171143
+ is_bridge_error?: boolean | undefined;
171144
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
171145
+ error_code: 'bridge_disconnected';
171146
+ } | {
171147
+ /** Date and time at which Seam created the error. */
171148
+ created_at: string;
171149
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
171150
+ message: string;
171151
+ /** Indicates whether the error is related specifically to the connected account. */
171152
+ is_connected_account_error?: boolean | undefined;
171153
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
171154
+ is_bridge_error?: boolean | undefined;
171155
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
171156
+ error_code: 'salto_ks_subscription_limit_exceeded';
171157
+ /** Salto KS metadata associated with the connected account that has an error. */
171158
+ salto_ks_metadata: {
171159
+ /** Salto sites associated with the connected account that has an error. */
171160
+ sites: {
171161
+ /** ID of a Salto site associated with the connected account that has an error. */
171162
+ site_id: string;
171163
+ /** Name of a Salto site associated with the connected account that has an error. */
171164
+ site_name: string;
171165
+ /** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
171166
+ subscribed_site_user_count: number;
171167
+ /** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
171168
+ site_user_subscription_limit: number;
171169
+ }[];
171170
+ };
171171
+ })[];
170382
171172
  } | {
170383
171173
  /** ID of the event. */
170384
171174
  event_id: string;
@@ -199616,6 +200406,55 @@ type Routes = {
199616
200406
  [x: string]: string | boolean;
199617
200407
  } | undefined;
199618
200408
  event_type: 'connected_account.disconnected';
200409
+ /** Errors associated with the connected account. */
200410
+ connected_account_errors: ({
200411
+ /** Date and time at which Seam created the error. */
200412
+ created_at: string;
200413
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
200414
+ message: string;
200415
+ /** Indicates whether the error is related specifically to the connected account. */
200416
+ is_connected_account_error?: boolean | undefined;
200417
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
200418
+ is_bridge_error?: boolean | undefined;
200419
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
200420
+ error_code: 'account_disconnected';
200421
+ } | {
200422
+ /** Date and time at which Seam created the error. */
200423
+ created_at: string;
200424
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
200425
+ message: string;
200426
+ /** Indicates whether the error is related specifically to the connected account. */
200427
+ is_connected_account_error?: boolean | undefined;
200428
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
200429
+ is_bridge_error?: boolean | undefined;
200430
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
200431
+ error_code: 'bridge_disconnected';
200432
+ } | {
200433
+ /** Date and time at which Seam created the error. */
200434
+ created_at: string;
200435
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
200436
+ message: string;
200437
+ /** Indicates whether the error is related specifically to the connected account. */
200438
+ is_connected_account_error?: boolean | undefined;
200439
+ /** Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge). */
200440
+ is_bridge_error?: boolean | undefined;
200441
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
200442
+ error_code: 'salto_ks_subscription_limit_exceeded';
200443
+ /** Salto KS metadata associated with the connected account that has an error. */
200444
+ salto_ks_metadata: {
200445
+ /** Salto sites associated with the connected account that has an error. */
200446
+ sites: {
200447
+ /** ID of a Salto site associated with the connected account that has an error. */
200448
+ site_id: string;
200449
+ /** Name of a Salto site associated with the connected account that has an error. */
200450
+ site_name: string;
200451
+ /** Count of subscribed site users for a Salto site associated with the connected account that has an error. */
200452
+ subscribed_site_user_count: number;
200453
+ /** Subscription limit of site users for a Salto site associated with the connected account that has an error. */
200454
+ site_user_subscription_limit: number;
200455
+ }[];
200456
+ };
200457
+ })[];
199619
200458
  } | {
199620
200459
  /** ID of the event. */
199621
200460
  event_id: string;