@seamapi/types 1.238.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<{
@@ -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.238.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>
@@ -104,6 +104,7 @@ export const PROVIDER_CATEGORY_MAP = {
104
104
  'visionline',
105
105
  'assa_abloy_credential_service',
106
106
  'latch',
107
+ 'salto',
107
108
  ],
108
109
 
109
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',
@@ -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<{
@@ -18567,6 +18591,14 @@ export interface Routes {
18567
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. */
18568
18592
  error_code: 'salto_site_user_limit_reached'
18569
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
+ }
18570
18602
  >
18571
18603
  /** Warnings associated with the `acs_system`. */
18572
18604
  warnings: Array<{