@seamapi/types 1.798.0 → 1.800.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.
@@ -3932,14 +3932,37 @@ declare const access_grant: z.ZodObject<{
3932
3932
  message: z.ZodString;
3933
3933
  } & {
3934
3934
  warning_code: z.ZodLiteral<"overprovisioned_access">;
3935
+ failed_devices: z.ZodOptional<z.ZodArray<z.ZodObject<{
3936
+ device_id: z.ZodString;
3937
+ error_code: z.ZodString;
3938
+ message: z.ZodString;
3939
+ }, "strip", z.ZodTypeAny, {
3940
+ message: string;
3941
+ device_id: string;
3942
+ error_code: string;
3943
+ }, {
3944
+ message: string;
3945
+ device_id: string;
3946
+ error_code: string;
3947
+ }>, "many">>;
3935
3948
  }, "strip", z.ZodTypeAny, {
3936
3949
  message: string;
3937
3950
  created_at: string;
3938
3951
  warning_code: "overprovisioned_access";
3952
+ failed_devices?: {
3953
+ message: string;
3954
+ device_id: string;
3955
+ error_code: string;
3956
+ }[] | undefined;
3939
3957
  }, {
3940
3958
  message: string;
3941
3959
  created_at: string;
3942
3960
  warning_code: "overprovisioned_access";
3961
+ failed_devices?: {
3962
+ message: string;
3963
+ device_id: string;
3964
+ error_code: string;
3965
+ }[] | undefined;
3943
3966
  }>, z.ZodObject<{
3944
3967
  created_at: z.ZodString;
3945
3968
  message: z.ZodString;
@@ -4131,6 +4154,11 @@ declare const access_grant: z.ZodObject<{
4131
4154
  message: string;
4132
4155
  created_at: string;
4133
4156
  warning_code: "overprovisioned_access";
4157
+ failed_devices?: {
4158
+ message: string;
4159
+ device_id: string;
4160
+ error_code: string;
4161
+ }[] | undefined;
4134
4162
  } | {
4135
4163
  message: string;
4136
4164
  created_at: string;
@@ -4216,6 +4244,11 @@ declare const access_grant: z.ZodObject<{
4216
4244
  message: string;
4217
4245
  created_at: string;
4218
4246
  warning_code: "overprovisioned_access";
4247
+ failed_devices?: {
4248
+ message: string;
4249
+ device_id: string;
4250
+ error_code: string;
4251
+ }[] | undefined;
4219
4252
  } | {
4220
4253
  message: string;
4221
4254
  created_at: string;
@@ -29261,14 +29294,37 @@ declare const batch: z.ZodObject<{
29261
29294
  message: z.ZodString;
29262
29295
  } & {
29263
29296
  warning_code: z.ZodLiteral<"overprovisioned_access">;
29297
+ failed_devices: z.ZodOptional<z.ZodArray<z.ZodObject<{
29298
+ device_id: z.ZodString;
29299
+ error_code: z.ZodString;
29300
+ message: z.ZodString;
29301
+ }, "strip", z.ZodTypeAny, {
29302
+ message: string;
29303
+ device_id: string;
29304
+ error_code: string;
29305
+ }, {
29306
+ message: string;
29307
+ device_id: string;
29308
+ error_code: string;
29309
+ }>, "many">>;
29264
29310
  }, "strip", z.ZodTypeAny, {
29265
29311
  message: string;
29266
29312
  created_at: string;
29267
29313
  warning_code: "overprovisioned_access";
29314
+ failed_devices?: {
29315
+ message: string;
29316
+ device_id: string;
29317
+ error_code: string;
29318
+ }[] | undefined;
29268
29319
  }, {
29269
29320
  message: string;
29270
29321
  created_at: string;
29271
29322
  warning_code: "overprovisioned_access";
29323
+ failed_devices?: {
29324
+ message: string;
29325
+ device_id: string;
29326
+ error_code: string;
29327
+ }[] | undefined;
29272
29328
  }>, z.ZodObject<{
29273
29329
  created_at: z.ZodString;
29274
29330
  message: z.ZodString;
@@ -29460,6 +29516,11 @@ declare const batch: z.ZodObject<{
29460
29516
  message: string;
29461
29517
  created_at: string;
29462
29518
  warning_code: "overprovisioned_access";
29519
+ failed_devices?: {
29520
+ message: string;
29521
+ device_id: string;
29522
+ error_code: string;
29523
+ }[] | undefined;
29463
29524
  } | {
29464
29525
  message: string;
29465
29526
  created_at: string;
@@ -29545,6 +29606,11 @@ declare const batch: z.ZodObject<{
29545
29606
  message: string;
29546
29607
  created_at: string;
29547
29608
  warning_code: "overprovisioned_access";
29609
+ failed_devices?: {
29610
+ message: string;
29611
+ device_id: string;
29612
+ error_code: string;
29613
+ }[] | undefined;
29548
29614
  } | {
29549
29615
  message: string;
29550
29616
  created_at: string;
@@ -40789,6 +40855,11 @@ declare const batch: z.ZodObject<{
40789
40855
  message: string;
40790
40856
  created_at: string;
40791
40857
  warning_code: "overprovisioned_access";
40858
+ failed_devices?: {
40859
+ message: string;
40860
+ device_id: string;
40861
+ error_code: string;
40862
+ }[] | undefined;
40792
40863
  } | {
40793
40864
  message: string;
40794
40865
  created_at: string;
@@ -45713,6 +45784,11 @@ declare const batch: z.ZodObject<{
45713
45784
  message: string;
45714
45785
  created_at: string;
45715
45786
  warning_code: "overprovisioned_access";
45787
+ failed_devices?: {
45788
+ message: string;
45789
+ device_id: string;
45790
+ error_code: string;
45791
+ }[] | undefined;
45716
45792
  } | {
45717
45793
  message: string;
45718
45794
  created_at: string;
@@ -53943,13 +54019,14 @@ declare const DEVICE_PROVIDERS: {
53943
54019
  readonly DORMAKABA_AMBIANCE: "dormakaba_ambiance";
53944
54020
  readonly ULTRALOQ: "ultraloq";
53945
54021
  readonly RING: "ring";
54022
+ readonly ICAL: "ical";
53946
54023
  };
53947
54024
  type DeviceProviderName = (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS];
53948
54025
  declare const device_provider: z.ZodObject<{
53949
54026
  device_provider_name: z.ZodEnum<[DeviceProviderName, ...DeviceProviderName[]]>;
53950
54027
  display_name: z.ZodString;
53951
54028
  image_url: z.ZodString;
53952
- provider_categories: z.ZodArray<z.ZodEnum<["stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "cameras" | "internal_beta", ...("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "cameras" | "internal_beta")[]]>, "many">;
54029
+ provider_categories: z.ZodArray<z.ZodEnum<["stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "cameras" | "connectors" | "internal_beta", ...("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "cameras" | "connectors" | "internal_beta")[]]>, "many">;
53953
54030
  } & {
53954
54031
  can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
53955
54032
  can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
@@ -53975,7 +54052,7 @@ declare const device_provider: z.ZodObject<{
53975
54052
  display_name: string;
53976
54053
  image_url: string;
53977
54054
  device_provider_name: DeviceProviderName;
53978
- provider_categories: ("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "cameras" | "internal_beta")[];
54055
+ provider_categories: ("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "cameras" | "connectors" | "internal_beta")[];
53979
54056
  can_remotely_unlock?: boolean | undefined;
53980
54057
  can_remotely_lock?: boolean | undefined;
53981
54058
  can_program_offline_access_codes?: boolean | undefined;
@@ -54000,7 +54077,7 @@ declare const device_provider: z.ZodObject<{
54000
54077
  display_name: string;
54001
54078
  image_url: string;
54002
54079
  device_provider_name: DeviceProviderName;
54003
- provider_categories: ("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "cameras" | "internal_beta")[];
54080
+ provider_categories: ("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "cameras" | "connectors" | "internal_beta")[];
54004
54081
  can_remotely_unlock?: boolean | undefined;
54005
54082
  can_remotely_lock?: boolean | undefined;
54006
54083
  can_program_offline_access_codes?: boolean | undefined;
@@ -64203,6 +64280,54 @@ declare const _default: {
64203
64280
  enum: string[];
64204
64281
  type: string;
64205
64282
  };
64283
+ failed_devices?: never;
64284
+ access_method_ids?: never;
64285
+ device_id?: never;
64286
+ new_code?: never;
64287
+ original_code?: never;
64288
+ };
64289
+ required: string[];
64290
+ type: string;
64291
+ } | {
64292
+ description: string;
64293
+ properties: {
64294
+ created_at: {
64295
+ description: string;
64296
+ format: string;
64297
+ type: string;
64298
+ };
64299
+ failed_devices: {
64300
+ description: string;
64301
+ items: {
64302
+ properties: {
64303
+ device_id: {
64304
+ description: string;
64305
+ format: string;
64306
+ type: string;
64307
+ };
64308
+ error_code: {
64309
+ description: string;
64310
+ type: string;
64311
+ };
64312
+ message: {
64313
+ description: string;
64314
+ type: string;
64315
+ };
64316
+ };
64317
+ required: string[];
64318
+ type: string;
64319
+ };
64320
+ type: string;
64321
+ };
64322
+ message: {
64323
+ description: string;
64324
+ type: string;
64325
+ };
64326
+ warning_code: {
64327
+ description: string;
64328
+ enum: string[];
64329
+ type: string;
64330
+ };
64206
64331
  access_method_ids?: never;
64207
64332
  device_id?: never;
64208
64333
  new_code?: never;
@@ -64235,6 +64360,7 @@ declare const _default: {
64235
64360
  enum: string[];
64236
64361
  type: string;
64237
64362
  };
64363
+ failed_devices?: never;
64238
64364
  device_id?: never;
64239
64365
  new_code?: never;
64240
64366
  original_code?: never;
@@ -64271,6 +64397,7 @@ declare const _default: {
64271
64397
  enum: string[];
64272
64398
  type: string;
64273
64399
  };
64400
+ failed_devices?: never;
64274
64401
  access_method_ids?: never;
64275
64402
  };
64276
64403
  required: string[];
@@ -64297,6 +64424,7 @@ declare const _default: {
64297
64424
  enum: string[];
64298
64425
  type: string;
64299
64426
  };
64427
+ failed_devices?: never;
64300
64428
  access_method_ids?: never;
64301
64429
  new_code?: never;
64302
64430
  original_code?: never;
@@ -87740,6 +87868,54 @@ declare const _default: {
87740
87868
  enum: string[];
87741
87869
  type: string;
87742
87870
  };
87871
+ failed_devices?: never;
87872
+ access_method_ids?: never;
87873
+ device_id?: never;
87874
+ new_code?: never;
87875
+ original_code?: never;
87876
+ };
87877
+ required: string[];
87878
+ type: string;
87879
+ } | {
87880
+ description: string;
87881
+ properties: {
87882
+ created_at: {
87883
+ description: string;
87884
+ format: string;
87885
+ type: string;
87886
+ };
87887
+ failed_devices: {
87888
+ description: string;
87889
+ items: {
87890
+ properties: {
87891
+ device_id: {
87892
+ description: string;
87893
+ format: string;
87894
+ type: string;
87895
+ };
87896
+ error_code: {
87897
+ description: string;
87898
+ type: string;
87899
+ };
87900
+ message: {
87901
+ description: string;
87902
+ type: string;
87903
+ };
87904
+ };
87905
+ required: string[];
87906
+ type: string;
87907
+ };
87908
+ type: string;
87909
+ };
87910
+ message: {
87911
+ description: string;
87912
+ type: string;
87913
+ };
87914
+ warning_code: {
87915
+ description: string;
87916
+ enum: string[];
87917
+ type: string;
87918
+ };
87743
87919
  access_method_ids?: never;
87744
87920
  device_id?: never;
87745
87921
  new_code?: never;
@@ -87772,6 +87948,7 @@ declare const _default: {
87772
87948
  enum: string[];
87773
87949
  type: string;
87774
87950
  };
87951
+ failed_devices?: never;
87775
87952
  device_id?: never;
87776
87953
  new_code?: never;
87777
87954
  original_code?: never;
@@ -87808,6 +87985,7 @@ declare const _default: {
87808
87985
  enum: string[];
87809
87986
  type: string;
87810
87987
  };
87988
+ failed_devices?: never;
87811
87989
  access_method_ids?: never;
87812
87990
  };
87813
87991
  required: string[];
@@ -87834,6 +88012,7 @@ declare const _default: {
87834
88012
  enum: string[];
87835
88013
  type: string;
87836
88014
  };
88015
+ failed_devices?: never;
87837
88016
  access_method_ids?: never;
87838
88017
  new_code?: never;
87839
88018
  original_code?: never;
@@ -88232,6 +88411,54 @@ declare const _default: {
88232
88411
  enum: string[];
88233
88412
  type: string;
88234
88413
  };
88414
+ failed_devices?: never;
88415
+ access_method_ids?: never;
88416
+ device_id?: never;
88417
+ new_code?: never;
88418
+ original_code?: never;
88419
+ };
88420
+ required: string[];
88421
+ type: string;
88422
+ } | {
88423
+ description: string;
88424
+ properties: {
88425
+ created_at: {
88426
+ description: string;
88427
+ format: string;
88428
+ type: string;
88429
+ };
88430
+ failed_devices: {
88431
+ description: string;
88432
+ items: {
88433
+ properties: {
88434
+ device_id: {
88435
+ description: string;
88436
+ format: string;
88437
+ type: string;
88438
+ };
88439
+ error_code: {
88440
+ description: string;
88441
+ type: string;
88442
+ };
88443
+ message: {
88444
+ description: string;
88445
+ type: string;
88446
+ };
88447
+ };
88448
+ required: string[];
88449
+ type: string;
88450
+ };
88451
+ type: string;
88452
+ };
88453
+ message: {
88454
+ description: string;
88455
+ type: string;
88456
+ };
88457
+ warning_code: {
88458
+ description: string;
88459
+ enum: string[];
88460
+ type: string;
88461
+ };
88235
88462
  access_method_ids?: never;
88236
88463
  device_id?: never;
88237
88464
  new_code?: never;
@@ -88264,6 +88491,7 @@ declare const _default: {
88264
88491
  enum: string[];
88265
88492
  type: string;
88266
88493
  };
88494
+ failed_devices?: never;
88267
88495
  device_id?: never;
88268
88496
  new_code?: never;
88269
88497
  original_code?: never;
@@ -88300,6 +88528,7 @@ declare const _default: {
88300
88528
  enum: string[];
88301
88529
  type: string;
88302
88530
  };
88531
+ failed_devices?: never;
88303
88532
  access_method_ids?: never;
88304
88533
  };
88305
88534
  required: string[];
@@ -88326,6 +88555,7 @@ declare const _default: {
88326
88555
  enum: string[];
88327
88556
  type: string;
88328
88557
  };
88558
+ failed_devices?: never;
88329
88559
  access_method_ids?: never;
88330
88560
  new_code?: never;
88331
88561
  original_code?: never;
@@ -88751,6 +88981,54 @@ declare const _default: {
88751
88981
  enum: string[];
88752
88982
  type: string;
88753
88983
  };
88984
+ failed_devices?: never;
88985
+ access_method_ids?: never;
88986
+ device_id?: never;
88987
+ new_code?: never;
88988
+ original_code?: never;
88989
+ };
88990
+ required: string[];
88991
+ type: string;
88992
+ } | {
88993
+ description: string;
88994
+ properties: {
88995
+ created_at: {
88996
+ description: string;
88997
+ format: string;
88998
+ type: string;
88999
+ };
89000
+ failed_devices: {
89001
+ description: string;
89002
+ items: {
89003
+ properties: {
89004
+ device_id: {
89005
+ description: string;
89006
+ format: string;
89007
+ type: string;
89008
+ };
89009
+ error_code: {
89010
+ description: string;
89011
+ type: string;
89012
+ };
89013
+ message: {
89014
+ description: string;
89015
+ type: string;
89016
+ };
89017
+ };
89018
+ required: string[];
89019
+ type: string;
89020
+ };
89021
+ type: string;
89022
+ };
89023
+ message: {
89024
+ description: string;
89025
+ type: string;
89026
+ };
89027
+ warning_code: {
89028
+ description: string;
89029
+ enum: string[];
89030
+ type: string;
89031
+ };
88754
89032
  access_method_ids?: never;
88755
89033
  device_id?: never;
88756
89034
  new_code?: never;
@@ -88783,6 +89061,7 @@ declare const _default: {
88783
89061
  enum: string[];
88784
89062
  type: string;
88785
89063
  };
89064
+ failed_devices?: never;
88786
89065
  device_id?: never;
88787
89066
  new_code?: never;
88788
89067
  original_code?: never;
@@ -88819,6 +89098,7 @@ declare const _default: {
88819
89098
  enum: string[];
88820
89099
  type: string;
88821
89100
  };
89101
+ failed_devices?: never;
88822
89102
  access_method_ids?: never;
88823
89103
  };
88824
89104
  required: string[];
@@ -88845,6 +89125,7 @@ declare const _default: {
88845
89125
  enum: string[];
88846
89126
  type: string;
88847
89127
  };
89128
+ failed_devices?: never;
88848
89129
  access_method_ids?: never;
88849
89130
  new_code?: never;
88850
89131
  original_code?: never;
@@ -89273,6 +89554,54 @@ declare const _default: {
89273
89554
  enum: string[];
89274
89555
  type: string;
89275
89556
  };
89557
+ failed_devices?: never;
89558
+ access_method_ids?: never;
89559
+ device_id?: never;
89560
+ new_code?: never;
89561
+ original_code?: never;
89562
+ };
89563
+ required: string[];
89564
+ type: string;
89565
+ } | {
89566
+ description: string;
89567
+ properties: {
89568
+ created_at: {
89569
+ description: string;
89570
+ format: string;
89571
+ type: string;
89572
+ };
89573
+ failed_devices: {
89574
+ description: string;
89575
+ items: {
89576
+ properties: {
89577
+ device_id: {
89578
+ description: string;
89579
+ format: string;
89580
+ type: string;
89581
+ };
89582
+ error_code: {
89583
+ description: string;
89584
+ type: string;
89585
+ };
89586
+ message: {
89587
+ description: string;
89588
+ type: string;
89589
+ };
89590
+ };
89591
+ required: string[];
89592
+ type: string;
89593
+ };
89594
+ type: string;
89595
+ };
89596
+ message: {
89597
+ description: string;
89598
+ type: string;
89599
+ };
89600
+ warning_code: {
89601
+ description: string;
89602
+ enum: string[];
89603
+ type: string;
89604
+ };
89276
89605
  access_method_ids?: never;
89277
89606
  device_id?: never;
89278
89607
  new_code?: never;
@@ -89305,6 +89634,7 @@ declare const _default: {
89305
89634
  enum: string[];
89306
89635
  type: string;
89307
89636
  };
89637
+ failed_devices?: never;
89308
89638
  device_id?: never;
89309
89639
  new_code?: never;
89310
89640
  original_code?: never;
@@ -89341,6 +89671,7 @@ declare const _default: {
89341
89671
  enum: string[];
89342
89672
  type: string;
89343
89673
  };
89674
+ failed_devices?: never;
89344
89675
  access_method_ids?: never;
89345
89676
  };
89346
89677
  required: string[];
@@ -89367,6 +89698,7 @@ declare const _default: {
89367
89698
  enum: string[];
89368
89699
  type: string;
89369
89700
  };
89701
+ failed_devices?: never;
89370
89702
  access_method_ids?: never;
89371
89703
  new_code?: never;
89372
89704
  original_code?: never;
@@ -147883,6 +148215,15 @@ type Routes = {
147883
148215
  message: string;
147884
148216
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
147885
148217
  warning_code: 'overprovisioned_access';
148218
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
148219
+ failed_devices?: {
148220
+ /** Device whose access code could not be revoked. */
148221
+ device_id: string;
148222
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
148223
+ error_code: string;
148224
+ /** Human-readable description of why revocation failed. */
148225
+ message: string;
148226
+ }[] | undefined;
147886
148227
  } | {
147887
148228
  /** Date and time at which Seam created the warning. */
147888
148229
  created_at: string;
@@ -148071,6 +148412,15 @@ type Routes = {
148071
148412
  message: string;
148072
148413
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
148073
148414
  warning_code: 'overprovisioned_access';
148415
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
148416
+ failed_devices?: {
148417
+ /** Device whose access code could not be revoked. */
148418
+ device_id: string;
148419
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
148420
+ error_code: string;
148421
+ /** Human-readable description of why revocation failed. */
148422
+ message: string;
148423
+ }[] | undefined;
148074
148424
  } | {
148075
148425
  /** Date and time at which Seam created the warning. */
148076
148426
  created_at: string;
@@ -150342,6 +150692,15 @@ type Routes = {
150342
150692
  message: string;
150343
150693
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
150344
150694
  warning_code: 'overprovisioned_access';
150695
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
150696
+ failed_devices?: {
150697
+ /** Device whose access code could not be revoked. */
150698
+ device_id: string;
150699
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
150700
+ error_code: string;
150701
+ /** Human-readable description of why revocation failed. */
150702
+ message: string;
150703
+ }[] | undefined;
150345
150704
  } | {
150346
150705
  /** Date and time at which Seam created the warning. */
150347
150706
  created_at: string;
@@ -150532,6 +150891,15 @@ type Routes = {
150532
150891
  message: string;
150533
150892
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
150534
150893
  warning_code: 'overprovisioned_access';
150894
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
150895
+ failed_devices?: {
150896
+ /** Device whose access code could not be revoked. */
150897
+ device_id: string;
150898
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
150899
+ error_code: string;
150900
+ /** Human-readable description of why revocation failed. */
150901
+ message: string;
150902
+ }[] | undefined;
150535
150903
  } | {
150536
150904
  /** Date and time at which Seam created the warning. */
150537
150905
  created_at: string;
@@ -150696,6 +151064,15 @@ type Routes = {
150696
151064
  message: string;
150697
151065
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
150698
151066
  warning_code: 'overprovisioned_access';
151067
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
151068
+ failed_devices?: {
151069
+ /** Device whose access code could not be revoked. */
151070
+ device_id: string;
151071
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
151072
+ error_code: string;
151073
+ /** Human-readable description of why revocation failed. */
151074
+ message: string;
151075
+ }[] | undefined;
150699
151076
  } | {
150700
151077
  /** Date and time at which Seam created the warning. */
150701
151078
  created_at: string;
@@ -150869,6 +151246,15 @@ type Routes = {
150869
151246
  message: string;
150870
151247
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
150871
151248
  warning_code: 'overprovisioned_access';
151249
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
151250
+ failed_devices?: {
151251
+ /** Device whose access code could not be revoked. */
151252
+ device_id: string;
151253
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
151254
+ error_code: string;
151255
+ /** Human-readable description of why revocation failed. */
151256
+ message: string;
151257
+ }[] | undefined;
150872
151258
  } | {
150873
151259
  /** Date and time at which Seam created the warning. */
150874
151260
  created_at: string;
@@ -154054,6 +154440,15 @@ type Routes = {
154054
154440
  message: string;
154055
154441
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
154056
154442
  warning_code: 'overprovisioned_access';
154443
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
154444
+ failed_devices?: {
154445
+ /** Device whose access code could not be revoked. */
154446
+ device_id: string;
154447
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
154448
+ error_code: string;
154449
+ /** Human-readable description of why revocation failed. */
154450
+ message: string;
154451
+ }[] | undefined;
154057
154452
  } | {
154058
154453
  /** Date and time at which Seam created the warning. */
154059
154454
  created_at: string;
@@ -167450,9 +167845,9 @@ type Routes = {
167450
167845
  /** Associate the Connect Webview, the connected account, and all resources under the connected account with a customer. If the connected account already exists, it will be associated with the customer. If the connected account already exists, but is already associated with a customer, the Connect Webview will show an error. */
167451
167846
  customer_key?: string | undefined;
167452
167847
  /** Accepted device provider keys as an alternative to `provider_category`. Use this parameter to specify accepted providers explicitly. See [Customize the Brands to Display in Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews). To list all provider keys, use [`/devices/list_device_providers`](https://docs.seam.co/latest/api/devices/list_device_providers) with no filters. */
167453
- accepted_providers?: ('hotek' | 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq' | 'ring' | 'yale_access' | 'hid_cm' | 'google_nest')[] | undefined;
167848
+ accepted_providers?: ('hotek' | 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq' | 'ring' | 'ical' | 'yale_access' | 'hid_cm' | 'google_nest')[] | undefined;
167454
167849
  /** Specifies the category of providers that you want to include. To list all providers within a category, use [`/devices/list_device_providers`](https://docs.seam.co/latest/api/devices/list_device_providers) with the desired `provider_category` filter. */
167455
- provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'internal_beta') | undefined;
167850
+ provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors' | 'internal_beta') | undefined;
167456
167851
  /** Custom metadata that you want to associate with the Connect Webview. Supports up to 50 JSON key:value pairs. [Adding custom metadata to a Connect Webview](https://docs.seam.co/latest/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview) enables you to store custom information, like customer details or internal IDs from your application. The custom metadata is then transferred to any [connected accounts](https://docs.seam.co/latest/core-concepts/connected-accounts) that were connected using the Connect Webview, making it easy to find and filter these resources in your [workspace](https://docs.seam.co/latest/core-concepts/workspaces). You can also [filter Connect Webviews by custom metadata](https://docs.seam.co/latest/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). */
167457
167852
  custom_metadata?: {
167458
167853
  [x: string]: string | boolean | null;
@@ -170410,7 +170805,7 @@ type Routes = {
170410
170805
  /** Array of device types for which you want to list devices. */
170411
170806
  device_types?: (('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'korelock_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone') | 'ring_camera')[] | undefined;
170412
170807
  /** Manufacturer for which you want to list devices. */
170413
- manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'dormakaba_oracode' | 'tedee' | 'korelock' | 'akiles' | 'ecobee' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring') | undefined;
170808
+ manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'dormakaba_oracode' | 'tedee' | 'korelock' | 'akiles' | 'ecobee' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring' | 'ical') | undefined;
170414
170809
  /** Array of device IDs for which you want to list devices. */
170415
170810
  device_ids?: string[] | undefined;
170416
170811
  /** Numerical limit on the number of devices to return. */
@@ -171782,15 +172177,15 @@ type Routes = {
171782
172177
  jsonBody: {};
171783
172178
  commonParams: {
171784
172179
  /** Category for which you want to list providers. */
171785
- provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras') | undefined;
172180
+ provider_category?: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors') | undefined;
171786
172181
  };
171787
172182
  formData: {};
171788
172183
  jsonResponse: {
171789
172184
  device_providers: {
171790
- device_provider_name: 'hotek' | 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq' | 'ring';
172185
+ device_provider_name: 'hotek' | 'dormakaba_community' | 'legic_connect' | 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'salto_ks' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'assa_abloy_vostio' | 'assa_abloy_vostio_credential_service' | 'tado' | 'salto_space' | 'sensi' | 'keynest' | 'korelock' | 'dormakaba_ambiance' | 'ultraloq' | 'ring' | 'ical';
171791
172186
  display_name: string;
171792
172187
  image_url: string;
171793
- provider_categories: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras')[];
172188
+ provider_categories: ('stable' | 'consumer_smartlocks' | 'beta' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'cameras' | 'connectors')[];
171794
172189
  can_remotely_unlock?: boolean | undefined;
171795
172190
  can_remotely_lock?: boolean | undefined;
171796
172191
  can_program_offline_access_codes?: boolean | undefined;
@@ -172388,7 +172783,7 @@ type Routes = {
172388
172783
  /** Array of device types for which you want to list devices. */
172389
172784
  device_types?: (('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'korelock_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone') | 'ring_camera')[] | undefined;
172390
172785
  /** Manufacturer for which you want to list devices. */
172391
- manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'dormakaba_oracode' | 'tedee' | 'korelock' | 'akiles' | 'ecobee' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring') | undefined;
172786
+ manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'dormakaba_oracode' | 'tedee' | 'korelock' | 'akiles' | 'ecobee' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring' | 'ical') | undefined;
172392
172787
  /** Array of device IDs for which you want to list devices. */
172393
172788
  device_ids?: string[] | undefined;
172394
172789
  /** Timestamp by which to limit returned devices. Returns devices created before this timestamp. */
@@ -198395,6 +198790,15 @@ type Routes = {
198395
198790
  message: string;
198396
198791
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
198397
198792
  warning_code: 'overprovisioned_access';
198793
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
198794
+ failed_devices?: {
198795
+ /** Device whose access code could not be revoked. */
198796
+ device_id: string;
198797
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
198798
+ error_code: string;
198799
+ /** Human-readable description of why revocation failed. */
198800
+ message: string;
198801
+ }[] | undefined;
198398
198802
  } | {
198399
198803
  /** Date and time at which Seam created the warning. */
198400
198804
  created_at: string;
@@ -204026,6 +204430,15 @@ type Routes = {
204026
204430
  message: string;
204027
204431
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
204028
204432
  warning_code: 'overprovisioned_access';
204433
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
204434
+ failed_devices?: {
204435
+ /** Device whose access code could not be revoked. */
204436
+ device_id: string;
204437
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
204438
+ error_code: string;
204439
+ /** Human-readable description of why revocation failed. */
204440
+ message: string;
204441
+ }[] | undefined;
204029
204442
  } | {
204030
204443
  /** Date and time at which Seam created the warning. */
204031
204444
  created_at: string;
@@ -204452,6 +204865,15 @@ type Routes = {
204452
204865
  message: string;
204453
204866
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
204454
204867
  warning_code: 'overprovisioned_access';
204868
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
204869
+ failed_devices?: {
204870
+ /** Device whose access code could not be revoked. */
204871
+ device_id: string;
204872
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
204873
+ error_code: string;
204874
+ /** Human-readable description of why revocation failed. */
204875
+ message: string;
204876
+ }[] | undefined;
204455
204877
  } | {
204456
204878
  /** Date and time at which Seam created the warning. */
204457
204879
  created_at: string;
@@ -232784,6 +233206,15 @@ type Routes = {
232784
233206
  message: string;
232785
233207
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
232786
233208
  warning_code: 'overprovisioned_access';
233209
+ /** Devices whose access codes could not be revoked during reconciliation. Present when the provider does not support revoking an offline access code (e.g. Dormakaba oracode with exhausted override budget). */
233210
+ failed_devices?: {
233211
+ /** Device whose access code could not be revoked. */
233212
+ device_id: string;
233213
+ /** Reason the access code could not be revoked (e.g. `offline_access_code_not_revocable`). */
233214
+ error_code: string;
233215
+ /** Human-readable description of why revocation failed. */
233216
+ message: string;
233217
+ }[] | undefined;
232787
233218
  } | {
232788
233219
  /** Date and time at which Seam created the warning. */
232789
233220
  created_at: string;