@seamapi/types 1.604.0 → 1.606.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 (33) hide show
  1. package/dist/connect.cjs +424 -17
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +626 -95
  4. package/dist/index.cjs +424 -17
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-entrance.d.ts +19 -19
  7. package/lib/seam/connect/models/acs/metadata/hotek.d.ts +9 -9
  8. package/lib/seam/connect/models/acs/metadata/hotek.js +3 -2
  9. package/lib/seam/connect/models/acs/metadata/hotek.js.map +1 -1
  10. package/lib/seam/connect/models/acs/metadata/visionline.d.ts +2 -2
  11. package/lib/seam/connect/models/batch.d.ts +135 -135
  12. package/lib/seam/connect/models/customer/customer-data.d.ts +34 -0
  13. package/lib/seam/connect/models/customer/customer-data.js +5 -1
  14. package/lib/seam/connect/models/customer/customer-data.js.map +1 -1
  15. package/lib/seam/connect/models/customer/user-identity-resources.d.ts +39 -0
  16. package/lib/seam/connect/models/customer/user-identity-resources.js +15 -0
  17. package/lib/seam/connect/models/customer/user-identity-resources.js.map +1 -1
  18. package/lib/seam/connect/models/phones/phone-session.d.ts +78 -78
  19. package/lib/seam/connect/openapi.d.ts +415 -8
  20. package/lib/seam/connect/openapi.js +374 -14
  21. package/lib/seam/connect/openapi.js.map +1 -1
  22. package/lib/seam/connect/route-types.d.ts +142 -40
  23. package/lib/seam/connect/schemas.d.ts +1 -1
  24. package/lib/seam/connect/schemas.js +1 -1
  25. package/lib/seam/connect/schemas.js.map +1 -1
  26. package/package.json +1 -1
  27. package/src/lib/seam/connect/internal/schemas.ts +1 -0
  28. package/src/lib/seam/connect/models/acs/metadata/hotek.ts +3 -2
  29. package/src/lib/seam/connect/models/customer/customer-data.ts +5 -0
  30. package/src/lib/seam/connect/models/customer/user-identity-resources.ts +18 -0
  31. package/src/lib/seam/connect/openapi.ts +396 -14
  32. package/src/lib/seam/connect/route-types.ts +150 -40
  33. package/src/lib/seam/connect/schemas.ts +1 -0
@@ -11381,11 +11381,11 @@ export type Routes = {
11381
11381
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
11382
11382
  hotek_metadata?: {
11383
11383
  /** Room number of the entrance. */
11384
- room_number: string;
11384
+ room_number?: string | undefined;
11385
11385
  /** Display name of the entrance. */
11386
- display_name: string;
11387
- /** Type of door. */
11388
- door_type: 'common_area' | 'guest';
11386
+ common_area_number?: string | undefined;
11387
+ /** Display name of the entrance. */
11388
+ common_area_name?: string | undefined;
11389
11389
  } | undefined;
11390
11390
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
11391
11391
  visionline_metadata?: {
@@ -14813,11 +14813,11 @@ export type Routes = {
14813
14813
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
14814
14814
  hotek_metadata?: {
14815
14815
  /** Room number of the entrance. */
14816
- room_number: string;
14816
+ room_number?: string | undefined;
14817
14817
  /** Display name of the entrance. */
14818
- display_name: string;
14819
- /** Type of door. */
14820
- door_type: 'common_area' | 'guest';
14818
+ common_area_number?: string | undefined;
14819
+ /** Display name of the entrance. */
14820
+ common_area_name?: string | undefined;
14821
14821
  } | undefined;
14822
14822
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
14823
14823
  visionline_metadata?: {
@@ -20870,11 +20870,11 @@ export type Routes = {
20870
20870
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
20871
20871
  hotek_metadata?: {
20872
20872
  /** Room number of the entrance. */
20873
- room_number: string;
20873
+ room_number?: string | undefined;
20874
20874
  /** Display name of the entrance. */
20875
- display_name: string;
20876
- /** Type of door. */
20877
- door_type: 'common_area' | 'guest';
20875
+ common_area_number?: string | undefined;
20876
+ /** Display name of the entrance. */
20877
+ common_area_name?: string | undefined;
20878
20878
  } | undefined;
20879
20879
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
20880
20880
  visionline_metadata?: {
@@ -22236,11 +22236,11 @@ export type Routes = {
22236
22236
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
22237
22237
  hotek_metadata?: {
22238
22238
  /** Room number of the entrance. */
22239
- room_number: string;
22239
+ room_number?: string | undefined;
22240
22240
  /** Display name of the entrance. */
22241
- display_name: string;
22242
- /** Type of door. */
22243
- door_type: 'common_area' | 'guest';
22241
+ common_area_number?: string | undefined;
22242
+ /** Display name of the entrance. */
22243
+ common_area_name?: string | undefined;
22244
22244
  } | undefined;
22245
22245
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
22246
22246
  visionline_metadata?: {
@@ -25702,11 +25702,11 @@ export type Routes = {
25702
25702
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
25703
25703
  hotek_metadata?: {
25704
25704
  /** Room number of the entrance. */
25705
- room_number: string;
25705
+ room_number?: string | undefined;
25706
25706
  /** Display name of the entrance. */
25707
- display_name: string;
25708
- /** Type of door. */
25709
- door_type: 'common_area' | 'guest';
25707
+ common_area_number?: string | undefined;
25708
+ /** Display name of the entrance. */
25709
+ common_area_name?: string | undefined;
25710
25710
  } | undefined;
25711
25711
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
25712
25712
  visionline_metadata?: {
@@ -25869,11 +25869,11 @@ export type Routes = {
25869
25869
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
25870
25870
  hotek_metadata?: {
25871
25871
  /** Room number of the entrance. */
25872
- room_number: string;
25872
+ room_number?: string | undefined;
25873
25873
  /** Display name of the entrance. */
25874
- display_name: string;
25875
- /** Type of door. */
25876
- door_type: 'common_area' | 'guest';
25874
+ common_area_number?: string | undefined;
25875
+ /** Display name of the entrance. */
25876
+ common_area_name?: string | undefined;
25877
25877
  } | undefined;
25878
25878
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
25879
25879
  visionline_metadata?: {
@@ -26511,6 +26511,40 @@ export type Routes = {
26511
26511
  }[];
26512
26512
  };
26513
26513
  };
26514
+ '/acs/systems/report_devices': {
26515
+ route: '/acs/systems/report_devices';
26516
+ method: 'POST';
26517
+ queryParams: {};
26518
+ jsonBody: {};
26519
+ commonParams: {
26520
+ /** ID of the ACS system to report resources for */
26521
+ acs_system_id: string;
26522
+ /** Array of ACS encoders to report */
26523
+ acs_encoders?: {
26524
+ /** Whether the encoder is removed */
26525
+ is_removed?: boolean | undefined;
26526
+ hotek_metadata: {
26527
+ /** The encoder number determined by the USB port connection. */
26528
+ encoder_number: string;
26529
+ };
26530
+ }[] | undefined;
26531
+ /** Array of ACS entrances to report */
26532
+ acs_entrances?: {
26533
+ /** Whether the entrance is removed */
26534
+ is_removed?: boolean | undefined;
26535
+ /** Hotek-specific metadata associated with the entrance. */
26536
+ hotek_metadata: {
26537
+ /** The room number identifier */
26538
+ room_number?: string | undefined;
26539
+ /** The common area name */
26540
+ common_area_name?: string | undefined;
26541
+ common_area_number?: string | undefined;
26542
+ };
26543
+ }[] | undefined;
26544
+ };
26545
+ formData: {};
26546
+ jsonResponse: {};
26547
+ };
26514
26548
  '/acs/users/add_to_access_group': {
26515
26549
  route: '/acs/users/add_to_access_group';
26516
26550
  method: 'PUT' | 'POST';
@@ -27310,11 +27344,11 @@ export type Routes = {
27310
27344
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
27311
27345
  hotek_metadata?: {
27312
27346
  /** Room number of the entrance. */
27313
- room_number: string;
27347
+ room_number?: string | undefined;
27314
27348
  /** Display name of the entrance. */
27315
- display_name: string;
27316
- /** Type of door. */
27317
- door_type: 'common_area' | 'guest';
27349
+ common_area_number?: string | undefined;
27350
+ /** Display name of the entrance. */
27351
+ common_area_name?: string | undefined;
27318
27352
  } | undefined;
27319
27353
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
27320
27354
  visionline_metadata?: {
@@ -31770,6 +31804,19 @@ export type Routes = {
31770
31804
  /** Your unique identifier for the user identity. */
31771
31805
  user_identity_key: string;
31772
31806
  }[] | undefined;
31807
+ /** List of staff members. */
31808
+ staff_members?: {
31809
+ /** Your display name for this user identity resource. */
31810
+ name: string;
31811
+ /** Email address associated with the user identity. */
31812
+ email_address?: string | undefined;
31813
+ /** Phone number associated with the user identity. */
31814
+ phone_number?: string | undefined;
31815
+ /** Your unique identifier for the staff. */
31816
+ staff_member_key: string;
31817
+ /** List of unique identifiers for the sites the staff member is associated with. */
31818
+ site_keys: string[];
31819
+ }[] | undefined;
31773
31820
  /** List of reservations. */
31774
31821
  reservations?: {
31775
31822
  /** Your name for this access grant resource. */
@@ -32095,6 +32142,19 @@ export type Routes = {
32095
32142
  /** Your unique identifier for the user identity. */
32096
32143
  user_identity_key: string;
32097
32144
  }[] | undefined;
32145
+ /** List of staff members. */
32146
+ staff_members?: {
32147
+ /** Your display name for this user identity resource. */
32148
+ name: string;
32149
+ /** Email address associated with the user identity. */
32150
+ email_address?: string | undefined;
32151
+ /** Phone number associated with the user identity. */
32152
+ phone_number?: string | undefined;
32153
+ /** Your unique identifier for the staff. */
32154
+ staff_member_key: string;
32155
+ /** List of unique identifiers for the sites the staff member is associated with. */
32156
+ site_keys: string[];
32157
+ }[] | undefined;
32098
32158
  /** List of reservations. */
32099
32159
  reservations?: {
32100
32160
  /** Your name for this access grant resource. */
@@ -59120,6 +59180,48 @@ export type Routes = {
59120
59180
  }[];
59121
59181
  };
59122
59182
  };
59183
+ '/seam/customer/v1/staff_members/list': {
59184
+ route: '/seam/customer/v1/staff_members/list';
59185
+ method: 'GET' | 'POST';
59186
+ queryParams: {};
59187
+ jsonBody: {};
59188
+ commonParams: {
59189
+ /** Filter staff members by space key. */
59190
+ space_key?: string | undefined;
59191
+ /** Filter staff members by space ID (UUID). */
59192
+ space_id?: string | undefined;
59193
+ /** Maximum number of records to return per page. */
59194
+ limit?: number;
59195
+ /** Timestamp by which to limit returned staff members. Returns staff members created before this timestamp. */
59196
+ created_before?: Date | undefined;
59197
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
59198
+ page_cursor?: ((string | undefined) | null) | undefined;
59199
+ };
59200
+ formData: {};
59201
+ jsonResponse: {
59202
+ staff_members: {
59203
+ /** Your display name for this user identity resource. */
59204
+ name: string;
59205
+ /** Email address associated with the user identity. */
59206
+ email_address?: string | undefined;
59207
+ /** Phone number associated with the user identity. */
59208
+ phone_number?: string | undefined;
59209
+ /** Your unique identifier for the staff. */
59210
+ staff_member_key: string;
59211
+ /** List of unique identifiers for the sites the staff member is associated with. */
59212
+ site_keys: string[];
59213
+ }[];
59214
+ /** Information about the current page of results. */
59215
+ pagination: {
59216
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
59217
+ next_page_cursor: string | null;
59218
+ /** Indicates whether there is another page of results after this one. */
59219
+ has_next_page: boolean;
59220
+ /** URL to get the next page of results. */
59221
+ next_page_url: string | null;
59222
+ };
59223
+ };
59224
+ };
59123
59225
  '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
59124
59226
  route: '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]';
59125
59227
  method: 'POST';
@@ -59572,11 +59674,11 @@ export type Routes = {
59572
59674
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
59573
59675
  hotek_metadata?: {
59574
59676
  /** Room number of the entrance. */
59575
- room_number: string;
59677
+ room_number?: string | undefined;
59576
59678
  /** Display name of the entrance. */
59577
- display_name: string;
59578
- /** Type of door. */
59579
- door_type: 'common_area' | 'guest';
59679
+ common_area_number?: string | undefined;
59680
+ /** Display name of the entrance. */
59681
+ common_area_name?: string | undefined;
59580
59682
  } | undefined;
59581
59683
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
59582
59684
  visionline_metadata?: {
@@ -61151,11 +61253,11 @@ export type Routes = {
61151
61253
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
61152
61254
  hotek_metadata?: {
61153
61255
  /** Room number of the entrance. */
61154
- room_number: string;
61256
+ room_number?: string | undefined;
61155
61257
  /** Display name of the entrance. */
61156
- display_name: string;
61157
- /** Type of door. */
61158
- door_type: 'common_area' | 'guest';
61258
+ common_area_number?: string | undefined;
61259
+ /** Display name of the entrance. */
61260
+ common_area_name?: string | undefined;
61159
61261
  } | undefined;
61160
61262
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
61161
61263
  visionline_metadata?: {
@@ -82385,11 +82487,11 @@ export type Routes = {
82385
82487
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
82386
82488
  hotek_metadata?: {
82387
82489
  /** Room number of the entrance. */
82388
- room_number: string;
82490
+ room_number?: string | undefined;
82389
82491
  /** Display name of the entrance. */
82390
- display_name: string;
82391
- /** Type of door. */
82392
- door_type: 'common_area' | 'guest';
82492
+ common_area_number?: string | undefined;
82493
+ /** Display name of the entrance. */
82494
+ common_area_name?: string | undefined;
82393
82495
  } | undefined;
82394
82496
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
82395
82497
  visionline_metadata?: {
@@ -1 +1 @@
1
- export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, building_block_type, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, customization_profile, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
1
+ export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, building_block_type, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, customization_profile, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, staff_member_resource, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
@@ -1,2 +1,2 @@
1
- export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, building_block_type, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, customization_profile, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
1
+ export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, batch, bridge, bridge_client_session, building_block_type, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, customization_profile, device, device_provider, instant_key, magic_link, noise_threshold, pagination, seam_event, staff_member_resource, thermostat_daily_program, thermostat_schedule, thermostat_weekly_program, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
2
2
  //# sourceMappingURL=schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,KAAK,EACL,MAAM,EACN,qBAAqB,EACrB,mBAAmB,EACnB,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,MAAM,EACN,eAAe,EACf,WAAW,EACX,UAAU,EACV,eAAe,EACf,UAAU,EACV,UAAU,EACV,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,KAAK,EACL,MAAM,EACN,qBAAqB,EACrB,mBAAmB,EACnB,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,qBAAqB,EACrB,MAAM,EACN,eAAe,EACf,WAAW,EACX,UAAU,EACV,eAAe,EACf,UAAU,EACV,UAAU,EACV,qBAAqB,EACrB,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.604.0",
3
+ "version": "1.606.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -74,6 +74,7 @@ export {
74
74
  space,
75
75
  neutral_resource as space_resource,
76
76
  spaces_batch,
77
+ staff_member_resource,
77
78
  tenant_resource,
78
79
  thermostat_capability_properties,
79
80
  thermostat_device_type,
@@ -3,9 +3,10 @@ import { z } from 'zod'
3
3
  export const acs_entrance_hotek_metadata = z
4
4
  .object({
5
5
  room_number: z.string().describe('Room number of the entrance.'),
6
- display_name: z.string().describe('Display name of the entrance.'),
7
- door_type: z.enum(['common_area', 'guest']).describe('Type of door.'),
6
+ common_area_number: z.string().describe('Display name of the entrance.'),
7
+ common_area_name: z.string().describe('Display name of the entrance.'),
8
8
  })
9
+ .partial()
9
10
  .describe('Hotek-specific metadata associated with the entrance.')
10
11
 
11
12
  export type AcsEntranceHotekMetadata = z.infer<
@@ -20,6 +20,7 @@ import {
20
20
  import {
21
21
  guest_resource,
22
22
  resident_resource,
23
+ staff_member_resource,
23
24
  tenant_resource,
24
25
  user_identity_resource,
25
26
  user_resource,
@@ -82,6 +83,10 @@ export const customer_data = z.object({
82
83
  .array(user_identity_resource)
83
84
  .optional()
84
85
  .describe('List of user identities.'),
86
+ staff_members: z
87
+ .array(staff_member_resource)
88
+ .optional()
89
+ .describe('List of staff members.'),
85
90
 
86
91
  // Access grant resources
87
92
  reservations: z
@@ -32,6 +32,23 @@ export const user_resource = base_user_identity_resource.extend({
32
32
  user_key: z.string().describe('Your unique identifier for the user.'),
33
33
  })
34
34
 
35
+ // staff resource
36
+ export const staff_member_resource = base_user_identity_resource.extend({
37
+ staff_member_key: z
38
+ .string()
39
+ .describe('Your unique identifier for the staff.'),
40
+ site_keys: z
41
+ .array(z.string())
42
+ .describe(
43
+ 'List of unique identifiers for the sites the staff member is associated with.',
44
+ ),
45
+ }).describe(`
46
+ ---
47
+ route_path: /seam/customer/v1/staff_members
48
+ ---
49
+ Represents a staff member for a specific customer.
50
+ `)
51
+
35
52
  export const user_identity_resource = base_user_identity_resource.extend({
36
53
  user_identity_key: z
37
54
  .string()
@@ -45,6 +62,7 @@ export const user_identity_resource_union = z.union([
45
62
  resident_resource,
46
63
  user_resource,
47
64
  user_identity_resource,
65
+ staff_member_resource,
48
66
  ])
49
67
 
50
68
  // All user identity key aliases for use in references