@seamapi/types 1.463.0 → 1.464.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.
Files changed (66) hide show
  1. package/dist/connect.cjs +57 -55
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +91 -279
  4. package/dist/index.cjs +57 -55
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +4 -4
  7. package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -2
  8. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  9. package/lib/seam/connect/models/access-grants/access-grant.d.ts +6 -6
  10. package/lib/seam/connect/models/access-grants/access-grant.js +1 -2
  11. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  12. package/lib/seam/connect/models/acs/acs-access-group.d.ts +2 -2
  13. package/lib/seam/connect/models/acs/acs-access-group.js +1 -1
  14. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  15. package/lib/seam/connect/models/acs/acs-credential.d.ts +2 -2
  16. package/lib/seam/connect/models/acs/acs-credential.js +1 -1
  17. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  18. package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
  19. package/lib/seam/connect/models/acs/acs-encoder.js +1 -1
  20. package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
  21. package/lib/seam/connect/models/acs/acs-system.d.ts +5 -4
  22. package/lib/seam/connect/models/acs/acs-system.js +2 -2
  23. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  24. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +5 -4
  25. package/lib/seam/connect/models/acs/acs-users/acs-user.js +2 -2
  26. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
  27. package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +3 -2
  28. package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +1 -1
  29. package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
  30. package/lib/seam/connect/models/batch.d.ts +0 -203
  31. package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +2 -2
  32. package/lib/seam/connect/models/bridges/bridge-client-session.js +1 -1
  33. package/lib/seam/connect/models/bridges/bridge-client-session.js.map +1 -1
  34. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +4 -4
  35. package/lib/seam/connect/models/connected-accounts/connected-account.js +2 -2
  36. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  37. package/lib/seam/connect/models/customer/customer-portal.d.ts +34 -0
  38. package/lib/seam/connect/models/customer/customer-portal.js +18 -0
  39. package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
  40. package/lib/seam/connect/models/devices/device.d.ts +4 -62
  41. package/lib/seam/connect/models/devices/device.js +2 -16
  42. package/lib/seam/connect/models/devices/device.js.map +1 -1
  43. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +0 -21
  44. package/lib/seam/connect/models/user-identities/user-identity.d.ts +5 -4
  45. package/lib/seam/connect/models/user-identities/user-identity.js +2 -2
  46. package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
  47. package/lib/seam/connect/openapi.d.ts +58 -0
  48. package/lib/seam/connect/openapi.js +56 -44
  49. package/lib/seam/connect/openapi.js.map +1 -1
  50. package/lib/seam/connect/route-types.d.ts +27 -160
  51. package/package.json +1 -1
  52. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +4 -4
  53. package/src/lib/seam/connect/models/access-grants/access-grant.ts +1 -2
  54. package/src/lib/seam/connect/models/acs/acs-access-group.ts +2 -2
  55. package/src/lib/seam/connect/models/acs/acs-credential.ts +4 -2
  56. package/src/lib/seam/connect/models/acs/acs-encoder.ts +2 -2
  57. package/src/lib/seam/connect/models/acs/acs-system.ts +4 -4
  58. package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +4 -4
  59. package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +2 -2
  60. package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +2 -2
  61. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +4 -4
  62. package/src/lib/seam/connect/models/customer/customer-portal.ts +23 -0
  63. package/src/lib/seam/connect/models/devices/device.ts +4 -19
  64. package/src/lib/seam/connect/models/user-identities/user-identity.ts +4 -4
  65. package/src/lib/seam/connect/openapi.ts +60 -52
  66. package/src/lib/seam/connect/route-types.ts +31 -181
@@ -9981,7 +9981,7 @@ export interface Routes {
9981
9981
  /** Date and time at which the validity of the new grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
9982
9982
  starts_at?: string | undefined;
9983
9983
  /** Date and time at which the validity of the new grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
9984
- ends_at?: string | undefined;
9984
+ ends_at?: (string | undefined) | null;
9985
9985
  };
9986
9986
  formData: {};
9987
9987
  jsonResponse: {
@@ -10024,9 +10024,9 @@ export interface Routes {
10024
10024
  /** Date and time at which the Access Grant was created. */
10025
10025
  created_at: string;
10026
10026
  /** Date and time at which the Access Grant starts. */
10027
- starts_at?: string | undefined;
10027
+ starts_at: string;
10028
10028
  /** Date and time at which the Access Grant ends. */
10029
- ends_at?: string | undefined;
10029
+ ends_at: string | null;
10030
10030
  };
10031
10031
  };
10032
10032
  };
@@ -10095,9 +10095,9 @@ export interface Routes {
10095
10095
  /** Date and time at which the Access Grant was created. */
10096
10096
  created_at: string;
10097
10097
  /** Date and time at which the Access Grant starts. */
10098
- starts_at?: string | undefined;
10098
+ starts_at: string;
10099
10099
  /** Date and time at which the Access Grant ends. */
10100
- ends_at?: string | undefined;
10100
+ ends_at: string | null;
10101
10101
  };
10102
10102
  };
10103
10103
  };
@@ -11226,13 +11226,6 @@ export interface Routes {
11226
11226
  created_at: string;
11227
11227
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11228
11228
  warning_code: 'third_party_integration_detected';
11229
- } | {
11230
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
11231
- message: string;
11232
- /** Date and time at which Seam created the warning. */
11233
- created_at: string;
11234
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11235
- warning_code: 'nest_thermostat_in_manual_eco_mode';
11236
11229
  } | {
11237
11230
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
11238
11231
  message: string;
@@ -11796,9 +11789,9 @@ export interface Routes {
11796
11789
  /** Date and time at which the Access Grant was created. */
11797
11790
  created_at: string;
11798
11791
  /** Date and time at which the Access Grant starts. */
11799
- starts_at?: string | undefined;
11792
+ starts_at: string;
11800
11793
  /** Date and time at which the Access Grant ends. */
11801
- ends_at?: string | undefined;
11794
+ ends_at: string | null;
11802
11795
  }>;
11803
11796
  };
11804
11797
  };
@@ -14330,13 +14323,6 @@ export interface Routes {
14330
14323
  created_at: string;
14331
14324
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14332
14325
  warning_code: 'third_party_integration_detected';
14333
- } | {
14334
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
14335
- message: string;
14336
- /** Date and time at which Seam created the warning. */
14337
- created_at: string;
14338
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14339
- warning_code: 'nest_thermostat_in_manual_eco_mode';
14340
14326
  } | {
14341
14327
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
14342
14328
  message: string;
@@ -16650,13 +16636,6 @@ export interface Routes {
16650
16636
  created_at: string;
16651
16637
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16652
16638
  warning_code: 'third_party_integration_detected';
16653
- } | {
16654
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
16655
- message: string;
16656
- /** Date and time at which Seam created the warning. */
16657
- created_at: string;
16658
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16659
- warning_code: 'nest_thermostat_in_manual_eco_mode';
16660
16639
  } | {
16661
16640
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
16662
16641
  message: string;
@@ -27619,6 +27598,15 @@ export interface Routes {
27619
27598
  /** Whether to exclude this feature from the portal. */
27620
27599
  exclude?: boolean;
27621
27600
  };
27601
+ /** Configuration for the configure feature. */
27602
+ configure?: {
27603
+ /** Whether to exclude this feature from the portal. */
27604
+ exclude?: boolean;
27605
+ /** Indicates whether the customer can customize the access automation rules for their properties. */
27606
+ allow_access_automation_rule_customization?: boolean;
27607
+ /** Indicates whether the customer can customize the Instant Key profile for their properties. */
27608
+ allow_instant_key_customization?: boolean;
27609
+ };
27622
27610
  };
27623
27611
  /** Whether the portal is embedded in another application. */
27624
27612
  is_embedded?: boolean;
@@ -29237,13 +29225,6 @@ export interface Routes {
29237
29225
  created_at: string;
29238
29226
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29239
29227
  warning_code: 'third_party_integration_detected';
29240
- } | {
29241
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
29242
- message: string;
29243
- /** Date and time at which Seam created the warning. */
29244
- created_at: string;
29245
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29246
- warning_code: 'nest_thermostat_in_manual_eco_mode';
29247
29228
  } | {
29248
29229
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
29249
29230
  message: string;
@@ -30489,13 +30470,6 @@ export interface Routes {
30489
30470
  created_at: string;
30490
30471
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30491
30472
  warning_code: 'third_party_integration_detected';
30492
- } | {
30493
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30494
- message: string;
30495
- /** Date and time at which Seam created the warning. */
30496
- created_at: string;
30497
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30498
- warning_code: 'nest_thermostat_in_manual_eco_mode';
30499
30473
  } | {
30500
30474
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30501
30475
  message: string;
@@ -30928,13 +30902,6 @@ export interface Routes {
30928
30902
  created_at: string;
30929
30903
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30930
30904
  warning_code: 'third_party_integration_detected';
30931
- } | {
30932
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30933
- message: string;
30934
- /** Date and time at which Seam created the warning. */
30935
- created_at: string;
30936
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30937
- warning_code: 'nest_thermostat_in_manual_eco_mode';
30938
30905
  } | {
30939
30906
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
30940
30907
  message: string;
@@ -31365,13 +31332,6 @@ export interface Routes {
31365
31332
  created_at: string;
31366
31333
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31367
31334
  warning_code: 'third_party_integration_detected';
31368
- } | {
31369
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
31370
- message: string;
31371
- /** Date and time at which Seam created the warning. */
31372
- created_at: string;
31373
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31374
- warning_code: 'nest_thermostat_in_manual_eco_mode';
31375
31335
  } | {
31376
31336
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
31377
31337
  message: string;
@@ -36026,13 +35986,6 @@ export interface Routes {
36026
35986
  created_at: string;
36027
35987
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36028
35988
  warning_code: 'third_party_integration_detected';
36029
- } | {
36030
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
36031
- message: string;
36032
- /** Date and time at which Seam created the warning. */
36033
- created_at: string;
36034
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36035
- warning_code: 'nest_thermostat_in_manual_eco_mode';
36036
35989
  } | {
36037
35990
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
36038
35991
  message: string;
@@ -37230,13 +37183,6 @@ export interface Routes {
37230
37183
  created_at: string;
37231
37184
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37232
37185
  warning_code: 'third_party_integration_detected';
37233
- } | {
37234
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
37235
- message: string;
37236
- /** Date and time at which Seam created the warning. */
37237
- created_at: string;
37238
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37239
- warning_code: 'nest_thermostat_in_manual_eco_mode';
37240
37186
  } | {
37241
37187
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
37242
37188
  message: string;
@@ -38482,13 +38428,6 @@ export interface Routes {
38482
38428
  created_at: string;
38483
38429
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
38484
38430
  warning_code: 'third_party_integration_detected';
38485
- } | {
38486
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
38487
- message: string;
38488
- /** Date and time at which Seam created the warning. */
38489
- created_at: string;
38490
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
38491
- warning_code: 'nest_thermostat_in_manual_eco_mode';
38492
38431
  } | {
38493
38432
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
38494
38433
  message: string;
@@ -39685,13 +39624,6 @@ export interface Routes {
39685
39624
  created_at: string;
39686
39625
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39687
39626
  warning_code: 'third_party_integration_detected';
39688
- } | {
39689
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
39690
- message: string;
39691
- /** Date and time at which Seam created the warning. */
39692
- created_at: string;
39693
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39694
- warning_code: 'nest_thermostat_in_manual_eco_mode';
39695
39627
  } | {
39696
39628
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
39697
39629
  message: string;
@@ -45975,13 +45907,6 @@ export interface Routes {
45975
45907
  created_at: string;
45976
45908
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45977
45909
  warning_code: 'third_party_integration_detected';
45978
- } | {
45979
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
45980
- message: string;
45981
- /** Date and time at which Seam created the warning. */
45982
- created_at: string;
45983
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45984
- warning_code: 'nest_thermostat_in_manual_eco_mode';
45985
45910
  } | {
45986
45911
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
45987
45912
  message: string;
@@ -47178,13 +47103,6 @@ export interface Routes {
47178
47103
  created_at: string;
47179
47104
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
47180
47105
  warning_code: 'third_party_integration_detected';
47181
- } | {
47182
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
47183
- message: string;
47184
- /** Date and time at which Seam created the warning. */
47185
- created_at: string;
47186
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
47187
- warning_code: 'nest_thermostat_in_manual_eco_mode';
47188
47106
  } | {
47189
47107
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
47190
47108
  message: string;
@@ -51896,6 +51814,11 @@ export interface Routes {
51896
51814
  organize?: {
51897
51815
  exclude?: boolean | undefined;
51898
51816
  } | undefined;
51817
+ configure?: {
51818
+ exclude?: boolean | undefined;
51819
+ allow_access_automation_rule_customization?: boolean | undefined;
51820
+ allow_instant_key_customization?: boolean | undefined;
51821
+ } | undefined;
51899
51822
  } | undefined;
51900
51823
  is_embedded?: boolean | undefined;
51901
51824
  /** Business vertical of the customer portal. */
@@ -53694,13 +53617,6 @@ export interface Routes {
53694
53617
  created_at: string;
53695
53618
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53696
53619
  warning_code: 'third_party_integration_detected';
53697
- } | {
53698
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
53699
- message: string;
53700
- /** Date and time at which Seam created the warning. */
53701
- created_at: string;
53702
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53703
- warning_code: 'nest_thermostat_in_manual_eco_mode';
53704
53620
  } | {
53705
53621
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
53706
53622
  message: string;
@@ -59271,13 +59187,6 @@ export interface Routes {
59271
59187
  created_at: string;
59272
59188
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59273
59189
  warning_code: 'third_party_integration_detected';
59274
- } | {
59275
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
59276
- message: string;
59277
- /** Date and time at which Seam created the warning. */
59278
- created_at: string;
59279
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59280
- warning_code: 'nest_thermostat_in_manual_eco_mode';
59281
59190
  } | {
59282
59191
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
59283
59192
  message: string;
@@ -63055,13 +62964,6 @@ export interface Routes {
63055
62964
  created_at: string;
63056
62965
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
63057
62966
  warning_code: 'third_party_integration_detected';
63058
- } | {
63059
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
63060
- message: string;
63061
- /** Date and time at which Seam created the warning. */
63062
- created_at: string;
63063
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
63064
- warning_code: 'nest_thermostat_in_manual_eco_mode';
63065
62967
  } | {
63066
62968
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
63067
62969
  message: string;
@@ -64258,13 +64160,6 @@ export interface Routes {
64258
64160
  created_at: string;
64259
64161
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
64260
64162
  warning_code: 'third_party_integration_detected';
64261
- } | {
64262
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
64263
- message: string;
64264
- /** Date and time at which Seam created the warning. */
64265
- created_at: string;
64266
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
64267
- warning_code: 'nest_thermostat_in_manual_eco_mode';
64268
64163
  } | {
64269
64164
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
64270
64165
  message: string;
@@ -69866,9 +69761,9 @@ export interface Routes {
69866
69761
  /** Date and time at which the Access Grant was created. */
69867
69762
  created_at: string;
69868
69763
  /** Date and time at which the Access Grant starts. */
69869
- starts_at?: string | undefined;
69764
+ starts_at: string;
69870
69765
  /** Date and time at which the Access Grant ends. */
69871
- ends_at?: string | undefined;
69766
+ ends_at: string | null;
69872
69767
  };
69873
69768
  };
69874
69769
  };
@@ -69934,9 +69829,9 @@ export interface Routes {
69934
69829
  /** Date and time at which the Access Grant was created. */
69935
69830
  created_at: string;
69936
69831
  /** Date and time at which the Access Grant starts. */
69937
- starts_at?: string | undefined;
69832
+ starts_at: string;
69938
69833
  /** Date and time at which the Access Grant ends. */
69939
- ends_at?: string | undefined;
69834
+ ends_at: string | null;
69940
69835
  };
69941
69836
  };
69942
69837
  };
@@ -69998,9 +69893,9 @@ export interface Routes {
69998
69893
  /** Date and time at which the Access Grant was created. */
69999
69894
  created_at: string;
70000
69895
  /** Date and time at which the Access Grant starts. */
70001
- starts_at?: string | undefined;
69896
+ starts_at: string;
70002
69897
  /** Date and time at which the Access Grant ends. */
70003
- ends_at?: string | undefined;
69898
+ ends_at: string | null;
70004
69899
  }>;
70005
69900
  };
70006
69901
  };
@@ -71921,13 +71816,6 @@ export interface Routes {
71921
71816
  created_at: string;
71922
71817
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71923
71818
  warning_code: 'third_party_integration_detected';
71924
- } | {
71925
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
71926
- message: string;
71927
- /** Date and time at which Seam created the warning. */
71928
- created_at: string;
71929
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71930
- warning_code: 'nest_thermostat_in_manual_eco_mode';
71931
71819
  } | {
71932
71820
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
71933
71821
  message: string;
@@ -73126,13 +73014,6 @@ export interface Routes {
73126
73014
  created_at: string;
73127
73015
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
73128
73016
  warning_code: 'third_party_integration_detected';
73129
- } | {
73130
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
73131
- message: string;
73132
- /** Date and time at which Seam created the warning. */
73133
- created_at: string;
73134
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
73135
- warning_code: 'nest_thermostat_in_manual_eco_mode';
73136
73017
  } | {
73137
73018
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
73138
73019
  message: string;
@@ -75002,13 +74883,6 @@ export interface Routes {
75002
74883
  created_at: string;
75003
74884
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
75004
74885
  warning_code: 'third_party_integration_detected';
75005
- } | {
75006
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
75007
- message: string;
75008
- /** Date and time at which Seam created the warning. */
75009
- created_at: string;
75010
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
75011
- warning_code: 'nest_thermostat_in_manual_eco_mode';
75012
74886
  } | {
75013
74887
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
75014
74888
  message: string;
@@ -77322,13 +77196,6 @@ export interface Routes {
77322
77196
  created_at: string;
77323
77197
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
77324
77198
  warning_code: 'third_party_integration_detected';
77325
- } | {
77326
- /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
77327
- message: string;
77328
- /** Date and time at which Seam created the warning. */
77329
- created_at: string;
77330
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
77331
- warning_code: 'nest_thermostat_in_manual_eco_mode';
77332
77199
  } | {
77333
77200
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
77334
77201
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.463.0",
3
+ "version": "1.464.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -261,7 +261,7 @@ const access_code_error = z
261
261
 
262
262
  export type AccessCodeError = z.infer<typeof access_code_error>
263
263
 
264
- const access_code_error_map = z.object({
264
+ const _access_code_error_map = z.object({
265
265
  smartthings_failed_to_set_access_code:
266
266
  smartthings_failed_to_set_access_code_error.optional().nullable(),
267
267
  smartthings_failed_to_set_after_multiple_retries:
@@ -324,7 +324,7 @@ const access_code_error_map = z.object({
324
324
  .nullable(),
325
325
  })
326
326
 
327
- export type AccessCodeErrorMap = z.infer<typeof access_code_error_map>
327
+ export type AccessCodeErrorMap = z.infer<typeof _access_code_error_map>
328
328
 
329
329
  const common_access_code_warning = z.object({
330
330
  message: z
@@ -463,7 +463,7 @@ const access_code_warning = z
463
463
 
464
464
  export type AccessCodeWarning = z.infer<typeof access_code_warning>
465
465
 
466
- const access_code_warning_map = z.object({
466
+ const _access_code_warning_map = z.object({
467
467
  smartthings_failed_to_set_access_code:
468
468
  smartthings_failed_to_set_access_code_warning.optional().nullable(),
469
469
  schlage_detected_duplicate: schlage_detected_duplicate.optional().nullable(),
@@ -492,7 +492,7 @@ const access_code_warning_map = z.object({
492
492
  .nullable(),
493
493
  })
494
494
 
495
- export type AccessCodeWarningMap = z.infer<typeof access_code_warning_map>
495
+ export type AccessCodeWarningMap = z.infer<typeof _access_code_warning_map>
496
496
 
497
497
  export const access_code = z.object({
498
498
  common_code_key: z
@@ -57,12 +57,11 @@ export const access_grant = z.object({
57
57
  starts_at: z
58
58
  .string()
59
59
  .datetime()
60
- .optional()
61
60
  .describe('Date and time at which the Access Grant starts.'),
62
61
  ends_at: z
63
62
  .string()
64
63
  .datetime()
65
- .optional()
64
+ .nullable()
66
65
  .describe('Date and time at which the Access Grant ends.'),
67
66
  }).describe(`
68
67
  ---
@@ -44,14 +44,14 @@ const acs_access_group_warning = unknown_issue_with_acs_access_group.describe(
44
44
  'Warning associated with the `acs_access_group`.',
45
45
  )
46
46
 
47
- const acs_access_group_warning_map = z.object({
47
+ const _acs_access_group_warning_map = z.object({
48
48
  unknown_issue_with_acs_access_group: unknown_issue_with_acs_access_group
49
49
  .optional()
50
50
  .nullable(),
51
51
  })
52
52
 
53
53
  export type AcsAccessGroupWarningMap = z.infer<
54
- typeof acs_access_group_warning_map
54
+ typeof _acs_access_group_warning_map
55
55
  >
56
56
 
57
57
  const common_acs_access_group = z.object({
@@ -113,7 +113,7 @@ const acs_credential_warning = z
113
113
  'Warning associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).',
114
114
  )
115
115
 
116
- const acs_credential_warning_map = z.object({
116
+ const _acs_credential_warning_map = z.object({
117
117
  waiting_to_be_issued: waiting_to_be_issued.optional().nullable(),
118
118
  schedule_externally_modified: schedule_externally_modified
119
119
  .optional()
@@ -126,7 +126,9 @@ const acs_credential_warning_map = z.object({
126
126
  needs_to_be_reissued: needs_to_be_reissued.optional().nullable(),
127
127
  })
128
128
 
129
- export type AcsCredentialWarningMap = z.infer<typeof acs_credential_warning_map>
129
+ export type AcsCredentialWarningMap = z.infer<
130
+ typeof _acs_credential_warning_map
131
+ >
130
132
 
131
133
  const common_acs_credential = z.object({
132
134
  acs_credential_id: z
@@ -27,11 +27,11 @@ const acs_encoder_error =
27
27
  'Error associated with the [encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners).',
28
28
  )
29
29
 
30
- const acs_encoder_error_map = z.object({
30
+ const _acs_encoder_error_map = z.object({
31
31
  acs_encoder_removed: acs_encoder_removed.optional().nullable(),
32
32
  })
33
33
 
34
- export type AcsEncoderErrorMap = z.infer<typeof acs_encoder_error_map>
34
+ export type AcsEncoderErrorMap = z.infer<typeof _acs_encoder_error_map>
35
35
 
36
36
  export const acs_encoder = z.object({
37
37
  acs_encoder_id: z
@@ -129,7 +129,7 @@ const acs_system_error = z
129
129
  'Error associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems).',
130
130
  )
131
131
 
132
- export const acs_system_error_map = z.object({
132
+ const _acs_system_error_map = z.object({
133
133
  seam_bridge_disconnected: seam_bridge_disconnected.optional().nullable(),
134
134
  bridge_disconnected: bridge_disconnected.optional().nullable(),
135
135
  visionline_instance_unreachable: visionline_instance_unreachable
@@ -145,7 +145,7 @@ export const acs_system_error_map = z.object({
145
145
  .nullable(),
146
146
  })
147
147
 
148
- export type AcsSystemErrorMap = z.infer<typeof acs_system_error_map>
148
+ export type AcsSystemErrorMap = z.infer<typeof _acs_system_error_map>
149
149
 
150
150
  const common_acs_system_warning = z.object({
151
151
  created_at: z
@@ -198,7 +198,7 @@ const acs_system_warning = z
198
198
  'Warning associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems).',
199
199
  )
200
200
 
201
- export const acs_system_warning_map = z.object({
201
+ const _acs_system_warning_map = z.object({
202
202
  salto_ks_subscription_limit_almost_reached:
203
203
  salto_ks_subscription_limit_almost_reached.optional().nullable(),
204
204
  time_zone_does_not_match_location: time_zone_does_not_match_location
@@ -206,7 +206,7 @@ export const acs_system_warning_map = z.object({
206
206
  .nullable(),
207
207
  })
208
208
 
209
- export type AcsSystemWarningMap = z.infer<typeof acs_system_warning_map>
209
+ export type AcsSystemWarningMap = z.infer<typeof _acs_system_warning_map>
210
210
 
211
211
  export const acs_system = z
212
212
  .object({
@@ -89,7 +89,7 @@ const acs_user_errors = z
89
89
  'Errors associated with the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).',
90
90
  )
91
91
 
92
- export const acs_users_error_map = z.object({
92
+ const _acs_users_error_map = z.object({
93
93
  deleted_externally: acs_users_deleted_externally.optional().nullable(),
94
94
  salto_ks_subscription_limit_exceeded:
95
95
  acs_users_salto_ks_subscription_limit_exceeded.optional().nullable(),
@@ -107,7 +107,7 @@ export const acs_users_error_map = z.object({
107
107
  .nullable(),
108
108
  })
109
109
 
110
- export type AcsUsersErrorMap = z.infer<typeof acs_users_error_map>
110
+ export type AcsUsersErrorMap = z.infer<typeof _acs_users_error_map>
111
111
 
112
112
  const common_acs_user_warning = z.object({
113
113
  created_at: z
@@ -153,7 +153,7 @@ export const latch_resident_user = common_acs_user_warning
153
153
  'Indicates that the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created on Latch Mission Control. Please use the Latch Mission Control to manage this user.',
154
154
  )
155
155
 
156
- export const acs_users_warning_map = z.object({
156
+ const _acs_users_warning_map = z.object({
157
157
  being_deleted: acs_users_being_deleted.optional().nullable(),
158
158
  salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed
159
159
  .optional()
@@ -175,7 +175,7 @@ export const acs_users_warnings = z
175
175
  'Warnings associated with the [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management).',
176
176
  )
177
177
 
178
- export type AcsUsersWarningMap = z.infer<typeof acs_users_warning_map>
178
+ export type AcsUsersWarningMap = z.infer<typeof _acs_users_warning_map>
179
179
 
180
180
  const user_fields = z.object({
181
181
  full_name: z
@@ -154,7 +154,7 @@ export const acs_user_pending_mutations = z.discriminatedUnion(
154
154
 
155
155
  export type AcsUserPendingMutation = z.infer<typeof acs_user_pending_mutations>
156
156
 
157
- export const acs_user_pending_mutations_map = z.object({
157
+ const _acs_user_pending_mutations_map = z.object({
158
158
  creating: creating.optional().nullable(),
159
159
  deleting: deleting.optional().nullable(),
160
160
  updating_access_schedule: updating_access_schedule_mutation
@@ -206,5 +206,5 @@ export const acs_user_pending_mutations_map = z.object({
206
206
  })
207
207
 
208
208
  export type AcsUserPendingMutationsMap = z.infer<
209
- typeof acs_user_pending_mutations_map
209
+ typeof _acs_user_pending_mutations_map
210
210
  >
@@ -68,7 +68,7 @@ export type BridgeClientSessionError = z.infer<
68
68
  typeof bridge_client_session_error
69
69
  >
70
70
 
71
- const bridge_client_session_error_map = z.object({
71
+ const _bridge_client_session_error_map = z.object({
72
72
  bridge_lan_unreachable: bridge_lan_unreachable.optional().nullable(),
73
73
  no_communication_from_bridge: no_communication_from_bridge
74
74
  .optional()
@@ -76,7 +76,7 @@ const bridge_client_session_error_map = z.object({
76
76
  })
77
77
 
78
78
  export type BridgeClientSessionErrorMap = z.infer<
79
- typeof bridge_client_session_error_map
79
+ typeof _bridge_client_session_error_map
80
80
  >
81
81
 
82
82
  export const bridge_client_session = z.object({
@@ -135,7 +135,7 @@ export type ConnectedAccountError = z.infer<typeof connected_account_error>
135
135
 
136
136
  export type ConnectedAccountWarning = z.infer<typeof connected_account_warning>
137
137
 
138
- const connected_account_error_map = z.object({
138
+ const _connected_account_error_map = z.object({
139
139
  account_disconnected: account_disconnected.nullable().optional(),
140
140
  invalid_credentials: invalid_credentials.nullable().optional(),
141
141
  bridge_disconnected: bridge_disconnected.nullable().optional(),
@@ -145,7 +145,7 @@ const connected_account_error_map = z.object({
145
145
  })
146
146
 
147
147
  export type ConnectedAccountErrorMap = z.infer<
148
- typeof connected_account_error_map
148
+ typeof _connected_account_error_map
149
149
  >
150
150
 
151
151
  export const unknown_issue_with_connected_account =
@@ -230,7 +230,7 @@ const connected_account_warning = z
230
230
  ])
231
231
  .describe('Warning associated with the connected account.')
232
232
 
233
- const connected_account_warning_map = z.object({
233
+ const _connected_account_warning_map = z.object({
234
234
  scheduled_maintenance_window: scheduled_maintenance_window
235
235
  .nullable()
236
236
  .optional(),
@@ -242,7 +242,7 @@ const connected_account_warning_map = z.object({
242
242
  })
243
243
 
244
244
  export type ConnectedAccountWarningMap = z.infer<
245
- typeof connected_account_warning_map
245
+ typeof _connected_account_warning_map
246
246
  >
247
247
 
248
248
  export const connected_account = z.object({