@seamapi/types 1.809.0 → 1.811.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 +106 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +256 -0
- package/dist/index.cjs +106 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +33 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -2
- package/lib/seam/connect/models/devices/device-provider.js +2 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/spaces/space.d.ts +36 -0
- package/lib/seam/connect/models/spaces/space.js +20 -0
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +92 -0
- package/lib/seam/connect/openapi.js +92 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +108 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
- package/src/lib/seam/connect/models/spaces/space.ts +26 -0
- package/src/lib/seam/connect/openapi.ts +107 -0
- package/src/lib/seam/connect/route-types.ts +132 -0
package/dist/connect.d.cts
CHANGED
|
@@ -12547,6 +12547,19 @@ declare const batch: z.ZodObject<{
|
|
|
12547
12547
|
device_count: z.ZodNumber;
|
|
12548
12548
|
acs_entrance_count: z.ZodNumber;
|
|
12549
12549
|
customer_key: z.ZodOptional<z.ZodString>;
|
|
12550
|
+
customer_data: z.ZodOptional<z.ZodObject<{
|
|
12551
|
+
time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12552
|
+
default_checkin_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12553
|
+
default_checkout_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12554
|
+
}, "strip", z.ZodTypeAny, {
|
|
12555
|
+
time_zone?: string | null | undefined;
|
|
12556
|
+
default_checkin_time?: string | null | undefined;
|
|
12557
|
+
default_checkout_time?: string | null | undefined;
|
|
12558
|
+
}, {
|
|
12559
|
+
time_zone?: string | null | undefined;
|
|
12560
|
+
default_checkin_time?: string | null | undefined;
|
|
12561
|
+
default_checkout_time?: string | null | undefined;
|
|
12562
|
+
}>>;
|
|
12550
12563
|
parent_space_id: z.ZodOptional<z.ZodString>;
|
|
12551
12564
|
parent_space_key: z.ZodOptional<z.ZodString>;
|
|
12552
12565
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12559,6 +12572,11 @@ declare const batch: z.ZodObject<{
|
|
|
12559
12572
|
acs_entrance_count: number;
|
|
12560
12573
|
customer_key?: string | undefined;
|
|
12561
12574
|
space_key?: string | undefined;
|
|
12575
|
+
customer_data?: {
|
|
12576
|
+
time_zone?: string | null | undefined;
|
|
12577
|
+
default_checkin_time?: string | null | undefined;
|
|
12578
|
+
default_checkout_time?: string | null | undefined;
|
|
12579
|
+
} | undefined;
|
|
12562
12580
|
parent_space_id?: string | undefined;
|
|
12563
12581
|
parent_space_key?: string | undefined;
|
|
12564
12582
|
}, {
|
|
@@ -12571,6 +12589,11 @@ declare const batch: z.ZodObject<{
|
|
|
12571
12589
|
acs_entrance_count: number;
|
|
12572
12590
|
customer_key?: string | undefined;
|
|
12573
12591
|
space_key?: string | undefined;
|
|
12592
|
+
customer_data?: {
|
|
12593
|
+
time_zone?: string | null | undefined;
|
|
12594
|
+
default_checkin_time?: string | null | undefined;
|
|
12595
|
+
default_checkout_time?: string | null | undefined;
|
|
12596
|
+
} | undefined;
|
|
12574
12597
|
parent_space_id?: string | undefined;
|
|
12575
12598
|
parent_space_key?: string | undefined;
|
|
12576
12599
|
}>, "many">>;
|
|
@@ -38241,6 +38264,11 @@ declare const batch: z.ZodObject<{
|
|
|
38241
38264
|
acs_entrance_count: number;
|
|
38242
38265
|
customer_key?: string | undefined;
|
|
38243
38266
|
space_key?: string | undefined;
|
|
38267
|
+
customer_data?: {
|
|
38268
|
+
time_zone?: string | null | undefined;
|
|
38269
|
+
default_checkin_time?: string | null | undefined;
|
|
38270
|
+
default_checkout_time?: string | null | undefined;
|
|
38271
|
+
} | undefined;
|
|
38244
38272
|
parent_space_id?: string | undefined;
|
|
38245
38273
|
parent_space_key?: string | undefined;
|
|
38246
38274
|
}[] | undefined;
|
|
@@ -43178,6 +43206,11 @@ declare const batch: z.ZodObject<{
|
|
|
43178
43206
|
acs_entrance_count: number;
|
|
43179
43207
|
customer_key?: string | undefined;
|
|
43180
43208
|
space_key?: string | undefined;
|
|
43209
|
+
customer_data?: {
|
|
43210
|
+
time_zone?: string | null | undefined;
|
|
43211
|
+
default_checkin_time?: string | null | undefined;
|
|
43212
|
+
default_checkout_time?: string | null | undefined;
|
|
43213
|
+
} | undefined;
|
|
43181
43214
|
parent_space_id?: string | undefined;
|
|
43182
43215
|
parent_space_key?: string | undefined;
|
|
43183
43216
|
}[] | undefined;
|
|
@@ -62989,6 +63022,19 @@ declare const space: z.ZodObject<{
|
|
|
62989
63022
|
device_count: z.ZodNumber;
|
|
62990
63023
|
acs_entrance_count: z.ZodNumber;
|
|
62991
63024
|
customer_key: z.ZodOptional<z.ZodString>;
|
|
63025
|
+
customer_data: z.ZodOptional<z.ZodObject<{
|
|
63026
|
+
time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63027
|
+
default_checkin_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63028
|
+
default_checkout_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63029
|
+
}, "strip", z.ZodTypeAny, {
|
|
63030
|
+
time_zone?: string | null | undefined;
|
|
63031
|
+
default_checkin_time?: string | null | undefined;
|
|
63032
|
+
default_checkout_time?: string | null | undefined;
|
|
63033
|
+
}, {
|
|
63034
|
+
time_zone?: string | null | undefined;
|
|
63035
|
+
default_checkin_time?: string | null | undefined;
|
|
63036
|
+
default_checkout_time?: string | null | undefined;
|
|
63037
|
+
}>>;
|
|
62992
63038
|
parent_space_id: z.ZodOptional<z.ZodString>;
|
|
62993
63039
|
parent_space_key: z.ZodOptional<z.ZodString>;
|
|
62994
63040
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -63001,6 +63047,11 @@ declare const space: z.ZodObject<{
|
|
|
63001
63047
|
acs_entrance_count: number;
|
|
63002
63048
|
customer_key?: string | undefined;
|
|
63003
63049
|
space_key?: string | undefined;
|
|
63050
|
+
customer_data?: {
|
|
63051
|
+
time_zone?: string | null | undefined;
|
|
63052
|
+
default_checkin_time?: string | null | undefined;
|
|
63053
|
+
default_checkout_time?: string | null | undefined;
|
|
63054
|
+
} | undefined;
|
|
63004
63055
|
parent_space_id?: string | undefined;
|
|
63005
63056
|
parent_space_key?: string | undefined;
|
|
63006
63057
|
}, {
|
|
@@ -63013,6 +63064,11 @@ declare const space: z.ZodObject<{
|
|
|
63013
63064
|
acs_entrance_count: number;
|
|
63014
63065
|
customer_key?: string | undefined;
|
|
63015
63066
|
space_key?: string | undefined;
|
|
63067
|
+
customer_data?: {
|
|
63068
|
+
time_zone?: string | null | undefined;
|
|
63069
|
+
default_checkin_time?: string | null | undefined;
|
|
63070
|
+
default_checkout_time?: string | null | undefined;
|
|
63071
|
+
} | undefined;
|
|
63016
63072
|
parent_space_id?: string | undefined;
|
|
63017
63073
|
parent_space_key?: string | undefined;
|
|
63018
63074
|
}>;
|
|
@@ -80084,6 +80140,29 @@ declare const _default: {
|
|
|
80084
80140
|
format: string;
|
|
80085
80141
|
type: string;
|
|
80086
80142
|
};
|
|
80143
|
+
customer_data: {
|
|
80144
|
+
description: string;
|
|
80145
|
+
properties: {
|
|
80146
|
+
default_checkin_time: {
|
|
80147
|
+
description: string;
|
|
80148
|
+
nullable: boolean;
|
|
80149
|
+
pattern: string;
|
|
80150
|
+
type: string;
|
|
80151
|
+
};
|
|
80152
|
+
default_checkout_time: {
|
|
80153
|
+
description: string;
|
|
80154
|
+
nullable: boolean;
|
|
80155
|
+
pattern: string;
|
|
80156
|
+
type: string;
|
|
80157
|
+
};
|
|
80158
|
+
time_zone: {
|
|
80159
|
+
description: string;
|
|
80160
|
+
nullable: boolean;
|
|
80161
|
+
type: string;
|
|
80162
|
+
};
|
|
80163
|
+
};
|
|
80164
|
+
type: string;
|
|
80165
|
+
};
|
|
80087
80166
|
customer_key: {
|
|
80088
80167
|
description: string;
|
|
80089
80168
|
type: string;
|
|
@@ -125990,6 +126069,29 @@ declare const _default: {
|
|
|
125990
126069
|
};
|
|
125991
126070
|
type: string;
|
|
125992
126071
|
};
|
|
126072
|
+
customer_data: {
|
|
126073
|
+
description: string;
|
|
126074
|
+
properties: {
|
|
126075
|
+
default_checkin_time: {
|
|
126076
|
+
description: string;
|
|
126077
|
+
nullable: boolean;
|
|
126078
|
+
pattern: string;
|
|
126079
|
+
type: string;
|
|
126080
|
+
};
|
|
126081
|
+
default_checkout_time: {
|
|
126082
|
+
description: string;
|
|
126083
|
+
nullable: boolean;
|
|
126084
|
+
pattern: string;
|
|
126085
|
+
type: string;
|
|
126086
|
+
};
|
|
126087
|
+
time_zone: {
|
|
126088
|
+
description: string;
|
|
126089
|
+
nullable: boolean;
|
|
126090
|
+
type: string;
|
|
126091
|
+
};
|
|
126092
|
+
};
|
|
126093
|
+
type: string;
|
|
126094
|
+
};
|
|
125993
126095
|
customer_key: {
|
|
125994
126096
|
description: string;
|
|
125995
126097
|
minLength: number;
|
|
@@ -127229,6 +127331,29 @@ declare const _default: {
|
|
|
127229
127331
|
};
|
|
127230
127332
|
type: string;
|
|
127231
127333
|
};
|
|
127334
|
+
customer_data: {
|
|
127335
|
+
description: string;
|
|
127336
|
+
properties: {
|
|
127337
|
+
default_checkin_time: {
|
|
127338
|
+
description: string;
|
|
127339
|
+
nullable: boolean;
|
|
127340
|
+
pattern: string;
|
|
127341
|
+
type: string;
|
|
127342
|
+
};
|
|
127343
|
+
default_checkout_time: {
|
|
127344
|
+
description: string;
|
|
127345
|
+
nullable: boolean;
|
|
127346
|
+
pattern: string;
|
|
127347
|
+
type: string;
|
|
127348
|
+
};
|
|
127349
|
+
time_zone: {
|
|
127350
|
+
description: string;
|
|
127351
|
+
nullable: boolean;
|
|
127352
|
+
type: string;
|
|
127353
|
+
};
|
|
127354
|
+
};
|
|
127355
|
+
type: string;
|
|
127356
|
+
};
|
|
127232
127357
|
customer_key: {
|
|
127233
127358
|
description: string;
|
|
127234
127359
|
minLength: number;
|
|
@@ -127333,6 +127458,29 @@ declare const _default: {
|
|
|
127333
127458
|
};
|
|
127334
127459
|
type: string;
|
|
127335
127460
|
};
|
|
127461
|
+
customer_data: {
|
|
127462
|
+
description: string;
|
|
127463
|
+
properties: {
|
|
127464
|
+
default_checkin_time: {
|
|
127465
|
+
description: string;
|
|
127466
|
+
nullable: boolean;
|
|
127467
|
+
pattern: string;
|
|
127468
|
+
type: string;
|
|
127469
|
+
};
|
|
127470
|
+
default_checkout_time: {
|
|
127471
|
+
description: string;
|
|
127472
|
+
nullable: boolean;
|
|
127473
|
+
pattern: string;
|
|
127474
|
+
type: string;
|
|
127475
|
+
};
|
|
127476
|
+
time_zone: {
|
|
127477
|
+
description: string;
|
|
127478
|
+
nullable: boolean;
|
|
127479
|
+
type: string;
|
|
127480
|
+
};
|
|
127481
|
+
};
|
|
127482
|
+
type: string;
|
|
127483
|
+
};
|
|
127336
127484
|
customer_key: {
|
|
127337
127485
|
description: string;
|
|
127338
127486
|
minLength: number;
|
|
@@ -148967,6 +149115,15 @@ type Routes = {
|
|
|
148967
149115
|
acs_entrance_count: number;
|
|
148968
149116
|
/** Customer key associated with the space. */
|
|
148969
149117
|
customer_key?: string | undefined;
|
|
149118
|
+
/** Reservation/stay-related defaults for the space. */
|
|
149119
|
+
customer_data?: {
|
|
149120
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
149121
|
+
time_zone?: (string | null) | undefined;
|
|
149122
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
149123
|
+
default_checkin_time?: (string | null) | undefined;
|
|
149124
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
149125
|
+
default_checkout_time?: (string | null) | undefined;
|
|
149126
|
+
} | undefined;
|
|
148970
149127
|
/** */
|
|
148971
149128
|
parent_space_id?: string | undefined;
|
|
148972
149129
|
/** */
|
|
@@ -153330,6 +153487,15 @@ type Routes = {
|
|
|
153330
153487
|
acs_entrance_count: number;
|
|
153331
153488
|
/** Customer key associated with the space. */
|
|
153332
153489
|
customer_key?: string | undefined;
|
|
153490
|
+
/** Reservation/stay-related defaults for the space. */
|
|
153491
|
+
customer_data?: {
|
|
153492
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
153493
|
+
time_zone?: (string | null) | undefined;
|
|
153494
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
153495
|
+
default_checkin_time?: (string | null) | undefined;
|
|
153496
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
153497
|
+
default_checkout_time?: (string | null) | undefined;
|
|
153498
|
+
} | undefined;
|
|
153333
153499
|
/** */
|
|
153334
153500
|
parent_space_id?: string | undefined;
|
|
153335
153501
|
/** */
|
|
@@ -205148,6 +205314,15 @@ type Routes = {
|
|
|
205148
205314
|
acs_entrance_count: number;
|
|
205149
205315
|
/** Customer key associated with the space. */
|
|
205150
205316
|
customer_key?: string | undefined;
|
|
205317
|
+
/** Reservation/stay-related defaults for the space. */
|
|
205318
|
+
customer_data?: {
|
|
205319
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
205320
|
+
time_zone?: (string | null) | undefined;
|
|
205321
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
205322
|
+
default_checkin_time?: (string | null) | undefined;
|
|
205323
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
205324
|
+
default_checkout_time?: (string | null) | undefined;
|
|
205325
|
+
} | undefined;
|
|
205151
205326
|
/** */
|
|
205152
205327
|
parent_space_id?: string | undefined;
|
|
205153
205328
|
/** */
|
|
@@ -205190,6 +205365,15 @@ type Routes = {
|
|
|
205190
205365
|
acs_entrance_count: number;
|
|
205191
205366
|
/** Customer key associated with the space. */
|
|
205192
205367
|
customer_key?: string | undefined;
|
|
205368
|
+
/** Reservation/stay-related defaults for the space. */
|
|
205369
|
+
customer_data?: {
|
|
205370
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
205371
|
+
time_zone?: (string | null) | undefined;
|
|
205372
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
205373
|
+
default_checkin_time?: (string | null) | undefined;
|
|
205374
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
205375
|
+
default_checkout_time?: (string | null) | undefined;
|
|
205376
|
+
} | undefined;
|
|
205193
205377
|
/** */
|
|
205194
205378
|
parent_space_id?: string | undefined;
|
|
205195
205379
|
/** */
|
|
@@ -206198,6 +206382,15 @@ type Routes = {
|
|
|
206198
206382
|
acs_entrance_ids?: string[] | undefined;
|
|
206199
206383
|
/** Customer key for which you want to create the space. */
|
|
206200
206384
|
customer_key?: string | undefined;
|
|
206385
|
+
/** Reservation/stay-related defaults for the space. */
|
|
206386
|
+
customer_data?: {
|
|
206387
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
206388
|
+
time_zone?: (string | null) | undefined;
|
|
206389
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
206390
|
+
default_checkin_time?: (string | null) | undefined;
|
|
206391
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
206392
|
+
default_checkout_time?: (string | null) | undefined;
|
|
206393
|
+
} | undefined;
|
|
206201
206394
|
};
|
|
206202
206395
|
commonParams: {};
|
|
206203
206396
|
formData: {};
|
|
@@ -206222,6 +206415,15 @@ type Routes = {
|
|
|
206222
206415
|
acs_entrance_count: number;
|
|
206223
206416
|
/** Customer key associated with the space. */
|
|
206224
206417
|
customer_key?: string | undefined;
|
|
206418
|
+
/** Reservation/stay-related defaults for the space. */
|
|
206419
|
+
customer_data?: {
|
|
206420
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
206421
|
+
time_zone?: (string | null) | undefined;
|
|
206422
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
206423
|
+
default_checkin_time?: (string | null) | undefined;
|
|
206424
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
206425
|
+
default_checkout_time?: (string | null) | undefined;
|
|
206426
|
+
} | undefined;
|
|
206225
206427
|
/** */
|
|
206226
206428
|
parent_space_id?: string | undefined;
|
|
206227
206429
|
/** */
|
|
@@ -206277,6 +206479,15 @@ type Routes = {
|
|
|
206277
206479
|
acs_entrance_count: number;
|
|
206278
206480
|
/** Customer key associated with the space. */
|
|
206279
206481
|
customer_key?: string | undefined;
|
|
206482
|
+
/** Reservation/stay-related defaults for the space. */
|
|
206483
|
+
customer_data?: {
|
|
206484
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
206485
|
+
time_zone?: (string | null) | undefined;
|
|
206486
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
206487
|
+
default_checkin_time?: (string | null) | undefined;
|
|
206488
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
206489
|
+
default_checkout_time?: (string | null) | undefined;
|
|
206490
|
+
} | undefined;
|
|
206280
206491
|
/** */
|
|
206281
206492
|
parent_space_id?: string | undefined;
|
|
206282
206493
|
/** */
|
|
@@ -206321,6 +206532,15 @@ type Routes = {
|
|
|
206321
206532
|
acs_entrance_count: number;
|
|
206322
206533
|
/** Customer key associated with the space. */
|
|
206323
206534
|
customer_key?: string | undefined;
|
|
206535
|
+
/** Reservation/stay-related defaults for the space. */
|
|
206536
|
+
customer_data?: {
|
|
206537
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
206538
|
+
time_zone?: (string | null) | undefined;
|
|
206539
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
206540
|
+
default_checkin_time?: (string | null) | undefined;
|
|
206541
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
206542
|
+
default_checkout_time?: (string | null) | undefined;
|
|
206543
|
+
} | undefined;
|
|
206324
206544
|
/** */
|
|
206325
206545
|
parent_space_id?: string | undefined;
|
|
206326
206546
|
/** */
|
|
@@ -208191,6 +208411,15 @@ type Routes = {
|
|
|
208191
208411
|
acs_entrance_count: number;
|
|
208192
208412
|
/** Customer key associated with the space. */
|
|
208193
208413
|
customer_key?: string | undefined;
|
|
208414
|
+
/** Reservation/stay-related defaults for the space. */
|
|
208415
|
+
customer_data?: {
|
|
208416
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
208417
|
+
time_zone?: (string | null) | undefined;
|
|
208418
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
208419
|
+
default_checkin_time?: (string | null) | undefined;
|
|
208420
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
208421
|
+
default_checkout_time?: (string | null) | undefined;
|
|
208422
|
+
} | undefined;
|
|
208194
208423
|
/** */
|
|
208195
208424
|
parent_space_id?: string | undefined;
|
|
208196
208425
|
/** */
|
|
@@ -208255,6 +208484,15 @@ type Routes = {
|
|
|
208255
208484
|
acs_entrance_ids?: string[] | undefined;
|
|
208256
208485
|
/** Customer key for which you want to update the space. */
|
|
208257
208486
|
customer_key?: string | undefined;
|
|
208487
|
+
/** 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. */
|
|
208488
|
+
customer_data?: {
|
|
208489
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
208490
|
+
time_zone?: (string | null) | undefined;
|
|
208491
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
208492
|
+
default_checkin_time?: (string | null) | undefined;
|
|
208493
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
208494
|
+
default_checkout_time?: (string | null) | undefined;
|
|
208495
|
+
} | undefined;
|
|
208258
208496
|
};
|
|
208259
208497
|
commonParams: {};
|
|
208260
208498
|
formData: {};
|
|
@@ -208279,6 +208517,15 @@ type Routes = {
|
|
|
208279
208517
|
acs_entrance_count: number;
|
|
208280
208518
|
/** Customer key associated with the space. */
|
|
208281
208519
|
customer_key?: string | undefined;
|
|
208520
|
+
/** Reservation/stay-related defaults for the space. */
|
|
208521
|
+
customer_data?: {
|
|
208522
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
208523
|
+
time_zone?: (string | null) | undefined;
|
|
208524
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
208525
|
+
default_checkin_time?: (string | null) | undefined;
|
|
208526
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
208527
|
+
default_checkout_time?: (string | null) | undefined;
|
|
208528
|
+
} | undefined;
|
|
208282
208529
|
/** */
|
|
208283
208530
|
parent_space_id?: string | undefined;
|
|
208284
208531
|
/** */
|
|
@@ -233501,6 +233748,15 @@ type Routes = {
|
|
|
233501
233748
|
acs_entrance_count: number;
|
|
233502
233749
|
/** Customer key associated with the space. */
|
|
233503
233750
|
customer_key?: string | undefined;
|
|
233751
|
+
/** Reservation/stay-related defaults for the space. */
|
|
233752
|
+
customer_data?: {
|
|
233753
|
+
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
233754
|
+
time_zone?: (string | null) | undefined;
|
|
233755
|
+
/** Default check-in time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
233756
|
+
default_checkin_time?: (string | null) | undefined;
|
|
233757
|
+
/** Default check-out time for reservations at the space, as HH:mm or HH:mm:ss. */
|
|
233758
|
+
default_checkout_time?: (string | null) | undefined;
|
|
233759
|
+
} | undefined;
|
|
233504
233760
|
/** */
|
|
233505
233761
|
parent_space_id?: string | undefined;
|
|
233506
233762
|
/** */
|
package/dist/index.cjs
CHANGED
|
@@ -2014,7 +2014,8 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
2014
2014
|
"keynest",
|
|
2015
2015
|
"hotek",
|
|
2016
2016
|
"ultraloq",
|
|
2017
|
-
"dormakaba_oracode"
|
|
2017
|
+
"dormakaba_oracode",
|
|
2018
|
+
"ring"
|
|
2018
2019
|
],
|
|
2019
2020
|
consumer_smartlocks: [
|
|
2020
2021
|
"akiles",
|
|
@@ -2032,7 +2033,7 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
2032
2033
|
"ultraloq",
|
|
2033
2034
|
"dormakaba_oracode"
|
|
2034
2035
|
],
|
|
2035
|
-
beta: ["korelock"
|
|
2036
|
+
beta: ["korelock"],
|
|
2036
2037
|
thermostats: ["ecobee", "nest", "sensi", "honeywell_resideo"],
|
|
2037
2038
|
noise_sensors: ["minut", "noiseaware"],
|
|
2038
2039
|
access_control_systems: [
|
|
@@ -6408,6 +6409,16 @@ var noise_threshold = zod.z.object({
|
|
|
6408
6409
|
---
|
|
6409
6410
|
Represents a [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/latest/capability-guides/noise-sensors). Thresholds represent the limits of noise tolerated at a property, which can be customized for each hour of the day. Each device has its own default thresholds, but you can use the Seam API to modify them.
|
|
6410
6411
|
`);
|
|
6412
|
+
var time_of_day_re = /^([01]\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/;
|
|
6413
|
+
var space_customer_data = zod.z.object({
|
|
6414
|
+
time_zone: zod.z.string().nullish().describe("IANA time zone for the space, e.g. America/Los_Angeles."),
|
|
6415
|
+
default_checkin_time: zod.z.string().regex(time_of_day_re).nullish().describe(
|
|
6416
|
+
"Default check-in time for reservations at the space, as HH:mm or HH:mm:ss."
|
|
6417
|
+
),
|
|
6418
|
+
default_checkout_time: zod.z.string().regex(time_of_day_re).nullish().describe(
|
|
6419
|
+
"Default check-out time for reservations at the space, as HH:mm or HH:mm:ss."
|
|
6420
|
+
)
|
|
6421
|
+
}).describe("Reservation/stay-related defaults for the space.");
|
|
6411
6422
|
var space = zod.z.object({
|
|
6412
6423
|
space_id: zod.z.string().uuid().describe("ID of the space."),
|
|
6413
6424
|
workspace_id: zod.z.string().uuid().describe(
|
|
@@ -6420,6 +6431,7 @@ var space = zod.z.object({
|
|
|
6420
6431
|
device_count: zod.z.number().describe("Number of devices in the space."),
|
|
6421
6432
|
acs_entrance_count: zod.z.number().describe("Number of entrances in the space."),
|
|
6422
6433
|
customer_key: zod.z.string().optional().describe("Customer key associated with the space."),
|
|
6434
|
+
customer_data: space_customer_data.optional(),
|
|
6423
6435
|
parent_space_id: zod.z.string().uuid().optional().describe(`
|
|
6424
6436
|
---
|
|
6425
6437
|
undocumented: Only used internally.
|
|
@@ -30016,6 +30028,29 @@ var openapi_default = {
|
|
|
30016
30028
|
format: "date-time",
|
|
30017
30029
|
type: "string"
|
|
30018
30030
|
},
|
|
30031
|
+
customer_data: {
|
|
30032
|
+
description: "Reservation/stay-related defaults for the space.",
|
|
30033
|
+
properties: {
|
|
30034
|
+
default_checkin_time: {
|
|
30035
|
+
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
30036
|
+
nullable: true,
|
|
30037
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
30038
|
+
type: "string"
|
|
30039
|
+
},
|
|
30040
|
+
default_checkout_time: {
|
|
30041
|
+
description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
30042
|
+
nullable: true,
|
|
30043
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
30044
|
+
type: "string"
|
|
30045
|
+
},
|
|
30046
|
+
time_zone: {
|
|
30047
|
+
description: "IANA time zone for the space, e.g. America/Los_Angeles.",
|
|
30048
|
+
nullable: true,
|
|
30049
|
+
type: "string"
|
|
30050
|
+
}
|
|
30051
|
+
},
|
|
30052
|
+
type: "object"
|
|
30053
|
+
},
|
|
30019
30054
|
customer_key: {
|
|
30020
30055
|
description: "Customer key associated with the space.",
|
|
30021
30056
|
type: "string"
|
|
@@ -74824,6 +74859,29 @@ var openapi_default = {
|
|
|
74824
74859
|
items: { format: "uuid", type: "string" },
|
|
74825
74860
|
type: "array"
|
|
74826
74861
|
},
|
|
74862
|
+
customer_data: {
|
|
74863
|
+
description: "Reservation/stay-related defaults for the space.",
|
|
74864
|
+
properties: {
|
|
74865
|
+
default_checkin_time: {
|
|
74866
|
+
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
74867
|
+
nullable: true,
|
|
74868
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
74869
|
+
type: "string"
|
|
74870
|
+
},
|
|
74871
|
+
default_checkout_time: {
|
|
74872
|
+
description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
74873
|
+
nullable: true,
|
|
74874
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
74875
|
+
type: "string"
|
|
74876
|
+
},
|
|
74877
|
+
time_zone: {
|
|
74878
|
+
description: "IANA time zone for the space, e.g. America/Los_Angeles.",
|
|
74879
|
+
nullable: true,
|
|
74880
|
+
type: "string"
|
|
74881
|
+
}
|
|
74882
|
+
},
|
|
74883
|
+
type: "object"
|
|
74884
|
+
},
|
|
74827
74885
|
customer_key: {
|
|
74828
74886
|
description: "Customer key for which you want to create the space.",
|
|
74829
74887
|
minLength: 1,
|
|
@@ -75762,6 +75820,29 @@ var openapi_default = {
|
|
|
75762
75820
|
items: { format: "uuid", type: "string" },
|
|
75763
75821
|
type: "array"
|
|
75764
75822
|
},
|
|
75823
|
+
customer_data: {
|
|
75824
|
+
description: "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.",
|
|
75825
|
+
properties: {
|
|
75826
|
+
default_checkin_time: {
|
|
75827
|
+
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
75828
|
+
nullable: true,
|
|
75829
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
75830
|
+
type: "string"
|
|
75831
|
+
},
|
|
75832
|
+
default_checkout_time: {
|
|
75833
|
+
description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
75834
|
+
nullable: true,
|
|
75835
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
75836
|
+
type: "string"
|
|
75837
|
+
},
|
|
75838
|
+
time_zone: {
|
|
75839
|
+
description: "IANA time zone for the space, e.g. America/Los_Angeles.",
|
|
75840
|
+
nullable: true,
|
|
75841
|
+
type: "string"
|
|
75842
|
+
}
|
|
75843
|
+
},
|
|
75844
|
+
type: "object"
|
|
75845
|
+
},
|
|
75765
75846
|
customer_key: {
|
|
75766
75847
|
description: "Customer key for which you want to update the space.",
|
|
75767
75848
|
minLength: 1,
|
|
@@ -75834,6 +75915,29 @@ var openapi_default = {
|
|
|
75834
75915
|
items: { format: "uuid", type: "string" },
|
|
75835
75916
|
type: "array"
|
|
75836
75917
|
},
|
|
75918
|
+
customer_data: {
|
|
75919
|
+
description: "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.",
|
|
75920
|
+
properties: {
|
|
75921
|
+
default_checkin_time: {
|
|
75922
|
+
description: "Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
75923
|
+
nullable: true,
|
|
75924
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
75925
|
+
type: "string"
|
|
75926
|
+
},
|
|
75927
|
+
default_checkout_time: {
|
|
75928
|
+
description: "Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.",
|
|
75929
|
+
nullable: true,
|
|
75930
|
+
pattern: "^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$",
|
|
75931
|
+
type: "string"
|
|
75932
|
+
},
|
|
75933
|
+
time_zone: {
|
|
75934
|
+
description: "IANA time zone for the space, e.g. America/Los_Angeles.",
|
|
75935
|
+
nullable: true,
|
|
75936
|
+
type: "string"
|
|
75937
|
+
}
|
|
75938
|
+
},
|
|
75939
|
+
type: "object"
|
|
75940
|
+
},
|
|
75837
75941
|
customer_key: {
|
|
75838
75942
|
description: "Customer key for which you want to update the space.",
|
|
75839
75943
|
minLength: 1,
|