@seamapi/types 1.442.0 → 1.444.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 (89) hide show
  1. package/dist/connect.cjs +131 -2
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1935 -1913
  4. package/dist/devicedb.cjs.map +1 -1
  5. package/dist/devicedb.d.cts +27 -27
  6. package/dist/index.cjs +131 -2
  7. package/dist/index.cjs.map +1 -1
  8. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +387 -389
  9. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +173 -186
  10. package/lib/seam/connect/models/acs/acs-access-group.d.ts +18 -18
  11. package/lib/seam/connect/models/acs/acs-credential.d.ts +63 -63
  12. package/lib/seam/connect/models/acs/acs-encoder.d.ts +6 -6
  13. package/lib/seam/connect/models/acs/acs-entrance.d.ts +3 -3
  14. package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
  15. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +152 -152
  16. package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +45 -45
  17. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -354
  18. package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -15
  19. package/lib/seam/connect/models/action-attempts/common.d.ts +9 -12
  20. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -105
  21. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +54 -57
  22. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -15
  23. package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -15
  24. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -15
  25. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +54 -57
  26. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -15
  27. package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -15
  28. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -15
  29. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -15
  30. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -15
  31. package/lib/seam/connect/models/batches/batch.d.ts +128 -120
  32. package/lib/seam/connect/models/batches/spaces.d.ts +128 -120
  33. package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +24 -24
  34. package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
  35. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +78 -78
  36. package/lib/seam/connect/models/customer/access-grant-resources.d.ts +30 -30
  37. package/lib/seam/connect/models/customer/customer-data.d.ts +57 -57
  38. package/lib/seam/connect/models/customer/location-resources.d.ts +54 -54
  39. package/lib/seam/connect/models/customer/user-identity-resources.d.ts +30 -30
  40. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +3 -3
  41. package/lib/seam/connect/models/devices/device-provider.d.ts +4 -4
  42. package/lib/seam/connect/models/devices/device.d.ts +368 -376
  43. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +118 -120
  44. package/lib/seam/connect/models/events/access-codes.d.ts +136 -136
  45. package/lib/seam/connect/models/events/access-grants.d.ts +40 -40
  46. package/lib/seam/connect/models/events/access-methods.d.ts +40 -40
  47. package/lib/seam/connect/models/events/acs/access-groups.d.ts +10 -10
  48. package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
  49. package/lib/seam/connect/models/events/acs/credentials.d.ts +40 -40
  50. package/lib/seam/connect/models/events/acs/encoders.d.ts +20 -20
  51. package/lib/seam/connect/models/events/acs/entrances.d.ts +20 -20
  52. package/lib/seam/connect/models/events/acs/index.d.ts +67 -67
  53. package/lib/seam/connect/models/events/acs/systems.d.ts +24 -24
  54. package/lib/seam/connect/models/events/acs/users.d.ts +20 -20
  55. package/lib/seam/connect/models/events/action-attempts.d.ts +32 -32
  56. package/lib/seam/connect/models/events/client-sessions.d.ts +8 -8
  57. package/lib/seam/connect/models/events/connect-webviews.d.ts +16 -16
  58. package/lib/seam/connect/models/events/connected-accounts.d.ts +56 -56
  59. package/lib/seam/connect/models/events/devices.d.ts +266 -266
  60. package/lib/seam/connect/models/events/enrollment-automations.d.ts +8 -8
  61. package/lib/seam/connect/models/events/phones.d.ts +8 -8
  62. package/lib/seam/connect/models/events/seam-event.d.ts +372 -372
  63. package/lib/seam/connect/models/phones/phone-session.d.ts +50 -50
  64. package/lib/seam/connect/models/spaces/space.d.ts +6 -0
  65. package/lib/seam/connect/models/spaces/space.js +2 -0
  66. package/lib/seam/connect/models/spaces/space.js.map +1 -1
  67. package/lib/seam/connect/models/user-identities/user-identity.d.ts +18 -18
  68. package/lib/seam/connect/openapi.d.ts +50 -0
  69. package/lib/seam/connect/openapi.js +127 -0
  70. package/lib/seam/connect/openapi.js.map +1 -1
  71. package/lib/seam/connect/route-types.d.ts +36 -0
  72. package/lib/seam/devicedb/models/device-model.d.ts +15 -15
  73. package/lib/seam/devicedb/route-specs.d.ts +12 -12
  74. package/package.json +8 -7
  75. package/src/lib/seam/connect/models/spaces/space.ts +2 -0
  76. package/src/lib/seam/connect/openapi.ts +143 -0
  77. package/src/lib/seam/connect/route-types.ts +36 -0
  78. package/lib/seam/connect/internal/enums.d.ts +0 -1
  79. package/lib/seam/connect/internal/enums.js +0 -2
  80. package/lib/seam/connect/internal/enums.js.map +0 -1
  81. package/lib/seam/connect/internal/index.d.ts +0 -4
  82. package/lib/seam/connect/internal/index.js +0 -5
  83. package/lib/seam/connect/internal/index.js.map +0 -1
  84. package/lib/seam/connect/internal/model-types.d.ts +0 -2
  85. package/lib/seam/connect/internal/model-types.js +0 -2
  86. package/lib/seam/connect/internal/model-types.js.map +0 -1
  87. package/lib/seam/connect/internal/schemas.d.ts +0 -2
  88. package/lib/seam/connect/internal/schemas.js +0 -3
  89. package/lib/seam/connect/internal/schemas.js.map +0 -1
@@ -12858,6 +12858,12 @@ export interface Routes {
12858
12858
  commonParams: {
12859
12859
  /** ID of access grant to list access methods for. */
12860
12860
  access_grant_id: string
12861
+ /** ID of the device for which you want to retrieve all access methods. */
12862
+ device_id?: string | undefined
12863
+ /** ID of the entrance for which you want to retrieve all access methods. */
12864
+ acs_entrance_id?: string | undefined
12865
+ /** ID of the space for which you want to retrieve all access methods. */
12866
+ space_id?: string | undefined
12861
12867
  }
12862
12868
  formData: {}
12863
12869
  jsonResponse: {
@@ -27409,6 +27415,8 @@ export interface Routes {
27409
27415
  space_id?: string | undefined
27410
27416
  /** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`. */
27411
27417
  search?: string | undefined
27418
+ /** ID of the access method for which you want to retrieve all devices. */
27419
+ access_method_id?: string | undefined
27412
27420
  }
27413
27421
  formData: {}
27414
27422
  jsonResponse: {
@@ -29711,6 +29719,8 @@ export interface Routes {
29711
29719
  space_id?: string | undefined
29712
29720
  /** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`. */
29713
29721
  search?: string | undefined
29722
+ /** ID of the access method for which you want to retrieve all devices. */
29723
+ access_method_id?: string | undefined
29714
29724
  }
29715
29725
  formData: {}
29716
29726
  jsonResponse: {
@@ -37418,6 +37428,8 @@ export interface Routes {
37418
37428
  space_id?: string | undefined
37419
37429
  /** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`. */
37420
37430
  search?: string | undefined
37431
+ /** ID of the access method for which you want to retrieve all devices. */
37432
+ access_method_id?: string | undefined
37421
37433
  }
37422
37434
  formData: {}
37423
37435
  jsonResponse: {
@@ -46186,6 +46198,8 @@ export interface Routes {
46186
46198
  space_id?: string | undefined
46187
46199
  /** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`. */
46188
46200
  search?: string | undefined
46201
+ /** ID of the access method for which you want to retrieve all devices. */
46202
+ access_method_id?: string | undefined
46189
46203
  }
46190
46204
  formData: {}
46191
46205
  jsonResponse: {
@@ -54931,6 +54945,10 @@ export interface Routes {
54931
54945
  display_name: string
54932
54946
  /** Date and time at which the space was created. */
54933
54947
  created_at: string
54948
+ /** Number of devices in the space. */
54949
+ device_count: number
54950
+ /** Number of entrances in the space. */
54951
+ acs_entrance_count: number
54934
54952
  }
54935
54953
  }
54936
54954
  }
@@ -54969,6 +54987,10 @@ export interface Routes {
54969
54987
  display_name: string
54970
54988
  /** Date and time at which the space was created. */
54971
54989
  created_at: string
54990
+ /** Number of devices in the space. */
54991
+ device_count: number
54992
+ /** Number of entrances in the space. */
54993
+ acs_entrance_count: number
54972
54994
  }
54973
54995
  }
54974
54996
  }
@@ -55000,6 +55022,10 @@ export interface Routes {
55000
55022
  display_name: string
55001
55023
  /** Date and time at which the space was created. */
55002
55024
  created_at: string
55025
+ /** Number of devices in the space. */
55026
+ device_count: number
55027
+ /** Number of entrances in the space. */
55028
+ acs_entrance_count: number
55003
55029
  }>
55004
55030
  | undefined
55005
55031
  devices?:
@@ -56626,6 +56652,10 @@ export interface Routes {
56626
56652
  display_name: string
56627
56653
  /** Date and time at which the space was created. */
56628
56654
  created_at: string
56655
+ /** Number of devices in the space. */
56656
+ device_count: number
56657
+ /** Number of entrances in the space. */
56658
+ acs_entrance_count: number
56629
56659
  }>
56630
56660
  }
56631
56661
  }
@@ -56682,6 +56712,10 @@ export interface Routes {
56682
56712
  display_name: string
56683
56713
  /** Date and time at which the space was created. */
56684
56714
  created_at: string
56715
+ /** Number of devices in the space. */
56716
+ device_count: number
56717
+ /** Number of entrances in the space. */
56718
+ acs_entrance_count: number
56685
56719
  }
56686
56720
  }
56687
56721
  }
@@ -65592,6 +65626,8 @@ export interface Routes {
65592
65626
  space_id?: string | undefined
65593
65627
  /** String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id`, `display_name`, `custom_metadata` or `location.location_name`. */
65594
65628
  search?: string | undefined
65629
+ /** ID of the access method for which you want to retrieve all devices. */
65630
+ access_method_id?: string | undefined
65595
65631
  }
65596
65632
  formData: {}
65597
65633
  jsonResponse: {
@@ -1 +0,0 @@
1
- export { ALL_DEVICE_PROVIDERS, LOCK_DEVICE_TYPE, LOCK_DEVICE_TYPE_LIST, NOISE_SENSOR_DEVICE_TYPE, NOISE_SENSOR_DEVICE_TYPE_LIST, PHONE_DEVICE_TYPE, PROVIDER_CATEGORIES, PUBLIC_PROVIDER_CATEGORIES, THERMOSTAT_DEVICE_TYPE, THERMOSTAT_DEVICE_TYPE_LIST, } from '../models/index.js';
@@ -1,2 +0,0 @@
1
- export { ALL_DEVICE_PROVIDERS, LOCK_DEVICE_TYPE, LOCK_DEVICE_TYPE_LIST, NOISE_SENSOR_DEVICE_TYPE, NOISE_SENSOR_DEVICE_TYPE_LIST, PHONE_DEVICE_TYPE, PROVIDER_CATEGORIES, PUBLIC_PROVIDER_CATEGORIES, THERMOSTAT_DEVICE_TYPE, THERMOSTAT_DEVICE_TYPE_LIST, } from '../models/index.js';
2
- //# sourceMappingURL=enums.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/enums.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,qBAAqB,EACrB,wBAAwB,EACxB,6BAA6B,EAC7B,iBAAiB,EACjB,mBAAmB,EACnB,0BAA0B,EAC1B,sBAAsB,EACtB,2BAA2B,GAC5B,MAAM,oBAAoB,CAAA"}
@@ -1,4 +0,0 @@
1
- import * as schemas from './schemas.js';
2
- export * from './enums.js';
3
- export { schemas };
4
- export * from './model-types.js';
@@ -1,5 +0,0 @@
1
- import * as schemas from './schemas.js';
2
- export * from './enums.js';
3
- export { schemas };
4
- export * from './model-types.js';
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AAEvC,cAAc,YAAY,CAAA;AAE1B,OAAO,EAAE,OAAO,EAAE,CAAA;AAClB,cAAc,kBAAkB,CAAA"}
@@ -1,2 +0,0 @@
1
- export type { AccessCode as ManagedAccessCode, Device as ManagedDevice, } from '../models/index.js';
2
- export * from '../models/index.js';
@@ -1,2 +0,0 @@
1
- export * from '../models/index.js';
2
- //# sourceMappingURL=model-types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"model-types.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/model-types.ts"],"names":[],"mappings":"AAIA,cAAc,oBAAoB,CAAA"}
@@ -1,2 +0,0 @@
1
- export { access_code_code_constraint, access_grant, access_grant_key_aliases, access_grant_resource, access_grant_resource_union, access_method, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_entrance_capability_flags, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, booking_resource, bridge, bridge_client_session, bridge_connected_system, building_block_type, building_resource, capabilities, climate_preset, climate_setting, common_area_resource, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, customer_data, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, facility_resource, fan_mode_setting, geolocation, guest_resource, instant_key, listing_resource, location, lock_device_type, magic_link, access_code as managed_access_code, device as managed_device, neutral_resource, noise_sensor_device_type, noise_threshold, pagination, phone, phone_number, phone_registration, phone_session, portal_configuration, property_resource, provider_capability, reservation_resource, resident_resource, room_resource, space, neutral_resource as space_resource, spaces_batch, tenant_resource, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, unit_resource, unmanaged_access_code, unmanaged_device, user_identity, user_identity_resource, user_resource, webhook, } from '../models/index.js';
2
- export * from '../schemas.js';
@@ -1,3 +0,0 @@
1
- export { access_code_code_constraint, access_grant, access_grant_key_aliases, access_grant_resource, access_grant_resource_union, access_method, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_entrance_capability_flags, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, booking_resource, bridge, bridge_client_session, bridge_connected_system, building_block_type, building_resource, capabilities, climate_preset, climate_setting, common_area_resource, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, customer_data, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, facility_resource, fan_mode_setting, geolocation, guest_resource, instant_key, listing_resource, location, lock_device_type, magic_link, access_code as managed_access_code, device as managed_device, neutral_resource, noise_sensor_device_type, noise_threshold, pagination, phone, phone_number, phone_registration, phone_session, portal_configuration, property_resource, provider_capability, reservation_resource, resident_resource, room_resource, space, neutral_resource as space_resource, spaces_batch, tenant_resource, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, unit_resource, unmanaged_access_code, unmanaged_device, user_identity, user_identity_resource, user_resource, webhook, } from '../models/index.js';
2
- export * from '../schemas.js';
3
- //# sourceMappingURL=schemas.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,YAAY,EACZ,wBAAwB,EACxB,qBAAqB,EACrB,2BAA2B,EAC3B,aAAa,EACb,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,iCAAiC,EACjC,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,6BAA6B,EAC7B,UAAU,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,MAAM,EACN,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EACZ,cAAc,EACd,eAAe,EACf,oBAAoB,EACpB,wBAAwB,EACxB,YAAY,EACZ,qCAAqC,EACrC,iBAAiB,EACjB,qBAAqB,EACrB,aAAa,EACb,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,UAAU,IAAI,KAAK,EACnB,eAAe,IAAI,UAAU,EAC7B,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,EACX,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,QAAQ,EACR,gBAAgB,EAChB,UAAU,EACV,WAAW,IAAI,mBAAmB,EAClC,MAAM,IAAI,cAAc,EACxB,gBAAgB,EAChB,wBAAwB,EACxB,eAAe,EACf,UAAU,EACV,KAAK,EACL,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,oBAAoB,EACpB,iBAAiB,EACjB,aAAa,EACb,KAAK,EACL,gBAAgB,IAAI,cAAc,EAClC,YAAY,EACZ,eAAe,EACf,gCAAgC,EAChC,sBAAsB,EACtB,mBAAmB,EACnB,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,sBAAsB,EACtB,aAAa,EACb,OAAO,GACR,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}