@seamapi/types 1.932.0 → 1.933.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 +39 -39
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +432 -432
- package/dist/index.cjs +39 -39
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/access-code.d.ts +38 -38
- package/lib/seam/connect/models/devices/capability-properties/access-code.js +11 -13
- package/lib/seam/connect/models/devices/capability-properties/access-code.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +28 -28
- package/lib/seam/connect/models/devices/device-metadata.d.ts +16 -16
- package/lib/seam/connect/models/devices/device.d.ts +52 -52
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +40 -40
- package/lib/seam/connect/openapi.js +28 -28
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +340 -340
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +11 -13
- package/src/lib/seam/connect/openapi.ts +28 -28
- package/src/lib/seam/connect/route-types.ts +340 -340
package/dist/connect.cjs
CHANGED
|
@@ -97,19 +97,19 @@ var access_code_name_constraint = zod.z.object({
|
|
|
97
97
|
}).describe(`Name constraint for access codes.`);
|
|
98
98
|
var access_code_constraint = zod.z.union([access_code_code_constraint, access_code_name_constraint]).describe(`Access code constraint.`);
|
|
99
99
|
var time_frame_option_time_pair = zod.z.object({
|
|
100
|
-
display_name: zod.z.string().describe("Label for the
|
|
101
|
-
|
|
102
|
-
"
|
|
100
|
+
display_name: zod.z.string().describe("Label for the start/end time pairing."),
|
|
101
|
+
start_time: zod.z.string().describe(
|
|
102
|
+
"Start time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`."
|
|
103
103
|
),
|
|
104
|
-
|
|
105
|
-
"
|
|
104
|
+
end_time: zod.z.string().describe(
|
|
105
|
+
"End time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`. An `end_time` earlier on the clock than `start_time` means the end falls on a later date."
|
|
106
106
|
)
|
|
107
107
|
}).describe(
|
|
108
|
-
"Fixed
|
|
108
|
+
"Fixed start/end time pairing. The caller picks one whole pairing; the two times cannot be mixed across pairs."
|
|
109
109
|
);
|
|
110
110
|
var time_frame_option = zod.z.object({
|
|
111
111
|
display_name: zod.z.string().describe(
|
|
112
|
-
"Label for this option. For a single-option device, the product name (for example, `algoPIN` or `SmartPIN`); for a multi-option device, a label that distinguishes it (for example, `Hourly` or `Fixed
|
|
112
|
+
"Label for this option. For a single-option device, the product name (for example, `algoPIN` or `SmartPIN`); for a multi-option device, a label that distinguishes it (for example, `Hourly` or `Fixed start times`)."
|
|
113
113
|
),
|
|
114
114
|
min_duration: zod.z.string().optional().describe(
|
|
115
115
|
"Minimum duration this option covers, as an ISO 8601 duration (for example, `PT1H` or `P29D`). Omitted when there is no minimum."
|
|
@@ -118,16 +118,16 @@ var time_frame_option = zod.z.object({
|
|
|
118
118
|
"Maximum duration this option covers, as an ISO 8601 duration (for example, `PT672H` or `P367D`). Omitted when there is no maximum."
|
|
119
119
|
),
|
|
120
120
|
matching_start_end_time: zod.z.literal(true).optional().describe(
|
|
121
|
-
"When `true`, the
|
|
121
|
+
"When `true`, the start and end must fall at the same time of day (the caller picks which). Mutually exclusive with `time_pairs`."
|
|
122
122
|
),
|
|
123
123
|
time_pairs: zod.z.array(time_frame_option_time_pair).optional().describe(
|
|
124
|
-
"Fixed
|
|
124
|
+
"Fixed start/end time pairings the caller chooses from. Mutually exclusive with `matching_start_end_time`."
|
|
125
125
|
),
|
|
126
126
|
start_date_recurrence_rule: zod.z.string().optional().describe(
|
|
127
|
-
"iCalendar recurrence rule (RRULE) that the
|
|
127
|
+
"iCalendar recurrence rule (RRULE) that the start date must fall on (for example, `FREQ=MONTHLY;BYDAY=1MO,3MO`). Constrains which calendar dates are selectable, independent of the time-of-day rules."
|
|
128
128
|
),
|
|
129
129
|
end_date_recurrence_rule: zod.z.string().optional().describe(
|
|
130
|
-
"iCalendar recurrence rule (RRULE) that the
|
|
130
|
+
"iCalendar recurrence rule (RRULE) that the end date must fall on. Constrains which calendar dates are selectable, independent of the time-of-day rules."
|
|
131
131
|
),
|
|
132
132
|
time_zone: zod.z.string().optional().describe(
|
|
133
133
|
"IANA time zone for interpreting `time_pairs` and the date recurrence rules. Present only when the option fixes times or dates."
|
|
@@ -21326,15 +21326,15 @@ var openapi = {
|
|
|
21326
21326
|
description: "One way to make a code: a duration band plus the time-of-day and date rules that apply within it. Absence of a rule means unrestricted on that axis.",
|
|
21327
21327
|
properties: {
|
|
21328
21328
|
display_name: {
|
|
21329
|
-
description: "Label for this option. For a single-option device, the product name (for example, `algoPIN` or `SmartPIN`); for a multi-option device, a label that distinguishes it (for example, `Hourly` or `Fixed
|
|
21329
|
+
description: "Label for this option. For a single-option device, the product name (for example, `algoPIN` or `SmartPIN`); for a multi-option device, a label that distinguishes it (for example, `Hourly` or `Fixed start times`).",
|
|
21330
21330
|
type: "string"
|
|
21331
21331
|
},
|
|
21332
21332
|
end_date_recurrence_rule: {
|
|
21333
|
-
description: "iCalendar recurrence rule (RRULE) that the
|
|
21333
|
+
description: "iCalendar recurrence rule (RRULE) that the end date must fall on. Constrains which calendar dates are selectable, independent of the time-of-day rules.",
|
|
21334
21334
|
type: "string"
|
|
21335
21335
|
},
|
|
21336
21336
|
matching_start_end_time: {
|
|
21337
|
-
description: "When `true`, the
|
|
21337
|
+
description: "When `true`, the start and end must fall at the same time of day (the caller picks which). Mutually exclusive with `time_pairs`.",
|
|
21338
21338
|
enum: [true],
|
|
21339
21339
|
type: "boolean"
|
|
21340
21340
|
},
|
|
@@ -21347,31 +21347,31 @@ var openapi = {
|
|
|
21347
21347
|
type: "string"
|
|
21348
21348
|
},
|
|
21349
21349
|
start_date_recurrence_rule: {
|
|
21350
|
-
description: "iCalendar recurrence rule (RRULE) that the
|
|
21350
|
+
description: "iCalendar recurrence rule (RRULE) that the start date must fall on (for example, `FREQ=MONTHLY;BYDAY=1MO,3MO`). Constrains which calendar dates are selectable, independent of the time-of-day rules.",
|
|
21351
21351
|
type: "string"
|
|
21352
21352
|
},
|
|
21353
21353
|
time_pairs: {
|
|
21354
|
-
description: "Fixed
|
|
21354
|
+
description: "Fixed start/end time pairings the caller chooses from. Mutually exclusive with `matching_start_end_time`.",
|
|
21355
21355
|
items: {
|
|
21356
|
-
description: "Fixed
|
|
21356
|
+
description: "Fixed start/end time pairing. The caller picks one whole pairing; the two times cannot be mixed across pairs.",
|
|
21357
21357
|
properties: {
|
|
21358
|
-
|
|
21359
|
-
description: "
|
|
21358
|
+
display_name: {
|
|
21359
|
+
description: "Label for the start/end time pairing.",
|
|
21360
21360
|
type: "string"
|
|
21361
21361
|
},
|
|
21362
|
-
|
|
21363
|
-
description: "
|
|
21362
|
+
end_time: {
|
|
21363
|
+
description: "End time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`. An `end_time` earlier on the clock than `start_time` means the end falls on a later date.",
|
|
21364
21364
|
type: "string"
|
|
21365
21365
|
},
|
|
21366
|
-
|
|
21367
|
-
description: "
|
|
21366
|
+
start_time: {
|
|
21367
|
+
description: "Start time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`.",
|
|
21368
21368
|
type: "string"
|
|
21369
21369
|
}
|
|
21370
21370
|
},
|
|
21371
21371
|
required: [
|
|
21372
21372
|
"display_name",
|
|
21373
|
-
"
|
|
21374
|
-
"
|
|
21373
|
+
"start_time",
|
|
21374
|
+
"end_time"
|
|
21375
21375
|
],
|
|
21376
21376
|
type: "object"
|
|
21377
21377
|
},
|
|
@@ -21394,15 +21394,15 @@ var openapi = {
|
|
|
21394
21394
|
description: "One way to make a code: a duration band plus the time-of-day and date rules that apply within it. Absence of a rule means unrestricted on that axis.",
|
|
21395
21395
|
properties: {
|
|
21396
21396
|
display_name: {
|
|
21397
|
-
description: "Label for this option. For a single-option device, the product name (for example, `algoPIN` or `SmartPIN`); for a multi-option device, a label that distinguishes it (for example, `Hourly` or `Fixed
|
|
21397
|
+
description: "Label for this option. For a single-option device, the product name (for example, `algoPIN` or `SmartPIN`); for a multi-option device, a label that distinguishes it (for example, `Hourly` or `Fixed start times`).",
|
|
21398
21398
|
type: "string"
|
|
21399
21399
|
},
|
|
21400
21400
|
end_date_recurrence_rule: {
|
|
21401
|
-
description: "iCalendar recurrence rule (RRULE) that the
|
|
21401
|
+
description: "iCalendar recurrence rule (RRULE) that the end date must fall on. Constrains which calendar dates are selectable, independent of the time-of-day rules.",
|
|
21402
21402
|
type: "string"
|
|
21403
21403
|
},
|
|
21404
21404
|
matching_start_end_time: {
|
|
21405
|
-
description: "When `true`, the
|
|
21405
|
+
description: "When `true`, the start and end must fall at the same time of day (the caller picks which). Mutually exclusive with `time_pairs`.",
|
|
21406
21406
|
enum: [true],
|
|
21407
21407
|
type: "boolean"
|
|
21408
21408
|
},
|
|
@@ -21415,31 +21415,31 @@ var openapi = {
|
|
|
21415
21415
|
type: "string"
|
|
21416
21416
|
},
|
|
21417
21417
|
start_date_recurrence_rule: {
|
|
21418
|
-
description: "iCalendar recurrence rule (RRULE) that the
|
|
21418
|
+
description: "iCalendar recurrence rule (RRULE) that the start date must fall on (for example, `FREQ=MONTHLY;BYDAY=1MO,3MO`). Constrains which calendar dates are selectable, independent of the time-of-day rules.",
|
|
21419
21419
|
type: "string"
|
|
21420
21420
|
},
|
|
21421
21421
|
time_pairs: {
|
|
21422
|
-
description: "Fixed
|
|
21422
|
+
description: "Fixed start/end time pairings the caller chooses from. Mutually exclusive with `matching_start_end_time`.",
|
|
21423
21423
|
items: {
|
|
21424
|
-
description: "Fixed
|
|
21424
|
+
description: "Fixed start/end time pairing. The caller picks one whole pairing; the two times cannot be mixed across pairs.",
|
|
21425
21425
|
properties: {
|
|
21426
|
-
|
|
21427
|
-
description: "
|
|
21426
|
+
display_name: {
|
|
21427
|
+
description: "Label for the start/end time pairing.",
|
|
21428
21428
|
type: "string"
|
|
21429
21429
|
},
|
|
21430
|
-
|
|
21431
|
-
description: "
|
|
21430
|
+
end_time: {
|
|
21431
|
+
description: "End time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`. An `end_time` earlier on the clock than `start_time` means the end falls on a later date.",
|
|
21432
21432
|
type: "string"
|
|
21433
21433
|
},
|
|
21434
|
-
|
|
21435
|
-
description: "
|
|
21434
|
+
start_time: {
|
|
21435
|
+
description: "Start time of day as a 24-hour `HH:MM` value, interpreted in the option's `time_zone`.",
|
|
21436
21436
|
type: "string"
|
|
21437
21437
|
}
|
|
21438
21438
|
},
|
|
21439
21439
|
required: [
|
|
21440
21440
|
"display_name",
|
|
21441
|
-
"
|
|
21442
|
-
"
|
|
21441
|
+
"start_time",
|
|
21442
|
+
"end_time"
|
|
21443
21443
|
],
|
|
21444
21444
|
type: "object"
|
|
21445
21445
|
},
|