@seamapi/types 1.447.0 → 1.449.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.
@@ -21832,7 +21832,8 @@ export interface Routes {
21832
21832
  user_identifier_key?: string | undefined;
21833
21833
  /** Custom metadata pairs by which you want to filter connected accounts. Returns connected accounts with `custom_metadata` that contains all of the provided key:value pairs. */
21834
21834
  custom_metadata_has?: Record<string, string | boolean> | undefined;
21835
- customer_ids?: string[] | undefined;
21835
+ /** Customer key by which you want to filter connected accounts. */
21836
+ customer_key?: string | undefined;
21836
21837
  /** String for which to search. Filters returned connected accounts to include all records that satisfy a partial match using `connected_account_id`, `account_type`, `customer_key`, `custom_metadata`, `user_identifier.username`, `user_identifier.email` or `user_identifier.phone`. */
21837
21838
  search?: string | undefined;
21838
21839
  /** Maximum number of records to return per page. */
@@ -22004,6 +22005,8 @@ export interface Routes {
22004
22005
  automatically_manage_new_devices?: boolean | undefined;
22005
22006
  /** Custom metadata that you want to associate with the connected account. Supports up to 50 JSON key:value pairs. [Adding custom metadata to a connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account) enables you to store custom information, like customer details or internal IDs from your application. Then, you can [filter connected accounts by the desired metadata](https://docs.seam.co/latest/core-concepts/connected-accounts/filtering-connected-accounts-by-custom-metadata). */
22006
22007
  custom_metadata?: Record<string, string | boolean | null> | undefined;
22008
+ /** List of accepted device capabilities that restrict the types of devices that can be connected through this connected account. Valid values are `lock`, `thermostat`, `noise_sensor`, and `access_control`. */
22009
+ accepted_capabilities?: Array<'lock' | 'thermostat' | 'noise_sensor' | 'access_control'> | undefined;
22007
22010
  };
22008
22011
  commonParams: {};
22009
22012
  formData: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.447.0",
3
+ "version": "1.449.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -36746,10 +36746,11 @@ export default {
36746
36746
  },
36747
36747
  {
36748
36748
  in: 'query',
36749
- name: 'customer_ids',
36749
+ name: 'customer_key',
36750
36750
  schema: {
36751
- items: { format: 'uuid', type: 'string' },
36752
- type: 'array',
36751
+ description:
36752
+ 'Customer key by which you want to filter connected accounts.',
36753
+ type: 'string',
36753
36754
  },
36754
36755
  },
36755
36756
  {
@@ -36838,9 +36839,10 @@ export default {
36838
36839
  'Custom metadata pairs by which you want to filter connected accounts. Returns connected accounts with `custom_metadata` that contains all of the provided key:value pairs.',
36839
36840
  type: 'object',
36840
36841
  },
36841
- customer_ids: {
36842
- items: { format: 'uuid', type: 'string' },
36843
- type: 'array',
36842
+ customer_key: {
36843
+ description:
36844
+ 'Customer key by which you want to filter connected accounts.',
36845
+ type: 'string',
36844
36846
  },
36845
36847
  limit: {
36846
36848
  default: 11_000,
@@ -36973,6 +36975,22 @@ export default {
36973
36975
  'application/json': {
36974
36976
  schema: {
36975
36977
  properties: {
36978
+ accepted_capabilities: {
36979
+ description:
36980
+ 'List of accepted device capabilities that restrict the types of devices that can be connected through this connected account. Valid values are `lock`, `thermostat`, `noise_sensor`, and `access_control`.',
36981
+ items: {
36982
+ description:
36983
+ '\n High-level device capabilities that can be restricted in connect webviews.\n These represent the main device categories that customers can opt into.\n',
36984
+ enum: [
36985
+ 'lock',
36986
+ 'thermostat',
36987
+ 'noise_sensor',
36988
+ 'access_control',
36989
+ ],
36990
+ type: 'string',
36991
+ },
36992
+ type: 'array',
36993
+ },
36976
36994
  automatically_manage_new_devices: {
36977
36995
  description:
36978
36996
  'Indicates whether newly-added devices should appear as [managed devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices).',
@@ -47088,6 +47106,7 @@ export default {
47088
47106
  { pat_with_workspace: [] },
47089
47107
  { console_session_with_workspace: [] },
47090
47108
  { api_key: [] },
47109
+ { client_session_with_customer: [] },
47091
47110
  ],
47092
47111
  summary: '/spaces/create',
47093
47112
  tags: [],
@@ -47540,6 +47559,7 @@ export default {
47540
47559
  { pat_with_workspace: [] },
47541
47560
  { console_session_with_workspace: [] },
47542
47561
  { api_key: [] },
47562
+ { client_session_with_customer: [] },
47543
47563
  ],
47544
47564
  summary: '/spaces/list',
47545
47565
  tags: [],
@@ -47600,6 +47620,7 @@ export default {
47600
47620
  { pat_with_workspace: [] },
47601
47621
  { console_session_with_workspace: [] },
47602
47622
  { api_key: [] },
47623
+ { client_session_with_customer: [] },
47603
47624
  ],
47604
47625
  summary: '/spaces/list',
47605
47626
  tags: [],
@@ -24839,7 +24839,8 @@ export interface Routes {
24839
24839
  user_identifier_key?: string | undefined
24840
24840
  /** Custom metadata pairs by which you want to filter connected accounts. Returns connected accounts with `custom_metadata` that contains all of the provided key:value pairs. */
24841
24841
  custom_metadata_has?: Record<string, string | boolean> | undefined
24842
- customer_ids?: string[] | undefined
24842
+ /** Customer key by which you want to filter connected accounts. */
24843
+ customer_key?: string | undefined
24843
24844
  /** String for which to search. Filters returned connected accounts to include all records that satisfy a partial match using `connected_account_id`, `account_type`, `customer_key`, `custom_metadata`, `user_identifier.username`, `user_identifier.email` or `user_identifier.phone`. */
24844
24845
  search?: string | undefined
24845
24846
  /** Maximum number of records to return per page. */
@@ -25024,6 +25025,10 @@ export interface Routes {
25024
25025
  automatically_manage_new_devices?: boolean | undefined
25025
25026
  /** Custom metadata that you want to associate with the connected account. Supports up to 50 JSON key:value pairs. [Adding custom metadata to a connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account) enables you to store custom information, like customer details or internal IDs from your application. Then, you can [filter connected accounts by the desired metadata](https://docs.seam.co/latest/core-concepts/connected-accounts/filtering-connected-accounts-by-custom-metadata). */
25026
25027
  custom_metadata?: Record<string, string | boolean | null> | undefined
25028
+ /** List of accepted device capabilities that restrict the types of devices that can be connected through this connected account. Valid values are `lock`, `thermostat`, `noise_sensor`, and `access_control`. */
25029
+ accepted_capabilities?:
25030
+ | Array<'lock' | 'thermostat' | 'noise_sensor' | 'access_control'>
25031
+ | undefined
25027
25032
  }
25028
25033
  commonParams: {}
25029
25034
  formData: {}