@seamapi/types 1.989.0 → 1.991.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.
@@ -310,7 +310,7 @@ const openapi = {
310
310
  'x-resource-type': 'access_code',
311
311
  },
312
312
  {
313
- description: 'Admin role required—insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.',
313
+ description: 'Indicates that the account is disconnected.',
314
314
  properties: {
315
315
  created_at: {
316
316
  description: 'Date and time at which Seam created the error.',
@@ -319,25 +319,36 @@ const openapi = {
319
319
  },
320
320
  error_code: {
321
321
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
322
- enum: ['insufficient_permissions'],
322
+ enum: ['account_disconnected'],
323
323
  type: 'string',
324
324
  },
325
- is_access_code_error: {
326
- description: 'Indicates that this is an access code error.',
325
+ is_connected_account_error: {
326
+ description: 'Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.',
327
327
  enum: [true],
328
328
  type: 'boolean',
329
329
  },
330
+ is_device_error: {
331
+ description: 'Indicates that the error is not a device error.',
332
+ enum: [false],
333
+ type: 'boolean',
334
+ },
330
335
  message: {
331
336
  description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
332
337
  type: 'string',
333
338
  },
334
339
  },
335
- required: ['message', 'is_access_code_error', 'error_code'],
340
+ required: [
341
+ 'message',
342
+ 'is_device_error',
343
+ 'created_at',
344
+ 'error_code',
345
+ 'is_connected_account_error',
346
+ ],
336
347
  type: 'object',
337
- 'x-resource-type': 'access_code',
348
+ 'x-resource-type': 'connected_account',
338
349
  },
339
350
  {
340
- description: 'Indicates that the account is disconnected.',
351
+ description: 'Indicates that the Salto site user limit has been reached.',
341
352
  properties: {
342
353
  created_at: {
343
354
  description: 'Date and time at which Seam created the error.',
@@ -346,7 +357,7 @@ const openapi = {
346
357
  },
347
358
  error_code: {
348
359
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
349
- enum: ['account_disconnected'],
360
+ enum: ['salto_ks_subscription_limit_exceeded'],
350
361
  type: 'string',
351
362
  },
352
363
  is_connected_account_error: {
@@ -373,9 +384,10 @@ const openapi = {
373
384
  ],
374
385
  type: 'object',
375
386
  'x-resource-type': 'connected_account',
387
+ 'x-variant-group-key': 'locks',
376
388
  },
377
389
  {
378
- description: 'Indicates that the Salto site user limit has been reached.',
390
+ description: "Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.",
379
391
  properties: {
380
392
  created_at: {
381
393
  description: 'Date and time at which Seam created the error.',
@@ -384,7 +396,7 @@ const openapi = {
384
396
  },
385
397
  error_code: {
386
398
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
387
- enum: ['salto_ks_subscription_limit_exceeded'],
399
+ enum: ['insufficient_permissions'],
388
400
  type: 'string',
389
401
  },
390
402
  is_connected_account_error: {
@@ -411,7 +423,6 @@ const openapi = {
411
423
  ],
412
424
  type: 'object',
413
425
  'x-resource-type': 'connected_account',
414
- 'x-variant-group-key': 'locks',
415
426
  },
416
427
  {
417
428
  description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
@@ -4034,6 +4045,28 @@ const openapi = {
4034
4045
  type: 'object',
4035
4046
  'x-resource-type': 'acs_system',
4036
4047
  },
4048
+ {
4049
+ description: "Indicates that Seam's integration user does not have sufficient permissions on the provider's system backing this [access control system](https://docs.seam.co/low-level-apis/access-systems). Access cannot be managed until permissions are restored. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.",
4050
+ properties: {
4051
+ created_at: {
4052
+ description: 'Date and time at which Seam created the error.',
4053
+ format: 'date-time',
4054
+ type: 'string',
4055
+ },
4056
+ error_code: {
4057
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
4058
+ enum: ['insufficient_permissions'],
4059
+ type: 'string',
4060
+ },
4061
+ message: {
4062
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
4063
+ type: 'string',
4064
+ },
4065
+ },
4066
+ required: ['created_at', 'message', 'error_code'],
4067
+ type: 'object',
4068
+ 'x-resource-type': 'acs_system',
4069
+ },
4037
4070
  {
4038
4071
  description: 'Indicates that the [access control system](https://docs.seam.co/low-level-apis/access-systems) has been disconnected. See [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system) to resolve the issue.',
4039
4072
  properties: {
@@ -11746,6 +11779,44 @@ const openapi = {
11746
11779
  'x-resource-type': 'connected_account',
11747
11780
  'x-variant-group-key': 'locks',
11748
11781
  },
11782
+ {
11783
+ description: "Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.",
11784
+ properties: {
11785
+ created_at: {
11786
+ description: 'Date and time at which Seam created the error.',
11787
+ format: 'date-time',
11788
+ type: 'string',
11789
+ },
11790
+ error_code: {
11791
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
11792
+ enum: ['insufficient_permissions'],
11793
+ type: 'string',
11794
+ },
11795
+ is_connected_account_error: {
11796
+ description: 'Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.',
11797
+ enum: [true],
11798
+ type: 'boolean',
11799
+ },
11800
+ is_device_error: {
11801
+ description: 'Indicates that the error is not a device error.',
11802
+ enum: [false],
11803
+ type: 'boolean',
11804
+ },
11805
+ message: {
11806
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
11807
+ type: 'string',
11808
+ },
11809
+ },
11810
+ required: [
11811
+ 'message',
11812
+ 'is_device_error',
11813
+ 'created_at',
11814
+ 'error_code',
11815
+ 'is_connected_account_error',
11816
+ ],
11817
+ type: 'object',
11818
+ 'x-resource-type': 'connected_account',
11819
+ },
11749
11820
  {
11750
11821
  description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
11751
11822
  properties: {
@@ -15260,28 +15331,6 @@ const openapi = {
15260
15331
  type: 'object',
15261
15332
  'x-variant-group-key': 'access_codes',
15262
15333
  },
15263
- {
15264
- description: "Indicates that the connected Kwikset account has member-level access to this lock's home. Admin or owner access is required to manage access codes and control the lock remotely.",
15265
- properties: {
15266
- created_at: {
15267
- description: 'Date and time at which Seam created the warning.',
15268
- format: 'date-time',
15269
- type: 'string',
15270
- },
15271
- message: {
15272
- description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
15273
- type: 'string',
15274
- },
15275
- warning_code: {
15276
- description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
15277
- enum: ['insufficient_permissions'],
15278
- type: 'string',
15279
- },
15280
- },
15281
- required: ['message', 'created_at', 'warning_code'],
15282
- type: 'object',
15283
- 'x-variant-group-key': 'locks',
15284
- },
15285
15334
  ],
15286
15335
  },
15287
15336
  type: 'array',
@@ -26920,7 +26969,7 @@ const openapi = {
26920
26969
  'x-resource-type': 'access_code',
26921
26970
  },
26922
26971
  {
26923
- description: 'Admin role required—insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.',
26972
+ description: 'Indicates that the account is disconnected.',
26924
26973
  properties: {
26925
26974
  created_at: {
26926
26975
  description: 'Date and time at which Seam created the error.',
@@ -26929,25 +26978,36 @@ const openapi = {
26929
26978
  },
26930
26979
  error_code: {
26931
26980
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
26932
- enum: ['insufficient_permissions'],
26981
+ enum: ['account_disconnected'],
26933
26982
  type: 'string',
26934
26983
  },
26935
- is_access_code_error: {
26936
- description: 'Indicates that this is an access code error.',
26984
+ is_connected_account_error: {
26985
+ description: 'Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.',
26937
26986
  enum: [true],
26938
26987
  type: 'boolean',
26939
26988
  },
26989
+ is_device_error: {
26990
+ description: 'Indicates that the error is not a device error.',
26991
+ enum: [false],
26992
+ type: 'boolean',
26993
+ },
26940
26994
  message: {
26941
26995
  description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
26942
26996
  type: 'string',
26943
26997
  },
26944
26998
  },
26945
- required: ['message', 'is_access_code_error', 'error_code'],
26999
+ required: [
27000
+ 'message',
27001
+ 'is_device_error',
27002
+ 'created_at',
27003
+ 'error_code',
27004
+ 'is_connected_account_error',
27005
+ ],
26946
27006
  type: 'object',
26947
- 'x-resource-type': 'access_code',
27007
+ 'x-resource-type': 'connected_account',
26948
27008
  },
26949
27009
  {
26950
- description: 'Indicates that the account is disconnected.',
27010
+ description: 'Indicates that the Salto site user limit has been reached.',
26951
27011
  properties: {
26952
27012
  created_at: {
26953
27013
  description: 'Date and time at which Seam created the error.',
@@ -26956,7 +27016,7 @@ const openapi = {
26956
27016
  },
26957
27017
  error_code: {
26958
27018
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
26959
- enum: ['account_disconnected'],
27019
+ enum: ['salto_ks_subscription_limit_exceeded'],
26960
27020
  type: 'string',
26961
27021
  },
26962
27022
  is_connected_account_error: {
@@ -26983,9 +27043,10 @@ const openapi = {
26983
27043
  ],
26984
27044
  type: 'object',
26985
27045
  'x-resource-type': 'connected_account',
27046
+ 'x-variant-group-key': 'locks',
26986
27047
  },
26987
27048
  {
26988
- description: 'Indicates that the Salto site user limit has been reached.',
27049
+ description: "Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.",
26989
27050
  properties: {
26990
27051
  created_at: {
26991
27052
  description: 'Date and time at which Seam created the error.',
@@ -26994,7 +27055,7 @@ const openapi = {
26994
27055
  },
26995
27056
  error_code: {
26996
27057
  description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
26997
- enum: ['salto_ks_subscription_limit_exceeded'],
27058
+ enum: ['insufficient_permissions'],
26998
27059
  type: 'string',
26999
27060
  },
27000
27061
  is_connected_account_error: {
@@ -27021,7 +27082,6 @@ const openapi = {
27021
27082
  ],
27022
27083
  type: 'object',
27023
27084
  'x-resource-type': 'connected_account',
27024
- 'x-variant-group-key': 'locks',
27025
27085
  },
27026
27086
  {
27027
27087
  description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
@@ -30640,6 +30700,44 @@ const openapi = {
30640
30700
  'x-resource-type': 'connected_account',
30641
30701
  'x-variant-group-key': 'locks',
30642
30702
  },
30703
+ {
30704
+ description: "Indicates that Seam's integration user does not have sufficient permissions on the provider's system to which this device belongs, so Seam cannot manage access codes or unlock the device. See the error message for specifics, then either reauthorize the connected account in Seam or grant the integration user the required permissions in the provider's system.",
30705
+ properties: {
30706
+ created_at: {
30707
+ description: 'Date and time at which Seam created the error.',
30708
+ format: 'date-time',
30709
+ type: 'string',
30710
+ },
30711
+ error_code: {
30712
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
30713
+ enum: ['insufficient_permissions'],
30714
+ type: 'string',
30715
+ },
30716
+ is_connected_account_error: {
30717
+ description: 'Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.',
30718
+ enum: [true],
30719
+ type: 'boolean',
30720
+ },
30721
+ is_device_error: {
30722
+ description: 'Indicates that the error is not a device error.',
30723
+ enum: [false],
30724
+ type: 'boolean',
30725
+ },
30726
+ message: {
30727
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
30728
+ type: 'string',
30729
+ },
30730
+ },
30731
+ required: [
30732
+ 'message',
30733
+ 'is_device_error',
30734
+ 'created_at',
30735
+ 'error_code',
30736
+ 'is_connected_account_error',
30737
+ ],
30738
+ type: 'object',
30739
+ 'x-resource-type': 'connected_account',
30740
+ },
30643
30741
  {
30644
30742
  description: 'Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.',
30645
30743
  properties: {
@@ -31803,28 +31901,6 @@ const openapi = {
31803
31901
  type: 'object',
31804
31902
  'x-variant-group-key': 'access_codes',
31805
31903
  },
31806
- {
31807
- description: "Indicates that the connected Kwikset account has member-level access to this lock's home. Admin or owner access is required to manage access codes and control the lock remotely.",
31808
- properties: {
31809
- created_at: {
31810
- description: 'Date and time at which Seam created the warning.',
31811
- format: 'date-time',
31812
- type: 'string',
31813
- },
31814
- message: {
31815
- description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
31816
- type: 'string',
31817
- },
31818
- warning_code: {
31819
- description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
31820
- enum: ['insufficient_permissions'],
31821
- type: 'string',
31822
- },
31823
- },
31824
- required: ['message', 'created_at', 'warning_code'],
31825
- type: 'object',
31826
- 'x-variant-group-key': 'locks',
31827
- },
31828
31904
  ],
31829
31905
  },
31830
31906
  type: 'array',