@seamapi/types 1.946.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 +9 -9
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +24 -24
- package/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +16 -16
- package/lib/seam/connect/models/access-codes/managed-access-code.js +5 -5
- 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 -5
- package/lib/seam/connect/openapi.js +4 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +11 -11
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +12 -13
- package/src/lib/seam/connect/openapi.ts +4 -4
- package/src/lib/seam/connect/route-types.ts +11 -11
package/dist/connect.d.cts
CHANGED
|
@@ -195,14 +195,14 @@ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.Zo
|
|
|
195
195
|
message: z.ZodString;
|
|
196
196
|
created_at: z.ZodOptional<z.ZodString>;
|
|
197
197
|
} & {
|
|
198
|
-
warning_code: z.ZodLiteral<"
|
|
198
|
+
warning_code: z.ZodLiteral<"time_frame_adjusted_for_unknown_time_zone">;
|
|
199
199
|
}, "strip", z.ZodTypeAny, {
|
|
200
200
|
message: string;
|
|
201
|
-
warning_code: "
|
|
201
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
202
202
|
created_at?: string | undefined;
|
|
203
203
|
}, {
|
|
204
204
|
message: string;
|
|
205
|
-
warning_code: "
|
|
205
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
206
206
|
created_at?: string | undefined;
|
|
207
207
|
}>, z.ZodObject<{
|
|
208
208
|
message: z.ZodString;
|
|
@@ -914,14 +914,14 @@ declare const access_code: z.ZodObject<{
|
|
|
914
914
|
message: z.ZodString;
|
|
915
915
|
created_at: z.ZodOptional<z.ZodString>;
|
|
916
916
|
} & {
|
|
917
|
-
warning_code: z.ZodLiteral<"
|
|
917
|
+
warning_code: z.ZodLiteral<"time_frame_adjusted_for_unknown_time_zone">;
|
|
918
918
|
}, "strip", z.ZodTypeAny, {
|
|
919
919
|
message: string;
|
|
920
|
-
warning_code: "
|
|
920
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
921
921
|
created_at?: string | undefined;
|
|
922
922
|
}, {
|
|
923
923
|
message: string;
|
|
924
|
-
warning_code: "
|
|
924
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
925
925
|
created_at?: string | undefined;
|
|
926
926
|
}>, z.ZodObject<{
|
|
927
927
|
message: z.ZodString;
|
|
@@ -1450,7 +1450,7 @@ declare const access_code: z.ZodObject<{
|
|
|
1450
1450
|
created_at?: string | undefined;
|
|
1451
1451
|
} | {
|
|
1452
1452
|
message: string;
|
|
1453
|
-
warning_code: "
|
|
1453
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
1454
1454
|
created_at?: string | undefined;
|
|
1455
1455
|
} | {
|
|
1456
1456
|
message: string;
|
|
@@ -1738,7 +1738,7 @@ declare const access_code: z.ZodObject<{
|
|
|
1738
1738
|
created_at?: string | undefined;
|
|
1739
1739
|
} | {
|
|
1740
1740
|
message: string;
|
|
1741
|
-
warning_code: "
|
|
1741
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
1742
1742
|
created_at?: string | undefined;
|
|
1743
1743
|
} | {
|
|
1744
1744
|
message: string;
|
|
@@ -2417,14 +2417,14 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2417
2417
|
message: z.ZodString;
|
|
2418
2418
|
created_at: z.ZodOptional<z.ZodString>;
|
|
2419
2419
|
} & {
|
|
2420
|
-
warning_code: z.ZodLiteral<"
|
|
2420
|
+
warning_code: z.ZodLiteral<"time_frame_adjusted_for_unknown_time_zone">;
|
|
2421
2421
|
}, "strip", z.ZodTypeAny, {
|
|
2422
2422
|
message: string;
|
|
2423
|
-
warning_code: "
|
|
2423
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
2424
2424
|
created_at?: string | undefined;
|
|
2425
2425
|
}, {
|
|
2426
2426
|
message: string;
|
|
2427
|
-
warning_code: "
|
|
2427
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
2428
2428
|
created_at?: string | undefined;
|
|
2429
2429
|
}>, z.ZodObject<{
|
|
2430
2430
|
message: z.ZodString;
|
|
@@ -2779,7 +2779,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
2779
2779
|
created_at?: string | undefined;
|
|
2780
2780
|
} | {
|
|
2781
2781
|
message: string;
|
|
2782
|
-
warning_code: "
|
|
2782
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
2783
2783
|
created_at?: string | undefined;
|
|
2784
2784
|
} | {
|
|
2785
2785
|
message: string;
|
|
@@ -3014,7 +3014,7 @@ declare const unmanaged_access_code: z.ZodObject<{
|
|
|
3014
3014
|
created_at?: string | undefined;
|
|
3015
3015
|
} | {
|
|
3016
3016
|
message: string;
|
|
3017
|
-
warning_code: "
|
|
3017
|
+
warning_code: "time_frame_adjusted_for_unknown_time_zone";
|
|
3018
3018
|
created_at?: string | undefined;
|
|
3019
3019
|
} | {
|
|
3020
3020
|
message: string;
|
|
@@ -31892,7 +31892,7 @@ type Routes = {
|
|
|
31892
31892
|
/** Date and time at which Seam created the warning. */
|
|
31893
31893
|
created_at?: string | undefined;
|
|
31894
31894
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
31895
|
-
warning_code: '
|
|
31895
|
+
warning_code: 'time_frame_adjusted_for_unknown_time_zone';
|
|
31896
31896
|
} | {
|
|
31897
31897
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
31898
31898
|
message: string;
|
|
@@ -32407,7 +32407,7 @@ type Routes = {
|
|
|
32407
32407
|
/** Date and time at which Seam created the warning. */
|
|
32408
32408
|
created_at?: string | undefined;
|
|
32409
32409
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32410
|
-
warning_code: '
|
|
32410
|
+
warning_code: 'time_frame_adjusted_for_unknown_time_zone';
|
|
32411
32411
|
} | {
|
|
32412
32412
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
32413
32413
|
message: string;
|
|
@@ -34610,7 +34610,7 @@ type Routes = {
|
|
|
34610
34610
|
/** Date and time at which Seam created the warning. */
|
|
34611
34611
|
created_at?: string | undefined;
|
|
34612
34612
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
34613
|
-
warning_code: '
|
|
34613
|
+
warning_code: 'time_frame_adjusted_for_unknown_time_zone';
|
|
34614
34614
|
} | {
|
|
34615
34615
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
34616
34616
|
message: string;
|
|
@@ -35171,7 +35171,7 @@ type Routes = {
|
|
|
35171
35171
|
/** Date and time at which Seam created the warning. */
|
|
35172
35172
|
created_at?: string | undefined;
|
|
35173
35173
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
35174
|
-
warning_code: '
|
|
35174
|
+
warning_code: 'time_frame_adjusted_for_unknown_time_zone';
|
|
35175
35175
|
} | {
|
|
35176
35176
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
35177
35177
|
message: string;
|
|
@@ -35677,7 +35677,7 @@ type Routes = {
|
|
|
35677
35677
|
/** Date and time at which Seam created the warning. */
|
|
35678
35678
|
created_at?: string | undefined;
|
|
35679
35679
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
35680
|
-
warning_code: '
|
|
35680
|
+
warning_code: 'time_frame_adjusted_for_unknown_time_zone';
|
|
35681
35681
|
} | {
|
|
35682
35682
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
35683
35683
|
message: string;
|
|
@@ -36160,7 +36160,7 @@ type Routes = {
|
|
|
36160
36160
|
/** Date and time at which Seam created the warning. */
|
|
36161
36161
|
created_at?: string | undefined;
|
|
36162
36162
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
36163
|
-
warning_code: '
|
|
36163
|
+
warning_code: 'time_frame_adjusted_for_unknown_time_zone';
|
|
36164
36164
|
} | {
|
|
36165
36165
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
36166
36166
|
message: string;
|
|
@@ -36676,7 +36676,7 @@ type Routes = {
|
|
|
36676
36676
|
/** Date and time at which Seam created the warning. */
|
|
36677
36677
|
created_at?: string | undefined;
|
|
36678
36678
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
36679
|
-
warning_code: '
|
|
36679
|
+
warning_code: 'time_frame_adjusted_for_unknown_time_zone';
|
|
36680
36680
|
} | {
|
|
36681
36681
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
36682
36682
|
message: string;
|
|
@@ -38788,7 +38788,7 @@ type Routes = {
|
|
|
38788
38788
|
/** Date and time at which Seam created the warning. */
|
|
38789
38789
|
created_at?: string | undefined;
|
|
38790
38790
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
38791
|
-
warning_code: '
|
|
38791
|
+
warning_code: 'time_frame_adjusted_for_unknown_time_zone';
|
|
38792
38792
|
} | {
|
|
38793
38793
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
38794
38794
|
message: string;
|
|
@@ -39190,7 +39190,7 @@ type Routes = {
|
|
|
39190
39190
|
/** Date and time at which Seam created the warning. */
|
|
39191
39191
|
created_at?: string | undefined;
|
|
39192
39192
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
39193
|
-
warning_code: '
|
|
39193
|
+
warning_code: 'time_frame_adjusted_for_unknown_time_zone';
|
|
39194
39194
|
} | {
|
|
39195
39195
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
39196
39196
|
message: string;
|
|
@@ -149045,7 +149045,7 @@ type Routes = {
|
|
|
149045
149045
|
/** Date and time at which Seam created the warning. */
|
|
149046
149046
|
created_at?: string | undefined;
|
|
149047
149047
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
149048
|
-
warning_code: '
|
|
149048
|
+
warning_code: 'time_frame_adjusted_for_unknown_time_zone';
|
|
149049
149049
|
} | {
|
|
149050
149050
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
149051
149051
|
message: string;
|
|
@@ -149431,7 +149431,7 @@ type Routes = {
|
|
|
149431
149431
|
/** Date and time at which Seam created the warning. */
|
|
149432
149432
|
created_at?: string | undefined;
|
|
149433
149433
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
149434
|
-
warning_code: '
|
|
149434
|
+
warning_code: 'time_frame_adjusted_for_unknown_time_zone';
|
|
149435
149435
|
} | {
|
|
149436
149436
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
149437
149437
|
message: string;
|
package/dist/index.cjs
CHANGED
|
@@ -2693,10 +2693,10 @@ var code_rotates_periodically = common_access_code_warning.extend({
|
|
|
2693
2693
|
}).describe(
|
|
2694
2694
|
"The access code's PIN rotates periodically when the code is renewed. Retrieve the latest code before each use."
|
|
2695
2695
|
);
|
|
2696
|
-
var
|
|
2697
|
-
warning_code: zod.z.literal("
|
|
2696
|
+
var time_frame_adjusted_for_unknown_time_zone = common_access_code_warning.extend({
|
|
2697
|
+
warning_code: zod.z.literal("time_frame_adjusted_for_unknown_time_zone").describe(warning_code_description3)
|
|
2698
2698
|
}).describe(
|
|
2699
|
-
"The
|
|
2699
|
+
"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 \u2014 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."
|
|
2700
2700
|
);
|
|
2701
2701
|
var delay_in_setting_on_device = common_access_code_warning.extend({
|
|
2702
2702
|
warning_code: zod.z.literal("delay_in_setting_on_device").describe(warning_code_description3)
|
|
@@ -2725,7 +2725,7 @@ var being_deleted2 = common_access_code_warning.extend({
|
|
|
2725
2725
|
}).describe("Access code is being deleted.");
|
|
2726
2726
|
var access_code_warning = zod.z.discriminatedUnion("warning_code", [
|
|
2727
2727
|
code_rotates_periodically,
|
|
2728
|
-
|
|
2728
|
+
time_frame_adjusted_for_unknown_time_zone,
|
|
2729
2729
|
code_modified_external_to_seam_warning,
|
|
2730
2730
|
delay_in_setting_on_device,
|
|
2731
2731
|
delay_in_removing_from_device,
|
|
@@ -2739,7 +2739,7 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
|
|
|
2739
2739
|
);
|
|
2740
2740
|
zod.z.object({
|
|
2741
2741
|
code_rotates_periodically: code_rotates_periodically.optional().nullable(),
|
|
2742
|
-
|
|
2742
|
+
time_frame_adjusted_for_unknown_time_zone: time_frame_adjusted_for_unknown_time_zone.optional().nullable(),
|
|
2743
2743
|
code_modified_external_to_seam_warning: code_modified_external_to_seam_warning.optional().nullable(),
|
|
2744
2744
|
delay_in_setting_on_device: delay_in_setting_on_device.optional().nullable(),
|
|
2745
2745
|
delay_in_removing_from_device: delay_in_removing_from_device.optional().nullable(),
|
|
@@ -8816,7 +8816,7 @@ var openapi = {
|
|
|
8816
8816
|
type: "object"
|
|
8817
8817
|
},
|
|
8818
8818
|
{
|
|
8819
|
-
description: "The
|
|
8819
|
+
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 \u2014 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.",
|
|
8820
8820
|
properties: {
|
|
8821
8821
|
created_at: {
|
|
8822
8822
|
description: "Date and time at which Seam created the warning.",
|
|
@@ -8829,7 +8829,7 @@ var openapi = {
|
|
|
8829
8829
|
},
|
|
8830
8830
|
warning_code: {
|
|
8831
8831
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
8832
|
-
enum: ["
|
|
8832
|
+
enum: ["time_frame_adjusted_for_unknown_time_zone"],
|
|
8833
8833
|
type: "string"
|
|
8834
8834
|
}
|
|
8835
8835
|
},
|
|
@@ -34510,7 +34510,7 @@ var openapi = {
|
|
|
34510
34510
|
type: "object"
|
|
34511
34511
|
},
|
|
34512
34512
|
{
|
|
34513
|
-
description: "The
|
|
34513
|
+
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 \u2014 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.",
|
|
34514
34514
|
properties: {
|
|
34515
34515
|
created_at: {
|
|
34516
34516
|
description: "Date and time at which Seam created the warning.",
|
|
@@ -34523,7 +34523,7 @@ var openapi = {
|
|
|
34523
34523
|
},
|
|
34524
34524
|
warning_code: {
|
|
34525
34525
|
description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
|
|
34526
|
-
enum: ["
|
|
34526
|
+
enum: ["time_frame_adjusted_for_unknown_time_zone"],
|
|
34527
34527
|
type: "string"
|
|
34528
34528
|
}
|
|
34529
34529
|
},
|