@seamapi/types 1.618.0 → 1.620.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 +478 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +657 -15
- package/dist/index.cjs +478 -10
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/customer/customer-data.d.ts +50 -5
- package/lib/seam/connect/models/customer/user-identity-resources.d.ts +60 -6
- package/lib/seam/connect/models/customer/user-identity-resources.js +37 -0
- package/lib/seam/connect/models/customer/user-identity-resources.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +535 -2
- package/lib/seam/connect/openapi.js +450 -9
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +92 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/customer/user-identity-resources.ts +55 -0
- package/src/lib/seam/connect/openapi.ts +489 -9
- package/src/lib/seam/connect/route-types.ts +114 -10
|
@@ -32005,8 +32005,26 @@ export type Routes = {
|
|
|
32005
32005
|
phone_number?: string | undefined;
|
|
32006
32006
|
/** Your unique identifier for the staff. */
|
|
32007
32007
|
staff_member_key: string;
|
|
32008
|
+
/** List of unique identifiers for the spaces the staff member is associated with. */
|
|
32009
|
+
space_keys?: string[] | undefined;
|
|
32010
|
+
/** List of unique identifiers for the properties the staff member is associated with. */
|
|
32011
|
+
property_keys?: string[] | undefined;
|
|
32012
|
+
/** List of unique identifiers for the rooms the staff member is associated with. */
|
|
32013
|
+
room_keys?: string[] | undefined;
|
|
32014
|
+
/** List of unique identifiers for the common areas the staff member is associated with. */
|
|
32015
|
+
common_area_keys?: string[] | undefined;
|
|
32016
|
+
/** List of unique identifiers for the units the staff member is associated with. */
|
|
32017
|
+
unit_keys?: string[] | undefined;
|
|
32018
|
+
/** List of unique identifiers for the facilities the staff member is associated with. */
|
|
32019
|
+
facility_keys?: string[] | undefined;
|
|
32020
|
+
/** List of unique identifiers for the buildings the staff member is associated with. */
|
|
32021
|
+
building_keys?: string[] | undefined;
|
|
32022
|
+
/** List of unique identifiers for the listings the staff member is associated with. */
|
|
32023
|
+
listing_keys?: string[] | undefined;
|
|
32024
|
+
/** List of unique identifiers for the property listings the staff member is associated with. */
|
|
32025
|
+
property_listing_keys?: string[] | undefined;
|
|
32008
32026
|
/** List of unique identifiers for the sites the staff member is associated with. */
|
|
32009
|
-
site_keys
|
|
32027
|
+
site_keys?: string[] | undefined;
|
|
32010
32028
|
}[] | undefined;
|
|
32011
32029
|
/** List of reservations. */
|
|
32012
32030
|
reservations?: {
|
|
@@ -32343,8 +32361,26 @@ export type Routes = {
|
|
|
32343
32361
|
phone_number?: string | undefined;
|
|
32344
32362
|
/** Your unique identifier for the staff. */
|
|
32345
32363
|
staff_member_key: string;
|
|
32364
|
+
/** List of unique identifiers for the spaces the staff member is associated with. */
|
|
32365
|
+
space_keys?: string[] | undefined;
|
|
32366
|
+
/** List of unique identifiers for the properties the staff member is associated with. */
|
|
32367
|
+
property_keys?: string[] | undefined;
|
|
32368
|
+
/** List of unique identifiers for the rooms the staff member is associated with. */
|
|
32369
|
+
room_keys?: string[] | undefined;
|
|
32370
|
+
/** List of unique identifiers for the common areas the staff member is associated with. */
|
|
32371
|
+
common_area_keys?: string[] | undefined;
|
|
32372
|
+
/** List of unique identifiers for the units the staff member is associated with. */
|
|
32373
|
+
unit_keys?: string[] | undefined;
|
|
32374
|
+
/** List of unique identifiers for the facilities the staff member is associated with. */
|
|
32375
|
+
facility_keys?: string[] | undefined;
|
|
32376
|
+
/** List of unique identifiers for the buildings the staff member is associated with. */
|
|
32377
|
+
building_keys?: string[] | undefined;
|
|
32378
|
+
/** List of unique identifiers for the listings the staff member is associated with. */
|
|
32379
|
+
listing_keys?: string[] | undefined;
|
|
32380
|
+
/** List of unique identifiers for the property listings the staff member is associated with. */
|
|
32381
|
+
property_listing_keys?: string[] | undefined;
|
|
32346
32382
|
/** List of unique identifiers for the sites the staff member is associated with. */
|
|
32347
|
-
site_keys
|
|
32383
|
+
site_keys?: string[] | undefined;
|
|
32348
32384
|
}[] | undefined;
|
|
32349
32385
|
/** List of reservations. */
|
|
32350
32386
|
reservations?: {
|
|
@@ -57079,6 +57115,28 @@ export type Routes = {
|
|
|
57079
57115
|
config?: {} | undefined;
|
|
57080
57116
|
} | undefined;
|
|
57081
57117
|
} | undefined;
|
|
57118
|
+
climate_rules?: {
|
|
57119
|
+
rules: {
|
|
57120
|
+
reservation_created?: {
|
|
57121
|
+
enabled: boolean;
|
|
57122
|
+
occupied_preset_key?: string | undefined;
|
|
57123
|
+
fallback_preset?: {
|
|
57124
|
+
mode: 'heat' | 'cool' | 'auto';
|
|
57125
|
+
temperature: number;
|
|
57126
|
+
temperature_unit: 'celsius' | 'fahrenheit';
|
|
57127
|
+
fan_mode: 'on' | 'auto' | 'circulate';
|
|
57128
|
+
is_override_allowed: boolean;
|
|
57129
|
+
override_period_minutes: number;
|
|
57130
|
+
} | undefined;
|
|
57131
|
+
} | undefined;
|
|
57132
|
+
update_on_time_change?: {
|
|
57133
|
+
enabled: boolean;
|
|
57134
|
+
} | undefined;
|
|
57135
|
+
delete_on_reservation_end?: {
|
|
57136
|
+
enabled: boolean;
|
|
57137
|
+
} | undefined;
|
|
57138
|
+
};
|
|
57139
|
+
} | undefined;
|
|
57082
57140
|
};
|
|
57083
57141
|
};
|
|
57084
57142
|
'/seam/customer/v1/automations/update': {
|
|
@@ -57112,6 +57170,29 @@ export type Routes = {
|
|
|
57112
57170
|
config?: {} | undefined;
|
|
57113
57171
|
} | undefined;
|
|
57114
57172
|
} | undefined;
|
|
57173
|
+
/** Climate automation rules configuration. */
|
|
57174
|
+
climate_rules?: {
|
|
57175
|
+
rules?: {
|
|
57176
|
+
reservation_created?: {
|
|
57177
|
+
enabled: boolean;
|
|
57178
|
+
occupied_preset_key?: string | undefined;
|
|
57179
|
+
fallback_preset?: {
|
|
57180
|
+
mode: 'heat' | 'cool' | 'auto';
|
|
57181
|
+
temperature: number;
|
|
57182
|
+
temperature_unit: 'celsius' | 'fahrenheit';
|
|
57183
|
+
fan_mode: 'on' | 'auto' | 'circulate';
|
|
57184
|
+
is_override_allowed: boolean;
|
|
57185
|
+
override_period_minutes: number;
|
|
57186
|
+
} | undefined;
|
|
57187
|
+
} | undefined;
|
|
57188
|
+
update_on_time_change?: {
|
|
57189
|
+
enabled: boolean;
|
|
57190
|
+
} | undefined;
|
|
57191
|
+
delete_on_reservation_end?: {
|
|
57192
|
+
enabled: boolean;
|
|
57193
|
+
} | undefined;
|
|
57194
|
+
} | undefined;
|
|
57195
|
+
} | undefined;
|
|
57115
57196
|
};
|
|
57116
57197
|
commonParams: {};
|
|
57117
57198
|
formData: {};
|
|
@@ -59395,16 +59476,17 @@ export type Routes = {
|
|
|
59395
59476
|
formData: {};
|
|
59396
59477
|
jsonResponse: {
|
|
59397
59478
|
staff_members: {
|
|
59398
|
-
/** Your display name for this user identity resource. */
|
|
59399
|
-
name: string;
|
|
59400
|
-
/** Email address associated with the user identity. */
|
|
59401
|
-
email_address?: string | undefined;
|
|
59402
|
-
/** Phone number associated with the user identity. */
|
|
59403
|
-
phone_number?: string | undefined;
|
|
59404
59479
|
/** Your unique identifier for the staff. */
|
|
59405
59480
|
staff_member_key: string;
|
|
59406
|
-
/**
|
|
59407
|
-
|
|
59481
|
+
/** Phone number associated with the user identity. */
|
|
59482
|
+
phone_number?: string | undefined;
|
|
59483
|
+
/** Email address associated with the user identity. */
|
|
59484
|
+
email_address?: string | undefined;
|
|
59485
|
+
/** Your display name for this user identity resource. */
|
|
59486
|
+
name: string;
|
|
59487
|
+
/** List of unique identifiers for the spaces the staff member is associated with. */
|
|
59488
|
+
space_keys?: string[] | undefined;
|
|
59489
|
+
user_identity_id?: string | undefined;
|
|
59408
59490
|
}[];
|
|
59409
59491
|
/** Information about the current page of results. */
|
|
59410
59492
|
pagination: {
|
package/package.json
CHANGED
|
@@ -61,8 +61,63 @@ export const staff_member_resource = base_user_identity_resource.extend({
|
|
|
61
61
|
staff_member_key: z
|
|
62
62
|
.string()
|
|
63
63
|
.describe('Your unique identifier for the staff.'),
|
|
64
|
+
space_keys: z
|
|
65
|
+
.array(z.string())
|
|
66
|
+
.optional()
|
|
67
|
+
.describe(
|
|
68
|
+
'List of unique identifiers for the spaces the staff member is associated with.',
|
|
69
|
+
),
|
|
70
|
+
property_keys: z
|
|
71
|
+
.array(z.string())
|
|
72
|
+
.optional()
|
|
73
|
+
.describe(
|
|
74
|
+
'List of unique identifiers for the properties the staff member is associated with.',
|
|
75
|
+
),
|
|
76
|
+
room_keys: z
|
|
77
|
+
.array(z.string())
|
|
78
|
+
.optional()
|
|
79
|
+
.describe(
|
|
80
|
+
'List of unique identifiers for the rooms the staff member is associated with.',
|
|
81
|
+
),
|
|
82
|
+
common_area_keys: z
|
|
83
|
+
.array(z.string())
|
|
84
|
+
.optional()
|
|
85
|
+
.describe(
|
|
86
|
+
'List of unique identifiers for the common areas the staff member is associated with.',
|
|
87
|
+
),
|
|
88
|
+
unit_keys: z
|
|
89
|
+
.array(z.string())
|
|
90
|
+
.optional()
|
|
91
|
+
.describe(
|
|
92
|
+
'List of unique identifiers for the units the staff member is associated with.',
|
|
93
|
+
),
|
|
94
|
+
facility_keys: z
|
|
95
|
+
.array(z.string())
|
|
96
|
+
.optional()
|
|
97
|
+
.describe(
|
|
98
|
+
'List of unique identifiers for the facilities the staff member is associated with.',
|
|
99
|
+
),
|
|
100
|
+
building_keys: z
|
|
101
|
+
.array(z.string())
|
|
102
|
+
.optional()
|
|
103
|
+
.describe(
|
|
104
|
+
'List of unique identifiers for the buildings the staff member is associated with.',
|
|
105
|
+
),
|
|
106
|
+
listing_keys: z
|
|
107
|
+
.array(z.string())
|
|
108
|
+
.optional()
|
|
109
|
+
.describe(
|
|
110
|
+
'List of unique identifiers for the listings the staff member is associated with.',
|
|
111
|
+
),
|
|
112
|
+
property_listing_keys: z
|
|
113
|
+
.array(z.string())
|
|
114
|
+
.optional()
|
|
115
|
+
.describe(
|
|
116
|
+
'List of unique identifiers for the property listings the staff member is associated with.',
|
|
117
|
+
),
|
|
64
118
|
site_keys: z
|
|
65
119
|
.array(z.string())
|
|
120
|
+
.optional()
|
|
66
121
|
.describe(
|
|
67
122
|
'List of unique identifiers for the sites the staff member is associated with.',
|
|
68
123
|
),
|