@seamapi/types 1.393.0 → 1.395.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.
@@ -1233,6 +1233,15 @@ export interface Routes {
1233
1233
  created_at?: string | undefined;
1234
1234
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1235
1235
  error_code: 'duplicate_code_attempt_prevented';
1236
+ } | {
1237
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1238
+ message: string;
1239
+ /** Indicates that this is an access code error. */
1240
+ is_access_code_error: true;
1241
+ /** Date and time at which Seam created the error. */
1242
+ created_at?: string | undefined;
1243
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1244
+ error_code: 'no_space_for_access_code_on_device';
1236
1245
  } | {
1237
1246
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1238
1247
  message: string;
@@ -1260,6 +1269,15 @@ export interface Routes {
1260
1269
  created_at?: string | undefined;
1261
1270
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1262
1271
  error_code: 'igloohome_offline_access_code_no_variance_available';
1272
+ } | {
1273
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1274
+ message: string;
1275
+ /** Indicates that this is an access code error. */
1276
+ is_access_code_error: true;
1277
+ /** Date and time at which Seam created the error. */
1278
+ created_at?: string | undefined;
1279
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1280
+ error_code: 'schlage_lock_exceeds_maximum_number_of_access_codes';
1263
1281
  } | {
1264
1282
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1265
1283
  message: string;
@@ -1714,6 +1732,15 @@ export interface Routes {
1714
1732
  created_at?: string | undefined;
1715
1733
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1716
1734
  error_code: 'duplicate_code_attempt_prevented';
1735
+ } | {
1736
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1737
+ message: string;
1738
+ /** Indicates that this is an access code error. */
1739
+ is_access_code_error: true;
1740
+ /** Date and time at which Seam created the error. */
1741
+ created_at?: string | undefined;
1742
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1743
+ error_code: 'no_space_for_access_code_on_device';
1717
1744
  } | {
1718
1745
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1719
1746
  message: string;
@@ -1741,6 +1768,15 @@ export interface Routes {
1741
1768
  created_at?: string | undefined;
1742
1769
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1743
1770
  error_code: 'igloohome_offline_access_code_no_variance_available';
1771
+ } | {
1772
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1773
+ message: string;
1774
+ /** Indicates that this is an access code error. */
1775
+ is_access_code_error: true;
1776
+ /** Date and time at which Seam created the error. */
1777
+ created_at?: string | undefined;
1778
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1779
+ error_code: 'schlage_lock_exceeds_maximum_number_of_access_codes';
1744
1780
  } | {
1745
1781
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
1746
1782
  message: string;
@@ -3314,6 +3350,15 @@ export interface Routes {
3314
3350
  created_at?: string | undefined;
3315
3351
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3316
3352
  error_code: 'duplicate_code_attempt_prevented';
3353
+ } | {
3354
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3355
+ message: string;
3356
+ /** Indicates that this is an access code error. */
3357
+ is_access_code_error: true;
3358
+ /** Date and time at which Seam created the error. */
3359
+ created_at?: string | undefined;
3360
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3361
+ error_code: 'no_space_for_access_code_on_device';
3317
3362
  } | {
3318
3363
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3319
3364
  message: string;
@@ -3341,6 +3386,15 @@ export interface Routes {
3341
3386
  created_at?: string | undefined;
3342
3387
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3343
3388
  error_code: 'igloohome_offline_access_code_no_variance_available';
3389
+ } | {
3390
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3391
+ message: string;
3392
+ /** Indicates that this is an access code error. */
3393
+ is_access_code_error: true;
3394
+ /** Date and time at which Seam created the error. */
3395
+ created_at?: string | undefined;
3396
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3397
+ error_code: 'schlage_lock_exceeds_maximum_number_of_access_codes';
3344
3398
  } | {
3345
3399
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3346
3400
  message: string;
@@ -3775,6 +3829,15 @@ export interface Routes {
3775
3829
  created_at?: string | undefined;
3776
3830
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3777
3831
  error_code: 'duplicate_code_attempt_prevented';
3832
+ } | {
3833
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3834
+ message: string;
3835
+ /** Indicates that this is an access code error. */
3836
+ is_access_code_error: true;
3837
+ /** Date and time at which Seam created the error. */
3838
+ created_at?: string | undefined;
3839
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3840
+ error_code: 'no_space_for_access_code_on_device';
3778
3841
  } | {
3779
3842
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3780
3843
  message: string;
@@ -3802,6 +3865,15 @@ export interface Routes {
3802
3865
  created_at?: string | undefined;
3803
3866
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3804
3867
  error_code: 'igloohome_offline_access_code_no_variance_available';
3868
+ } | {
3869
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3870
+ message: string;
3871
+ /** Indicates that this is an access code error. */
3872
+ is_access_code_error: true;
3873
+ /** Date and time at which Seam created the error. */
3874
+ created_at?: string | undefined;
3875
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3876
+ error_code: 'schlage_lock_exceeds_maximum_number_of_access_codes';
3805
3877
  } | {
3806
3878
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3807
3879
  message: string;
@@ -4244,6 +4316,15 @@ export interface Routes {
4244
4316
  created_at?: string | undefined;
4245
4317
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4246
4318
  error_code: 'duplicate_code_attempt_prevented';
4319
+ } | {
4320
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4321
+ message: string;
4322
+ /** Indicates that this is an access code error. */
4323
+ is_access_code_error: true;
4324
+ /** Date and time at which Seam created the error. */
4325
+ created_at?: string | undefined;
4326
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4327
+ error_code: 'no_space_for_access_code_on_device';
4247
4328
  } | {
4248
4329
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4249
4330
  message: string;
@@ -4271,6 +4352,15 @@ export interface Routes {
4271
4352
  created_at?: string | undefined;
4272
4353
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4273
4354
  error_code: 'igloohome_offline_access_code_no_variance_available';
4355
+ } | {
4356
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4357
+ message: string;
4358
+ /** Indicates that this is an access code error. */
4359
+ is_access_code_error: true;
4360
+ /** Date and time at which Seam created the error. */
4361
+ created_at?: string | undefined;
4362
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4363
+ error_code: 'schlage_lock_exceeds_maximum_number_of_access_codes';
4274
4364
  } | {
4275
4365
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4276
4366
  message: string;
@@ -4691,6 +4781,15 @@ export interface Routes {
4691
4781
  created_at?: string | undefined;
4692
4782
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4693
4783
  error_code: 'duplicate_code_attempt_prevented';
4784
+ } | {
4785
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4786
+ message: string;
4787
+ /** Indicates that this is an access code error. */
4788
+ is_access_code_error: true;
4789
+ /** Date and time at which Seam created the error. */
4790
+ created_at?: string | undefined;
4791
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4792
+ error_code: 'no_space_for_access_code_on_device';
4694
4793
  } | {
4695
4794
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4696
4795
  message: string;
@@ -4718,6 +4817,15 @@ export interface Routes {
4718
4817
  created_at?: string | undefined;
4719
4818
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4720
4819
  error_code: 'igloohome_offline_access_code_no_variance_available';
4820
+ } | {
4821
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4822
+ message: string;
4823
+ /** Indicates that this is an access code error. */
4824
+ is_access_code_error: true;
4825
+ /** Date and time at which Seam created the error. */
4826
+ created_at?: string | undefined;
4827
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4828
+ error_code: 'schlage_lock_exceeds_maximum_number_of_access_codes';
4721
4829
  } | {
4722
4830
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4723
4831
  message: string;
@@ -5167,6 +5275,15 @@ export interface Routes {
5167
5275
  created_at?: string | undefined;
5168
5276
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5169
5277
  error_code: 'duplicate_code_attempt_prevented';
5278
+ } | {
5279
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5280
+ message: string;
5281
+ /** Indicates that this is an access code error. */
5282
+ is_access_code_error: true;
5283
+ /** Date and time at which Seam created the error. */
5284
+ created_at?: string | undefined;
5285
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5286
+ error_code: 'no_space_for_access_code_on_device';
5170
5287
  } | {
5171
5288
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5172
5289
  message: string;
@@ -5194,6 +5311,15 @@ export interface Routes {
5194
5311
  created_at?: string | undefined;
5195
5312
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5196
5313
  error_code: 'igloohome_offline_access_code_no_variance_available';
5314
+ } | {
5315
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5316
+ message: string;
5317
+ /** Indicates that this is an access code error. */
5318
+ is_access_code_error: true;
5319
+ /** Date and time at which Seam created the error. */
5320
+ created_at?: string | undefined;
5321
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5322
+ error_code: 'schlage_lock_exceeds_maximum_number_of_access_codes';
5197
5323
  } | {
5198
5324
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
5199
5325
  message: string;
@@ -6751,6 +6877,15 @@ export interface Routes {
6751
6877
  created_at?: string | undefined;
6752
6878
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6753
6879
  error_code: 'duplicate_code_attempt_prevented';
6880
+ } | {
6881
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6882
+ message: string;
6883
+ /** Indicates that this is an access code error. */
6884
+ is_access_code_error: true;
6885
+ /** Date and time at which Seam created the error. */
6886
+ created_at?: string | undefined;
6887
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6888
+ error_code: 'no_space_for_access_code_on_device';
6754
6889
  } | {
6755
6890
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6756
6891
  message: string;
@@ -6778,6 +6913,15 @@ export interface Routes {
6778
6913
  created_at?: string | undefined;
6779
6914
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6780
6915
  error_code: 'igloohome_offline_access_code_no_variance_available';
6916
+ } | {
6917
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6918
+ message: string;
6919
+ /** Indicates that this is an access code error. */
6920
+ is_access_code_error: true;
6921
+ /** Date and time at which Seam created the error. */
6922
+ created_at?: string | undefined;
6923
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6924
+ error_code: 'schlage_lock_exceeds_maximum_number_of_access_codes';
6781
6925
  } | {
6782
6926
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
6783
6927
  message: string;
@@ -7188,6 +7332,15 @@ export interface Routes {
7188
7332
  created_at?: string | undefined;
7189
7333
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7190
7334
  error_code: 'duplicate_code_attempt_prevented';
7335
+ } | {
7336
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7337
+ message: string;
7338
+ /** Indicates that this is an access code error. */
7339
+ is_access_code_error: true;
7340
+ /** Date and time at which Seam created the error. */
7341
+ created_at?: string | undefined;
7342
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7343
+ error_code: 'no_space_for_access_code_on_device';
7191
7344
  } | {
7192
7345
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7193
7346
  message: string;
@@ -7215,6 +7368,15 @@ export interface Routes {
7215
7368
  created_at?: string | undefined;
7216
7369
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7217
7370
  error_code: 'igloohome_offline_access_code_no_variance_available';
7371
+ } | {
7372
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7373
+ message: string;
7374
+ /** Indicates that this is an access code error. */
7375
+ is_access_code_error: true;
7376
+ /** Date and time at which Seam created the error. */
7377
+ created_at?: string | undefined;
7378
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7379
+ error_code: 'schlage_lock_exceeds_maximum_number_of_access_codes';
7218
7380
  } | {
7219
7381
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7220
7382
  message: string;
@@ -9090,6 +9252,8 @@ export interface Routes {
9090
9252
  acs_access_group_id: string | null;
9091
9253
  };
9092
9254
  }> | undefined;
9255
+ /** The last time an internal sync job completed for this ACS user. */
9256
+ last_successful_sync_at: string | null;
9093
9257
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
9094
9258
  full_name?: string | undefined;
9095
9259
  /**
@@ -15068,6 +15232,8 @@ export interface Routes {
15068
15232
  acs_access_group_id: string | null;
15069
15233
  };
15070
15234
  }> | undefined;
15235
+ /** The last time an internal sync job completed for this ACS user. */
15236
+ last_successful_sync_at: string | null;
15071
15237
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
15072
15238
  full_name?: string | undefined;
15073
15239
  /**
@@ -15278,6 +15444,8 @@ export interface Routes {
15278
15444
  acs_access_group_id: string | null;
15279
15445
  };
15280
15446
  }> | undefined;
15447
+ /** The last time an internal sync job completed for this ACS user. */
15448
+ last_successful_sync_at: string | null;
15281
15449
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
15282
15450
  full_name?: string | undefined;
15283
15451
  /**
@@ -15484,6 +15652,8 @@ export interface Routes {
15484
15652
  acs_access_group_id: string | null;
15485
15653
  };
15486
15654
  }> | undefined;
15655
+ /** The last time an internal sync job completed for this ACS user. */
15656
+ last_successful_sync_at: string | null;
15487
15657
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
15488
15658
  full_name?: string | undefined;
15489
15659
  /**
@@ -15799,6 +15969,8 @@ export interface Routes {
15799
15969
  acs_access_group_id: string | null;
15800
15970
  };
15801
15971
  }> | undefined;
15972
+ /** The last time an internal sync job completed for this ACS user. */
15973
+ last_successful_sync_at: string | null;
15802
15974
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
15803
15975
  full_name?: string | undefined;
15804
15976
  /**
@@ -15995,6 +16167,8 @@ export interface Routes {
15995
16167
  acs_access_group_id: string | null;
15996
16168
  };
15997
16169
  }> | undefined;
16170
+ /** The last time an internal sync job completed for this ACS user. */
16171
+ last_successful_sync_at: string | null;
15998
16172
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
15999
16173
  full_name?: string | undefined;
16000
16174
  /**
@@ -53513,6 +53687,8 @@ export interface Routes {
53513
53687
  acs_access_group_id: string | null;
53514
53688
  };
53515
53689
  }> | undefined;
53690
+ /** The last time an internal sync job completed for this ACS user. */
53691
+ last_successful_sync_at: string | null;
53516
53692
  /** Full name of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). */
53517
53693
  full_name?: string | undefined;
53518
53694
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.393.0",
3
+ "version": "1.395.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -92,7 +92,7 @@
92
92
  "zod": "^3.24.0"
93
93
  },
94
94
  "devDependencies": {
95
- "@seamapi/blueprint": "^0.40.0",
95
+ "@seamapi/blueprint": "^0.41.0",
96
96
  "@types/node": "^20.8.10",
97
97
  "concurrently": "^8.2.0",
98
98
  "del-cli": "^5.0.0",
@@ -80,6 +80,14 @@ const duplicate_code_attempt_prevented = common_access_code_error
80
80
  })
81
81
  .describe('An attempt to modify this access code was prevented.')
82
82
 
83
+ const no_space_for_access_code_on_device = common_access_code_error
84
+ .extend({
85
+ error_code: z
86
+ .literal('no_space_for_access_code_on_device')
87
+ .describe(error_code_description),
88
+ })
89
+ .describe('No space for access code on device.')
90
+
83
91
  const igloohome_bridge_too_many_pending_jobs = common_access_code_error
84
92
  .extend({
85
93
  error_code: z
@@ -123,6 +131,15 @@ const igloohome_offline_access_code_no_variance_available =
123
131
  })
124
132
  .describe('Lock has reached maximum amount of codes.')
125
133
 
134
+ const schlage_lock_exceeds_maximum_number_of_access_codes =
135
+ common_access_code_error
136
+ .extend({
137
+ error_code: z
138
+ .literal('schlage_lock_exceeds_maximum_number_of_access_codes')
139
+ .describe(error_code_description),
140
+ })
141
+ .describe('Lock has reached maximum amount of codes.')
142
+
126
143
  const august_lock_invalid_code_length = common_access_code_error
127
144
  .extend({
128
145
  error_code: z
@@ -228,9 +245,11 @@ const access_code_error = z
228
245
  failed_to_remove_from_device,
229
246
  duplicate_code_on_device,
230
247
  duplicate_code_attempt_prevented,
248
+ no_space_for_access_code_on_device,
231
249
  igloohome_bridge_too_many_pending_jobs,
232
250
  igloohome_bridge_offline,
233
251
  igloohome_offline_access_code_no_variance_available,
252
+ schlage_lock_exceeds_maximum_number_of_access_codes,
234
253
  kwikset_unable_to_confirm_code,
235
254
  kwikset_unable_to_confirm_deletion,
236
255
  code_modified_external_to_seam_error,
@@ -264,6 +283,9 @@ const access_code_error_map = z.object({
264
283
  failed_to_remove_from_device: failed_to_remove_from_device
265
284
  .optional()
266
285
  .nullable(),
286
+ no_space_for_access_code_on_device: no_space_for_access_code_on_device
287
+ .optional()
288
+ .nullable(),
267
289
  duplicate_code_on_device: duplicate_code_on_device.optional().nullable(),
268
290
  duplicate_code_attempt_prevented: duplicate_code_attempt_prevented
269
291
  .optional()
@@ -310,6 +332,8 @@ const access_code_error_map = z.object({
310
332
  dormakaba_oracode_no_valid_user_level: dormakaba_oracode_no_valid_user_level
311
333
  .optional()
312
334
  .nullable(),
335
+ schlage_lock_exceeds_maximum_number_of_access_codes:
336
+ schlage_lock_exceeds_maximum_number_of_access_codes.optional().nullable(),
313
337
  })
314
338
 
315
339
  export type AccessCodeErrorMap = z.infer<typeof access_code_error_map>
@@ -337,6 +337,12 @@ const common_acs_user = z
337
337
  .describe(
338
338
  'Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system.',
339
339
  ),
340
+ last_successful_sync_at: z.string().datetime().nullable().describe(`
341
+ ---
342
+ undocumented: Only used internally.
343
+ ---
344
+ The last time an internal sync job completed for this ACS user.
345
+ `),
340
346
  })
341
347
  .merge(user_fields)
342
348
 
@@ -5,7 +5,7 @@ export const access_code_code_constraint = z.object({
5
5
  'no_zeros', // Nuki
6
6
  'cannot_start_with_12', // Nuki
7
7
  'no_triple_consecutive_ints', // Brivo
8
- 'cannot_specify_pin_code', // Lockly
8
+ 'cannot_specify_pin_code', // Dormakaba?
9
9
  'pin_code_matches_existing_set', // Salto
10
10
  'start_date_in_future', // Kwikset
11
11
  'no_ascending_or_descending_sequence', // Tedee
@@ -259,6 +259,36 @@ export default {
259
259
  required: ['message', 'is_access_code_error', 'error_code'],
260
260
  type: 'object',
261
261
  },
262
+ {
263
+ description: 'No space for access code on device.',
264
+ properties: {
265
+ created_at: {
266
+ description:
267
+ 'Date and time at which Seam created the error.',
268
+ format: 'date-time',
269
+ type: 'string',
270
+ },
271
+ error_code: {
272
+ description:
273
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
274
+ enum: ['no_space_for_access_code_on_device'],
275
+ type: 'string',
276
+ },
277
+ is_access_code_error: {
278
+ description:
279
+ 'Indicates that this is an access code error.',
280
+ enum: [true],
281
+ type: 'boolean',
282
+ },
283
+ message: {
284
+ description:
285
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
286
+ type: 'string',
287
+ },
288
+ },
289
+ required: ['message', 'is_access_code_error', 'error_code'],
290
+ type: 'object',
291
+ },
262
292
  {
263
293
  description:
264
294
  'Igloohome bridge has too many pending jobs in the queue.',
@@ -352,6 +382,38 @@ export default {
352
382
  required: ['message', 'is_access_code_error', 'error_code'],
353
383
  type: 'object',
354
384
  },
385
+ {
386
+ description: 'Lock has reached maximum amount of codes.',
387
+ properties: {
388
+ created_at: {
389
+ description:
390
+ 'Date and time at which Seam created the error.',
391
+ format: 'date-time',
392
+ type: 'string',
393
+ },
394
+ error_code: {
395
+ description:
396
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
397
+ enum: [
398
+ 'schlage_lock_exceeds_maximum_number_of_access_codes',
399
+ ],
400
+ type: 'string',
401
+ },
402
+ is_access_code_error: {
403
+ description:
404
+ 'Indicates that this is an access code error.',
405
+ enum: [true],
406
+ type: 'boolean',
407
+ },
408
+ message: {
409
+ description:
410
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
411
+ type: 'string',
412
+ },
413
+ },
414
+ required: ['message', 'is_access_code_error', 'error_code'],
415
+ type: 'object',
416
+ },
355
417
  {
356
418
  description:
357
419
  'Unable to confirm that the access code is set on Kwikset device.',
@@ -2954,6 +3016,14 @@ export default {
2954
3016
  'Indicates whether the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users).',
2955
3017
  type: 'boolean',
2956
3018
  },
3019
+ last_successful_sync_at: {
3020
+ description:
3021
+ 'The last time an internal sync job completed for this ACS user.',
3022
+ format: 'date-time',
3023
+ nullable: true,
3024
+ type: 'string',
3025
+ 'x-undocumented': 'Only used internally.',
3026
+ },
2957
3027
  pending_mutations: {
2958
3028
  description:
2959
3029
  'Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system.',
@@ -3348,6 +3418,7 @@ export default {
3348
3418
  'display_name',
3349
3419
  'warnings',
3350
3420
  'errors',
3421
+ 'last_successful_sync_at',
3351
3422
  'is_managed',
3352
3423
  ],
3353
3424
  type: 'object',
@@ -15389,6 +15460,36 @@ export default {
15389
15460
  required: ['message', 'is_access_code_error', 'error_code'],
15390
15461
  type: 'object',
15391
15462
  },
15463
+ {
15464
+ description: 'No space for access code on device.',
15465
+ properties: {
15466
+ created_at: {
15467
+ description:
15468
+ 'Date and time at which Seam created the error.',
15469
+ format: 'date-time',
15470
+ type: 'string',
15471
+ },
15472
+ error_code: {
15473
+ description:
15474
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
15475
+ enum: ['no_space_for_access_code_on_device'],
15476
+ type: 'string',
15477
+ },
15478
+ is_access_code_error: {
15479
+ description:
15480
+ 'Indicates that this is an access code error.',
15481
+ enum: [true],
15482
+ type: 'boolean',
15483
+ },
15484
+ message: {
15485
+ description:
15486
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
15487
+ type: 'string',
15488
+ },
15489
+ },
15490
+ required: ['message', 'is_access_code_error', 'error_code'],
15491
+ type: 'object',
15492
+ },
15392
15493
  {
15393
15494
  description:
15394
15495
  'Igloohome bridge has too many pending jobs in the queue.',
@@ -15482,6 +15583,38 @@ export default {
15482
15583
  required: ['message', 'is_access_code_error', 'error_code'],
15483
15584
  type: 'object',
15484
15585
  },
15586
+ {
15587
+ description: 'Lock has reached maximum amount of codes.',
15588
+ properties: {
15589
+ created_at: {
15590
+ description:
15591
+ 'Date and time at which Seam created the error.',
15592
+ format: 'date-time',
15593
+ type: 'string',
15594
+ },
15595
+ error_code: {
15596
+ description:
15597
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
15598
+ enum: [
15599
+ 'schlage_lock_exceeds_maximum_number_of_access_codes',
15600
+ ],
15601
+ type: 'string',
15602
+ },
15603
+ is_access_code_error: {
15604
+ description:
15605
+ 'Indicates that this is an access code error.',
15606
+ enum: [true],
15607
+ type: 'boolean',
15608
+ },
15609
+ message: {
15610
+ description:
15611
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
15612
+ type: 'string',
15613
+ },
15614
+ },
15615
+ required: ['message', 'is_access_code_error', 'error_code'],
15616
+ type: 'object',
15617
+ },
15485
15618
  {
15486
15619
  description:
15487
15620
  'Unable to confirm that the access code is set on Kwikset device.',
@@ -17304,6 +17437,14 @@ export default {
17304
17437
  'Indicates whether the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users).',
17305
17438
  type: 'boolean',
17306
17439
  },
17440
+ last_successful_sync_at: {
17441
+ description:
17442
+ 'The last time an internal sync job completed for this ACS user.',
17443
+ format: 'date-time',
17444
+ nullable: true,
17445
+ type: 'string',
17446
+ 'x-undocumented': 'Only used internally.',
17447
+ },
17307
17448
  pending_mutations: {
17308
17449
  description:
17309
17450
  'Pending mutations associated with the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management). Seam is in the process of pushing these mutations to the integrated access system.',
@@ -17698,6 +17839,7 @@ export default {
17698
17839
  'display_name',
17699
17840
  'warnings',
17700
17841
  'errors',
17842
+ 'last_successful_sync_at',
17701
17843
  'is_managed',
17702
17844
  ],
17703
17845
  type: 'object',