@seamapi/types 1.147.0 → 1.147.1

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.
Files changed (28) hide show
  1. package/dist/connect.cjs +20 -63
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +48 -188
  4. package/lib/seam/connect/internal/model-types.d.ts +2 -1
  5. package/lib/seam/connect/internal/model-types.js +1 -1
  6. package/lib/seam/connect/internal/model-types.js.map +1 -1
  7. package/lib/seam/connect/internal/schemas.d.ts +2 -1
  8. package/lib/seam/connect/internal/schemas.js +2 -1
  9. package/lib/seam/connect/internal/schemas.js.map +1 -1
  10. package/lib/seam/connect/models/connect-webview.d.ts +3 -3
  11. package/lib/seam/connect/models/custom-metadata.d.ts +4 -2
  12. package/lib/seam/connect/models/custom-metadata.js +2 -1
  13. package/lib/seam/connect/models/custom-metadata.js.map +1 -1
  14. package/lib/seam/connect/models/devices/managed-device.d.ts +3 -3
  15. package/lib/seam/connect/models/devices/managed-device.js +1 -1
  16. package/lib/seam/connect/models/devices/managed-device.js.map +1 -1
  17. package/lib/seam/connect/models/devices/phone.d.ts +3 -3
  18. package/lib/seam/connect/openapi.d.ts +20 -160
  19. package/lib/seam/connect/openapi.js +13 -60
  20. package/lib/seam/connect/openapi.js.map +1 -1
  21. package/lib/seam/connect/route-types.d.ts +23 -23
  22. package/package.json +1 -1
  23. package/src/lib/seam/connect/internal/model-types.ts +2 -32
  24. package/src/lib/seam/connect/internal/schemas.ts +2 -2
  25. package/src/lib/seam/connect/models/custom-metadata.ts +9 -2
  26. package/src/lib/seam/connect/models/devices/managed-device.ts +1 -1
  27. package/src/lib/seam/connect/openapi.ts +13 -60
  28. package/src/lib/seam/connect/route-types.ts +23 -23
@@ -1794,7 +1794,7 @@ export interface Routes {
1794
1794
  status: 'pending' | 'failed' | 'authorized';
1795
1795
  custom_redirect_url: string | null;
1796
1796
  custom_redirect_failure_url: string | null;
1797
- custom_metadata: Record<string, string | boolean | null>;
1797
+ custom_metadata: Record<string, string | boolean>;
1798
1798
  automatically_manage_new_devices: boolean;
1799
1799
  wait_for_device_creation: boolean;
1800
1800
  authorized_at: string | null;
@@ -1838,7 +1838,7 @@ export interface Routes {
1838
1838
  status: 'pending' | 'failed' | 'authorized';
1839
1839
  custom_redirect_url: string | null;
1840
1840
  custom_redirect_failure_url: string | null;
1841
- custom_metadata: Record<string, string | boolean | null>;
1841
+ custom_metadata: Record<string, string | boolean>;
1842
1842
  automatically_manage_new_devices: boolean;
1843
1843
  wait_for_device_creation: boolean;
1844
1844
  authorized_at: string | null;
@@ -1854,7 +1854,7 @@ export interface Routes {
1854
1854
  commonParams: {
1855
1855
  user_identifier_key?: string | undefined;
1856
1856
  /** Returns devices where the webview's custom_metadata contains all of the provided key/value pairs. */
1857
- custom_metadata_has?: Record<string, string | boolean | null> | undefined;
1857
+ custom_metadata_has?: Record<string, string | boolean> | undefined;
1858
1858
  };
1859
1859
  formData: {};
1860
1860
  jsonResponse: {
@@ -1873,7 +1873,7 @@ export interface Routes {
1873
1873
  status: 'pending' | 'failed' | 'authorized';
1874
1874
  custom_redirect_url: string | null;
1875
1875
  custom_redirect_failure_url: string | null;
1876
- custom_metadata: Record<string, string | boolean | null>;
1876
+ custom_metadata: Record<string, string | boolean>;
1877
1877
  automatically_manage_new_devices: boolean;
1878
1878
  wait_for_device_creation: boolean;
1879
1879
  authorized_at: string | null;
@@ -1931,7 +1931,7 @@ export interface Routes {
1931
1931
  account_type_display_name: string;
1932
1932
  errors?: any;
1933
1933
  warnings?: any;
1934
- custom_metadata?: Record<string, string | boolean | null> | undefined;
1934
+ custom_metadata: Record<string, string | boolean>;
1935
1935
  automatically_manage_new_devices: boolean;
1936
1936
  };
1937
1937
  };
@@ -1943,7 +1943,7 @@ export interface Routes {
1943
1943
  jsonBody: {};
1944
1944
  commonParams: {
1945
1945
  /** Returns devices where the account's custom_metadata contains all of the provided key/value pairs. */
1946
- custom_metadata_has?: Record<string, string | boolean | null> | undefined;
1946
+ custom_metadata_has?: Record<string, string | boolean> | undefined;
1947
1947
  };
1948
1948
  formData: {};
1949
1949
  jsonResponse: {
@@ -1961,7 +1961,7 @@ export interface Routes {
1961
1961
  account_type_display_name: string;
1962
1962
  errors?: any;
1963
1963
  warnings?: any;
1964
- custom_metadata?: Record<string, string | boolean | null> | undefined;
1964
+ custom_metadata: Record<string, string | boolean>;
1965
1965
  automatically_manage_new_devices: boolean;
1966
1966
  }>;
1967
1967
  };
@@ -1992,7 +1992,7 @@ export interface Routes {
1992
1992
  account_type_display_name: string;
1993
1993
  errors?: any;
1994
1994
  warnings?: any;
1995
- custom_metadata?: Record<string, string | boolean | null> | undefined;
1995
+ custom_metadata: Record<string, string | boolean>;
1996
1996
  automatically_manage_new_devices: boolean;
1997
1997
  };
1998
1998
  };
@@ -2513,7 +2513,7 @@ export interface Routes {
2513
2513
  created_at: string;
2514
2514
  /** Indicates whether Seam manages the device. */
2515
2515
  is_managed: true;
2516
- custom_metadata?: Record<string, string | boolean | null> | undefined;
2516
+ custom_metadata: Record<string, string | boolean>;
2517
2517
  can_remotely_unlock?: boolean | undefined;
2518
2518
  can_remotely_lock?: boolean | undefined;
2519
2519
  can_program_online_access_codes?: boolean | undefined;
@@ -2538,7 +2538,7 @@ export interface Routes {
2538
2538
  limit?: number;
2539
2539
  created_before?: Date | undefined;
2540
2540
  user_identifier_key?: string | undefined;
2541
- custom_metadata_has?: Record<string, string | boolean | null> | undefined;
2541
+ custom_metadata_has?: Record<string, string | boolean> | undefined;
2542
2542
  include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
2543
2543
  exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
2544
2544
  };
@@ -3038,7 +3038,7 @@ export interface Routes {
3038
3038
  created_at: string;
3039
3039
  /** Indicates whether Seam manages the device. */
3040
3040
  is_managed: true;
3041
- custom_metadata?: Record<string, string | boolean | null> | undefined;
3041
+ custom_metadata: Record<string, string | boolean>;
3042
3042
  can_remotely_unlock?: boolean | undefined;
3043
3043
  can_remotely_lock?: boolean | undefined;
3044
3044
  can_program_online_access_codes?: boolean | undefined;
@@ -3183,7 +3183,7 @@ export interface Routes {
3183
3183
  limit?: number;
3184
3184
  created_before?: Date | undefined;
3185
3185
  user_identifier_key?: string | undefined;
3186
- custom_metadata_has?: Record<string, string | boolean | null> | undefined;
3186
+ custom_metadata_has?: Record<string, string | boolean> | undefined;
3187
3187
  include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
3188
3188
  exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
3189
3189
  };
@@ -3929,7 +3929,7 @@ export interface Routes {
3929
3929
  created_at: string;
3930
3930
  /** Indicates whether Seam manages the device. */
3931
3931
  is_managed: true;
3932
- custom_metadata?: Record<string, string | boolean | null> | undefined;
3932
+ custom_metadata: Record<string, string | boolean>;
3933
3933
  can_remotely_unlock?: boolean | undefined;
3934
3934
  can_remotely_lock?: boolean | undefined;
3935
3935
  can_program_online_access_codes?: boolean | undefined;
@@ -4429,7 +4429,7 @@ export interface Routes {
4429
4429
  created_at: string;
4430
4430
  /** Indicates whether Seam manages the device. */
4431
4431
  is_managed: true;
4432
- custom_metadata?: Record<string, string | boolean | null> | undefined;
4432
+ custom_metadata: Record<string, string | boolean>;
4433
4433
  can_remotely_unlock?: boolean | undefined;
4434
4434
  can_remotely_lock?: boolean | undefined;
4435
4435
  can_program_online_access_codes?: boolean | undefined;
@@ -4454,7 +4454,7 @@ export interface Routes {
4454
4454
  limit?: number;
4455
4455
  created_before?: Date | undefined;
4456
4456
  user_identifier_key?: string | undefined;
4457
- custom_metadata_has?: Record<string, string | boolean | null> | undefined;
4457
+ custom_metadata_has?: Record<string, string | boolean> | undefined;
4458
4458
  include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
4459
4459
  exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
4460
4460
  };
@@ -4954,7 +4954,7 @@ export interface Routes {
4954
4954
  created_at: string;
4955
4955
  /** Indicates whether Seam manages the device. */
4956
4956
  is_managed: true;
4957
- custom_metadata?: Record<string, string | boolean | null> | undefined;
4957
+ custom_metadata: Record<string, string | boolean>;
4958
4958
  can_remotely_unlock?: boolean | undefined;
4959
4959
  can_remotely_lock?: boolean | undefined;
4960
4960
  can_program_online_access_codes?: boolean | undefined;
@@ -5454,7 +5454,7 @@ export interface Routes {
5454
5454
  created_at: string;
5455
5455
  /** Indicates whether Seam manages the device. */
5456
5456
  is_managed: true;
5457
- custom_metadata?: Record<string, string | boolean | null> | undefined;
5457
+ custom_metadata: Record<string, string | boolean>;
5458
5458
  can_remotely_unlock?: boolean | undefined;
5459
5459
  can_remotely_lock?: boolean | undefined;
5460
5460
  can_program_online_access_codes?: boolean | undefined;
@@ -5809,7 +5809,7 @@ export interface Routes {
5809
5809
  created_at: string;
5810
5810
  /** Indicates whether Seam manages the device. */
5811
5811
  is_managed: true;
5812
- custom_metadata?: Record<string, string | boolean | null> | undefined;
5812
+ custom_metadata: Record<string, string | boolean>;
5813
5813
  can_remotely_unlock?: boolean | undefined;
5814
5814
  can_remotely_lock?: boolean | undefined;
5815
5815
  can_program_online_access_codes?: boolean | undefined;
@@ -5884,7 +5884,7 @@ export interface Routes {
5884
5884
  created_at: string;
5885
5885
  /** Indicates whether Seam manages the device. */
5886
5886
  is_managed: true;
5887
- custom_metadata?: Record<string, string | boolean | null> | undefined;
5887
+ custom_metadata: Record<string, string | boolean>;
5888
5888
  can_remotely_unlock?: boolean | undefined;
5889
5889
  can_remotely_lock?: boolean | undefined;
5890
5890
  can_program_online_access_codes?: boolean | undefined;
@@ -6595,7 +6595,7 @@ export interface Routes {
6595
6595
  created_at: string;
6596
6596
  /** Indicates whether Seam manages the device. */
6597
6597
  is_managed: true;
6598
- custom_metadata?: Record<string, string | boolean | null> | undefined;
6598
+ custom_metadata: Record<string, string | boolean>;
6599
6599
  can_remotely_unlock?: boolean | undefined;
6600
6600
  can_remotely_lock?: boolean | undefined;
6601
6601
  can_program_online_access_codes?: boolean | undefined;
@@ -6696,7 +6696,7 @@ export interface Routes {
6696
6696
  limit?: number;
6697
6697
  created_before?: Date | undefined;
6698
6698
  user_identifier_key?: string | undefined;
6699
- custom_metadata_has?: Record<string, string | boolean | null> | undefined;
6699
+ custom_metadata_has?: Record<string, string | boolean> | undefined;
6700
6700
  include_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
6701
6701
  exclude_if?: Array<'can_remotely_unlock' | 'can_remotely_lock' | 'can_program_online_access_codes' | 'can_simulate_removal'> | undefined;
6702
6702
  };
@@ -7196,7 +7196,7 @@ export interface Routes {
7196
7196
  created_at: string;
7197
7197
  /** Indicates whether Seam manages the device. */
7198
7198
  is_managed: true;
7199
- custom_metadata?: Record<string, string | boolean | null> | undefined;
7199
+ custom_metadata: Record<string, string | boolean>;
7200
7200
  can_remotely_unlock?: boolean | undefined;
7201
7201
  can_remotely_lock?: boolean | undefined;
7202
7202
  can_program_online_access_codes?: boolean | undefined;
@@ -7980,7 +7980,7 @@ export interface Routes {
7980
7980
  created_at: string;
7981
7981
  /** Indicates whether Seam manages the device. */
7982
7982
  is_managed: true;
7983
- custom_metadata?: Record<string, string | boolean | null> | undefined;
7983
+ custom_metadata: Record<string, string | boolean>;
7984
7984
  can_remotely_unlock?: boolean | undefined;
7985
7985
  can_remotely_lock?: boolean | undefined;
7986
7986
  can_program_online_access_codes?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.147.0",
3
+ "version": "1.147.1",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1,32 +1,2 @@
1
- export type {
2
- AccessCodeConstraint,
3
- AcsAccessGroup,
4
- AcsAccessGroupExternalType,
5
- AcsCredential,
6
- AcsCredentialExternalType,
7
- AcsCredentialPool,
8
- AcsCredentialPoolExternalType,
9
- AcsEntranceLatchMetadata,
10
- AcsSystem,
11
- AcsSystemExternalType,
12
- AcsUser,
13
- AcsUserExternalType,
14
- AnyDeviceType,
15
- BatteryStatus,
16
- Capabilities,
17
- ClimateSetting,
18
- ConnectWebview,
19
- CustomMetadata,
20
- ManagedDevice as Device,
21
- DeviceMetadata,
22
- FanModeSetting,
23
- HvacModeSetting,
24
- LockDeviceType,
25
- ManagedAccessCode,
26
- ManagedDevice,
27
- ManagedDeviceWithBackendMetadata,
28
- NoiseSensorDeviceType,
29
- ThermostatDeviceType,
30
- UnmanagedAccessCode,
31
- UnmanagedDevice,
32
- } from '../models/index.js'
1
+ export type { ManagedDevice as Device } from '../models/index.js'
2
+ export * from '../models/index.js'
@@ -20,8 +20,7 @@ export {
20
20
  climate_setting,
21
21
  climate_setting_schedule,
22
22
  common_device_properties,
23
- connect_webview,
24
- custom_metadata,
23
+ custom_metadata_input,
25
24
  device_capability_flags,
26
25
  dormakaba_oracode_time_slot,
27
26
  enrollment_automation,
@@ -39,3 +38,4 @@ export {
39
38
  unmanaged_device,
40
39
  user_identity,
41
40
  } from '../models/index.js'
41
+ export * from '../schemas.js'
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod'
2
2
 
3
- export const custom_metadata = z
3
+ export const custom_metadata_input = z
4
4
  .record(
5
5
  z.string().max(40),
6
6
  z.union([z.string().max(500), z.boolean(), z.null()]),
@@ -9,4 +9,11 @@ export const custom_metadata = z
9
9
  message: 'Custom metadata is limited to a maximum of 50 keys',
10
10
  })
11
11
 
12
- export type CustomMetadata = z.infer<typeof custom_metadata>
12
+ export const custom_metadata = z.record(
13
+ z.string(),
14
+ z.union([z.string(), z.boolean()]),
15
+ )
16
+
17
+ export type CustomMetadata = z.output<typeof custom_metadata>
18
+
19
+ export type CustomMetadataInput = z.input<typeof custom_metadata_input>
@@ -218,7 +218,7 @@ export const managed_device = z
218
218
  is_managed: z
219
219
  .literal(true)
220
220
  .describe('Indicates whether Seam manages the device.'),
221
- custom_metadata: custom_metadata.optional(),
221
+ custom_metadata,
222
222
  })
223
223
  .merge(device_capability_flags)
224
224
 
@@ -438,12 +438,7 @@ export default {
438
438
  created_at: { format: 'date-time', type: 'string' },
439
439
  custom_metadata: {
440
440
  additionalProperties: {
441
- nullable: true,
442
- oneOf: [
443
- { maxLength: 500, type: 'string' },
444
- { type: 'boolean' },
445
- { format: 'null', nullable: true, type: 'string' },
446
- ],
441
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
447
442
  },
448
443
  type: 'object',
449
444
  },
@@ -499,12 +494,7 @@ export default {
499
494
  created_at: { format: 'date-time', type: 'string' },
500
495
  custom_metadata: {
501
496
  additionalProperties: {
502
- nullable: true,
503
- oneOf: [
504
- { maxLength: 500, type: 'string' },
505
- { type: 'boolean' },
506
- { format: 'null', nullable: true, type: 'string' },
507
- ],
497
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
508
498
  },
509
499
  type: 'object',
510
500
  },
@@ -523,6 +513,7 @@ export default {
523
513
  },
524
514
  required: [
525
515
  'account_type_display_name',
516
+ 'custom_metadata',
526
517
  'automatically_manage_new_devices',
527
518
  ],
528
519
  type: 'object',
@@ -563,12 +554,7 @@ export default {
563
554
  },
564
555
  custom_metadata: {
565
556
  additionalProperties: {
566
- nullable: true,
567
- oneOf: [
568
- { maxLength: 500, type: 'string' },
569
- { type: 'boolean' },
570
- { format: 'null', nullable: true, type: 'string' },
571
- ],
557
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
572
558
  },
573
559
  type: 'object',
574
560
  },
@@ -1778,6 +1764,7 @@ export default {
1778
1764
  'warnings',
1779
1765
  'created_at',
1780
1766
  'is_managed',
1767
+ 'custom_metadata',
1781
1768
  ],
1782
1769
  type: 'object',
1783
1770
  },
@@ -1934,12 +1921,7 @@ export default {
1934
1921
  },
1935
1922
  custom_metadata: {
1936
1923
  additionalProperties: {
1937
- nullable: true,
1938
- oneOf: [
1939
- { maxLength: 500, type: 'string' },
1940
- { type: 'boolean' },
1941
- { format: 'null', nullable: true, type: 'string' },
1942
- ],
1924
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
1943
1925
  },
1944
1926
  type: 'object',
1945
1927
  },
@@ -2047,6 +2029,7 @@ export default {
2047
2029
  'warnings',
2048
2030
  'created_at',
2049
2031
  'is_managed',
2032
+ 'custom_metadata',
2050
2033
  ],
2051
2034
  type: 'object',
2052
2035
  },
@@ -7399,12 +7382,7 @@ export default {
7399
7382
  properties: {
7400
7383
  custom_metadata_has: {
7401
7384
  additionalProperties: {
7402
- nullable: true,
7403
- oneOf: [
7404
- { maxLength: 500, type: 'string' },
7405
- { type: 'boolean' },
7406
- { format: 'null', nullable: true, type: 'string' },
7407
- ],
7385
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
7408
7386
  },
7409
7387
  description:
7410
7388
  "Returns devices where the webview's custom_metadata contains all of the provided key/value pairs.",
@@ -7591,12 +7569,7 @@ export default {
7591
7569
  properties: {
7592
7570
  custom_metadata_has: {
7593
7571
  additionalProperties: {
7594
- nullable: true,
7595
- oneOf: [
7596
- { maxLength: 500, type: 'string' },
7597
- { type: 'boolean' },
7598
- { format: 'null', nullable: true, type: 'string' },
7599
- ],
7572
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
7600
7573
  },
7601
7574
  description:
7602
7575
  "Returns devices where the account's custom_metadata contains all of the provided key/value pairs.",
@@ -7818,12 +7791,7 @@ export default {
7818
7791
  },
7819
7792
  custom_metadata_has: {
7820
7793
  additionalProperties: {
7821
- nullable: true,
7822
- oneOf: [
7823
- { maxLength: 500, type: 'string' },
7824
- { type: 'boolean' },
7825
- { format: 'null', nullable: true, type: 'string' },
7826
- ],
7794
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
7827
7795
  },
7828
7796
  type: 'object',
7829
7797
  },
@@ -8212,12 +8180,7 @@ export default {
8212
8180
  },
8213
8181
  custom_metadata_has: {
8214
8182
  additionalProperties: {
8215
- nullable: true,
8216
- oneOf: [
8217
- { maxLength: 500, type: 'string' },
8218
- { type: 'boolean' },
8219
- { format: 'null', nullable: true, type: 'string' },
8220
- ],
8183
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
8221
8184
  },
8222
8185
  type: 'object',
8223
8186
  },
@@ -9174,12 +9137,7 @@ export default {
9174
9137
  },
9175
9138
  custom_metadata_has: {
9176
9139
  additionalProperties: {
9177
- nullable: true,
9178
- oneOf: [
9179
- { maxLength: 500, type: 'string' },
9180
- { type: 'boolean' },
9181
- { format: 'null', nullable: true, type: 'string' },
9182
- ],
9140
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
9183
9141
  },
9184
9142
  type: 'object',
9185
9143
  },
@@ -10909,12 +10867,7 @@ export default {
10909
10867
  },
10910
10868
  custom_metadata_has: {
10911
10869
  additionalProperties: {
10912
- nullable: true,
10913
- oneOf: [
10914
- { maxLength: 500, type: 'string' },
10915
- { type: 'boolean' },
10916
- { format: 'null', nullable: true, type: 'string' },
10917
- ],
10870
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
10918
10871
  },
10919
10872
  type: 'object',
10920
10873
  },
@@ -2046,7 +2046,7 @@ export interface Routes {
2046
2046
  status: 'pending' | 'failed' | 'authorized'
2047
2047
  custom_redirect_url: string | null
2048
2048
  custom_redirect_failure_url: string | null
2049
- custom_metadata: Record<string, string | boolean | null>
2049
+ custom_metadata: Record<string, string | boolean>
2050
2050
  automatically_manage_new_devices: boolean
2051
2051
  wait_for_device_creation: boolean
2052
2052
  authorized_at: string | null
@@ -2090,7 +2090,7 @@ export interface Routes {
2090
2090
  status: 'pending' | 'failed' | 'authorized'
2091
2091
  custom_redirect_url: string | null
2092
2092
  custom_redirect_failure_url: string | null
2093
- custom_metadata: Record<string, string | boolean | null>
2093
+ custom_metadata: Record<string, string | boolean>
2094
2094
  automatically_manage_new_devices: boolean
2095
2095
  wait_for_device_creation: boolean
2096
2096
  authorized_at: string | null
@@ -2106,7 +2106,7 @@ export interface Routes {
2106
2106
  commonParams: {
2107
2107
  user_identifier_key?: string | undefined
2108
2108
  /** Returns devices where the webview's custom_metadata contains all of the provided key/value pairs. */
2109
- custom_metadata_has?: Record<string, string | boolean | null> | undefined
2109
+ custom_metadata_has?: Record<string, string | boolean> | undefined
2110
2110
  }
2111
2111
  formData: {}
2112
2112
  jsonResponse: {
@@ -2125,7 +2125,7 @@ export interface Routes {
2125
2125
  status: 'pending' | 'failed' | 'authorized'
2126
2126
  custom_redirect_url: string | null
2127
2127
  custom_redirect_failure_url: string | null
2128
- custom_metadata: Record<string, string | boolean | null>
2128
+ custom_metadata: Record<string, string | boolean>
2129
2129
  automatically_manage_new_devices: boolean
2130
2130
  wait_for_device_creation: boolean
2131
2131
  authorized_at: string | null
@@ -2187,7 +2187,7 @@ export interface Routes {
2187
2187
  account_type_display_name: string
2188
2188
  errors?: any
2189
2189
  warnings?: any
2190
- custom_metadata?: Record<string, string | boolean | null> | undefined
2190
+ custom_metadata: Record<string, string | boolean>
2191
2191
  automatically_manage_new_devices: boolean
2192
2192
  }
2193
2193
  }
@@ -2199,7 +2199,7 @@ export interface Routes {
2199
2199
  jsonBody: {}
2200
2200
  commonParams: {
2201
2201
  /** Returns devices where the account's custom_metadata contains all of the provided key/value pairs. */
2202
- custom_metadata_has?: Record<string, string | boolean | null> | undefined
2202
+ custom_metadata_has?: Record<string, string | boolean> | undefined
2203
2203
  }
2204
2204
  formData: {}
2205
2205
  jsonResponse: {
@@ -2219,7 +2219,7 @@ export interface Routes {
2219
2219
  account_type_display_name: string
2220
2220
  errors?: any
2221
2221
  warnings?: any
2222
- custom_metadata?: Record<string, string | boolean | null> | undefined
2222
+ custom_metadata: Record<string, string | boolean>
2223
2223
  automatically_manage_new_devices: boolean
2224
2224
  }>
2225
2225
  }
@@ -2252,7 +2252,7 @@ export interface Routes {
2252
2252
  account_type_display_name: string
2253
2253
  errors?: any
2254
2254
  warnings?: any
2255
- custom_metadata?: Record<string, string | boolean | null> | undefined
2255
+ custom_metadata: Record<string, string | boolean>
2256
2256
  automatically_manage_new_devices: boolean
2257
2257
  }
2258
2258
  }
@@ -2990,7 +2990,7 @@ export interface Routes {
2990
2990
  created_at: string
2991
2991
  /** Indicates whether Seam manages the device. */
2992
2992
  is_managed: true
2993
- custom_metadata?: Record<string, string | boolean | null> | undefined
2993
+ custom_metadata: Record<string, string | boolean>
2994
2994
  can_remotely_unlock?: boolean | undefined
2995
2995
  can_remotely_lock?: boolean | undefined
2996
2996
  can_program_online_access_codes?: boolean | undefined
@@ -3128,7 +3128,7 @@ export interface Routes {
3128
3128
  limit?: number
3129
3129
  created_before?: Date | undefined
3130
3130
  user_identifier_key?: string | undefined
3131
- custom_metadata_has?: Record<string, string | boolean | null> | undefined
3131
+ custom_metadata_has?: Record<string, string | boolean> | undefined
3132
3132
  include_if?:
3133
3133
  | Array<
3134
3134
  | 'can_remotely_unlock'
@@ -3859,7 +3859,7 @@ export interface Routes {
3859
3859
  created_at: string
3860
3860
  /** Indicates whether Seam manages the device. */
3861
3861
  is_managed: true
3862
- custom_metadata?: Record<string, string | boolean | null> | undefined
3862
+ custom_metadata: Record<string, string | boolean>
3863
3863
  can_remotely_unlock?: boolean | undefined
3864
3864
  can_remotely_lock?: boolean | undefined
3865
3865
  can_program_online_access_codes?: boolean | undefined
@@ -4214,7 +4214,7 @@ export interface Routes {
4214
4214
  limit?: number
4215
4215
  created_before?: Date | undefined
4216
4216
  user_identifier_key?: string | undefined
4217
- custom_metadata_has?: Record<string, string | boolean | null> | undefined
4217
+ custom_metadata_has?: Record<string, string | boolean> | undefined
4218
4218
  include_if?:
4219
4219
  | Array<
4220
4220
  | 'can_remotely_unlock'
@@ -5349,7 +5349,7 @@ export interface Routes {
5349
5349
  created_at: string
5350
5350
  /** Indicates whether Seam manages the device. */
5351
5351
  is_managed: true
5352
- custom_metadata?: Record<string, string | boolean | null> | undefined
5352
+ custom_metadata: Record<string, string | boolean>
5353
5353
  can_remotely_unlock?: boolean | undefined
5354
5354
  can_remotely_lock?: boolean | undefined
5355
5355
  can_program_online_access_codes?: boolean | undefined
@@ -6066,7 +6066,7 @@ export interface Routes {
6066
6066
  created_at: string
6067
6067
  /** Indicates whether Seam manages the device. */
6068
6068
  is_managed: true
6069
- custom_metadata?: Record<string, string | boolean | null> | undefined
6069
+ custom_metadata: Record<string, string | boolean>
6070
6070
  can_remotely_unlock?: boolean | undefined
6071
6071
  can_remotely_lock?: boolean | undefined
6072
6072
  can_program_online_access_codes?: boolean | undefined
@@ -6204,7 +6204,7 @@ export interface Routes {
6204
6204
  limit?: number
6205
6205
  created_before?: Date | undefined
6206
6206
  user_identifier_key?: string | undefined
6207
- custom_metadata_has?: Record<string, string | boolean | null> | undefined
6207
+ custom_metadata_has?: Record<string, string | boolean> | undefined
6208
6208
  include_if?:
6209
6209
  | Array<
6210
6210
  | 'can_remotely_unlock'
@@ -6935,7 +6935,7 @@ export interface Routes {
6935
6935
  created_at: string
6936
6936
  /** Indicates whether Seam manages the device. */
6937
6937
  is_managed: true
6938
- custom_metadata?: Record<string, string | boolean | null> | undefined
6938
+ custom_metadata: Record<string, string | boolean>
6939
6939
  can_remotely_unlock?: boolean | undefined
6940
6940
  can_remotely_lock?: boolean | undefined
6941
6941
  can_program_online_access_codes?: boolean | undefined
@@ -7652,7 +7652,7 @@ export interface Routes {
7652
7652
  created_at: string
7653
7653
  /** Indicates whether Seam manages the device. */
7654
7654
  is_managed: true
7655
- custom_metadata?: Record<string, string | boolean | null> | undefined
7655
+ custom_metadata: Record<string, string | boolean>
7656
7656
  can_remotely_unlock?: boolean | undefined
7657
7657
  can_remotely_lock?: boolean | undefined
7658
7658
  can_program_online_access_codes?: boolean | undefined
@@ -8031,7 +8031,7 @@ export interface Routes {
8031
8031
  created_at: string
8032
8032
  /** Indicates whether Seam manages the device. */
8033
8033
  is_managed: true
8034
- custom_metadata?: Record<string, string | boolean | null> | undefined
8034
+ custom_metadata: Record<string, string | boolean>
8035
8035
  can_remotely_unlock?: boolean | undefined
8036
8036
  can_remotely_lock?: boolean | undefined
8037
8037
  can_program_online_access_codes?: boolean | undefined
@@ -8115,7 +8115,7 @@ export interface Routes {
8115
8115
  created_at: string
8116
8116
  /** Indicates whether Seam manages the device. */
8117
8117
  is_managed: true
8118
- custom_metadata?: Record<string, string | boolean | null> | undefined
8118
+ custom_metadata: Record<string, string | boolean>
8119
8119
  can_remotely_unlock?: boolean | undefined
8120
8120
  can_remotely_lock?: boolean | undefined
8121
8121
  can_program_online_access_codes?: boolean | undefined
@@ -9046,7 +9046,7 @@ export interface Routes {
9046
9046
  created_at: string
9047
9047
  /** Indicates whether Seam manages the device. */
9048
9048
  is_managed: true
9049
- custom_metadata?: Record<string, string | boolean | null> | undefined
9049
+ custom_metadata: Record<string, string | boolean>
9050
9050
  can_remotely_unlock?: boolean | undefined
9051
9051
  can_remotely_lock?: boolean | undefined
9052
9052
  can_program_online_access_codes?: boolean | undefined
@@ -9266,7 +9266,7 @@ export interface Routes {
9266
9266
  limit?: number
9267
9267
  created_before?: Date | undefined
9268
9268
  user_identifier_key?: string | undefined
9269
- custom_metadata_has?: Record<string, string | boolean | null> | undefined
9269
+ custom_metadata_has?: Record<string, string | boolean> | undefined
9270
9270
  include_if?:
9271
9271
  | Array<
9272
9272
  | 'can_remotely_unlock'
@@ -9997,7 +9997,7 @@ export interface Routes {
9997
9997
  created_at: string
9998
9998
  /** Indicates whether Seam manages the device. */
9999
9999
  is_managed: true
10000
- custom_metadata?: Record<string, string | boolean | null> | undefined
10000
+ custom_metadata: Record<string, string | boolean>
10001
10001
  can_remotely_unlock?: boolean | undefined
10002
10002
  can_remotely_lock?: boolean | undefined
10003
10003
  can_program_online_access_codes?: boolean | undefined
@@ -11006,7 +11006,7 @@ export interface Routes {
11006
11006
  created_at: string
11007
11007
  /** Indicates whether Seam manages the device. */
11008
11008
  is_managed: true
11009
- custom_metadata?: Record<string, string | boolean | null> | undefined
11009
+ custom_metadata: Record<string, string | boolean>
11010
11010
  can_remotely_unlock?: boolean | undefined
11011
11011
  can_remotely_lock?: boolean | undefined
11012
11012
  can_program_online_access_codes?: boolean | undefined