@seamapi/types 1.316.0 → 1.317.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 +183 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1021 -189
- package/lib/seam/connect/models/acs/acs-credential.d.ts +66 -0
- package/lib/seam/connect/models/acs/acs-credential.js +12 -0
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +132 -0
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +58 -0
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +74 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -2
- package/lib/seam/connect/models/devices/device-provider.js +1 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.js +171 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +662 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-credential.ts +15 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +199 -0
- package/src/lib/seam/connect/route-types.ts +752 -0
package/package.json
CHANGED
|
@@ -70,12 +70,24 @@ const being_deleted = common_acs_credential_warning
|
|
|
70
70
|
})
|
|
71
71
|
.describe('Indicates that this credential is being deleted.')
|
|
72
72
|
|
|
73
|
+
const unknown_issue_with_credential = common_acs_credential_warning
|
|
74
|
+
.extend({
|
|
75
|
+
warning_code: z
|
|
76
|
+
.literal('unknown_issue_with_credential')
|
|
77
|
+
.describe(warning_code_description),
|
|
78
|
+
})
|
|
79
|
+
.describe(
|
|
80
|
+
'An unknown issue occurred while syncing the state of this credential with the provider. ' +
|
|
81
|
+
'This issue may affect the proper functioning of this credential.',
|
|
82
|
+
)
|
|
83
|
+
|
|
73
84
|
const acs_credential_warning = z
|
|
74
85
|
.union([
|
|
75
86
|
waiting_to_be_issued,
|
|
76
87
|
schedule_externally_modified,
|
|
77
88
|
schedule_modified,
|
|
78
89
|
being_deleted,
|
|
90
|
+
unknown_issue_with_credential,
|
|
79
91
|
])
|
|
80
92
|
.describe('Warning associated with the `acs_credential`.')
|
|
81
93
|
|
|
@@ -86,6 +98,9 @@ const acs_credential_warning_map = z.object({
|
|
|
86
98
|
.nullable(),
|
|
87
99
|
schedule_modified: schedule_modified.optional().nullable(),
|
|
88
100
|
being_deleted: being_deleted.optional().nullable(),
|
|
101
|
+
unknown_issue_with_credential: unknown_issue_with_credential
|
|
102
|
+
.optional()
|
|
103
|
+
.nullable(),
|
|
89
104
|
})
|
|
90
105
|
|
|
91
106
|
export type AcsCredentialWarningMap = z.infer<typeof acs_credential_warning_map>
|
|
@@ -88,7 +88,6 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
88
88
|
'visionline',
|
|
89
89
|
'assa_abloy_credential_service',
|
|
90
90
|
'latch',
|
|
91
|
-
'assa_abloy_vostio',
|
|
92
91
|
],
|
|
93
92
|
|
|
94
93
|
consumer_smartlocks: [
|
|
@@ -116,6 +115,7 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
116
115
|
'assa_abloy_vostio',
|
|
117
116
|
'assa_abloy_vostio_credential_service',
|
|
118
117
|
'salto_space',
|
|
118
|
+
'assa_abloy_vostio',
|
|
119
119
|
],
|
|
120
120
|
|
|
121
121
|
internal_beta: ALL_DEVICE_PROVIDERS,
|
|
@@ -505,6 +505,31 @@ export default {
|
|
|
505
505
|
required: ['created_at', 'message', 'warning_code'],
|
|
506
506
|
type: 'object',
|
|
507
507
|
},
|
|
508
|
+
{
|
|
509
|
+
description:
|
|
510
|
+
'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
|
|
511
|
+
properties: {
|
|
512
|
+
created_at: {
|
|
513
|
+
description:
|
|
514
|
+
'Date and time at which Seam created the warning.',
|
|
515
|
+
format: 'date-time',
|
|
516
|
+
type: 'string',
|
|
517
|
+
},
|
|
518
|
+
message: {
|
|
519
|
+
description:
|
|
520
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
521
|
+
type: 'string',
|
|
522
|
+
},
|
|
523
|
+
warning_code: {
|
|
524
|
+
description:
|
|
525
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
526
|
+
enum: ['unknown_issue_with_credential'],
|
|
527
|
+
type: 'string',
|
|
528
|
+
},
|
|
529
|
+
},
|
|
530
|
+
required: ['created_at', 'message', 'warning_code'],
|
|
531
|
+
type: 'object',
|
|
532
|
+
},
|
|
508
533
|
],
|
|
509
534
|
},
|
|
510
535
|
type: 'array',
|
|
@@ -1956,6 +1981,35 @@ export default {
|
|
|
1956
1981
|
],
|
|
1957
1982
|
type: 'object',
|
|
1958
1983
|
},
|
|
1984
|
+
{
|
|
1985
|
+
description:
|
|
1986
|
+
'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
|
|
1987
|
+
properties: {
|
|
1988
|
+
created_at: {
|
|
1989
|
+
description:
|
|
1990
|
+
'Date and time at which Seam created the warning.',
|
|
1991
|
+
format: 'date-time',
|
|
1992
|
+
type: 'string',
|
|
1993
|
+
},
|
|
1994
|
+
message: {
|
|
1995
|
+
description:
|
|
1996
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
1997
|
+
type: 'string',
|
|
1998
|
+
},
|
|
1999
|
+
warning_code: {
|
|
2000
|
+
description:
|
|
2001
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
2002
|
+
enum: ['unknown_issue_with_credential'],
|
|
2003
|
+
type: 'string',
|
|
2004
|
+
},
|
|
2005
|
+
},
|
|
2006
|
+
required: [
|
|
2007
|
+
'created_at',
|
|
2008
|
+
'message',
|
|
2009
|
+
'warning_code',
|
|
2010
|
+
],
|
|
2011
|
+
type: 'object',
|
|
2012
|
+
},
|
|
1959
2013
|
],
|
|
1960
2014
|
},
|
|
1961
2015
|
type: 'array',
|
|
@@ -2254,6 +2308,35 @@ export default {
|
|
|
2254
2308
|
],
|
|
2255
2309
|
type: 'object',
|
|
2256
2310
|
},
|
|
2311
|
+
{
|
|
2312
|
+
description:
|
|
2313
|
+
'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
|
|
2314
|
+
properties: {
|
|
2315
|
+
created_at: {
|
|
2316
|
+
description:
|
|
2317
|
+
'Date and time at which Seam created the warning.',
|
|
2318
|
+
format: 'date-time',
|
|
2319
|
+
type: 'string',
|
|
2320
|
+
},
|
|
2321
|
+
message: {
|
|
2322
|
+
description:
|
|
2323
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
2324
|
+
type: 'string',
|
|
2325
|
+
},
|
|
2326
|
+
warning_code: {
|
|
2327
|
+
description:
|
|
2328
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
2329
|
+
enum: ['unknown_issue_with_credential'],
|
|
2330
|
+
type: 'string',
|
|
2331
|
+
},
|
|
2332
|
+
},
|
|
2333
|
+
required: [
|
|
2334
|
+
'created_at',
|
|
2335
|
+
'message',
|
|
2336
|
+
'warning_code',
|
|
2337
|
+
],
|
|
2338
|
+
type: 'object',
|
|
2339
|
+
},
|
|
2257
2340
|
],
|
|
2258
2341
|
},
|
|
2259
2342
|
type: 'array',
|
|
@@ -2685,6 +2768,35 @@ export default {
|
|
|
2685
2768
|
],
|
|
2686
2769
|
type: 'object',
|
|
2687
2770
|
},
|
|
2771
|
+
{
|
|
2772
|
+
description:
|
|
2773
|
+
'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
|
|
2774
|
+
properties: {
|
|
2775
|
+
created_at: {
|
|
2776
|
+
description:
|
|
2777
|
+
'Date and time at which Seam created the warning.',
|
|
2778
|
+
format: 'date-time',
|
|
2779
|
+
type: 'string',
|
|
2780
|
+
},
|
|
2781
|
+
message: {
|
|
2782
|
+
description:
|
|
2783
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
2784
|
+
type: 'string',
|
|
2785
|
+
},
|
|
2786
|
+
warning_code: {
|
|
2787
|
+
description:
|
|
2788
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
2789
|
+
enum: ['unknown_issue_with_credential'],
|
|
2790
|
+
type: 'string',
|
|
2791
|
+
},
|
|
2792
|
+
},
|
|
2793
|
+
required: [
|
|
2794
|
+
'created_at',
|
|
2795
|
+
'message',
|
|
2796
|
+
'warning_code',
|
|
2797
|
+
],
|
|
2798
|
+
type: 'object',
|
|
2799
|
+
},
|
|
2688
2800
|
],
|
|
2689
2801
|
},
|
|
2690
2802
|
type: 'array',
|
|
@@ -2982,6 +3094,35 @@ export default {
|
|
|
2982
3094
|
],
|
|
2983
3095
|
type: 'object',
|
|
2984
3096
|
},
|
|
3097
|
+
{
|
|
3098
|
+
description:
|
|
3099
|
+
'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
|
|
3100
|
+
properties: {
|
|
3101
|
+
created_at: {
|
|
3102
|
+
description:
|
|
3103
|
+
'Date and time at which Seam created the warning.',
|
|
3104
|
+
format: 'date-time',
|
|
3105
|
+
type: 'string',
|
|
3106
|
+
},
|
|
3107
|
+
message: {
|
|
3108
|
+
description:
|
|
3109
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
3110
|
+
type: 'string',
|
|
3111
|
+
},
|
|
3112
|
+
warning_code: {
|
|
3113
|
+
description:
|
|
3114
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
3115
|
+
enum: ['unknown_issue_with_credential'],
|
|
3116
|
+
type: 'string',
|
|
3117
|
+
},
|
|
3118
|
+
},
|
|
3119
|
+
required: [
|
|
3120
|
+
'created_at',
|
|
3121
|
+
'message',
|
|
3122
|
+
'warning_code',
|
|
3123
|
+
],
|
|
3124
|
+
type: 'object',
|
|
3125
|
+
},
|
|
2985
3126
|
],
|
|
2986
3127
|
},
|
|
2987
3128
|
type: 'array',
|
|
@@ -13685,6 +13826,35 @@ export default {
|
|
|
13685
13826
|
],
|
|
13686
13827
|
type: 'object',
|
|
13687
13828
|
},
|
|
13829
|
+
{
|
|
13830
|
+
description:
|
|
13831
|
+
'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
|
|
13832
|
+
properties: {
|
|
13833
|
+
created_at: {
|
|
13834
|
+
description:
|
|
13835
|
+
'Date and time at which Seam created the warning.',
|
|
13836
|
+
format: 'date-time',
|
|
13837
|
+
type: 'string',
|
|
13838
|
+
},
|
|
13839
|
+
message: {
|
|
13840
|
+
description:
|
|
13841
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
13842
|
+
type: 'string',
|
|
13843
|
+
},
|
|
13844
|
+
warning_code: {
|
|
13845
|
+
description:
|
|
13846
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
13847
|
+
enum: ['unknown_issue_with_credential'],
|
|
13848
|
+
type: 'string',
|
|
13849
|
+
},
|
|
13850
|
+
},
|
|
13851
|
+
required: [
|
|
13852
|
+
'created_at',
|
|
13853
|
+
'message',
|
|
13854
|
+
'warning_code',
|
|
13855
|
+
],
|
|
13856
|
+
type: 'object',
|
|
13857
|
+
},
|
|
13688
13858
|
],
|
|
13689
13859
|
},
|
|
13690
13860
|
type: 'array',
|
|
@@ -14086,6 +14256,35 @@ export default {
|
|
|
14086
14256
|
],
|
|
14087
14257
|
type: 'object',
|
|
14088
14258
|
},
|
|
14259
|
+
{
|
|
14260
|
+
description:
|
|
14261
|
+
'An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential.',
|
|
14262
|
+
properties: {
|
|
14263
|
+
created_at: {
|
|
14264
|
+
description:
|
|
14265
|
+
'Date and time at which Seam created the warning.',
|
|
14266
|
+
format: 'date-time',
|
|
14267
|
+
type: 'string',
|
|
14268
|
+
},
|
|
14269
|
+
message: {
|
|
14270
|
+
description:
|
|
14271
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
14272
|
+
type: 'string',
|
|
14273
|
+
},
|
|
14274
|
+
warning_code: {
|
|
14275
|
+
description:
|
|
14276
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
14277
|
+
enum: ['unknown_issue_with_credential'],
|
|
14278
|
+
type: 'string',
|
|
14279
|
+
},
|
|
14280
|
+
},
|
|
14281
|
+
required: [
|
|
14282
|
+
'created_at',
|
|
14283
|
+
'message',
|
|
14284
|
+
'warning_code',
|
|
14285
|
+
],
|
|
14286
|
+
type: 'object',
|
|
14287
|
+
},
|
|
14089
14288
|
],
|
|
14090
14289
|
},
|
|
14091
14290
|
type: 'array',
|