@seamapi/types 1.882.0 → 1.884.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 +57 -13
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +195 -2
- package/dist/index.cjs +57 -13
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +8 -8
- package/lib/seam/connect/models/devices/device.d.ts +58 -0
- package/lib/seam/connect/models/devices/device.js +10 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +21 -0
- package/lib/seam/connect/openapi.js +44 -10
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +140 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +11 -0
- package/src/lib/seam/connect/openapi.ts +52 -12
- package/src/lib/seam/connect/route-types.ts +160 -2
package/dist/connect.d.cts
CHANGED
|
@@ -15658,6 +15658,19 @@ declare const device_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObje
|
|
|
15658
15658
|
}>, z.ZodObject<{
|
|
15659
15659
|
message: z.ZodString;
|
|
15660
15660
|
created_at: z.ZodString;
|
|
15661
|
+
} & {
|
|
15662
|
+
warning_code: z.ZodLiteral<"provider_issue">;
|
|
15663
|
+
}, "strip", z.ZodTypeAny, {
|
|
15664
|
+
message: string;
|
|
15665
|
+
created_at: string;
|
|
15666
|
+
warning_code: "provider_issue";
|
|
15667
|
+
}, {
|
|
15668
|
+
message: string;
|
|
15669
|
+
created_at: string;
|
|
15670
|
+
warning_code: "provider_issue";
|
|
15671
|
+
}>, z.ZodObject<{
|
|
15672
|
+
message: z.ZodString;
|
|
15673
|
+
created_at: z.ZodString;
|
|
15661
15674
|
} & {
|
|
15662
15675
|
warning_code: z.ZodLiteral<"keynest_unsupported_locker">;
|
|
15663
15676
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -18743,6 +18756,19 @@ declare const device: z.ZodObject<{
|
|
|
18743
18756
|
}>, z.ZodObject<{
|
|
18744
18757
|
message: z.ZodString;
|
|
18745
18758
|
created_at: z.ZodString;
|
|
18759
|
+
} & {
|
|
18760
|
+
warning_code: z.ZodLiteral<"provider_issue">;
|
|
18761
|
+
}, "strip", z.ZodTypeAny, {
|
|
18762
|
+
message: string;
|
|
18763
|
+
created_at: string;
|
|
18764
|
+
warning_code: "provider_issue";
|
|
18765
|
+
}, {
|
|
18766
|
+
message: string;
|
|
18767
|
+
created_at: string;
|
|
18768
|
+
warning_code: "provider_issue";
|
|
18769
|
+
}>, z.ZodObject<{
|
|
18770
|
+
message: z.ZodString;
|
|
18771
|
+
created_at: z.ZodString;
|
|
18746
18772
|
} & {
|
|
18747
18773
|
warning_code: z.ZodLiteral<"keynest_unsupported_locker">;
|
|
18748
18774
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -19050,6 +19076,10 @@ declare const device: z.ZodObject<{
|
|
|
19050
19076
|
message: string;
|
|
19051
19077
|
created_at: string;
|
|
19052
19078
|
warning_code: "hub_required_for_additional_capabilities";
|
|
19079
|
+
} | {
|
|
19080
|
+
message: string;
|
|
19081
|
+
created_at: string;
|
|
19082
|
+
warning_code: "provider_issue";
|
|
19053
19083
|
} | {
|
|
19054
19084
|
message: string;
|
|
19055
19085
|
created_at: string;
|
|
@@ -19789,6 +19819,10 @@ declare const device: z.ZodObject<{
|
|
|
19789
19819
|
message: string;
|
|
19790
19820
|
created_at: string;
|
|
19791
19821
|
warning_code: "hub_required_for_additional_capabilities";
|
|
19822
|
+
} | {
|
|
19823
|
+
message: string;
|
|
19824
|
+
created_at: string;
|
|
19825
|
+
warning_code: "provider_issue";
|
|
19792
19826
|
} | {
|
|
19793
19827
|
message: string;
|
|
19794
19828
|
created_at: string;
|
|
@@ -23499,6 +23533,19 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
23499
23533
|
}>, z.ZodObject<{
|
|
23500
23534
|
message: z.ZodString;
|
|
23501
23535
|
created_at: z.ZodString;
|
|
23536
|
+
} & {
|
|
23537
|
+
warning_code: z.ZodLiteral<"provider_issue">;
|
|
23538
|
+
}, "strip", z.ZodTypeAny, {
|
|
23539
|
+
message: string;
|
|
23540
|
+
created_at: string;
|
|
23541
|
+
warning_code: "provider_issue";
|
|
23542
|
+
}, {
|
|
23543
|
+
message: string;
|
|
23544
|
+
created_at: string;
|
|
23545
|
+
warning_code: "provider_issue";
|
|
23546
|
+
}>, z.ZodObject<{
|
|
23547
|
+
message: z.ZodString;
|
|
23548
|
+
created_at: z.ZodString;
|
|
23502
23549
|
} & {
|
|
23503
23550
|
warning_code: z.ZodLiteral<"keynest_unsupported_locker">;
|
|
23504
23551
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -23962,6 +24009,10 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
23962
24009
|
message: string;
|
|
23963
24010
|
created_at: string;
|
|
23964
24011
|
warning_code: "hub_required_for_additional_capabilities";
|
|
24012
|
+
} | {
|
|
24013
|
+
message: string;
|
|
24014
|
+
created_at: string;
|
|
24015
|
+
warning_code: "provider_issue";
|
|
23965
24016
|
} | {
|
|
23966
24017
|
message: string;
|
|
23967
24018
|
created_at: string;
|
|
@@ -24227,6 +24278,10 @@ declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
24227
24278
|
message: string;
|
|
24228
24279
|
created_at: string;
|
|
24229
24280
|
warning_code: "hub_required_for_additional_capabilities";
|
|
24281
|
+
} | {
|
|
24282
|
+
message: string;
|
|
24283
|
+
created_at: string;
|
|
24284
|
+
warning_code: "provider_issue";
|
|
24230
24285
|
} | {
|
|
24231
24286
|
message: string;
|
|
24232
24287
|
created_at: string;
|
|
@@ -44231,6 +44286,13 @@ type Routes = {
|
|
|
44231
44286
|
created_at: string;
|
|
44232
44287
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
44233
44288
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
44289
|
+
} | {
|
|
44290
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
44291
|
+
message: string;
|
|
44292
|
+
/** Date and time at which Seam created the warning. */
|
|
44293
|
+
created_at: string;
|
|
44294
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
44295
|
+
warning_code: 'provider_issue';
|
|
44234
44296
|
} | {
|
|
44235
44297
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
44236
44298
|
message: string;
|
|
@@ -50771,6 +50833,13 @@ type Routes = {
|
|
|
50771
50833
|
created_at: string;
|
|
50772
50834
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
50773
50835
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
50836
|
+
} | {
|
|
50837
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
50838
|
+
message: string;
|
|
50839
|
+
/** Date and time at which Seam created the warning. */
|
|
50840
|
+
created_at: string;
|
|
50841
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
50842
|
+
warning_code: 'provider_issue';
|
|
50774
50843
|
} | {
|
|
50775
50844
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
50776
50845
|
message: string;
|
|
@@ -72878,6 +72947,13 @@ type Routes = {
|
|
|
72878
72947
|
created_at: string;
|
|
72879
72948
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
72880
72949
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
72950
|
+
} | {
|
|
72951
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
72952
|
+
message: string;
|
|
72953
|
+
/** Date and time at which Seam created the warning. */
|
|
72954
|
+
created_at: string;
|
|
72955
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
72956
|
+
warning_code: 'provider_issue';
|
|
72881
72957
|
} | {
|
|
72882
72958
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
72883
72959
|
message: string;
|
|
@@ -74282,6 +74358,13 @@ type Routes = {
|
|
|
74282
74358
|
created_at: string;
|
|
74283
74359
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
74284
74360
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
74361
|
+
} | {
|
|
74362
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
74363
|
+
message: string;
|
|
74364
|
+
/** Date and time at which Seam created the warning. */
|
|
74365
|
+
created_at: string;
|
|
74366
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
74367
|
+
warning_code: 'provider_issue';
|
|
74285
74368
|
} | {
|
|
74286
74369
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
74287
74370
|
message: string;
|
|
@@ -74855,6 +74938,13 @@ type Routes = {
|
|
|
74855
74938
|
created_at: string;
|
|
74856
74939
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
74857
74940
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
74941
|
+
} | {
|
|
74942
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
74943
|
+
message: string;
|
|
74944
|
+
/** Date and time at which Seam created the warning. */
|
|
74945
|
+
created_at: string;
|
|
74946
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
74947
|
+
warning_code: 'provider_issue';
|
|
74858
74948
|
} | {
|
|
74859
74949
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
74860
74950
|
message: string;
|
|
@@ -75353,6 +75443,13 @@ type Routes = {
|
|
|
75353
75443
|
created_at: string;
|
|
75354
75444
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
75355
75445
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
75446
|
+
} | {
|
|
75447
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
75448
|
+
message: string;
|
|
75449
|
+
/** Date and time at which Seam created the warning. */
|
|
75450
|
+
created_at: string;
|
|
75451
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
75452
|
+
warning_code: 'provider_issue';
|
|
75356
75453
|
} | {
|
|
75357
75454
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
75358
75455
|
message: string;
|
|
@@ -84244,6 +84341,13 @@ type Routes = {
|
|
|
84244
84341
|
created_at: string;
|
|
84245
84342
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
84246
84343
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
84344
|
+
} | {
|
|
84345
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
84346
|
+
message: string;
|
|
84347
|
+
/** Date and time at which Seam created the warning. */
|
|
84348
|
+
created_at: string;
|
|
84349
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
84350
|
+
warning_code: 'provider_issue';
|
|
84247
84351
|
} | {
|
|
84248
84352
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
84249
84353
|
message: string;
|
|
@@ -85598,6 +85702,13 @@ type Routes = {
|
|
|
85598
85702
|
created_at: string;
|
|
85599
85703
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
85600
85704
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
85705
|
+
} | {
|
|
85706
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
85707
|
+
message: string;
|
|
85708
|
+
/** Date and time at which Seam created the warning. */
|
|
85709
|
+
created_at: string;
|
|
85710
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
85711
|
+
warning_code: 'provider_issue';
|
|
85601
85712
|
} | {
|
|
85602
85713
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
85603
85714
|
message: string;
|
|
@@ -87002,6 +87113,13 @@ type Routes = {
|
|
|
87002
87113
|
created_at: string;
|
|
87003
87114
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
87004
87115
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
87116
|
+
} | {
|
|
87117
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
87118
|
+
message: string;
|
|
87119
|
+
/** Date and time at which Seam created the warning. */
|
|
87120
|
+
created_at: string;
|
|
87121
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
87122
|
+
warning_code: 'provider_issue';
|
|
87005
87123
|
} | {
|
|
87006
87124
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
87007
87125
|
message: string;
|
|
@@ -88355,6 +88473,13 @@ type Routes = {
|
|
|
88355
88473
|
created_at: string;
|
|
88356
88474
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
88357
88475
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
88476
|
+
} | {
|
|
88477
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
88478
|
+
message: string;
|
|
88479
|
+
/** Date and time at which Seam created the warning. */
|
|
88480
|
+
created_at: string;
|
|
88481
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
88482
|
+
warning_code: 'provider_issue';
|
|
88358
88483
|
} | {
|
|
88359
88484
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
88360
88485
|
message: string;
|
|
@@ -96449,6 +96574,13 @@ type Routes = {
|
|
|
96449
96574
|
created_at: string;
|
|
96450
96575
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
96451
96576
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
96577
|
+
} | {
|
|
96578
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
96579
|
+
message: string;
|
|
96580
|
+
/** Date and time at which Seam created the warning. */
|
|
96581
|
+
created_at: string;
|
|
96582
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
96583
|
+
warning_code: 'provider_issue';
|
|
96452
96584
|
} | {
|
|
96453
96585
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
96454
96586
|
message: string;
|
|
@@ -97802,6 +97934,13 @@ type Routes = {
|
|
|
97802
97934
|
created_at: string;
|
|
97803
97935
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
97804
97936
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
97937
|
+
} | {
|
|
97938
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
97939
|
+
message: string;
|
|
97940
|
+
/** Date and time at which Seam created the warning. */
|
|
97941
|
+
created_at: string;
|
|
97942
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
97943
|
+
warning_code: 'provider_issue';
|
|
97805
97944
|
} | {
|
|
97806
97945
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
97807
97946
|
message: string;
|
|
@@ -112709,6 +112848,13 @@ type Routes = {
|
|
|
112709
112848
|
created_at: string;
|
|
112710
112849
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
112711
112850
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
112851
|
+
} | {
|
|
112852
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
112853
|
+
message: string;
|
|
112854
|
+
/** Date and time at which Seam created the warning. */
|
|
112855
|
+
created_at: string;
|
|
112856
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
112857
|
+
warning_code: 'provider_issue';
|
|
112712
112858
|
} | {
|
|
112713
112859
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
112714
112860
|
message: string;
|
|
@@ -113502,8 +113648,6 @@ type Routes = {
|
|
|
113502
113648
|
device_ids?: string[] | undefined;
|
|
113503
113649
|
/** IDs of the entrances that you want to set for the space. If specified, this will replace all existing entrances. */
|
|
113504
113650
|
acs_entrance_ids?: string[] | undefined;
|
|
113505
|
-
/** Customer key for which you want to update the space. */
|
|
113506
|
-
customer_key?: string | undefined;
|
|
113507
113651
|
/** Reservation/stay-related defaults for the space. Only the keys you provide are updated; omit a key to leave it unchanged. Pass null on a key to clear it. */
|
|
113508
113652
|
customer_data?: {
|
|
113509
113653
|
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
@@ -119980,6 +120124,13 @@ type Routes = {
|
|
|
119980
120124
|
created_at: string;
|
|
119981
120125
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
119982
120126
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
120127
|
+
} | {
|
|
120128
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
120129
|
+
message: string;
|
|
120130
|
+
/** Date and time at which Seam created the warning. */
|
|
120131
|
+
created_at: string;
|
|
120132
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
120133
|
+
warning_code: 'provider_issue';
|
|
119983
120134
|
} | {
|
|
119984
120135
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
119985
120136
|
message: string;
|
|
@@ -124742,6 +124893,13 @@ type Routes = {
|
|
|
124742
124893
|
created_at: string;
|
|
124743
124894
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
124744
124895
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
124896
|
+
} | {
|
|
124897
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
124898
|
+
message: string;
|
|
124899
|
+
/** Date and time at which Seam created the warning. */
|
|
124900
|
+
created_at: string;
|
|
124901
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
124902
|
+
warning_code: 'provider_issue';
|
|
124745
124903
|
} | {
|
|
124746
124904
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
124747
124905
|
message: string;
|
|
@@ -126095,6 +126253,13 @@ type Routes = {
|
|
|
126095
126253
|
created_at: string;
|
|
126096
126254
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
126097
126255
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
126256
|
+
} | {
|
|
126257
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
126258
|
+
message: string;
|
|
126259
|
+
/** Date and time at which Seam created the warning. */
|
|
126260
|
+
created_at: string;
|
|
126261
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
126262
|
+
warning_code: 'provider_issue';
|
|
126098
126263
|
} | {
|
|
126099
126264
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
126100
126265
|
message: string;
|
|
@@ -135086,6 +135251,13 @@ type Routes = {
|
|
|
135086
135251
|
created_at: string;
|
|
135087
135252
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
135088
135253
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
135254
|
+
} | {
|
|
135255
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
135256
|
+
message: string;
|
|
135257
|
+
/** Date and time at which Seam created the warning. */
|
|
135258
|
+
created_at: string;
|
|
135259
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
135260
|
+
warning_code: 'provider_issue';
|
|
135089
135261
|
} | {
|
|
135090
135262
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
135091
135263
|
message: string;
|
|
@@ -136441,6 +136613,13 @@ type Routes = {
|
|
|
136441
136613
|
created_at: string;
|
|
136442
136614
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
136443
136615
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
136616
|
+
} | {
|
|
136617
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
136618
|
+
message: string;
|
|
136619
|
+
/** Date and time at which Seam created the warning. */
|
|
136620
|
+
created_at: string;
|
|
136621
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
136622
|
+
warning_code: 'provider_issue';
|
|
136444
136623
|
} | {
|
|
136445
136624
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
136446
136625
|
message: string;
|
|
@@ -138992,6 +139171,13 @@ type Routes = {
|
|
|
138992
139171
|
created_at: string;
|
|
138993
139172
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
138994
139173
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
139174
|
+
} | {
|
|
139175
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
139176
|
+
message: string;
|
|
139177
|
+
/** Date and time at which Seam created the warning. */
|
|
139178
|
+
created_at: string;
|
|
139179
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
139180
|
+
warning_code: 'provider_issue';
|
|
138995
139181
|
} | {
|
|
138996
139182
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
138997
139183
|
message: string;
|
|
@@ -142229,6 +142415,13 @@ type Routes = {
|
|
|
142229
142415
|
created_at: string;
|
|
142230
142416
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
142231
142417
|
warning_code: 'hub_required_for_additional_capabilities';
|
|
142418
|
+
} | {
|
|
142419
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
142420
|
+
message: string;
|
|
142421
|
+
/** Date and time at which Seam created the warning. */
|
|
142422
|
+
created_at: string;
|
|
142423
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
142424
|
+
warning_code: 'provider_issue';
|
|
142232
142425
|
} | {
|
|
142233
142426
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
142234
142427
|
message: string;
|
package/dist/index.cjs
CHANGED
|
@@ -1568,6 +1568,14 @@ var hub_required_for_additional_capabilities = common_device_warning.extend({
|
|
|
1568
1568
|
---
|
|
1569
1569
|
Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.
|
|
1570
1570
|
`);
|
|
1571
|
+
var provider_issue = common_device_warning.extend({
|
|
1572
|
+
warning_code: zod.z.literal("provider_issue").describe(warning_code_description2)
|
|
1573
|
+
}).describe(`
|
|
1574
|
+
---
|
|
1575
|
+
variant_group_key: access_codes
|
|
1576
|
+
---
|
|
1577
|
+
Indicates a provider-specific issue that may affect device functionality.
|
|
1578
|
+
`);
|
|
1571
1579
|
var keynest_unsupported_locker = common_device_warning.extend({
|
|
1572
1580
|
warning_code: zod.z.literal("keynest_unsupported_locker").describe(warning_code_description2)
|
|
1573
1581
|
}).describe(`
|
|
@@ -1633,6 +1641,7 @@ var device_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
1633
1641
|
ultraloq_time_zone_unknown,
|
|
1634
1642
|
two_n_device_missing_timezone,
|
|
1635
1643
|
hub_required_for_additional_capabilities,
|
|
1644
|
+
provider_issue,
|
|
1636
1645
|
keynest_unsupported_locker,
|
|
1637
1646
|
accessory_keypad_setup_required,
|
|
1638
1647
|
unreliable_online_status,
|
|
@@ -1663,6 +1672,7 @@ zod.z.object({
|
|
|
1663
1672
|
ultraloq_time_zone_unknown: ultraloq_time_zone_unknown.optional().nullable(),
|
|
1664
1673
|
two_n_device_missing_timezone: two_n_device_missing_timezone.optional().nullable(),
|
|
1665
1674
|
hub_required_for_additional_capabilities: hub_required_for_additional_capabilities.optional().nullable(),
|
|
1675
|
+
provider_issue: provider_issue.optional().nullable(),
|
|
1666
1676
|
keynest_unsupported_locker: keynest_unsupported_locker.optional().nullable(),
|
|
1667
1677
|
accessory_keypad_setup_required: accessory_keypad_setup_required.optional().nullable(),
|
|
1668
1678
|
unreliable_online_status: unreliable_online_status.optional().nullable(),
|
|
@@ -2316,7 +2326,7 @@ var common_access_code_error = zod.z.object({
|
|
|
2316
2326
|
created_at: zod.z.string().datetime().optional().describe("Date and time at which Seam created the error.")
|
|
2317
2327
|
});
|
|
2318
2328
|
var error_code_description3 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
|
|
2319
|
-
var
|
|
2329
|
+
var provider_issue2 = common_access_code_error.extend({
|
|
2320
2330
|
error_code: zod.z.literal("provider_issue").describe(error_code_description3)
|
|
2321
2331
|
}).describe(
|
|
2322
2332
|
"Indicates a provider-specific issue that prevents the access code from being set or managed. Check the error message for details."
|
|
@@ -2501,7 +2511,7 @@ var replaced_by_newer_access_code = common_access_code_error.extend({
|
|
|
2501
2511
|
"This access code was overridden on the device by a newer access code programmed to the same slot."
|
|
2502
2512
|
);
|
|
2503
2513
|
var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
2504
|
-
|
|
2514
|
+
provider_issue2,
|
|
2505
2515
|
smartthings_failed_to_set_access_code_error,
|
|
2506
2516
|
smartthings_failed_to_set_after_multiple_retries,
|
|
2507
2517
|
failed_to_set_on_device,
|
|
@@ -2528,7 +2538,7 @@ var access_code_error = zod.z.discriminatedUnion("error_code", [
|
|
|
2528
2538
|
"Errors associated with the [access code](https://docs.seam.co/capability-guides/smart-locks/access-codes)."
|
|
2529
2539
|
);
|
|
2530
2540
|
zod.z.object({
|
|
2531
|
-
provider_issue:
|
|
2541
|
+
provider_issue: provider_issue2.optional().nullable(),
|
|
2532
2542
|
smartthings_failed_to_set_access_code: smartthings_failed_to_set_access_code_error.optional().nullable(),
|
|
2533
2543
|
smartthings_failed_to_set_after_multiple_retries: smartthings_failed_to_set_after_multiple_retries.optional().nullable(),
|
|
2534
2544
|
failed_to_set_on_device: failed_to_set_on_device.optional().nullable(),
|
|
@@ -22421,6 +22431,28 @@ var openapi = {
|
|
|
22421
22431
|
type: "object",
|
|
22422
22432
|
"x-variant-group-key": "locks"
|
|
22423
22433
|
},
|
|
22434
|
+
{
|
|
22435
|
+
description: "Indicates a provider-specific issue that may affect device functionality.",
|
|
22436
|
+
properties: {
|
|
22437
|
+
created_at: {
|
|
22438
|
+
description: "Date and time at which Seam created the warning.",
|
|
22439
|
+
format: "date-time",
|
|
22440
|
+
type: "string"
|
|
22441
|
+
},
|
|
22442
|
+
message: {
|
|
22443
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
22444
|
+
type: "string"
|
|
22445
|
+
},
|
|
22446
|
+
warning_code: {
|
|
22447
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
22448
|
+
enum: ["provider_issue"],
|
|
22449
|
+
type: "string"
|
|
22450
|
+
}
|
|
22451
|
+
},
|
|
22452
|
+
required: ["message", "created_at", "warning_code"],
|
|
22453
|
+
type: "object",
|
|
22454
|
+
"x-variant-group-key": "access_codes"
|
|
22455
|
+
},
|
|
22424
22456
|
{
|
|
22425
22457
|
description: "Indicates that the key is in a locker that does not support the access codes API.",
|
|
22426
22458
|
properties: {
|
|
@@ -37104,6 +37136,28 @@ var openapi = {
|
|
|
37104
37136
|
type: "object",
|
|
37105
37137
|
"x-variant-group-key": "locks"
|
|
37106
37138
|
},
|
|
37139
|
+
{
|
|
37140
|
+
description: "Indicates a provider-specific issue that may affect device functionality.",
|
|
37141
|
+
properties: {
|
|
37142
|
+
created_at: {
|
|
37143
|
+
description: "Date and time at which Seam created the warning.",
|
|
37144
|
+
format: "date-time",
|
|
37145
|
+
type: "string"
|
|
37146
|
+
},
|
|
37147
|
+
message: {
|
|
37148
|
+
description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
|
|
37149
|
+
type: "string"
|
|
37150
|
+
},
|
|
37151
|
+
warning_code: {
|
|
37152
|
+
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
37153
|
+
enum: ["provider_issue"],
|
|
37154
|
+
type: "string"
|
|
37155
|
+
}
|
|
37156
|
+
},
|
|
37157
|
+
required: ["message", "created_at", "warning_code"],
|
|
37158
|
+
type: "object",
|
|
37159
|
+
"x-variant-group-key": "access_codes"
|
|
37160
|
+
},
|
|
37107
37161
|
{
|
|
37108
37162
|
description: "Indicates that the key is in a locker that does not support the access codes API.",
|
|
37109
37163
|
properties: {
|
|
@@ -79477,11 +79531,6 @@ var openapi = {
|
|
|
79477
79531
|
},
|
|
79478
79532
|
type: "object"
|
|
79479
79533
|
},
|
|
79480
|
-
customer_key: {
|
|
79481
|
-
description: "Customer key for which you want to update the space.",
|
|
79482
|
-
minLength: 1,
|
|
79483
|
-
type: "string"
|
|
79484
|
-
},
|
|
79485
79534
|
device_ids: {
|
|
79486
79535
|
description: "IDs of the devices that you want to set for the space. If specified, this will replace all existing devices.",
|
|
79487
79536
|
items: { format: "uuid", type: "string" },
|
|
@@ -79572,11 +79621,6 @@ var openapi = {
|
|
|
79572
79621
|
},
|
|
79573
79622
|
type: "object"
|
|
79574
79623
|
},
|
|
79575
|
-
customer_key: {
|
|
79576
|
-
description: "Customer key for which you want to update the space.",
|
|
79577
|
-
minLength: 1,
|
|
79578
|
-
type: "string"
|
|
79579
|
-
},
|
|
79580
79624
|
device_ids: {
|
|
79581
79625
|
description: "IDs of the devices that you want to set for the space. If specified, this will replace all existing devices.",
|
|
79582
79626
|
items: { format: "uuid", type: "string" },
|