@seamapi/types 1.401.0 → 1.403.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.
- package/dist/connect.cjs +652 -12
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +839 -69
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -2
- package/lib/seam/connect/models/devices/device-provider.js +2 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/index.d.ts +1 -0
- package/lib/seam/connect/models/index.js +1 -0
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/models/phones/index.d.ts +2 -0
- package/lib/seam/connect/models/phones/index.js +3 -0
- package/lib/seam/connect/models/phones/index.js.map +1 -0
- package/lib/seam/connect/models/phones/phone-registration.d.ts +18 -0
- package/lib/seam/connect/models/phones/phone-registration.js +13 -0
- package/lib/seam/connect/models/phones/phone-registration.js.map +1 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +2060 -0
- package/lib/seam/connect/models/phones/phone-session.js +21 -0
- package/lib/seam/connect/models/phones/phone-session.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +561 -0
- package/lib/seam/connect/openapi.js +648 -9
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +215 -6
- package/package.json +2 -2
- package/src/lib/seam/connect/internal/schemas.ts +2 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/models/phones/index.ts +2 -0
- package/src/lib/seam/connect/models/phones/phone-registration.ts +15 -0
- package/src/lib/seam/connect/models/phones/phone-session.ts +27 -0
- package/src/lib/seam/connect/openapi.ts +715 -9
- package/src/lib/seam/connect/route-types.ts +269 -6
|
@@ -13847,6 +13847,572 @@ export default {
|
|
|
13847
13847
|
type: 'object',
|
|
13848
13848
|
'x-route-path': '/phones',
|
|
13849
13849
|
},
|
|
13850
|
+
phone_registration: {
|
|
13851
|
+
properties: {
|
|
13852
|
+
is_being_activated: { type: 'boolean' },
|
|
13853
|
+
phone_registration_id: { type: 'string' },
|
|
13854
|
+
provider_name: { nullable: true, type: 'string' },
|
|
13855
|
+
provider_state: {},
|
|
13856
|
+
},
|
|
13857
|
+
required: [
|
|
13858
|
+
'phone_registration_id',
|
|
13859
|
+
'provider_name',
|
|
13860
|
+
'is_being_activated',
|
|
13861
|
+
],
|
|
13862
|
+
type: 'object',
|
|
13863
|
+
'x-route-path': '/seam/mobile_sdk/v1/phone_sessions',
|
|
13864
|
+
'x-undocumented': 'Seam Mobile SDK only.',
|
|
13865
|
+
},
|
|
13866
|
+
phone_session: {
|
|
13867
|
+
properties: {
|
|
13868
|
+
provider_sessions: {
|
|
13869
|
+
items: {
|
|
13870
|
+
properties: {
|
|
13871
|
+
acs_credentials: {
|
|
13872
|
+
items: {
|
|
13873
|
+
description: 'Means by which an [access control system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) gains access at an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). The `acs_credential` object represents a [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) that provides an ACS user access within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).\n\nAn access control system generally uses digital means of access to authorize a user trying to get through a specific entrance. Examples of credentials include plastic key cards, mobile keys, biometric identifiers, and PIN codes. The electronic nature of these credentials, as well as the fact that access is centralized, enables both the rapid provisioning and rescinding of access and the ability to compile access audit logs.\n\nFor each `acs_credential`, you define the access method. You can also specify additional properties, such as a PIN code, depending on the credential type.',
|
|
13874
|
+
properties: {
|
|
13875
|
+
access_method: {
|
|
13876
|
+
description: 'Access method for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials). Supported values: `code`, `card`, `mobile_key`.',
|
|
13877
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
13878
|
+
type: 'string',
|
|
13879
|
+
},
|
|
13880
|
+
acs_credential_id: {
|
|
13881
|
+
description: 'ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).',
|
|
13882
|
+
format: 'uuid',
|
|
13883
|
+
type: 'string',
|
|
13884
|
+
},
|
|
13885
|
+
acs_credential_pool_id: {
|
|
13886
|
+
format: 'uuid',
|
|
13887
|
+
type: 'string',
|
|
13888
|
+
},
|
|
13889
|
+
acs_entrances: {
|
|
13890
|
+
items: {
|
|
13891
|
+
description: 'Represents an [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).\n\nIn an access control system, an entrance is a secured door, gate, zone, or other method of entry. You can list details for all the `acs_entrance` resources in your workspace or get these details for a specific `acs_entrance`. You can also list all entrances associated with a specific credential, and you can list all credentials associated with a specific entrance.',
|
|
13892
|
+
properties: {
|
|
13893
|
+
acs_entrance_id: {
|
|
13894
|
+
description: 'ID of the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
13895
|
+
format: 'uuid',
|
|
13896
|
+
type: 'string',
|
|
13897
|
+
},
|
|
13898
|
+
acs_system_id: {
|
|
13899
|
+
description: 'ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
13900
|
+
format: 'uuid',
|
|
13901
|
+
type: 'string',
|
|
13902
|
+
},
|
|
13903
|
+
assa_abloy_vostio_metadata: {
|
|
13904
|
+
description: 'ASSA ABLOY Vostio-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
13905
|
+
properties: {
|
|
13906
|
+
door_name: { type: 'string' },
|
|
13907
|
+
door_number: {
|
|
13908
|
+
format: 'float',
|
|
13909
|
+
type: 'number',
|
|
13910
|
+
},
|
|
13911
|
+
door_type: {
|
|
13912
|
+
enum: [
|
|
13913
|
+
'CommonDoor',
|
|
13914
|
+
'EntranceDoor',
|
|
13915
|
+
'GuestDoor',
|
|
13916
|
+
'Elevator',
|
|
13917
|
+
],
|
|
13918
|
+
type: 'string',
|
|
13919
|
+
},
|
|
13920
|
+
pms_id: { type: 'string' },
|
|
13921
|
+
stand_open: { type: 'boolean' },
|
|
13922
|
+
},
|
|
13923
|
+
required: ['door_type', 'door_name'],
|
|
13924
|
+
type: 'object',
|
|
13925
|
+
},
|
|
13926
|
+
created_at: {
|
|
13927
|
+
description: 'Date and time at which the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details) was created.',
|
|
13928
|
+
format: 'date-time',
|
|
13929
|
+
type: 'string',
|
|
13930
|
+
},
|
|
13931
|
+
display_name: {
|
|
13932
|
+
description: 'Display name for the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
13933
|
+
type: 'string',
|
|
13934
|
+
},
|
|
13935
|
+
dormakaba_community_metadata: {
|
|
13936
|
+
description: 'dormakaba Community-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
13937
|
+
properties: {
|
|
13938
|
+
access_point_name: { type: 'string' },
|
|
13939
|
+
},
|
|
13940
|
+
required: ['access_point_name'],
|
|
13941
|
+
type: 'object',
|
|
13942
|
+
},
|
|
13943
|
+
errors: {
|
|
13944
|
+
description: 'Errors associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
13945
|
+
items: {
|
|
13946
|
+
properties: {
|
|
13947
|
+
error_code: {
|
|
13948
|
+
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
13949
|
+
type: 'string',
|
|
13950
|
+
},
|
|
13951
|
+
message: {
|
|
13952
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
13953
|
+
type: 'string',
|
|
13954
|
+
},
|
|
13955
|
+
},
|
|
13956
|
+
required: ['error_code', 'message'],
|
|
13957
|
+
type: 'object',
|
|
13958
|
+
},
|
|
13959
|
+
type: 'array',
|
|
13960
|
+
},
|
|
13961
|
+
latch_metadata: {
|
|
13962
|
+
description: 'Latch-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
13963
|
+
properties: {
|
|
13964
|
+
accessibility_type: { type: 'string' },
|
|
13965
|
+
door_name: { type: 'string' },
|
|
13966
|
+
door_type: { type: 'string' },
|
|
13967
|
+
is_connected: { type: 'boolean' },
|
|
13968
|
+
},
|
|
13969
|
+
required: [
|
|
13970
|
+
'accessibility_type',
|
|
13971
|
+
'door_name',
|
|
13972
|
+
'door_type',
|
|
13973
|
+
'is_connected',
|
|
13974
|
+
],
|
|
13975
|
+
type: 'object',
|
|
13976
|
+
},
|
|
13977
|
+
salto_ks_metadata: {
|
|
13978
|
+
description: 'Salto KS-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
13979
|
+
properties: {
|
|
13980
|
+
battery_level: { type: 'string' },
|
|
13981
|
+
door_name: { type: 'string' },
|
|
13982
|
+
intrusion_alarm: { type: 'boolean' },
|
|
13983
|
+
left_open_alarm: { type: 'boolean' },
|
|
13984
|
+
lock_type: { type: 'string' },
|
|
13985
|
+
locked_state: { type: 'string' },
|
|
13986
|
+
online: { type: 'boolean' },
|
|
13987
|
+
privacy_mode: { type: 'boolean' },
|
|
13988
|
+
},
|
|
13989
|
+
required: [
|
|
13990
|
+
'door_name',
|
|
13991
|
+
'locked_state',
|
|
13992
|
+
'lock_type',
|
|
13993
|
+
'battery_level',
|
|
13994
|
+
],
|
|
13995
|
+
type: 'object',
|
|
13996
|
+
},
|
|
13997
|
+
salto_space_metadata: {
|
|
13998
|
+
description: 'Salto Space-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
13999
|
+
properties: {
|
|
14000
|
+
door_description: { type: 'string' },
|
|
14001
|
+
door_name: { type: 'string' },
|
|
14002
|
+
ext_door_id: { type: 'string' },
|
|
14003
|
+
},
|
|
14004
|
+
required: ['door_name', 'ext_door_id'],
|
|
14005
|
+
type: 'object',
|
|
14006
|
+
},
|
|
14007
|
+
visionline_metadata: {
|
|
14008
|
+
description: 'Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details).',
|
|
14009
|
+
properties: {
|
|
14010
|
+
door_category: {
|
|
14011
|
+
enum: [
|
|
14012
|
+
'entrance',
|
|
14013
|
+
'guest',
|
|
14014
|
+
'elevator reader',
|
|
14015
|
+
'common',
|
|
14016
|
+
'common (PMS)',
|
|
14017
|
+
],
|
|
14018
|
+
type: 'string',
|
|
14019
|
+
},
|
|
14020
|
+
door_name: { type: 'string' },
|
|
14021
|
+
profiles: {
|
|
14022
|
+
items: {
|
|
14023
|
+
properties: {
|
|
14024
|
+
visionline_door_profile_id: {
|
|
14025
|
+
type: 'string',
|
|
14026
|
+
},
|
|
14027
|
+
visionline_door_profile_type: {
|
|
14028
|
+
enum: ['BLE', 'commonDoor', 'touch'],
|
|
14029
|
+
type: 'string',
|
|
14030
|
+
},
|
|
14031
|
+
},
|
|
14032
|
+
required: [
|
|
14033
|
+
'visionline_door_profile_id',
|
|
14034
|
+
'visionline_door_profile_type',
|
|
14035
|
+
],
|
|
14036
|
+
type: 'object',
|
|
14037
|
+
},
|
|
14038
|
+
type: 'array',
|
|
14039
|
+
},
|
|
14040
|
+
},
|
|
14041
|
+
required: ['door_name', 'door_category'],
|
|
14042
|
+
type: 'object',
|
|
14043
|
+
},
|
|
14044
|
+
},
|
|
14045
|
+
required: [
|
|
14046
|
+
'acs_system_id',
|
|
14047
|
+
'acs_entrance_id',
|
|
14048
|
+
'created_at',
|
|
14049
|
+
'display_name',
|
|
14050
|
+
'errors',
|
|
14051
|
+
],
|
|
14052
|
+
type: 'object',
|
|
14053
|
+
'x-route-path': '/acs/entrances',
|
|
14054
|
+
},
|
|
14055
|
+
type: 'array',
|
|
14056
|
+
},
|
|
14057
|
+
acs_system_id: {
|
|
14058
|
+
description: 'ID of the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).',
|
|
14059
|
+
format: 'uuid',
|
|
14060
|
+
type: 'string',
|
|
14061
|
+
},
|
|
14062
|
+
acs_user_id: {
|
|
14063
|
+
description: 'ID of the [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to whom the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) belongs.',
|
|
14064
|
+
format: 'uuid',
|
|
14065
|
+
type: 'string',
|
|
14066
|
+
},
|
|
14067
|
+
assa_abloy_vostio_metadata: {
|
|
14068
|
+
description: 'Vostio-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).',
|
|
14069
|
+
properties: {
|
|
14070
|
+
auto_join: { type: 'boolean' },
|
|
14071
|
+
door_names: {
|
|
14072
|
+
items: { type: 'string' },
|
|
14073
|
+
type: 'array',
|
|
14074
|
+
},
|
|
14075
|
+
endpoint_id: { type: 'string' },
|
|
14076
|
+
key_id: { type: 'string' },
|
|
14077
|
+
key_issuing_request_id: { type: 'string' },
|
|
14078
|
+
override_guest_acs_entrance_ids: {
|
|
14079
|
+
items: { type: 'string' },
|
|
14080
|
+
type: 'array',
|
|
14081
|
+
},
|
|
14082
|
+
},
|
|
14083
|
+
type: 'object',
|
|
14084
|
+
},
|
|
14085
|
+
card_number: {
|
|
14086
|
+
description: 'Number of the card associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).',
|
|
14087
|
+
nullable: true,
|
|
14088
|
+
type: 'string',
|
|
14089
|
+
},
|
|
14090
|
+
code: {
|
|
14091
|
+
description: 'Access (PIN) code for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).',
|
|
14092
|
+
nullable: true,
|
|
14093
|
+
type: 'string',
|
|
14094
|
+
},
|
|
14095
|
+
created_at: {
|
|
14096
|
+
description: 'Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was created.',
|
|
14097
|
+
format: 'date-time',
|
|
14098
|
+
type: 'string',
|
|
14099
|
+
},
|
|
14100
|
+
display_name: {
|
|
14101
|
+
description: 'Display name that corresponds to the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type.',
|
|
14102
|
+
minLength: 1,
|
|
14103
|
+
type: 'string',
|
|
14104
|
+
},
|
|
14105
|
+
ends_at: {
|
|
14106
|
+
description: 'Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity 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`.',
|
|
14107
|
+
type: 'string',
|
|
14108
|
+
},
|
|
14109
|
+
errors: {
|
|
14110
|
+
description: 'Errors associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).',
|
|
14111
|
+
items: {
|
|
14112
|
+
properties: {
|
|
14113
|
+
error_code: { type: 'string' },
|
|
14114
|
+
message: { type: 'string' },
|
|
14115
|
+
},
|
|
14116
|
+
required: ['error_code', 'message'],
|
|
14117
|
+
type: 'object',
|
|
14118
|
+
},
|
|
14119
|
+
type: 'array',
|
|
14120
|
+
},
|
|
14121
|
+
external_type: {
|
|
14122
|
+
description: 'Brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type. Supported values: `pti_card`, `brivo_credential`, `hid_credential`, `visionline_card`.',
|
|
14123
|
+
enum: [
|
|
14124
|
+
'pti_card',
|
|
14125
|
+
'brivo_credential',
|
|
14126
|
+
'hid_credential',
|
|
14127
|
+
'visionline_card',
|
|
14128
|
+
'salto_ks_credential',
|
|
14129
|
+
'assa_abloy_vostio_key',
|
|
14130
|
+
'salto_space_key',
|
|
14131
|
+
'latch_access',
|
|
14132
|
+
],
|
|
14133
|
+
type: 'string',
|
|
14134
|
+
},
|
|
14135
|
+
external_type_display_name: {
|
|
14136
|
+
description: 'Display name that corresponds to the brand-specific terminology for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) type.',
|
|
14137
|
+
type: 'string',
|
|
14138
|
+
},
|
|
14139
|
+
is_issued: {
|
|
14140
|
+
description: 'Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been encoded onto a card.',
|
|
14141
|
+
type: 'boolean',
|
|
14142
|
+
},
|
|
14143
|
+
is_latest_desired_state_synced_with_provider: {
|
|
14144
|
+
description: 'Indicates whether the latest state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) has been synced from Seam to the provider.',
|
|
14145
|
+
nullable: true,
|
|
14146
|
+
type: 'boolean',
|
|
14147
|
+
},
|
|
14148
|
+
is_managed: { enum: [true], type: 'boolean' },
|
|
14149
|
+
is_multi_phone_sync_credential: {
|
|
14150
|
+
description: 'Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is a [multi-phone sync credential](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).',
|
|
14151
|
+
type: 'boolean',
|
|
14152
|
+
},
|
|
14153
|
+
is_one_time_use: {
|
|
14154
|
+
description: 'Indicates whether the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) can only be used once. If `true`, the code becomes invalid after the first use.',
|
|
14155
|
+
type: 'boolean',
|
|
14156
|
+
},
|
|
14157
|
+
issued_at: {
|
|
14158
|
+
description: 'Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was encoded onto a card.',
|
|
14159
|
+
format: 'date-time',
|
|
14160
|
+
nullable: true,
|
|
14161
|
+
type: 'string',
|
|
14162
|
+
},
|
|
14163
|
+
latest_desired_state_synced_with_provider_at: {
|
|
14164
|
+
description: 'Date and time at which the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was most recently synced from Seam to the provider.',
|
|
14165
|
+
format: 'date-time',
|
|
14166
|
+
nullable: true,
|
|
14167
|
+
type: 'string',
|
|
14168
|
+
},
|
|
14169
|
+
parent_acs_credential_id: {
|
|
14170
|
+
description: 'ID of the parent [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).',
|
|
14171
|
+
format: 'uuid',
|
|
14172
|
+
type: 'string',
|
|
14173
|
+
},
|
|
14174
|
+
starts_at: {
|
|
14175
|
+
description: 'Date and time at which the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) validity starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
|
|
14176
|
+
type: 'string',
|
|
14177
|
+
},
|
|
14178
|
+
visionline_metadata: {
|
|
14179
|
+
description: 'Visionline-specific metadata for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).',
|
|
14180
|
+
properties: {
|
|
14181
|
+
auto_join: { type: 'boolean' },
|
|
14182
|
+
card_function_type: {
|
|
14183
|
+
enum: ['guest', 'staff'],
|
|
14184
|
+
type: 'string',
|
|
14185
|
+
},
|
|
14186
|
+
card_id: { type: 'string' },
|
|
14187
|
+
common_acs_entrance_ids: {
|
|
14188
|
+
items: { format: 'uuid', type: 'string' },
|
|
14189
|
+
type: 'array',
|
|
14190
|
+
},
|
|
14191
|
+
credential_id: { type: 'string' },
|
|
14192
|
+
guest_acs_entrance_ids: {
|
|
14193
|
+
items: { format: 'uuid', type: 'string' },
|
|
14194
|
+
type: 'array',
|
|
14195
|
+
},
|
|
14196
|
+
is_valid: { type: 'boolean' },
|
|
14197
|
+
joiner_acs_credential_ids: {
|
|
14198
|
+
items: { format: 'uuid', type: 'string' },
|
|
14199
|
+
type: 'array',
|
|
14200
|
+
},
|
|
14201
|
+
},
|
|
14202
|
+
required: ['card_function_type'],
|
|
14203
|
+
type: 'object',
|
|
14204
|
+
},
|
|
14205
|
+
warnings: {
|
|
14206
|
+
description: 'Warnings associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).',
|
|
14207
|
+
items: {
|
|
14208
|
+
description: 'Warning associated with the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).',
|
|
14209
|
+
discriminator: { propertyName: 'warning_code' },
|
|
14210
|
+
oneOf: [
|
|
14211
|
+
{
|
|
14212
|
+
description: 'Indicates that the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is waiting to be issued.',
|
|
14213
|
+
properties: {
|
|
14214
|
+
created_at: {
|
|
14215
|
+
description: 'Date and time at which Seam created the warning.',
|
|
14216
|
+
format: 'date-time',
|
|
14217
|
+
type: 'string',
|
|
14218
|
+
},
|
|
14219
|
+
message: {
|
|
14220
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
14221
|
+
type: 'string',
|
|
14222
|
+
},
|
|
14223
|
+
warning_code: {
|
|
14224
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
14225
|
+
enum: ['waiting_to_be_issued'],
|
|
14226
|
+
type: 'string',
|
|
14227
|
+
},
|
|
14228
|
+
},
|
|
14229
|
+
required: [
|
|
14230
|
+
'created_at',
|
|
14231
|
+
'message',
|
|
14232
|
+
'warning_code',
|
|
14233
|
+
],
|
|
14234
|
+
type: 'object',
|
|
14235
|
+
},
|
|
14236
|
+
{
|
|
14237
|
+
description: "Indicates that the schedule of one of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials)'s children was modified externally.",
|
|
14238
|
+
properties: {
|
|
14239
|
+
created_at: {
|
|
14240
|
+
description: 'Date and time at which Seam created the warning.',
|
|
14241
|
+
format: 'date-time',
|
|
14242
|
+
type: 'string',
|
|
14243
|
+
},
|
|
14244
|
+
message: {
|
|
14245
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
14246
|
+
type: 'string',
|
|
14247
|
+
},
|
|
14248
|
+
warning_code: {
|
|
14249
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
14250
|
+
enum: ['schedule_externally_modified'],
|
|
14251
|
+
type: 'string',
|
|
14252
|
+
},
|
|
14253
|
+
},
|
|
14254
|
+
required: [
|
|
14255
|
+
'created_at',
|
|
14256
|
+
'message',
|
|
14257
|
+
'warning_code',
|
|
14258
|
+
],
|
|
14259
|
+
type: 'object',
|
|
14260
|
+
},
|
|
14261
|
+
{
|
|
14262
|
+
description: 'Indicates that the schedule of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) was modified to avoid creating a credential with a start date in the past.',
|
|
14263
|
+
properties: {
|
|
14264
|
+
created_at: {
|
|
14265
|
+
description: 'Date and time at which Seam created the warning.',
|
|
14266
|
+
format: 'date-time',
|
|
14267
|
+
type: 'string',
|
|
14268
|
+
},
|
|
14269
|
+
message: {
|
|
14270
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
14271
|
+
type: 'string',
|
|
14272
|
+
},
|
|
14273
|
+
warning_code: {
|
|
14274
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
14275
|
+
enum: ['schedule_modified'],
|
|
14276
|
+
type: 'string',
|
|
14277
|
+
},
|
|
14278
|
+
},
|
|
14279
|
+
required: [
|
|
14280
|
+
'created_at',
|
|
14281
|
+
'message',
|
|
14282
|
+
'warning_code',
|
|
14283
|
+
],
|
|
14284
|
+
type: 'object',
|
|
14285
|
+
},
|
|
14286
|
+
{
|
|
14287
|
+
description: 'Indicates that the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) is being deleted.',
|
|
14288
|
+
properties: {
|
|
14289
|
+
created_at: {
|
|
14290
|
+
description: 'Date and time at which Seam created the warning.',
|
|
14291
|
+
format: 'date-time',
|
|
14292
|
+
type: 'string',
|
|
14293
|
+
},
|
|
14294
|
+
message: {
|
|
14295
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
14296
|
+
type: 'string',
|
|
14297
|
+
},
|
|
14298
|
+
warning_code: {
|
|
14299
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
14300
|
+
enum: ['being_deleted'],
|
|
14301
|
+
type: 'string',
|
|
14302
|
+
},
|
|
14303
|
+
},
|
|
14304
|
+
required: [
|
|
14305
|
+
'created_at',
|
|
14306
|
+
'message',
|
|
14307
|
+
'warning_code',
|
|
14308
|
+
],
|
|
14309
|
+
type: 'object',
|
|
14310
|
+
},
|
|
14311
|
+
{
|
|
14312
|
+
description: 'An unknown issue occurred while syncing the state of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) with the provider. This issue may affect the proper functioning of the credential.',
|
|
14313
|
+
properties: {
|
|
14314
|
+
created_at: {
|
|
14315
|
+
description: 'Date and time at which Seam created the warning.',
|
|
14316
|
+
format: 'date-time',
|
|
14317
|
+
type: 'string',
|
|
14318
|
+
},
|
|
14319
|
+
message: {
|
|
14320
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
14321
|
+
type: 'string',
|
|
14322
|
+
},
|
|
14323
|
+
warning_code: {
|
|
14324
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
14325
|
+
enum: ['unknown_issue_with_acs_credential'],
|
|
14326
|
+
type: 'string',
|
|
14327
|
+
},
|
|
14328
|
+
},
|
|
14329
|
+
required: [
|
|
14330
|
+
'created_at',
|
|
14331
|
+
'message',
|
|
14332
|
+
'warning_code',
|
|
14333
|
+
],
|
|
14334
|
+
type: 'object',
|
|
14335
|
+
},
|
|
14336
|
+
{
|
|
14337
|
+
description: 'Access permissions for the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) the credential. This issue may affect the proper functioning of the credential.',
|
|
14338
|
+
properties: {
|
|
14339
|
+
created_at: {
|
|
14340
|
+
description: 'Date and time at which Seam created the warning.',
|
|
14341
|
+
format: 'date-time',
|
|
14342
|
+
type: 'string',
|
|
14343
|
+
},
|
|
14344
|
+
message: {
|
|
14345
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
14346
|
+
type: 'string',
|
|
14347
|
+
},
|
|
14348
|
+
warning_code: {
|
|
14349
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
14350
|
+
enum: ['needs_to_be_reissued'],
|
|
14351
|
+
type: 'string',
|
|
14352
|
+
},
|
|
14353
|
+
},
|
|
14354
|
+
required: [
|
|
14355
|
+
'created_at',
|
|
14356
|
+
'message',
|
|
14357
|
+
'warning_code',
|
|
14358
|
+
],
|
|
14359
|
+
type: 'object',
|
|
14360
|
+
},
|
|
14361
|
+
],
|
|
14362
|
+
},
|
|
14363
|
+
type: 'array',
|
|
14364
|
+
},
|
|
14365
|
+
workspace_id: {
|
|
14366
|
+
description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials).',
|
|
14367
|
+
format: 'uuid',
|
|
14368
|
+
type: 'string',
|
|
14369
|
+
},
|
|
14370
|
+
},
|
|
14371
|
+
required: [
|
|
14372
|
+
'acs_credential_id',
|
|
14373
|
+
'acs_system_id',
|
|
14374
|
+
'display_name',
|
|
14375
|
+
'access_method',
|
|
14376
|
+
'created_at',
|
|
14377
|
+
'workspace_id',
|
|
14378
|
+
'errors',
|
|
14379
|
+
'warnings',
|
|
14380
|
+
'is_managed',
|
|
14381
|
+
'acs_entrances',
|
|
14382
|
+
],
|
|
14383
|
+
type: 'object',
|
|
14384
|
+
'x-route-path': '/acs/credentials',
|
|
14385
|
+
},
|
|
14386
|
+
type: 'array',
|
|
14387
|
+
},
|
|
14388
|
+
phone_registration: {
|
|
14389
|
+
properties: {
|
|
14390
|
+
is_being_activated: { type: 'boolean' },
|
|
14391
|
+
phone_registration_id: { type: 'string' },
|
|
14392
|
+
provider_name: { nullable: true, type: 'string' },
|
|
14393
|
+
provider_state: {},
|
|
14394
|
+
},
|
|
14395
|
+
required: [
|
|
14396
|
+
'phone_registration_id',
|
|
14397
|
+
'provider_name',
|
|
14398
|
+
'is_being_activated',
|
|
14399
|
+
],
|
|
14400
|
+
type: 'object',
|
|
14401
|
+
'x-route-path': '/seam/mobile_sdk/v1/phone_sessions',
|
|
14402
|
+
'x-undocumented': 'Seam Mobile SDK only.',
|
|
14403
|
+
},
|
|
14404
|
+
},
|
|
14405
|
+
required: ['phone_registration', 'acs_credentials'],
|
|
14406
|
+
type: 'object',
|
|
14407
|
+
},
|
|
14408
|
+
type: 'array',
|
|
14409
|
+
},
|
|
14410
|
+
},
|
|
14411
|
+
required: ['provider_sessions'],
|
|
14412
|
+
type: 'object',
|
|
14413
|
+
'x-route-path': '/seam/mobile_sdk/v1/phone_sessions',
|
|
14414
|
+
'x-undocumented': 'Seam Mobile SDK only.',
|
|
14415
|
+
},
|
|
13850
14416
|
thermostat_schedule: {
|
|
13851
14417
|
description: 'Represents a [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that activates a configured [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) on a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) at a specified starting time and deactivates the climate preset at a specified ending time.',
|
|
13852
14418
|
properties: {
|
|
@@ -20373,12 +20939,17 @@ export default {
|
|
|
20373
20939
|
type: 'string',
|
|
20374
20940
|
},
|
|
20375
20941
|
acs_user_id: {
|
|
20376
|
-
description: 'ID of the access system user from which you want to unassign a credential.',
|
|
20942
|
+
description: 'ID of the access system user from which you want to unassign a credential. You can only provide one of acs_user_id or user_identity_id.',
|
|
20943
|
+
format: 'uuid',
|
|
20944
|
+
type: 'string',
|
|
20945
|
+
},
|
|
20946
|
+
user_identity_id: {
|
|
20947
|
+
description: 'ID of the user identity from which you want to unassign a credential. You can only provide one of acs_user_id or user_identity_id.',
|
|
20377
20948
|
format: 'uuid',
|
|
20378
20949
|
type: 'string',
|
|
20379
20950
|
},
|
|
20380
20951
|
},
|
|
20381
|
-
required: ['
|
|
20952
|
+
required: ['acs_credential_id'],
|
|
20382
20953
|
type: 'object',
|
|
20383
20954
|
},
|
|
20384
20955
|
},
|
|
@@ -20430,12 +21001,17 @@ export default {
|
|
|
20430
21001
|
type: 'string',
|
|
20431
21002
|
},
|
|
20432
21003
|
acs_user_id: {
|
|
20433
|
-
description: 'ID of the access system user from which you want to unassign a credential.',
|
|
21004
|
+
description: 'ID of the access system user from which you want to unassign a credential. You can only provide one of acs_user_id or user_identity_id.',
|
|
21005
|
+
format: 'uuid',
|
|
21006
|
+
type: 'string',
|
|
21007
|
+
},
|
|
21008
|
+
user_identity_id: {
|
|
21009
|
+
description: 'ID of the user identity from which you want to unassign a credential. You can only provide one of acs_user_id or user_identity_id.',
|
|
20434
21010
|
format: 'uuid',
|
|
20435
21011
|
type: 'string',
|
|
20436
21012
|
},
|
|
20437
21013
|
},
|
|
20438
|
-
required: ['
|
|
21014
|
+
required: ['acs_credential_id'],
|
|
20439
21015
|
type: 'object',
|
|
20440
21016
|
},
|
|
20441
21017
|
},
|
|
@@ -21492,12 +22068,17 @@ export default {
|
|
|
21492
22068
|
type: 'string',
|
|
21493
22069
|
},
|
|
21494
22070
|
acs_user_id: {
|
|
21495
|
-
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.',
|
|
21496
22077
|
format: 'uuid',
|
|
21497
22078
|
type: 'string',
|
|
21498
22079
|
},
|
|
21499
22080
|
},
|
|
21500
|
-
required: ['acs_entrance_id'
|
|
22081
|
+
required: ['acs_entrance_id'],
|
|
21501
22082
|
type: 'object',
|
|
21502
22083
|
},
|
|
21503
22084
|
},
|
|
@@ -28499,6 +29080,64 @@ export default {
|
|
|
28499
29080
|
'x-undocumented': 'Mobile SDK only.',
|
|
28500
29081
|
},
|
|
28501
29082
|
},
|
|
29083
|
+
'/seam/mobile_sdk/v1/phone_sessions/get_or_create': {
|
|
29084
|
+
post: {
|
|
29085
|
+
description: 'Get or create a session for a mobile SDK phone.',
|
|
29086
|
+
operationId: 'seamMobileSdkV1PhoneSessionsGetOrCreatePost',
|
|
29087
|
+
requestBody: {
|
|
29088
|
+
content: {
|
|
29089
|
+
'application/json': {
|
|
29090
|
+
schema: {
|
|
29091
|
+
properties: {
|
|
29092
|
+
custom_sdk_installation_id: { type: 'string' },
|
|
29093
|
+
phone_device_metadata: {
|
|
29094
|
+
properties: {
|
|
29095
|
+
manufacturer: { type: 'string' },
|
|
29096
|
+
model: { type: 'string' },
|
|
29097
|
+
os_version: { type: 'string' },
|
|
29098
|
+
},
|
|
29099
|
+
type: 'object',
|
|
29100
|
+
},
|
|
29101
|
+
phone_os: { enum: ['ios', 'android'], type: 'string' },
|
|
29102
|
+
},
|
|
29103
|
+
required: ['custom_sdk_installation_id', 'phone_os'],
|
|
29104
|
+
type: 'object',
|
|
29105
|
+
},
|
|
29106
|
+
},
|
|
29107
|
+
},
|
|
29108
|
+
},
|
|
29109
|
+
responses: {
|
|
29110
|
+
200: {
|
|
29111
|
+
content: {
|
|
29112
|
+
'application/json': {
|
|
29113
|
+
schema: {
|
|
29114
|
+
properties: {
|
|
29115
|
+
ok: { type: 'boolean' },
|
|
29116
|
+
phone_session: {
|
|
29117
|
+
$ref: '#/components/schemas/phone_session',
|
|
29118
|
+
},
|
|
29119
|
+
},
|
|
29120
|
+
required: ['phone_session', 'ok'],
|
|
29121
|
+
type: 'object',
|
|
29122
|
+
},
|
|
29123
|
+
},
|
|
29124
|
+
},
|
|
29125
|
+
description: 'OK',
|
|
29126
|
+
},
|
|
29127
|
+
400: { description: 'Bad Request' },
|
|
29128
|
+
401: { description: 'Unauthorized' },
|
|
29129
|
+
},
|
|
29130
|
+
security: [{ client_session: [] }],
|
|
29131
|
+
summary: '/seam/mobile_sdk/v1/phone_sessions/get_or_create',
|
|
29132
|
+
tags: [],
|
|
29133
|
+
'x-fern-sdk-group-name': ['seam', 'mobile_sdk', 'v1', 'phone_sessions'],
|
|
29134
|
+
'x-fern-sdk-method-name': 'get_or_create',
|
|
29135
|
+
'x-fern-sdk-return-value': 'phone_session',
|
|
29136
|
+
'x-response-key': 'phone_session',
|
|
29137
|
+
'x-title': 'Get or Create a Phone Session',
|
|
29138
|
+
'x-undocumented': 'Mobile SDK only.',
|
|
29139
|
+
},
|
|
29140
|
+
},
|
|
28502
29141
|
'/thermostats/activate_climate_preset': {
|
|
28503
29142
|
post: {
|
|
28504
29143
|
description: 'Activates a specified [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).',
|
|
@@ -28770,7 +29409,7 @@ export default {
|
|
|
28770
29409
|
type: 'array',
|
|
28771
29410
|
},
|
|
28772
29411
|
},
|
|
28773
|
-
required: ['device_id', 'periods'],
|
|
29412
|
+
required: ['device_id', 'name', 'periods'],
|
|
28774
29413
|
type: 'object',
|
|
28775
29414
|
},
|
|
28776
29415
|
},
|
|
@@ -28959,7 +29598,7 @@ export default {
|
|
|
28959
29598
|
type: 'string',
|
|
28960
29599
|
},
|
|
28961
29600
|
},
|
|
28962
|
-
required: ['thermostat_daily_program_id', 'periods'],
|
|
29601
|
+
required: ['thermostat_daily_program_id', 'name', 'periods'],
|
|
28963
29602
|
type: 'object',
|
|
28964
29603
|
},
|
|
28965
29604
|
},
|
|
@@ -29037,7 +29676,7 @@ export default {
|
|
|
29037
29676
|
type: 'string',
|
|
29038
29677
|
},
|
|
29039
29678
|
},
|
|
29040
|
-
required: ['thermostat_daily_program_id', 'periods'],
|
|
29679
|
+
required: ['thermostat_daily_program_id', 'name', 'periods'],
|
|
29041
29680
|
type: 'object',
|
|
29042
29681
|
},
|
|
29043
29682
|
},
|