@seamapi/types 1.421.0 → 1.422.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.
Files changed (55) hide show
  1. package/dist/connect.cjs +1633 -583
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2630 -1024
  4. package/lib/seam/connect/internal/schemas.d.ts +1 -1
  5. package/lib/seam/connect/internal/schemas.js +1 -1
  6. package/lib/seam/connect/internal/schemas.js.map +1 -1
  7. package/lib/seam/connect/models/customer/access-grant-resources.d.ts +420 -0
  8. package/lib/seam/connect/models/customer/access-grant-resources.js +111 -0
  9. package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -0
  10. package/lib/seam/connect/models/customer/business-vertical.d.ts +3 -0
  11. package/lib/seam/connect/models/customer/business-vertical.js +11 -0
  12. package/lib/seam/connect/models/customer/business-vertical.js.map +1 -0
  13. package/lib/seam/connect/models/customer/customer-data.d.ts +597 -0
  14. package/lib/seam/connect/models/customer/customer-data.js +67 -0
  15. package/lib/seam/connect/models/customer/customer-data.js.map +1 -0
  16. package/lib/seam/connect/models/customer/customer-portal.d.ts +71 -0
  17. package/lib/seam/connect/models/customer/customer-portal.js +34 -0
  18. package/lib/seam/connect/models/customer/customer-portal.js.map +1 -0
  19. package/lib/seam/connect/models/customer/index.d.ts +3 -0
  20. package/lib/seam/connect/models/customer/index.js +4 -0
  21. package/lib/seam/connect/models/customer/index.js.map +1 -0
  22. package/lib/seam/connect/models/customer/location-resources.d.ts +229 -0
  23. package/lib/seam/connect/models/customer/location-resources.js +55 -0
  24. package/lib/seam/connect/models/customer/location-resources.js.map +1 -0
  25. package/lib/seam/connect/models/customer/user-identity-resources.d.ts +205 -0
  26. package/lib/seam/connect/models/customer/user-identity-resources.js +50 -0
  27. package/lib/seam/connect/models/customer/user-identity-resources.js.map +1 -0
  28. package/lib/seam/connect/models/index.d.ts +4 -0
  29. package/lib/seam/connect/models/index.js +4 -0
  30. package/lib/seam/connect/models/index.js.map +1 -1
  31. package/lib/seam/connect/models/partner/index.d.ts +0 -1
  32. package/lib/seam/connect/models/partner/index.js +0 -1
  33. package/lib/seam/connect/models/partner/index.js.map +1 -1
  34. package/lib/seam/connect/models/partner/magic-link.d.ts +2 -2
  35. package/lib/seam/connect/openapi.d.ts +2246 -1080
  36. package/lib/seam/connect/openapi.js +1650 -600
  37. package/lib/seam/connect/openapi.js.map +1 -1
  38. package/lib/seam/connect/route-types.d.ts +552 -112
  39. package/package.json +1 -1
  40. package/src/lib/seam/connect/internal/schemas.ts +21 -3
  41. package/src/lib/seam/connect/models/customer/access-grant-resources.ts +129 -0
  42. package/src/lib/seam/connect/models/customer/business-vertical.ts +13 -0
  43. package/src/lib/seam/connect/models/customer/customer-data.ts +93 -0
  44. package/src/lib/seam/connect/models/customer/customer-portal.ts +39 -0
  45. package/src/lib/seam/connect/models/customer/index.ts +3 -0
  46. package/src/lib/seam/connect/models/customer/location-resources.ts +77 -0
  47. package/src/lib/seam/connect/models/customer/user-identity-resources.ts +68 -0
  48. package/src/lib/seam/connect/models/index.ts +4 -0
  49. package/src/lib/seam/connect/models/partner/index.ts +0 -1
  50. package/src/lib/seam/connect/openapi.ts +1790 -591
  51. package/src/lib/seam/connect/route-types.ts +642 -114
  52. package/lib/seam/connect/models/partner/resources.d.ts +0 -76
  53. package/lib/seam/connect/models/partner/resources.js +0 -87
  54. package/lib/seam/connect/models/partner/resources.js.map +0 -1
  55. package/src/lib/seam/connect/models/partner/resources.ts +0 -112
@@ -1,2 +1,2 @@
1
- export { access_code_code_constraint, access_grant, access_method, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, bridge, bridge_client_session, bridge_connected_system, building_block_type, capabilities, climate_preset, climate_setting, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, fan_mode_setting, geolocation, instant_key, location, lock_device_type, magic_link, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, pagination, partner_resource, phone, phone_number, phone_registration, phone_session, space, space_resource, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, typed_partner_resource, unmanaged_access_code, unmanaged_device, user_identity, webhook, } from '../models/index.js';
1
+ export { access_code_code_constraint, access_grant, access_grant_key_aliases, access_grant_resource, access_grant_resource_union, access_method, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, booking_resource, bridge, bridge_client_session, bridge_connected_system, building_block_type, building_resource, capabilities, climate_preset, climate_setting, common_area_resource, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, customer_data, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, facility_resource, fan_mode_setting, geolocation, guest_resource, instant_key, listing_resource, location, lock_device_type, magic_link, access_code as managed_access_code, device as managed_device, neutral_resource, noise_sensor_device_type, noise_threshold, pagination, phone, phone_number, phone_registration, phone_session, portal_configuration, property_resource, reservation_resource, resident_resource, room_resource, space, neutral_resource as space_resource, tenant_resource, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, unit_resource, unmanaged_access_code, unmanaged_device, user_identity, user_identity_resource, user_resource, webhook, } from '../models/index.js';
2
2
  export * from '../schemas.js';
@@ -1,3 +1,3 @@
1
- export { access_code_code_constraint, access_grant, access_method, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, bridge, bridge_client_session, bridge_connected_system, building_block_type, capabilities, climate_preset, climate_setting, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, fan_mode_setting, geolocation, instant_key, location, lock_device_type, magic_link, access_code as managed_access_code, device as managed_device, noise_sensor_device_type, noise_threshold, pagination, partner_resource, phone, phone_number, phone_registration, phone_session, space, space_resource, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, typed_partner_resource, unmanaged_access_code, unmanaged_device, user_identity, webhook, } from '../models/index.js';
1
+ export { access_code_code_constraint, access_grant, access_grant_key_aliases, access_grant_resource, access_grant_resource_union, access_method, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_access_method_type, acs_credential_external_type, acs_credential_pool, acs_credential_pool_external_type, acs_credential_provisioning_automation, acs_entrance, acs_system, acs_system_capability_flags, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, booking_resource, bridge, bridge_client_session, bridge_connected_system, building_block_type, building_resource, capabilities, climate_preset, climate_setting, common_area_resource, common_device_properties, common_event, connect_webview_device_selection_mode, connected_account, custom_metadata_input, customer_data, device_capability_flags, device_metadata, device_provider, dormakaba_oracode_time_slot, enrollment_automation, seam_event as event, seam_event_type as event_type, facility_resource, fan_mode_setting, geolocation, guest_resource, instant_key, listing_resource, location, lock_device_type, magic_link, access_code as managed_access_code, device as managed_device, neutral_resource, noise_sensor_device_type, noise_threshold, pagination, phone, phone_number, phone_registration, phone_session, portal_configuration, property_resource, reservation_resource, resident_resource, room_resource, space, neutral_resource as space_resource, tenant_resource, thermostat_capability_properties, thermostat_device_type, thermostat_schedule, unit_resource, unmanaged_access_code, unmanaged_device, user_identity, user_identity_resource, user_resource, webhook, } from '../models/index.js';
2
2
  export * from '../schemas.js';
3
3
  //# sourceMappingURL=schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,iCAAiC,EACjC,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,MAAM,EACN,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,YAAY,EACZ,cAAc,EACd,eAAe,EACf,wBAAwB,EACxB,YAAY,EACZ,qCAAqC,EACrC,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,UAAU,IAAI,KAAK,EACnB,eAAe,IAAI,UAAU,EAC7B,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,QAAQ,EACR,gBAAgB,EAChB,UAAU,EACV,WAAW,IAAI,mBAAmB,EAClC,MAAM,IAAI,cAAc,EACxB,wBAAwB,EACxB,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,KAAK,EACL,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,KAAK,EACL,cAAc,EACd,gCAAgC,EAChC,sBAAsB,EACtB,mBAAmB,EACnB,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,OAAO,GACR,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/internal/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,YAAY,EACZ,wBAAwB,EACxB,qBAAqB,EACrB,2BAA2B,EAC3B,aAAa,EACb,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,iCAAiC,EACjC,4BAA4B,EAC5B,mBAAmB,EACnB,iCAAiC,EACjC,sCAAsC,EACtC,YAAY,EACZ,UAAU,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,gBAAgB,EAChB,MAAM,EACN,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EACZ,cAAc,EACd,eAAe,EACf,oBAAoB,EACpB,wBAAwB,EACxB,YAAY,EACZ,qCAAqC,EACrC,iBAAiB,EACjB,qBAAqB,EACrB,aAAa,EACb,uBAAuB,EACvB,eAAe,EACf,eAAe,EACf,2BAA2B,EAC3B,qBAAqB,EACrB,UAAU,IAAI,KAAK,EACnB,eAAe,IAAI,UAAU,EAC7B,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,EACX,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,QAAQ,EACR,gBAAgB,EAChB,UAAU,EACV,WAAW,IAAI,mBAAmB,EAClC,MAAM,IAAI,cAAc,EACxB,gBAAgB,EAChB,wBAAwB,EACxB,eAAe,EACf,UAAU,EACV,KAAK,EACL,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,oBAAoB,EACpB,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,aAAa,EACb,KAAK,EACL,gBAAgB,IAAI,cAAc,EAClC,eAAe,EACf,gCAAgC,EAChC,sBAAsB,EACtB,mBAAmB,EACnB,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,EACb,sBAAsB,EACtB,aAAa,EACb,OAAO,GACR,MAAM,oBAAoB,CAAA;AAC3B,cAAc,eAAe,CAAA"}
@@ -0,0 +1,420 @@
1
+ import { z } from 'zod';
2
+ export declare const user_identity_reference: z.ZodObject<{
3
+ guest_key: z.ZodOptional<z.ZodString>;
4
+ tenant_key: z.ZodOptional<z.ZodString>;
5
+ resident_key: z.ZodOptional<z.ZodString>;
6
+ user_key: z.ZodOptional<z.ZodString>;
7
+ user_identity_key: z.ZodOptional<z.ZodString>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ guest_key?: string | undefined;
10
+ tenant_key?: string | undefined;
11
+ resident_key?: string | undefined;
12
+ user_key?: string | undefined;
13
+ user_identity_key?: string | undefined;
14
+ }, {
15
+ guest_key?: string | undefined;
16
+ tenant_key?: string | undefined;
17
+ resident_key?: string | undefined;
18
+ user_key?: string | undefined;
19
+ user_identity_key?: string | undefined;
20
+ }>;
21
+ export declare const location_references: z.ZodObject<{
22
+ space_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
23
+ property_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
24
+ room_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25
+ common_area_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
26
+ unit_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27
+ facility_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28
+ building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
29
+ listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ space_keys?: string[] | undefined;
32
+ property_keys?: string[] | undefined;
33
+ room_keys?: string[] | undefined;
34
+ common_area_keys?: string[] | undefined;
35
+ unit_keys?: string[] | undefined;
36
+ facility_keys?: string[] | undefined;
37
+ building_keys?: string[] | undefined;
38
+ listing_keys?: string[] | undefined;
39
+ }, {
40
+ space_keys?: string[] | undefined;
41
+ property_keys?: string[] | undefined;
42
+ room_keys?: string[] | undefined;
43
+ common_area_keys?: string[] | undefined;
44
+ unit_keys?: string[] | undefined;
45
+ facility_keys?: string[] | undefined;
46
+ building_keys?: string[] | undefined;
47
+ listing_keys?: string[] | undefined;
48
+ }>;
49
+ export declare const reservation_resource: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
50
+ name: z.ZodString;
51
+ starts_at: z.ZodOptional<z.ZodString>;
52
+ ends_at: z.ZodOptional<z.ZodString>;
53
+ }, {
54
+ reservation_key: z.ZodString;
55
+ }>, {
56
+ guest_key: z.ZodOptional<z.ZodString>;
57
+ tenant_key: z.ZodOptional<z.ZodString>;
58
+ resident_key: z.ZodOptional<z.ZodString>;
59
+ user_key: z.ZodOptional<z.ZodString>;
60
+ user_identity_key: z.ZodOptional<z.ZodString>;
61
+ }>, {
62
+ space_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
63
+ property_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
64
+ room_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
65
+ common_area_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
66
+ unit_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
67
+ facility_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
68
+ building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
69
+ listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
70
+ }>, "strip", z.ZodTypeAny, {
71
+ name: string;
72
+ reservation_key: string;
73
+ starts_at?: string | undefined;
74
+ ends_at?: string | undefined;
75
+ guest_key?: string | undefined;
76
+ tenant_key?: string | undefined;
77
+ resident_key?: string | undefined;
78
+ user_key?: string | undefined;
79
+ user_identity_key?: string | undefined;
80
+ space_keys?: string[] | undefined;
81
+ property_keys?: string[] | undefined;
82
+ room_keys?: string[] | undefined;
83
+ common_area_keys?: string[] | undefined;
84
+ unit_keys?: string[] | undefined;
85
+ facility_keys?: string[] | undefined;
86
+ building_keys?: string[] | undefined;
87
+ listing_keys?: string[] | undefined;
88
+ }, {
89
+ name: string;
90
+ reservation_key: string;
91
+ starts_at?: string | undefined;
92
+ ends_at?: string | undefined;
93
+ guest_key?: string | undefined;
94
+ tenant_key?: string | undefined;
95
+ resident_key?: string | undefined;
96
+ user_key?: string | undefined;
97
+ user_identity_key?: string | undefined;
98
+ space_keys?: string[] | undefined;
99
+ property_keys?: string[] | undefined;
100
+ room_keys?: string[] | undefined;
101
+ common_area_keys?: string[] | undefined;
102
+ unit_keys?: string[] | undefined;
103
+ facility_keys?: string[] | undefined;
104
+ building_keys?: string[] | undefined;
105
+ listing_keys?: string[] | undefined;
106
+ }>;
107
+ export declare const booking_resource: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
108
+ name: z.ZodString;
109
+ starts_at: z.ZodOptional<z.ZodString>;
110
+ ends_at: z.ZodOptional<z.ZodString>;
111
+ }, {
112
+ booking_key: z.ZodString;
113
+ }>, {
114
+ guest_key: z.ZodOptional<z.ZodString>;
115
+ tenant_key: z.ZodOptional<z.ZodString>;
116
+ resident_key: z.ZodOptional<z.ZodString>;
117
+ user_key: z.ZodOptional<z.ZodString>;
118
+ user_identity_key: z.ZodOptional<z.ZodString>;
119
+ }>, {
120
+ space_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
121
+ property_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
122
+ room_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
123
+ common_area_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
124
+ unit_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
125
+ facility_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
126
+ building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
127
+ listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
128
+ }>, "strip", z.ZodTypeAny, {
129
+ name: string;
130
+ booking_key: string;
131
+ starts_at?: string | undefined;
132
+ ends_at?: string | undefined;
133
+ guest_key?: string | undefined;
134
+ tenant_key?: string | undefined;
135
+ resident_key?: string | undefined;
136
+ user_key?: string | undefined;
137
+ user_identity_key?: string | undefined;
138
+ space_keys?: string[] | undefined;
139
+ property_keys?: string[] | undefined;
140
+ room_keys?: string[] | undefined;
141
+ common_area_keys?: string[] | undefined;
142
+ unit_keys?: string[] | undefined;
143
+ facility_keys?: string[] | undefined;
144
+ building_keys?: string[] | undefined;
145
+ listing_keys?: string[] | undefined;
146
+ }, {
147
+ name: string;
148
+ booking_key: string;
149
+ starts_at?: string | undefined;
150
+ ends_at?: string | undefined;
151
+ guest_key?: string | undefined;
152
+ tenant_key?: string | undefined;
153
+ resident_key?: string | undefined;
154
+ user_key?: string | undefined;
155
+ user_identity_key?: string | undefined;
156
+ space_keys?: string[] | undefined;
157
+ property_keys?: string[] | undefined;
158
+ room_keys?: string[] | undefined;
159
+ common_area_keys?: string[] | undefined;
160
+ unit_keys?: string[] | undefined;
161
+ facility_keys?: string[] | undefined;
162
+ building_keys?: string[] | undefined;
163
+ listing_keys?: string[] | undefined;
164
+ }>;
165
+ export declare const access_grant_resource: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
166
+ name: z.ZodString;
167
+ starts_at: z.ZodOptional<z.ZodString>;
168
+ ends_at: z.ZodOptional<z.ZodString>;
169
+ }, {
170
+ access_grant_key: z.ZodString;
171
+ }>, {
172
+ guest_key: z.ZodOptional<z.ZodString>;
173
+ tenant_key: z.ZodOptional<z.ZodString>;
174
+ resident_key: z.ZodOptional<z.ZodString>;
175
+ user_key: z.ZodOptional<z.ZodString>;
176
+ user_identity_key: z.ZodOptional<z.ZodString>;
177
+ }>, {
178
+ space_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
179
+ property_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
180
+ room_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
181
+ common_area_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
182
+ unit_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
183
+ facility_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
184
+ building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
185
+ listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
186
+ }>, "strip", z.ZodTypeAny, {
187
+ name: string;
188
+ access_grant_key: string;
189
+ starts_at?: string | undefined;
190
+ ends_at?: string | undefined;
191
+ guest_key?: string | undefined;
192
+ tenant_key?: string | undefined;
193
+ resident_key?: string | undefined;
194
+ user_key?: string | undefined;
195
+ user_identity_key?: string | undefined;
196
+ space_keys?: string[] | undefined;
197
+ property_keys?: string[] | undefined;
198
+ room_keys?: string[] | undefined;
199
+ common_area_keys?: string[] | undefined;
200
+ unit_keys?: string[] | undefined;
201
+ facility_keys?: string[] | undefined;
202
+ building_keys?: string[] | undefined;
203
+ listing_keys?: string[] | undefined;
204
+ }, {
205
+ name: string;
206
+ access_grant_key: string;
207
+ starts_at?: string | undefined;
208
+ ends_at?: string | undefined;
209
+ guest_key?: string | undefined;
210
+ tenant_key?: string | undefined;
211
+ resident_key?: string | undefined;
212
+ user_key?: string | undefined;
213
+ user_identity_key?: string | undefined;
214
+ space_keys?: string[] | undefined;
215
+ property_keys?: string[] | undefined;
216
+ room_keys?: string[] | undefined;
217
+ common_area_keys?: string[] | undefined;
218
+ unit_keys?: string[] | undefined;
219
+ facility_keys?: string[] | undefined;
220
+ building_keys?: string[] | undefined;
221
+ listing_keys?: string[] | undefined;
222
+ }>;
223
+ export declare const access_grant_resource_union: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
224
+ name: z.ZodString;
225
+ starts_at: z.ZodOptional<z.ZodString>;
226
+ ends_at: z.ZodOptional<z.ZodString>;
227
+ }, {
228
+ reservation_key: z.ZodString;
229
+ }>, {
230
+ guest_key: z.ZodOptional<z.ZodString>;
231
+ tenant_key: z.ZodOptional<z.ZodString>;
232
+ resident_key: z.ZodOptional<z.ZodString>;
233
+ user_key: z.ZodOptional<z.ZodString>;
234
+ user_identity_key: z.ZodOptional<z.ZodString>;
235
+ }>, {
236
+ space_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
237
+ property_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
238
+ room_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
239
+ common_area_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
240
+ unit_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
241
+ facility_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
242
+ building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
243
+ listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
244
+ }>, "strip", z.ZodTypeAny, {
245
+ name: string;
246
+ reservation_key: string;
247
+ starts_at?: string | undefined;
248
+ ends_at?: string | undefined;
249
+ guest_key?: string | undefined;
250
+ tenant_key?: string | undefined;
251
+ resident_key?: string | undefined;
252
+ user_key?: string | undefined;
253
+ user_identity_key?: string | undefined;
254
+ space_keys?: string[] | undefined;
255
+ property_keys?: string[] | undefined;
256
+ room_keys?: string[] | undefined;
257
+ common_area_keys?: string[] | undefined;
258
+ unit_keys?: string[] | undefined;
259
+ facility_keys?: string[] | undefined;
260
+ building_keys?: string[] | undefined;
261
+ listing_keys?: string[] | undefined;
262
+ }, {
263
+ name: string;
264
+ reservation_key: string;
265
+ starts_at?: string | undefined;
266
+ ends_at?: string | undefined;
267
+ guest_key?: string | undefined;
268
+ tenant_key?: string | undefined;
269
+ resident_key?: string | undefined;
270
+ user_key?: string | undefined;
271
+ user_identity_key?: string | undefined;
272
+ space_keys?: string[] | undefined;
273
+ property_keys?: string[] | undefined;
274
+ room_keys?: string[] | undefined;
275
+ common_area_keys?: string[] | undefined;
276
+ unit_keys?: string[] | undefined;
277
+ facility_keys?: string[] | undefined;
278
+ building_keys?: string[] | undefined;
279
+ listing_keys?: string[] | undefined;
280
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
281
+ name: z.ZodString;
282
+ starts_at: z.ZodOptional<z.ZodString>;
283
+ ends_at: z.ZodOptional<z.ZodString>;
284
+ }, {
285
+ booking_key: z.ZodString;
286
+ }>, {
287
+ guest_key: z.ZodOptional<z.ZodString>;
288
+ tenant_key: z.ZodOptional<z.ZodString>;
289
+ resident_key: z.ZodOptional<z.ZodString>;
290
+ user_key: z.ZodOptional<z.ZodString>;
291
+ user_identity_key: z.ZodOptional<z.ZodString>;
292
+ }>, {
293
+ space_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
294
+ property_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
295
+ room_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
296
+ common_area_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
297
+ unit_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
298
+ facility_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
299
+ building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
300
+ listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
301
+ }>, "strip", z.ZodTypeAny, {
302
+ name: string;
303
+ booking_key: string;
304
+ starts_at?: string | undefined;
305
+ ends_at?: string | undefined;
306
+ guest_key?: string | undefined;
307
+ tenant_key?: string | undefined;
308
+ resident_key?: string | undefined;
309
+ user_key?: string | undefined;
310
+ user_identity_key?: string | undefined;
311
+ space_keys?: string[] | undefined;
312
+ property_keys?: string[] | undefined;
313
+ room_keys?: string[] | undefined;
314
+ common_area_keys?: string[] | undefined;
315
+ unit_keys?: string[] | undefined;
316
+ facility_keys?: string[] | undefined;
317
+ building_keys?: string[] | undefined;
318
+ listing_keys?: string[] | undefined;
319
+ }, {
320
+ name: string;
321
+ booking_key: string;
322
+ starts_at?: string | undefined;
323
+ ends_at?: string | undefined;
324
+ guest_key?: string | undefined;
325
+ tenant_key?: string | undefined;
326
+ resident_key?: string | undefined;
327
+ user_key?: string | undefined;
328
+ user_identity_key?: string | undefined;
329
+ space_keys?: string[] | undefined;
330
+ property_keys?: string[] | undefined;
331
+ room_keys?: string[] | undefined;
332
+ common_area_keys?: string[] | undefined;
333
+ unit_keys?: string[] | undefined;
334
+ facility_keys?: string[] | undefined;
335
+ building_keys?: string[] | undefined;
336
+ listing_keys?: string[] | undefined;
337
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
338
+ name: z.ZodString;
339
+ starts_at: z.ZodOptional<z.ZodString>;
340
+ ends_at: z.ZodOptional<z.ZodString>;
341
+ }, {
342
+ access_grant_key: z.ZodString;
343
+ }>, {
344
+ guest_key: z.ZodOptional<z.ZodString>;
345
+ tenant_key: z.ZodOptional<z.ZodString>;
346
+ resident_key: z.ZodOptional<z.ZodString>;
347
+ user_key: z.ZodOptional<z.ZodString>;
348
+ user_identity_key: z.ZodOptional<z.ZodString>;
349
+ }>, {
350
+ space_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
351
+ property_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
352
+ room_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
353
+ common_area_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
354
+ unit_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
355
+ facility_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
356
+ building_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
357
+ listing_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
358
+ }>, "strip", z.ZodTypeAny, {
359
+ name: string;
360
+ access_grant_key: string;
361
+ starts_at?: string | undefined;
362
+ ends_at?: string | undefined;
363
+ guest_key?: string | undefined;
364
+ tenant_key?: string | undefined;
365
+ resident_key?: string | undefined;
366
+ user_key?: string | undefined;
367
+ user_identity_key?: string | undefined;
368
+ space_keys?: string[] | undefined;
369
+ property_keys?: string[] | undefined;
370
+ room_keys?: string[] | undefined;
371
+ common_area_keys?: string[] | undefined;
372
+ unit_keys?: string[] | undefined;
373
+ facility_keys?: string[] | undefined;
374
+ building_keys?: string[] | undefined;
375
+ listing_keys?: string[] | undefined;
376
+ }, {
377
+ name: string;
378
+ access_grant_key: string;
379
+ starts_at?: string | undefined;
380
+ ends_at?: string | undefined;
381
+ guest_key?: string | undefined;
382
+ tenant_key?: string | undefined;
383
+ resident_key?: string | undefined;
384
+ user_key?: string | undefined;
385
+ user_identity_key?: string | undefined;
386
+ space_keys?: string[] | undefined;
387
+ property_keys?: string[] | undefined;
388
+ room_keys?: string[] | undefined;
389
+ common_area_keys?: string[] | undefined;
390
+ unit_keys?: string[] | undefined;
391
+ facility_keys?: string[] | undefined;
392
+ building_keys?: string[] | undefined;
393
+ listing_keys?: string[] | undefined;
394
+ }>]>;
395
+ export declare const access_grant_key_aliases: z.ZodUnion<[z.ZodObject<{
396
+ reservation_key: z.ZodString;
397
+ }, "strip", z.ZodTypeAny, {
398
+ reservation_key: string;
399
+ }, {
400
+ reservation_key: string;
401
+ }>, z.ZodObject<{
402
+ booking_key: z.ZodString;
403
+ }, "strip", z.ZodTypeAny, {
404
+ booking_key: string;
405
+ }, {
406
+ booking_key: string;
407
+ }>, z.ZodObject<{
408
+ access_grant_key: z.ZodString;
409
+ }, "strip", z.ZodTypeAny, {
410
+ access_grant_key: string;
411
+ }, {
412
+ access_grant_key: string;
413
+ }>]>;
414
+ export type ReservationResource = z.infer<typeof reservation_resource>;
415
+ export type BookingResource = z.infer<typeof booking_resource>;
416
+ export type AccessGrantResource = z.infer<typeof access_grant_resource>;
417
+ export type AccessGrantResourceUnion = z.infer<typeof access_grant_resource_union>;
418
+ export type AccessGrantKeyAliases = z.infer<typeof access_grant_key_aliases>;
419
+ export type UserIdentityReference = z.infer<typeof user_identity_reference>;
420
+ export type LocationReferences = z.infer<typeof location_references>;
@@ -0,0 +1,111 @@
1
+ import { z } from 'zod';
2
+ // Base access grant resource with common fields
3
+ const base_access_grant_resource = z.object({
4
+ name: z
5
+ .string()
6
+ .describe('Your display name for this access grant resource.'),
7
+ starts_at: z
8
+ .string()
9
+ .optional()
10
+ .describe('Starting date and time for the access grant.'),
11
+ ends_at: z
12
+ .string()
13
+ .optional()
14
+ .describe('Ending date and time for the access grant.'),
15
+ });
16
+ // User identity key reference - allows any user identity key alias
17
+ export const user_identity_reference = z.object({
18
+ // Allow any user identity key alias (only one should be present)
19
+ guest_key: z
20
+ .string()
21
+ .optional()
22
+ .describe('Guest key associated with the access grant.'),
23
+ tenant_key: z
24
+ .string()
25
+ .optional()
26
+ .describe('Tenant key associated with the access grant.'),
27
+ resident_key: z
28
+ .string()
29
+ .optional()
30
+ .describe('Resident key associated with the access grant.'),
31
+ user_key: z
32
+ .string()
33
+ .optional()
34
+ .describe('User key associated with the access grant.'),
35
+ user_identity_key: z
36
+ .string()
37
+ .optional()
38
+ .describe('User identity key associated with the access grant.'),
39
+ });
40
+ // Location key references - separate arrays for each location key alias
41
+ export const location_references = z.object({
42
+ // Allow arrays of strings for each location key alias
43
+ space_keys: z
44
+ .array(z.string())
45
+ .optional()
46
+ .describe('Space keys associated with the access grant.'),
47
+ property_keys: z
48
+ .array(z.string())
49
+ .optional()
50
+ .describe('Property keys associated with the access grant.'),
51
+ room_keys: z
52
+ .array(z.string())
53
+ .optional()
54
+ .describe('Room keys associated with the access grant.'),
55
+ common_area_keys: z
56
+ .array(z.string())
57
+ .optional()
58
+ .describe('Common area keys associated with the access grant.'),
59
+ unit_keys: z
60
+ .array(z.string())
61
+ .optional()
62
+ .describe('Unit keys associated with the access grant.'),
63
+ facility_keys: z
64
+ .array(z.string())
65
+ .optional()
66
+ .describe('Facility keys associated with the access grant.'),
67
+ building_keys: z
68
+ .array(z.string())
69
+ .optional()
70
+ .describe('Building keys associated with the access grant.'),
71
+ listing_keys: z
72
+ .array(z.string())
73
+ .optional()
74
+ .describe('Listing keys associated with the access grant.'),
75
+ });
76
+ // Access grant resource types with their key aliases
77
+ export const reservation_resource = base_access_grant_resource
78
+ .extend({
79
+ reservation_key: z
80
+ .string()
81
+ .describe('Your unique identifier for the reservation.'),
82
+ })
83
+ .merge(user_identity_reference)
84
+ .merge(location_references);
85
+ export const booking_resource = base_access_grant_resource
86
+ .extend({
87
+ booking_key: z.string().describe('Your unique identifier for the booking.'),
88
+ })
89
+ .merge(user_identity_reference)
90
+ .merge(location_references);
91
+ export const access_grant_resource = base_access_grant_resource
92
+ .extend({
93
+ access_grant_key: z
94
+ .string()
95
+ .describe('Your unique identifier for the access grant.'),
96
+ })
97
+ .merge(user_identity_reference)
98
+ .merge(location_references);
99
+ // Union of all access grant resource types
100
+ export const access_grant_resource_union = z.union([
101
+ reservation_resource,
102
+ booking_resource,
103
+ access_grant_resource,
104
+ ]);
105
+ // All access grant key aliases for use in references
106
+ export const access_grant_key_aliases = z.union([
107
+ z.object({ reservation_key: z.string() }),
108
+ z.object({ booking_key: z.string() }),
109
+ z.object({ access_grant_key: z.string() }),
110
+ ]);
111
+ //# sourceMappingURL=access-grant-resources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"access-grant-resources.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/access-grant-resources.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,gDAAgD;AAChD,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,CAAC,mDAAmD,CAAC;IAChE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,4CAA4C,CAAC;CAC1D,CAAC,CAAA;AAEF,mEAAmE;AACnE,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,iEAAiE;IACjE,SAAS,EAAE,CAAC;SACT,MAA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;IAC9C,CAAC,CAAC,MAAM,CAAC,EAAE,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC;IACzC,CAAC,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC;IACrC,CAAC,CAAC,MAAM,CAAC,EAAE,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC;CAC3C,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { z } from 'zod';
2
+ export declare const business_vertical: z.ZodEnum<["short_term_rental", "hospitality", "multi_family", "gym_management", "property_tours"]>;
3
+ export type BusinessVertical = z.infer<typeof business_vertical>;
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ export const business_vertical = z
3
+ .enum([
4
+ 'short_term_rental',
5
+ 'hospitality',
6
+ 'multi_family',
7
+ 'gym_management',
8
+ 'property_tours',
9
+ ])
10
+ .describe('Business vertical of the customer portal.');
11
+ //# sourceMappingURL=business-vertical.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"business-vertical.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/customer/business-vertical.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC;KAC/B,IAAI,CAAC;IACJ,mBAAmB;IACnB,aAAa;IACb,cAAc;IACd,gBAAgB;IAChB,gBAAgB;CACjB,CAAC;KACD,QAAQ,CAAC,2CAA2C,CAAC,CAAA"}