@seamapi/types 1.293.0 → 1.294.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
@@ -163,7 +163,11 @@ var climate_preset = zod.z.object({
163
163
  cooling_set_point_fahrenheit: zod.z.number().optional().describe("Temperature to which the thermostat should cool (in \xB0F)."),
164
164
  heating_set_point_fahrenheit: zod.z.number().optional().describe("Temperature to which the thermostat should heat (in \xB0F)."),
165
165
  manual_override_allowed: zod.z.boolean().describe(
166
- "Indicates whether a person at the thermostat can change the thermostat's settings."
166
+ `
167
+ ---
168
+ deprecated: Use 'thermostat_schedule.is_override_allowed'
169
+ ---
170
+ Indicates whether a person at the thermostat can change the thermostat's settings.`
167
171
  )
168
172
  });
169
173
  var climate_setting = climate_preset.partial();
@@ -2770,15 +2774,21 @@ var noise_threshold = zod.z.object({
2770
2774
  noise_threshold_decibels: zod.z.number()
2771
2775
  });
2772
2776
  var user_identity = zod.z.object({
2773
- user_identity_id: zod.z.string().uuid(),
2774
- user_identity_key: zod.z.string().min(1).nullable(),
2775
- email_address: zod.z.string().email().nullable(),
2776
- phone_number: phone_number.nullable(),
2777
+ user_identity_id: zod.z.string().uuid().describe("ID of the user identity."),
2778
+ user_identity_key: zod.z.string().min(1).nullable().describe("Unique key for the user identity."),
2779
+ email_address: zod.z.string().email().nullable().describe("Unique email address for the user identity."),
2780
+ phone_number: phone_number.nullable().describe(
2781
+ "Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100)."
2782
+ ),
2777
2783
  display_name: zod.z.string().min(1),
2778
2784
  full_name: zod.z.string().min(1).nullable(),
2779
- created_at: zod.z.string().datetime(),
2780
- workspace_id: zod.z.string().uuid()
2781
- });
2785
+ created_at: zod.z.string().datetime().describe("Date and time at which the user identity was created."),
2786
+ workspace_id: zod.z.string().uuid().describe(
2787
+ "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity."
2788
+ )
2789
+ }).describe(
2790
+ "Represents a [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with an application user account."
2791
+ );
2782
2792
  var webhook = zod.z.object({
2783
2793
  webhook_id: zod.z.string(),
2784
2794
  url: zod.z.string(),
@@ -7326,8 +7336,10 @@ var openapi_default = {
7326
7336
  type: "string"
7327
7337
  },
7328
7338
  manual_override_allowed: {
7339
+ deprecated: true,
7329
7340
  description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
7330
- type: "boolean"
7341
+ type: "boolean",
7342
+ "x-deprecated": "Use 'thermostat_schedule.is_override_allowed'"
7331
7343
  },
7332
7344
  name: {
7333
7345
  default: null,
@@ -7410,8 +7422,10 @@ var openapi_default = {
7410
7422
  type: "string"
7411
7423
  },
7412
7424
  manual_override_allowed: {
7425
+ deprecated: true,
7413
7426
  description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
7414
- type: "boolean"
7427
+ type: "boolean",
7428
+ "x-deprecated": "Use 'thermostat_schedule.is_override_allowed'"
7415
7429
  },
7416
7430
  name: {
7417
7431
  default: null,
@@ -7472,8 +7486,10 @@ var openapi_default = {
7472
7486
  type: "string"
7473
7487
  },
7474
7488
  manual_override_allowed: {
7489
+ deprecated: true,
7475
7490
  description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
7476
- type: "boolean"
7491
+ type: "boolean",
7492
+ "x-deprecated": "Use 'thermostat_schedule.is_override_allowed'"
7477
7493
  },
7478
7494
  name: {
7479
7495
  default: null,
@@ -7711,19 +7727,40 @@ var openapi_default = {
7711
7727
  type: "object"
7712
7728
  },
7713
7729
  enrollment_automation: {
7730
+ description: "Represents an [enrollment automation](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system) within the [Seam mobile access solution](https://docs.seam.co/latest/capability-guides/mobile-access-in-development).",
7714
7731
  properties: {
7715
- created_at: { format: "date-time", type: "string" },
7716
- credential_manager_acs_system_id: { format: "uuid", type: "string" },
7717
- enrollment_automation_id: { format: "uuid", type: "string" },
7718
- user_identity_id: { format: "uuid", type: "string" },
7719
- workspace_id: { format: "uuid", type: "string" }
7732
+ created_at: {
7733
+ description: "Date and time at which the enrollment automation was created.",
7734
+ format: "date-time",
7735
+ type: "string"
7736
+ },
7737
+ credential_manager_acs_system_id: {
7738
+ description: "ID of the associated [ACS system](https://docs.seam.co/latest/capability-guides/access-systems) that serves as the credential manager.",
7739
+ format: "uuid",
7740
+ type: "string"
7741
+ },
7742
+ enrollment_automation_id: {
7743
+ description: "ID of the enrollment automation.",
7744
+ format: "uuid",
7745
+ type: "string"
7746
+ },
7747
+ user_identity_id: {
7748
+ description: "ID of the associated [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
7749
+ format: "uuid",
7750
+ type: "string"
7751
+ },
7752
+ workspace_id: {
7753
+ description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the enrollment automation.",
7754
+ format: "uuid",
7755
+ type: "string"
7756
+ }
7720
7757
  },
7721
7758
  required: [
7759
+ "enrollment_automation_id",
7722
7760
  "credential_manager_acs_system_id",
7723
7761
  "user_identity_id",
7724
7762
  "created_at",
7725
- "workspace_id",
7726
- "enrollment_automation_id"
7763
+ "workspace_id"
7727
7764
  ],
7728
7765
  type: "object"
7729
7766
  },
@@ -8445,15 +8482,42 @@ var openapi_default = {
8445
8482
  type: "object"
8446
8483
  },
8447
8484
  user_identity: {
8485
+ description: "Represents a [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with an application user account.",
8448
8486
  properties: {
8449
- created_at: { format: "date-time", type: "string" },
8487
+ created_at: {
8488
+ description: "Date and time at which the user identity was created.",
8489
+ format: "date-time",
8490
+ type: "string"
8491
+ },
8450
8492
  display_name: { minLength: 1, type: "string" },
8451
- email_address: { format: "email", nullable: true, type: "string" },
8493
+ email_address: {
8494
+ description: "Unique email address for the user identity.",
8495
+ format: "email",
8496
+ nullable: true,
8497
+ type: "string"
8498
+ },
8452
8499
  full_name: { minLength: 1, nullable: true, type: "string" },
8453
- phone_number: { nullable: true, type: "string" },
8454
- user_identity_id: { format: "uuid", type: "string" },
8455
- user_identity_key: { minLength: 1, nullable: true, type: "string" },
8456
- workspace_id: { format: "uuid", type: "string" }
8500
+ phone_number: {
8501
+ description: "Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100).",
8502
+ nullable: true,
8503
+ type: "string"
8504
+ },
8505
+ user_identity_id: {
8506
+ description: "ID of the user identity.",
8507
+ format: "uuid",
8508
+ type: "string"
8509
+ },
8510
+ user_identity_key: {
8511
+ description: "Unique key for the user identity.",
8512
+ minLength: 1,
8513
+ nullable: true,
8514
+ type: "string"
8515
+ },
8516
+ workspace_id: {
8517
+ description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity.",
8518
+ format: "uuid",
8519
+ type: "string"
8520
+ }
8457
8521
  },
8458
8522
  required: [
8459
8523
  "user_identity_id",
@@ -18150,10 +18214,7 @@ var openapi_default = {
18150
18214
  enum: ["off", "heat", "cool", "heat_cool"],
18151
18215
  type: "string"
18152
18216
  },
18153
- manual_override_allowed: {
18154
- description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
18155
- type: "boolean"
18156
- },
18217
+ manual_override_allowed: { default: true, type: "boolean" },
18157
18218
  name: {
18158
18219
  default: null,
18159
18220
  description: "User-friendly name to identify the climate preset.",
@@ -18161,11 +18222,7 @@ var openapi_default = {
18161
18222
  type: "string"
18162
18223
  }
18163
18224
  },
18164
- required: [
18165
- "device_id",
18166
- "climate_preset_key",
18167
- "manual_override_allowed"
18168
- ],
18225
+ required: ["device_id", "climate_preset_key"],
18169
18226
  type: "object"
18170
18227
  }
18171
18228
  }
@@ -19553,8 +19610,10 @@ var openapi_default = {
19553
19610
  type: "string"
19554
19611
  },
19555
19612
  manual_override_allowed: {
19613
+ deprecated: true,
19556
19614
  description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
19557
- type: "boolean"
19615
+ type: "boolean",
19616
+ "x-deprecated": "Use 'thermostat_schedule.is_override_allowed'"
19558
19617
  },
19559
19618
  name: {
19560
19619
  default: null,
@@ -19648,8 +19707,10 @@ var openapi_default = {
19648
19707
  type: "string"
19649
19708
  },
19650
19709
  manual_override_allowed: {
19710
+ deprecated: true,
19651
19711
  description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
19652
- type: "boolean"
19712
+ type: "boolean",
19713
+ "x-deprecated": "Use 'thermostat_schedule.is_override_allowed'"
19653
19714
  },
19654
19715
  name: {
19655
19716
  default: null,
@@ -19699,14 +19760,23 @@ var openapi_default = {
19699
19760
  },
19700
19761
  "/user_identities/add_acs_user": {
19701
19762
  post: {
19763
+ description: "Adds a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
19702
19764
  operationId: "userIdentitiesAddAcsUserPost",
19703
19765
  requestBody: {
19704
19766
  content: {
19705
19767
  "application/json": {
19706
19768
  schema: {
19707
19769
  properties: {
19708
- acs_user_id: { format: "uuid", type: "string" },
19709
- user_identity_id: { format: "uuid", type: "string" }
19770
+ acs_user_id: {
19771
+ description: "ID of the desired ACS user.",
19772
+ format: "uuid",
19773
+ type: "string"
19774
+ },
19775
+ user_identity_id: {
19776
+ description: "ID of the desired user identity.",
19777
+ format: "uuid",
19778
+ type: "string"
19779
+ }
19710
19780
  },
19711
19781
  required: ["user_identity_id", "acs_user_id"],
19712
19782
  type: "object"
@@ -19739,17 +19809,27 @@ var openapi_default = {
19739
19809
  tags: ["/user_identities"],
19740
19810
  "x-fern-sdk-group-name": ["user_identities"],
19741
19811
  "x-fern-sdk-method-name": "add_acs_user",
19742
- "x-response-key": null
19812
+ "x-response-key": null,
19813
+ "x-title": "Add an ACS User to a User Identity"
19743
19814
  },
19744
19815
  put: {
19816
+ description: "Adds a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) to a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
19745
19817
  operationId: "userIdentitiesAddAcsUserPut",
19746
19818
  requestBody: {
19747
19819
  content: {
19748
19820
  "application/json": {
19749
19821
  schema: {
19750
19822
  properties: {
19751
- acs_user_id: { format: "uuid", type: "string" },
19752
- user_identity_id: { format: "uuid", type: "string" }
19823
+ acs_user_id: {
19824
+ description: "ID of the desired ACS user.",
19825
+ format: "uuid",
19826
+ type: "string"
19827
+ },
19828
+ user_identity_id: {
19829
+ description: "ID of the desired user identity.",
19830
+ format: "uuid",
19831
+ type: "string"
19832
+ }
19753
19833
  },
19754
19834
  required: ["user_identity_id", "acs_user_id"],
19755
19835
  type: "object"
@@ -19781,11 +19861,13 @@ var openapi_default = {
19781
19861
  summary: "/user_identities/add_acs_user",
19782
19862
  tags: ["/user_identities"],
19783
19863
  "x-fern-ignore": true,
19784
- "x-response-key": null
19864
+ "x-response-key": null,
19865
+ "x-title": "Add an ACS User to a User Identity"
19785
19866
  }
19786
19867
  },
19787
19868
  "/user_identities/create": {
19788
19869
  post: {
19870
+ description: "Creates a new [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
19789
19871
  operationId: "userIdentitiesCreatePost",
19790
19872
  requestBody: {
19791
19873
  content: {
@@ -19793,13 +19875,24 @@ var openapi_default = {
19793
19875
  schema: {
19794
19876
  properties: {
19795
19877
  email_address: {
19878
+ description: "Unique email address for the user identity.",
19796
19879
  format: "email",
19797
19880
  nullable: true,
19798
19881
  type: "string"
19799
19882
  },
19800
- full_name: { minLength: 1, nullable: true, type: "string" },
19801
- phone_number: { nullable: true, type: "string" },
19883
+ full_name: {
19884
+ description: "Full name of the user associated with the user identity.",
19885
+ minLength: 1,
19886
+ nullable: true,
19887
+ type: "string"
19888
+ },
19889
+ phone_number: {
19890
+ description: "Unique phone number for the user identity in E.164 format (for example, +15555550100).",
19891
+ nullable: true,
19892
+ type: "string"
19893
+ },
19802
19894
  user_identity_key: {
19895
+ description: "Unique key for the user identity.",
19803
19896
  minLength: 1,
19804
19897
  nullable: true,
19805
19898
  type: "string"
@@ -19841,18 +19934,24 @@ var openapi_default = {
19841
19934
  "x-fern-sdk-group-name": ["user_identities"],
19842
19935
  "x-fern-sdk-method-name": "create",
19843
19936
  "x-fern-sdk-return-value": "user_identity",
19844
- "x-response-key": "user_identity"
19937
+ "x-response-key": "user_identity",
19938
+ "x-title": "Create a User Identity"
19845
19939
  }
19846
19940
  },
19847
19941
  "/user_identities/delete": {
19848
19942
  post: {
19943
+ description: "Deletes a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity). To delete a user identity, you must first delete any [ACS credentials](https://docs.seam.co/latest/api/access-control-systems/credentials) and [enrollment automations](https://docs.seam.co/latest/api/user_identities/enrollment_automations/delete) associated with the user identity. You must also deactivate any associated phones.",
19849
19944
  operationId: "userIdentitiesDeletePost",
19850
19945
  requestBody: {
19851
19946
  content: {
19852
19947
  "application/json": {
19853
19948
  schema: {
19854
19949
  properties: {
19855
- user_identity_id: { format: "uuid", type: "string" }
19950
+ user_identity_id: {
19951
+ description: "ID of the desired user identity.",
19952
+ format: "uuid",
19953
+ type: "string"
19954
+ }
19856
19955
  },
19857
19956
  required: ["user_identity_id"],
19858
19957
  type: "object"
@@ -19885,18 +19984,24 @@ var openapi_default = {
19885
19984
  tags: ["/user_identities"],
19886
19985
  "x-fern-sdk-group-name": ["user_identities"],
19887
19986
  "x-fern-sdk-method-name": "delete",
19888
- "x-response-key": null
19987
+ "x-response-key": null,
19988
+ "x-title": "Delete a User Identity"
19889
19989
  }
19890
19990
  },
19891
19991
  "/user_identities/enrollment_automations/delete": {
19892
19992
  post: {
19993
+ description: "Deletes a specified [enrollment automation](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system). You must delete all enrollment automations associated with a [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) before [deleting the user identity](https://docs.seam.co/latest/api/user_identities/delete).",
19893
19994
  operationId: "userIdentitiesEnrollmentAutomationsDeletePost",
19894
19995
  requestBody: {
19895
19996
  content: {
19896
19997
  "application/json": {
19897
19998
  schema: {
19898
19999
  properties: {
19899
- enrollment_automation_id: { format: "uuid", type: "string" }
20000
+ enrollment_automation_id: {
20001
+ description: "ID of the desired enrollment automation.",
20002
+ format: "uuid",
20003
+ type: "string"
20004
+ }
19900
20005
  },
19901
20006
  required: ["enrollment_automation_id"],
19902
20007
  type: "object"
@@ -19929,18 +20034,24 @@ var openapi_default = {
19929
20034
  tags: ["/user_identities"],
19930
20035
  "x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
19931
20036
  "x-fern-sdk-method-name": "delete",
19932
- "x-response-key": null
20037
+ "x-response-key": null,
20038
+ "x-title": "Delete an Enrollment Automation"
19933
20039
  }
19934
20040
  },
19935
20041
  "/user_identities/enrollment_automations/get": {
19936
20042
  post: {
20043
+ description: "Returns a specified [enrollment automation](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system).",
19937
20044
  operationId: "userIdentitiesEnrollmentAutomationsGetPost",
19938
20045
  requestBody: {
19939
20046
  content: {
19940
20047
  "application/json": {
19941
20048
  schema: {
19942
20049
  properties: {
19943
- enrollment_automation_id: { format: "uuid", type: "string" }
20050
+ enrollment_automation_id: {
20051
+ description: "ID of the desired enrollment automation.",
20052
+ format: "uuid",
20053
+ type: "string"
20054
+ }
19944
20055
  },
19945
20056
  required: ["enrollment_automation_id"],
19946
20057
  type: "object"
@@ -19980,28 +20091,43 @@ var openapi_default = {
19980
20091
  "x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
19981
20092
  "x-fern-sdk-method-name": "get",
19982
20093
  "x-fern-sdk-return-value": "enrollment_automation",
19983
- "x-response-key": "enrollment_automation"
20094
+ "x-response-key": "enrollment_automation",
20095
+ "x-title": "Get an Enrollment Automation"
19984
20096
  }
19985
20097
  },
19986
20098
  "/user_identities/enrollment_automations/launch": {
19987
20099
  post: {
20100
+ description: "Sets up a new [enrollment automation](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system) for a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) with a specified [credential manager](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system).",
19988
20101
  operationId: "userIdentitiesEnrollmentAutomationsLaunchPost",
19989
20102
  requestBody: {
19990
20103
  content: {
19991
20104
  "application/json": {
19992
20105
  schema: {
19993
20106
  properties: {
19994
- acs_credential_pool_id: { format: "uuid", type: "string" },
19995
- create_credential_manager_user: { type: "boolean" },
20107
+ acs_credential_pool_id: {
20108
+ description: "ID of the ACS credential pool from which to obtain credentials for the user identity.",
20109
+ format: "uuid",
20110
+ type: "string"
20111
+ },
20112
+ create_credential_manager_user: {
20113
+ description: "Indicates whether to create an associated credential manager user. If you set `create_credential_manager_user` to `true`, you cannot specify a `credential_manager_acs_user_id`.",
20114
+ type: "boolean"
20115
+ },
19996
20116
  credential_manager_acs_system_id: {
20117
+ description: "ID of the desired ACS system that serves as the credential manager.",
19997
20118
  format: "uuid",
19998
20119
  type: "string"
19999
20120
  },
20000
20121
  credential_manager_acs_user_id: {
20122
+ description: "ID of the associated ACS user within the credential manager. If you specify a `credential_manager_acs_user_id`, you cannot set `create_credential_manager_user` to `true`.",
20001
20123
  format: "uuid",
20002
20124
  type: "string"
20003
20125
  },
20004
- user_identity_id: { format: "uuid", type: "string" }
20126
+ user_identity_id: {
20127
+ description: "ID of the desired user identity.",
20128
+ format: "uuid",
20129
+ type: "string"
20130
+ }
20005
20131
  },
20006
20132
  required: [
20007
20133
  "user_identity_id",
@@ -20068,18 +20194,24 @@ var openapi_default = {
20068
20194
  "x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
20069
20195
  "x-fern-sdk-method-name": "launch",
20070
20196
  "x-fern-sdk-return-value": "enrollment_automation",
20071
- "x-response-key": "enrollment_automation"
20197
+ "x-response-key": "enrollment_automation",
20198
+ "x-title": "Launch an Enrollment Automation"
20072
20199
  }
20073
20200
  },
20074
20201
  "/user_identities/enrollment_automations/list": {
20075
20202
  post: {
20203
+ description: "Returns a list of all [enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system) for a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
20076
20204
  operationId: "userIdentitiesEnrollmentAutomationsListPost",
20077
20205
  requestBody: {
20078
20206
  content: {
20079
20207
  "application/json": {
20080
20208
  schema: {
20081
20209
  properties: {
20082
- user_identity_id: { format: "uuid", type: "string" }
20210
+ user_identity_id: {
20211
+ description: "ID of the user identity for which you want to retrieve all enrollment automations.",
20212
+ format: "uuid",
20213
+ type: "string"
20214
+ }
20083
20215
  },
20084
20216
  required: ["user_identity_id"],
20085
20217
  type: "object"
@@ -20122,11 +20254,13 @@ var openapi_default = {
20122
20254
  "x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
20123
20255
  "x-fern-sdk-method-name": "list",
20124
20256
  "x-fern-sdk-return-value": "enrollment_automations",
20125
- "x-response-key": "enrollment_automations"
20257
+ "x-response-key": "enrollment_automations",
20258
+ "x-title": "List Enrollment Automations"
20126
20259
  }
20127
20260
  },
20128
20261
  "/user_identities/get": {
20129
20262
  post: {
20263
+ description: "Returns a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
20130
20264
  operationId: "userIdentitiesGetPost",
20131
20265
  requestBody: {
20132
20266
  content: {
@@ -20135,7 +20269,11 @@ var openapi_default = {
20135
20269
  oneOf: [
20136
20270
  {
20137
20271
  properties: {
20138
- user_identity_id: { format: "uuid", type: "string" }
20272
+ user_identity_id: {
20273
+ description: "ID of the desired user identity.",
20274
+ format: "uuid",
20275
+ type: "string"
20276
+ }
20139
20277
  },
20140
20278
  required: ["user_identity_id"],
20141
20279
  type: "object"
@@ -20181,19 +20319,29 @@ var openapi_default = {
20181
20319
  "x-fern-sdk-group-name": ["user_identities"],
20182
20320
  "x-fern-sdk-method-name": "get",
20183
20321
  "x-fern-sdk-return-value": "user_identity",
20184
- "x-response-key": "user_identity"
20322
+ "x-response-key": "user_identity",
20323
+ "x-title": "Get a User Identity"
20185
20324
  }
20186
20325
  },
20187
20326
  "/user_identities/grant_access_to_device": {
20188
20327
  post: {
20328
+ description: "Grants a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) access to a specified [device](https://docs.seam.co/latest/core-concepts/devices/).",
20189
20329
  operationId: "userIdentitiesGrantAccessToDevicePost",
20190
20330
  requestBody: {
20191
20331
  content: {
20192
20332
  "application/json": {
20193
20333
  schema: {
20194
20334
  properties: {
20195
- device_id: { format: "uuid", type: "string" },
20196
- user_identity_id: { format: "uuid", type: "string" }
20335
+ device_id: {
20336
+ description: "ID of the desired managed device.",
20337
+ format: "uuid",
20338
+ type: "string"
20339
+ },
20340
+ user_identity_id: {
20341
+ description: "ID of the desired user identity.",
20342
+ format: "uuid",
20343
+ type: "string"
20344
+ }
20197
20345
  },
20198
20346
  required: ["user_identity_id", "device_id"],
20199
20347
  type: "object"
@@ -20226,17 +20374,27 @@ var openapi_default = {
20226
20374
  tags: ["/user_identities"],
20227
20375
  "x-fern-sdk-group-name": ["user_identities"],
20228
20376
  "x-fern-sdk-method-name": "grant_access_to_device",
20229
- "x-response-key": null
20377
+ "x-response-key": null,
20378
+ "x-title": "Grant a User Identity Access to a Device"
20230
20379
  },
20231
20380
  put: {
20381
+ description: "Grants a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) access to a specified [device](https://docs.seam.co/latest/core-concepts/devices/).",
20232
20382
  operationId: "userIdentitiesGrantAccessToDevicePut",
20233
20383
  requestBody: {
20234
20384
  content: {
20235
20385
  "application/json": {
20236
20386
  schema: {
20237
20387
  properties: {
20238
- device_id: { format: "uuid", type: "string" },
20239
- user_identity_id: { format: "uuid", type: "string" }
20388
+ device_id: {
20389
+ description: "ID of the desired managed device.",
20390
+ format: "uuid",
20391
+ type: "string"
20392
+ },
20393
+ user_identity_id: {
20394
+ description: "ID of the desired user identity.",
20395
+ format: "uuid",
20396
+ type: "string"
20397
+ }
20240
20398
  },
20241
20399
  required: ["user_identity_id", "device_id"],
20242
20400
  type: "object"
@@ -20268,11 +20426,13 @@ var openapi_default = {
20268
20426
  summary: "/user_identities/grant_access_to_device",
20269
20427
  tags: ["/user_identities"],
20270
20428
  "x-fern-ignore": true,
20271
- "x-response-key": null
20429
+ "x-response-key": null,
20430
+ "x-title": "Grant a User Identity Access to a Device"
20272
20431
  }
20273
20432
  },
20274
20433
  "/user_identities/list": {
20275
20434
  post: {
20435
+ description: "Returns a list of all [user identities](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
20276
20436
  operationId: "userIdentitiesListPost",
20277
20437
  requestBody: {
20278
20438
  content: {
@@ -20322,18 +20482,24 @@ var openapi_default = {
20322
20482
  "x-fern-sdk-group-name": ["user_identities"],
20323
20483
  "x-fern-sdk-method-name": "list",
20324
20484
  "x-fern-sdk-return-value": "user_identities",
20325
- "x-response-key": "user_identities"
20485
+ "x-response-key": "user_identities",
20486
+ "x-title": "List User Identities"
20326
20487
  }
20327
20488
  },
20328
20489
  "/user_identities/list_accessible_devices": {
20329
20490
  post: {
20491
+ description: "Returns a list of all [devices](https://docs.seam.co/latest/core-concepts/devices) associated with a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
20330
20492
  operationId: "userIdentitiesListAccessibleDevicesPost",
20331
20493
  requestBody: {
20332
20494
  content: {
20333
20495
  "application/json": {
20334
20496
  schema: {
20335
20497
  properties: {
20336
- user_identity_id: { format: "uuid", type: "string" }
20498
+ user_identity_id: {
20499
+ description: "ID of the user identity for which you want to retrieve all accessible devices.",
20500
+ format: "uuid",
20501
+ type: "string"
20502
+ }
20337
20503
  },
20338
20504
  required: ["user_identity_id"],
20339
20505
  type: "object"
@@ -20379,18 +20545,24 @@ var openapi_default = {
20379
20545
  "x-fern-sdk-group-name": ["user_identities"],
20380
20546
  "x-fern-sdk-method-name": "list_accessible_devices",
20381
20547
  "x-fern-sdk-return-value": "devices",
20382
- "x-response-key": "devices"
20548
+ "x-response-key": "devices",
20549
+ "x-title": "List Accessible Devices for a User Identity"
20383
20550
  }
20384
20551
  },
20385
20552
  "/user_identities/list_acs_systems": {
20386
20553
  post: {
20554
+ description: "Returns a list of all [access control systems](https://docs.seam.co/latest/capability-guides/access-systems) associated with a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
20387
20555
  operationId: "userIdentitiesListAcsSystemsPost",
20388
20556
  requestBody: {
20389
20557
  content: {
20390
20558
  "application/json": {
20391
20559
  schema: {
20392
20560
  properties: {
20393
- user_identity_id: { format: "uuid", type: "string" }
20561
+ user_identity_id: {
20562
+ description: "ID of the user identity for which you want to retrieve all access control systems.",
20563
+ format: "uuid",
20564
+ type: "string"
20565
+ }
20394
20566
  },
20395
20567
  required: ["user_identity_id"],
20396
20568
  type: "object"
@@ -20431,18 +20603,24 @@ var openapi_default = {
20431
20603
  "x-fern-sdk-group-name": ["user_identities"],
20432
20604
  "x-fern-sdk-method-name": "list_acs_systems",
20433
20605
  "x-fern-sdk-return-value": "acs_systems",
20434
- "x-response-key": "acs_systems"
20606
+ "x-response-key": "acs_systems",
20607
+ "x-title": "List ACS Systems Associated with a User Identity"
20435
20608
  }
20436
20609
  },
20437
20610
  "/user_identities/list_acs_users": {
20438
20611
  post: {
20612
+ description: "Returns a list of all [ACS users](https://docs.seam.co/latest/capability-guides/access-systems/user-management) assigned to a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
20439
20613
  operationId: "userIdentitiesListAcsUsersPost",
20440
20614
  requestBody: {
20441
20615
  content: {
20442
20616
  "application/json": {
20443
20617
  schema: {
20444
20618
  properties: {
20445
- user_identity_id: { format: "uuid", type: "string" }
20619
+ user_identity_id: {
20620
+ description: "ID of the user identity for which you want to retrieve all ACS users.",
20621
+ format: "uuid",
20622
+ type: "string"
20623
+ }
20446
20624
  },
20447
20625
  required: ["user_identity_id"],
20448
20626
  type: "object"
@@ -20482,19 +20660,29 @@ var openapi_default = {
20482
20660
  "x-fern-sdk-group-name": ["user_identities"],
20483
20661
  "x-fern-sdk-method-name": "list_acs_users",
20484
20662
  "x-fern-sdk-return-value": "acs_users",
20485
- "x-response-key": "acs_users"
20663
+ "x-response-key": "acs_users",
20664
+ "x-title": "List ACS Users Associated with a User Identity"
20486
20665
  }
20487
20666
  },
20488
20667
  "/user_identities/remove_acs_user": {
20489
20668
  post: {
20669
+ description: "Removes a specified [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) from a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
20490
20670
  operationId: "userIdentitiesRemoveAcsUserPost",
20491
20671
  requestBody: {
20492
20672
  content: {
20493
20673
  "application/json": {
20494
20674
  schema: {
20495
20675
  properties: {
20496
- acs_user_id: { format: "uuid", type: "string" },
20497
- user_identity_id: { format: "uuid", type: "string" }
20676
+ acs_user_id: {
20677
+ description: "ID of the ACS user.",
20678
+ format: "uuid",
20679
+ type: "string"
20680
+ },
20681
+ user_identity_id: {
20682
+ description: "ID of the desired user identity.",
20683
+ format: "uuid",
20684
+ type: "string"
20685
+ }
20498
20686
  },
20499
20687
  required: ["user_identity_id", "acs_user_id"],
20500
20688
  type: "object"
@@ -20527,19 +20715,29 @@ var openapi_default = {
20527
20715
  tags: ["/user_identities"],
20528
20716
  "x-fern-sdk-group-name": ["user_identities"],
20529
20717
  "x-fern-sdk-method-name": "remove_acs_user",
20530
- "x-response-key": null
20718
+ "x-response-key": null,
20719
+ "x-title": "Remove an ACS User from a User Identity"
20531
20720
  }
20532
20721
  },
20533
20722
  "/user_identities/revoke_access_to_device": {
20534
20723
  post: {
20724
+ description: "Revokes access to a specified [device](https://docs.seam.co/latest/core-concepts/devices/) from a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).",
20535
20725
  operationId: "userIdentitiesRevokeAccessToDevicePost",
20536
20726
  requestBody: {
20537
20727
  content: {
20538
20728
  "application/json": {
20539
20729
  schema: {
20540
20730
  properties: {
20541
- device_id: { format: "uuid", type: "string" },
20542
- user_identity_id: { format: "uuid", type: "string" }
20731
+ device_id: {
20732
+ description: "ID of the desired managed device.",
20733
+ format: "uuid",
20734
+ type: "string"
20735
+ },
20736
+ user_identity_id: {
20737
+ description: "ID of the desired user identity.",
20738
+ format: "uuid",
20739
+ type: "string"
20740
+ }
20543
20741
  },
20544
20742
  required: ["user_identity_id", "device_id"],
20545
20743
  type: "object"
@@ -20572,7 +20770,8 @@ var openapi_default = {
20572
20770
  tags: ["/user_identities"],
20573
20771
  "x-fern-sdk-group-name": ["user_identities"],
20574
20772
  "x-fern-sdk-method-name": "revoke_access_to_device",
20575
- "x-response-key": null
20773
+ "x-response-key": null,
20774
+ "x-title": "Revoke Access to a Device from a User Identity"
20576
20775
  }
20577
20776
  },
20578
20777
  "/user_identities/update": {
@@ -20584,14 +20783,24 @@ var openapi_default = {
20584
20783
  schema: {
20585
20784
  properties: {
20586
20785
  email_address: {
20786
+ description: "Unique email address for the user identity.",
20587
20787
  format: "email",
20588
20788
  nullable: true,
20589
20789
  type: "string"
20590
20790
  },
20591
20791
  full_name: { minLength: 1, nullable: true, type: "string" },
20592
- phone_number: { nullable: true, type: "string" },
20593
- user_identity_id: { format: "uuid", type: "string" },
20792
+ phone_number: {
20793
+ description: "Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100).",
20794
+ nullable: true,
20795
+ type: "string"
20796
+ },
20797
+ user_identity_id: {
20798
+ description: "ID of the user identity.",
20799
+ format: "uuid",
20800
+ type: "string"
20801
+ },
20594
20802
  user_identity_key: {
20803
+ description: "Unique key for the user identity.",
20595
20804
  minLength: 1,
20596
20805
  nullable: true,
20597
20806
  type: "string"
@@ -20637,14 +20846,24 @@ var openapi_default = {
20637
20846
  schema: {
20638
20847
  properties: {
20639
20848
  email_address: {
20849
+ description: "Unique email address for the user identity.",
20640
20850
  format: "email",
20641
20851
  nullable: true,
20642
20852
  type: "string"
20643
20853
  },
20644
20854
  full_name: { minLength: 1, nullable: true, type: "string" },
20645
- phone_number: { nullable: true, type: "string" },
20646
- user_identity_id: { format: "uuid", type: "string" },
20855
+ phone_number: {
20856
+ description: "Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100).",
20857
+ nullable: true,
20858
+ type: "string"
20859
+ },
20860
+ user_identity_id: {
20861
+ description: "ID of the user identity.",
20862
+ format: "uuid",
20863
+ type: "string"
20864
+ },
20647
20865
  user_identity_key: {
20866
+ description: "Unique key for the user identity.",
20648
20867
  minLength: 1,
20649
20868
  nullable: true,
20650
20869
  type: "string"