@seamapi/types 1.402.0 → 1.404.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.
@@ -14396,8 +14396,10 @@ export interface Routes {
14396
14396
  jsonBody: {
14397
14397
  /** ID of the entrance to which you want to grant an access system user access. */
14398
14398
  acs_entrance_id: string;
14399
- /** ID of the access system user to whom you want to grant access to an entrance. */
14400
- acs_user_id: string;
14399
+ /** ID of the user identity to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id. If the ACS system contains an ACS user with the same `email_address` or `phone_number` as the user identity that you specify, they are linked, and the access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created. */
14400
+ user_identity_id?: string | undefined;
14401
+ /** ID of the access system user to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id. */
14402
+ acs_user_id?: string | undefined;
14401
14403
  };
14402
14404
  commonParams: {};
14403
14405
  formData: {};
@@ -15720,8 +15722,12 @@ export interface Routes {
15720
15722
  queryParams: {};
15721
15723
  jsonBody: {};
15722
15724
  commonParams: {
15723
- /** ID of the access system user for whom you want to list accessible entrances. */
15724
- acs_user_id: string;
15725
+ /** ID of the access system user for whom you want to list accessible entrances. You can only provide acs_user_id or user_identity_id. */
15726
+ acs_user_id?: string | undefined;
15727
+ /** ID of the user identity for whom you want to list accessible entrances. You can only provide acs_user_id or user_identity_id. */
15728
+ user_identity_id?: string | undefined;
15729
+ /** ID of the access system for which you want to list accessible entrances. You can only provide acs_system_id with user_identity_id. */
15730
+ acs_system_id?: string | undefined;
15725
15731
  };
15726
15732
  formData: {};
15727
15733
  jsonResponse: {
@@ -39918,7 +39924,7 @@ export interface Routes {
39918
39924
  /** ID of the thermostat device for which you want to create a daily program. */
39919
39925
  device_id: string;
39920
39926
  /** User-friendly name to identify the thermostat daily program. */
39921
- name?: string | undefined;
39927
+ name: string;
39922
39928
  /** Array of thermostat daily program periods. */
39923
39929
  periods: Array<{
39924
39930
  /** Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -39972,7 +39978,7 @@ export interface Routes {
39972
39978
  /** ID of the thermostat daily program that you want to update. */
39973
39979
  thermostat_daily_program_id: string;
39974
39980
  /** User-friendly name to identify the thermostat daily program that you want to update. */
39975
- name?: string | undefined;
39981
+ name: string;
39976
39982
  /** Array of thermostat daily program periods. The periods that you specify overwrite any existing periods for the daily program. */
39977
39983
  periods: Array<{
39978
39984
  /** Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.402.0",
3
+ "version": "1.404.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -92,7 +92,7 @@
92
92
  "zod": "^3.24.0"
93
93
  },
94
94
  "devDependencies": {
95
- "@seamapi/blueprint": "^0.42.0",
95
+ "@seamapi/blueprint": "^0.43.2",
96
96
  "@types/node": "^20.8.10",
97
97
  "concurrently": "^8.2.0",
98
98
  "del-cli": "^5.0.0",
@@ -72,6 +72,7 @@ export const PROVIDER_CATEGORY_MAP = {
72
72
  'yale',
73
73
  'nuki',
74
74
  'salto',
75
+ 'salto_space',
75
76
  'controlbyweb',
76
77
  'minut',
77
78
  'my_2n',
@@ -92,6 +93,7 @@ export const PROVIDER_CATEGORY_MAP = {
92
93
  'latch',
93
94
  'akiles',
94
95
  'sensi',
96
+ 'assa_abloy_vostio',
95
97
  ],
96
98
 
97
99
  consumer_smartlocks: [
@@ -119,7 +121,6 @@ export const PROVIDER_CATEGORY_MAP = {
119
121
  'salto_ks',
120
122
  'assa_abloy_vostio',
121
123
  'salto_space',
122
- 'assa_abloy_vostio',
123
124
  ],
124
125
 
125
126
  internal_beta: ALL_DEVICE_PROVIDERS,
@@ -24074,12 +24074,18 @@ export default {
24074
24074
  },
24075
24075
  acs_user_id: {
24076
24076
  description:
24077
- 'ID of the access system user to whom you want to grant access to an entrance.',
24077
+ 'ID of the access system user to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id.',
24078
+ format: 'uuid',
24079
+ type: 'string',
24080
+ },
24081
+ user_identity_id: {
24082
+ description:
24083
+ 'ID of the user identity to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id. If the ACS system contains an ACS user with the same `email_address` or `phone_number` as the user identity that you specify, they are linked, and the access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created.',
24078
24084
  format: 'uuid',
24079
24085
  type: 'string',
24080
24086
  },
24081
24087
  },
24082
- required: ['acs_entrance_id', 'acs_user_id'],
24088
+ required: ['acs_entrance_id'],
24083
24089
  type: 'object',
24084
24090
  },
24085
24091
  },
@@ -24874,14 +24880,25 @@ export default {
24874
24880
  'application/json': {
24875
24881
  schema: {
24876
24882
  properties: {
24883
+ acs_system_id: {
24884
+ description:
24885
+ 'ID of the access system for which you want to list accessible entrances. You can only provide acs_system_id with user_identity_id.',
24886
+ format: 'uuid',
24887
+ type: 'string',
24888
+ },
24877
24889
  acs_user_id: {
24878
24890
  description:
24879
- 'ID of the access system user for whom you want to list accessible entrances.',
24891
+ 'ID of the access system user for whom you want to list accessible entrances. You can only provide acs_user_id or user_identity_id.',
24892
+ format: 'uuid',
24893
+ type: 'string',
24894
+ },
24895
+ user_identity_id: {
24896
+ description:
24897
+ 'ID of the user identity for whom you want to list accessible entrances. You can only provide acs_user_id or user_identity_id.',
24880
24898
  format: 'uuid',
24881
24899
  type: 'string',
24882
24900
  },
24883
24901
  },
24884
- required: ['acs_user_id'],
24885
24902
  type: 'object',
24886
24903
  },
24887
24904
  },
@@ -31754,7 +31771,7 @@ export default {
31754
31771
  type: 'array',
31755
31772
  },
31756
31773
  },
31757
- required: ['device_id', 'periods'],
31774
+ required: ['device_id', 'name', 'periods'],
31758
31775
  type: 'object',
31759
31776
  },
31760
31777
  },
@@ -31961,7 +31978,7 @@ export default {
31961
31978
  type: 'string',
31962
31979
  },
31963
31980
  },
31964
- required: ['thermostat_daily_program_id', 'periods'],
31981
+ required: ['thermostat_daily_program_id', 'name', 'periods'],
31965
31982
  type: 'object',
31966
31983
  },
31967
31984
  },
@@ -32046,7 +32063,7 @@ export default {
32046
32063
  type: 'string',
32047
32064
  },
32048
32065
  },
32049
- required: ['thermostat_daily_program_id', 'periods'],
32066
+ required: ['thermostat_daily_program_id', 'name', 'periods'],
32050
32067
  type: 'object',
32051
32068
  },
32052
32069
  },
@@ -16619,8 +16619,10 @@ export interface Routes {
16619
16619
  jsonBody: {
16620
16620
  /** ID of the entrance to which you want to grant an access system user access. */
16621
16621
  acs_entrance_id: string
16622
- /** ID of the access system user to whom you want to grant access to an entrance. */
16623
- acs_user_id: string
16622
+ /** ID of the user identity to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id. If the ACS system contains an ACS user with the same `email_address` or `phone_number` as the user identity that you specify, they are linked, and the access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created. */
16623
+ user_identity_id?: string | undefined
16624
+ /** ID of the access system user to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id. */
16625
+ acs_user_id?: string | undefined
16624
16626
  }
16625
16627
  commonParams: {}
16626
16628
  formData: {}
@@ -18228,8 +18230,12 @@ export interface Routes {
18228
18230
  queryParams: {}
18229
18231
  jsonBody: {}
18230
18232
  commonParams: {
18231
- /** ID of the access system user for whom you want to list accessible entrances. */
18232
- acs_user_id: string
18233
+ /** ID of the access system user for whom you want to list accessible entrances. You can only provide acs_user_id or user_identity_id. */
18234
+ acs_user_id?: string | undefined
18235
+ /** ID of the user identity for whom you want to list accessible entrances. You can only provide acs_user_id or user_identity_id. */
18236
+ user_identity_id?: string | undefined
18237
+ /** ID of the access system for which you want to list accessible entrances. You can only provide acs_system_id with user_identity_id. */
18238
+ acs_system_id?: string | undefined
18233
18239
  }
18234
18240
  formData: {}
18235
18241
  jsonResponse: {
@@ -47759,7 +47765,7 @@ export interface Routes {
47759
47765
  /** ID of the thermostat device for which you want to create a daily program. */
47760
47766
  device_id: string
47761
47767
  /** User-friendly name to identify the thermostat daily program. */
47762
- name?: string | undefined
47768
+ name: string
47763
47769
  /** Array of thermostat daily program periods. */
47764
47770
  periods: Array<{
47765
47771
  /** Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -47813,7 +47819,7 @@ export interface Routes {
47813
47819
  /** ID of the thermostat daily program that you want to update. */
47814
47820
  thermostat_daily_program_id: string
47815
47821
  /** User-friendly name to identify the thermostat daily program that you want to update. */
47816
- name?: string | undefined
47822
+ name: string
47817
47823
  /** Array of thermostat daily program periods. The periods that you specify overwrite any existing periods for the daily program. */
47818
47824
  periods: Array<{
47819
47825
  /** Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */