@seamapi/types 1.209.0 → 1.210.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.
@@ -2769,6 +2769,11 @@ export interface Routes {
2769
2769
  external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
2770
2770
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
2771
2771
  external_type_display_name?: string | undefined;
2772
+ visionline_metadata?: {
2773
+ mobile_access_uuid: string;
2774
+ system_id: string;
2775
+ lan_address: string;
2776
+ } | undefined;
2772
2777
  /**
2773
2778
  * @deprecated Use `external_type`. */
2774
2779
  system_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
@@ -2834,6 +2839,11 @@ export interface Routes {
2834
2839
  external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
2835
2840
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
2836
2841
  external_type_display_name?: string | undefined;
2842
+ visionline_metadata?: {
2843
+ mobile_access_uuid: string;
2844
+ system_id: string;
2845
+ lan_address: string;
2846
+ } | undefined;
2837
2847
  /**
2838
2848
  * @deprecated Use `external_type`. */
2839
2849
  system_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
@@ -2898,6 +2908,11 @@ export interface Routes {
2898
2908
  external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
2899
2909
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
2900
2910
  external_type_display_name?: string | undefined;
2911
+ visionline_metadata?: {
2912
+ mobile_access_uuid: string;
2913
+ system_id: string;
2914
+ lan_address: string;
2915
+ } | undefined;
2901
2916
  /**
2902
2917
  * @deprecated Use `external_type`. */
2903
2918
  system_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
@@ -9019,7 +9034,7 @@ export interface Routes {
9019
9034
  }) & ({
9020
9035
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
9021
9036
  code_constraints?: (Array<{
9022
- constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
9037
+ constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
9023
9038
  } | {
9024
9039
  constraint_type: 'name_length' | 'name_must_be_unique';
9025
9040
  min_length?: number | undefined;
@@ -9228,13 +9243,18 @@ export interface Routes {
9228
9243
  workspace_id: string;
9229
9244
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
9230
9245
  errors: Array<{
9246
+ message: string;
9247
+ is_device_error: true;
9231
9248
  error_code: string;
9249
+ } | {
9232
9250
  message: string;
9251
+ is_connected_account_error: true;
9252
+ error_code: string;
9233
9253
  }>;
9234
9254
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
9235
9255
  warnings: Array<{
9236
- warning_code: string;
9237
9256
  message: string;
9257
+ warning_code: string;
9238
9258
  }>;
9239
9259
  /** Date and time at which the device object was created. */
9240
9260
  created_at: string;
@@ -9529,7 +9549,7 @@ export interface Routes {
9529
9549
  }) & ({
9530
9550
  _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
9531
9551
  code_constraints?: (Array<{
9532
- constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
9552
+ constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
9533
9553
  } | {
9534
9554
  constraint_type: 'name_length' | 'name_must_be_unique';
9535
9555
  min_length?: number | undefined;
@@ -9738,13 +9758,18 @@ export interface Routes {
9738
9758
  workspace_id: string;
9739
9759
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
9740
9760
  errors: Array<{
9761
+ message: string;
9762
+ is_device_error: true;
9741
9763
  error_code: string;
9764
+ } | {
9742
9765
  message: string;
9766
+ is_connected_account_error: true;
9767
+ error_code: string;
9743
9768
  }>;
9744
9769
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
9745
9770
  warnings: Array<{
9746
- warning_code: string;
9747
9771
  message: string;
9772
+ warning_code: string;
9748
9773
  }>;
9749
9774
  /** Date and time at which the device object was created. */
9750
9775
  created_at: string;
@@ -15490,6 +15515,11 @@ export interface Routes {
15490
15515
  external_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
15491
15516
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
15492
15517
  external_type_display_name?: string | undefined;
15518
+ visionline_metadata?: {
15519
+ mobile_access_uuid: string;
15520
+ system_id: string;
15521
+ lan_address: string;
15522
+ } | undefined;
15493
15523
  /**
15494
15524
  * @deprecated Use `external_type`. */
15495
15525
  system_type?: ('pti_site' | 'alta_org' | 'salto_site' | 'brivo_account' | 'hid_credential_manager_organization' | 'visionline_system' | 'assa_abloy_credential_service' | 'latch_building') | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.209.0",
3
+ "version": "1.210.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -104,6 +104,13 @@ export const acs_system = z
104
104
  'Display name that corresponds to the brand-specific terminology for the `acs_system` type.',
105
105
  )
106
106
  .optional(),
107
+ visionline_metadata: z
108
+ .object({
109
+ mobile_access_uuid: z.string(),
110
+ system_id: z.string(),
111
+ lan_address: z.string(),
112
+ })
113
+ .optional(),
107
114
  system_type: acs_system_external_type
108
115
  .describe(
109
116
  `
@@ -586,6 +586,15 @@ export default {
586
586
  type: 'string',
587
587
  'x-deprecated': 'Use `external_type_display_name`.',
588
588
  },
589
+ visionline_metadata: {
590
+ properties: {
591
+ lan_address: { type: 'string' },
592
+ mobile_access_uuid: { type: 'string' },
593
+ system_id: { type: 'string' },
594
+ },
595
+ required: ['mobile_access_uuid', 'system_id', 'lan_address'],
596
+ type: 'object',
597
+ },
589
598
  warnings: {
590
599
  items: { properties: {}, type: 'object' },
591
600
  type: 'array',
@@ -3123,6 +3123,13 @@ export interface Routes {
3123
3123
  | undefined
3124
3124
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
3125
3125
  external_type_display_name?: string | undefined
3126
+ visionline_metadata?:
3127
+ | {
3128
+ mobile_access_uuid: string
3129
+ system_id: string
3130
+ lan_address: string
3131
+ }
3132
+ | undefined
3126
3133
  /**
3127
3134
  * @deprecated Use `external_type`. */
3128
3135
  system_type?:
@@ -3213,6 +3220,13 @@ export interface Routes {
3213
3220
  | undefined
3214
3221
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
3215
3222
  external_type_display_name?: string | undefined
3223
+ visionline_metadata?:
3224
+ | {
3225
+ mobile_access_uuid: string
3226
+ system_id: string
3227
+ lan_address: string
3228
+ }
3229
+ | undefined
3216
3230
  /**
3217
3231
  * @deprecated Use `external_type`. */
3218
3232
  system_type?:
@@ -3302,6 +3316,13 @@ export interface Routes {
3302
3316
  | undefined
3303
3317
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
3304
3318
  external_type_display_name?: string | undefined
3319
+ visionline_metadata?:
3320
+ | {
3321
+ mobile_access_uuid: string
3322
+ system_id: string
3323
+ lan_address: string
3324
+ }
3325
+ | undefined
3305
3326
  /**
3306
3327
  * @deprecated Use `external_type`. */
3307
3328
  system_type?:
@@ -12003,6 +12024,7 @@ export interface Routes {
12003
12024
  | 'no_ascending_or_descending_sequence'
12004
12025
  | 'at_least_three_unique_digits'
12005
12026
  | 'cannot_contain_089'
12027
+ | 'cannot_contain_0789'
12006
12028
  }
12007
12029
  | {
12008
12030
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -12308,14 +12330,22 @@ export interface Routes {
12308
12330
  /** Unique identifier for the Seam workspace associated with the device. */
12309
12331
  workspace_id: string
12310
12332
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
12311
- errors: Array<{
12312
- error_code: string
12313
- message: string
12314
- }>
12333
+ errors: Array<
12334
+ | {
12335
+ message: string
12336
+ is_device_error: true
12337
+ error_code: string
12338
+ }
12339
+ | {
12340
+ message: string
12341
+ is_connected_account_error: true
12342
+ error_code: string
12343
+ }
12344
+ >
12315
12345
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
12316
12346
  warnings: Array<{
12317
- warning_code: string
12318
12347
  message: string
12348
+ warning_code: string
12319
12349
  }>
12320
12350
  /** Date and time at which the device object was created. */
12321
12351
  created_at: string
@@ -12733,6 +12763,7 @@ export interface Routes {
12733
12763
  | 'no_ascending_or_descending_sequence'
12734
12764
  | 'at_least_three_unique_digits'
12735
12765
  | 'cannot_contain_089'
12766
+ | 'cannot_contain_0789'
12736
12767
  }
12737
12768
  | {
12738
12769
  constraint_type: 'name_length' | 'name_must_be_unique'
@@ -13038,14 +13069,22 @@ export interface Routes {
13038
13069
  /** Unique identifier for the Seam workspace associated with the device. */
13039
13070
  workspace_id: string
13040
13071
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
13041
- errors: Array<{
13042
- error_code: string
13043
- message: string
13044
- }>
13072
+ errors: Array<
13073
+ | {
13074
+ message: string
13075
+ is_device_error: true
13076
+ error_code: string
13077
+ }
13078
+ | {
13079
+ message: string
13080
+ is_connected_account_error: true
13081
+ error_code: string
13082
+ }
13083
+ >
13045
13084
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
13046
13085
  warnings: Array<{
13047
- warning_code: string
13048
13086
  message: string
13087
+ warning_code: string
13049
13088
  }>
13050
13089
  /** Date and time at which the device object was created. */
13051
13090
  created_at: string
@@ -20217,6 +20256,13 @@ export interface Routes {
20217
20256
  | undefined
20218
20257
  /** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
20219
20258
  external_type_display_name?: string | undefined
20259
+ visionline_metadata?:
20260
+ | {
20261
+ mobile_access_uuid: string
20262
+ system_id: string
20263
+ lan_address: string
20264
+ }
20265
+ | undefined
20220
20266
  /**
20221
20267
  * @deprecated Use `external_type`. */
20222
20268
  system_type?: