@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.
@@ -37245,6 +37245,11 @@ declare const _default: {
37245
37245
  format: string;
37246
37246
  type: string;
37247
37247
  };
37248
+ user_identity_id: {
37249
+ description: string;
37250
+ format: string;
37251
+ type: string;
37252
+ };
37248
37253
  };
37249
37254
  required: string[];
37250
37255
  type: string;
@@ -38223,13 +38228,22 @@ declare const _default: {
38223
38228
  'application/json': {
38224
38229
  schema: {
38225
38230
  properties: {
38231
+ acs_system_id: {
38232
+ description: string;
38233
+ format: string;
38234
+ type: string;
38235
+ };
38226
38236
  acs_user_id: {
38227
38237
  description: string;
38228
38238
  format: string;
38229
38239
  type: string;
38230
38240
  };
38241
+ user_identity_id: {
38242
+ description: string;
38243
+ format: string;
38244
+ type: string;
38245
+ };
38231
38246
  };
38232
- required: string[];
38233
38247
  type: string;
38234
38248
  };
38235
38249
  };
@@ -67651,8 +67665,10 @@ interface Routes {
67651
67665
  jsonBody: {
67652
67666
  /** ID of the entrance to which you want to grant an access system user access. */
67653
67667
  acs_entrance_id: string;
67654
- /** ID of the access system user to whom you want to grant access to an entrance. */
67655
- acs_user_id: string;
67668
+ /** 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. */
67669
+ user_identity_id?: string | undefined;
67670
+ /** 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. */
67671
+ acs_user_id?: string | undefined;
67656
67672
  };
67657
67673
  commonParams: {};
67658
67674
  formData: {};
@@ -68975,8 +68991,12 @@ interface Routes {
68975
68991
  queryParams: {};
68976
68992
  jsonBody: {};
68977
68993
  commonParams: {
68978
- /** ID of the access system user for whom you want to list accessible entrances. */
68979
- acs_user_id: string;
68994
+ /** 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. */
68995
+ acs_user_id?: string | undefined;
68996
+ /** ID of the user identity for whom you want to list accessible entrances. You can only provide acs_user_id or user_identity_id. */
68997
+ user_identity_id?: string | undefined;
68998
+ /** ID of the access system for which you want to list accessible entrances. You can only provide acs_system_id with user_identity_id. */
68999
+ acs_system_id?: string | undefined;
68980
69000
  };
68981
69001
  formData: {};
68982
69002
  jsonResponse: {
@@ -93173,7 +93193,7 @@ interface Routes {
93173
93193
  /** ID of the thermostat device for which you want to create a daily program. */
93174
93194
  device_id: string;
93175
93195
  /** User-friendly name to identify the thermostat daily program. */
93176
- name?: string | undefined;
93196
+ name: string;
93177
93197
  /** Array of thermostat daily program periods. */
93178
93198
  periods: Array<{
93179
93199
  /** Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -93227,7 +93247,7 @@ interface Routes {
93227
93247
  /** ID of the thermostat daily program that you want to update. */
93228
93248
  thermostat_daily_program_id: string;
93229
93249
  /** User-friendly name to identify the thermostat daily program that you want to update. */
93230
- name?: string | undefined;
93250
+ name: string;
93231
93251
  /** Array of thermostat daily program periods. The periods that you specify overwrite any existing periods for the daily program. */
93232
93252
  periods: Array<{
93233
93253
  /** Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
@@ -55,11 +55,11 @@ export declare const ALL_DEVICE_PROVIDERS: [
55
55
  ];
56
56
  export type ProviderCategory = keyof typeof PROVIDER_CATEGORY_MAP;
57
57
  export declare const PROVIDER_CATEGORY_MAP: {
58
- readonly stable: readonly ["august", "avigilon_alta", "brivo", "schlage", "smartthings", "yale", "nuki", "salto", "controlbyweb", "minut", "my_2n", "kwikset", "ttlock", "noiseaware", "igloohome", "ecobee", "four_suites", "lockly", "wyze", "nest", "tedee", "seam_bridge", "honeywell_resideo", "visionline", "assa_abloy_credential_service", "latch", "akiles", "sensi"];
58
+ readonly stable: readonly ["august", "avigilon_alta", "brivo", "schlage", "smartthings", "yale", "nuki", "salto", "salto_space", "controlbyweb", "minut", "my_2n", "kwikset", "ttlock", "noiseaware", "igloohome", "ecobee", "four_suites", "lockly", "wyze", "nest", "tedee", "seam_bridge", "honeywell_resideo", "visionline", "assa_abloy_credential_service", "latch", "akiles", "sensi", "assa_abloy_vostio"];
59
59
  readonly consumer_smartlocks: readonly ["akiles", "august", "schlage", "yale", "smartthings", "nuki", "ttlock", "kwikset", "igloohome", "wyze", "lockly", "tedee"];
60
60
  readonly thermostats: readonly ["ecobee", "nest", "sensi", "honeywell_resideo"];
61
61
  readonly noise_sensors: readonly ["minut", "noiseaware"];
62
- readonly access_control_systems: readonly ["pti", "visionline", "assa_abloy_credential_service", "latch", "salto_ks", "assa_abloy_vostio", "salto_space", "assa_abloy_vostio"];
62
+ readonly access_control_systems: readonly ["pti", "visionline", "assa_abloy_credential_service", "latch", "salto_ks", "assa_abloy_vostio", "salto_space"];
63
63
  readonly internal_beta: [DeviceProviderName, ...DeviceProviderName[]];
64
64
  };
65
65
  export declare const PROVIDER_CATEGORIES: [ProviderCategory, ...ProviderCategory[]];
@@ -60,6 +60,7 @@ export const PROVIDER_CATEGORY_MAP = {
60
60
  'yale',
61
61
  'nuki',
62
62
  'salto',
63
+ 'salto_space',
63
64
  'controlbyweb',
64
65
  'minut',
65
66
  'my_2n',
@@ -80,6 +81,7 @@ export const PROVIDER_CATEGORY_MAP = {
80
81
  'latch',
81
82
  'akiles',
82
83
  'sensi',
84
+ 'assa_abloy_vostio',
83
85
  ],
84
86
  consumer_smartlocks: [
85
87
  'akiles',
@@ -105,7 +107,6 @@ export const PROVIDER_CATEGORY_MAP = {
105
107
  'salto_ks',
106
108
  'assa_abloy_vostio',
107
109
  'salto_space',
108
- 'assa_abloy_vostio',
109
110
  ],
110
111
  internal_beta: ALL_DEVICE_PROVIDERS,
111
112
  };
@@ -1 +1 @@
1
- {"version":3,"file":"device-provider.js","sourceRoot":"","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,EAAE,EAAE,CAAC,QAAQ,KAAK,eAAe,CAAQ,CAAA;AAE/E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;KAC7B,MAAM,CAAC;IACN,oBAAoB,EAAE,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC;IAClD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;CACjE,CAAC;KACD,MAAM,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC;;;;GAI/C,CAAC,CAAA"}
1
+ {"version":3,"file":"device-provider.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/device-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,mBAAmB,EAAE,qBAAqB;IAC1C,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,gBAAgB,EAAE,kBAAkB;IACpC,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,KA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AAS;QACT,WAAW;QACX,MAAM;QACN,QAAQ;QACR,OAAO;KACR;IAED,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,mBAAmB,CAAC;IAC7D,aAAa,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC;IACtC,sBAAsB,EAAE;QACtB,KAAK;QACL,YAAY;QACZ,+BAA+B;QAC/B,OAAO;QACP,UAAU;QACV,mBAAmB;QACnB,aAAa;KACd;IAED,aAAa,EAAE,oBAAoB;CAC6B,CAAA;AAElE,MAAM,CAAC,MAAM,mBAAmB,GAC9B,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAQ,CAAA;AAE3C,MAAM,CAAC,MAAM,0BAA0B,GACrC,mBAAmB,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,KAAK,eAAe,CAAQ,CAAA;AAE/E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;KAC7B,MAAM,CAAC;IACN,oBAAoB,EAAE,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC;IAClD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;CACjE,CAAC;KACD,MAAM,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC;;;;GAI/C,CAAC,CAAA"}
@@ -15882,6 +15882,11 @@ declare const _default: {
15882
15882
  format: string;
15883
15883
  type: string;
15884
15884
  };
15885
+ user_identity_id: {
15886
+ description: string;
15887
+ format: string;
15888
+ type: string;
15889
+ };
15885
15890
  };
15886
15891
  required: string[];
15887
15892
  type: string;
@@ -16860,13 +16865,22 @@ declare const _default: {
16860
16865
  'application/json': {
16861
16866
  schema: {
16862
16867
  properties: {
16868
+ acs_system_id: {
16869
+ description: string;
16870
+ format: string;
16871
+ type: string;
16872
+ };
16863
16873
  acs_user_id: {
16864
16874
  description: string;
16865
16875
  format: string;
16866
16876
  type: string;
16867
16877
  };
16878
+ user_identity_id: {
16879
+ description: string;
16880
+ format: string;
16881
+ type: string;
16882
+ };
16868
16883
  };
16869
- required: string[];
16870
16884
  type: string;
16871
16885
  };
16872
16886
  };
@@ -22068,12 +22068,17 @@ export default {
22068
22068
  type: 'string',
22069
22069
  },
22070
22070
  acs_user_id: {
22071
- description: 'ID of the access system user to whom you want to grant access to an entrance.',
22071
+ description: '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.',
22072
+ format: 'uuid',
22073
+ type: 'string',
22074
+ },
22075
+ user_identity_id: {
22076
+ description: '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.',
22072
22077
  format: 'uuid',
22073
22078
  type: 'string',
22074
22079
  },
22075
22080
  },
22076
- required: ['acs_entrance_id', 'acs_user_id'],
22081
+ required: ['acs_entrance_id'],
22077
22082
  type: 'object',
22078
22083
  },
22079
22084
  },
@@ -22825,13 +22830,22 @@ export default {
22825
22830
  'application/json': {
22826
22831
  schema: {
22827
22832
  properties: {
22833
+ acs_system_id: {
22834
+ description: 'ID of the access system for which you want to list accessible entrances. You can only provide acs_system_id with user_identity_id.',
22835
+ format: 'uuid',
22836
+ type: 'string',
22837
+ },
22828
22838
  acs_user_id: {
22829
- description: 'ID of the access system user for whom you want to list accessible entrances.',
22839
+ description: '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.',
22840
+ format: 'uuid',
22841
+ type: 'string',
22842
+ },
22843
+ user_identity_id: {
22844
+ description: 'ID of the user identity for whom you want to list accessible entrances. You can only provide acs_user_id or user_identity_id.',
22830
22845
  format: 'uuid',
22831
22846
  type: 'string',
22832
22847
  },
22833
22848
  },
22834
- required: ['acs_user_id'],
22835
22849
  type: 'object',
22836
22850
  },
22837
22851
  },
@@ -29404,7 +29418,7 @@ export default {
29404
29418
  type: 'array',
29405
29419
  },
29406
29420
  },
29407
- required: ['device_id', 'periods'],
29421
+ required: ['device_id', 'name', 'periods'],
29408
29422
  type: 'object',
29409
29423
  },
29410
29424
  },
@@ -29593,7 +29607,7 @@ export default {
29593
29607
  type: 'string',
29594
29608
  },
29595
29609
  },
29596
- required: ['thermostat_daily_program_id', 'periods'],
29610
+ required: ['thermostat_daily_program_id', 'name', 'periods'],
29597
29611
  type: 'object',
29598
29612
  },
29599
29613
  },
@@ -29671,7 +29685,7 @@ export default {
29671
29685
  type: 'string',
29672
29686
  },
29673
29687
  },
29674
- required: ['thermostat_daily_program_id', 'periods'],
29688
+ required: ['thermostat_daily_program_id', 'name', 'periods'],
29675
29689
  type: 'object',
29676
29690
  },
29677
29691
  },