@seamapi/types 1.938.0 → 1.939.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.
@@ -16678,6 +16678,7 @@ declare const device: z.ZodObject<{
16678
16678
  }>, "many">>>;
16679
16679
  max_active_codes_supported: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
16680
16680
  supports_backup_access_code_pool: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
16681
+ backup_access_code_pool_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
16681
16682
  has_native_entry_events: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
16682
16683
  } & {
16683
16684
  locked: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
@@ -16731,6 +16732,7 @@ declare const device: z.ZodObject<{
16731
16732
  }[] | undefined;
16732
16733
  max_active_codes_supported?: number | undefined;
16733
16734
  supports_backup_access_code_pool?: boolean | undefined;
16735
+ backup_access_code_pool_enabled?: boolean | undefined;
16734
16736
  has_native_entry_events?: boolean | undefined;
16735
16737
  locked?: boolean | undefined;
16736
16738
  keypad_battery?: {
@@ -16779,6 +16781,7 @@ declare const device: z.ZodObject<{
16779
16781
  }[] | undefined;
16780
16782
  max_active_codes_supported?: number | undefined;
16781
16783
  supports_backup_access_code_pool?: boolean | undefined;
16784
+ backup_access_code_pool_enabled?: boolean | undefined;
16782
16785
  has_native_entry_events?: boolean | undefined;
16783
16786
  locked?: boolean | undefined;
16784
16787
  keypad_battery?: {
@@ -18818,6 +18821,7 @@ declare const device: z.ZodObject<{
18818
18821
  }[] | undefined;
18819
18822
  max_active_codes_supported?: number | undefined;
18820
18823
  supports_backup_access_code_pool?: boolean | undefined;
18824
+ backup_access_code_pool_enabled?: boolean | undefined;
18821
18825
  has_native_entry_events?: boolean | undefined;
18822
18826
  locked?: boolean | undefined;
18823
18827
  keypad_battery?: {
@@ -19608,6 +19612,7 @@ declare const device: z.ZodObject<{
19608
19612
  }[] | undefined;
19609
19613
  max_active_codes_supported?: number | undefined;
19610
19614
  supports_backup_access_code_pool?: boolean | undefined;
19615
+ backup_access_code_pool_enabled?: boolean | undefined;
19611
19616
  has_native_entry_events?: boolean | undefined;
19612
19617
  locked?: boolean | undefined;
19613
19618
  keypad_battery?: {
@@ -21777,6 +21782,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
21777
21782
  }>, "many">>>;
21778
21783
  max_active_codes_supported: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
21779
21784
  supports_backup_access_code_pool: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
21785
+ backup_access_code_pool_enabled: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
21780
21786
  has_native_entry_events: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
21781
21787
  } & {
21782
21788
  locked: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
@@ -21830,6 +21836,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
21830
21836
  }[] | undefined;
21831
21837
  max_active_codes_supported?: number | undefined;
21832
21838
  supports_backup_access_code_pool?: boolean | undefined;
21839
+ backup_access_code_pool_enabled?: boolean | undefined;
21833
21840
  has_native_entry_events?: boolean | undefined;
21834
21841
  locked?: boolean | undefined;
21835
21842
  keypad_battery?: {
@@ -21878,6 +21885,7 @@ declare const unmanaged_device: z.ZodObject<Pick<{
21878
21885
  }[] | undefined;
21879
21886
  max_active_codes_supported?: number | undefined;
21880
21887
  supports_backup_access_code_pool?: boolean | undefined;
21888
+ backup_access_code_pool_enabled?: boolean | undefined;
21881
21889
  has_native_entry_events?: boolean | undefined;
21882
21890
  locked?: boolean | undefined;
21883
21891
  keypad_battery?: {
@@ -42493,6 +42501,8 @@ type Routes = {
42493
42501
  max_active_codes_supported?: (number | undefined) | undefined;
42494
42502
  /** Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes). */
42495
42503
  supports_backup_access_code_pool?: (boolean | undefined) | undefined;
42504
+ /** Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update). */
42505
+ backup_access_code_pool_enabled?: (boolean | undefined) | undefined;
42496
42506
  /** Indicates whether the device supports native entry events. */
42497
42507
  has_native_entry_events?: (boolean | undefined) | undefined;
42498
42508
  /** Indicates whether the lock is locked. */
@@ -49206,6 +49216,8 @@ type Routes = {
49206
49216
  max_active_codes_supported?: (number | undefined) | undefined;
49207
49217
  /** Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes). */
49208
49218
  supports_backup_access_code_pool?: (boolean | undefined) | undefined;
49219
+ /** Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update). */
49220
+ backup_access_code_pool_enabled?: (boolean | undefined) | undefined;
49209
49221
  /** Indicates whether the device supports native entry events. */
49210
49222
  has_native_entry_events?: (boolean | undefined) | undefined;
49211
49223
  /** Indicates whether the lock is locked. */
@@ -71691,6 +71703,8 @@ type Routes = {
71691
71703
  max_active_codes_supported?: (number | undefined) | undefined;
71692
71704
  /** Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes). */
71693
71705
  supports_backup_access_code_pool?: (boolean | undefined) | undefined;
71706
+ /** Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update). */
71707
+ backup_access_code_pool_enabled?: (boolean | undefined) | undefined;
71694
71708
  /** Indicates whether the device supports native entry events. */
71695
71709
  has_native_entry_events?: (boolean | undefined) | undefined;
71696
71710
  /** Indicates whether the lock is locked. */
@@ -73198,6 +73212,8 @@ type Routes = {
73198
73212
  max_active_codes_supported?: (number | undefined) | undefined;
73199
73213
  /** Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes). */
73200
73214
  supports_backup_access_code_pool?: (boolean | undefined) | undefined;
73215
+ /** Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update). */
73216
+ backup_access_code_pool_enabled?: (boolean | undefined) | undefined;
73201
73217
  /** Indicates whether the device supports native entry events. */
73202
73218
  has_native_entry_events?: (boolean | undefined) | undefined;
73203
73219
  /** Indicates whether the lock is locked. */
@@ -75191,6 +75207,8 @@ type Routes = {
75191
75207
  custom_metadata?: {
75192
75208
  [x: string]: string | boolean | null;
75193
75209
  } | undefined;
75210
+ /** Indicates whether the device's [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is enabled. Set to `false` to disable the pool: Seam stops refilling it and removes any backup codes that have not yet been pulled into active use. */
75211
+ backup_access_code_pool_enabled?: boolean | undefined;
75194
75212
  };
75195
75213
  formData: {};
75196
75214
  jsonResponse: {};
@@ -83772,6 +83790,8 @@ type Routes = {
83772
83790
  max_active_codes_supported?: (number | undefined) | undefined;
83773
83791
  /** Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes). */
83774
83792
  supports_backup_access_code_pool?: (boolean | undefined) | undefined;
83793
+ /** Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update). */
83794
+ backup_access_code_pool_enabled?: (boolean | undefined) | undefined;
83775
83795
  /** Indicates whether the device supports native entry events. */
83776
83796
  has_native_entry_events?: (boolean | undefined) | undefined;
83777
83797
  /** Indicates whether the lock is locked. */
@@ -85229,6 +85249,8 @@ type Routes = {
85229
85249
  max_active_codes_supported?: (number | undefined) | undefined;
85230
85250
  /** Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes). */
85231
85251
  supports_backup_access_code_pool?: (boolean | undefined) | undefined;
85252
+ /** Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update). */
85253
+ backup_access_code_pool_enabled?: (boolean | undefined) | undefined;
85232
85254
  /** Indicates whether the device supports native entry events. */
85233
85255
  has_native_entry_events?: (boolean | undefined) | undefined;
85234
85256
  /** Indicates whether the lock is locked. */
@@ -86736,6 +86758,8 @@ type Routes = {
86736
86758
  max_active_codes_supported?: (number | undefined) | undefined;
86737
86759
  /** Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes). */
86738
86760
  supports_backup_access_code_pool?: (boolean | undefined) | undefined;
86761
+ /** Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update). */
86762
+ backup_access_code_pool_enabled?: (boolean | undefined) | undefined;
86739
86763
  /** Indicates whether the device supports native entry events. */
86740
86764
  has_native_entry_events?: (boolean | undefined) | undefined;
86741
86765
  /** Indicates whether the lock is locked. */
@@ -88192,6 +88216,8 @@ type Routes = {
88192
88216
  max_active_codes_supported?: (number | undefined) | undefined;
88193
88217
  /** Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes). */
88194
88218
  supports_backup_access_code_pool?: (boolean | undefined) | undefined;
88219
+ /** Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update). */
88220
+ backup_access_code_pool_enabled?: (boolean | undefined) | undefined;
88195
88221
  /** Indicates whether the device supports native entry events. */
88196
88222
  has_native_entry_events?: (boolean | undefined) | undefined;
88197
88223
  /** Indicates whether the lock is locked. */
@@ -96425,6 +96451,8 @@ type Routes = {
96425
96451
  max_active_codes_supported?: (number | undefined) | undefined;
96426
96452
  /** Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes). */
96427
96453
  supports_backup_access_code_pool?: (boolean | undefined) | undefined;
96454
+ /** Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update). */
96455
+ backup_access_code_pool_enabled?: (boolean | undefined) | undefined;
96428
96456
  /** Indicates whether the device supports native entry events. */
96429
96457
  has_native_entry_events?: (boolean | undefined) | undefined;
96430
96458
  /** Indicates whether the lock is locked. */
@@ -97881,6 +97909,8 @@ type Routes = {
97881
97909
  max_active_codes_supported?: (number | undefined) | undefined;
97882
97910
  /** Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes). */
97883
97911
  supports_backup_access_code_pool?: (boolean | undefined) | undefined;
97912
+ /** Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update). */
97913
+ backup_access_code_pool_enabled?: (boolean | undefined) | undefined;
97884
97914
  /** Indicates whether the device supports native entry events. */
97885
97915
  has_native_entry_events?: (boolean | undefined) | undefined;
97886
97916
  /** Indicates whether the lock is locked. */
@@ -113406,6 +113436,8 @@ type Routes = {
113406
113436
  max_active_codes_supported?: (number | undefined) | undefined;
113407
113437
  /** Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes). */
113408
113438
  supports_backup_access_code_pool?: (boolean | undefined) | undefined;
113439
+ /** Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update). */
113440
+ backup_access_code_pool_enabled?: (boolean | undefined) | undefined;
113409
113441
  /** Indicates whether the device supports native entry events. */
113410
113442
  has_native_entry_events?: (boolean | undefined) | undefined;
113411
113443
  /** Indicates whether the lock is locked. */
@@ -120870,6 +120902,8 @@ type Routes = {
120870
120902
  max_active_codes_supported?: (number | undefined) | undefined;
120871
120903
  /** Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes). */
120872
120904
  supports_backup_access_code_pool?: (boolean | undefined) | undefined;
120905
+ /** Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update). */
120906
+ backup_access_code_pool_enabled?: (boolean | undefined) | undefined;
120873
120907
  /** Indicates whether the device supports native entry events. */
120874
120908
  has_native_entry_events?: (boolean | undefined) | undefined;
120875
120909
  /** Indicates whether the lock is locked. */
@@ -125753,6 +125787,8 @@ type Routes = {
125753
125787
  max_active_codes_supported?: (number | undefined) | undefined;
125754
125788
  /** Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes). */
125755
125789
  supports_backup_access_code_pool?: (boolean | undefined) | undefined;
125790
+ /** Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update). */
125791
+ backup_access_code_pool_enabled?: (boolean | undefined) | undefined;
125756
125792
  /** Indicates whether the device supports native entry events. */
125757
125793
  has_native_entry_events?: (boolean | undefined) | undefined;
125758
125794
  /** Indicates whether the lock is locked. */
@@ -127209,6 +127245,8 @@ type Routes = {
127209
127245
  max_active_codes_supported?: (number | undefined) | undefined;
127210
127246
  /** Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes). */
127211
127247
  supports_backup_access_code_pool?: (boolean | undefined) | undefined;
127248
+ /** Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update). */
127249
+ backup_access_code_pool_enabled?: (boolean | undefined) | undefined;
127212
127250
  /** Indicates whether the device supports native entry events. */
127213
127251
  has_native_entry_events?: (boolean | undefined) | undefined;
127214
127252
  /** Indicates whether the lock is locked. */
@@ -136381,6 +136419,8 @@ type Routes = {
136381
136419
  max_active_codes_supported?: (number | undefined) | undefined;
136382
136420
  /** Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes). */
136383
136421
  supports_backup_access_code_pool?: (boolean | undefined) | undefined;
136422
+ /** Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update). */
136423
+ backup_access_code_pool_enabled?: (boolean | undefined) | undefined;
136384
136424
  /** Indicates whether the device supports native entry events. */
136385
136425
  has_native_entry_events?: (boolean | undefined) | undefined;
136386
136426
  /** Indicates whether the lock is locked. */
@@ -137839,6 +137879,8 @@ type Routes = {
137839
137879
  max_active_codes_supported?: (number | undefined) | undefined;
137840
137880
  /** Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes). */
137841
137881
  supports_backup_access_code_pool?: (boolean | undefined) | undefined;
137882
+ /** Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update). */
137883
+ backup_access_code_pool_enabled?: (boolean | undefined) | undefined;
137842
137884
  /** Indicates whether the device supports native entry events. */
137843
137885
  has_native_entry_events?: (boolean | undefined) | undefined;
137844
137886
  /** Indicates whether the lock is locked. */
@@ -140552,6 +140594,8 @@ type Routes = {
140552
140594
  max_active_codes_supported?: (number | undefined) | undefined;
140553
140595
  /** Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes). */
140554
140596
  supports_backup_access_code_pool?: (boolean | undefined) | undefined;
140597
+ /** Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update). */
140598
+ backup_access_code_pool_enabled?: (boolean | undefined) | undefined;
140555
140599
  /** Indicates whether the device supports native entry events. */
140556
140600
  has_native_entry_events?: (boolean | undefined) | undefined;
140557
140601
  /** Indicates whether the lock is locked. */
package/dist/index.cjs CHANGED
@@ -171,6 +171,11 @@ var access_code_capability_properties = zod.z.object({
171
171
  property_group_key: access_codes
172
172
  ---
173
173
  Indicates whether the device supports a [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes).`),
174
+ backup_access_code_pool_enabled: zod.z.boolean().optional().describe(`
175
+ ---
176
+ property_group_key: access_codes
177
+ ---
178
+ Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to \`false\` using [/devices/update](https://docs.seam.co/api/devices/update).`),
174
179
  has_native_entry_events: zod.z.boolean().optional().describe(`
175
180
  ---
176
181
  property_group_key: access_codes
@@ -21287,6 +21292,11 @@ var openapi = {
21287
21292
  type: "boolean",
21288
21293
  "x-property-group-key": "locks"
21289
21294
  },
21295
+ backup_access_code_pool_enabled: {
21296
+ description: "Indicates whether the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to `false` using [/devices/update](https://docs.seam.co/api/devices/update).",
21297
+ type: "boolean",
21298
+ "x-property-group-key": "access_codes"
21299
+ },
21290
21300
  code_constraints: {
21291
21301
  description: "Constraints on access codes for the device. Seam represents each constraint as an object with a `constraint_type` property. Depending on the constraint type, there may also be additional properties. Note that some constraints are manufacturer- or device-specific.",
21292
21302
  items: {
@@ -62755,6 +62765,10 @@ var openapi = {
62755
62765
  "application/json": {
62756
62766
  schema: {
62757
62767
  properties: {
62768
+ backup_access_code_pool_enabled: {
62769
+ description: "Indicates whether the device's [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is enabled. Set to `false` to disable the pool: Seam stops refilling it and removes any backup codes that have not yet been pulled into active use.",
62770
+ type: "boolean"
62771
+ },
62758
62772
  custom_metadata: {
62759
62773
  additionalProperties: {
62760
62774
  nullable: true,
@@ -62836,6 +62850,10 @@ var openapi = {
62836
62850
  "application/json": {
62837
62851
  schema: {
62838
62852
  properties: {
62853
+ backup_access_code_pool_enabled: {
62854
+ description: "Indicates whether the device's [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is enabled. Set to `false` to disable the pool: Seam stops refilling it and removes any backup codes that have not yet been pulled into active use.",
62855
+ type: "boolean"
62856
+ },
62839
62857
  custom_metadata: {
62840
62858
  additionalProperties: {
62841
62859
  nullable: true,