@seamapi/types 1.809.0 → 1.810.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.
@@ -181,6 +181,19 @@ export declare const batch: z.ZodObject<{
181
181
  device_count: z.ZodNumber;
182
182
  acs_entrance_count: z.ZodNumber;
183
183
  customer_key: z.ZodOptional<z.ZodString>;
184
+ customer_data: z.ZodOptional<z.ZodObject<{
185
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
186
+ default_checkin_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
187
+ default_checkout_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
188
+ }, "strip", z.ZodTypeAny, {
189
+ time_zone?: string | null | undefined;
190
+ default_checkin_time?: string | null | undefined;
191
+ default_checkout_time?: string | null | undefined;
192
+ }, {
193
+ time_zone?: string | null | undefined;
194
+ default_checkin_time?: string | null | undefined;
195
+ default_checkout_time?: string | null | undefined;
196
+ }>>;
184
197
  parent_space_id: z.ZodOptional<z.ZodString>;
185
198
  parent_space_key: z.ZodOptional<z.ZodString>;
186
199
  }, "strip", z.ZodTypeAny, {
@@ -193,6 +206,11 @@ export declare const batch: z.ZodObject<{
193
206
  acs_entrance_count: number;
194
207
  customer_key?: string | undefined;
195
208
  space_key?: string | undefined;
209
+ customer_data?: {
210
+ time_zone?: string | null | undefined;
211
+ default_checkin_time?: string | null | undefined;
212
+ default_checkout_time?: string | null | undefined;
213
+ } | undefined;
196
214
  parent_space_id?: string | undefined;
197
215
  parent_space_key?: string | undefined;
198
216
  }, {
@@ -205,6 +223,11 @@ export declare const batch: z.ZodObject<{
205
223
  acs_entrance_count: number;
206
224
  customer_key?: string | undefined;
207
225
  space_key?: string | undefined;
226
+ customer_data?: {
227
+ time_zone?: string | null | undefined;
228
+ default_checkin_time?: string | null | undefined;
229
+ default_checkout_time?: string | null | undefined;
230
+ } | undefined;
208
231
  parent_space_id?: string | undefined;
209
232
  parent_space_key?: string | undefined;
210
233
  }>, "many">>;
@@ -25875,6 +25898,11 @@ export declare const batch: z.ZodObject<{
25875
25898
  acs_entrance_count: number;
25876
25899
  customer_key?: string | undefined;
25877
25900
  space_key?: string | undefined;
25901
+ customer_data?: {
25902
+ time_zone?: string | null | undefined;
25903
+ default_checkin_time?: string | null | undefined;
25904
+ default_checkout_time?: string | null | undefined;
25905
+ } | undefined;
25878
25906
  parent_space_id?: string | undefined;
25879
25907
  parent_space_key?: string | undefined;
25880
25908
  }[] | undefined;
@@ -30812,6 +30840,11 @@ export declare const batch: z.ZodObject<{
30812
30840
  acs_entrance_count: number;
30813
30841
  customer_key?: string | undefined;
30814
30842
  space_key?: string | undefined;
30843
+ customer_data?: {
30844
+ time_zone?: string | null | undefined;
30845
+ default_checkin_time?: string | null | undefined;
30846
+ default_checkout_time?: string | null | undefined;
30847
+ } | undefined;
30815
30848
  parent_space_id?: string | undefined;
30816
30849
  parent_space_key?: string | undefined;
30817
30850
  }[] | undefined;
@@ -1,4 +1,17 @@
1
1
  import { z } from 'zod';
2
+ export declare const space_customer_data: z.ZodObject<{
3
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
+ default_checkin_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
+ default_checkout_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ time_zone?: string | null | undefined;
8
+ default_checkin_time?: string | null | undefined;
9
+ default_checkout_time?: string | null | undefined;
10
+ }, {
11
+ time_zone?: string | null | undefined;
12
+ default_checkin_time?: string | null | undefined;
13
+ default_checkout_time?: string | null | undefined;
14
+ }>;
2
15
  export declare const space: z.ZodObject<{
3
16
  space_id: z.ZodString;
4
17
  workspace_id: z.ZodString;
@@ -9,6 +22,19 @@ export declare const space: z.ZodObject<{
9
22
  device_count: z.ZodNumber;
10
23
  acs_entrance_count: z.ZodNumber;
11
24
  customer_key: z.ZodOptional<z.ZodString>;
25
+ customer_data: z.ZodOptional<z.ZodObject<{
26
+ time_zone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ default_checkin_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ default_checkout_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ }, "strip", z.ZodTypeAny, {
30
+ time_zone?: string | null | undefined;
31
+ default_checkin_time?: string | null | undefined;
32
+ default_checkout_time?: string | null | undefined;
33
+ }, {
34
+ time_zone?: string | null | undefined;
35
+ default_checkin_time?: string | null | undefined;
36
+ default_checkout_time?: string | null | undefined;
37
+ }>>;
12
38
  parent_space_id: z.ZodOptional<z.ZodString>;
13
39
  parent_space_key: z.ZodOptional<z.ZodString>;
14
40
  }, "strip", z.ZodTypeAny, {
@@ -21,6 +47,11 @@ export declare const space: z.ZodObject<{
21
47
  acs_entrance_count: number;
22
48
  customer_key?: string | undefined;
23
49
  space_key?: string | undefined;
50
+ customer_data?: {
51
+ time_zone?: string | null | undefined;
52
+ default_checkin_time?: string | null | undefined;
53
+ default_checkout_time?: string | null | undefined;
54
+ } | undefined;
24
55
  parent_space_id?: string | undefined;
25
56
  parent_space_key?: string | undefined;
26
57
  }, {
@@ -33,6 +64,11 @@ export declare const space: z.ZodObject<{
33
64
  acs_entrance_count: number;
34
65
  customer_key?: string | undefined;
35
66
  space_key?: string | undefined;
67
+ customer_data?: {
68
+ time_zone?: string | null | undefined;
69
+ default_checkin_time?: string | null | undefined;
70
+ default_checkout_time?: string | null | undefined;
71
+ } | undefined;
36
72
  parent_space_id?: string | undefined;
37
73
  parent_space_key?: string | undefined;
38
74
  }>;
@@ -1,4 +1,23 @@
1
1
  import { z } from 'zod';
2
+ const time_of_day_re = /^([01]\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/;
3
+ export const space_customer_data = z
4
+ .object({
5
+ time_zone: z
6
+ .string()
7
+ .nullish()
8
+ .describe('IANA time zone for the space, e.g. America/Los_Angeles.'),
9
+ default_checkin_time: z
10
+ .string()
11
+ .regex(time_of_day_re)
12
+ .nullish()
13
+ .describe('Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.'),
14
+ default_checkout_time: z
15
+ .string()
16
+ .regex(time_of_day_re)
17
+ .nullish()
18
+ .describe('Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.'),
19
+ })
20
+ .describe('Reservation/stay-related defaults for the space.');
2
21
  export const space = z.object({
3
22
  space_id: z.string().uuid().describe('ID of the space.'),
4
23
  workspace_id: z
@@ -21,6 +40,7 @@ export const space = z.object({
21
40
  .string()
22
41
  .optional()
23
42
  .describe('Customer key associated with the space.'),
43
+ customer_data: space_customer_data.optional(),
24
44
  parent_space_id: z.string().uuid().optional().describe(`
25
45
  ---
26
46
  undocumented: Only used internally.
@@ -1 +1 @@
1
- {"version":3,"file":"space.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/spaces/space.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wGAAwG,CACzG;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IAChE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;IAC5D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iCAAiC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ACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,wGAAwG,CACzG;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IAChE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;IAC5D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IACpE,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;IAC5E,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,yCAAyC,CAAC;IACtD,aAAa,EAAE,mBAAmB,CAAC,QAAQ,EAAE;IAC7C,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;KAIpD,CAAC;IACJ,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;KAI9C,CAAC;CACL,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
@@ -16635,6 +16635,29 @@ declare const _default: {
16635
16635
  format: string;
16636
16636
  type: string;
16637
16637
  };
16638
+ customer_data: {
16639
+ description: string;
16640
+ properties: {
16641
+ default_checkin_time: {
16642
+ description: string;
16643
+ nullable: boolean;
16644
+ pattern: string;
16645
+ type: string;
16646
+ };
16647
+ default_checkout_time: {
16648
+ description: string;
16649
+ nullable: boolean;
16650
+ pattern: string;
16651
+ type: string;
16652
+ };
16653
+ time_zone: {
16654
+ description: string;
16655
+ nullable: boolean;
16656
+ type: string;
16657
+ };
16658
+ };
16659
+ type: string;
16660
+ };
16638
16661
  customer_key: {
16639
16662
  description: string;
16640
16663
  type: string;
@@ -62541,6 +62564,29 @@ declare const _default: {
62541
62564
  };
62542
62565
  type: string;
62543
62566
  };
62567
+ customer_data: {
62568
+ description: string;
62569
+ properties: {
62570
+ default_checkin_time: {
62571
+ description: string;
62572
+ nullable: boolean;
62573
+ pattern: string;
62574
+ type: string;
62575
+ };
62576
+ default_checkout_time: {
62577
+ description: string;
62578
+ nullable: boolean;
62579
+ pattern: string;
62580
+ type: string;
62581
+ };
62582
+ time_zone: {
62583
+ description: string;
62584
+ nullable: boolean;
62585
+ type: string;
62586
+ };
62587
+ };
62588
+ type: string;
62589
+ };
62544
62590
  customer_key: {
62545
62591
  description: string;
62546
62592
  minLength: number;
@@ -63780,6 +63826,29 @@ declare const _default: {
63780
63826
  };
63781
63827
  type: string;
63782
63828
  };
63829
+ customer_data: {
63830
+ description: string;
63831
+ properties: {
63832
+ default_checkin_time: {
63833
+ description: string;
63834
+ nullable: boolean;
63835
+ pattern: string;
63836
+ type: string;
63837
+ };
63838
+ default_checkout_time: {
63839
+ description: string;
63840
+ nullable: boolean;
63841
+ pattern: string;
63842
+ type: string;
63843
+ };
63844
+ time_zone: {
63845
+ description: string;
63846
+ nullable: boolean;
63847
+ type: string;
63848
+ };
63849
+ };
63850
+ type: string;
63851
+ };
63783
63852
  customer_key: {
63784
63853
  description: string;
63785
63854
  minLength: number;
@@ -63884,6 +63953,29 @@ declare const _default: {
63884
63953
  };
63885
63954
  type: string;
63886
63955
  };
63956
+ customer_data: {
63957
+ description: string;
63958
+ properties: {
63959
+ default_checkin_time: {
63960
+ description: string;
63961
+ nullable: boolean;
63962
+ pattern: string;
63963
+ type: string;
63964
+ };
63965
+ default_checkout_time: {
63966
+ description: string;
63967
+ nullable: boolean;
63968
+ pattern: string;
63969
+ type: string;
63970
+ };
63971
+ time_zone: {
63972
+ description: string;
63973
+ nullable: boolean;
63974
+ type: string;
63975
+ };
63976
+ };
63977
+ type: string;
63978
+ };
63887
63979
  customer_key: {
63888
63980
  description: string;
63889
63981
  minLength: number;
@@ -23172,6 +23172,29 @@ export default {
23172
23172
  format: 'date-time',
23173
23173
  type: 'string',
23174
23174
  },
23175
+ customer_data: {
23176
+ description: 'Reservation/stay-related defaults for the space.',
23177
+ properties: {
23178
+ default_checkin_time: {
23179
+ description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
23180
+ nullable: true,
23181
+ pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
23182
+ type: 'string',
23183
+ },
23184
+ default_checkout_time: {
23185
+ description: 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
23186
+ nullable: true,
23187
+ pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
23188
+ type: 'string',
23189
+ },
23190
+ time_zone: {
23191
+ description: 'IANA time zone for the space, e.g. America/Los_Angeles.',
23192
+ nullable: true,
23193
+ type: 'string',
23194
+ },
23195
+ },
23196
+ type: 'object',
23197
+ },
23175
23198
  customer_key: {
23176
23199
  description: 'Customer key associated with the space.',
23177
23200
  type: 'string',
@@ -67980,6 +68003,29 @@ export default {
67980
68003
  items: { format: 'uuid', type: 'string' },
67981
68004
  type: 'array',
67982
68005
  },
68006
+ customer_data: {
68007
+ description: 'Reservation/stay-related defaults for the space.',
68008
+ properties: {
68009
+ default_checkin_time: {
68010
+ description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
68011
+ nullable: true,
68012
+ pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
68013
+ type: 'string',
68014
+ },
68015
+ default_checkout_time: {
68016
+ description: 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
68017
+ nullable: true,
68018
+ pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
68019
+ type: 'string',
68020
+ },
68021
+ time_zone: {
68022
+ description: 'IANA time zone for the space, e.g. America/Los_Angeles.',
68023
+ nullable: true,
68024
+ type: 'string',
68025
+ },
68026
+ },
68027
+ type: 'object',
68028
+ },
67983
68029
  customer_key: {
67984
68030
  description: 'Customer key for which you want to create the space.',
67985
68031
  minLength: 1,
@@ -68918,6 +68964,29 @@ export default {
68918
68964
  items: { format: 'uuid', type: 'string' },
68919
68965
  type: 'array',
68920
68966
  },
68967
+ customer_data: {
68968
+ 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.',
68969
+ properties: {
68970
+ default_checkin_time: {
68971
+ description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
68972
+ nullable: true,
68973
+ pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
68974
+ type: 'string',
68975
+ },
68976
+ default_checkout_time: {
68977
+ description: 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
68978
+ nullable: true,
68979
+ pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
68980
+ type: 'string',
68981
+ },
68982
+ time_zone: {
68983
+ description: 'IANA time zone for the space, e.g. America/Los_Angeles.',
68984
+ nullable: true,
68985
+ type: 'string',
68986
+ },
68987
+ },
68988
+ type: 'object',
68989
+ },
68921
68990
  customer_key: {
68922
68991
  description: 'Customer key for which you want to update the space.',
68923
68992
  minLength: 1,
@@ -68990,6 +69059,29 @@ export default {
68990
69059
  items: { format: 'uuid', type: 'string' },
68991
69060
  type: 'array',
68992
69061
  },
69062
+ customer_data: {
69063
+ 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.',
69064
+ properties: {
69065
+ default_checkin_time: {
69066
+ description: 'Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.',
69067
+ nullable: true,
69068
+ pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
69069
+ type: 'string',
69070
+ },
69071
+ default_checkout_time: {
69072
+ description: 'Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.',
69073
+ nullable: true,
69074
+ pattern: '^([01]\\d|2[0-3]):[0-5]\\d(:[0-5]\\d)?$',
69075
+ type: 'string',
69076
+ },
69077
+ time_zone: {
69078
+ description: 'IANA time zone for the space, e.g. America/Los_Angeles.',
69079
+ nullable: true,
69080
+ type: 'string',
69081
+ },
69082
+ },
69083
+ type: 'object',
69084
+ },
68993
69085
  customer_key: {
68994
69086
  description: 'Customer key for which you want to update the space.',
68995
69087
  minLength: 1,