@seamapi/types 1.421.1 → 1.422.1
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 +1638 -591
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2655 -1028
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/customer/access-grant-resources.d.ts +420 -0
- package/lib/seam/connect/models/customer/access-grant-resources.js +111 -0
- package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -0
- package/lib/seam/connect/models/customer/business-vertical.d.ts +3 -0
- package/lib/seam/connect/models/customer/business-vertical.js +11 -0
- package/lib/seam/connect/models/customer/business-vertical.js.map +1 -0
- package/lib/seam/connect/models/customer/customer-data.d.ts +597 -0
- package/lib/seam/connect/models/customer/customer-data.js +67 -0
- package/lib/seam/connect/models/customer/customer-data.js.map +1 -0
- package/lib/seam/connect/models/customer/customer-portal.d.ts +71 -0
- package/lib/seam/connect/models/customer/customer-portal.js +34 -0
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -0
- package/lib/seam/connect/models/customer/index.d.ts +3 -0
- package/lib/seam/connect/models/customer/index.js +4 -0
- package/lib/seam/connect/models/customer/index.js.map +1 -0
- package/lib/seam/connect/models/customer/location-resources.d.ts +229 -0
- package/lib/seam/connect/models/customer/location-resources.js +55 -0
- package/lib/seam/connect/models/customer/location-resources.js.map +1 -0
- package/lib/seam/connect/models/customer/user-identity-resources.d.ts +205 -0
- package/lib/seam/connect/models/customer/user-identity-resources.js +50 -0
- package/lib/seam/connect/models/customer/user-identity-resources.js.map +1 -0
- package/lib/seam/connect/models/index.d.ts +4 -0
- package/lib/seam/connect/models/index.js +4 -0
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/models/partner/index.d.ts +0 -1
- package/lib/seam/connect/models/partner/index.js +0 -1
- package/lib/seam/connect/models/partner/index.js.map +1 -1
- package/lib/seam/connect/models/partner/magic-link.d.ts +2 -2
- package/lib/seam/connect/openapi.d.ts +1821 -658
- package/lib/seam/connect/openapi.js +1647 -600
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +580 -116
- package/package.json +2 -2
- package/src/lib/seam/connect/internal/schemas.ts +21 -3
- package/src/lib/seam/connect/models/customer/access-grant-resources.ts +129 -0
- package/src/lib/seam/connect/models/customer/business-vertical.ts +13 -0
- package/src/lib/seam/connect/models/customer/customer-data.ts +93 -0
- package/src/lib/seam/connect/models/customer/customer-portal.ts +39 -0
- package/src/lib/seam/connect/models/customer/index.ts +3 -0
- package/src/lib/seam/connect/models/customer/location-resources.ts +77 -0
- package/src/lib/seam/connect/models/customer/user-identity-resources.ts +68 -0
- package/src/lib/seam/connect/models/index.ts +4 -0
- package/src/lib/seam/connect/models/partner/index.ts +0 -1
- package/src/lib/seam/connect/openapi.ts +1802 -609
- package/src/lib/seam/connect/route-types.ts +670 -118
- package/lib/seam/connect/models/partner/resources.d.ts +0 -76
- package/lib/seam/connect/models/partner/resources.js +0 -87
- package/lib/seam/connect/models/partner/resources.js.map +0 -1
- package/src/lib/seam/connect/models/partner/resources.ts +0 -112
|
@@ -0,0 +1,597 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const customer_data: z.ZodObject<{
|
|
3
|
+
customer_key: z.ZodString;
|
|
4
|
+
spaces: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
}, {
|
|
7
|
+
space_key: z.ZodString;
|
|
8
|
+
}>, "strip", z.ZodTypeAny, {
|
|
9
|
+
name: string;
|
|
10
|
+
space_key: string;
|
|
11
|
+
}, {
|
|
12
|
+
name: string;
|
|
13
|
+
space_key: string;
|
|
14
|
+
}>, "many">>;
|
|
15
|
+
properties: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
16
|
+
name: z.ZodString;
|
|
17
|
+
}, {
|
|
18
|
+
property_key: z.ZodString;
|
|
19
|
+
}>, "strip", z.ZodTypeAny, {
|
|
20
|
+
name: string;
|
|
21
|
+
property_key: string;
|
|
22
|
+
}, {
|
|
23
|
+
name: string;
|
|
24
|
+
property_key: string;
|
|
25
|
+
}>, "many">>;
|
|
26
|
+
rooms: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
27
|
+
name: z.ZodString;
|
|
28
|
+
}, {
|
|
29
|
+
room_key: z.ZodString;
|
|
30
|
+
}>, "strip", z.ZodTypeAny, {
|
|
31
|
+
name: string;
|
|
32
|
+
room_key: string;
|
|
33
|
+
}, {
|
|
34
|
+
name: string;
|
|
35
|
+
room_key: string;
|
|
36
|
+
}>, "many">>;
|
|
37
|
+
common_areas: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
38
|
+
name: z.ZodString;
|
|
39
|
+
}, {
|
|
40
|
+
common_area_key: z.ZodString;
|
|
41
|
+
}>, "strip", z.ZodTypeAny, {
|
|
42
|
+
name: string;
|
|
43
|
+
common_area_key: string;
|
|
44
|
+
}, {
|
|
45
|
+
name: string;
|
|
46
|
+
common_area_key: string;
|
|
47
|
+
}>, "many">>;
|
|
48
|
+
units: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
49
|
+
name: z.ZodString;
|
|
50
|
+
}, {
|
|
51
|
+
unit_key: z.ZodString;
|
|
52
|
+
}>, "strip", z.ZodTypeAny, {
|
|
53
|
+
name: string;
|
|
54
|
+
unit_key: string;
|
|
55
|
+
}, {
|
|
56
|
+
name: string;
|
|
57
|
+
unit_key: string;
|
|
58
|
+
}>, "many">>;
|
|
59
|
+
facilities: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
60
|
+
name: z.ZodString;
|
|
61
|
+
}, {
|
|
62
|
+
facility_key: z.ZodString;
|
|
63
|
+
}>, "strip", z.ZodTypeAny, {
|
|
64
|
+
name: string;
|
|
65
|
+
facility_key: string;
|
|
66
|
+
}, {
|
|
67
|
+
name: string;
|
|
68
|
+
facility_key: string;
|
|
69
|
+
}>, "many">>;
|
|
70
|
+
buildings: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
71
|
+
name: z.ZodString;
|
|
72
|
+
}, {
|
|
73
|
+
building_key: z.ZodString;
|
|
74
|
+
}>, "strip", z.ZodTypeAny, {
|
|
75
|
+
name: string;
|
|
76
|
+
building_key: string;
|
|
77
|
+
}, {
|
|
78
|
+
name: string;
|
|
79
|
+
building_key: string;
|
|
80
|
+
}>, "many">>;
|
|
81
|
+
listings: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
82
|
+
name: z.ZodString;
|
|
83
|
+
}, {
|
|
84
|
+
listing_key: z.ZodString;
|
|
85
|
+
}>, "strip", z.ZodTypeAny, {
|
|
86
|
+
name: string;
|
|
87
|
+
listing_key: string;
|
|
88
|
+
}, {
|
|
89
|
+
name: string;
|
|
90
|
+
listing_key: string;
|
|
91
|
+
}>, "many">>;
|
|
92
|
+
guests: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
93
|
+
name: z.ZodString;
|
|
94
|
+
email_address: z.ZodOptional<z.ZodString>;
|
|
95
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
96
|
+
}, {
|
|
97
|
+
guest_key: z.ZodString;
|
|
98
|
+
}>, "strip", z.ZodTypeAny, {
|
|
99
|
+
name: string;
|
|
100
|
+
guest_key: string;
|
|
101
|
+
email_address?: string | undefined;
|
|
102
|
+
phone_number?: string | undefined;
|
|
103
|
+
}, {
|
|
104
|
+
name: string;
|
|
105
|
+
guest_key: string;
|
|
106
|
+
email_address?: string | undefined;
|
|
107
|
+
phone_number?: string | undefined;
|
|
108
|
+
}>, "many">>;
|
|
109
|
+
tenants: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
110
|
+
name: z.ZodString;
|
|
111
|
+
email_address: z.ZodOptional<z.ZodString>;
|
|
112
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
113
|
+
}, {
|
|
114
|
+
tenant_key: z.ZodString;
|
|
115
|
+
}>, "strip", z.ZodTypeAny, {
|
|
116
|
+
name: string;
|
|
117
|
+
tenant_key: string;
|
|
118
|
+
email_address?: string | undefined;
|
|
119
|
+
phone_number?: string | undefined;
|
|
120
|
+
}, {
|
|
121
|
+
name: string;
|
|
122
|
+
tenant_key: string;
|
|
123
|
+
email_address?: string | undefined;
|
|
124
|
+
phone_number?: string | undefined;
|
|
125
|
+
}>, "many">>;
|
|
126
|
+
residents: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
127
|
+
name: z.ZodString;
|
|
128
|
+
email_address: z.ZodOptional<z.ZodString>;
|
|
129
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
130
|
+
}, {
|
|
131
|
+
resident_key: z.ZodString;
|
|
132
|
+
}>, "strip", z.ZodTypeAny, {
|
|
133
|
+
name: string;
|
|
134
|
+
resident_key: string;
|
|
135
|
+
email_address?: string | undefined;
|
|
136
|
+
phone_number?: string | undefined;
|
|
137
|
+
}, {
|
|
138
|
+
name: string;
|
|
139
|
+
resident_key: string;
|
|
140
|
+
email_address?: string | undefined;
|
|
141
|
+
phone_number?: string | undefined;
|
|
142
|
+
}>, "many">>;
|
|
143
|
+
users: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
144
|
+
name: z.ZodString;
|
|
145
|
+
email_address: z.ZodOptional<z.ZodString>;
|
|
146
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
147
|
+
}, {
|
|
148
|
+
user_key: z.ZodString;
|
|
149
|
+
}>, "strip", z.ZodTypeAny, {
|
|
150
|
+
name: string;
|
|
151
|
+
user_key: string;
|
|
152
|
+
email_address?: string | undefined;
|
|
153
|
+
phone_number?: string | undefined;
|
|
154
|
+
}, {
|
|
155
|
+
name: string;
|
|
156
|
+
user_key: string;
|
|
157
|
+
email_address?: string | undefined;
|
|
158
|
+
phone_number?: string | undefined;
|
|
159
|
+
}>, "many">>;
|
|
160
|
+
user_identities: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
161
|
+
name: z.ZodString;
|
|
162
|
+
email_address: z.ZodOptional<z.ZodString>;
|
|
163
|
+
phone_number: z.ZodOptional<z.ZodString>;
|
|
164
|
+
}, {
|
|
165
|
+
user_identity_key: z.ZodString;
|
|
166
|
+
}>, "strip", z.ZodTypeAny, {
|
|
167
|
+
name: string;
|
|
168
|
+
user_identity_key: string;
|
|
169
|
+
email_address?: string | undefined;
|
|
170
|
+
phone_number?: string | undefined;
|
|
171
|
+
}, {
|
|
172
|
+
name: string;
|
|
173
|
+
user_identity_key: string;
|
|
174
|
+
email_address?: string | undefined;
|
|
175
|
+
phone_number?: string | undefined;
|
|
176
|
+
}>, "many">>;
|
|
177
|
+
reservations: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
178
|
+
name: z.ZodString;
|
|
179
|
+
starts_at: z.ZodOptional<z.ZodString>;
|
|
180
|
+
ends_at: z.ZodOptional<z.ZodString>;
|
|
181
|
+
}, {
|
|
182
|
+
reservation_key: z.ZodString;
|
|
183
|
+
}>, {
|
|
184
|
+
guest_key: z.ZodOptional<z.ZodString>;
|
|
185
|
+
tenant_key: z.ZodOptional<z.ZodString>;
|
|
186
|
+
resident_key: z.ZodOptional<z.ZodString>;
|
|
187
|
+
user_key: z.ZodOptional<z.ZodString>;
|
|
188
|
+
user_identity_key: z.ZodOptional<z.ZodString>;
|
|
189
|
+
}>, {
|
|
190
|
+
space_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
191
|
+
property_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
192
|
+
room_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
193
|
+
common_area_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
194
|
+
unit_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
195
|
+
facility_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
196
|
+
building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
197
|
+
listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
198
|
+
}>, "strip", z.ZodTypeAny, {
|
|
199
|
+
name: string;
|
|
200
|
+
reservation_key: string;
|
|
201
|
+
starts_at?: string | undefined;
|
|
202
|
+
ends_at?: string | undefined;
|
|
203
|
+
guest_key?: string | undefined;
|
|
204
|
+
tenant_key?: string | undefined;
|
|
205
|
+
resident_key?: string | undefined;
|
|
206
|
+
user_key?: string | undefined;
|
|
207
|
+
user_identity_key?: string | undefined;
|
|
208
|
+
space_keys?: string[] | undefined;
|
|
209
|
+
property_keys?: string[] | undefined;
|
|
210
|
+
room_keys?: string[] | undefined;
|
|
211
|
+
common_area_keys?: string[] | undefined;
|
|
212
|
+
unit_keys?: string[] | undefined;
|
|
213
|
+
facility_keys?: string[] | undefined;
|
|
214
|
+
building_keys?: string[] | undefined;
|
|
215
|
+
listing_keys?: string[] | undefined;
|
|
216
|
+
}, {
|
|
217
|
+
name: string;
|
|
218
|
+
reservation_key: string;
|
|
219
|
+
starts_at?: string | undefined;
|
|
220
|
+
ends_at?: string | undefined;
|
|
221
|
+
guest_key?: string | undefined;
|
|
222
|
+
tenant_key?: string | undefined;
|
|
223
|
+
resident_key?: string | undefined;
|
|
224
|
+
user_key?: string | undefined;
|
|
225
|
+
user_identity_key?: string | undefined;
|
|
226
|
+
space_keys?: string[] | undefined;
|
|
227
|
+
property_keys?: string[] | undefined;
|
|
228
|
+
room_keys?: string[] | undefined;
|
|
229
|
+
common_area_keys?: string[] | undefined;
|
|
230
|
+
unit_keys?: string[] | undefined;
|
|
231
|
+
facility_keys?: string[] | undefined;
|
|
232
|
+
building_keys?: string[] | undefined;
|
|
233
|
+
listing_keys?: string[] | undefined;
|
|
234
|
+
}>, "many">>;
|
|
235
|
+
bookings: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
236
|
+
name: z.ZodString;
|
|
237
|
+
starts_at: z.ZodOptional<z.ZodString>;
|
|
238
|
+
ends_at: z.ZodOptional<z.ZodString>;
|
|
239
|
+
}, {
|
|
240
|
+
booking_key: z.ZodString;
|
|
241
|
+
}>, {
|
|
242
|
+
guest_key: z.ZodOptional<z.ZodString>;
|
|
243
|
+
tenant_key: z.ZodOptional<z.ZodString>;
|
|
244
|
+
resident_key: z.ZodOptional<z.ZodString>;
|
|
245
|
+
user_key: z.ZodOptional<z.ZodString>;
|
|
246
|
+
user_identity_key: z.ZodOptional<z.ZodString>;
|
|
247
|
+
}>, {
|
|
248
|
+
space_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
249
|
+
property_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
250
|
+
room_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
251
|
+
common_area_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
252
|
+
unit_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
253
|
+
facility_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
254
|
+
building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
255
|
+
listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
256
|
+
}>, "strip", z.ZodTypeAny, {
|
|
257
|
+
name: string;
|
|
258
|
+
booking_key: string;
|
|
259
|
+
starts_at?: string | undefined;
|
|
260
|
+
ends_at?: string | undefined;
|
|
261
|
+
guest_key?: string | undefined;
|
|
262
|
+
tenant_key?: string | undefined;
|
|
263
|
+
resident_key?: string | undefined;
|
|
264
|
+
user_key?: string | undefined;
|
|
265
|
+
user_identity_key?: string | undefined;
|
|
266
|
+
space_keys?: string[] | undefined;
|
|
267
|
+
property_keys?: string[] | undefined;
|
|
268
|
+
room_keys?: string[] | undefined;
|
|
269
|
+
common_area_keys?: string[] | undefined;
|
|
270
|
+
unit_keys?: string[] | undefined;
|
|
271
|
+
facility_keys?: string[] | undefined;
|
|
272
|
+
building_keys?: string[] | undefined;
|
|
273
|
+
listing_keys?: string[] | undefined;
|
|
274
|
+
}, {
|
|
275
|
+
name: string;
|
|
276
|
+
booking_key: string;
|
|
277
|
+
starts_at?: string | undefined;
|
|
278
|
+
ends_at?: string | undefined;
|
|
279
|
+
guest_key?: string | undefined;
|
|
280
|
+
tenant_key?: string | undefined;
|
|
281
|
+
resident_key?: string | undefined;
|
|
282
|
+
user_key?: string | undefined;
|
|
283
|
+
user_identity_key?: string | undefined;
|
|
284
|
+
space_keys?: string[] | undefined;
|
|
285
|
+
property_keys?: string[] | undefined;
|
|
286
|
+
room_keys?: string[] | undefined;
|
|
287
|
+
common_area_keys?: string[] | undefined;
|
|
288
|
+
unit_keys?: string[] | undefined;
|
|
289
|
+
facility_keys?: string[] | undefined;
|
|
290
|
+
building_keys?: string[] | undefined;
|
|
291
|
+
listing_keys?: string[] | undefined;
|
|
292
|
+
}>, "many">>;
|
|
293
|
+
access_grants: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
294
|
+
name: z.ZodString;
|
|
295
|
+
starts_at: z.ZodOptional<z.ZodString>;
|
|
296
|
+
ends_at: z.ZodOptional<z.ZodString>;
|
|
297
|
+
}, {
|
|
298
|
+
access_grant_key: z.ZodString;
|
|
299
|
+
}>, {
|
|
300
|
+
guest_key: z.ZodOptional<z.ZodString>;
|
|
301
|
+
tenant_key: z.ZodOptional<z.ZodString>;
|
|
302
|
+
resident_key: z.ZodOptional<z.ZodString>;
|
|
303
|
+
user_key: z.ZodOptional<z.ZodString>;
|
|
304
|
+
user_identity_key: z.ZodOptional<z.ZodString>;
|
|
305
|
+
}>, {
|
|
306
|
+
space_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
307
|
+
property_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
308
|
+
room_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
309
|
+
common_area_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
310
|
+
unit_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
311
|
+
facility_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
312
|
+
building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
313
|
+
listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
314
|
+
}>, "strip", z.ZodTypeAny, {
|
|
315
|
+
name: string;
|
|
316
|
+
access_grant_key: string;
|
|
317
|
+
starts_at?: string | undefined;
|
|
318
|
+
ends_at?: string | undefined;
|
|
319
|
+
guest_key?: string | undefined;
|
|
320
|
+
tenant_key?: string | undefined;
|
|
321
|
+
resident_key?: string | undefined;
|
|
322
|
+
user_key?: string | undefined;
|
|
323
|
+
user_identity_key?: string | undefined;
|
|
324
|
+
space_keys?: string[] | undefined;
|
|
325
|
+
property_keys?: string[] | undefined;
|
|
326
|
+
room_keys?: string[] | undefined;
|
|
327
|
+
common_area_keys?: string[] | undefined;
|
|
328
|
+
unit_keys?: string[] | undefined;
|
|
329
|
+
facility_keys?: string[] | undefined;
|
|
330
|
+
building_keys?: string[] | undefined;
|
|
331
|
+
listing_keys?: string[] | undefined;
|
|
332
|
+
}, {
|
|
333
|
+
name: string;
|
|
334
|
+
access_grant_key: string;
|
|
335
|
+
starts_at?: string | undefined;
|
|
336
|
+
ends_at?: string | undefined;
|
|
337
|
+
guest_key?: string | undefined;
|
|
338
|
+
tenant_key?: string | undefined;
|
|
339
|
+
resident_key?: string | undefined;
|
|
340
|
+
user_key?: string | undefined;
|
|
341
|
+
user_identity_key?: string | undefined;
|
|
342
|
+
space_keys?: string[] | undefined;
|
|
343
|
+
property_keys?: string[] | undefined;
|
|
344
|
+
room_keys?: string[] | undefined;
|
|
345
|
+
common_area_keys?: string[] | undefined;
|
|
346
|
+
unit_keys?: string[] | undefined;
|
|
347
|
+
facility_keys?: string[] | undefined;
|
|
348
|
+
building_keys?: string[] | undefined;
|
|
349
|
+
listing_keys?: string[] | undefined;
|
|
350
|
+
}>, "many">>;
|
|
351
|
+
}, "strip", z.ZodTypeAny, {
|
|
352
|
+
customer_key: string;
|
|
353
|
+
properties?: {
|
|
354
|
+
name: string;
|
|
355
|
+
property_key: string;
|
|
356
|
+
}[] | undefined;
|
|
357
|
+
spaces?: {
|
|
358
|
+
name: string;
|
|
359
|
+
space_key: string;
|
|
360
|
+
}[] | undefined;
|
|
361
|
+
rooms?: {
|
|
362
|
+
name: string;
|
|
363
|
+
room_key: string;
|
|
364
|
+
}[] | undefined;
|
|
365
|
+
common_areas?: {
|
|
366
|
+
name: string;
|
|
367
|
+
common_area_key: string;
|
|
368
|
+
}[] | undefined;
|
|
369
|
+
units?: {
|
|
370
|
+
name: string;
|
|
371
|
+
unit_key: string;
|
|
372
|
+
}[] | undefined;
|
|
373
|
+
facilities?: {
|
|
374
|
+
name: string;
|
|
375
|
+
facility_key: string;
|
|
376
|
+
}[] | undefined;
|
|
377
|
+
buildings?: {
|
|
378
|
+
name: string;
|
|
379
|
+
building_key: string;
|
|
380
|
+
}[] | undefined;
|
|
381
|
+
listings?: {
|
|
382
|
+
name: string;
|
|
383
|
+
listing_key: string;
|
|
384
|
+
}[] | undefined;
|
|
385
|
+
guests?: {
|
|
386
|
+
name: string;
|
|
387
|
+
guest_key: string;
|
|
388
|
+
email_address?: string | undefined;
|
|
389
|
+
phone_number?: string | undefined;
|
|
390
|
+
}[] | undefined;
|
|
391
|
+
tenants?: {
|
|
392
|
+
name: string;
|
|
393
|
+
tenant_key: string;
|
|
394
|
+
email_address?: string | undefined;
|
|
395
|
+
phone_number?: string | undefined;
|
|
396
|
+
}[] | undefined;
|
|
397
|
+
residents?: {
|
|
398
|
+
name: string;
|
|
399
|
+
resident_key: string;
|
|
400
|
+
email_address?: string | undefined;
|
|
401
|
+
phone_number?: string | undefined;
|
|
402
|
+
}[] | undefined;
|
|
403
|
+
users?: {
|
|
404
|
+
name: string;
|
|
405
|
+
user_key: string;
|
|
406
|
+
email_address?: string | undefined;
|
|
407
|
+
phone_number?: string | undefined;
|
|
408
|
+
}[] | undefined;
|
|
409
|
+
user_identities?: {
|
|
410
|
+
name: string;
|
|
411
|
+
user_identity_key: string;
|
|
412
|
+
email_address?: string | undefined;
|
|
413
|
+
phone_number?: string | undefined;
|
|
414
|
+
}[] | undefined;
|
|
415
|
+
reservations?: {
|
|
416
|
+
name: string;
|
|
417
|
+
reservation_key: string;
|
|
418
|
+
starts_at?: string | undefined;
|
|
419
|
+
ends_at?: string | undefined;
|
|
420
|
+
guest_key?: string | undefined;
|
|
421
|
+
tenant_key?: string | undefined;
|
|
422
|
+
resident_key?: string | undefined;
|
|
423
|
+
user_key?: string | undefined;
|
|
424
|
+
user_identity_key?: string | undefined;
|
|
425
|
+
space_keys?: string[] | undefined;
|
|
426
|
+
property_keys?: string[] | undefined;
|
|
427
|
+
room_keys?: string[] | undefined;
|
|
428
|
+
common_area_keys?: string[] | undefined;
|
|
429
|
+
unit_keys?: string[] | undefined;
|
|
430
|
+
facility_keys?: string[] | undefined;
|
|
431
|
+
building_keys?: string[] | undefined;
|
|
432
|
+
listing_keys?: string[] | undefined;
|
|
433
|
+
}[] | undefined;
|
|
434
|
+
bookings?: {
|
|
435
|
+
name: string;
|
|
436
|
+
booking_key: string;
|
|
437
|
+
starts_at?: string | undefined;
|
|
438
|
+
ends_at?: string | undefined;
|
|
439
|
+
guest_key?: string | undefined;
|
|
440
|
+
tenant_key?: string | undefined;
|
|
441
|
+
resident_key?: string | undefined;
|
|
442
|
+
user_key?: string | undefined;
|
|
443
|
+
user_identity_key?: string | undefined;
|
|
444
|
+
space_keys?: string[] | undefined;
|
|
445
|
+
property_keys?: string[] | undefined;
|
|
446
|
+
room_keys?: string[] | undefined;
|
|
447
|
+
common_area_keys?: string[] | undefined;
|
|
448
|
+
unit_keys?: string[] | undefined;
|
|
449
|
+
facility_keys?: string[] | undefined;
|
|
450
|
+
building_keys?: string[] | undefined;
|
|
451
|
+
listing_keys?: string[] | undefined;
|
|
452
|
+
}[] | undefined;
|
|
453
|
+
access_grants?: {
|
|
454
|
+
name: string;
|
|
455
|
+
access_grant_key: string;
|
|
456
|
+
starts_at?: string | undefined;
|
|
457
|
+
ends_at?: string | undefined;
|
|
458
|
+
guest_key?: string | undefined;
|
|
459
|
+
tenant_key?: string | undefined;
|
|
460
|
+
resident_key?: string | undefined;
|
|
461
|
+
user_key?: string | undefined;
|
|
462
|
+
user_identity_key?: string | undefined;
|
|
463
|
+
space_keys?: string[] | undefined;
|
|
464
|
+
property_keys?: string[] | undefined;
|
|
465
|
+
room_keys?: string[] | undefined;
|
|
466
|
+
common_area_keys?: string[] | undefined;
|
|
467
|
+
unit_keys?: string[] | undefined;
|
|
468
|
+
facility_keys?: string[] | undefined;
|
|
469
|
+
building_keys?: string[] | undefined;
|
|
470
|
+
listing_keys?: string[] | undefined;
|
|
471
|
+
}[] | undefined;
|
|
472
|
+
}, {
|
|
473
|
+
customer_key: string;
|
|
474
|
+
properties?: {
|
|
475
|
+
name: string;
|
|
476
|
+
property_key: string;
|
|
477
|
+
}[] | undefined;
|
|
478
|
+
spaces?: {
|
|
479
|
+
name: string;
|
|
480
|
+
space_key: string;
|
|
481
|
+
}[] | undefined;
|
|
482
|
+
rooms?: {
|
|
483
|
+
name: string;
|
|
484
|
+
room_key: string;
|
|
485
|
+
}[] | undefined;
|
|
486
|
+
common_areas?: {
|
|
487
|
+
name: string;
|
|
488
|
+
common_area_key: string;
|
|
489
|
+
}[] | undefined;
|
|
490
|
+
units?: {
|
|
491
|
+
name: string;
|
|
492
|
+
unit_key: string;
|
|
493
|
+
}[] | undefined;
|
|
494
|
+
facilities?: {
|
|
495
|
+
name: string;
|
|
496
|
+
facility_key: string;
|
|
497
|
+
}[] | undefined;
|
|
498
|
+
buildings?: {
|
|
499
|
+
name: string;
|
|
500
|
+
building_key: string;
|
|
501
|
+
}[] | undefined;
|
|
502
|
+
listings?: {
|
|
503
|
+
name: string;
|
|
504
|
+
listing_key: string;
|
|
505
|
+
}[] | undefined;
|
|
506
|
+
guests?: {
|
|
507
|
+
name: string;
|
|
508
|
+
guest_key: string;
|
|
509
|
+
email_address?: string | undefined;
|
|
510
|
+
phone_number?: string | undefined;
|
|
511
|
+
}[] | undefined;
|
|
512
|
+
tenants?: {
|
|
513
|
+
name: string;
|
|
514
|
+
tenant_key: string;
|
|
515
|
+
email_address?: string | undefined;
|
|
516
|
+
phone_number?: string | undefined;
|
|
517
|
+
}[] | undefined;
|
|
518
|
+
residents?: {
|
|
519
|
+
name: string;
|
|
520
|
+
resident_key: string;
|
|
521
|
+
email_address?: string | undefined;
|
|
522
|
+
phone_number?: string | undefined;
|
|
523
|
+
}[] | undefined;
|
|
524
|
+
users?: {
|
|
525
|
+
name: string;
|
|
526
|
+
user_key: string;
|
|
527
|
+
email_address?: string | undefined;
|
|
528
|
+
phone_number?: string | undefined;
|
|
529
|
+
}[] | undefined;
|
|
530
|
+
user_identities?: {
|
|
531
|
+
name: string;
|
|
532
|
+
user_identity_key: string;
|
|
533
|
+
email_address?: string | undefined;
|
|
534
|
+
phone_number?: string | undefined;
|
|
535
|
+
}[] | undefined;
|
|
536
|
+
reservations?: {
|
|
537
|
+
name: string;
|
|
538
|
+
reservation_key: string;
|
|
539
|
+
starts_at?: string | undefined;
|
|
540
|
+
ends_at?: string | undefined;
|
|
541
|
+
guest_key?: string | undefined;
|
|
542
|
+
tenant_key?: string | undefined;
|
|
543
|
+
resident_key?: string | undefined;
|
|
544
|
+
user_key?: string | undefined;
|
|
545
|
+
user_identity_key?: string | undefined;
|
|
546
|
+
space_keys?: string[] | undefined;
|
|
547
|
+
property_keys?: string[] | undefined;
|
|
548
|
+
room_keys?: string[] | undefined;
|
|
549
|
+
common_area_keys?: string[] | undefined;
|
|
550
|
+
unit_keys?: string[] | undefined;
|
|
551
|
+
facility_keys?: string[] | undefined;
|
|
552
|
+
building_keys?: string[] | undefined;
|
|
553
|
+
listing_keys?: string[] | undefined;
|
|
554
|
+
}[] | undefined;
|
|
555
|
+
bookings?: {
|
|
556
|
+
name: string;
|
|
557
|
+
booking_key: string;
|
|
558
|
+
starts_at?: string | undefined;
|
|
559
|
+
ends_at?: string | undefined;
|
|
560
|
+
guest_key?: string | undefined;
|
|
561
|
+
tenant_key?: string | undefined;
|
|
562
|
+
resident_key?: string | undefined;
|
|
563
|
+
user_key?: string | undefined;
|
|
564
|
+
user_identity_key?: string | undefined;
|
|
565
|
+
space_keys?: string[] | undefined;
|
|
566
|
+
property_keys?: string[] | undefined;
|
|
567
|
+
room_keys?: string[] | undefined;
|
|
568
|
+
common_area_keys?: string[] | undefined;
|
|
569
|
+
unit_keys?: string[] | undefined;
|
|
570
|
+
facility_keys?: string[] | undefined;
|
|
571
|
+
building_keys?: string[] | undefined;
|
|
572
|
+
listing_keys?: string[] | undefined;
|
|
573
|
+
}[] | undefined;
|
|
574
|
+
access_grants?: {
|
|
575
|
+
name: string;
|
|
576
|
+
access_grant_key: string;
|
|
577
|
+
starts_at?: string | undefined;
|
|
578
|
+
ends_at?: string | undefined;
|
|
579
|
+
guest_key?: string | undefined;
|
|
580
|
+
tenant_key?: string | undefined;
|
|
581
|
+
resident_key?: string | undefined;
|
|
582
|
+
user_key?: string | undefined;
|
|
583
|
+
user_identity_key?: string | undefined;
|
|
584
|
+
space_keys?: string[] | undefined;
|
|
585
|
+
property_keys?: string[] | undefined;
|
|
586
|
+
room_keys?: string[] | undefined;
|
|
587
|
+
common_area_keys?: string[] | undefined;
|
|
588
|
+
unit_keys?: string[] | undefined;
|
|
589
|
+
facility_keys?: string[] | undefined;
|
|
590
|
+
building_keys?: string[] | undefined;
|
|
591
|
+
listing_keys?: string[] | undefined;
|
|
592
|
+
}[] | undefined;
|
|
593
|
+
}>;
|
|
594
|
+
export type CustomerData = z.infer<typeof customer_data>;
|
|
595
|
+
export * from './access-grant-resources.js';
|
|
596
|
+
export * from './location-resources.js';
|
|
597
|
+
export * from './user-identity-resources.js';
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { access_grant_resource, booking_resource, reservation_resource, } from './access-grant-resources.js';
|
|
3
|
+
import { building_resource, common_area_resource, facility_resource, listing_resource, neutral_resource, property_resource, room_resource, unit_resource, } from './location-resources.js';
|
|
4
|
+
import { guest_resource, resident_resource, tenant_resource, user_identity_resource, user_resource, } from './user-identity-resources.js';
|
|
5
|
+
export const customer_data = z.object({
|
|
6
|
+
customer_key: z.string().describe('Your unique identifier for the customer.'),
|
|
7
|
+
// Location resources
|
|
8
|
+
spaces: z
|
|
9
|
+
.array(neutral_resource)
|
|
10
|
+
.optional()
|
|
11
|
+
.describe('List of general spaces or areas.'),
|
|
12
|
+
properties: z
|
|
13
|
+
.array(property_resource)
|
|
14
|
+
.optional()
|
|
15
|
+
.describe('List of short-term rental properties.'),
|
|
16
|
+
rooms: z
|
|
17
|
+
.array(room_resource)
|
|
18
|
+
.optional()
|
|
19
|
+
.describe('List of hotel or hospitality rooms.'),
|
|
20
|
+
common_areas: z
|
|
21
|
+
.array(common_area_resource)
|
|
22
|
+
.optional()
|
|
23
|
+
.describe('List of shared common areas.'),
|
|
24
|
+
units: z
|
|
25
|
+
.array(unit_resource)
|
|
26
|
+
.optional()
|
|
27
|
+
.describe('List of multi-family residential units.'),
|
|
28
|
+
facilities: z
|
|
29
|
+
.array(facility_resource)
|
|
30
|
+
.optional()
|
|
31
|
+
.describe('List of gym or fitness facilities.'),
|
|
32
|
+
buildings: z
|
|
33
|
+
.array(building_resource)
|
|
34
|
+
.optional()
|
|
35
|
+
.describe('List of buildings.'),
|
|
36
|
+
listings: z
|
|
37
|
+
.array(listing_resource)
|
|
38
|
+
.optional()
|
|
39
|
+
.describe('List of property listings.'),
|
|
40
|
+
// User identity resources
|
|
41
|
+
guests: z.array(guest_resource).optional().describe('List of guests.'),
|
|
42
|
+
tenants: z.array(tenant_resource).optional().describe('List of tenants.'),
|
|
43
|
+
residents: z
|
|
44
|
+
.array(resident_resource)
|
|
45
|
+
.optional()
|
|
46
|
+
.describe('List of residents.'),
|
|
47
|
+
users: z.array(user_resource).optional().describe('List of users.'),
|
|
48
|
+
user_identities: z
|
|
49
|
+
.array(user_identity_resource)
|
|
50
|
+
.optional()
|
|
51
|
+
.describe('List of user identities.'),
|
|
52
|
+
// Access grant resources
|
|
53
|
+
reservations: z
|
|
54
|
+
.array(reservation_resource)
|
|
55
|
+
.optional()
|
|
56
|
+
.describe('List of reservations.'),
|
|
57
|
+
bookings: z.array(booking_resource).optional().describe('List of bookings.'),
|
|
58
|
+
access_grants: z
|
|
59
|
+
.array(access_grant_resource)
|
|
60
|
+
.optional()
|
|
61
|
+
.describe('List of access grants.'),
|
|
62
|
+
});
|
|
63
|
+
// Re-export all resource types for convenience
|
|
64
|
+
export * from './access-grant-resources.js';
|
|
65
|
+
export * from './location-resources.js';
|
|
66
|
+
export * from './user-identity-resources.js';
|
|
67
|
+
//# sourceMappingURL=customer-data.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer-data.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/customer-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,aAAa,GACd,MAAM,yBAAyB,CAAA;AAChC,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,sBAAsB,EACtB,aAAa,GACd,MAAM,8BAA8B,CAAA;AAErC,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;IAE7E,qBAAqB;IACrB,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,gBAAgB,CAAC;SACvB,QAAQ,EAAE;SACV,QAAQ,CAAC,kCAAkC,CAAC;IAC/C,UAAU,EAAE,CAAC;SACV,KAAK,CAAC,iBAAiB,CAAC;SACxB,QAAQ,EAAE;SACV,QAAQ,CAAC,uCAAuC,CAAC;IACpD,KAAK,EAAE,CAAC;SACL,KAAK,CAAC,aAAa,CAAC;SACpB,QAAQ,EAAE;SACV,QAAQ,CAAC,qCAAqC,CAAC;IAClD,YAAY,EAAE,CAAC;SACZ,KAAK,CAAC,oBAAoB,CAAC;SAC3B,QAAQ,EAAE;SACV,QAAQ,CAAC,8BAA8B,CAAC;IAC3C,KAAK,EAAE,CAAC;SACL,KAAK,CAAC,aAAa,CAAC;SACpB,QAAQ,EAAE;SACV,QAAQ,CAAC,yCAAyC,CAAC;IACtD,UAAU,EAAE,CAAC;SACV,KAAK,CAAC,iBAAiB,CAAC;SACxB,QAAQ,EAAE;SACV,QAAQ,CAAC,oCAAoC,CAAC;IACjD,SAAS,EAAE,CAAC;SACT,KAAK,CAAC,iBAAiB,CAAC;SACxB,QAAQ,EAAE;SACV,QAAQ,CAAC,oBAAoB,CAAC;IACjC,QAAQ,EAAE,CAAC;SACR,KAAK,CAAC,gBAAgB,CAAC;SACvB,QAAQ,EAAE;SACV,QAAQ,CAAC,4BAA4B,CAAC;IAEzC,0BAA0B;IAC1B,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iBAAiB,CAAC;IACtE,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACzE,SAAS,EAAE,CAAC;SACT,KAAK,CAAC,iBAAiB,CAAC;SACxB,QAAQ,EAAE;SACV,QAAQ,CAAC,oBAAoB,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gBAAgB,CAAC;IACnE,eAAe,EAAE,CAAC;SACf,KAAK,CAAC,sBAAsB,CAAC;SAC7B,QAAQ,EAAE;SACV,QAAQ,CAAC,0BAA0B,CAAC;IAEvC,yBAAyB;IACzB,YAAY,EAAE,CAAC;SACZ,KAAK,CAAC,oBAAoB,CAAC;SAC3B,QAAQ,EAAE;SACV,QAAQ,CAAC,uBAAuB,CAAC;IACpC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,mBAAmB,CAAC;IAC5E,aAAa,EAAE,CAAC;SACb,KAAK,CAAC,qBAAqB,CAAC;SAC5B,QAAQ,EAAE;SACV,QAAQ,CAAC,wBAAwB,CAAC;CACtC,CAAC,CAAA;AAIF,+CAA+C;AAC/C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,yBAAyB,CAAA;AACvC,cAAc,8BAA8B,CAAA"}
|