@seamapi/types 1.859.0 → 1.861.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 +6 -63
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +0 -239
- package/dist/index.cjs +6 -63
- 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 -11
- 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/models/batch.d.ts +0 -72
- package/lib/seam/connect/openapi.js +6 -58
- 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 -12
- package/src/lib/seam/connect/openapi.ts +6 -66
- package/src/lib/seam/connect/route-types.ts +0 -110
package/dist/connect.d.cts
CHANGED
|
@@ -36,22 +36,6 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
36
36
|
message: z.ZodString;
|
|
37
37
|
is_access_code_error: z.ZodLiteral<true>;
|
|
38
38
|
created_at: z.ZodOptional<z.ZodString>;
|
|
39
|
-
} & {
|
|
40
|
-
error_code: z.ZodLiteral<"smartthings_no_free_slots_available">;
|
|
41
|
-
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
message: string;
|
|
43
|
-
error_code: "smartthings_no_free_slots_available";
|
|
44
|
-
is_access_code_error: true;
|
|
45
|
-
created_at?: string | undefined;
|
|
46
|
-
}, {
|
|
47
|
-
message: string;
|
|
48
|
-
error_code: "smartthings_no_free_slots_available";
|
|
49
|
-
is_access_code_error: true;
|
|
50
|
-
created_at?: string | undefined;
|
|
51
|
-
}>, z.ZodObject<{
|
|
52
|
-
message: z.ZodString;
|
|
53
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
54
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
55
39
|
} & {
|
|
56
40
|
error_code: z.ZodLiteral<"failed_to_set_on_device">;
|
|
57
41
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -588,22 +572,6 @@ declare const access_code: z.ZodObject<{
|
|
|
588
572
|
message: z.ZodString;
|
|
589
573
|
is_access_code_error: z.ZodLiteral<true>;
|
|
590
574
|
created_at: z.ZodOptional<z.ZodString>;
|
|
591
|
-
} & {
|
|
592
|
-
error_code: z.ZodLiteral<"smartthings_no_free_slots_available">;
|
|
593
|
-
}, "strip", z.ZodTypeAny, {
|
|
594
|
-
message: string;
|
|
595
|
-
error_code: "smartthings_no_free_slots_available";
|
|
596
|
-
is_access_code_error: true;
|
|
597
|
-
created_at?: string | undefined;
|
|
598
|
-
}, {
|
|
599
|
-
message: string;
|
|
600
|
-
error_code: "smartthings_no_free_slots_available";
|
|
601
|
-
is_access_code_error: true;
|
|
602
|
-
created_at?: string | undefined;
|
|
603
|
-
}>, z.ZodObject<{
|
|
604
|
-
message: z.ZodString;
|
|
605
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
606
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
607
575
|
} & {
|
|
608
576
|
error_code: z.ZodLiteral<"failed_to_set_on_device">;
|
|
609
577
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1817,11 +1785,6 @@ declare const access_code: z.ZodObject<{
|
|
|
1817
1785
|
error_code: "salto_ks_user_not_subscribed";
|
|
1818
1786
|
is_access_code_error: true;
|
|
1819
1787
|
created_at?: string | undefined;
|
|
1820
|
-
} | {
|
|
1821
|
-
message: string;
|
|
1822
|
-
error_code: "smartthings_no_free_slots_available";
|
|
1823
|
-
is_access_code_error: true;
|
|
1824
|
-
created_at?: string | undefined;
|
|
1825
1788
|
} | {
|
|
1826
1789
|
message: string;
|
|
1827
1790
|
error_code: "wyze_duplicate_code_name";
|
|
@@ -2161,11 +2124,6 @@ declare const access_code: z.ZodObject<{
|
|
|
2161
2124
|
error_code: "salto_ks_user_not_subscribed";
|
|
2162
2125
|
is_access_code_error: true;
|
|
2163
2126
|
created_at?: string | undefined;
|
|
2164
|
-
} | {
|
|
2165
|
-
message: string;
|
|
2166
|
-
error_code: "smartthings_no_free_slots_available";
|
|
2167
|
-
is_access_code_error: true;
|
|
2168
|
-
created_at?: string | undefined;
|
|
2169
2127
|
} | {
|
|
2170
2128
|
message: string;
|
|
2171
2129
|
error_code: "wyze_duplicate_code_name";
|
|
@@ -2370,22 +2328,6 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2370
2328
|
message: z.ZodString;
|
|
2371
2329
|
is_access_code_error: z.ZodLiteral<true>;
|
|
2372
2330
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2373
|
-
} & {
|
|
2374
|
-
error_code: z.ZodLiteral<"smartthings_no_free_slots_available">;
|
|
2375
|
-
}, "strip", z.ZodTypeAny, {
|
|
2376
|
-
message: string;
|
|
2377
|
-
error_code: "smartthings_no_free_slots_available";
|
|
2378
|
-
is_access_code_error: true;
|
|
2379
|
-
created_at?: string | undefined;
|
|
2380
|
-
}, {
|
|
2381
|
-
message: string;
|
|
2382
|
-
error_code: "smartthings_no_free_slots_available";
|
|
2383
|
-
is_access_code_error: true;
|
|
2384
|
-
created_at?: string | undefined;
|
|
2385
|
-
}>, z.ZodObject<{
|
|
2386
|
-
message: z.ZodString;
|
|
2387
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
2388
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
2389
2331
|
} & {
|
|
2390
2332
|
error_code: z.ZodLiteral<"failed_to_set_on_device">;
|
|
2391
2333
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3425,11 +3367,6 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3425
3367
|
error_code: "salto_ks_user_not_subscribed";
|
|
3426
3368
|
is_access_code_error: true;
|
|
3427
3369
|
created_at?: string | undefined;
|
|
3428
|
-
} | {
|
|
3429
|
-
message: string;
|
|
3430
|
-
error_code: "smartthings_no_free_slots_available";
|
|
3431
|
-
is_access_code_error: true;
|
|
3432
|
-
created_at?: string | undefined;
|
|
3433
3370
|
} | {
|
|
3434
3371
|
message: string;
|
|
3435
3372
|
error_code: "wyze_duplicate_code_name";
|
|
@@ -3716,11 +3653,6 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3716
3653
|
error_code: "salto_ks_user_not_subscribed";
|
|
3717
3654
|
is_access_code_error: true;
|
|
3718
3655
|
created_at?: string | undefined;
|
|
3719
|
-
} | {
|
|
3720
|
-
message: string;
|
|
3721
|
-
error_code: "smartthings_no_free_slots_available";
|
|
3722
|
-
is_access_code_error: true;
|
|
3723
|
-
created_at?: string | undefined;
|
|
3724
3656
|
} | {
|
|
3725
3657
|
message: string;
|
|
3726
3658
|
error_code: "wyze_duplicate_code_name";
|
|
@@ -36500,22 +36432,6 @@ declare const batch: z.ZodObject<{
|
|
|
36500
36432
|
message: z.ZodString;
|
|
36501
36433
|
is_access_code_error: z.ZodLiteral<true>;
|
|
36502
36434
|
created_at: z.ZodOptional<z.ZodString>;
|
|
36503
|
-
} & {
|
|
36504
|
-
error_code: z.ZodLiteral<"smartthings_no_free_slots_available">;
|
|
36505
|
-
}, "strip", z.ZodTypeAny, {
|
|
36506
|
-
message: string;
|
|
36507
|
-
error_code: "smartthings_no_free_slots_available";
|
|
36508
|
-
is_access_code_error: true;
|
|
36509
|
-
created_at?: string | undefined;
|
|
36510
|
-
}, {
|
|
36511
|
-
message: string;
|
|
36512
|
-
error_code: "smartthings_no_free_slots_available";
|
|
36513
|
-
is_access_code_error: true;
|
|
36514
|
-
created_at?: string | undefined;
|
|
36515
|
-
}>, z.ZodObject<{
|
|
36516
|
-
message: z.ZodString;
|
|
36517
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
36518
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
36519
36435
|
} & {
|
|
36520
36436
|
error_code: z.ZodLiteral<"failed_to_set_on_device">;
|
|
36521
36437
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -37729,11 +37645,6 @@ declare const batch: z.ZodObject<{
|
|
|
37729
37645
|
error_code: "salto_ks_user_not_subscribed";
|
|
37730
37646
|
is_access_code_error: true;
|
|
37731
37647
|
created_at?: string | undefined;
|
|
37732
|
-
} | {
|
|
37733
|
-
message: string;
|
|
37734
|
-
error_code: "smartthings_no_free_slots_available";
|
|
37735
|
-
is_access_code_error: true;
|
|
37736
|
-
created_at?: string | undefined;
|
|
37737
37648
|
} | {
|
|
37738
37649
|
message: string;
|
|
37739
37650
|
error_code: "wyze_duplicate_code_name";
|
|
@@ -38073,11 +37984,6 @@ declare const batch: z.ZodObject<{
|
|
|
38073
37984
|
error_code: "salto_ks_user_not_subscribed";
|
|
38074
37985
|
is_access_code_error: true;
|
|
38075
37986
|
created_at?: string | undefined;
|
|
38076
|
-
} | {
|
|
38077
|
-
message: string;
|
|
38078
|
-
error_code: "smartthings_no_free_slots_available";
|
|
38079
|
-
is_access_code_error: true;
|
|
38080
|
-
created_at?: string | undefined;
|
|
38081
37987
|
} | {
|
|
38082
37988
|
message: string;
|
|
38083
37989
|
error_code: "wyze_duplicate_code_name";
|
|
@@ -38280,22 +38186,6 @@ declare const batch: z.ZodObject<{
|
|
|
38280
38186
|
message: z.ZodString;
|
|
38281
38187
|
is_access_code_error: z.ZodLiteral<true>;
|
|
38282
38188
|
created_at: z.ZodOptional<z.ZodString>;
|
|
38283
|
-
} & {
|
|
38284
|
-
error_code: z.ZodLiteral<"smartthings_no_free_slots_available">;
|
|
38285
|
-
}, "strip", z.ZodTypeAny, {
|
|
38286
|
-
message: string;
|
|
38287
|
-
error_code: "smartthings_no_free_slots_available";
|
|
38288
|
-
is_access_code_error: true;
|
|
38289
|
-
created_at?: string | undefined;
|
|
38290
|
-
}, {
|
|
38291
|
-
message: string;
|
|
38292
|
-
error_code: "smartthings_no_free_slots_available";
|
|
38293
|
-
is_access_code_error: true;
|
|
38294
|
-
created_at?: string | undefined;
|
|
38295
|
-
}>, z.ZodObject<{
|
|
38296
|
-
message: z.ZodString;
|
|
38297
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
38298
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
38299
38189
|
} & {
|
|
38300
38190
|
error_code: z.ZodLiteral<"failed_to_set_on_device">;
|
|
38301
38191
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -39335,11 +39225,6 @@ declare const batch: z.ZodObject<{
|
|
|
39335
39225
|
error_code: "salto_ks_user_not_subscribed";
|
|
39336
39226
|
is_access_code_error: true;
|
|
39337
39227
|
created_at?: string | undefined;
|
|
39338
|
-
} | {
|
|
39339
|
-
message: string;
|
|
39340
|
-
error_code: "smartthings_no_free_slots_available";
|
|
39341
|
-
is_access_code_error: true;
|
|
39342
|
-
created_at?: string | undefined;
|
|
39343
39228
|
} | {
|
|
39344
39229
|
message: string;
|
|
39345
39230
|
error_code: "wyze_duplicate_code_name";
|
|
@@ -39626,11 +39511,6 @@ declare const batch: z.ZodObject<{
|
|
|
39626
39511
|
error_code: "salto_ks_user_not_subscribed";
|
|
39627
39512
|
is_access_code_error: true;
|
|
39628
39513
|
created_at?: string | undefined;
|
|
39629
|
-
} | {
|
|
39630
|
-
message: string;
|
|
39631
|
-
error_code: "smartthings_no_free_slots_available";
|
|
39632
|
-
is_access_code_error: true;
|
|
39633
|
-
created_at?: string | undefined;
|
|
39634
39514
|
} | {
|
|
39635
39515
|
message: string;
|
|
39636
39516
|
error_code: "wyze_duplicate_code_name";
|
|
@@ -44518,11 +44398,6 @@ declare const batch: z.ZodObject<{
|
|
|
44518
44398
|
error_code: "salto_ks_user_not_subscribed";
|
|
44519
44399
|
is_access_code_error: true;
|
|
44520
44400
|
created_at?: string | undefined;
|
|
44521
|
-
} | {
|
|
44522
|
-
message: string;
|
|
44523
|
-
error_code: "smartthings_no_free_slots_available";
|
|
44524
|
-
is_access_code_error: true;
|
|
44525
|
-
created_at?: string | undefined;
|
|
44526
44401
|
} | {
|
|
44527
44402
|
message: string;
|
|
44528
44403
|
error_code: "wyze_duplicate_code_name";
|
|
@@ -44863,11 +44738,6 @@ declare const batch: z.ZodObject<{
|
|
|
44863
44738
|
error_code: "salto_ks_user_not_subscribed";
|
|
44864
44739
|
is_access_code_error: true;
|
|
44865
44740
|
created_at?: string | undefined;
|
|
44866
|
-
} | {
|
|
44867
|
-
message: string;
|
|
44868
|
-
error_code: "smartthings_no_free_slots_available";
|
|
44869
|
-
is_access_code_error: true;
|
|
44870
|
-
created_at?: string | undefined;
|
|
44871
44741
|
} | {
|
|
44872
44742
|
message: string;
|
|
44873
44743
|
error_code: "wyze_duplicate_code_name";
|
|
@@ -49628,11 +49498,6 @@ declare const batch: z.ZodObject<{
|
|
|
49628
49498
|
error_code: "salto_ks_user_not_subscribed";
|
|
49629
49499
|
is_access_code_error: true;
|
|
49630
49500
|
created_at?: string | undefined;
|
|
49631
|
-
} | {
|
|
49632
|
-
message: string;
|
|
49633
|
-
error_code: "smartthings_no_free_slots_available";
|
|
49634
|
-
is_access_code_error: true;
|
|
49635
|
-
created_at?: string | undefined;
|
|
49636
49501
|
} | {
|
|
49637
49502
|
message: string;
|
|
49638
49503
|
error_code: "wyze_duplicate_code_name";
|
|
@@ -49973,11 +49838,6 @@ declare const batch: z.ZodObject<{
|
|
|
49973
49838
|
error_code: "salto_ks_user_not_subscribed";
|
|
49974
49839
|
is_access_code_error: true;
|
|
49975
49840
|
created_at?: string | undefined;
|
|
49976
|
-
} | {
|
|
49977
|
-
message: string;
|
|
49978
|
-
error_code: "smartthings_no_free_slots_available";
|
|
49979
|
-
is_access_code_error: true;
|
|
49980
|
-
created_at?: string | undefined;
|
|
49981
49841
|
} | {
|
|
49982
49842
|
message: string;
|
|
49983
49843
|
error_code: "wyze_duplicate_code_name";
|
|
@@ -67353,15 +67213,6 @@ type Routes = {
|
|
|
67353
67213
|
created_at?: string | undefined;
|
|
67354
67214
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
67355
67215
|
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
67356
|
-
} | {
|
|
67357
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
67358
|
-
message: string;
|
|
67359
|
-
/** Indicates that this is an access code error. */
|
|
67360
|
-
is_access_code_error: true;
|
|
67361
|
-
/** Date and time at which Seam created the error. */
|
|
67362
|
-
created_at?: string | undefined;
|
|
67363
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
67364
|
-
error_code: 'smartthings_no_free_slots_available';
|
|
67365
67216
|
} | {
|
|
67366
67217
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
67367
67218
|
message: string;
|
|
@@ -67978,15 +67829,6 @@ type Routes = {
|
|
|
67978
67829
|
created_at?: string | undefined;
|
|
67979
67830
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
67980
67831
|
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
67981
|
-
} | {
|
|
67982
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
67983
|
-
message: string;
|
|
67984
|
-
/** Indicates that this is an access code error. */
|
|
67985
|
-
is_access_code_error: true;
|
|
67986
|
-
/** Date and time at which Seam created the error. */
|
|
67987
|
-
created_at?: string | undefined;
|
|
67988
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
67989
|
-
error_code: 'smartthings_no_free_slots_available';
|
|
67990
67832
|
} | {
|
|
67991
67833
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
67992
67834
|
message: string;
|
|
@@ -70123,15 +69965,6 @@ type Routes = {
|
|
|
70123
69965
|
created_at?: string | undefined;
|
|
70124
69966
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
70125
69967
|
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
70126
|
-
} | {
|
|
70127
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
70128
|
-
message: string;
|
|
70129
|
-
/** Indicates that this is an access code error. */
|
|
70130
|
-
is_access_code_error: true;
|
|
70131
|
-
/** Date and time at which Seam created the error. */
|
|
70132
|
-
created_at?: string | undefined;
|
|
70133
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
70134
|
-
error_code: 'smartthings_no_free_slots_available';
|
|
70135
69968
|
} | {
|
|
70136
69969
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
70137
69970
|
message: string;
|
|
@@ -70794,15 +70627,6 @@ type Routes = {
|
|
|
70794
70627
|
created_at?: string | undefined;
|
|
70795
70628
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
70796
70629
|
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
70797
|
-
} | {
|
|
70798
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
70799
|
-
message: string;
|
|
70800
|
-
/** Indicates that this is an access code error. */
|
|
70801
|
-
is_access_code_error: true;
|
|
70802
|
-
/** Date and time at which Seam created the error. */
|
|
70803
|
-
created_at?: string | undefined;
|
|
70804
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
70805
|
-
error_code: 'smartthings_no_free_slots_available';
|
|
70806
70630
|
} | {
|
|
70807
70631
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
70808
70632
|
message: string;
|
|
@@ -71408,15 +71232,6 @@ type Routes = {
|
|
|
71408
71232
|
created_at?: string | undefined;
|
|
71409
71233
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
71410
71234
|
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
71411
|
-
} | {
|
|
71412
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
71413
|
-
message: string;
|
|
71414
|
-
/** Indicates that this is an access code error. */
|
|
71415
|
-
is_access_code_error: true;
|
|
71416
|
-
/** Date and time at which Seam created the error. */
|
|
71417
|
-
created_at?: string | undefined;
|
|
71418
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
71419
|
-
error_code: 'smartthings_no_free_slots_available';
|
|
71420
71235
|
} | {
|
|
71421
71236
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
71422
71237
|
message: string;
|
|
@@ -71999,15 +71814,6 @@ type Routes = {
|
|
|
71999
71814
|
created_at?: string | undefined;
|
|
72000
71815
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
72001
71816
|
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
72002
|
-
} | {
|
|
72003
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
72004
|
-
message: string;
|
|
72005
|
-
/** Indicates that this is an access code error. */
|
|
72006
|
-
is_access_code_error: true;
|
|
72007
|
-
/** Date and time at which Seam created the error. */
|
|
72008
|
-
created_at?: string | undefined;
|
|
72009
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
72010
|
-
error_code: 'smartthings_no_free_slots_available';
|
|
72011
71817
|
} | {
|
|
72012
71818
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
72013
71819
|
message: string;
|
|
@@ -72625,15 +72431,6 @@ type Routes = {
|
|
|
72625
72431
|
created_at?: string | undefined;
|
|
72626
72432
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
72627
72433
|
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
72628
|
-
} | {
|
|
72629
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
72630
|
-
message: string;
|
|
72631
|
-
/** Indicates that this is an access code error. */
|
|
72632
|
-
is_access_code_error: true;
|
|
72633
|
-
/** Date and time at which Seam created the error. */
|
|
72634
|
-
created_at?: string | undefined;
|
|
72635
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
72636
|
-
error_code: 'smartthings_no_free_slots_available';
|
|
72637
72434
|
} | {
|
|
72638
72435
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
72639
72436
|
message: string;
|
|
@@ -74681,15 +74478,6 @@ type Routes = {
|
|
|
74681
74478
|
created_at?: string | undefined;
|
|
74682
74479
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
74683
74480
|
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
74684
|
-
} | {
|
|
74685
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
74686
|
-
message: string;
|
|
74687
|
-
/** Indicates that this is an access code error. */
|
|
74688
|
-
is_access_code_error: true;
|
|
74689
|
-
/** Date and time at which Seam created the error. */
|
|
74690
|
-
created_at?: string | undefined;
|
|
74691
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
74692
|
-
error_code: 'smartthings_no_free_slots_available';
|
|
74693
74481
|
} | {
|
|
74694
74482
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
74695
74483
|
message: string;
|
|
@@ -75193,15 +74981,6 @@ type Routes = {
|
|
|
75193
74981
|
created_at?: string | undefined;
|
|
75194
74982
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
75195
74983
|
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
75196
|
-
} | {
|
|
75197
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
75198
|
-
message: string;
|
|
75199
|
-
/** Indicates that this is an access code error. */
|
|
75200
|
-
is_access_code_error: true;
|
|
75201
|
-
/** Date and time at which Seam created the error. */
|
|
75202
|
-
created_at?: string | undefined;
|
|
75203
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
75204
|
-
error_code: 'smartthings_no_free_slots_available';
|
|
75205
74984
|
} | {
|
|
75206
74985
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
75207
74986
|
message: string;
|
|
@@ -173061,15 +172840,6 @@ type Routes = {
|
|
|
173061
172840
|
created_at?: string | undefined;
|
|
173062
172841
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
173063
172842
|
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
173064
|
-
} | {
|
|
173065
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
173066
|
-
message: string;
|
|
173067
|
-
/** Indicates that this is an access code error. */
|
|
173068
|
-
is_access_code_error: true;
|
|
173069
|
-
/** Date and time at which Seam created the error. */
|
|
173070
|
-
created_at?: string | undefined;
|
|
173071
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
173072
|
-
error_code: 'smartthings_no_free_slots_available';
|
|
173073
172843
|
} | {
|
|
173074
172844
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
173075
172845
|
message: string;
|
|
@@ -173557,15 +173327,6 @@ type Routes = {
|
|
|
173557
173327
|
created_at?: string | undefined;
|
|
173558
173328
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
173559
173329
|
error_code: 'smartthings_failed_to_set_after_multiple_retries';
|
|
173560
|
-
} | {
|
|
173561
|
-
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
173562
|
-
message: string;
|
|
173563
|
-
/** Indicates that this is an access code error. */
|
|
173564
|
-
is_access_code_error: true;
|
|
173565
|
-
/** Date and time at which Seam created the error. */
|
|
173566
|
-
created_at?: string | undefined;
|
|
173567
|
-
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
173568
|
-
error_code: 'smartthings_no_free_slots_available';
|
|
173569
173330
|
} | {
|
|
173570
173331
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
173571
173332
|
message: string;
|
package/dist/index.cjs
CHANGED
|
@@ -2338,9 +2338,6 @@ var august_lock_missing_keypad = common_access_code_error.extend({
|
|
|
2338
2338
|
var salto_ks_user_not_subscribed = common_access_code_error.extend({
|
|
2339
2339
|
error_code: zod.z.literal("salto_ks_user_not_subscribed").describe(error_code_description3)
|
|
2340
2340
|
}).describe("Salto site user is not subscribed.");
|
|
2341
|
-
var smartthings_no_free_slots_available = common_access_code_error.extend({
|
|
2342
|
-
error_code: zod.z.literal("smartthings_no_free_slots_available").describe(error_code_description3)
|
|
2343
|
-
}).describe("No free slots available on the device.");
|
|
2344
2341
|
var wyze_duplicate_code_name = common_access_code_error.extend({
|
|
2345
2342
|
error_code: zod.z.literal("wyze_duplicate_code_name").describe(error_code_description3)
|
|
2346
2343
|
}).describe("Duplicate access code name detected.");
|
|
@@ -2363,7 +2360,6 @@ var replaced_by_newer_access_code = common_access_code_error.extend({
|
|
|
2363
2360
|
var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
2364
2361
|
smartthings_failed_to_set_access_code_error,
|
|
2365
2362
|
smartthings_failed_to_set_after_multiple_retries,
|
|
2366
|
-
smartthings_no_free_slots_available,
|
|
2367
2363
|
failed_to_set_on_device,
|
|
2368
2364
|
failed_to_remove_from_device,
|
|
2369
2365
|
duplicate_code_on_device,
|
|
@@ -2388,7 +2384,6 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
|
2388
2384
|
zod.z.object({
|
|
2389
2385
|
smartthings_failed_to_set_access_code: smartthings_failed_to_set_access_code_error.optional().nullable(),
|
|
2390
2386
|
smartthings_failed_to_set_after_multiple_retries: smartthings_failed_to_set_after_multiple_retries.optional().nullable(),
|
|
2391
|
-
smartthings_no_free_slots_available: smartthings_no_free_slots_available.optional().nullable(),
|
|
2392
2387
|
failed_to_set_on_device: failed_to_set_on_device.optional().nullable(),
|
|
2393
2388
|
failed_to_remove_from_device: failed_to_remove_from_device.optional().nullable(),
|
|
2394
2389
|
no_space_for_access_code_on_device: no_space_for_access_code_on_device.optional().nullable(),
|
|
@@ -7198,32 +7193,6 @@ var openapi = {
|
|
|
7198
7193
|
required: ["message", "is_access_code_error", "error_code"],
|
|
7199
7194
|
type: "object"
|
|
7200
7195
|
},
|
|
7201
|
-
{
|
|
7202
|
-
description: "No free slots available on the device.",
|
|
7203
|
-
properties: {
|
|
7204
|
-
created_at: {
|
|
7205
|
-
description: "Date and time at which Seam created the error.",
|
|
7206
|
-
format: "date-time",
|
|
7207
|
-
type: "string"
|
|
7208
|
-
},
|
|
7209
|
-
error_code: {
|
|
7210
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
7211
|
-
enum: ["smartthings_no_free_slots_available"],
|
|
7212
|
-
type: "string"
|
|
7213
|
-
},
|
|
7214
|
-
is_access_code_error: {
|
|
7215
|
-
description: "Indicates that this is an access code error.",
|
|
7216
|
-
enum: [true],
|
|
7217
|
-
type: "boolean"
|
|
7218
|
-
},
|
|
7219
|
-
message: {
|
|
7220
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
7221
|
-
type: "string"
|
|
7222
|
-
}
|
|
7223
|
-
},
|
|
7224
|
-
required: ["message", "is_access_code_error", "error_code"],
|
|
7225
|
-
type: "object"
|
|
7226
|
-
},
|
|
7227
7196
|
{
|
|
7228
7197
|
description: "Failed to set code on device.",
|
|
7229
7198
|
properties: {
|
|
@@ -31640,32 +31609,6 @@ var openapi = {
|
|
|
31640
31609
|
required: ["message", "is_access_code_error", "error_code"],
|
|
31641
31610
|
type: "object"
|
|
31642
31611
|
},
|
|
31643
|
-
{
|
|
31644
|
-
description: "No free slots available on the device.",
|
|
31645
|
-
properties: {
|
|
31646
|
-
created_at: {
|
|
31647
|
-
description: "Date and time at which Seam created the error.",
|
|
31648
|
-
format: "date-time",
|
|
31649
|
-
type: "string"
|
|
31650
|
-
},
|
|
31651
|
-
error_code: {
|
|
31652
|
-
description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
|
|
31653
|
-
enum: ["smartthings_no_free_slots_available"],
|
|
31654
|
-
type: "string"
|
|
31655
|
-
},
|
|
31656
|
-
is_access_code_error: {
|
|
31657
|
-
description: "Indicates that this is an access code error.",
|
|
31658
|
-
enum: [true],
|
|
31659
|
-
type: "boolean"
|
|
31660
|
-
},
|
|
31661
|
-
message: {
|
|
31662
|
-
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
31663
|
-
type: "string"
|
|
31664
|
-
}
|
|
31665
|
-
},
|
|
31666
|
-
required: ["message", "is_access_code_error", "error_code"],
|
|
31667
|
-
type: "object"
|
|
31668
|
-
},
|
|
31669
31612
|
{
|
|
31670
31613
|
description: "Failed to set code on device.",
|
|
31671
31614
|
properties: {
|
|
@@ -36393,7 +36336,7 @@ var openapi = {
|
|
|
36393
36336
|
},
|
|
36394
36337
|
code: {
|
|
36395
36338
|
description: "Code to be used for access.",
|
|
36396
|
-
maxLength:
|
|
36339
|
+
maxLength: 12,
|
|
36397
36340
|
minLength: 4,
|
|
36398
36341
|
pattern: "^\\d+$",
|
|
36399
36342
|
type: "string"
|
|
@@ -36531,7 +36474,7 @@ var openapi = {
|
|
|
36531
36474
|
},
|
|
36532
36475
|
code: {
|
|
36533
36476
|
description: "Code to be used for access.",
|
|
36534
|
-
maxLength:
|
|
36477
|
+
maxLength: 12,
|
|
36535
36478
|
minLength: 4,
|
|
36536
36479
|
pattern: "^\\d+$",
|
|
36537
36480
|
type: "string"
|
|
@@ -36638,7 +36581,7 @@ var openapi = {
|
|
|
36638
36581
|
},
|
|
36639
36582
|
code: {
|
|
36640
36583
|
description: "Code to be used for access.",
|
|
36641
|
-
maxLength:
|
|
36584
|
+
maxLength: 12,
|
|
36642
36585
|
minLength: 4,
|
|
36643
36586
|
pattern: "^\\d+$",
|
|
36644
36587
|
type: "string"
|
|
@@ -38667,7 +38610,7 @@ var openapi = {
|
|
|
38667
38610
|
},
|
|
38668
38611
|
code: {
|
|
38669
38612
|
description: "Code to be used for access.",
|
|
38670
|
-
maxLength:
|
|
38613
|
+
maxLength: 12,
|
|
38671
38614
|
minLength: 4,
|
|
38672
38615
|
pattern: "^\\d+$",
|
|
38673
38616
|
type: "string"
|
|
@@ -38805,7 +38748,7 @@ var openapi = {
|
|
|
38805
38748
|
},
|
|
38806
38749
|
code: {
|
|
38807
38750
|
description: "Code to be used for access.",
|
|
38808
|
-
maxLength:
|
|
38751
|
+
maxLength: 12,
|
|
38809
38752
|
minLength: 4,
|
|
38810
38753
|
pattern: "^\\d+$",
|
|
38811
38754
|
type: "string"
|
|
@@ -38943,7 +38886,7 @@ var openapi = {
|
|
|
38943
38886
|
},
|
|
38944
38887
|
code: {
|
|
38945
38888
|
description: "Code to be used for access.",
|
|
38946
|
-
maxLength:
|
|
38889
|
+
maxLength: 12,
|
|
38947
38890
|
minLength: 4,
|
|
38948
38891
|
pattern: "^\\d+$",
|
|
38949
38892
|
type: "string"
|