@seamapi/types 1.400.0 → 1.402.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 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +848 -73
- 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/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 +566 -0
- package/lib/seam/connect/openapi.js +652 -8
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +213 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +2 -0
- 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 +720 -8
- package/src/lib/seam/connect/route-types.ts +267 -4
|
@@ -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: {
|
|
@@ -19718,12 +20284,17 @@ export default {
|
|
|
19718
20284
|
type: 'string',
|
|
19719
20285
|
},
|
|
19720
20286
|
acs_user_id: {
|
|
19721
|
-
description: 'ID of the access system user to whom you want to assign a credential.',
|
|
20287
|
+
description: 'ID of the access system user to whom you want to assign a credential. You can only provide one of acs_user_id or user_identity_id.',
|
|
20288
|
+
format: 'uuid',
|
|
20289
|
+
type: 'string',
|
|
20290
|
+
},
|
|
20291
|
+
user_identity_id: {
|
|
20292
|
+
description: 'ID of the user identity to whom you want to assign a credential. 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 credential belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created.',
|
|
19722
20293
|
format: 'uuid',
|
|
19723
20294
|
type: 'string',
|
|
19724
20295
|
},
|
|
19725
20296
|
},
|
|
19726
|
-
required: ['
|
|
20297
|
+
required: ['acs_credential_id'],
|
|
19727
20298
|
type: 'object',
|
|
19728
20299
|
},
|
|
19729
20300
|
},
|
|
@@ -19775,12 +20346,17 @@ export default {
|
|
|
19775
20346
|
type: 'string',
|
|
19776
20347
|
},
|
|
19777
20348
|
acs_user_id: {
|
|
19778
|
-
description: 'ID of the access system user to whom you want to assign a credential.',
|
|
20349
|
+
description: 'ID of the access system user to whom you want to assign a credential. You can only provide one of acs_user_id or user_identity_id.',
|
|
20350
|
+
format: 'uuid',
|
|
20351
|
+
type: 'string',
|
|
20352
|
+
},
|
|
20353
|
+
user_identity_id: {
|
|
20354
|
+
description: 'ID of the user identity to whom you want to assign a credential. 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 credential belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created.',
|
|
19779
20355
|
format: 'uuid',
|
|
19780
20356
|
type: 'string',
|
|
19781
20357
|
},
|
|
19782
20358
|
},
|
|
19783
|
-
required: ['
|
|
20359
|
+
required: ['acs_credential_id'],
|
|
19784
20360
|
type: 'object',
|
|
19785
20361
|
},
|
|
19786
20362
|
},
|
|
@@ -20363,12 +20939,17 @@ export default {
|
|
|
20363
20939
|
type: 'string',
|
|
20364
20940
|
},
|
|
20365
20941
|
acs_user_id: {
|
|
20366
|
-
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.',
|
|
20367
20948
|
format: 'uuid',
|
|
20368
20949
|
type: 'string',
|
|
20369
20950
|
},
|
|
20370
20951
|
},
|
|
20371
|
-
required: ['
|
|
20952
|
+
required: ['acs_credential_id'],
|
|
20372
20953
|
type: 'object',
|
|
20373
20954
|
},
|
|
20374
20955
|
},
|
|
@@ -20420,12 +21001,17 @@ export default {
|
|
|
20420
21001
|
type: 'string',
|
|
20421
21002
|
},
|
|
20422
21003
|
acs_user_id: {
|
|
20423
|
-
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.',
|
|
20424
21010
|
format: 'uuid',
|
|
20425
21011
|
type: 'string',
|
|
20426
21012
|
},
|
|
20427
21013
|
},
|
|
20428
|
-
required: ['
|
|
21014
|
+
required: ['acs_credential_id'],
|
|
20429
21015
|
type: 'object',
|
|
20430
21016
|
},
|
|
20431
21017
|
},
|
|
@@ -28489,6 +29075,64 @@ export default {
|
|
|
28489
29075
|
'x-undocumented': 'Mobile SDK only.',
|
|
28490
29076
|
},
|
|
28491
29077
|
},
|
|
29078
|
+
'/seam/mobile_sdk/v1/phone_sessions/get_or_create': {
|
|
29079
|
+
post: {
|
|
29080
|
+
description: 'Get or create a session for a mobile SDK phone.',
|
|
29081
|
+
operationId: 'seamMobileSdkV1PhoneSessionsGetOrCreatePost',
|
|
29082
|
+
requestBody: {
|
|
29083
|
+
content: {
|
|
29084
|
+
'application/json': {
|
|
29085
|
+
schema: {
|
|
29086
|
+
properties: {
|
|
29087
|
+
custom_sdk_installation_id: { type: 'string' },
|
|
29088
|
+
phone_device_metadata: {
|
|
29089
|
+
properties: {
|
|
29090
|
+
manufacturer: { type: 'string' },
|
|
29091
|
+
model: { type: 'string' },
|
|
29092
|
+
os_version: { type: 'string' },
|
|
29093
|
+
},
|
|
29094
|
+
type: 'object',
|
|
29095
|
+
},
|
|
29096
|
+
phone_os: { enum: ['ios', 'android'], type: 'string' },
|
|
29097
|
+
},
|
|
29098
|
+
required: ['custom_sdk_installation_id', 'phone_os'],
|
|
29099
|
+
type: 'object',
|
|
29100
|
+
},
|
|
29101
|
+
},
|
|
29102
|
+
},
|
|
29103
|
+
},
|
|
29104
|
+
responses: {
|
|
29105
|
+
200: {
|
|
29106
|
+
content: {
|
|
29107
|
+
'application/json': {
|
|
29108
|
+
schema: {
|
|
29109
|
+
properties: {
|
|
29110
|
+
ok: { type: 'boolean' },
|
|
29111
|
+
phone_session: {
|
|
29112
|
+
$ref: '#/components/schemas/phone_session',
|
|
29113
|
+
},
|
|
29114
|
+
},
|
|
29115
|
+
required: ['phone_session', 'ok'],
|
|
29116
|
+
type: 'object',
|
|
29117
|
+
},
|
|
29118
|
+
},
|
|
29119
|
+
},
|
|
29120
|
+
description: 'OK',
|
|
29121
|
+
},
|
|
29122
|
+
400: { description: 'Bad Request' },
|
|
29123
|
+
401: { description: 'Unauthorized' },
|
|
29124
|
+
},
|
|
29125
|
+
security: [{ client_session: [] }],
|
|
29126
|
+
summary: '/seam/mobile_sdk/v1/phone_sessions/get_or_create',
|
|
29127
|
+
tags: [],
|
|
29128
|
+
'x-fern-sdk-group-name': ['seam', 'mobile_sdk', 'v1', 'phone_sessions'],
|
|
29129
|
+
'x-fern-sdk-method-name': 'get_or_create',
|
|
29130
|
+
'x-fern-sdk-return-value': 'phone_session',
|
|
29131
|
+
'x-response-key': 'phone_session',
|
|
29132
|
+
'x-title': 'Get or Create a Phone Session',
|
|
29133
|
+
'x-undocumented': 'Mobile SDK only.',
|
|
29134
|
+
},
|
|
29135
|
+
},
|
|
28492
29136
|
'/thermostats/activate_climate_preset': {
|
|
28493
29137
|
post: {
|
|
28494
29138
|
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).',
|