@seamapi/types 1.924.0 → 1.925.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 +2 -66
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +0 -167
- package/dist/index.cjs +2 -66
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +0 -71
- package/lib/seam/connect/models/access-codes/managed-access-code.js +0 -14
- 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 +0 -26
- package/lib/seam/connect/openapi.js +0 -54
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +0 -99
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -15
- package/src/lib/seam/connect/openapi.ts +0 -64
- package/src/lib/seam/connect/route-types.ts +0 -110
package/dist/connect.d.cts
CHANGED
|
@@ -208,22 +208,6 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
208
208
|
error_code: "insufficient_permissions";
|
|
209
209
|
is_access_code_error: true;
|
|
210
210
|
created_at?: string | undefined;
|
|
211
|
-
}>, z.ZodObject<{
|
|
212
|
-
message: z.ZodString;
|
|
213
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
214
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
215
|
-
} & {
|
|
216
|
-
error_code: z.ZodLiteral<"replaced_by_newer_access_code">;
|
|
217
|
-
}, "strip", z.ZodTypeAny, {
|
|
218
|
-
message: string;
|
|
219
|
-
error_code: "replaced_by_newer_access_code";
|
|
220
|
-
is_access_code_error: true;
|
|
221
|
-
created_at?: string | undefined;
|
|
222
|
-
}, {
|
|
223
|
-
message: string;
|
|
224
|
-
error_code: "replaced_by_newer_access_code";
|
|
225
|
-
is_access_code_error: true;
|
|
226
|
-
created_at?: string | undefined;
|
|
227
211
|
}>]>;
|
|
228
212
|
type AccessCodeError = z.infer<typeof access_code_error>;
|
|
229
213
|
declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
@@ -616,22 +600,6 @@ declare const access_code: z.ZodObject<{
|
|
|
616
600
|
error_code: "insufficient_permissions";
|
|
617
601
|
is_access_code_error: true;
|
|
618
602
|
created_at?: string | undefined;
|
|
619
|
-
}>, z.ZodObject<{
|
|
620
|
-
message: z.ZodString;
|
|
621
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
622
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
623
|
-
} & {
|
|
624
|
-
error_code: z.ZodLiteral<"replaced_by_newer_access_code">;
|
|
625
|
-
}, "strip", z.ZodTypeAny, {
|
|
626
|
-
message: string;
|
|
627
|
-
error_code: "replaced_by_newer_access_code";
|
|
628
|
-
is_access_code_error: true;
|
|
629
|
-
created_at?: string | undefined;
|
|
630
|
-
}, {
|
|
631
|
-
message: string;
|
|
632
|
-
error_code: "replaced_by_newer_access_code";
|
|
633
|
-
is_access_code_error: true;
|
|
634
|
-
created_at?: string | undefined;
|
|
635
603
|
}>, ...(z.ZodObject<{
|
|
636
604
|
created_at: z.ZodString;
|
|
637
605
|
message: z.ZodString;
|
|
@@ -1565,11 +1533,6 @@ declare const access_code: z.ZodObject<{
|
|
|
1565
1533
|
error_code: "salto_ks_user_not_subscribed";
|
|
1566
1534
|
is_access_code_error: true;
|
|
1567
1535
|
created_at?: string | undefined;
|
|
1568
|
-
} | {
|
|
1569
|
-
message: string;
|
|
1570
|
-
error_code: "replaced_by_newer_access_code";
|
|
1571
|
-
is_access_code_error: true;
|
|
1572
|
-
created_at?: string | undefined;
|
|
1573
1536
|
})[];
|
|
1574
1537
|
warnings: ({
|
|
1575
1538
|
message: string;
|
|
@@ -1872,11 +1835,6 @@ declare const access_code: z.ZodObject<{
|
|
|
1872
1835
|
error_code: "salto_ks_user_not_subscribed";
|
|
1873
1836
|
is_access_code_error: true;
|
|
1874
1837
|
created_at?: string | undefined;
|
|
1875
|
-
} | {
|
|
1876
|
-
message: string;
|
|
1877
|
-
error_code: "replaced_by_newer_access_code";
|
|
1878
|
-
is_access_code_error: true;
|
|
1879
|
-
created_at?: string | undefined;
|
|
1880
1838
|
})[];
|
|
1881
1839
|
warnings: ({
|
|
1882
1840
|
message: string;
|
|
@@ -2218,22 +2176,6 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2218
2176
|
error_code: "insufficient_permissions";
|
|
2219
2177
|
is_access_code_error: true;
|
|
2220
2178
|
created_at?: string | undefined;
|
|
2221
|
-
}>, z.ZodObject<{
|
|
2222
|
-
message: z.ZodString;
|
|
2223
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
2224
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
2225
|
-
} & {
|
|
2226
|
-
error_code: z.ZodLiteral<"replaced_by_newer_access_code">;
|
|
2227
|
-
}, "strip", z.ZodTypeAny, {
|
|
2228
|
-
message: string;
|
|
2229
|
-
error_code: "replaced_by_newer_access_code";
|
|
2230
|
-
is_access_code_error: true;
|
|
2231
|
-
created_at?: string | undefined;
|
|
2232
|
-
}, {
|
|
2233
|
-
message: string;
|
|
2234
|
-
error_code: "replaced_by_newer_access_code";
|
|
2235
|
-
is_access_code_error: true;
|
|
2236
|
-
created_at?: string | undefined;
|
|
2237
2179
|
}>, ...(z.ZodObject<{
|
|
2238
2180
|
created_at: z.ZodString;
|
|
2239
2181
|
message: z.ZodString;
|
|
@@ -2993,11 +2935,6 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2993
2935
|
error_code: "salto_ks_user_not_subscribed";
|
|
2994
2936
|
is_access_code_error: true;
|
|
2995
2937
|
created_at?: string | undefined;
|
|
2996
|
-
} | {
|
|
2997
|
-
message: string;
|
|
2998
|
-
error_code: "replaced_by_newer_access_code";
|
|
2999
|
-
is_access_code_error: true;
|
|
3000
|
-
created_at?: string | undefined;
|
|
3001
2938
|
})[];
|
|
3002
2939
|
warnings: ({
|
|
3003
2940
|
message: string;
|
|
@@ -3247,11 +3184,6 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3247
3184
|
error_code: "salto_ks_user_not_subscribed";
|
|
3248
3185
|
is_access_code_error: true;
|
|
3249
3186
|
created_at?: string | undefined;
|
|
3250
|
-
} | {
|
|
3251
|
-
message: string;
|
|
3252
|
-
error_code: "replaced_by_newer_access_code";
|
|
3253
|
-
is_access_code_error: true;
|
|
3254
|
-
created_at?: string | undefined;
|
|
3255
3187
|
})[];
|
|
3256
3188
|
warnings: ({
|
|
3257
3189
|
message: string;
|
|
@@ -31425,15 +31357,6 @@ type Routes = {
|
|
|
31425
31357
|
created_at?: string | undefined;
|
|
31426
31358
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
31427
31359
|
error_code: 'insufficient_permissions';
|
|
31428
|
-
} | {
|
|
31429
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
31430
|
-
message: string;
|
|
31431
|
-
/** Indicates that this is an access code error. */
|
|
31432
|
-
is_access_code_error: true;
|
|
31433
|
-
/** Date and time at which Seam created the error. */
|
|
31434
|
-
created_at?: string | undefined;
|
|
31435
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
31436
|
-
error_code: 'replaced_by_newer_access_code';
|
|
31437
31360
|
} | {
|
|
31438
31361
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
31439
31362
|
message: string;
|
|
@@ -31974,15 +31897,6 @@ type Routes = {
|
|
|
31974
31897
|
created_at?: string | undefined;
|
|
31975
31898
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
31976
31899
|
error_code: 'insufficient_permissions';
|
|
31977
|
-
} | {
|
|
31978
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
31979
|
-
message: string;
|
|
31980
|
-
/** Indicates that this is an access code error. */
|
|
31981
|
-
is_access_code_error: true;
|
|
31982
|
-
/** Date and time at which Seam created the error. */
|
|
31983
|
-
created_at?: string | undefined;
|
|
31984
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
31985
|
-
error_code: 'replaced_by_newer_access_code';
|
|
31986
31900
|
} | {
|
|
31987
31901
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
31988
31902
|
message: string;
|
|
@@ -34211,15 +34125,6 @@ type Routes = {
|
|
|
34211
34125
|
created_at?: string | undefined;
|
|
34212
34126
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
34213
34127
|
error_code: 'insufficient_permissions';
|
|
34214
|
-
} | {
|
|
34215
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
34216
|
-
message: string;
|
|
34217
|
-
/** Indicates that this is an access code error. */
|
|
34218
|
-
is_access_code_error: true;
|
|
34219
|
-
/** Date and time at which Seam created the error. */
|
|
34220
|
-
created_at?: string | undefined;
|
|
34221
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
34222
|
-
error_code: 'replaced_by_newer_access_code';
|
|
34223
34128
|
} | {
|
|
34224
34129
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
34225
34130
|
message: string;
|
|
@@ -34806,15 +34711,6 @@ type Routes = {
|
|
|
34806
34711
|
created_at?: string | undefined;
|
|
34807
34712
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
34808
34713
|
error_code: 'insufficient_permissions';
|
|
34809
|
-
} | {
|
|
34810
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
34811
|
-
message: string;
|
|
34812
|
-
/** Indicates that this is an access code error. */
|
|
34813
|
-
is_access_code_error: true;
|
|
34814
|
-
/** Date and time at which Seam created the error. */
|
|
34815
|
-
created_at?: string | undefined;
|
|
34816
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
34817
|
-
error_code: 'replaced_by_newer_access_code';
|
|
34818
34714
|
} | {
|
|
34819
34715
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
34820
34716
|
message: string;
|
|
@@ -35346,15 +35242,6 @@ type Routes = {
|
|
|
35346
35242
|
created_at?: string | undefined;
|
|
35347
35243
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
35348
35244
|
error_code: 'insufficient_permissions';
|
|
35349
|
-
} | {
|
|
35350
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
35351
|
-
message: string;
|
|
35352
|
-
/** Indicates that this is an access code error. */
|
|
35353
|
-
is_access_code_error: true;
|
|
35354
|
-
/** Date and time at which Seam created the error. */
|
|
35355
|
-
created_at?: string | undefined;
|
|
35356
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
35357
|
-
error_code: 'replaced_by_newer_access_code';
|
|
35358
35245
|
} | {
|
|
35359
35246
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
35360
35247
|
message: string;
|
|
@@ -35863,15 +35750,6 @@ type Routes = {
|
|
|
35863
35750
|
created_at?: string | undefined;
|
|
35864
35751
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
35865
35752
|
error_code: 'insufficient_permissions';
|
|
35866
|
-
} | {
|
|
35867
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
35868
|
-
message: string;
|
|
35869
|
-
/** Indicates that this is an access code error. */
|
|
35870
|
-
is_access_code_error: true;
|
|
35871
|
-
/** Date and time at which Seam created the error. */
|
|
35872
|
-
created_at?: string | undefined;
|
|
35873
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
35874
|
-
error_code: 'replaced_by_newer_access_code';
|
|
35875
35753
|
} | {
|
|
35876
35754
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
35877
35755
|
message: string;
|
|
@@ -36413,15 +36291,6 @@ type Routes = {
|
|
|
36413
36291
|
created_at?: string | undefined;
|
|
36414
36292
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
36415
36293
|
error_code: 'insufficient_permissions';
|
|
36416
|
-
} | {
|
|
36417
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
36418
|
-
message: string;
|
|
36419
|
-
/** Indicates that this is an access code error. */
|
|
36420
|
-
is_access_code_error: true;
|
|
36421
|
-
/** Date and time at which Seam created the error. */
|
|
36422
|
-
created_at?: string | undefined;
|
|
36423
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
36424
|
-
error_code: 'replaced_by_newer_access_code';
|
|
36425
36294
|
} | {
|
|
36426
36295
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
36427
36296
|
message: string;
|
|
@@ -38559,15 +38428,6 @@ type Routes = {
|
|
|
38559
38428
|
created_at?: string | undefined;
|
|
38560
38429
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38561
38430
|
error_code: 'insufficient_permissions';
|
|
38562
|
-
} | {
|
|
38563
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
38564
|
-
message: string;
|
|
38565
|
-
/** Indicates that this is an access code error. */
|
|
38566
|
-
is_access_code_error: true;
|
|
38567
|
-
/** Date and time at which Seam created the error. */
|
|
38568
|
-
created_at?: string | undefined;
|
|
38569
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38570
|
-
error_code: 'replaced_by_newer_access_code';
|
|
38571
38431
|
} | {
|
|
38572
38432
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
38573
38433
|
message: string;
|
|
@@ -38995,15 +38855,6 @@ type Routes = {
|
|
|
38995
38855
|
created_at?: string | undefined;
|
|
38996
38856
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
38997
38857
|
error_code: 'insufficient_permissions';
|
|
38998
|
-
} | {
|
|
38999
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
39000
|
-
message: string;
|
|
39001
|
-
/** Indicates that this is an access code error. */
|
|
39002
|
-
is_access_code_error: true;
|
|
39003
|
-
/** Date and time at which Seam created the error. */
|
|
39004
|
-
created_at?: string | undefined;
|
|
39005
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
39006
|
-
error_code: 'replaced_by_newer_access_code';
|
|
39007
38858
|
} | {
|
|
39008
38859
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
39009
38860
|
message: string;
|
|
@@ -147268,15 +147119,6 @@ type Routes = {
|
|
|
147268
147119
|
created_at?: string | undefined;
|
|
147269
147120
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
147270
147121
|
error_code: 'insufficient_permissions';
|
|
147271
|
-
} | {
|
|
147272
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
147273
|
-
message: string;
|
|
147274
|
-
/** Indicates that this is an access code error. */
|
|
147275
|
-
is_access_code_error: true;
|
|
147276
|
-
/** Date and time at which Seam created the error. */
|
|
147277
|
-
created_at?: string | undefined;
|
|
147278
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
147279
|
-
error_code: 'replaced_by_newer_access_code';
|
|
147280
147122
|
} | {
|
|
147281
147123
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
147282
147124
|
message: string;
|
|
@@ -147688,15 +147530,6 @@ type Routes = {
|
|
|
147688
147530
|
created_at?: string | undefined;
|
|
147689
147531
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
147690
147532
|
error_code: 'insufficient_permissions';
|
|
147691
|
-
} | {
|
|
147692
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
147693
|
-
message: string;
|
|
147694
|
-
/** Indicates that this is an access code error. */
|
|
147695
|
-
is_access_code_error: true;
|
|
147696
|
-
/** Date and time at which Seam created the error. */
|
|
147697
|
-
created_at?: string | undefined;
|
|
147698
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
147699
|
-
error_code: 'replaced_by_newer_access_code';
|
|
147700
147533
|
} | {
|
|
147701
147534
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
147702
147535
|
message: string;
|
package/dist/index.cjs
CHANGED
|
@@ -2579,14 +2579,6 @@ var salto_ks_user_not_subscribed = common_access_code_error.extend({
|
|
|
2579
2579
|
Salto site user is not subscribed.
|
|
2580
2580
|
`
|
|
2581
2581
|
);
|
|
2582
|
-
var replaced_by_newer_access_code = common_access_code_error.extend({
|
|
2583
|
-
error_code: zod.z.literal("replaced_by_newer_access_code").describe(error_code_description3)
|
|
2584
|
-
}).describe(`
|
|
2585
|
-
---
|
|
2586
|
-
resource_type: access_code
|
|
2587
|
-
---
|
|
2588
|
-
This access code was overridden on the device by a newer access code programmed to the same slot.
|
|
2589
|
-
`);
|
|
2590
2582
|
var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
2591
2583
|
provider_issue2,
|
|
2592
2584
|
failed_to_set_on_device,
|
|
@@ -2598,8 +2590,7 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
|
2598
2590
|
code_modified_external_to_seam_error,
|
|
2599
2591
|
access_code_inactive_error,
|
|
2600
2592
|
salto_ks_user_not_subscribed,
|
|
2601
|
-
insufficient_permissions2
|
|
2602
|
-
replaced_by_newer_access_code
|
|
2593
|
+
insufficient_permissions2
|
|
2603
2594
|
]).describe(
|
|
2604
2595
|
"Errors associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes)."
|
|
2605
2596
|
);
|
|
@@ -2614,8 +2605,7 @@ zod.z.object({
|
|
|
2614
2605
|
insufficient_permissions: insufficient_permissions2.optional().nullable(),
|
|
2615
2606
|
code_modified_external_to_seam_error: code_modified_external_to_seam_error.optional().nullable(),
|
|
2616
2607
|
access_code_inactive: access_code_inactive_error.optional().nullable(),
|
|
2617
|
-
salto_ks_user_not_subscribed: salto_ks_user_not_subscribed.optional().nullable()
|
|
2618
|
-
replaced_by_newer_access_code: replaced_by_newer_access_code.optional().nullable()
|
|
2608
|
+
salto_ks_user_not_subscribed: salto_ks_user_not_subscribed.optional().nullable()
|
|
2619
2609
|
});
|
|
2620
2610
|
var common_access_code_warning = zod.z.object({
|
|
2621
2611
|
message: zod.z.string().describe(
|
|
@@ -7921,33 +7911,6 @@ var openapi = {
|
|
|
7921
7911
|
type: "object",
|
|
7922
7912
|
"x-resource-type": "access_code"
|
|
7923
7913
|
},
|
|
7924
|
-
{
|
|
7925
|
-
description: "This access code was overridden on the device by a newer access code programmed to the same slot.",
|
|
7926
|
-
properties: {
|
|
7927
|
-
created_at: {
|
|
7928
|
-
description: "Date and time at which Seam created the error.",
|
|
7929
|
-
format: "date-time",
|
|
7930
|
-
type: "string"
|
|
7931
|
-
},
|
|
7932
|
-
error_code: {
|
|
7933
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
7934
|
-
enum: ["replaced_by_newer_access_code"],
|
|
7935
|
-
type: "string"
|
|
7936
|
-
},
|
|
7937
|
-
is_access_code_error: {
|
|
7938
|
-
description: "Indicates that this is an access code error.",
|
|
7939
|
-
enum: [true],
|
|
7940
|
-
type: "boolean"
|
|
7941
|
-
},
|
|
7942
|
-
message: {
|
|
7943
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
7944
|
-
type: "string"
|
|
7945
|
-
}
|
|
7946
|
-
},
|
|
7947
|
-
required: ["message", "is_access_code_error", "error_code"],
|
|
7948
|
-
type: "object",
|
|
7949
|
-
"x-resource-type": "access_code"
|
|
7950
|
-
},
|
|
7951
7914
|
{
|
|
7952
7915
|
description: "Indicates that the account is disconnected.",
|
|
7953
7916
|
properties: {
|
|
@@ -33756,33 +33719,6 @@ var openapi = {
|
|
|
33756
33719
|
type: "object",
|
|
33757
33720
|
"x-resource-type": "access_code"
|
|
33758
33721
|
},
|
|
33759
|
-
{
|
|
33760
|
-
description: "This access code was overridden on the device by a newer access code programmed to the same slot.",
|
|
33761
|
-
properties: {
|
|
33762
|
-
created_at: {
|
|
33763
|
-
description: "Date and time at which Seam created the error.",
|
|
33764
|
-
format: "date-time",
|
|
33765
|
-
type: "string"
|
|
33766
|
-
},
|
|
33767
|
-
error_code: {
|
|
33768
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
33769
|
-
enum: ["replaced_by_newer_access_code"],
|
|
33770
|
-
type: "string"
|
|
33771
|
-
},
|
|
33772
|
-
is_access_code_error: {
|
|
33773
|
-
description: "Indicates that this is an access code error.",
|
|
33774
|
-
enum: [true],
|
|
33775
|
-
type: "boolean"
|
|
33776
|
-
},
|
|
33777
|
-
message: {
|
|
33778
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
33779
|
-
type: "string"
|
|
33780
|
-
}
|
|
33781
|
-
},
|
|
33782
|
-
required: ["message", "is_access_code_error", "error_code"],
|
|
33783
|
-
type: "object",
|
|
33784
|
-
"x-resource-type": "access_code"
|
|
33785
|
-
},
|
|
33786
33722
|
{
|
|
33787
33723
|
description: "Indicates that the account is disconnected.",
|
|
33788
33724
|
properties: {
|