@seamapi/types 1.927.0 → 1.928.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 +5 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +36 -36
- package/dist/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/spaces/space.d.ts +23 -23
- package/lib/seam/connect/models/spaces/space.js +4 -1
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/openapi.js +2 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +13 -13
- package/package.json +1 -1
- package/src/lib/seam/connect/models/spaces/space.ts +6 -1
- package/src/lib/seam/connect/openapi.ts +3 -1
- package/src/lib/seam/connect/route-types.ts +13 -13
package/dist/connect.d.cts
CHANGED
|
@@ -28936,17 +28936,17 @@ declare const space: z.ZodObject<{
|
|
|
28936
28936
|
default_checkin_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28937
28937
|
default_checkout_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28938
28938
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28939
|
-
}, "strip", z.
|
|
28940
|
-
|
|
28941
|
-
|
|
28942
|
-
|
|
28943
|
-
address
|
|
28944
|
-
}, {
|
|
28945
|
-
|
|
28946
|
-
|
|
28947
|
-
|
|
28948
|
-
address
|
|
28949
|
-
}
|
|
28939
|
+
}, "strip", z.ZodOptional<z.ZodNullable<z.ZodString>>, z.objectOutputType<{
|
|
28940
|
+
time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28941
|
+
default_checkin_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28942
|
+
default_checkout_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28943
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28944
|
+
}, z.ZodOptional<z.ZodNullable<z.ZodString>>, "strip">, z.objectInputType<{
|
|
28945
|
+
time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28946
|
+
default_checkin_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28947
|
+
default_checkout_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28948
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28949
|
+
}, z.ZodOptional<z.ZodNullable<z.ZodString>>, "strip">>>;
|
|
28950
28950
|
geolocation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28951
28951
|
latitude: z.ZodNumber;
|
|
28952
28952
|
longitude: z.ZodNumber;
|
|
@@ -28969,12 +28969,12 @@ declare const space: z.ZodObject<{
|
|
|
28969
28969
|
acs_entrance_count: number;
|
|
28970
28970
|
customer_key?: string | undefined;
|
|
28971
28971
|
space_key?: string | undefined;
|
|
28972
|
-
customer_data?: {
|
|
28973
|
-
|
|
28974
|
-
|
|
28975
|
-
|
|
28976
|
-
address
|
|
28977
|
-
} | undefined;
|
|
28972
|
+
customer_data?: z.objectOutputType<{
|
|
28973
|
+
time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28974
|
+
default_checkin_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28975
|
+
default_checkout_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28976
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28977
|
+
}, z.ZodOptional<z.ZodNullable<z.ZodString>>, "strip"> | undefined;
|
|
28978
28978
|
geolocation?: {
|
|
28979
28979
|
latitude: number;
|
|
28980
28980
|
longitude: number;
|
|
@@ -28991,12 +28991,12 @@ declare const space: z.ZodObject<{
|
|
|
28991
28991
|
acs_entrance_count: number;
|
|
28992
28992
|
customer_key?: string | undefined;
|
|
28993
28993
|
space_key?: string | undefined;
|
|
28994
|
-
customer_data?: {
|
|
28995
|
-
|
|
28996
|
-
|
|
28997
|
-
|
|
28998
|
-
address
|
|
28999
|
-
} | undefined;
|
|
28994
|
+
customer_data?: z.objectInputType<{
|
|
28995
|
+
time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28996
|
+
default_checkin_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28997
|
+
default_checkout_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28998
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28999
|
+
}, z.ZodOptional<z.ZodNullable<z.ZodString>>, "strip"> | undefined;
|
|
29000
29000
|
geolocation?: {
|
|
29001
29001
|
latitude: number;
|
|
29002
29002
|
longitude: number;
|
|
@@ -41287,7 +41287,7 @@ type Routes = {
|
|
|
41287
41287
|
acs_entrance_count: number;
|
|
41288
41288
|
/** Customer key associated with the space. */
|
|
41289
41289
|
customer_key?: string | undefined;
|
|
41290
|
-
/** Reservation/stay-related defaults for the space. */
|
|
41290
|
+
/** Reservation/stay-related defaults for the space. Also carries the provider/PMS-supplied name under a `<connector_type>_name` key (e.g. `guesty_name`), which Seam preserves when you rename the space (read-only — managed by Seam). */
|
|
41291
41291
|
customer_data?: {
|
|
41292
41292
|
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
41293
41293
|
time_zone?: (string | null) | undefined;
|
|
@@ -47935,7 +47935,7 @@ type Routes = {
|
|
|
47935
47935
|
acs_entrance_count: number;
|
|
47936
47936
|
/** Customer key associated with the space. */
|
|
47937
47937
|
customer_key?: string | undefined;
|
|
47938
|
-
/** Reservation/stay-related defaults for the space. */
|
|
47938
|
+
/** Reservation/stay-related defaults for the space. Also carries the provider/PMS-supplied name under a `<connector_type>_name` key (e.g. `guesty_name`), which Seam preserves when you rename the space (read-only — managed by Seam). */
|
|
47939
47939
|
customer_data?: {
|
|
47940
47940
|
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
47941
47941
|
time_zone?: (string | null) | undefined;
|
|
@@ -103390,7 +103390,7 @@ type Routes = {
|
|
|
103390
103390
|
acs_entrance_count: number;
|
|
103391
103391
|
/** Customer key associated with the space. */
|
|
103392
103392
|
customer_key?: string | undefined;
|
|
103393
|
-
/** Reservation/stay-related defaults for the space. */
|
|
103393
|
+
/** Reservation/stay-related defaults for the space. Also carries the provider/PMS-supplied name under a `<connector_type>_name` key (e.g. `guesty_name`), which Seam preserves when you rename the space (read-only — managed by Seam). */
|
|
103394
103394
|
customer_data?: {
|
|
103395
103395
|
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
103396
103396
|
time_zone?: (string | null) | undefined;
|
|
@@ -103459,7 +103459,7 @@ type Routes = {
|
|
|
103459
103459
|
acs_entrance_count: number;
|
|
103460
103460
|
/** Customer key associated with the space. */
|
|
103461
103461
|
customer_key?: string | undefined;
|
|
103462
|
-
/** Reservation/stay-related defaults for the space. */
|
|
103462
|
+
/** Reservation/stay-related defaults for the space. Also carries the provider/PMS-supplied name under a `<connector_type>_name` key (e.g. `guesty_name`), which Seam preserves when you rename the space (read-only — managed by Seam). */
|
|
103463
103463
|
customer_data?: {
|
|
103464
103464
|
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
103465
103465
|
time_zone?: (string | null) | undefined;
|
|
@@ -103520,7 +103520,7 @@ type Routes = {
|
|
|
103520
103520
|
acs_entrance_count: number;
|
|
103521
103521
|
/** Customer key associated with the space. */
|
|
103522
103522
|
customer_key?: string | undefined;
|
|
103523
|
-
/** Reservation/stay-related defaults for the space. */
|
|
103523
|
+
/** Reservation/stay-related defaults for the space. Also carries the provider/PMS-supplied name under a `<connector_type>_name` key (e.g. `guesty_name`), which Seam preserves when you rename the space (read-only — managed by Seam). */
|
|
103524
103524
|
customer_data?: {
|
|
103525
103525
|
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
103526
103526
|
time_zone?: (string | null) | undefined;
|
|
@@ -110178,7 +110178,7 @@ type Routes = {
|
|
|
110178
110178
|
acs_entrance_count: number;
|
|
110179
110179
|
/** Customer key associated with the space. */
|
|
110180
110180
|
customer_key?: string | undefined;
|
|
110181
|
-
/** Reservation/stay-related defaults for the space. */
|
|
110181
|
+
/** Reservation/stay-related defaults for the space. Also carries the provider/PMS-supplied name under a `<connector_type>_name` key (e.g. `guesty_name`), which Seam preserves when you rename the space (read-only — managed by Seam). */
|
|
110182
110182
|
customer_data?: {
|
|
110183
110183
|
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
110184
110184
|
time_zone?: (string | null) | undefined;
|
|
@@ -110242,7 +110242,7 @@ type Routes = {
|
|
|
110242
110242
|
acs_entrance_count: number;
|
|
110243
110243
|
/** Customer key associated with the space. */
|
|
110244
110244
|
customer_key?: string | undefined;
|
|
110245
|
-
/** Reservation/stay-related defaults for the space. */
|
|
110245
|
+
/** Reservation/stay-related defaults for the space. Also carries the provider/PMS-supplied name under a `<connector_type>_name` key (e.g. `guesty_name`), which Seam preserves when you rename the space (read-only — managed by Seam). */
|
|
110246
110246
|
customer_data?: {
|
|
110247
110247
|
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
110248
110248
|
time_zone?: (string | null) | undefined;
|
|
@@ -111391,7 +111391,7 @@ type Routes = {
|
|
|
111391
111391
|
acs_entrance_count: number;
|
|
111392
111392
|
/** Customer key associated with the space. */
|
|
111393
111393
|
customer_key?: string | undefined;
|
|
111394
|
-
/** Reservation/stay-related defaults for the space. */
|
|
111394
|
+
/** Reservation/stay-related defaults for the space. Also carries the provider/PMS-supplied name under a `<connector_type>_name` key (e.g. `guesty_name`), which Seam preserves when you rename the space (read-only — managed by Seam). */
|
|
111395
111395
|
customer_data?: {
|
|
111396
111396
|
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
111397
111397
|
time_zone?: (string | null) | undefined;
|
|
@@ -111464,7 +111464,7 @@ type Routes = {
|
|
|
111464
111464
|
acs_entrance_count: number;
|
|
111465
111465
|
/** Customer key associated with the space. */
|
|
111466
111466
|
customer_key?: string | undefined;
|
|
111467
|
-
/** Reservation/stay-related defaults for the space. */
|
|
111467
|
+
/** Reservation/stay-related defaults for the space. Also carries the provider/PMS-supplied name under a `<connector_type>_name` key (e.g. `guesty_name`), which Seam preserves when you rename the space (read-only — managed by Seam). */
|
|
111468
111468
|
customer_data?: {
|
|
111469
111469
|
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
111470
111470
|
time_zone?: (string | null) | undefined;
|
|
@@ -111526,7 +111526,7 @@ type Routes = {
|
|
|
111526
111526
|
acs_entrance_count: number;
|
|
111527
111527
|
/** Customer key associated with the space. */
|
|
111528
111528
|
customer_key?: string | undefined;
|
|
111529
|
-
/** Reservation/stay-related defaults for the space. */
|
|
111529
|
+
/** Reservation/stay-related defaults for the space. Also carries the provider/PMS-supplied name under a `<connector_type>_name` key (e.g. `guesty_name`), which Seam preserves when you rename the space (read-only — managed by Seam). */
|
|
111530
111530
|
customer_data?: {
|
|
111531
111531
|
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
111532
111532
|
time_zone?: (string | null) | undefined;
|
|
@@ -113599,7 +113599,7 @@ type Routes = {
|
|
|
113599
113599
|
acs_entrance_count: number;
|
|
113600
113600
|
/** Customer key associated with the space. */
|
|
113601
113601
|
customer_key?: string | undefined;
|
|
113602
|
-
/** Reservation/stay-related defaults for the space. */
|
|
113602
|
+
/** Reservation/stay-related defaults for the space. Also carries the provider/PMS-supplied name under a `<connector_type>_name` key (e.g. `guesty_name`), which Seam preserves when you rename the space (read-only — managed by Seam). */
|
|
113603
113603
|
customer_data?: {
|
|
113604
113604
|
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
113605
113605
|
time_zone?: (string | null) | undefined;
|
|
@@ -113733,7 +113733,7 @@ type Routes = {
|
|
|
113733
113733
|
acs_entrance_count: number;
|
|
113734
113734
|
/** Customer key associated with the space. */
|
|
113735
113735
|
customer_key?: string | undefined;
|
|
113736
|
-
/** Reservation/stay-related defaults for the space. */
|
|
113736
|
+
/** Reservation/stay-related defaults for the space. Also carries the provider/PMS-supplied name under a `<connector_type>_name` key (e.g. `guesty_name`), which Seam preserves when you rename the space (read-only — managed by Seam). */
|
|
113737
113737
|
customer_data?: {
|
|
113738
113738
|
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
113739
113739
|
time_zone?: (string | null) | undefined;
|
|
@@ -143115,7 +143115,7 @@ type Routes = {
|
|
|
143115
143115
|
acs_entrance_count: number;
|
|
143116
143116
|
/** Customer key associated with the space. */
|
|
143117
143117
|
customer_key?: string | undefined;
|
|
143118
|
-
/** Reservation/stay-related defaults for the space. */
|
|
143118
|
+
/** Reservation/stay-related defaults for the space. Also carries the provider/PMS-supplied name under a `<connector_type>_name` key (e.g. `guesty_name`), which Seam preserves when you rename the space (read-only — managed by Seam). */
|
|
143119
143119
|
customer_data?: {
|
|
143120
143120
|
/** IANA time zone for the space, e.g. America/Los_Angeles. */
|
|
143121
143121
|
time_zone?: (string | null) | undefined;
|
package/dist/index.cjs
CHANGED
|
@@ -7052,7 +7052,9 @@ var space = zod.z.object({
|
|
|
7052
7052
|
device_count: zod.z.number().describe("Number of devices in the space."),
|
|
7053
7053
|
acs_entrance_count: zod.z.number().describe("Number of entrances in the space."),
|
|
7054
7054
|
customer_key: zod.z.string().optional().describe("Customer key associated with the space."),
|
|
7055
|
-
customer_data: space_customer_data.
|
|
7055
|
+
customer_data: space_customer_data.catchall(zod.z.string().nullish()).describe(
|
|
7056
|
+
"Reservation/stay-related defaults for the space. Also carries the provider/PMS-supplied name under a `<connector_type>_name` key (e.g. `guesty_name`), which Seam preserves when you rename the space (read-only \u2014 managed by Seam)."
|
|
7057
|
+
).optional(),
|
|
7056
7058
|
geolocation: space_geolocation.nullish().describe("Geographic coordinates (latitude and longitude) of the space."),
|
|
7057
7059
|
parent_space_id: zod.z.string().uuid().optional().describe(`
|
|
7058
7060
|
---
|
|
@@ -32950,7 +32952,8 @@ var openapi = {
|
|
|
32950
32952
|
type: "string"
|
|
32951
32953
|
},
|
|
32952
32954
|
customer_data: {
|
|
32953
|
-
|
|
32955
|
+
additionalProperties: { nullable: true, type: "string" },
|
|
32956
|
+
description: "Reservation/stay-related defaults for the space. Also carries the provider/PMS-supplied name under a `<connector_type>_name` key (e.g. `guesty_name`), which Seam preserves when you rename the space (read-only \u2014 managed by Seam).",
|
|
32954
32957
|
properties: {
|
|
32955
32958
|
address: {
|
|
32956
32959
|
description: "Postal address for the space.",
|