@seamapi/types 1.237.0 → 1.239.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.
@@ -3057,6 +3057,13 @@ export interface Routes {
3057
3057
  message: string;
3058
3058
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
3059
3059
  error_code: 'salto_site_user_limit_reached';
3060
+ } | {
3061
+ /** Date and time at which Seam created the error. */
3062
+ created_at: string;
3063
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3064
+ message: string;
3065
+ /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
3066
+ error_code: 'salto_seam_integration_blocked';
3060
3067
  }>;
3061
3068
  /** Warnings associated with the `acs_system`. */
3062
3069
  warnings: Array<{
@@ -3141,6 +3148,13 @@ export interface Routes {
3141
3148
  message: string;
3142
3149
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
3143
3150
  error_code: 'salto_site_user_limit_reached';
3151
+ } | {
3152
+ /** Date and time at which Seam created the error. */
3153
+ created_at: string;
3154
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3155
+ message: string;
3156
+ /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
3157
+ error_code: 'salto_seam_integration_blocked';
3144
3158
  }>;
3145
3159
  /** Warnings associated with the `acs_system`. */
3146
3160
  warnings: Array<{
@@ -3225,6 +3239,13 @@ export interface Routes {
3225
3239
  message: string;
3226
3240
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
3227
3241
  error_code: 'salto_site_user_limit_reached';
3242
+ } | {
3243
+ /** Date and time at which Seam created the error. */
3244
+ created_at: string;
3245
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3246
+ message: string;
3247
+ /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
3248
+ error_code: 'salto_seam_integration_blocked';
3228
3249
  }>;
3229
3250
  /** Warnings associated with the `acs_system`. */
3230
3251
  warnings: Array<{
@@ -4571,7 +4592,7 @@ export interface Routes {
4571
4592
  device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
4572
4593
  custom_redirect_url?: string | undefined;
4573
4594
  custom_redirect_failure_url?: string | undefined;
4574
- accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'yale_access' | 'hid_cm' | 'google_nest'> | undefined;
4595
+ accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'yale_access' | 'hid_cm' | 'google_nest'> | undefined;
4575
4596
  provider_category?: ('stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'internal_beta') | undefined;
4576
4597
  custom_metadata?: Record<string, string | boolean | null> | undefined;
4577
4598
  automatically_manage_new_devices?: boolean;
@@ -5671,7 +5692,7 @@ export interface Routes {
5671
5692
  formData: {};
5672
5693
  jsonResponse: {
5673
5694
  device_providers: Array<{
5674
- device_provider_name: 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch';
5695
+ device_provider_name: 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles';
5675
5696
  display_name: string;
5676
5697
  image_url: string;
5677
5698
  provider_categories: Array<'stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems'>;
@@ -14546,6 +14567,13 @@ export interface Routes {
14546
14567
  message: string;
14547
14568
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
14548
14569
  error_code: 'salto_site_user_limit_reached';
14570
+ } | {
14571
+ /** Date and time at which Seam created the error. */
14572
+ created_at: string;
14573
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
14574
+ message: string;
14575
+ /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
14576
+ error_code: 'salto_seam_integration_blocked';
14549
14577
  }>;
14550
14578
  /** Warnings associated with the `acs_system`. */
14551
14579
  warnings: Array<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.237.0",
3
+ "version": "1.239.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -81,11 +81,19 @@ const salto_site_user_limit_reached = common_acs_system_error.extend({
81
81
  ),
82
82
  })
83
83
 
84
+ const salto_seam_integration_blocked = common_acs_system_error.extend({
85
+ error_code: z
86
+ .literal('salto_seam_integration_blocked')
87
+ .describe(
88
+ "Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block",
89
+ ),
90
+ })
84
91
  const acs_system_error = z
85
92
  .union([
86
93
  seam_bridge_disconnected,
87
94
  visionline_instance_unreachable,
88
95
  salto_site_user_limit_reached,
96
+ salto_seam_integration_blocked,
89
97
  ])
90
98
  .describe('Error associated with the `acs_system`.')
91
99
 
@@ -97,6 +105,9 @@ const acs_system_error_map = z.object({
97
105
  salto_site_user_limit_reached: salto_site_user_limit_reached
98
106
  .optional()
99
107
  .nullable(),
108
+ salto_seam_integration_blocked: salto_seam_integration_blocked
109
+ .optional()
110
+ .nullable(),
100
111
  })
101
112
 
102
113
  export type AcsSystemErrorMap = z.infer<typeof acs_system_error_map>
@@ -40,6 +40,7 @@ export const DEVICE_PROVIDERS = {
40
40
  TEDEE: 'tedee',
41
41
  HONEYWELL_RESIDEO: 'honeywell_resideo',
42
42
  LATCH: 'latch',
43
+ AKILES: 'akiles',
43
44
  } as const
44
45
 
45
46
  export type DeviceProviderName =
@@ -103,6 +104,7 @@ export const PROVIDER_CATEGORY_MAP = {
103
104
  'visionline',
104
105
  'assa_abloy_credential_service',
105
106
  'latch',
107
+ 'salto',
106
108
  ],
107
109
 
108
110
  internal_beta: ALL_DEVICE_PROVIDERS,
@@ -564,6 +564,29 @@ export default {
564
564
  required: ['created_at', 'message', 'error_code'],
565
565
  type: 'object',
566
566
  },
567
+ {
568
+ properties: {
569
+ created_at: {
570
+ description:
571
+ 'Date and time at which Seam created the error.',
572
+ format: 'date-time',
573
+ type: 'string',
574
+ },
575
+ error_code: {
576
+ description:
577
+ "Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block",
578
+ enum: ['salto_seam_integration_blocked'],
579
+ type: 'string',
580
+ },
581
+ message: {
582
+ description:
583
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
584
+ type: 'string',
585
+ },
586
+ },
587
+ required: ['created_at', 'message', 'error_code'],
588
+ type: 'object',
589
+ },
567
590
  ],
568
591
  },
569
592
  type: 'array',
@@ -3237,6 +3260,7 @@ export default {
3237
3260
  'tedee',
3238
3261
  'honeywell_resideo',
3239
3262
  'latch',
3263
+ 'akiles',
3240
3264
  ],
3241
3265
  type: 'string',
3242
3266
  },
@@ -8824,6 +8848,7 @@ export default {
8824
8848
  'tedee',
8825
8849
  'honeywell_resideo',
8826
8850
  'latch',
8851
+ 'akiles',
8827
8852
  'yale_access',
8828
8853
  'hid_cm',
8829
8854
  'google_nest',
@@ -3490,6 +3490,14 @@ export interface Routes {
3490
3490
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
3491
3491
  error_code: 'salto_site_user_limit_reached'
3492
3492
  }
3493
+ | {
3494
+ /** Date and time at which Seam created the error. */
3495
+ created_at: string
3496
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3497
+ message: string
3498
+ /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
3499
+ error_code: 'salto_seam_integration_blocked'
3500
+ }
3493
3501
  >
3494
3502
  /** Warnings associated with the `acs_system`. */
3495
3503
  warnings: Array<{
@@ -3602,6 +3610,14 @@ export interface Routes {
3602
3610
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
3603
3611
  error_code: 'salto_site_user_limit_reached'
3604
3612
  }
3613
+ | {
3614
+ /** Date and time at which Seam created the error. */
3615
+ created_at: string
3616
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3617
+ message: string
3618
+ /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
3619
+ error_code: 'salto_seam_integration_blocked'
3620
+ }
3605
3621
  >
3606
3622
  /** Warnings associated with the `acs_system`. */
3607
3623
  warnings: Array<{
@@ -3714,6 +3730,14 @@ export interface Routes {
3714
3730
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
3715
3731
  error_code: 'salto_site_user_limit_reached'
3716
3732
  }
3733
+ | {
3734
+ /** Date and time at which Seam created the error. */
3735
+ created_at: string
3736
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3737
+ message: string
3738
+ /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
3739
+ error_code: 'salto_seam_integration_blocked'
3740
+ }
3717
3741
  >
3718
3742
  /** Warnings associated with the `acs_system`. */
3719
3743
  warnings: Array<{
@@ -5275,6 +5299,7 @@ export interface Routes {
5275
5299
  | 'tedee'
5276
5300
  | 'honeywell_resideo'
5277
5301
  | 'latch'
5302
+ | 'akiles'
5278
5303
  | 'yale_access'
5279
5304
  | 'hid_cm'
5280
5305
  | 'google_nest'
@@ -6883,6 +6908,7 @@ export interface Routes {
6883
6908
  | 'tedee'
6884
6909
  | 'honeywell_resideo'
6885
6910
  | 'latch'
6911
+ | 'akiles'
6886
6912
  display_name: string
6887
6913
  image_url: string
6888
6914
  provider_categories: Array<
@@ -18565,6 +18591,14 @@ export interface Routes {
18565
18591
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
18566
18592
  error_code: 'salto_site_user_limit_reached'
18567
18593
  }
18594
+ | {
18595
+ /** Date and time at which Seam created the error. */
18596
+ created_at: string
18597
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
18598
+ message: string
18599
+ /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
18600
+ error_code: 'salto_seam_integration_blocked'
18601
+ }
18568
18602
  >
18569
18603
  /** Warnings associated with the `acs_system`. */
18570
18604
  warnings: Array<{