@seamapi/types 1.985.0 → 1.986.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.
@@ -117,10 +117,11 @@ export type ConnectedAccountCompletedFirstSyncEvent = z.infer<
117
117
 
118
118
  export const connected_account_deleted_event = connected_account_event.extend({
119
119
  event_type: z.literal('connected_account.deleted'),
120
- connected_account_type: z
121
- .string()
122
- .optional()
123
- .describe(`undocumented: Unreleased.`),
120
+ connected_account_type: z.string().optional().describe(`
121
+ ---
122
+ undocumented: Unreleased.
123
+ ---
124
+ `),
124
125
  customer_key: z
125
126
  .string()
126
127
  .optional()
@@ -436,21 +436,25 @@ export const lock_locked_event = device_event.extend({
436
436
  'Method by which the lock was locked. `keycode`: an access code was used (see `access_code_id`). `manual`: a physical action such as a thumbturn or button press. `remote`: a remote action via an app, Bluetooth, or the Seam API (see `action_attempt_id` if Seam-initiated; see `is_via_bluetooth` or `is_via_nfc` for the transport). `automatic`: triggered automatically, for example by an auto-relock timer. `unknown`: could not be determined.',
437
437
  ),
438
438
  user_identity_id: z.string().uuid().optional().describe(`
439
+ ---
439
440
  undocumented: Unreleased.
440
441
  ---
441
442
  ID of the user identity associated with the lock event.
442
443
  `),
443
444
  acs_system_id: z.string().uuid().optional().describe(`
445
+ ---
444
446
  undocumented: Unreleased.
445
447
  ---
446
448
  ID of the ACS system associated with the lock event.
447
449
  `),
448
450
  acs_user_id: z.string().uuid().optional().describe(`
451
+ ---
449
452
  undocumented: Unreleased.
450
453
  ---
451
454
  ID of the ACS user associated with the lock event.
452
455
  `),
453
456
  acs_entrance_id: z.string().uuid().optional().describe(`
457
+ ---
454
458
  undocumented: Unreleased.
455
459
  ---
456
460
  ID of the ACS entrance associated with the lock event.
@@ -499,21 +503,25 @@ export const lock_unlocked_event = device_event.extend({
499
503
  'Method by which the lock was unlocked. `keycode`: an [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) was used (see `access_code_id`). `manual`: a physical action such as a thumbturn or handle press. `remote`: a remote action via an app, Bluetooth, or the Seam API (see `action_attempt_id` if Seam-initiated; see `is_via_bluetooth` or `is_via_nfc` for the transport). `automatic`: triggered automatically, for example by a time-based schedule. `unknown`: could not be determined.',
500
504
  ),
501
505
  user_identity_id: z.string().uuid().optional().describe(`
506
+ ---
502
507
  undocumented: Unreleased.
503
508
  ---
504
509
  ID of the user identity associated with the unlock event.
505
510
  `),
506
511
  acs_system_id: z.string().uuid().optional().describe(`
512
+ ---
507
513
  undocumented: Unreleased.
508
514
  ---
509
515
  ID of the ACS system associated with the unlock event.
510
516
  `),
511
517
  acs_user_id: z.string().uuid().optional().describe(`
518
+ ---
512
519
  undocumented: Unreleased.
513
520
  ---
514
521
  ID of the ACS user associated with the unlock event.
515
522
  `),
516
523
  acs_entrance_id: z.string().uuid().optional().describe(`
524
+ ---
517
525
  undocumented: Unreleased.
518
526
  ---
519
527
  ID of the ACS entrance associated with the unlock event.
@@ -546,21 +554,25 @@ export const lock_access_denied_event = device_event.extend({
546
554
  .optional()
547
555
  .describe('ID of the access code that was used in the unlock attempts.'),
548
556
  user_identity_id: z.string().uuid().optional().describe(`
557
+ ---
549
558
  undocumented: Unreleased.
550
559
  ---
551
560
  ID of the user identity associated with the access-denied event.
552
561
  `),
553
562
  acs_system_id: z.string().uuid().optional().describe(`
563
+ ---
554
564
  undocumented: Unreleased.
555
565
  ---
556
566
  ID of the ACS system associated with the access-denied event.
557
567
  `),
558
568
  acs_user_id: z.string().uuid().optional().describe(`
569
+ ---
559
570
  undocumented: Unreleased.
560
571
  ---
561
572
  ID of the ACS user associated with the access-denied event.
562
573
  `),
563
574
  acs_entrance_id: z.string().uuid().optional().describe(`
575
+ ---
564
576
  undocumented: Unreleased.
565
577
  ---
566
578
  ID of the ACS entrance associated with the access-denied event.
@@ -4341,8 +4341,9 @@ const openapi: OpenAPISpec = {
4341
4341
  type: 'object',
4342
4342
  },
4343
4343
  {
4344
+ deprecated: true,
4344
4345
  description:
4345
- 'deprecated: Use `privacy_mode` instead. Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.',
4346
+ 'Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.',
4346
4347
  properties: {
4347
4348
  created_at: {
4348
4349
  description:
@@ -4364,6 +4365,7 @@ const openapi: OpenAPISpec = {
4364
4365
  },
4365
4366
  required: ['created_at', 'message', 'warning_code'],
4366
4367
  type: 'object',
4368
+ 'x-deprecated': 'Use `privacy_mode` instead.',
4367
4369
  },
4368
4370
  {
4369
4371
  description:
@@ -14982,7 +14984,7 @@ const openapi: OpenAPISpec = {
14982
14984
  },
14983
14985
  },
14984
14986
  type: 'object',
14985
- 'x-deprecated': 'Use `salto_ks_metadata ` instead.',
14987
+ 'x-deprecated': 'Use `salto_ks_metadata` instead.',
14986
14988
  },
14987
14989
  schlage_metadata: {
14988
14990
  description: 'Metadata for a Schlage device.',
@@ -22557,8 +22559,8 @@ const openapi: OpenAPISpec = {
22557
22559
  type: 'string',
22558
22560
  },
22559
22561
  connected_account_type: {
22560
- description: 'undocumented: Unreleased.',
22561
22562
  type: 'string',
22563
+ 'x-undocumented': 'Unreleased.',
22562
22564
  },
22563
22565
  created_at: {
22564
22566
  description: 'Date and time at which the event was created.',
@@ -25898,21 +25900,24 @@ const openapi: OpenAPISpec = {
25898
25900
  },
25899
25901
  acs_entrance_id: {
25900
25902
  description:
25901
- '\n undocumented: Unreleased.\n ---\n ID of the ACS entrance associated with the lock event.\n ',
25903
+ 'ID of the ACS entrance associated with the lock event.',
25902
25904
  format: 'uuid',
25903
25905
  type: 'string',
25906
+ 'x-undocumented': 'Unreleased.',
25904
25907
  },
25905
25908
  acs_system_id: {
25906
25909
  description:
25907
- '\n undocumented: Unreleased.\n ---\n ID of the ACS system associated with the lock event.\n ',
25910
+ 'ID of the ACS system associated with the lock event.',
25908
25911
  format: 'uuid',
25909
25912
  type: 'string',
25913
+ 'x-undocumented': 'Unreleased.',
25910
25914
  },
25911
25915
  acs_user_id: {
25912
25916
  description:
25913
- '\n undocumented: Unreleased.\n ---\n ID of the ACS user associated with the lock event.\n ',
25917
+ 'ID of the ACS user associated with the lock event.',
25914
25918
  format: 'uuid',
25915
25919
  type: 'string',
25920
+ 'x-undocumented': 'Unreleased.',
25916
25921
  },
25917
25922
  action_attempt_id: {
25918
25923
  description:
@@ -26003,9 +26008,10 @@ const openapi: OpenAPISpec = {
26003
26008
  },
26004
26009
  user_identity_id: {
26005
26010
  description:
26006
- '\n undocumented: Unreleased.\n ---\n ID of the user identity associated with the lock event.\n ',
26011
+ 'ID of the user identity associated with the lock event.',
26007
26012
  format: 'uuid',
26008
26013
  type: 'string',
26014
+ 'x-undocumented': 'Unreleased.',
26009
26015
  },
26010
26016
  workspace_id: {
26011
26017
  description: 'ID of the workspace associated with the event.',
@@ -26043,21 +26049,24 @@ const openapi: OpenAPISpec = {
26043
26049
  },
26044
26050
  acs_entrance_id: {
26045
26051
  description:
26046
- '\n undocumented: Unreleased.\n ---\n ID of the ACS entrance associated with the unlock event.\n ',
26052
+ 'ID of the ACS entrance associated with the unlock event.',
26047
26053
  format: 'uuid',
26048
26054
  type: 'string',
26055
+ 'x-undocumented': 'Unreleased.',
26049
26056
  },
26050
26057
  acs_system_id: {
26051
26058
  description:
26052
- '\n undocumented: Unreleased.\n ---\n ID of the ACS system associated with the unlock event.\n ',
26059
+ 'ID of the ACS system associated with the unlock event.',
26053
26060
  format: 'uuid',
26054
26061
  type: 'string',
26062
+ 'x-undocumented': 'Unreleased.',
26055
26063
  },
26056
26064
  acs_user_id: {
26057
26065
  description:
26058
- '\n undocumented: Unreleased.\n ---\n ID of the ACS user associated with the unlock event.\n ',
26066
+ 'ID of the ACS user associated with the unlock event.',
26059
26067
  format: 'uuid',
26060
26068
  type: 'string',
26069
+ 'x-undocumented': 'Unreleased.',
26061
26070
  },
26062
26071
  action_attempt_id: {
26063
26072
  description:
@@ -26148,9 +26157,10 @@ const openapi: OpenAPISpec = {
26148
26157
  },
26149
26158
  user_identity_id: {
26150
26159
  description:
26151
- '\n undocumented: Unreleased.\n ---\n ID of the user identity associated with the unlock event.\n ',
26160
+ 'ID of the user identity associated with the unlock event.',
26152
26161
  format: 'uuid',
26153
26162
  type: 'string',
26163
+ 'x-undocumented': 'Unreleased.',
26154
26164
  },
26155
26165
  workspace_id: {
26156
26166
  description: 'ID of the workspace associated with the event.',
@@ -26182,21 +26192,24 @@ const openapi: OpenAPISpec = {
26182
26192
  },
26183
26193
  acs_entrance_id: {
26184
26194
  description:
26185
- '\n undocumented: Unreleased.\n ---\n ID of the ACS entrance associated with the access-denied event.\n ',
26195
+ 'ID of the ACS entrance associated with the access-denied event.',
26186
26196
  format: 'uuid',
26187
26197
  type: 'string',
26198
+ 'x-undocumented': 'Unreleased.',
26188
26199
  },
26189
26200
  acs_system_id: {
26190
26201
  description:
26191
- '\n undocumented: Unreleased.\n ---\n ID of the ACS system associated with the access-denied event.\n ',
26202
+ 'ID of the ACS system associated with the access-denied event.',
26192
26203
  format: 'uuid',
26193
26204
  type: 'string',
26205
+ 'x-undocumented': 'Unreleased.',
26194
26206
  },
26195
26207
  acs_user_id: {
26196
26208
  description:
26197
- '\n undocumented: Unreleased.\n ---\n ID of the ACS user associated with the access-denied event.\n ',
26209
+ 'ID of the ACS user associated with the access-denied event.',
26198
26210
  format: 'uuid',
26199
26211
  type: 'string',
26212
+ 'x-undocumented': 'Unreleased.',
26200
26213
  },
26201
26214
  connected_account_custom_metadata: {
26202
26215
  additionalProperties: {
@@ -26279,9 +26292,10 @@ const openapi: OpenAPISpec = {
26279
26292
  },
26280
26293
  user_identity_id: {
26281
26294
  description:
26282
- '\n undocumented: Unreleased.\n ---\n ID of the user identity associated with the access-denied event.\n ',
26295
+ 'ID of the user identity associated with the access-denied event.',
26283
26296
  format: 'uuid',
26284
26297
  type: 'string',
26298
+ 'x-undocumented': 'Unreleased.',
26285
26299
  },
26286
26300
  workspace_id: {
26287
26301
  description: 'ID of the workspace associated with the event.',
@@ -28494,8 +28508,9 @@ const openapi: OpenAPISpec = {
28494
28508
  type: 'object',
28495
28509
  },
28496
28510
  {
28511
+ deprecated: true,
28497
28512
  description:
28498
- 'deprecated: Use `privacy_mode` instead. Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.',
28513
+ 'Indicates that this entrance is in privacy mode. When privacy mode is enabled, access codes, mobile keys, and remote unlocks will not work unless the user has admin access.',
28499
28514
  properties: {
28500
28515
  created_at: {
28501
28516
  description:
@@ -28521,6 +28536,8 @@ const openapi: OpenAPISpec = {
28521
28536
  'warning_code',
28522
28537
  ],
28523
28538
  type: 'object',
28539
+ 'x-deprecated':
28540
+ 'Use `privacy_mode` instead.',
28524
28541
  },
28525
28542
  {
28526
28543
  description: