@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.
@@ -11494,7 +11494,7 @@ export type Routes = {
11494
11494
  }[] | undefined;
11495
11495
  connected_accounts?: {
11496
11496
  /** ID of the connected account. */
11497
- connected_account_id?: string | undefined;
11497
+ connected_account_id: string;
11498
11498
  /** Date and time at which the connected account was created. */
11499
11499
  created_at?: string | undefined;
11500
11500
  /** User identifier associated with the connected account. */
@@ -27258,7 +27258,7 @@ export type Routes = {
27258
27258
  /** Represents a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). A connected account is an external third-party account to which your user has authorized Seam to get access, for example, an August account with a list of door locks. */
27259
27259
  connected_account: {
27260
27260
  /** ID of the connected account. */
27261
- connected_account_id?: string | undefined;
27261
+ connected_account_id: string;
27262
27262
  /** Date and time at which the connected account was created. */
27263
27263
  created_at?: string | undefined;
27264
27264
  /** User identifier associated with the connected account. */
@@ -27413,7 +27413,7 @@ export type Routes = {
27413
27413
  jsonResponse: {
27414
27414
  connected_accounts: {
27415
27415
  /** ID of the connected account. */
27416
- connected_account_id?: string | undefined;
27416
+ connected_account_id: string;
27417
27417
  /** Date and time at which the connected account was created. */
27418
27418
  created_at?: string | undefined;
27419
27419
  /** User identifier associated with the connected account. */
@@ -27586,7 +27586,7 @@ export type Routes = {
27586
27586
  /** Represents a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). A connected account is an external third-party account to which your user has authorized Seam to get access, for example, an August account with a list of door locks. */
27587
27587
  connected_account: {
27588
27588
  /** ID of the connected account. */
27589
- connected_account_id?: string | undefined;
27589
+ connected_account_id: string;
27590
27590
  /** Date and time at which the connected account was created. */
27591
27591
  created_at?: string | undefined;
27592
27592
  /** User identifier associated with the connected account. */
@@ -56379,7 +56379,7 @@ export type Routes = {
56379
56379
  }[] | undefined;
56380
56380
  connected_accounts?: {
56381
56381
  /** ID of the connected account. */
56382
- connected_account_id?: string | undefined;
56382
+ connected_account_id: string;
56383
56383
  /** Date and time at which the connected account was created. */
56384
56384
  created_at?: string | undefined;
56385
56385
  /** User identifier associated with the connected account. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.481.0",
3
+ "version": "1.483.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -64,6 +64,7 @@ export const workspaces_batch = z
64
64
  unmanaged_acs_users: unmanaged_acs_user.array().optional(),
65
65
  unmanaged_acs_access_groups: unmanaged_acs_access_group.array().optional(),
66
66
  unmanaged_devices: unmanaged_device.array().optional(),
67
+ connected_accounts: connected_account.array().optional(),
67
68
  connect_webviews: connect_webview.array().optional(),
68
69
  access_methods: access_method.array().optional(),
69
70
  access_grants: access_grant.array().optional(),
@@ -249,7 +249,6 @@ export const connected_account = z.object({
249
249
  connected_account_id: z
250
250
  .string()
251
251
  .uuid()
252
- .optional()
253
252
  .describe('ID of the connected account.'),
254
253
  created_at: z
255
254
  .string()
@@ -9187,6 +9187,7 @@ export default {
9187
9187
  },
9188
9188
  },
9189
9189
  required: [
9190
+ 'connected_account_id',
9190
9191
  'account_type_display_name',
9191
9192
  'errors',
9192
9193
  'warnings',
@@ -36033,13 +36034,14 @@ export default {
36033
36034
  user_identity_id: {
36034
36035
  description:
36035
36036
  '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.',
36037
+ format: 'uuid',
36036
36038
  type: 'string',
36037
36039
  },
36038
36040
  user_identity_ids: {
36039
36041
  deprecated: true,
36040
36042
  description:
36041
36043
  '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.',
36042
- items: { type: 'string' },
36044
+ items: { format: 'uuid', type: 'string' },
36043
36045
  maxItems: 1,
36044
36046
  minItems: 1,
36045
36047
  type: 'array',
@@ -36132,13 +36134,14 @@ export default {
36132
36134
  user_identity_id: {
36133
36135
  description:
36134
36136
  '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.',
36137
+ format: 'uuid',
36135
36138
  type: 'string',
36136
36139
  },
36137
36140
  user_identity_ids: {
36138
36141
  deprecated: true,
36139
36142
  description:
36140
36143
  '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.',
36141
- items: { type: 'string' },
36144
+ items: { format: 'uuid', type: 'string' },
36142
36145
  maxItems: 1,
36143
36146
  minItems: 1,
36144
36147
  type: 'array',
@@ -36293,6 +36296,7 @@ export default {
36293
36296
  name: 'client_session_id',
36294
36297
  schema: {
36295
36298
  description: 'ID of the client session that you want to get.',
36299
+ format: 'uuid',
36296
36300
  type: 'string',
36297
36301
  },
36298
36302
  },
@@ -36353,6 +36357,7 @@ export default {
36353
36357
  client_session_id: {
36354
36358
  description:
36355
36359
  'ID of the client session that you want to get.',
36360
+ format: 'uuid',
36356
36361
  type: 'string',
36357
36362
  },
36358
36363
  user_identifier_key: {
@@ -36439,13 +36444,14 @@ export default {
36439
36444
  user_identity_id: {
36440
36445
  description:
36441
36446
  '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).',
36447
+ format: 'uuid',
36442
36448
  type: 'string',
36443
36449
  },
36444
36450
  user_identity_ids: {
36445
36451
  deprecated: true,
36446
36452
  description:
36447
36453
  '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.',
36448
- items: { type: 'string' },
36454
+ items: { format: 'uuid', type: 'string' },
36449
36455
  maxItems: 1,
36450
36456
  minItems: 1,
36451
36457
  type: 'array',
@@ -47916,7 +47922,11 @@ export default {
47916
47922
  in: 'query',
47917
47923
  name: 'customer_portal_id',
47918
47924
  required: true,
47919
- schema: { description: 'Customer portal ID.', type: 'string' },
47925
+ schema: {
47926
+ description: 'Customer portal ID.',
47927
+ format: 'uuid',
47928
+ type: 'string',
47929
+ },
47920
47930
  },
47921
47931
  ],
47922
47932
  responses: {
@@ -48005,6 +48015,7 @@ export default {
48005
48015
  properties: {
48006
48016
  customer_portal_id: {
48007
48017
  description: 'Customer portal ID.',
48018
+ format: 'uuid',
48008
48019
  type: 'string',
48009
48020
  },
48010
48021
  },
@@ -48523,7 +48534,10 @@ export default {
48523
48534
  acs_entrances: {
48524
48535
  items: {
48525
48536
  properties: {
48526
- acs_entrance_id: { type: 'string' },
48537
+ acs_entrance_id: {
48538
+ format: 'uuid',
48539
+ type: 'string',
48540
+ },
48527
48541
  name: { type: 'string' },
48528
48542
  },
48529
48543
  required: ['acs_entrance_id', 'name'],
@@ -48534,7 +48548,7 @@ export default {
48534
48548
  devices: {
48535
48549
  items: {
48536
48550
  properties: {
48537
- device_id: { type: 'string' },
48551
+ device_id: { format: 'uuid', type: 'string' },
48538
48552
  device_type: {
48539
48553
  enum: ['lock', 'thermostat', 'sensor'],
48540
48554
  type: 'string',
@@ -48620,7 +48634,10 @@ export default {
48620
48634
  acs_entrances: {
48621
48635
  items: {
48622
48636
  properties: {
48623
- acs_entrance_id: { type: 'string' },
48637
+ acs_entrance_id: {
48638
+ format: 'uuid',
48639
+ type: 'string',
48640
+ },
48624
48641
  name: { type: 'string' },
48625
48642
  },
48626
48643
  required: ['acs_entrance_id', 'name'],
@@ -48631,7 +48648,7 @@ export default {
48631
48648
  devices: {
48632
48649
  items: {
48633
48650
  properties: {
48634
- device_id: { type: 'string' },
48651
+ device_id: { format: 'uuid', type: 'string' },
48635
48652
  device_type: {
48636
48653
  enum: ['lock', 'thermostat', 'sensor'],
48637
48654
  type: 'string',
@@ -13097,7 +13097,7 @@ export type Routes = {
13097
13097
  connected_accounts?:
13098
13098
  | {
13099
13099
  /** ID of the connected account. */
13100
- connected_account_id?: string | undefined
13100
+ connected_account_id: string
13101
13101
  /** Date and time at which the connected account was created. */
13102
13102
  created_at?: string | undefined
13103
13103
  /** User identifier associated with the connected account. */
@@ -31552,7 +31552,7 @@ export type Routes = {
31552
31552
  /** Represents a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). A connected account is an external third-party account to which your user has authorized Seam to get access, for example, an August account with a list of door locks. */
31553
31553
  connected_account: {
31554
31554
  /** ID of the connected account. */
31555
- connected_account_id?: string | undefined
31555
+ connected_account_id: string
31556
31556
  /** Date and time at which the connected account was created. */
31557
31557
  created_at?: string | undefined
31558
31558
  /** User identifier associated with the connected account. */
@@ -31725,7 +31725,7 @@ export type Routes = {
31725
31725
  jsonResponse: {
31726
31726
  connected_accounts: {
31727
31727
  /** ID of the connected account. */
31728
- connected_account_id?: string | undefined
31728
+ connected_account_id: string
31729
31729
  /** Date and time at which the connected account was created. */
31730
31730
  created_at?: string | undefined
31731
31731
  /** User identifier associated with the connected account. */
@@ -31918,7 +31918,7 @@ export type Routes = {
31918
31918
  /** Represents a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). A connected account is an external third-party account to which your user has authorized Seam to get access, for example, an August account with a list of door locks. */
31919
31919
  connected_account: {
31920
31920
  /** ID of the connected account. */
31921
- connected_account_id?: string | undefined
31921
+ connected_account_id: string
31922
31922
  /** Date and time at which the connected account was created. */
31923
31923
  created_at?: string | undefined
31924
31924
  /** User identifier associated with the connected account. */
@@ -67115,7 +67115,7 @@ export type Routes = {
67115
67115
  connected_accounts?:
67116
67116
  | {
67117
67117
  /** ID of the connected account. */
67118
- connected_account_id?: string | undefined
67118
+ connected_account_id: string
67119
67119
  /** Date and time at which the connected account was created. */
67120
67120
  created_at?: string | undefined
67121
67121
  /** User identifier associated with the connected account. */