@seamapi/types 1.858.0 → 1.859.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 +0 -104
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +0 -429
- package/dist/index.cjs +0 -104
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +0 -129
- package/lib/seam/connect/models/access-codes/managed-access-code.js +0 -22
- 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 -47
- package/lib/seam/connect/models/batch.d.ts +0 -130
- package/lib/seam/connect/openapi.js +0 -94
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +0 -176
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +0 -24
- package/src/lib/seam/connect/openapi.ts +0 -112
- package/src/lib/seam/connect/route-types.ts +0 -198
|
@@ -23549,22 +23549,6 @@ export declare const batch: z.ZodObject<{
|
|
|
23549
23549
|
message: z.ZodString;
|
|
23550
23550
|
is_access_code_error: z.ZodLiteral<true>;
|
|
23551
23551
|
created_at: z.ZodOptional<z.ZodString>;
|
|
23552
|
-
} & {
|
|
23553
|
-
error_code: z.ZodLiteral<"august_device_programming_delay">;
|
|
23554
|
-
}, "strip", z.ZodTypeAny, {
|
|
23555
|
-
message: string;
|
|
23556
|
-
error_code: "august_device_programming_delay";
|
|
23557
|
-
is_access_code_error: true;
|
|
23558
|
-
created_at?: string | undefined;
|
|
23559
|
-
}, {
|
|
23560
|
-
message: string;
|
|
23561
|
-
error_code: "august_device_programming_delay";
|
|
23562
|
-
is_access_code_error: true;
|
|
23563
|
-
created_at?: string | undefined;
|
|
23564
|
-
}>, z.ZodObject<{
|
|
23565
|
-
message: z.ZodString;
|
|
23566
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
23567
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
23568
23552
|
} & {
|
|
23569
23553
|
error_code: z.ZodLiteral<"august_lock_missing_keypad">;
|
|
23570
23554
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -24148,19 +24132,6 @@ export declare const batch: z.ZodObject<{
|
|
|
24148
24132
|
}>, z.ZodObject<{
|
|
24149
24133
|
message: z.ZodString;
|
|
24150
24134
|
created_at: z.ZodOptional<z.ZodString>;
|
|
24151
|
-
} & {
|
|
24152
|
-
warning_code: z.ZodLiteral<"august_device_programming_delay">;
|
|
24153
|
-
}, "strip", z.ZodTypeAny, {
|
|
24154
|
-
message: string;
|
|
24155
|
-
warning_code: "august_device_programming_delay";
|
|
24156
|
-
created_at?: string | undefined;
|
|
24157
|
-
}, {
|
|
24158
|
-
message: string;
|
|
24159
|
-
warning_code: "august_device_programming_delay";
|
|
24160
|
-
created_at?: string | undefined;
|
|
24161
|
-
}>, z.ZodObject<{
|
|
24162
|
-
message: z.ZodString;
|
|
24163
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
24164
24135
|
} & {
|
|
24165
24136
|
warning_code: z.ZodLiteral<"august_lock_temporarily_offline">;
|
|
24166
24137
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -24626,11 +24597,6 @@ export declare const batch: z.ZodObject<{
|
|
|
24626
24597
|
error_code: "august_lock_invalid_code_length";
|
|
24627
24598
|
is_access_code_error: true;
|
|
24628
24599
|
created_at?: string | undefined;
|
|
24629
|
-
} | {
|
|
24630
|
-
message: string;
|
|
24631
|
-
error_code: "august_device_programming_delay";
|
|
24632
|
-
is_access_code_error: true;
|
|
24633
|
-
created_at?: string | undefined;
|
|
24634
24600
|
} | {
|
|
24635
24601
|
message: string;
|
|
24636
24602
|
error_code: "august_lock_temporarily_offline";
|
|
@@ -24681,10 +24647,6 @@ export declare const batch: z.ZodObject<{
|
|
|
24681
24647
|
message: string;
|
|
24682
24648
|
warning_code: "smartthings_failed_to_set_access_code";
|
|
24683
24649
|
created_at?: string | undefined;
|
|
24684
|
-
} | {
|
|
24685
|
-
message: string;
|
|
24686
|
-
warning_code: "august_device_programming_delay";
|
|
24687
|
-
created_at?: string | undefined;
|
|
24688
24650
|
} | {
|
|
24689
24651
|
message: string;
|
|
24690
24652
|
warning_code: "august_lock_temporarily_offline";
|
|
@@ -24979,11 +24941,6 @@ export declare const batch: z.ZodObject<{
|
|
|
24979
24941
|
error_code: "august_lock_invalid_code_length";
|
|
24980
24942
|
is_access_code_error: true;
|
|
24981
24943
|
created_at?: string | undefined;
|
|
24982
|
-
} | {
|
|
24983
|
-
message: string;
|
|
24984
|
-
error_code: "august_device_programming_delay";
|
|
24985
|
-
is_access_code_error: true;
|
|
24986
|
-
created_at?: string | undefined;
|
|
24987
24944
|
} | {
|
|
24988
24945
|
message: string;
|
|
24989
24946
|
error_code: "august_lock_temporarily_offline";
|
|
@@ -25034,10 +24991,6 @@ export declare const batch: z.ZodObject<{
|
|
|
25034
24991
|
message: string;
|
|
25035
24992
|
warning_code: "smartthings_failed_to_set_access_code";
|
|
25036
24993
|
created_at?: string | undefined;
|
|
25037
|
-
} | {
|
|
25038
|
-
message: string;
|
|
25039
|
-
warning_code: "august_device_programming_delay";
|
|
25040
|
-
created_at?: string | undefined;
|
|
25041
24994
|
} | {
|
|
25042
24995
|
message: string;
|
|
25043
24996
|
warning_code: "august_lock_temporarily_offline";
|
|
@@ -25376,22 +25329,6 @@ export declare const batch: z.ZodObject<{
|
|
|
25376
25329
|
message: z.ZodString;
|
|
25377
25330
|
is_access_code_error: z.ZodLiteral<true>;
|
|
25378
25331
|
created_at: z.ZodOptional<z.ZodString>;
|
|
25379
|
-
} & {
|
|
25380
|
-
error_code: z.ZodLiteral<"august_device_programming_delay">;
|
|
25381
|
-
}, "strip", z.ZodTypeAny, {
|
|
25382
|
-
message: string;
|
|
25383
|
-
error_code: "august_device_programming_delay";
|
|
25384
|
-
is_access_code_error: true;
|
|
25385
|
-
created_at?: string | undefined;
|
|
25386
|
-
}, {
|
|
25387
|
-
message: string;
|
|
25388
|
-
error_code: "august_device_programming_delay";
|
|
25389
|
-
is_access_code_error: true;
|
|
25390
|
-
created_at?: string | undefined;
|
|
25391
|
-
}>, z.ZodObject<{
|
|
25392
|
-
message: z.ZodString;
|
|
25393
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
25394
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
25395
25332
|
} & {
|
|
25396
25333
|
error_code: z.ZodLiteral<"august_lock_missing_keypad">;
|
|
25397
25334
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -25975,19 +25912,6 @@ export declare const batch: z.ZodObject<{
|
|
|
25975
25912
|
}>, z.ZodObject<{
|
|
25976
25913
|
message: z.ZodString;
|
|
25977
25914
|
created_at: z.ZodOptional<z.ZodString>;
|
|
25978
|
-
} & {
|
|
25979
|
-
warning_code: z.ZodLiteral<"august_device_programming_delay">;
|
|
25980
|
-
}, "strip", z.ZodTypeAny, {
|
|
25981
|
-
message: string;
|
|
25982
|
-
warning_code: "august_device_programming_delay";
|
|
25983
|
-
created_at?: string | undefined;
|
|
25984
|
-
}, {
|
|
25985
|
-
message: string;
|
|
25986
|
-
warning_code: "august_device_programming_delay";
|
|
25987
|
-
created_at?: string | undefined;
|
|
25988
|
-
}>, z.ZodObject<{
|
|
25989
|
-
message: z.ZodString;
|
|
25990
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
25991
25915
|
} & {
|
|
25992
25916
|
warning_code: z.ZodLiteral<"august_lock_temporarily_offline">;
|
|
25993
25917
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -26279,11 +26203,6 @@ export declare const batch: z.ZodObject<{
|
|
|
26279
26203
|
error_code: "august_lock_invalid_code_length";
|
|
26280
26204
|
is_access_code_error: true;
|
|
26281
26205
|
created_at?: string | undefined;
|
|
26282
|
-
} | {
|
|
26283
|
-
message: string;
|
|
26284
|
-
error_code: "august_device_programming_delay";
|
|
26285
|
-
is_access_code_error: true;
|
|
26286
|
-
created_at?: string | undefined;
|
|
26287
26206
|
} | {
|
|
26288
26207
|
message: string;
|
|
26289
26208
|
error_code: "august_lock_temporarily_offline";
|
|
@@ -26334,10 +26253,6 @@ export declare const batch: z.ZodObject<{
|
|
|
26334
26253
|
message: string;
|
|
26335
26254
|
warning_code: "smartthings_failed_to_set_access_code";
|
|
26336
26255
|
created_at?: string | undefined;
|
|
26337
|
-
} | {
|
|
26338
|
-
message: string;
|
|
26339
|
-
warning_code: "august_device_programming_delay";
|
|
26340
|
-
created_at?: string | undefined;
|
|
26341
26256
|
} | {
|
|
26342
26257
|
message: string;
|
|
26343
26258
|
warning_code: "august_lock_temporarily_offline";
|
|
@@ -26579,11 +26494,6 @@ export declare const batch: z.ZodObject<{
|
|
|
26579
26494
|
error_code: "august_lock_invalid_code_length";
|
|
26580
26495
|
is_access_code_error: true;
|
|
26581
26496
|
created_at?: string | undefined;
|
|
26582
|
-
} | {
|
|
26583
|
-
message: string;
|
|
26584
|
-
error_code: "august_device_programming_delay";
|
|
26585
|
-
is_access_code_error: true;
|
|
26586
|
-
created_at?: string | undefined;
|
|
26587
26497
|
} | {
|
|
26588
26498
|
message: string;
|
|
26589
26499
|
error_code: "august_lock_temporarily_offline";
|
|
@@ -26634,10 +26544,6 @@ export declare const batch: z.ZodObject<{
|
|
|
26634
26544
|
message: string;
|
|
26635
26545
|
warning_code: "smartthings_failed_to_set_access_code";
|
|
26636
26546
|
created_at?: string | undefined;
|
|
26637
|
-
} | {
|
|
26638
|
-
message: string;
|
|
26639
|
-
warning_code: "august_device_programming_delay";
|
|
26640
|
-
created_at?: string | undefined;
|
|
26641
26547
|
} | {
|
|
26642
26548
|
message: string;
|
|
26643
26549
|
warning_code: "august_lock_temporarily_offline";
|
|
@@ -31480,11 +31386,6 @@ export declare const batch: z.ZodObject<{
|
|
|
31480
31386
|
error_code: "august_lock_invalid_code_length";
|
|
31481
31387
|
is_access_code_error: true;
|
|
31482
31388
|
created_at?: string | undefined;
|
|
31483
|
-
} | {
|
|
31484
|
-
message: string;
|
|
31485
|
-
error_code: "august_device_programming_delay";
|
|
31486
|
-
is_access_code_error: true;
|
|
31487
|
-
created_at?: string | undefined;
|
|
31488
31389
|
} | {
|
|
31489
31390
|
message: string;
|
|
31490
31391
|
error_code: "august_lock_temporarily_offline";
|
|
@@ -31535,10 +31436,6 @@ export declare const batch: z.ZodObject<{
|
|
|
31535
31436
|
message: string;
|
|
31536
31437
|
warning_code: "smartthings_failed_to_set_access_code";
|
|
31537
31438
|
created_at?: string | undefined;
|
|
31538
|
-
} | {
|
|
31539
|
-
message: string;
|
|
31540
|
-
warning_code: "august_device_programming_delay";
|
|
31541
|
-
created_at?: string | undefined;
|
|
31542
31439
|
} | {
|
|
31543
31440
|
message: string;
|
|
31544
31441
|
warning_code: "august_lock_temporarily_offline";
|
|
@@ -31834,11 +31731,6 @@ export declare const batch: z.ZodObject<{
|
|
|
31834
31731
|
error_code: "august_lock_invalid_code_length";
|
|
31835
31732
|
is_access_code_error: true;
|
|
31836
31733
|
created_at?: string | undefined;
|
|
31837
|
-
} | {
|
|
31838
|
-
message: string;
|
|
31839
|
-
error_code: "august_device_programming_delay";
|
|
31840
|
-
is_access_code_error: true;
|
|
31841
|
-
created_at?: string | undefined;
|
|
31842
31734
|
} | {
|
|
31843
31735
|
message: string;
|
|
31844
31736
|
error_code: "august_lock_temporarily_offline";
|
|
@@ -31889,10 +31781,6 @@ export declare const batch: z.ZodObject<{
|
|
|
31889
31781
|
message: string;
|
|
31890
31782
|
warning_code: "smartthings_failed_to_set_access_code";
|
|
31891
31783
|
created_at?: string | undefined;
|
|
31892
|
-
} | {
|
|
31893
|
-
message: string;
|
|
31894
|
-
warning_code: "august_device_programming_delay";
|
|
31895
|
-
created_at?: string | undefined;
|
|
31896
31784
|
} | {
|
|
31897
31785
|
message: string;
|
|
31898
31786
|
warning_code: "august_lock_temporarily_offline";
|
|
@@ -36608,11 +36496,6 @@ export declare const batch: z.ZodObject<{
|
|
|
36608
36496
|
error_code: "august_lock_invalid_code_length";
|
|
36609
36497
|
is_access_code_error: true;
|
|
36610
36498
|
created_at?: string | undefined;
|
|
36611
|
-
} | {
|
|
36612
|
-
message: string;
|
|
36613
|
-
error_code: "august_device_programming_delay";
|
|
36614
|
-
is_access_code_error: true;
|
|
36615
|
-
created_at?: string | undefined;
|
|
36616
36499
|
} | {
|
|
36617
36500
|
message: string;
|
|
36618
36501
|
error_code: "august_lock_temporarily_offline";
|
|
@@ -36663,10 +36546,6 @@ export declare const batch: z.ZodObject<{
|
|
|
36663
36546
|
message: string;
|
|
36664
36547
|
warning_code: "smartthings_failed_to_set_access_code";
|
|
36665
36548
|
created_at?: string | undefined;
|
|
36666
|
-
} | {
|
|
36667
|
-
message: string;
|
|
36668
|
-
warning_code: "august_device_programming_delay";
|
|
36669
|
-
created_at?: string | undefined;
|
|
36670
36549
|
} | {
|
|
36671
36550
|
message: string;
|
|
36672
36551
|
warning_code: "august_lock_temporarily_offline";
|
|
@@ -36962,11 +36841,6 @@ export declare const batch: z.ZodObject<{
|
|
|
36962
36841
|
error_code: "august_lock_invalid_code_length";
|
|
36963
36842
|
is_access_code_error: true;
|
|
36964
36843
|
created_at?: string | undefined;
|
|
36965
|
-
} | {
|
|
36966
|
-
message: string;
|
|
36967
|
-
error_code: "august_device_programming_delay";
|
|
36968
|
-
is_access_code_error: true;
|
|
36969
|
-
created_at?: string | undefined;
|
|
36970
36844
|
} | {
|
|
36971
36845
|
message: string;
|
|
36972
36846
|
error_code: "august_lock_temporarily_offline";
|
|
@@ -37017,10 +36891,6 @@ export declare const batch: z.ZodObject<{
|
|
|
37017
36891
|
message: string;
|
|
37018
36892
|
warning_code: "smartthings_failed_to_set_access_code";
|
|
37019
36893
|
created_at?: string | undefined;
|
|
37020
|
-
} | {
|
|
37021
|
-
message: string;
|
|
37022
|
-
warning_code: "august_device_programming_delay";
|
|
37023
|
-
created_at?: string | undefined;
|
|
37024
36894
|
} | {
|
|
37025
36895
|
message: string;
|
|
37026
36896
|
warning_code: "august_lock_temporarily_offline";
|
|
@@ -406,32 +406,6 @@ const openapi = {
|
|
|
406
406
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
407
407
|
type: 'object',
|
|
408
408
|
},
|
|
409
|
-
{
|
|
410
|
-
description: 'Access code has not yet been fully moved to the device.',
|
|
411
|
-
properties: {
|
|
412
|
-
created_at: {
|
|
413
|
-
description: 'Date and time at which Seam created the error.',
|
|
414
|
-
format: 'date-time',
|
|
415
|
-
type: 'string',
|
|
416
|
-
},
|
|
417
|
-
error_code: {
|
|
418
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
419
|
-
enum: ['august_device_programming_delay'],
|
|
420
|
-
type: 'string',
|
|
421
|
-
},
|
|
422
|
-
is_access_code_error: {
|
|
423
|
-
description: 'Indicates that this is an access code error.',
|
|
424
|
-
enum: [true],
|
|
425
|
-
type: 'boolean',
|
|
426
|
-
},
|
|
427
|
-
message: {
|
|
428
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
429
|
-
type: 'string',
|
|
430
|
-
},
|
|
431
|
-
},
|
|
432
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
433
|
-
type: 'object',
|
|
434
|
-
},
|
|
435
409
|
{
|
|
436
410
|
description: 'August lock is missing a keypad.',
|
|
437
411
|
properties: {
|
|
@@ -1642,27 +1616,6 @@ const openapi = {
|
|
|
1642
1616
|
required: ['message', 'warning_code'],
|
|
1643
1617
|
type: 'object',
|
|
1644
1618
|
},
|
|
1645
|
-
{
|
|
1646
|
-
description: 'Access code has not yet been fully moved to the device.',
|
|
1647
|
-
properties: {
|
|
1648
|
-
created_at: {
|
|
1649
|
-
description: 'Date and time at which Seam created the warning.',
|
|
1650
|
-
format: 'date-time',
|
|
1651
|
-
type: 'string',
|
|
1652
|
-
},
|
|
1653
|
-
message: {
|
|
1654
|
-
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
1655
|
-
type: 'string',
|
|
1656
|
-
},
|
|
1657
|
-
warning_code: {
|
|
1658
|
-
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
1659
|
-
enum: ['august_device_programming_delay'],
|
|
1660
|
-
type: 'string',
|
|
1661
|
-
},
|
|
1662
|
-
},
|
|
1663
|
-
required: ['message', 'warning_code'],
|
|
1664
|
-
type: 'object',
|
|
1665
|
-
},
|
|
1666
1619
|
{
|
|
1667
1620
|
description: 'August lock is temporarily offline.',
|
|
1668
1621
|
properties: {
|
|
@@ -24895,32 +24848,6 @@ const openapi = {
|
|
|
24895
24848
|
required: ['message', 'is_access_code_error', 'error_code'],
|
|
24896
24849
|
type: 'object',
|
|
24897
24850
|
},
|
|
24898
|
-
{
|
|
24899
|
-
description: 'Access code has not yet been fully moved to the device.',
|
|
24900
|
-
properties: {
|
|
24901
|
-
created_at: {
|
|
24902
|
-
description: 'Date and time at which Seam created the error.',
|
|
24903
|
-
format: 'date-time',
|
|
24904
|
-
type: 'string',
|
|
24905
|
-
},
|
|
24906
|
-
error_code: {
|
|
24907
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
24908
|
-
enum: ['august_device_programming_delay'],
|
|
24909
|
-
type: 'string',
|
|
24910
|
-
},
|
|
24911
|
-
is_access_code_error: {
|
|
24912
|
-
description: 'Indicates that this is an access code error.',
|
|
24913
|
-
enum: [true],
|
|
24914
|
-
type: 'boolean',
|
|
24915
|
-
},
|
|
24916
|
-
message: {
|
|
24917
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
24918
|
-
type: 'string',
|
|
24919
|
-
},
|
|
24920
|
-
},
|
|
24921
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
24922
|
-
type: 'object',
|
|
24923
|
-
},
|
|
24924
24851
|
{
|
|
24925
24852
|
description: 'August lock is missing a keypad.',
|
|
24926
24853
|
properties: {
|
|
@@ -25848,27 +25775,6 @@ const openapi = {
|
|
|
25848
25775
|
required: ['message', 'warning_code'],
|
|
25849
25776
|
type: 'object',
|
|
25850
25777
|
},
|
|
25851
|
-
{
|
|
25852
|
-
description: 'Access code has not yet been fully moved to the device.',
|
|
25853
|
-
properties: {
|
|
25854
|
-
created_at: {
|
|
25855
|
-
description: 'Date and time at which Seam created the warning.',
|
|
25856
|
-
format: 'date-time',
|
|
25857
|
-
type: 'string',
|
|
25858
|
-
},
|
|
25859
|
-
message: {
|
|
25860
|
-
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
25861
|
-
type: 'string',
|
|
25862
|
-
},
|
|
25863
|
-
warning_code: {
|
|
25864
|
-
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
25865
|
-
enum: ['august_device_programming_delay'],
|
|
25866
|
-
type: 'string',
|
|
25867
|
-
},
|
|
25868
|
-
},
|
|
25869
|
-
required: ['message', 'warning_code'],
|
|
25870
|
-
type: 'object',
|
|
25871
|
-
},
|
|
25872
25778
|
{
|
|
25873
25779
|
description: 'August lock is temporarily offline.',
|
|
25874
25780
|
properties: {
|