@seamapi/types 1.848.0 → 1.849.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.
@@ -13205,6 +13205,13 @@ export type Routes = {
13205
13205
  message: string;
13206
13206
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13207
13207
  error_code: 'salto_ks_certification_expired';
13208
+ } | {
13209
+ /** Date and time at which Seam created the error. */
13210
+ created_at: string;
13211
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
13212
+ message: string;
13213
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13214
+ error_code: 'provider_service_unavailable';
13208
13215
  })[];
13209
13216
  /** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
13210
13217
  warnings: ({
@@ -26088,6 +26095,13 @@ export type Routes = {
26088
26095
  message: string;
26089
26096
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
26090
26097
  error_code: 'salto_ks_certification_expired';
26098
+ } | {
26099
+ /** Date and time at which Seam created the error. */
26100
+ created_at: string;
26101
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
26102
+ message: string;
26103
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
26104
+ error_code: 'provider_service_unavailable';
26091
26105
  })[];
26092
26106
  /** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
26093
26107
  warnings: ({
@@ -26224,6 +26238,13 @@ export type Routes = {
26224
26238
  message: string;
26225
26239
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
26226
26240
  error_code: 'salto_ks_certification_expired';
26241
+ } | {
26242
+ /** Date and time at which Seam created the error. */
26243
+ created_at: string;
26244
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
26245
+ message: string;
26246
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
26247
+ error_code: 'provider_service_unavailable';
26227
26248
  })[];
26228
26249
  /** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
26229
26250
  warnings: ({
@@ -26356,6 +26377,13 @@ export type Routes = {
26356
26377
  message: string;
26357
26378
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
26358
26379
  error_code: 'salto_ks_certification_expired';
26380
+ } | {
26381
+ /** Date and time at which Seam created the error. */
26382
+ created_at: string;
26383
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
26384
+ message: string;
26385
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
26386
+ error_code: 'provider_service_unavailable';
26359
26387
  })[];
26360
26388
  /** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
26361
26389
  warnings: ({
@@ -71264,6 +71292,13 @@ export type Routes = {
71264
71292
  message: string;
71265
71293
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71266
71294
  error_code: 'salto_ks_certification_expired';
71295
+ } | {
71296
+ /** Date and time at which Seam created the error. */
71297
+ created_at: string;
71298
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
71299
+ message: string;
71300
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71301
+ error_code: 'provider_service_unavailable';
71267
71302
  })[];
71268
71303
  /** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
71269
71304
  warnings: ({
@@ -91759,6 +91794,13 @@ export type Routes = {
91759
91794
  message: string;
91760
91795
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
91761
91796
  error_code: 'salto_ks_certification_expired';
91797
+ } | {
91798
+ /** Date and time at which Seam created the error. */
91799
+ created_at: string;
91800
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
91801
+ message: string;
91802
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
91803
+ error_code: 'provider_service_unavailable';
91762
91804
  })[];
91763
91805
  /** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
91764
91806
  warnings: ({
@@ -94239,6 +94281,13 @@ export type Routes = {
94239
94281
  message: string;
94240
94282
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
94241
94283
  error_code: 'salto_ks_certification_expired';
94284
+ } | {
94285
+ /** Date and time at which Seam created the error. */
94286
+ created_at: string;
94287
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
94288
+ message: string;
94289
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
94290
+ error_code: 'provider_service_unavailable';
94242
94291
  })[];
94243
94292
  /** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
94244
94293
  warnings: ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.848.0",
3
+ "version": "1.849.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -116,6 +116,16 @@ const salto_ks_certification_expired = common_acs_system_error
116
116
  .describe(
117
117
  'Indicates that the [access control system](https://docs.seam.co/latest/capability-guides/access-systems) has lost its Salto KS certification. Contact [support](mailto:support@seam.co) to regain access.',
118
118
  )
119
+ const provider_service_unavailable = common_acs_system_error
120
+ .extend({
121
+ error_code: z
122
+ .literal('provider_service_unavailable')
123
+ .describe(error_code_description),
124
+ })
125
+ .describe(
126
+ "Indicates that the access control system provider's service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again.",
127
+ )
128
+
119
129
  const acs_system_error = z
120
130
  .discriminatedUnion('error_code', [
121
131
  seam_bridge_disconnected,
@@ -125,6 +135,7 @@ const acs_system_error = z
125
135
  acs_system_disconnected,
126
136
  account_disconnected,
127
137
  salto_ks_certification_expired,
138
+ provider_service_unavailable,
128
139
  ])
129
140
  .describe(
130
141
  'Error associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems).',
@@ -144,6 +155,9 @@ const _acs_system_error_map = z.object({
144
155
  salto_ks_certification_expired: salto_ks_certification_expired
145
156
  .optional()
146
157
  .nullable(),
158
+ provider_service_unavailable: provider_service_unavailable
159
+ .optional()
160
+ .nullable(),
147
161
  })
148
162
 
149
163
  export type AcsSystemErrorMap = z.infer<typeof _acs_system_error_map>
@@ -4952,6 +4952,31 @@ const openapi: OpenAPISpec = {
4952
4952
  required: ['created_at', 'message', 'error_code'],
4953
4953
  type: 'object',
4954
4954
  },
4955
+ {
4956
+ description:
4957
+ "Indicates that the access control system provider's service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again.",
4958
+ properties: {
4959
+ created_at: {
4960
+ description:
4961
+ 'Date and time at which Seam created the error.',
4962
+ format: 'date-time',
4963
+ type: 'string',
4964
+ },
4965
+ error_code: {
4966
+ description:
4967
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
4968
+ enum: ['provider_service_unavailable'],
4969
+ type: 'string',
4970
+ },
4971
+ message: {
4972
+ description:
4973
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
4974
+ type: 'string',
4975
+ },
4976
+ },
4977
+ required: ['created_at', 'message', 'error_code'],
4978
+ type: 'object',
4979
+ },
4955
4980
  ],
4956
4981
  },
4957
4982
  type: 'array',
@@ -15193,6 +15193,14 @@ export type Routes = {
15193
15193
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15194
15194
  error_code: 'salto_ks_certification_expired'
15195
15195
  }
15196
+ | {
15197
+ /** Date and time at which Seam created the error. */
15198
+ created_at: string
15199
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
15200
+ message: string
15201
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15202
+ error_code: 'provider_service_unavailable'
15203
+ }
15196
15204
  )[]
15197
15205
  /** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
15198
15206
  warnings: (
@@ -30250,6 +30258,14 @@ export type Routes = {
30250
30258
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30251
30259
  error_code: 'salto_ks_certification_expired'
30252
30260
  }
30261
+ | {
30262
+ /** Date and time at which Seam created the error. */
30263
+ created_at: string
30264
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30265
+ message: string
30266
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30267
+ error_code: 'provider_service_unavailable'
30268
+ }
30253
30269
  )[]
30254
30270
  /** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
30255
30271
  warnings: (
@@ -30435,6 +30451,14 @@ export type Routes = {
30435
30451
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30436
30452
  error_code: 'salto_ks_certification_expired'
30437
30453
  }
30454
+ | {
30455
+ /** Date and time at which Seam created the error. */
30456
+ created_at: string
30457
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30458
+ message: string
30459
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30460
+ error_code: 'provider_service_unavailable'
30461
+ }
30438
30462
  )[]
30439
30463
  /** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
30440
30464
  warnings: (
@@ -30616,6 +30640,14 @@ export type Routes = {
30616
30640
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30617
30641
  error_code: 'salto_ks_certification_expired'
30618
30642
  }
30643
+ | {
30644
+ /** Date and time at which Seam created the error. */
30645
+ created_at: string
30646
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
30647
+ message: string
30648
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30649
+ error_code: 'provider_service_unavailable'
30650
+ }
30619
30651
  )[]
30620
30652
  /** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
30621
30653
  warnings: (
@@ -85204,6 +85236,14 @@ export type Routes = {
85204
85236
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
85205
85237
  error_code: 'salto_ks_certification_expired'
85206
85238
  }
85239
+ | {
85240
+ /** Date and time at which Seam created the error. */
85241
+ created_at: string
85242
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
85243
+ message: string
85244
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
85245
+ error_code: 'provider_service_unavailable'
85246
+ }
85207
85247
  )[]
85208
85248
  /** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
85209
85249
  warnings: (
@@ -109490,6 +109530,14 @@ export type Routes = {
109490
109530
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
109491
109531
  error_code: 'salto_ks_certification_expired'
109492
109532
  }
109533
+ | {
109534
+ /** Date and time at which Seam created the error. */
109535
+ created_at: string
109536
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
109537
+ message: string
109538
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
109539
+ error_code: 'provider_service_unavailable'
109540
+ }
109493
109541
  )[]
109494
109542
  /** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
109495
109543
  warnings: (
@@ -112482,6 +112530,14 @@ export type Routes = {
112482
112530
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
112483
112531
  error_code: 'salto_ks_certification_expired'
112484
112532
  }
112533
+ | {
112534
+ /** Date and time at which Seam created the error. */
112535
+ created_at: string
112536
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
112537
+ message: string
112538
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
112539
+ error_code: 'provider_service_unavailable'
112540
+ }
112485
112541
  )[]
112486
112542
  /** Warnings associated with the [access control system](https://docs.seam.co/latest/capability-guides/access-systems). */
112487
112543
  warnings: (