@seamapi/types 1.945.0 → 1.947.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 +10 -81
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +24 -191
- package/dist/index.cjs +10 -81
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +16 -87
- package/lib/seam/connect/models/access-codes/managed-access-code.js +5 -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 +5 -31
- package/lib/seam/connect/openapi.js +4 -62
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +11 -110
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +12 -33
- package/src/lib/seam/connect/openapi.ts +4 -70
- package/src/lib/seam/connect/route-types.ts +11 -121
|
@@ -163,22 +163,6 @@ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObj
|
|
|
163
163
|
message: z.ZodString;
|
|
164
164
|
is_access_code_error: z.ZodLiteral<true>;
|
|
165
165
|
created_at: z.ZodOptional<z.ZodString>;
|
|
166
|
-
} & {
|
|
167
|
-
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
168
|
-
}, "strip", z.ZodTypeAny, {
|
|
169
|
-
message: string;
|
|
170
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
171
|
-
is_access_code_error: true;
|
|
172
|
-
created_at?: string | undefined;
|
|
173
|
-
}, {
|
|
174
|
-
message: string;
|
|
175
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
176
|
-
is_access_code_error: true;
|
|
177
|
-
created_at?: string | undefined;
|
|
178
|
-
}>, z.ZodObject<{
|
|
179
|
-
message: z.ZodString;
|
|
180
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
181
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
182
166
|
} & {
|
|
183
167
|
error_code: z.ZodLiteral<"insufficient_permissions">;
|
|
184
168
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -379,23 +363,6 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
379
363
|
is_access_code_error: true;
|
|
380
364
|
created_at?: string | undefined;
|
|
381
365
|
}>>>;
|
|
382
|
-
salto_ks_user_not_subscribed: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
383
|
-
message: z.ZodString;
|
|
384
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
385
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
386
|
-
} & {
|
|
387
|
-
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
388
|
-
}, "strip", z.ZodTypeAny, {
|
|
389
|
-
message: string;
|
|
390
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
391
|
-
is_access_code_error: true;
|
|
392
|
-
created_at?: string | undefined;
|
|
393
|
-
}, {
|
|
394
|
-
message: string;
|
|
395
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
396
|
-
is_access_code_error: true;
|
|
397
|
-
created_at?: string | undefined;
|
|
398
|
-
}>>>;
|
|
399
366
|
}, "strip", z.ZodTypeAny, {
|
|
400
367
|
provider_issue?: {
|
|
401
368
|
message: string;
|
|
@@ -447,12 +414,6 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
447
414
|
is_access_code_error: true;
|
|
448
415
|
created_at?: string | undefined;
|
|
449
416
|
} | null | undefined;
|
|
450
|
-
salto_ks_user_not_subscribed?: {
|
|
451
|
-
message: string;
|
|
452
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
453
|
-
is_access_code_error: true;
|
|
454
|
-
created_at?: string | undefined;
|
|
455
|
-
} | null | undefined;
|
|
456
417
|
code_modified_external_to_seam_error?: {
|
|
457
418
|
message: string;
|
|
458
419
|
error_code: "code_modified_external_to_seam";
|
|
@@ -516,12 +477,6 @@ declare const _access_code_error_map: z.ZodObject<{
|
|
|
516
477
|
is_access_code_error: true;
|
|
517
478
|
created_at?: string | undefined;
|
|
518
479
|
} | null | undefined;
|
|
519
|
-
salto_ks_user_not_subscribed?: {
|
|
520
|
-
message: string;
|
|
521
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
522
|
-
is_access_code_error: true;
|
|
523
|
-
created_at?: string | undefined;
|
|
524
|
-
} | null | undefined;
|
|
525
480
|
code_modified_external_to_seam_error?: {
|
|
526
481
|
message: string;
|
|
527
482
|
error_code: "code_modified_external_to_seam";
|
|
@@ -553,14 +508,14 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
553
508
|
message: z.ZodString;
|
|
554
509
|
created_at: z.ZodOptional<z.ZodString>;
|
|
555
510
|
} & {
|
|
556
|
-
warning_code: z.ZodLiteral<"
|
|
511
|
+
warning_code: z.ZodLiteral<"time_frame_adjusted_for_unknown_time_zone">;
|
|
557
512
|
}, "strip", z.ZodTypeAny, {
|
|
558
513
|
message: string;
|
|
559
|
-
warning_code: "
|
|
514
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
560
515
|
created_at?: string | undefined;
|
|
561
516
|
}, {
|
|
562
517
|
message: string;
|
|
563
|
-
warning_code: "
|
|
518
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
564
519
|
created_at?: string | undefined;
|
|
565
520
|
}>, z.ZodObject<{
|
|
566
521
|
message: z.ZodString;
|
|
@@ -709,18 +664,18 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
709
664
|
warning_code: "code_rotates_periodically";
|
|
710
665
|
created_at?: string | undefined;
|
|
711
666
|
}>>>;
|
|
712
|
-
|
|
667
|
+
time_frame_adjusted_for_unknown_time_zone: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
713
668
|
message: z.ZodString;
|
|
714
669
|
created_at: z.ZodOptional<z.ZodString>;
|
|
715
670
|
} & {
|
|
716
|
-
warning_code: z.ZodLiteral<"
|
|
671
|
+
warning_code: z.ZodLiteral<"time_frame_adjusted_for_unknown_time_zone">;
|
|
717
672
|
}, "strip", z.ZodTypeAny, {
|
|
718
673
|
message: string;
|
|
719
|
-
warning_code: "
|
|
674
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
720
675
|
created_at?: string | undefined;
|
|
721
676
|
}, {
|
|
722
677
|
message: string;
|
|
723
|
-
warning_code: "
|
|
678
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
724
679
|
created_at?: string | undefined;
|
|
725
680
|
}>>>;
|
|
726
681
|
code_modified_external_to_seam_warning: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -877,9 +832,9 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
877
832
|
warning_code: "code_rotates_periodically";
|
|
878
833
|
created_at?: string | undefined;
|
|
879
834
|
} | null | undefined;
|
|
880
|
-
|
|
835
|
+
time_frame_adjusted_for_unknown_time_zone?: {
|
|
881
836
|
message: string;
|
|
882
|
-
warning_code: "
|
|
837
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
883
838
|
created_at?: string | undefined;
|
|
884
839
|
} | null | undefined;
|
|
885
840
|
delay_in_setting_on_device?: {
|
|
@@ -934,9 +889,9 @@ declare const _access_code_warning_map: z.ZodObject<{
|
|
|
934
889
|
warning_code: "code_rotates_periodically";
|
|
935
890
|
created_at?: string | undefined;
|
|
936
891
|
} | null | undefined;
|
|
937
|
-
|
|
892
|
+
time_frame_adjusted_for_unknown_time_zone?: {
|
|
938
893
|
message: string;
|
|
939
|
-
warning_code: "
|
|
894
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
940
895
|
created_at?: string | undefined;
|
|
941
896
|
} | null | undefined;
|
|
942
897
|
delay_in_setting_on_device?: {
|
|
@@ -1180,22 +1135,6 @@ export declare const access_code: z.ZodObject<{
|
|
|
1180
1135
|
message: z.ZodString;
|
|
1181
1136
|
is_access_code_error: z.ZodLiteral<true>;
|
|
1182
1137
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1183
|
-
} & {
|
|
1184
|
-
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
1185
|
-
}, "strip", z.ZodTypeAny, {
|
|
1186
|
-
message: string;
|
|
1187
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
1188
|
-
is_access_code_error: true;
|
|
1189
|
-
created_at?: string | undefined;
|
|
1190
|
-
}, {
|
|
1191
|
-
message: string;
|
|
1192
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
1193
|
-
is_access_code_error: true;
|
|
1194
|
-
created_at?: string | undefined;
|
|
1195
|
-
}>, z.ZodObject<{
|
|
1196
|
-
message: z.ZodString;
|
|
1197
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
1198
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
1199
1138
|
} & {
|
|
1200
1139
|
error_code: z.ZodLiteral<"insufficient_permissions">;
|
|
1201
1140
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1599,14 +1538,14 @@ export declare const access_code: z.ZodObject<{
|
|
|
1599
1538
|
message: z.ZodString;
|
|
1600
1539
|
created_at: z.ZodOptional<z.ZodString>;
|
|
1601
1540
|
} & {
|
|
1602
|
-
warning_code: z.ZodLiteral<"
|
|
1541
|
+
warning_code: z.ZodLiteral<"time_frame_adjusted_for_unknown_time_zone">;
|
|
1603
1542
|
}, "strip", z.ZodTypeAny, {
|
|
1604
1543
|
message: string;
|
|
1605
|
-
warning_code: "
|
|
1544
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
1606
1545
|
created_at?: string | undefined;
|
|
1607
1546
|
}, {
|
|
1608
1547
|
message: string;
|
|
1609
|
-
warning_code: "
|
|
1548
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
1610
1549
|
created_at?: string | undefined;
|
|
1611
1550
|
}>, z.ZodObject<{
|
|
1612
1551
|
message: z.ZodString;
|
|
@@ -2118,11 +2057,6 @@ export declare const access_code: z.ZodObject<{
|
|
|
2118
2057
|
error_code: "access_code_inactive";
|
|
2119
2058
|
is_access_code_error: true;
|
|
2120
2059
|
created_at?: string | undefined;
|
|
2121
|
-
} | {
|
|
2122
|
-
message: string;
|
|
2123
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
2124
|
-
is_access_code_error: true;
|
|
2125
|
-
created_at?: string | undefined;
|
|
2126
2060
|
})[];
|
|
2127
2061
|
warnings: ({
|
|
2128
2062
|
message: string;
|
|
@@ -2140,7 +2074,7 @@ export declare const access_code: z.ZodObject<{
|
|
|
2140
2074
|
created_at?: string | undefined;
|
|
2141
2075
|
} | {
|
|
2142
2076
|
message: string;
|
|
2143
|
-
warning_code: "
|
|
2077
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
2144
2078
|
created_at?: string | undefined;
|
|
2145
2079
|
} | {
|
|
2146
2080
|
message: string;
|
|
@@ -2411,11 +2345,6 @@ export declare const access_code: z.ZodObject<{
|
|
|
2411
2345
|
error_code: "access_code_inactive";
|
|
2412
2346
|
is_access_code_error: true;
|
|
2413
2347
|
created_at?: string | undefined;
|
|
2414
|
-
} | {
|
|
2415
|
-
message: string;
|
|
2416
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
2417
|
-
is_access_code_error: true;
|
|
2418
|
-
created_at?: string | undefined;
|
|
2419
2348
|
})[];
|
|
2420
2349
|
warnings: ({
|
|
2421
2350
|
message: string;
|
|
@@ -2433,7 +2362,7 @@ export declare const access_code: z.ZodObject<{
|
|
|
2433
2362
|
created_at?: string | undefined;
|
|
2434
2363
|
} | {
|
|
2435
2364
|
message: string;
|
|
2436
|
-
warning_code: "
|
|
2365
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
2437
2366
|
created_at?: string | undefined;
|
|
2438
2367
|
} | {
|
|
2439
2368
|
message: string;
|
|
@@ -128,19 +128,6 @@ const access_code_inactive_error = common_access_code_error.extend({
|
|
|
128
128
|
---
|
|
129
129
|
Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.
|
|
130
130
|
`);
|
|
131
|
-
const salto_ks_user_not_subscribed = common_access_code_error
|
|
132
|
-
.extend({
|
|
133
|
-
error_code: z
|
|
134
|
-
.literal('salto_ks_user_not_subscribed')
|
|
135
|
-
.describe(error_code_description),
|
|
136
|
-
})
|
|
137
|
-
.describe(`
|
|
138
|
-
---
|
|
139
|
-
resource_type: access_code
|
|
140
|
-
deprecated: Use \`access_code_inactive\` instead.
|
|
141
|
-
---
|
|
142
|
-
Salto site user is not subscribed.
|
|
143
|
-
`);
|
|
144
131
|
const access_code_error = z
|
|
145
132
|
.discriminatedUnion('error_code', [
|
|
146
133
|
provider_issue,
|
|
@@ -151,7 +138,6 @@ const access_code_error = z
|
|
|
151
138
|
no_space_for_access_code_on_device,
|
|
152
139
|
code_modified_external_to_seam_error,
|
|
153
140
|
access_code_inactive_error,
|
|
154
|
-
salto_ks_user_not_subscribed,
|
|
155
141
|
insufficient_permissions,
|
|
156
142
|
])
|
|
157
143
|
.describe('Errors associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes).');
|
|
@@ -173,9 +159,6 @@ const _access_code_error_map = z.object({
|
|
|
173
159
|
.optional()
|
|
174
160
|
.nullable(),
|
|
175
161
|
access_code_inactive: access_code_inactive_error.optional().nullable(),
|
|
176
|
-
salto_ks_user_not_subscribed: salto_ks_user_not_subscribed
|
|
177
|
-
.optional()
|
|
178
|
-
.nullable(),
|
|
179
162
|
});
|
|
180
163
|
const common_access_code_warning = z.object({
|
|
181
164
|
message: z
|
|
@@ -210,13 +193,13 @@ const code_rotates_periodically = common_access_code_warning
|
|
|
210
193
|
.describe(warning_code_description),
|
|
211
194
|
})
|
|
212
195
|
.describe("The access code's PIN rotates periodically when the code is renewed. Retrieve the latest code before each use.");
|
|
213
|
-
const
|
|
196
|
+
const time_frame_adjusted_for_unknown_time_zone = common_access_code_warning
|
|
214
197
|
.extend({
|
|
215
198
|
warning_code: z
|
|
216
|
-
.literal('
|
|
199
|
+
.literal('time_frame_adjusted_for_unknown_time_zone')
|
|
217
200
|
.describe(warning_code_description),
|
|
218
201
|
})
|
|
219
|
-
.describe("The
|
|
202
|
+
.describe("The device's time zone is unknown and this code's time frame crosses a daylight-saving transition in at least one plausible time zone. A 1-hour safety buffer has been applied to the side of the time frame affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift — the code may be usable up to 1 hour beyond your requested window. Set the device's time zone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact handling.");
|
|
220
203
|
const delay_in_setting_on_device = common_access_code_warning
|
|
221
204
|
.extend({
|
|
222
205
|
warning_code: z
|
|
@@ -267,7 +250,7 @@ const being_deleted = common_access_code_warning
|
|
|
267
250
|
const access_code_warning = z
|
|
268
251
|
.discriminatedUnion('warning_code', [
|
|
269
252
|
code_rotates_periodically,
|
|
270
|
-
|
|
253
|
+
time_frame_adjusted_for_unknown_time_zone,
|
|
271
254
|
code_modified_external_to_seam_warning,
|
|
272
255
|
delay_in_setting_on_device,
|
|
273
256
|
delay_in_removing_from_device,
|
|
@@ -280,7 +263,7 @@ const access_code_warning = z
|
|
|
280
263
|
.describe('Warnings associated with the [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes).');
|
|
281
264
|
const _access_code_warning_map = z.object({
|
|
282
265
|
code_rotates_periodically: code_rotates_periodically.optional().nullable(),
|
|
283
|
-
|
|
266
|
+
time_frame_adjusted_for_unknown_time_zone: time_frame_adjusted_for_unknown_time_zone.optional().nullable(),
|
|
284
267
|
code_modified_external_to_seam_warning: code_modified_external_to_seam_warning
|
|
285
268
|
.optional()
|
|
286
269
|
.nullable(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"managed-access-code.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-codes/managed-access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE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BAAwB,CAAC,MAAM,CAAC;IACzE,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,oCAAoC,CAAC;SAC7C,QAAQ,CAAC,sBAAsB,CAAC;CACpC,CAAC,CAAC,QAAQ,CAAC;;;;;KAKP,CAAC,CAAA;AAEN,MAAM,wBAAwB,GAAG,wBAAwB,CAAC,MAAM,CAAC;IAC/D,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,0BAA0B,CAAC;SACnC,QAAQ,CAAC,sBAAsB,CAAC;CACpC,CAAC,CAAC,QAAQ,CAAC;;;;;KAKP,CAAC,CAAA;AAEN,MAAM,0BAA0B,GAAG,wBAAwB,CAAC,MAAM,CAAC;IACjE,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,sBAAsB,CAAC;SAC/B,QAAQ,CAAC,sBAAsB,CAAC;CACpC,CAAC,CAAC,QAAQ,CAAC;;;;;KAKP,CAAC,CAAA;AAEN,MAAM,
|
|
1
|
+
{"version":3,"file":"managed-access-code.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-codes/managed-access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,0CAA0C,EAAE,MAAM,qBAAqB,CAAA;AAChF,OAAO,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAA;AAEtE,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;IACH,oBAAoB,EAAE,CAAC;SACpB,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;CAC9D,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAC1B,oGAAoG,CAAA;AAEtG,MAA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;SACT,QAAQ,CACP,mFAAmF,CACpF;IACH,eAAe,EAAE,CAAC;SACf,OAAO,EAAE;SACT,QAAQ,CACP,mHAAmH,CACpH;IACH,sBAAsB,EAAE,CAAC;SACtB,OAAO,EAAE;SACT,QAAQ,CACP,2JAA2J,CAC5J;IACH,0BAA0B,EAAE,sCAAsC;SAC/D,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,qHAAqH,CACtH;IACH,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,6BAA6B,CAAC;SACpC,QAAQ,CACP,8HAA8H,CAC/H;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;CAaX,CAAC,CAAA"}
|
|
@@ -172,22 +172,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
172
172
|
message: z.ZodString;
|
|
173
173
|
is_access_code_error: z.ZodLiteral<true>;
|
|
174
174
|
created_at: z.ZodOptional<z.ZodString>;
|
|
175
|
-
} & {
|
|
176
|
-
error_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
177
|
-
}, "strip", z.ZodTypeAny, {
|
|
178
|
-
message: string;
|
|
179
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
180
|
-
is_access_code_error: true;
|
|
181
|
-
created_at?: string | undefined;
|
|
182
|
-
}, {
|
|
183
|
-
message: string;
|
|
184
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
185
|
-
is_access_code_error: true;
|
|
186
|
-
created_at?: string | undefined;
|
|
187
|
-
}>, z.ZodObject<{
|
|
188
|
-
message: z.ZodString;
|
|
189
|
-
is_access_code_error: z.ZodLiteral<true>;
|
|
190
|
-
created_at: z.ZodOptional<z.ZodString>;
|
|
191
175
|
} & {
|
|
192
176
|
error_code: z.ZodLiteral<"insufficient_permissions">;
|
|
193
177
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -591,14 +575,14 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
591
575
|
message: z.ZodString;
|
|
592
576
|
created_at: z.ZodOptional<z.ZodString>;
|
|
593
577
|
} & {
|
|
594
|
-
warning_code: z.ZodLiteral<"
|
|
578
|
+
warning_code: z.ZodLiteral<"time_frame_adjusted_for_unknown_time_zone">;
|
|
595
579
|
}, "strip", z.ZodTypeAny, {
|
|
596
580
|
message: string;
|
|
597
|
-
warning_code: "
|
|
581
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
598
582
|
created_at?: string | undefined;
|
|
599
583
|
}, {
|
|
600
584
|
message: string;
|
|
601
|
-
warning_code: "
|
|
585
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
602
586
|
created_at?: string | undefined;
|
|
603
587
|
}>, z.ZodObject<{
|
|
604
588
|
message: z.ZodString;
|
|
@@ -936,11 +920,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
936
920
|
error_code: "access_code_inactive";
|
|
937
921
|
is_access_code_error: true;
|
|
938
922
|
created_at?: string | undefined;
|
|
939
|
-
} | {
|
|
940
|
-
message: string;
|
|
941
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
942
|
-
is_access_code_error: true;
|
|
943
|
-
created_at?: string | undefined;
|
|
944
923
|
})[];
|
|
945
924
|
warnings: ({
|
|
946
925
|
message: string;
|
|
@@ -958,7 +937,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
958
937
|
created_at?: string | undefined;
|
|
959
938
|
} | {
|
|
960
939
|
message: string;
|
|
961
|
-
warning_code: "
|
|
940
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
962
941
|
created_at?: string | undefined;
|
|
963
942
|
} | {
|
|
964
943
|
message: string;
|
|
@@ -1176,11 +1155,6 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1176
1155
|
error_code: "access_code_inactive";
|
|
1177
1156
|
is_access_code_error: true;
|
|
1178
1157
|
created_at?: string | undefined;
|
|
1179
|
-
} | {
|
|
1180
|
-
message: string;
|
|
1181
|
-
error_code: "salto_ks_user_not_subscribed";
|
|
1182
|
-
is_access_code_error: true;
|
|
1183
|
-
created_at?: string | undefined;
|
|
1184
1158
|
})[];
|
|
1185
1159
|
warnings: ({
|
|
1186
1160
|
message: string;
|
|
@@ -1198,7 +1172,7 @@ export declare const unmanaged_access_code: z.ZodObject<{
|
|
|
1198
1172
|
created_at?: string | undefined;
|
|
1199
1173
|
} | {
|
|
1200
1174
|
message: string;
|
|
1201
|
-
warning_code: "
|
|
1175
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
1202
1176
|
created_at?: string | undefined;
|
|
1203
1177
|
} | {
|
|
1204
1178
|
message: string;
|
|
@@ -337,35 +337,6 @@ const openapi = {
|
|
|
337
337
|
type: 'object',
|
|
338
338
|
'x-resource-type': 'access_code',
|
|
339
339
|
},
|
|
340
|
-
{
|
|
341
|
-
deprecated: true,
|
|
342
|
-
description: 'Salto site user is not subscribed.',
|
|
343
|
-
properties: {
|
|
344
|
-
created_at: {
|
|
345
|
-
description: 'Date and time at which Seam created the error.',
|
|
346
|
-
format: 'date-time',
|
|
347
|
-
type: 'string',
|
|
348
|
-
},
|
|
349
|
-
error_code: {
|
|
350
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
351
|
-
enum: ['salto_ks_user_not_subscribed'],
|
|
352
|
-
type: 'string',
|
|
353
|
-
},
|
|
354
|
-
is_access_code_error: {
|
|
355
|
-
description: 'Indicates that this is an access code error.',
|
|
356
|
-
enum: [true],
|
|
357
|
-
type: 'boolean',
|
|
358
|
-
},
|
|
359
|
-
message: {
|
|
360
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
361
|
-
type: 'string',
|
|
362
|
-
},
|
|
363
|
-
},
|
|
364
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
365
|
-
type: 'object',
|
|
366
|
-
'x-deprecated': 'Use `access_code_inactive` instead.',
|
|
367
|
-
'x-resource-type': 'access_code',
|
|
368
|
-
},
|
|
369
340
|
{
|
|
370
341
|
description: 'Admin role required—insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.',
|
|
371
342
|
properties: {
|
|
@@ -1287,7 +1258,7 @@ const openapi = {
|
|
|
1287
1258
|
type: 'object',
|
|
1288
1259
|
},
|
|
1289
1260
|
{
|
|
1290
|
-
description: "The
|
|
1261
|
+
description: "The device's time zone is unknown and this code's time frame crosses a daylight-saving transition in at least one plausible time zone. A 1-hour safety buffer has been applied to the side of the time frame affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift — the code may be usable up to 1 hour beyond your requested window. Set the device's time zone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact handling.",
|
|
1291
1262
|
properties: {
|
|
1292
1263
|
created_at: {
|
|
1293
1264
|
description: 'Date and time at which Seam created the warning.',
|
|
@@ -1300,7 +1271,7 @@ const openapi = {
|
|
|
1300
1271
|
},
|
|
1301
1272
|
warning_code: {
|
|
1302
1273
|
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
1303
|
-
enum: ['
|
|
1274
|
+
enum: ['time_frame_adjusted_for_unknown_time_zone'],
|
|
1304
1275
|
type: 'string',
|
|
1305
1276
|
},
|
|
1306
1277
|
},
|
|
@@ -26343,35 +26314,6 @@ const openapi = {
|
|
|
26343
26314
|
type: 'object',
|
|
26344
26315
|
'x-resource-type': 'access_code',
|
|
26345
26316
|
},
|
|
26346
|
-
{
|
|
26347
|
-
deprecated: true,
|
|
26348
|
-
description: 'Salto site user is not subscribed.',
|
|
26349
|
-
properties: {
|
|
26350
|
-
created_at: {
|
|
26351
|
-
description: 'Date and time at which Seam created the error.',
|
|
26352
|
-
format: 'date-time',
|
|
26353
|
-
type: 'string',
|
|
26354
|
-
},
|
|
26355
|
-
error_code: {
|
|
26356
|
-
description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
|
|
26357
|
-
enum: ['salto_ks_user_not_subscribed'],
|
|
26358
|
-
type: 'string',
|
|
26359
|
-
},
|
|
26360
|
-
is_access_code_error: {
|
|
26361
|
-
description: 'Indicates that this is an access code error.',
|
|
26362
|
-
enum: [true],
|
|
26363
|
-
type: 'boolean',
|
|
26364
|
-
},
|
|
26365
|
-
message: {
|
|
26366
|
-
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
26367
|
-
type: 'string',
|
|
26368
|
-
},
|
|
26369
|
-
},
|
|
26370
|
-
required: ['message', 'is_access_code_error', 'error_code'],
|
|
26371
|
-
type: 'object',
|
|
26372
|
-
'x-deprecated': 'Use `access_code_inactive` instead.',
|
|
26373
|
-
'x-resource-type': 'access_code',
|
|
26374
|
-
},
|
|
26375
26317
|
{
|
|
26376
26318
|
description: 'Admin role required—insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.',
|
|
26377
26319
|
properties: {
|
|
@@ -27010,7 +26952,7 @@ const openapi = {
|
|
|
27010
26952
|
type: 'object',
|
|
27011
26953
|
},
|
|
27012
26954
|
{
|
|
27013
|
-
description: "The
|
|
26955
|
+
description: "The device's time zone is unknown and this code's time frame crosses a daylight-saving transition in at least one plausible time zone. A 1-hour safety buffer has been applied to the side of the time frame affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift — the code may be usable up to 1 hour beyond your requested window. Set the device's time zone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact handling.",
|
|
27014
26956
|
properties: {
|
|
27015
26957
|
created_at: {
|
|
27016
26958
|
description: 'Date and time at which Seam created the warning.',
|
|
@@ -27023,7 +26965,7 @@ const openapi = {
|
|
|
27023
26965
|
},
|
|
27024
26966
|
warning_code: {
|
|
27025
26967
|
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
27026
|
-
enum: ['
|
|
26968
|
+
enum: ['time_frame_adjusted_for_unknown_time_zone'],
|
|
27027
26969
|
type: 'string',
|
|
27028
26970
|
},
|
|
27029
26971
|
},
|