@seamapi/types 1.297.0 → 1.298.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.
@@ -7365,6 +7365,13 @@ export interface Routes {
7365
7365
  message: string;
7366
7366
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7367
7367
  error_code: 'account_disconnected';
7368
+ } | {
7369
+ /** Date and time at which Seam created the error. */
7370
+ created_at: string;
7371
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7372
+ message: string;
7373
+ /** Indicates that the access system has lost its Salto KS certification. Please contact support to regain access. */
7374
+ error_code: 'salto_ks_certification_expired';
7368
7375
  }>;
7369
7376
  /** Warnings associated with the `acs_system`. */
7370
7377
  warnings: Array<{
@@ -7474,6 +7481,13 @@ export interface Routes {
7474
7481
  message: string;
7475
7482
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7476
7483
  error_code: 'account_disconnected';
7484
+ } | {
7485
+ /** Date and time at which Seam created the error. */
7486
+ created_at: string;
7487
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7488
+ message: string;
7489
+ /** Indicates that the access system has lost its Salto KS certification. Please contact support to regain access. */
7490
+ error_code: 'salto_ks_certification_expired';
7477
7491
  }>;
7478
7492
  /** Warnings associated with the `acs_system`. */
7479
7493
  warnings: Array<{
@@ -7583,6 +7597,13 @@ export interface Routes {
7583
7597
  message: string;
7584
7598
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
7585
7599
  error_code: 'account_disconnected';
7600
+ } | {
7601
+ /** Date and time at which Seam created the error. */
7602
+ created_at: string;
7603
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
7604
+ message: string;
7605
+ /** Indicates that the access system has lost its Salto KS certification. Please contact support to regain access. */
7606
+ error_code: 'salto_ks_certification_expired';
7586
7607
  }>;
7587
7608
  /** Warnings associated with the `acs_system`. */
7588
7609
  warnings: Array<{
@@ -27858,6 +27879,13 @@ export interface Routes {
27858
27879
  message: string;
27859
27880
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
27860
27881
  error_code: 'account_disconnected';
27882
+ } | {
27883
+ /** Date and time at which Seam created the error. */
27884
+ created_at: string;
27885
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
27886
+ message: string;
27887
+ /** Indicates that the access system has lost its Salto KS certification. Please contact support to regain access. */
27888
+ error_code: 'salto_ks_certification_expired';
27861
27889
  }>;
27862
27890
  /** Warnings associated with the `acs_system`. */
27863
27891
  warnings: Array<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.297.0",
3
+ "version": "1.298.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -115,6 +115,13 @@ const account_disconnected = common_acs_system_error
115
115
  'Indicates that the login credentials are invalid. Reconnect the account using the Connect Webview to restore access.',
116
116
  )
117
117
 
118
+ const salto_ks_certification_expired = common_acs_system_error.extend({
119
+ error_code: z
120
+ .literal('salto_ks_certification_expired')
121
+ .describe(
122
+ 'Indicates that the access system has lost its Salto KS certification. Please contact support to regain access.',
123
+ ),
124
+ })
118
125
  const acs_system_error = z
119
126
  .union([
120
127
  seam_bridge_disconnected,
@@ -122,6 +129,7 @@ const acs_system_error = z
122
129
  salto_ks_subscription_limit_exceeded,
123
130
  acs_system_disconnected,
124
131
  account_disconnected,
132
+ salto_ks_certification_expired,
125
133
  ])
126
134
  .describe('Error associated with the `acs_system`.')
127
135
 
@@ -135,6 +143,9 @@ export const acs_system_error_map = z.object({
135
143
  .nullable(),
136
144
  acs_system_disconnected: acs_system_disconnected.optional().nullable(),
137
145
  account_disconnected: account_disconnected.optional().nullable(),
146
+ salto_ks_certification_expired: salto_ks_certification_expired
147
+ .optional()
148
+ .nullable(),
138
149
  })
139
150
 
140
151
  export type AcsSystemErrorMap = z.infer<typeof acs_system_error_map>
@@ -110,6 +110,8 @@ export const PROVIDER_CATEGORY_MAP = {
110
110
  'assa_abloy_credential_service',
111
111
  'latch',
112
112
  'salto_ks',
113
+ 'assa_abloy_vostio',
114
+ 'assa_abloy_vostio_credential_service',
113
115
  ],
114
116
 
115
117
  internal_beta: ALL_DEVICE_PROVIDERS,
@@ -873,6 +873,29 @@ export default {
873
873
  required: ['created_at', 'message', 'error_code'],
874
874
  type: 'object',
875
875
  },
876
+ {
877
+ properties: {
878
+ created_at: {
879
+ description:
880
+ 'Date and time at which Seam created the error.',
881
+ format: 'date-time',
882
+ type: 'string',
883
+ },
884
+ error_code: {
885
+ description:
886
+ 'Indicates that the access system has lost its Salto KS certification. Please contact support to regain access.',
887
+ enum: ['salto_ks_certification_expired'],
888
+ type: 'string',
889
+ },
890
+ message: {
891
+ description:
892
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
893
+ type: 'string',
894
+ },
895
+ },
896
+ required: ['created_at', 'message', 'error_code'],
897
+ type: 'object',
898
+ },
876
899
  ],
877
900
  },
878
901
  type: 'array',
@@ -8600,6 +8600,14 @@ export interface Routes {
8600
8600
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8601
8601
  error_code: 'account_disconnected'
8602
8602
  }
8603
+ | {
8604
+ /** Date and time at which Seam created the error. */
8605
+ created_at: string
8606
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8607
+ message: string
8608
+ /** Indicates that the access system has lost its Salto KS certification. Please contact support to regain access. */
8609
+ error_code: 'salto_ks_certification_expired'
8610
+ }
8603
8611
  >
8604
8612
  /** Warnings associated with the `acs_system`. */
8605
8613
  warnings: Array<{
@@ -8747,6 +8755,14 @@ export interface Routes {
8747
8755
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8748
8756
  error_code: 'account_disconnected'
8749
8757
  }
8758
+ | {
8759
+ /** Date and time at which Seam created the error. */
8760
+ created_at: string
8761
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8762
+ message: string
8763
+ /** Indicates that the access system has lost its Salto KS certification. Please contact support to regain access. */
8764
+ error_code: 'salto_ks_certification_expired'
8765
+ }
8750
8766
  >
8751
8767
  /** Warnings associated with the `acs_system`. */
8752
8768
  warnings: Array<{
@@ -8894,6 +8910,14 @@ export interface Routes {
8894
8910
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
8895
8911
  error_code: 'account_disconnected'
8896
8912
  }
8913
+ | {
8914
+ /** Date and time at which Seam created the error. */
8915
+ created_at: string
8916
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
8917
+ message: string
8918
+ /** Indicates that the access system has lost its Salto KS certification. Please contact support to regain access. */
8919
+ error_code: 'salto_ks_certification_expired'
8920
+ }
8897
8921
  >
8898
8922
  /** Warnings associated with the `acs_system`. */
8899
8923
  warnings: Array<{
@@ -34745,6 +34769,14 @@ export interface Routes {
34745
34769
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34746
34770
  error_code: 'account_disconnected'
34747
34771
  }
34772
+ | {
34773
+ /** Date and time at which Seam created the error. */
34774
+ created_at: string
34775
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
34776
+ message: string
34777
+ /** Indicates that the access system has lost its Salto KS certification. Please contact support to regain access. */
34778
+ error_code: 'salto_ks_certification_expired'
34779
+ }
34748
34780
  >
34749
34781
  /** Warnings associated with the `acs_system`. */
34750
34782
  warnings: Array<{