@seamapi/types 1.929.0 → 1.930.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 +9 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +24 -24
- package/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +16 -16
- package/lib/seam/connect/models/access-codes/managed-access-code.js +5 -5
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +5 -5
- package/lib/seam/connect/openapi.js +4 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +11 -11
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +5 -5
- package/src/lib/seam/connect/openapi.ts +4 -4
- package/src/lib/seam/connect/route-types.ts +11 -11
|
@@ -2019,7 +2019,7 @@ export type Routes = {
|
|
|
2019
2019
|
/** Date and time at which Seam created the warning. */
|
|
2020
2020
|
created_at?: string | undefined;
|
|
2021
2021
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2022
|
-
warning_code: '
|
|
2022
|
+
warning_code: 'code_rotates_periodically';
|
|
2023
2023
|
} | {
|
|
2024
2024
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
2025
2025
|
message: string;
|
|
@@ -2552,7 +2552,7 @@ export type Routes = {
|
|
|
2552
2552
|
/** Date and time at which Seam created the warning. */
|
|
2553
2553
|
created_at?: string | undefined;
|
|
2554
2554
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2555
|
-
warning_code: '
|
|
2555
|
+
warning_code: 'code_rotates_periodically';
|
|
2556
2556
|
} | {
|
|
2557
2557
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
2558
2558
|
message: string;
|
|
@@ -4773,7 +4773,7 @@ export type Routes = {
|
|
|
4773
4773
|
/** Date and time at which Seam created the warning. */
|
|
4774
4774
|
created_at?: string | undefined;
|
|
4775
4775
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
4776
|
-
warning_code: '
|
|
4776
|
+
warning_code: 'code_rotates_periodically';
|
|
4777
4777
|
} | {
|
|
4778
4778
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
4779
4779
|
message: string;
|
|
@@ -5352,7 +5352,7 @@ export type Routes = {
|
|
|
5352
5352
|
/** Date and time at which Seam created the warning. */
|
|
5353
5353
|
created_at?: string | undefined;
|
|
5354
5354
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5355
|
-
warning_code: '
|
|
5355
|
+
warning_code: 'code_rotates_periodically';
|
|
5356
5356
|
} | {
|
|
5357
5357
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
5358
5358
|
message: string;
|
|
@@ -5876,7 +5876,7 @@ export type Routes = {
|
|
|
5876
5876
|
/** Date and time at which Seam created the warning. */
|
|
5877
5877
|
created_at?: string | undefined;
|
|
5878
5878
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5879
|
-
warning_code: '
|
|
5879
|
+
warning_code: 'code_rotates_periodically';
|
|
5880
5880
|
} | {
|
|
5881
5881
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
5882
5882
|
message: string;
|
|
@@ -6377,7 +6377,7 @@ export type Routes = {
|
|
|
6377
6377
|
/** Date and time at which Seam created the warning. */
|
|
6378
6378
|
created_at?: string | undefined;
|
|
6379
6379
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6380
|
-
warning_code: '
|
|
6380
|
+
warning_code: 'code_rotates_periodically';
|
|
6381
6381
|
} | {
|
|
6382
6382
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
6383
6383
|
message: string;
|
|
@@ -6911,7 +6911,7 @@ export type Routes = {
|
|
|
6911
6911
|
/** Date and time at which Seam created the warning. */
|
|
6912
6912
|
created_at?: string | undefined;
|
|
6913
6913
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6914
|
-
warning_code: '
|
|
6914
|
+
warning_code: 'code_rotates_periodically';
|
|
6915
6915
|
} | {
|
|
6916
6916
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
6917
6917
|
message: string;
|
|
@@ -9041,7 +9041,7 @@ export type Routes = {
|
|
|
9041
9041
|
/** Date and time at which Seam created the warning. */
|
|
9042
9042
|
created_at?: string | undefined;
|
|
9043
9043
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
9044
|
-
warning_code: '
|
|
9044
|
+
warning_code: 'code_rotates_periodically';
|
|
9045
9045
|
} | {
|
|
9046
9046
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
9047
9047
|
message: string;
|
|
@@ -9461,7 +9461,7 @@ export type Routes = {
|
|
|
9461
9461
|
/** Date and time at which Seam created the warning. */
|
|
9462
9462
|
created_at?: string | undefined;
|
|
9463
9463
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
9464
|
-
warning_code: '
|
|
9464
|
+
warning_code: 'code_rotates_periodically';
|
|
9465
9465
|
} | {
|
|
9466
9466
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
9467
9467
|
message: string;
|
|
@@ -118602,7 +118602,7 @@ export type Routes = {
|
|
|
118602
118602
|
/** Date and time at which Seam created the warning. */
|
|
118603
118603
|
created_at?: string | undefined;
|
|
118604
118604
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
118605
|
-
warning_code: '
|
|
118605
|
+
warning_code: 'code_rotates_periodically';
|
|
118606
118606
|
} | {
|
|
118607
118607
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
118608
118608
|
message: string;
|
|
@@ -119006,7 +119006,7 @@ export type Routes = {
|
|
|
119006
119006
|
/** Date and time at which Seam created the warning. */
|
|
119007
119007
|
created_at?: string | undefined;
|
|
119008
119008
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
119009
|
-
warning_code: '
|
|
119009
|
+
warning_code: 'code_rotates_periodically';
|
|
119010
119010
|
} | {
|
|
119011
119011
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
119012
119012
|
message: string;
|
package/package.json
CHANGED
|
@@ -268,14 +268,14 @@ const code_modified_external_to_seam_warning = common_access_code_warning
|
|
|
268
268
|
'Code was modified or removed externally after Seam successfully set it on the device.',
|
|
269
269
|
)
|
|
270
270
|
|
|
271
|
-
const
|
|
271
|
+
const code_rotates_periodically = common_access_code_warning
|
|
272
272
|
.extend({
|
|
273
273
|
warning_code: z
|
|
274
|
-
.literal('
|
|
274
|
+
.literal('code_rotates_periodically')
|
|
275
275
|
.describe(warning_code_description),
|
|
276
276
|
})
|
|
277
277
|
.describe(
|
|
278
|
-
|
|
278
|
+
"The access code's PIN rotates periodically when the code is renewed. Retrieve the latest code before each use.",
|
|
279
279
|
)
|
|
280
280
|
|
|
281
281
|
const schlage_access_code_ambiguous_timezone_dst_risk =
|
|
@@ -349,7 +349,7 @@ const being_deleted = common_access_code_warning
|
|
|
349
349
|
|
|
350
350
|
const access_code_warning = z
|
|
351
351
|
.discriminatedUnion('warning_code', [
|
|
352
|
-
|
|
352
|
+
code_rotates_periodically,
|
|
353
353
|
schlage_access_code_ambiguous_timezone_dst_risk,
|
|
354
354
|
code_modified_external_to_seam_warning,
|
|
355
355
|
delay_in_setting_on_device,
|
|
@@ -367,7 +367,7 @@ const access_code_warning = z
|
|
|
367
367
|
export type AccessCodeWarning = z.infer<typeof access_code_warning>
|
|
368
368
|
|
|
369
369
|
const _access_code_warning_map = z.object({
|
|
370
|
-
|
|
370
|
+
code_rotates_periodically: code_rotates_periodically.optional().nullable(),
|
|
371
371
|
schlage_access_code_ambiguous_timezone_dst_risk:
|
|
372
372
|
schlage_access_code_ambiguous_timezone_dst_risk.optional().nullable(),
|
|
373
373
|
code_modified_external_to_seam_warning: code_modified_external_to_seam_warning
|
|
@@ -1482,7 +1482,7 @@ const openapi: OpenAPISpec = {
|
|
|
1482
1482
|
oneOf: [
|
|
1483
1483
|
{
|
|
1484
1484
|
description:
|
|
1485
|
-
|
|
1485
|
+
"The access code's PIN rotates periodically when the code is renewed. Retrieve the latest code before each use.",
|
|
1486
1486
|
properties: {
|
|
1487
1487
|
created_at: {
|
|
1488
1488
|
description:
|
|
@@ -1498,7 +1498,7 @@ const openapi: OpenAPISpec = {
|
|
|
1498
1498
|
warning_code: {
|
|
1499
1499
|
description:
|
|
1500
1500
|
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
1501
|
-
enum: ['
|
|
1501
|
+
enum: ['code_rotates_periodically'],
|
|
1502
1502
|
type: 'string',
|
|
1503
1503
|
},
|
|
1504
1504
|
},
|
|
@@ -30005,7 +30005,7 @@ const openapi: OpenAPISpec = {
|
|
|
30005
30005
|
oneOf: [
|
|
30006
30006
|
{
|
|
30007
30007
|
description:
|
|
30008
|
-
|
|
30008
|
+
"The access code's PIN rotates periodically when the code is renewed. Retrieve the latest code before each use.",
|
|
30009
30009
|
properties: {
|
|
30010
30010
|
created_at: {
|
|
30011
30011
|
description:
|
|
@@ -30021,7 +30021,7 @@ const openapi: OpenAPISpec = {
|
|
|
30021
30021
|
warning_code: {
|
|
30022
30022
|
description:
|
|
30023
30023
|
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
30024
|
-
enum: ['
|
|
30024
|
+
enum: ['code_rotates_periodically'],
|
|
30025
30025
|
type: 'string',
|
|
30026
30026
|
},
|
|
30027
30027
|
},
|
|
@@ -2316,7 +2316,7 @@ export type Routes = {
|
|
|
2316
2316
|
/** Date and time at which Seam created the warning. */
|
|
2317
2317
|
created_at?: string | undefined
|
|
2318
2318
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2319
|
-
warning_code: '
|
|
2319
|
+
warning_code: 'code_rotates_periodically'
|
|
2320
2320
|
}
|
|
2321
2321
|
| {
|
|
2322
2322
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -2901,7 +2901,7 @@ export type Routes = {
|
|
|
2901
2901
|
/** Date and time at which Seam created the warning. */
|
|
2902
2902
|
created_at?: string | undefined
|
|
2903
2903
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
2904
|
-
warning_code: '
|
|
2904
|
+
warning_code: 'code_rotates_periodically'
|
|
2905
2905
|
}
|
|
2906
2906
|
| {
|
|
2907
2907
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -5440,7 +5440,7 @@ export type Routes = {
|
|
|
5440
5440
|
/** Date and time at which Seam created the warning. */
|
|
5441
5441
|
created_at?: string | undefined
|
|
5442
5442
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
5443
|
-
warning_code: '
|
|
5443
|
+
warning_code: 'code_rotates_periodically'
|
|
5444
5444
|
}
|
|
5445
5445
|
| {
|
|
5446
5446
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -6112,7 +6112,7 @@ export type Routes = {
|
|
|
6112
6112
|
/** Date and time at which Seam created the warning. */
|
|
6113
6113
|
created_at?: string | undefined
|
|
6114
6114
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6115
|
-
warning_code: '
|
|
6115
|
+
warning_code: 'code_rotates_periodically'
|
|
6116
6116
|
}
|
|
6117
6117
|
| {
|
|
6118
6118
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -6688,7 +6688,7 @@ export type Routes = {
|
|
|
6688
6688
|
/** Date and time at which Seam created the warning. */
|
|
6689
6689
|
created_at?: string | undefined
|
|
6690
6690
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
6691
|
-
warning_code: '
|
|
6691
|
+
warning_code: 'code_rotates_periodically'
|
|
6692
6692
|
}
|
|
6693
6693
|
| {
|
|
6694
6694
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -7241,7 +7241,7 @@ export type Routes = {
|
|
|
7241
7241
|
/** Date and time at which Seam created the warning. */
|
|
7242
7242
|
created_at?: string | undefined
|
|
7243
7243
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
7244
|
-
warning_code: '
|
|
7244
|
+
warning_code: 'code_rotates_periodically'
|
|
7245
7245
|
}
|
|
7246
7246
|
| {
|
|
7247
7247
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -7827,7 +7827,7 @@ export type Routes = {
|
|
|
7827
7827
|
/** Date and time at which Seam created the warning. */
|
|
7828
7828
|
created_at?: string | undefined
|
|
7829
7829
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
7830
|
-
warning_code: '
|
|
7830
|
+
warning_code: 'code_rotates_periodically'
|
|
7831
7831
|
}
|
|
7832
7832
|
| {
|
|
7833
7833
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -10268,7 +10268,7 @@ export type Routes = {
|
|
|
10268
10268
|
/** Date and time at which Seam created the warning. */
|
|
10269
10269
|
created_at?: string | undefined
|
|
10270
10270
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
10271
|
-
warning_code: '
|
|
10271
|
+
warning_code: 'code_rotates_periodically'
|
|
10272
10272
|
}
|
|
10273
10273
|
| {
|
|
10274
10274
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -10733,7 +10733,7 @@ export type Routes = {
|
|
|
10733
10733
|
/** Date and time at which Seam created the warning. */
|
|
10734
10734
|
created_at?: string | undefined
|
|
10735
10735
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
10736
|
-
warning_code: '
|
|
10736
|
+
warning_code: 'code_rotates_periodically'
|
|
10737
10737
|
}
|
|
10738
10738
|
| {
|
|
10739
10739
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -141153,7 +141153,7 @@ export type Routes = {
|
|
|
141153
141153
|
/** Date and time at which Seam created the warning. */
|
|
141154
141154
|
created_at?: string | undefined
|
|
141155
141155
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
141156
|
-
warning_code: '
|
|
141156
|
+
warning_code: 'code_rotates_periodically'
|
|
141157
141157
|
}
|
|
141158
141158
|
| {
|
|
141159
141159
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
@@ -141604,7 +141604,7 @@ export type Routes = {
|
|
|
141604
141604
|
/** Date and time at which Seam created the warning. */
|
|
141605
141605
|
created_at?: string | undefined
|
|
141606
141606
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
141607
|
-
warning_code: '
|
|
141607
|
+
warning_code: 'code_rotates_periodically'
|
|
141608
141608
|
}
|
|
141609
141609
|
| {
|
|
141610
141610
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|