@seamapi/types 1.344.3 → 1.345.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 CHANGED
@@ -807,17 +807,21 @@ var any_device_type = zod.z.union([
807
807
  ]);
808
808
  var phone_specific_properties = zod.z.object({
809
809
  assa_abloy_credential_service_metadata: zod.z.object({
810
- has_active_endpoint: zod.z.boolean(),
810
+ has_active_endpoint: zod.z.boolean().describe(
811
+ "Indicates whether the credential service has active endpoints associated with the phone."
812
+ ),
811
813
  endpoints: zod.z.array(
812
814
  zod.z.object({
813
- endpoint_id: zod.z.string(),
814
- is_active: zod.z.boolean()
815
+ endpoint_id: zod.z.string().describe("ID of the associated endpoint."),
816
+ is_active: zod.z.boolean().describe("Indicated whether the endpoint is active.")
815
817
  })
816
- )
817
- }).optional(),
818
+ ).describe("Endpoints associated with the phone.")
819
+ }).optional().describe("ASSA ABLOY Credential Service metadata for the phone."),
818
820
  salto_space_credential_service_metadata: zod.z.object({
819
- has_active_phone: zod.z.boolean()
820
- }).optional()
821
+ has_active_phone: zod.z.boolean().describe(
822
+ "Indicates whether the credential service has an active associated phone."
823
+ )
824
+ }).optional().describe("Salto Space credential service metadata for the phone.")
821
825
  });
822
826
 
823
827
  // src/lib/seam/connect/models/devices/device.ts
@@ -9055,26 +9059,41 @@ var openapi_default = {
9055
9059
  {
9056
9060
  properties: {
9057
9061
  assa_abloy_credential_service_metadata: {
9062
+ description: "ASSA ABLOY Credential Service metadata for the phone.",
9058
9063
  properties: {
9059
9064
  endpoints: {
9065
+ description: "Endpoints associated with the phone.",
9060
9066
  items: {
9061
9067
  properties: {
9062
- endpoint_id: { type: "string" },
9063
- is_active: { type: "boolean" }
9068
+ endpoint_id: {
9069
+ description: "ID of the associated endpoint.",
9070
+ type: "string"
9071
+ },
9072
+ is_active: {
9073
+ description: "Indicated whether the endpoint is active.",
9074
+ type: "boolean"
9075
+ }
9064
9076
  },
9065
9077
  required: ["endpoint_id", "is_active"],
9066
9078
  type: "object"
9067
9079
  },
9068
9080
  type: "array"
9069
9081
  },
9070
- has_active_endpoint: { type: "boolean" }
9082
+ has_active_endpoint: {
9083
+ description: "Indicates whether the credential service has active endpoints associated with the phone.",
9084
+ type: "boolean"
9085
+ }
9071
9086
  },
9072
9087
  required: ["has_active_endpoint", "endpoints"],
9073
9088
  type: "object"
9074
9089
  },
9075
9090
  salto_space_credential_service_metadata: {
9091
+ description: "Salto Space credential service metadata for the phone.",
9076
9092
  properties: {
9077
- has_active_phone: { type: "boolean" }
9093
+ has_active_phone: {
9094
+ description: "Indicates whether the credential service has an active associated phone.",
9095
+ type: "boolean"
9096
+ }
9078
9097
  },
9079
9098
  required: ["has_active_phone"],
9080
9099
  type: "object"
@@ -14526,6 +14545,7 @@ var openapi_default = {
14526
14545
  "x-route-path": "/noise_sensors/noise_thresholds"
14527
14546
  },
14528
14547
  phone: {
14548
+ description: "Properties of the phone.",
14529
14549
  properties: {
14530
14550
  can_hvac_cool: { type: "boolean" },
14531
14551
  can_hvac_heat: { type: "boolean" },
@@ -14569,7 +14589,11 @@ var openapi_default = {
14569
14589
  format: "uuid",
14570
14590
  type: "string"
14571
14591
  },
14572
- device_type: { enum: ["android_phone", "ios_phone"], type: "string" },
14592
+ device_type: {
14593
+ description: "Type of phone.",
14594
+ enum: ["android_phone", "ios_phone"],
14595
+ type: "string"
14596
+ },
14573
14597
  display_name: {
14574
14598
  description: "Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices.",
14575
14599
  type: "string"
@@ -14820,25 +14844,42 @@ var openapi_default = {
14820
14844
  properties: {
14821
14845
  properties: {
14822
14846
  assa_abloy_credential_service_metadata: {
14847
+ description: "ASSA ABLOY Credential Service metadata for the phone.",
14823
14848
  properties: {
14824
14849
  endpoints: {
14850
+ description: "Endpoints associated with the phone.",
14825
14851
  items: {
14826
14852
  properties: {
14827
- endpoint_id: { type: "string" },
14828
- is_active: { type: "boolean" }
14853
+ endpoint_id: {
14854
+ description: "ID of the associated endpoint.",
14855
+ type: "string"
14856
+ },
14857
+ is_active: {
14858
+ description: "Indicated whether the endpoint is active.",
14859
+ type: "boolean"
14860
+ }
14829
14861
  },
14830
14862
  required: ["endpoint_id", "is_active"],
14831
14863
  type: "object"
14832
14864
  },
14833
14865
  type: "array"
14834
14866
  },
14835
- has_active_endpoint: { type: "boolean" }
14867
+ has_active_endpoint: {
14868
+ description: "Indicates whether the credential service has active endpoints associated with the phone.",
14869
+ type: "boolean"
14870
+ }
14836
14871
  },
14837
14872
  required: ["has_active_endpoint", "endpoints"],
14838
14873
  type: "object"
14839
14874
  },
14840
14875
  salto_space_credential_service_metadata: {
14841
- properties: { has_active_phone: { type: "boolean" } },
14876
+ description: "Salto Space credential service metadata for the phone.",
14877
+ properties: {
14878
+ has_active_phone: {
14879
+ description: "Indicates whether the credential service has an active associated phone.",
14880
+ type: "boolean"
14881
+ }
14882
+ },
14842
14883
  required: ["has_active_phone"],
14843
14884
  type: "object"
14844
14885
  }
@@ -25878,12 +25919,18 @@ var openapi_default = {
25878
25919
  },
25879
25920
  "/phones/deactivate": {
25880
25921
  post: {
25922
+ description: "Deactivates a phone, which is useful, for example, if a user has lost their phone. For more information, see [App User Lost Phone Process](https://docs.seam.co/latest/capability-guides/mobile-access/managing-phones-for-a-user-identity#app-user-lost-phone-process).",
25881
25923
  operationId: "phonesDeactivatePost",
25882
25924
  requestBody: {
25883
25925
  content: {
25884
25926
  "application/json": {
25885
25927
  schema: {
25886
- properties: { device_id: { type: "string" } },
25928
+ properties: {
25929
+ device_id: {
25930
+ description: "Device ID of the desired phone.",
25931
+ type: "string"
25932
+ }
25933
+ },
25887
25934
  required: ["device_id"],
25888
25935
  type: "object"
25889
25936
  }
@@ -25916,19 +25963,29 @@ var openapi_default = {
25916
25963
  tags: ["/phones"],
25917
25964
  "x-fern-sdk-group-name": ["phones"],
25918
25965
  "x-fern-sdk-method-name": "deactivate",
25919
- "x-response-key": null
25966
+ "x-response-key": null,
25967
+ "x-title": "Deactivate a Phone"
25920
25968
  }
25921
25969
  },
25922
25970
  "/phones/list": {
25923
25971
  post: {
25972
+ description: "Returns a list of all phones. To filter the list of returned phones by a specific owner user identity or credential, include the `owner_user_identity_id` or `acs_credential_id`, respectively, in the request body.",
25924
25973
  operationId: "phonesListPost",
25925
25974
  requestBody: {
25926
25975
  content: {
25927
25976
  "application/json": {
25928
25977
  schema: {
25929
25978
  properties: {
25930
- acs_credential_id: { format: "uuid", type: "string" },
25931
- owner_user_identity_id: { format: "uuid", type: "string" }
25979
+ acs_credential_id: {
25980
+ description: "ID of the [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) by which to filter the list of returned phones.",
25981
+ format: "uuid",
25982
+ type: "string"
25983
+ },
25984
+ owner_user_identity_id: {
25985
+ description: "ID of the user identity that represents the owner by which to filter the list of returned phones.",
25986
+ format: "uuid",
25987
+ type: "string"
25988
+ }
25932
25989
  },
25933
25990
  type: "object"
25934
25991
  }
@@ -25967,11 +26024,13 @@ var openapi_default = {
25967
26024
  "x-fern-sdk-group-name": ["phones"],
25968
26025
  "x-fern-sdk-method-name": "list",
25969
26026
  "x-fern-sdk-return-value": "phones",
25970
- "x-response-key": "phones"
26027
+ "x-response-key": "phones",
26028
+ "x-title": "List Phones"
25971
26029
  }
25972
26030
  },
25973
26031
  "/phones/simulate/create_sandbox_phone": {
25974
26032
  post: {
26033
+ description: "Creates a new simulated phone in a [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces). For more information, see [Creating a Simulated Phone for a User Identity](https://docs.seam.co/latest/capability-guides/mobile-access/developing-in-a-sandbox-workspace#creating-a-simulated-phone-for-a-user-identity).",
25975
26034
  operationId: "phonesSimulateCreateSandboxPhonePost",
25976
26035
  requestBody: {
25977
26036
  content: {
@@ -25980,42 +26039,79 @@ var openapi_default = {
25980
26039
  properties: {
25981
26040
  assa_abloy_metadata: {
25982
26041
  default: {},
26042
+ description: "ASSA ABLOY metadata to associate with the simulated phone.",
25983
26043
  properties: {
25984
- application_version: { default: "1.0.0", type: "string" },
25985
- ble_capability: { default: true, type: "boolean" },
25986
- hce_capability: { default: false, type: "boolean" },
25987
- nfc_capability: { default: false, type: "boolean" },
25988
- seos_applet_version: { default: "1.0.0", type: "string" },
26044
+ application_version: {
26045
+ default: "1.0.0",
26046
+ description: "Application version that you want to use for the simulated phone.",
26047
+ type: "string"
26048
+ },
26049
+ ble_capability: {
26050
+ default: true,
26051
+ description: "Indicates whether the simulated phone should have Bluetooth low energy (BLE) capability.",
26052
+ type: "boolean"
26053
+ },
26054
+ hce_capability: {
26055
+ default: false,
26056
+ description: "Indicates whether the simulated phone should have host card emulation (HCE) capability.",
26057
+ type: "boolean"
26058
+ },
26059
+ nfc_capability: {
26060
+ default: false,
26061
+ description: "Indicates whether the simulated phone should have near-field communication (NFC) capability.",
26062
+ type: "boolean"
26063
+ },
26064
+ seos_applet_version: {
26065
+ default: "1.0.0",
26066
+ description: "SEOS applet version that you want to use for the simulated phone.",
26067
+ type: "string"
26068
+ },
25989
26069
  seos_tsm_endpoint_id: {
25990
26070
  default: 1,
26071
+ description: "ID of the SEOS trusted service manager (TSM) endpoint that you want to use for the simulated phone.",
25991
26072
  format: "float",
25992
26073
  type: "number"
25993
26074
  }
25994
26075
  },
25995
26076
  type: "object"
25996
26077
  },
25997
- custom_sdk_installation_id: { type: "string" },
26078
+ custom_sdk_installation_id: {
26079
+ description: "ID of the custom SDK installation to use for the simulated phone.",
26080
+ type: "string"
26081
+ },
25998
26082
  phone_metadata: {
25999
26083
  default: {},
26084
+ description: "Metadata to associate with the simulated phone.",
26000
26085
  properties: {
26001
26086
  device_manufacturer: {
26002
26087
  default: "Samsung",
26088
+ description: "Manufacturer that you want to use for the simulated phone.",
26003
26089
  type: "string"
26004
26090
  },
26005
26091
  device_model: {
26006
26092
  default: "Samsung Galaxy S10",
26093
+ description: "Device model that you want to use for the simulated phone.",
26007
26094
  type: "string"
26008
26095
  },
26009
26096
  operating_system: {
26010
26097
  default: "android",
26098
+ description: "Mobile operating system that you want to use for the simulated phone.",
26011
26099
  enum: ["android", "ios"],
26012
26100
  type: "string"
26013
26101
  },
26014
- os_version: { default: "10", type: "string" }
26102
+ os_version: {
26103
+ default: "10",
26104
+ description: "Mobile operating system version that you want to use for the simulated phone.",
26105
+ type: "string"
26106
+ }
26015
26107
  },
26016
26108
  type: "object"
26017
26109
  },
26018
- user_identity_id: { format: "uuid", type: "string" }
26110
+ user_identity_id: {
26111
+ description: "ID of the user identity to associate with the simulated phone.",
26112
+ format: "uuid",
26113
+ type: "string"
26114
+ }
26019
26115
  },
26020
26116
  required: ["user_identity_id"],
26021
26117
  type: "object"
@@ -26052,7 +26148,8 @@ var openapi_default = {
26052
26148
  "x-fern-sdk-group-name": ["phones", "simulate"],
26053
26149
  "x-fern-sdk-method-name": "create_sandbox_phone",
26054
26150
  "x-fern-sdk-return-value": "phone",
26055
- "x-response-key": "phone"
26151
+ "x-response-key": "phone",
26152
+ "x-title": "Create a Sandbox Phone"
26056
26153
  }
26057
26154
  },
26058
26155
  "/thermostats/activate_climate_preset": {