@seamapi/types 1.481.0 → 1.483.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
@@ -679,7 +679,7 @@ zod.z.object({
679
679
  salto_ks_subscription_limit_almost_reached: salto_ks_subscription_limit_almost_reached.nullable().optional()
680
680
  });
681
681
  var connected_account = zod.z.object({
682
- connected_account_id: zod.z.string().uuid().optional().describe("ID of the connected account."),
682
+ connected_account_id: zod.z.string().uuid().describe("ID of the connected account."),
683
683
  created_at: zod.z.string().datetime().optional().describe("Date and time at which the connected account was created."),
684
684
  user_identifier: zod.z.object({
685
685
  username: zod.z.string().optional().describe(
@@ -4207,6 +4207,7 @@ zod.z.object({
4207
4207
  unmanaged_acs_users: unmanaged_acs_user.array().optional(),
4208
4208
  unmanaged_acs_access_groups: unmanaged_acs_access_group.array().optional(),
4209
4209
  unmanaged_devices: unmanaged_device.array().optional(),
4210
+ connected_accounts: connected_account.array().optional(),
4210
4211
  connect_webviews: connect_webview.array().optional(),
4211
4212
  access_methods: access_method.array().optional(),
4212
4213
  access_grants: access_grant.array().optional()
@@ -13624,6 +13625,7 @@ var openapi_default = {
13624
13625
  }
13625
13626
  },
13626
13627
  required: [
13628
+ "connected_account_id",
13627
13629
  "account_type_display_name",
13628
13630
  "errors",
13629
13631
  "warnings",
@@ -38301,12 +38303,13 @@ var openapi_default = {
38301
38303
  },
38302
38304
  user_identity_id: {
38303
38305
  description: "ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to create a client session.",
38306
+ format: "uuid",
38304
38307
  type: "string"
38305
38308
  },
38306
38309
  user_identity_ids: {
38307
38310
  deprecated: true,
38308
38311
  description: "IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.",
38309
- items: { type: "string" },
38312
+ items: { format: "uuid", type: "string" },
38310
38313
  maxItems: 1,
38311
38314
  minItems: 1,
38312
38315
  type: "array",
@@ -38391,12 +38394,13 @@ var openapi_default = {
38391
38394
  },
38392
38395
  user_identity_id: {
38393
38396
  description: "ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to create a client session.",
38397
+ format: "uuid",
38394
38398
  type: "string"
38395
38399
  },
38396
38400
  user_identity_ids: {
38397
38401
  deprecated: true,
38398
38402
  description: "IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.",
38399
- items: { type: "string" },
38403
+ items: { format: "uuid", type: "string" },
38400
38404
  maxItems: 1,
38401
38405
  minItems: 1,
38402
38406
  type: "array",
@@ -38547,6 +38551,7 @@ var openapi_default = {
38547
38551
  name: "client_session_id",
38548
38552
  schema: {
38549
38553
  description: "ID of the client session that you want to get.",
38554
+ format: "uuid",
38550
38555
  type: "string"
38551
38556
  }
38552
38557
  },
@@ -38604,6 +38609,7 @@ var openapi_default = {
38604
38609
  properties: {
38605
38610
  client_session_id: {
38606
38611
  description: "ID of the client session that you want to get.",
38612
+ format: "uuid",
38607
38613
  type: "string"
38608
38614
  },
38609
38615
  user_identifier_key: {
@@ -38683,12 +38689,13 @@ var openapi_default = {
38683
38689
  },
38684
38690
  user_identity_id: {
38685
38691
  description: "ID of the [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session (or that are already associated with the existing client session).",
38692
+ format: "uuid",
38686
38693
  type: "string"
38687
38694
  },
38688
38695
  user_identity_ids: {
38689
38696
  deprecated: true,
38690
38697
  description: "IDs of the [user identities](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) that you want to associate with the client session.",
38691
- items: { type: "string" },
38698
+ items: { format: "uuid", type: "string" },
38692
38699
  maxItems: 1,
38693
38700
  minItems: 1,
38694
38701
  type: "array",
@@ -49550,7 +49557,11 @@ var openapi_default = {
49550
49557
  in: "query",
49551
49558
  name: "customer_portal_id",
49552
49559
  required: true,
49553
- schema: { description: "Customer portal ID.", type: "string" }
49560
+ schema: {
49561
+ description: "Customer portal ID.",
49562
+ format: "uuid",
49563
+ type: "string"
49564
+ }
49554
49565
  }
49555
49566
  ],
49556
49567
  responses: {
@@ -49637,6 +49648,7 @@ var openapi_default = {
49637
49648
  properties: {
49638
49649
  customer_portal_id: {
49639
49650
  description: "Customer portal ID.",
49651
+ format: "uuid",
49640
49652
  type: "string"
49641
49653
  }
49642
49654
  },
@@ -50146,7 +50158,10 @@ var openapi_default = {
50146
50158
  acs_entrances: {
50147
50159
  items: {
50148
50160
  properties: {
50149
- acs_entrance_id: { type: "string" },
50161
+ acs_entrance_id: {
50162
+ format: "uuid",
50163
+ type: "string"
50164
+ },
50150
50165
  name: { type: "string" }
50151
50166
  },
50152
50167
  required: ["acs_entrance_id", "name"],
@@ -50157,7 +50172,7 @@ var openapi_default = {
50157
50172
  devices: {
50158
50173
  items: {
50159
50174
  properties: {
50160
- device_id: { type: "string" },
50175
+ device_id: { format: "uuid", type: "string" },
50161
50176
  device_type: {
50162
50177
  enum: ["lock", "thermostat", "sensor"],
50163
50178
  type: "string"
@@ -50242,7 +50257,10 @@ var openapi_default = {
50242
50257
  acs_entrances: {
50243
50258
  items: {
50244
50259
  properties: {
50245
- acs_entrance_id: { type: "string" },
50260
+ acs_entrance_id: {
50261
+ format: "uuid",
50262
+ type: "string"
50263
+ },
50246
50264
  name: { type: "string" }
50247
50265
  },
50248
50266
  required: ["acs_entrance_id", "name"],
@@ -50253,7 +50271,7 @@ var openapi_default = {
50253
50271
  devices: {
50254
50272
  items: {
50255
50273
  properties: {
50256
- device_id: { type: "string" },
50274
+ device_id: { format: "uuid", type: "string" },
50257
50275
  device_type: {
50258
50276
  enum: ["lock", "thermostat", "sensor"],
50259
50277
  type: "string"