@seamapi/types 1.835.0 → 1.837.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.
- package/dist/connect.cjs +52 -13
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +337 -232
- package/dist/index.cjs +52 -13
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +7 -7
- package/lib/seam/connect/models/acs/acs-credential.js +1 -0
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +7 -7
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +1 -0
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -24
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +10 -10
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +14 -14
- package/lib/seam/connect/models/batch.d.ts +81 -52
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +58 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js +11 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/phones/phone-session.d.ts +12 -12
- package/lib/seam/connect/openapi.js +30 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +186 -144
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +1 -0
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +1 -0
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +14 -0
- package/src/lib/seam/connect/openapi.ts +34 -0
- package/src/lib/seam/connect/route-types.ts +192 -0
package/package.json
CHANGED
|
@@ -230,6 +230,16 @@ const being_deleted = common_connected_account_warning
|
|
|
230
230
|
'Indicates that the connected account is currently being deleted. All devices, access codes, and other resources associated with this account are in the process of being removed from Seam.',
|
|
231
231
|
)
|
|
232
232
|
|
|
233
|
+
const provider_service_unavailable = common_connected_account_warning
|
|
234
|
+
.extend({
|
|
235
|
+
warning_code: z
|
|
236
|
+
.literal('provider_service_unavailable')
|
|
237
|
+
.describe(warning_code_description),
|
|
238
|
+
})
|
|
239
|
+
.describe(
|
|
240
|
+
"Indicates that the connected account's provider service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again.",
|
|
241
|
+
)
|
|
242
|
+
|
|
233
243
|
const connected_account_warning = z
|
|
234
244
|
.discriminatedUnion('warning_code', [
|
|
235
245
|
scheduled_maintenance_window,
|
|
@@ -237,6 +247,7 @@ const connected_account_warning = z
|
|
|
237
247
|
salto_ks_subscription_limit_almost_reached,
|
|
238
248
|
account_reauthorization_requested,
|
|
239
249
|
being_deleted,
|
|
250
|
+
provider_service_unavailable,
|
|
240
251
|
])
|
|
241
252
|
.describe('Warning associated with the connected account.')
|
|
242
253
|
|
|
@@ -253,6 +264,9 @@ export const connected_account_warning_map = z.object({
|
|
|
253
264
|
.nullable()
|
|
254
265
|
.optional(),
|
|
255
266
|
being_deleted: being_deleted.nullable().optional(),
|
|
267
|
+
provider_service_unavailable: provider_service_unavailable
|
|
268
|
+
.nullable()
|
|
269
|
+
.optional(),
|
|
256
270
|
})
|
|
257
271
|
|
|
258
272
|
export type ConnectedAccountWarningMap = z.infer<
|
|
@@ -3830,6 +3830,7 @@ const openapi: OpenAPISpec = {
|
|
|
3830
3830
|
'dormakaba_ambiance_credential',
|
|
3831
3831
|
'hotek_card',
|
|
3832
3832
|
'salto_ks_tag',
|
|
3833
|
+
'avigilon_alta_credential',
|
|
3833
3834
|
],
|
|
3834
3835
|
type: 'string',
|
|
3835
3836
|
},
|
|
@@ -5316,6 +5317,7 @@ const openapi: OpenAPISpec = {
|
|
|
5316
5317
|
'latch_user',
|
|
5317
5318
|
'dormakaba_community_user',
|
|
5318
5319
|
'salto_space_user',
|
|
5320
|
+
'avigilon_alta_user',
|
|
5319
5321
|
],
|
|
5320
5322
|
type: 'string',
|
|
5321
5323
|
},
|
|
@@ -6450,6 +6452,7 @@ const openapi: OpenAPISpec = {
|
|
|
6450
6452
|
'dormakaba_ambiance_credential',
|
|
6451
6453
|
'hotek_card',
|
|
6452
6454
|
'salto_ks_tag',
|
|
6455
|
+
'avigilon_alta_credential',
|
|
6453
6456
|
],
|
|
6454
6457
|
type: 'string',
|
|
6455
6458
|
},
|
|
@@ -6907,6 +6910,7 @@ const openapi: OpenAPISpec = {
|
|
|
6907
6910
|
'dormakaba_ambiance_credential',
|
|
6908
6911
|
'hotek_card',
|
|
6909
6912
|
'salto_ks_tag',
|
|
6913
|
+
'avigilon_alta_credential',
|
|
6910
6914
|
],
|
|
6911
6915
|
type: 'string',
|
|
6912
6916
|
},
|
|
@@ -7620,6 +7624,7 @@ const openapi: OpenAPISpec = {
|
|
|
7620
7624
|
'dormakaba_ambiance_credential',
|
|
7621
7625
|
'hotek_card',
|
|
7622
7626
|
'salto_ks_tag',
|
|
7627
|
+
'avigilon_alta_credential',
|
|
7623
7628
|
],
|
|
7624
7629
|
type: 'string',
|
|
7625
7630
|
},
|
|
@@ -8074,6 +8079,7 @@ const openapi: OpenAPISpec = {
|
|
|
8074
8079
|
'dormakaba_ambiance_credential',
|
|
8075
8080
|
'hotek_card',
|
|
8076
8081
|
'salto_ks_tag',
|
|
8082
|
+
'avigilon_alta_credential',
|
|
8077
8083
|
],
|
|
8078
8084
|
type: 'string',
|
|
8079
8085
|
},
|
|
@@ -11383,6 +11389,31 @@ const openapi: OpenAPISpec = {
|
|
|
11383
11389
|
required: ['created_at', 'message', 'warning_code'],
|
|
11384
11390
|
type: 'object',
|
|
11385
11391
|
},
|
|
11392
|
+
{
|
|
11393
|
+
description:
|
|
11394
|
+
"Indicates that the connected account's provider service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again.",
|
|
11395
|
+
properties: {
|
|
11396
|
+
created_at: {
|
|
11397
|
+
description:
|
|
11398
|
+
'Date and time at which Seam created the warning.',
|
|
11399
|
+
format: 'date-time',
|
|
11400
|
+
type: 'string',
|
|
11401
|
+
},
|
|
11402
|
+
message: {
|
|
11403
|
+
description:
|
|
11404
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
11405
|
+
type: 'string',
|
|
11406
|
+
},
|
|
11407
|
+
warning_code: {
|
|
11408
|
+
description:
|
|
11409
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
11410
|
+
enum: ['provider_service_unavailable'],
|
|
11411
|
+
type: 'string',
|
|
11412
|
+
},
|
|
11413
|
+
},
|
|
11414
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
11415
|
+
type: 'object',
|
|
11416
|
+
},
|
|
11386
11417
|
],
|
|
11387
11418
|
},
|
|
11388
11419
|
type: 'array',
|
|
@@ -25454,6 +25485,7 @@ const openapi: OpenAPISpec = {
|
|
|
25454
25485
|
'dormakaba_ambiance_credential',
|
|
25455
25486
|
'hotek_card',
|
|
25456
25487
|
'salto_ks_tag',
|
|
25488
|
+
'avigilon_alta_credential',
|
|
25457
25489
|
],
|
|
25458
25490
|
type: 'string',
|
|
25459
25491
|
},
|
|
@@ -28846,6 +28878,7 @@ const openapi: OpenAPISpec = {
|
|
|
28846
28878
|
'dormakaba_ambiance_credential',
|
|
28847
28879
|
'hotek_card',
|
|
28848
28880
|
'salto_ks_tag',
|
|
28881
|
+
'avigilon_alta_credential',
|
|
28849
28882
|
],
|
|
28850
28883
|
type: 'string',
|
|
28851
28884
|
},
|
|
@@ -29369,6 +29402,7 @@ const openapi: OpenAPISpec = {
|
|
|
29369
29402
|
'latch_user',
|
|
29370
29403
|
'dormakaba_community_user',
|
|
29371
29404
|
'salto_space_user',
|
|
29405
|
+
'avigilon_alta_user',
|
|
29372
29406
|
],
|
|
29373
29407
|
type: 'string',
|
|
29374
29408
|
},
|