@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
@@ -4557,17 +4557,17 @@ declare const acs_entrance: z.ZodObject<{
4557
4557
  accessibility_type: string;
4558
4558
  }>>;
4559
4559
  hotek_metadata: z.ZodOptional<z.ZodObject<{
4560
- room_number: z.ZodString;
4561
- display_name: z.ZodString;
4562
- door_type: z.ZodEnum<["common_area", "guest"]>;
4560
+ room_number: z.ZodOptional<z.ZodString>;
4561
+ common_area_number: z.ZodOptional<z.ZodString>;
4562
+ common_area_name: z.ZodOptional<z.ZodString>;
4563
4563
  }, "strip", z.ZodTypeAny, {
4564
- display_name: string;
4565
- door_type: "common_area" | "guest";
4566
- room_number: string;
4564
+ room_number?: string | undefined;
4565
+ common_area_number?: string | undefined;
4566
+ common_area_name?: string | undefined;
4567
4567
  }, {
4568
- display_name: string;
4569
- door_type: "common_area" | "guest";
4570
- room_number: string;
4568
+ room_number?: string | undefined;
4569
+ common_area_number?: string | undefined;
4570
+ common_area_name?: string | undefined;
4571
4571
  }>>;
4572
4572
  visionline_metadata: z.ZodOptional<z.ZodObject<{
4573
4573
  door_name: z.ZodString;
@@ -4584,14 +4584,14 @@ declare const acs_entrance: z.ZodObject<{
4584
4584
  }>, "many">>;
4585
4585
  }, "strip", z.ZodTypeAny, {
4586
4586
  door_name: string;
4587
- door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
4587
+ door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
4588
4588
  profiles?: {
4589
4589
  visionline_door_profile_id: string;
4590
4590
  visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
4591
4591
  }[] | undefined;
4592
4592
  }, {
4593
4593
  door_name: string;
4594
- door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
4594
+ door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
4595
4595
  profiles?: {
4596
4596
  visionline_door_profile_id: string;
4597
4597
  visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
@@ -4707,7 +4707,7 @@ declare const acs_entrance: z.ZodObject<{
4707
4707
  } | undefined;
4708
4708
  visionline_metadata?: {
4709
4709
  door_name: string;
4710
- door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
4710
+ door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
4711
4711
  profiles?: {
4712
4712
  visionline_door_profile_id: string;
4713
4713
  visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
@@ -4730,9 +4730,9 @@ declare const acs_entrance: z.ZodObject<{
4730
4730
  accessibility_type: string;
4731
4731
  } | undefined;
4732
4732
  hotek_metadata?: {
4733
- display_name: string;
4734
- door_type: "common_area" | "guest";
4735
- room_number: string;
4733
+ room_number?: string | undefined;
4734
+ common_area_number?: string | undefined;
4735
+ common_area_name?: string | undefined;
4736
4736
  } | undefined;
4737
4737
  dormakaba_community_metadata?: {
4738
4738
  access_point_profile: string;
@@ -4771,7 +4771,7 @@ declare const acs_entrance: z.ZodObject<{
4771
4771
  } | undefined;
4772
4772
  visionline_metadata?: {
4773
4773
  door_name: string;
4774
- door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
4774
+ door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
4775
4775
  profiles?: {
4776
4776
  visionline_door_profile_id: string;
4777
4777
  visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
@@ -4794,9 +4794,9 @@ declare const acs_entrance: z.ZodObject<{
4794
4794
  accessibility_type: string;
4795
4795
  } | undefined;
4796
4796
  hotek_metadata?: {
4797
- display_name: string;
4798
- door_type: "common_area" | "guest";
4799
- room_number: string;
4797
+ room_number?: string | undefined;
4798
+ common_area_number?: string | undefined;
4799
+ common_area_name?: string | undefined;
4800
4800
  } | undefined;
4801
4801
  dormakaba_community_metadata?: {
4802
4802
  access_point_profile: string;
@@ -14647,17 +14647,17 @@ declare const batch: z.ZodObject<{
14647
14647
  accessibility_type: string;
14648
14648
  }>>;
14649
14649
  hotek_metadata: z.ZodOptional<z.ZodObject<{
14650
- room_number: z.ZodString;
14651
- display_name: z.ZodString;
14652
- door_type: z.ZodEnum<["common_area", "guest"]>;
14650
+ room_number: z.ZodOptional<z.ZodString>;
14651
+ common_area_number: z.ZodOptional<z.ZodString>;
14652
+ common_area_name: z.ZodOptional<z.ZodString>;
14653
14653
  }, "strip", z.ZodTypeAny, {
14654
- display_name: string;
14655
- door_type: "common_area" | "guest";
14656
- room_number: string;
14654
+ room_number?: string | undefined;
14655
+ common_area_number?: string | undefined;
14656
+ common_area_name?: string | undefined;
14657
14657
  }, {
14658
- display_name: string;
14659
- door_type: "common_area" | "guest";
14660
- room_number: string;
14658
+ room_number?: string | undefined;
14659
+ common_area_number?: string | undefined;
14660
+ common_area_name?: string | undefined;
14661
14661
  }>>;
14662
14662
  visionline_metadata: z.ZodOptional<z.ZodObject<{
14663
14663
  door_name: z.ZodString;
@@ -14674,14 +14674,14 @@ declare const batch: z.ZodObject<{
14674
14674
  }>, "many">>;
14675
14675
  }, "strip", z.ZodTypeAny, {
14676
14676
  door_name: string;
14677
- door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
14677
+ door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
14678
14678
  profiles?: {
14679
14679
  visionline_door_profile_id: string;
14680
14680
  visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
14681
14681
  }[] | undefined;
14682
14682
  }, {
14683
14683
  door_name: string;
14684
- door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
14684
+ door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
14685
14685
  profiles?: {
14686
14686
  visionline_door_profile_id: string;
14687
14687
  visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
@@ -14797,7 +14797,7 @@ declare const batch: z.ZodObject<{
14797
14797
  } | undefined;
14798
14798
  visionline_metadata?: {
14799
14799
  door_name: string;
14800
- door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
14800
+ door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
14801
14801
  profiles?: {
14802
14802
  visionline_door_profile_id: string;
14803
14803
  visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
@@ -14820,9 +14820,9 @@ declare const batch: z.ZodObject<{
14820
14820
  accessibility_type: string;
14821
14821
  } | undefined;
14822
14822
  hotek_metadata?: {
14823
- display_name: string;
14824
- door_type: "common_area" | "guest";
14825
- room_number: string;
14823
+ room_number?: string | undefined;
14824
+ common_area_number?: string | undefined;
14825
+ common_area_name?: string | undefined;
14826
14826
  } | undefined;
14827
14827
  dormakaba_community_metadata?: {
14828
14828
  access_point_profile: string;
@@ -14861,7 +14861,7 @@ declare const batch: z.ZodObject<{
14861
14861
  } | undefined;
14862
14862
  visionline_metadata?: {
14863
14863
  door_name: string;
14864
- door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
14864
+ door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
14865
14865
  profiles?: {
14866
14866
  visionline_door_profile_id: string;
14867
14867
  visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
@@ -14884,9 +14884,9 @@ declare const batch: z.ZodObject<{
14884
14884
  accessibility_type: string;
14885
14885
  } | undefined;
14886
14886
  hotek_metadata?: {
14887
- display_name: string;
14888
- door_type: "common_area" | "guest";
14889
- room_number: string;
14887
+ room_number?: string | undefined;
14888
+ common_area_number?: string | undefined;
14889
+ common_area_name?: string | undefined;
14890
14890
  } | undefined;
14891
14891
  dormakaba_community_metadata?: {
14892
14892
  access_point_profile: string;
@@ -31695,7 +31695,7 @@ declare const batch: z.ZodObject<{
31695
31695
  } | undefined;
31696
31696
  visionline_metadata?: {
31697
31697
  door_name: string;
31698
- door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
31698
+ door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
31699
31699
  profiles?: {
31700
31700
  visionline_door_profile_id: string;
31701
31701
  visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
@@ -31718,9 +31718,9 @@ declare const batch: z.ZodObject<{
31718
31718
  accessibility_type: string;
31719
31719
  } | undefined;
31720
31720
  hotek_metadata?: {
31721
- display_name: string;
31722
- door_type: "common_area" | "guest";
31723
- room_number: string;
31721
+ room_number?: string | undefined;
31722
+ common_area_number?: string | undefined;
31723
+ common_area_name?: string | undefined;
31724
31724
  } | undefined;
31725
31725
  dormakaba_community_metadata?: {
31726
31726
  access_point_profile: string;
@@ -35605,7 +35605,7 @@ declare const batch: z.ZodObject<{
35605
35605
  } | undefined;
35606
35606
  visionline_metadata?: {
35607
35607
  door_name: string;
35608
- door_category: "guest" | "entrance" | "elevator reader" | "common" | "common (PMS)";
35608
+ door_category: "entrance" | "guest" | "elevator reader" | "common" | "common (PMS)";
35609
35609
  profiles?: {
35610
35610
  visionline_door_profile_id: string;
35611
35611
  visionline_door_profile_type: "BLE" | "commonDoor" | "touch";
@@ -35628,9 +35628,9 @@ declare const batch: z.ZodObject<{
35628
35628
  accessibility_type: string;
35629
35629
  } | undefined;
35630
35630
  hotek_metadata?: {
35631
- display_name: string;
35632
- door_type: "common_area" | "guest";
35633
- room_number: string;
35631
+ room_number?: string | undefined;
35632
+ common_area_number?: string | undefined;
35633
+ common_area_name?: string | undefined;
35634
35634
  } | undefined;
35635
35635
  dormakaba_community_metadata?: {
35636
35636
  access_point_profile: string;
@@ -39632,6 +39632,27 @@ type ConnectedAccount = z.infer<typeof connected_account>;
39632
39632
  declare const custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
39633
39633
  type CustomMetadata = z.output<typeof custom_metadata>;
39634
39634
 
39635
+ declare const staff_member_resource: z.ZodObject<{
39636
+ name: z.ZodString;
39637
+ email_address: z.ZodOptional<z.ZodString>;
39638
+ phone_number: z.ZodOptional<z.ZodString>;
39639
+ } & {
39640
+ staff_member_key: z.ZodString;
39641
+ site_keys: z.ZodArray<z.ZodString, "many">;
39642
+ }, "strip", z.ZodTypeAny, {
39643
+ name: string;
39644
+ staff_member_key: string;
39645
+ site_keys: string[];
39646
+ email_address?: string | undefined;
39647
+ phone_number?: string | undefined;
39648
+ }, {
39649
+ name: string;
39650
+ staff_member_key: string;
39651
+ site_keys: string[];
39652
+ email_address?: string | undefined;
39653
+ phone_number?: string | undefined;
39654
+ }>;
39655
+
39635
39656
  declare const customization_profile: z.ZodObject<{
39636
39657
  workspace_id: z.ZodString;
39637
39658
  name: z.ZodNullable<z.ZodString>;
@@ -51479,6 +51500,7 @@ declare const schemas_magic_link: typeof magic_link;
51479
51500
  declare const schemas_noise_threshold: typeof noise_threshold;
51480
51501
  declare const schemas_pagination: typeof pagination;
51481
51502
  declare const schemas_seam_event: typeof seam_event;
51503
+ declare const schemas_staff_member_resource: typeof staff_member_resource;
51482
51504
  declare const schemas_thermostat_daily_program: typeof thermostat_daily_program;
51483
51505
  declare const schemas_thermostat_schedule: typeof thermostat_schedule;
51484
51506
  declare const schemas_thermostat_weekly_program: typeof thermostat_weekly_program;
@@ -51491,7 +51513,7 @@ declare const schemas_user_identity: typeof user_identity;
51491
51513
  declare const schemas_webhook: typeof webhook;
51492
51514
  declare const schemas_workspace: typeof workspace;
51493
51515
  declare namespace schemas {
51494
- export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_encoder as acs_encoder, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_batch as batch, schemas_bridge as bridge, schemas_bridge_client_session as bridge_client_session, schemas_building_block_type as building_block_type, schemas_client_session as client_session, schemas_common_failed_action_attempt as common_failed_action_attempt, schemas_common_pending_action_attempt as common_pending_action_attempt, schemas_common_succeeded_action_attempt as common_succeeded_action_attempt, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_customization_profile as customization_profile, schemas_device as device, schemas_device_provider as device_provider, schemas_instant_key as instant_key, schemas_magic_link as magic_link, schemas_noise_threshold as noise_threshold, schemas_pagination as pagination, schemas_seam_event as seam_event, schemas_thermostat_daily_program as thermostat_daily_program, schemas_thermostat_schedule as thermostat_schedule, schemas_thermostat_weekly_program as thermostat_weekly_program, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
51516
+ export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_encoder as acs_encoder, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_batch as batch, schemas_bridge as bridge, schemas_bridge_client_session as bridge_client_session, schemas_building_block_type as building_block_type, schemas_client_session as client_session, schemas_common_failed_action_attempt as common_failed_action_attempt, schemas_common_pending_action_attempt as common_pending_action_attempt, schemas_common_succeeded_action_attempt as common_succeeded_action_attempt, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_customization_profile as customization_profile, schemas_device as device, schemas_device_provider as device_provider, schemas_instant_key as instant_key, schemas_magic_link as magic_link, schemas_noise_threshold as noise_threshold, schemas_pagination as pagination, schemas_seam_event as seam_event, schemas_staff_member_resource as staff_member_resource, schemas_thermostat_daily_program as thermostat_daily_program, schemas_thermostat_schedule as thermostat_schedule, schemas_thermostat_weekly_program as thermostat_weekly_program, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
51495
51517
  }
51496
51518
 
51497
51519
  declare const _default: {
@@ -52722,13 +52744,12 @@ declare const _default: {
52722
52744
  hotek_metadata: {
52723
52745
  description: string;
52724
52746
  properties: {
52725
- display_name: {
52747
+ common_area_name: {
52726
52748
  description: string;
52727
52749
  type: string;
52728
52750
  };
52729
- door_type: {
52751
+ common_area_number: {
52730
52752
  description: string;
52731
- enum: string[];
52732
52753
  type: string;
52733
52754
  };
52734
52755
  room_number: {
@@ -52736,7 +52757,6 @@ declare const _default: {
52736
52757
  type: string;
52737
52758
  };
52738
52759
  };
52739
- required: string[];
52740
52760
  type: string;
52741
52761
  };
52742
52762
  latch_metadata: {
@@ -63084,13 +63104,12 @@ declare const _default: {
63084
63104
  hotek_metadata: {
63085
63105
  description: string;
63086
63106
  properties: {
63087
- display_name: {
63107
+ common_area_name: {
63088
63108
  description: string;
63089
63109
  type: string;
63090
63110
  };
63091
- door_type: {
63111
+ common_area_number: {
63092
63112
  description: string;
63093
- enum: string[];
63094
63113
  type: string;
63095
63114
  };
63096
63115
  room_number: {
@@ -63098,7 +63117,6 @@ declare const _default: {
63098
63117
  type: string;
63099
63118
  };
63100
63119
  };
63101
- required: string[];
63102
63120
  type: string;
63103
63121
  };
63104
63122
  latch_metadata: {
@@ -63710,6 +63728,37 @@ declare const _default: {
63710
63728
  'x-draft': string;
63711
63729
  'x-route-path': string;
63712
63730
  };
63731
+ staff_member: {
63732
+ description: string;
63733
+ properties: {
63734
+ email_address: {
63735
+ description: string;
63736
+ type: string;
63737
+ };
63738
+ name: {
63739
+ description: string;
63740
+ type: string;
63741
+ };
63742
+ phone_number: {
63743
+ description: string;
63744
+ type: string;
63745
+ };
63746
+ site_keys: {
63747
+ description: string;
63748
+ items: {
63749
+ type: string;
63750
+ };
63751
+ type: string;
63752
+ };
63753
+ staff_member_key: {
63754
+ description: string;
63755
+ type: string;
63756
+ };
63757
+ };
63758
+ required: string[];
63759
+ type: string;
63760
+ 'x-route-path': string;
63761
+ };
63713
63762
  thermostat_daily_program: {
63714
63763
  description: string;
63715
63764
  properties: {
@@ -78030,6 +78079,132 @@ declare const _default: {
78030
78079
  'x-title': string;
78031
78080
  };
78032
78081
  };
78082
+ '/acs/systems/report_devices': {
78083
+ post: {
78084
+ description: string;
78085
+ operationId: string;
78086
+ requestBody: {
78087
+ content: {
78088
+ 'application/json': {
78089
+ schema: {
78090
+ properties: {
78091
+ acs_encoders: {
78092
+ default: never[];
78093
+ description: string;
78094
+ items: {
78095
+ properties: {
78096
+ hotek_metadata: {
78097
+ properties: {
78098
+ encoder_number: {
78099
+ description: string;
78100
+ type: string;
78101
+ };
78102
+ };
78103
+ required: string[];
78104
+ type: string;
78105
+ };
78106
+ is_removed: {
78107
+ default: boolean;
78108
+ description: string;
78109
+ type: string;
78110
+ };
78111
+ };
78112
+ required: string[];
78113
+ type: string;
78114
+ };
78115
+ type: string;
78116
+ };
78117
+ acs_entrances: {
78118
+ default: never[];
78119
+ description: string;
78120
+ items: {
78121
+ properties: {
78122
+ hotek_metadata: {
78123
+ description: string;
78124
+ properties: {
78125
+ common_area_name: {
78126
+ description: string;
78127
+ type: string;
78128
+ };
78129
+ common_area_number: {
78130
+ description: string;
78131
+ type: string;
78132
+ };
78133
+ room_number: {
78134
+ description: string;
78135
+ type: string;
78136
+ };
78137
+ };
78138
+ type: string;
78139
+ };
78140
+ is_removed: {
78141
+ default: boolean;
78142
+ description: string;
78143
+ type: string;
78144
+ };
78145
+ };
78146
+ required: string[];
78147
+ type: string;
78148
+ };
78149
+ type: string;
78150
+ };
78151
+ acs_system_id: {
78152
+ description: string;
78153
+ format: string;
78154
+ type: string;
78155
+ };
78156
+ };
78157
+ required: string[];
78158
+ type: string;
78159
+ };
78160
+ };
78161
+ };
78162
+ };
78163
+ responses: {
78164
+ 200: {
78165
+ content: {
78166
+ 'application/json': {
78167
+ schema: {
78168
+ properties: {
78169
+ ok: {
78170
+ type: string;
78171
+ };
78172
+ };
78173
+ required: string[];
78174
+ type: string;
78175
+ };
78176
+ };
78177
+ };
78178
+ description: string;
78179
+ };
78180
+ 400: {
78181
+ description: string;
78182
+ };
78183
+ 401: {
78184
+ description: string;
78185
+ };
78186
+ };
78187
+ security: ({
78188
+ pat_with_workspace: never[];
78189
+ console_session_with_workspace?: never;
78190
+ api_key?: never;
78191
+ } | {
78192
+ console_session_with_workspace: never[];
78193
+ pat_with_workspace?: never;
78194
+ api_key?: never;
78195
+ } | {
78196
+ api_key: never[];
78197
+ pat_with_workspace?: never;
78198
+ console_session_with_workspace?: never;
78199
+ })[];
78200
+ summary: string;
78201
+ tags: string[];
78202
+ 'x-fern-sdk-group-name': string[];
78203
+ 'x-fern-sdk-method-name': string;
78204
+ 'x-response-key': null;
78205
+ 'x-title': string;
78206
+ };
78207
+ };
78033
78208
  '/acs/users/add_to_access_group': {
78034
78209
  post: {
78035
78210
  description: string;
@@ -83971,6 +84146,41 @@ declare const _default: {
83971
84146
  };
83972
84147
  type: string;
83973
84148
  };
84149
+ staff_members: {
84150
+ description: string;
84151
+ items: {
84152
+ description: string;
84153
+ properties: {
84154
+ email_address: {
84155
+ description: string;
84156
+ type: string;
84157
+ };
84158
+ name: {
84159
+ description: string;
84160
+ type: string;
84161
+ };
84162
+ phone_number: {
84163
+ description: string;
84164
+ type: string;
84165
+ };
84166
+ site_keys: {
84167
+ description: string;
84168
+ items: {
84169
+ type: string;
84170
+ };
84171
+ type: string;
84172
+ };
84173
+ staff_member_key: {
84174
+ description: string;
84175
+ type: string;
84176
+ };
84177
+ };
84178
+ required: string[];
84179
+ type: string;
84180
+ 'x-route-path': string;
84181
+ };
84182
+ type: string;
84183
+ };
83974
84184
  tenants: {
83975
84185
  description: string;
83976
84186
  items: {
@@ -84933,6 +85143,41 @@ declare const _default: {
84933
85143
  };
84934
85144
  type: string;
84935
85145
  };
85146
+ staff_members: {
85147
+ description: string;
85148
+ items: {
85149
+ description: string;
85150
+ properties: {
85151
+ email_address: {
85152
+ description: string;
85153
+ type: string;
85154
+ };
85155
+ name: {
85156
+ description: string;
85157
+ type: string;
85158
+ };
85159
+ phone_number: {
85160
+ description: string;
85161
+ type: string;
85162
+ };
85163
+ site_keys: {
85164
+ description: string;
85165
+ items: {
85166
+ type: string;
85167
+ };
85168
+ type: string;
85169
+ };
85170
+ staff_member_key: {
85171
+ description: string;
85172
+ type: string;
85173
+ };
85174
+ };
85175
+ required: string[];
85176
+ type: string;
85177
+ 'x-route-path': string;
85178
+ };
85179
+ type: string;
85180
+ };
84936
85181
  tenants: {
84937
85182
  description: string;
84938
85183
  items: {
@@ -95898,6 +96143,190 @@ declare const _default: {
95898
96143
  'x-title': string;
95899
96144
  };
95900
96145
  };
96146
+ '/seam/customer/v1/staff_members/list': {
96147
+ get: {
96148
+ description: string;
96149
+ operationId: string;
96150
+ parameters: ({
96151
+ in: string;
96152
+ name: string;
96153
+ schema: {
96154
+ description: string;
96155
+ type: string;
96156
+ format?: never;
96157
+ default?: never;
96158
+ exclusiveMinimum?: never;
96159
+ minimum?: never;
96160
+ nullable?: never;
96161
+ };
96162
+ } | {
96163
+ in: string;
96164
+ name: string;
96165
+ schema: {
96166
+ description: string;
96167
+ format: string;
96168
+ type: string;
96169
+ default?: never;
96170
+ exclusiveMinimum?: never;
96171
+ minimum?: never;
96172
+ nullable?: never;
96173
+ };
96174
+ } | {
96175
+ in: string;
96176
+ name: string;
96177
+ schema: {
96178
+ default: number;
96179
+ description: string;
96180
+ exclusiveMinimum: boolean;
96181
+ minimum: number;
96182
+ type: string;
96183
+ format?: never;
96184
+ nullable?: never;
96185
+ };
96186
+ } | {
96187
+ in: string;
96188
+ name: string;
96189
+ schema: {
96190
+ description: string;
96191
+ nullable: boolean;
96192
+ type: string;
96193
+ format?: never;
96194
+ default?: never;
96195
+ exclusiveMinimum?: never;
96196
+ minimum?: never;
96197
+ };
96198
+ })[];
96199
+ responses: {
96200
+ 200: {
96201
+ content: {
96202
+ 'application/json': {
96203
+ schema: {
96204
+ properties: {
96205
+ ok: {
96206
+ type: string;
96207
+ };
96208
+ pagination: {
96209
+ $ref: string;
96210
+ };
96211
+ staff_members: {
96212
+ items: {
96213
+ $ref: string;
96214
+ };
96215
+ type: string;
96216
+ };
96217
+ };
96218
+ required: string[];
96219
+ type: string;
96220
+ };
96221
+ };
96222
+ };
96223
+ description: string;
96224
+ };
96225
+ 400: {
96226
+ description: string;
96227
+ };
96228
+ 401: {
96229
+ description: string;
96230
+ };
96231
+ };
96232
+ security: {
96233
+ client_session_with_customer: never[];
96234
+ }[];
96235
+ summary: string;
96236
+ tags: never[];
96237
+ 'x-fern-sdk-group-name': string[];
96238
+ 'x-fern-sdk-method-name': string;
96239
+ 'x-fern-sdk-return-value': string;
96240
+ 'x-response-key': string;
96241
+ 'x-title': string;
96242
+ 'x-undocumented': string;
96243
+ };
96244
+ post: {
96245
+ description: string;
96246
+ operationId: string;
96247
+ requestBody: {
96248
+ content: {
96249
+ 'application/json': {
96250
+ schema: {
96251
+ properties: {
96252
+ created_before: {
96253
+ description: string;
96254
+ format: string;
96255
+ type: string;
96256
+ };
96257
+ limit: {
96258
+ default: number;
96259
+ description: string;
96260
+ exclusiveMinimum: boolean;
96261
+ minimum: number;
96262
+ type: string;
96263
+ };
96264
+ page_cursor: {
96265
+ description: string;
96266
+ nullable: boolean;
96267
+ type: string;
96268
+ };
96269
+ space_id: {
96270
+ description: string;
96271
+ format: string;
96272
+ type: string;
96273
+ };
96274
+ space_key: {
96275
+ description: string;
96276
+ type: string;
96277
+ };
96278
+ };
96279
+ type: string;
96280
+ };
96281
+ };
96282
+ };
96283
+ };
96284
+ responses: {
96285
+ 200: {
96286
+ content: {
96287
+ 'application/json': {
96288
+ schema: {
96289
+ properties: {
96290
+ ok: {
96291
+ type: string;
96292
+ };
96293
+ pagination: {
96294
+ $ref: string;
96295
+ };
96296
+ staff_members: {
96297
+ items: {
96298
+ $ref: string;
96299
+ };
96300
+ type: string;
96301
+ };
96302
+ };
96303
+ required: string[];
96304
+ type: string;
96305
+ };
96306
+ };
96307
+ };
96308
+ description: string;
96309
+ };
96310
+ 400: {
96311
+ description: string;
96312
+ };
96313
+ 401: {
96314
+ description: string;
96315
+ };
96316
+ };
96317
+ security: {
96318
+ client_session_with_customer: never[];
96319
+ }[];
96320
+ summary: string;
96321
+ tags: never[];
96322
+ 'x-fern-sdk-group-name': string[];
96323
+ 'x-fern-sdk-method-name': string;
96324
+ 'x-fern-sdk-return-value': string;
96325
+ 'x-response-key': string;
96326
+ 'x-title': string;
96327
+ 'x-undocumented': string;
96328
+ };
96329
+ };
95901
96330
  '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
95902
96331
  post: {
95903
96332
  description: string;
@@ -119750,11 +120179,11 @@ type Routes = {
119750
120179
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
119751
120180
  hotek_metadata?: {
119752
120181
  /** Room number of the entrance. */
119753
- room_number: string;
120182
+ room_number?: string | undefined;
119754
120183
  /** Display name of the entrance. */
119755
- display_name: string;
119756
- /** Type of door. */
119757
- door_type: 'common_area' | 'guest';
120184
+ common_area_number?: string | undefined;
120185
+ /** Display name of the entrance. */
120186
+ common_area_name?: string | undefined;
119758
120187
  } | undefined;
119759
120188
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
119760
120189
  visionline_metadata?: {
@@ -123182,11 +123611,11 @@ type Routes = {
123182
123611
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
123183
123612
  hotek_metadata?: {
123184
123613
  /** Room number of the entrance. */
123185
- room_number: string;
123614
+ room_number?: string | undefined;
123186
123615
  /** Display name of the entrance. */
123187
- display_name: string;
123188
- /** Type of door. */
123189
- door_type: 'common_area' | 'guest';
123616
+ common_area_number?: string | undefined;
123617
+ /** Display name of the entrance. */
123618
+ common_area_name?: string | undefined;
123190
123619
  } | undefined;
123191
123620
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
123192
123621
  visionline_metadata?: {
@@ -129239,11 +129668,11 @@ type Routes = {
129239
129668
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
129240
129669
  hotek_metadata?: {
129241
129670
  /** Room number of the entrance. */
129242
- room_number: string;
129671
+ room_number?: string | undefined;
129243
129672
  /** Display name of the entrance. */
129244
- display_name: string;
129245
- /** Type of door. */
129246
- door_type: 'common_area' | 'guest';
129673
+ common_area_number?: string | undefined;
129674
+ /** Display name of the entrance. */
129675
+ common_area_name?: string | undefined;
129247
129676
  } | undefined;
129248
129677
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
129249
129678
  visionline_metadata?: {
@@ -130605,11 +131034,11 @@ type Routes = {
130605
131034
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
130606
131035
  hotek_metadata?: {
130607
131036
  /** Room number of the entrance. */
130608
- room_number: string;
131037
+ room_number?: string | undefined;
130609
131038
  /** Display name of the entrance. */
130610
- display_name: string;
130611
- /** Type of door. */
130612
- door_type: 'common_area' | 'guest';
131039
+ common_area_number?: string | undefined;
131040
+ /** Display name of the entrance. */
131041
+ common_area_name?: string | undefined;
130613
131042
  } | undefined;
130614
131043
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
130615
131044
  visionline_metadata?: {
@@ -134071,11 +134500,11 @@ type Routes = {
134071
134500
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
134072
134501
  hotek_metadata?: {
134073
134502
  /** Room number of the entrance. */
134074
- room_number: string;
134503
+ room_number?: string | undefined;
134075
134504
  /** Display name of the entrance. */
134076
- display_name: string;
134077
- /** Type of door. */
134078
- door_type: 'common_area' | 'guest';
134505
+ common_area_number?: string | undefined;
134506
+ /** Display name of the entrance. */
134507
+ common_area_name?: string | undefined;
134079
134508
  } | undefined;
134080
134509
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
134081
134510
  visionline_metadata?: {
@@ -134238,11 +134667,11 @@ type Routes = {
134238
134667
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
134239
134668
  hotek_metadata?: {
134240
134669
  /** Room number of the entrance. */
134241
- room_number: string;
134670
+ room_number?: string | undefined;
134242
134671
  /** Display name of the entrance. */
134243
- display_name: string;
134244
- /** Type of door. */
134245
- door_type: 'common_area' | 'guest';
134672
+ common_area_number?: string | undefined;
134673
+ /** Display name of the entrance. */
134674
+ common_area_name?: string | undefined;
134246
134675
  } | undefined;
134247
134676
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
134248
134677
  visionline_metadata?: {
@@ -134880,6 +135309,40 @@ type Routes = {
134880
135309
  }[];
134881
135310
  };
134882
135311
  };
135312
+ '/acs/systems/report_devices': {
135313
+ route: '/acs/systems/report_devices';
135314
+ method: 'POST';
135315
+ queryParams: {};
135316
+ jsonBody: {};
135317
+ commonParams: {
135318
+ /** ID of the ACS system to report resources for */
135319
+ acs_system_id: string;
135320
+ /** Array of ACS encoders to report */
135321
+ acs_encoders?: {
135322
+ /** Whether the encoder is removed */
135323
+ is_removed?: boolean | undefined;
135324
+ hotek_metadata: {
135325
+ /** The encoder number determined by the USB port connection. */
135326
+ encoder_number: string;
135327
+ };
135328
+ }[] | undefined;
135329
+ /** Array of ACS entrances to report */
135330
+ acs_entrances?: {
135331
+ /** Whether the entrance is removed */
135332
+ is_removed?: boolean | undefined;
135333
+ /** Hotek-specific metadata associated with the entrance. */
135334
+ hotek_metadata: {
135335
+ /** The room number identifier */
135336
+ room_number?: string | undefined;
135337
+ /** The common area name */
135338
+ common_area_name?: string | undefined;
135339
+ common_area_number?: string | undefined;
135340
+ };
135341
+ }[] | undefined;
135342
+ };
135343
+ formData: {};
135344
+ jsonResponse: {};
135345
+ };
134883
135346
  '/acs/users/add_to_access_group': {
134884
135347
  route: '/acs/users/add_to_access_group';
134885
135348
  method: 'PUT' | 'POST';
@@ -135679,11 +136142,11 @@ type Routes = {
135679
136142
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
135680
136143
  hotek_metadata?: {
135681
136144
  /** Room number of the entrance. */
135682
- room_number: string;
136145
+ room_number?: string | undefined;
135683
136146
  /** Display name of the entrance. */
135684
- display_name: string;
135685
- /** Type of door. */
135686
- door_type: 'common_area' | 'guest';
136147
+ common_area_number?: string | undefined;
136148
+ /** Display name of the entrance. */
136149
+ common_area_name?: string | undefined;
135687
136150
  } | undefined;
135688
136151
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
135689
136152
  visionline_metadata?: {
@@ -140139,6 +140602,19 @@ type Routes = {
140139
140602
  /** Your unique identifier for the user identity. */
140140
140603
  user_identity_key: string;
140141
140604
  }[] | undefined;
140605
+ /** List of staff members. */
140606
+ staff_members?: {
140607
+ /** Your display name for this user identity resource. */
140608
+ name: string;
140609
+ /** Email address associated with the user identity. */
140610
+ email_address?: string | undefined;
140611
+ /** Phone number associated with the user identity. */
140612
+ phone_number?: string | undefined;
140613
+ /** Your unique identifier for the staff. */
140614
+ staff_member_key: string;
140615
+ /** List of unique identifiers for the sites the staff member is associated with. */
140616
+ site_keys: string[];
140617
+ }[] | undefined;
140142
140618
  /** List of reservations. */
140143
140619
  reservations?: {
140144
140620
  /** Your name for this access grant resource. */
@@ -140464,6 +140940,19 @@ type Routes = {
140464
140940
  /** Your unique identifier for the user identity. */
140465
140941
  user_identity_key: string;
140466
140942
  }[] | undefined;
140943
+ /** List of staff members. */
140944
+ staff_members?: {
140945
+ /** Your display name for this user identity resource. */
140946
+ name: string;
140947
+ /** Email address associated with the user identity. */
140948
+ email_address?: string | undefined;
140949
+ /** Phone number associated with the user identity. */
140950
+ phone_number?: string | undefined;
140951
+ /** Your unique identifier for the staff. */
140952
+ staff_member_key: string;
140953
+ /** List of unique identifiers for the sites the staff member is associated with. */
140954
+ site_keys: string[];
140955
+ }[] | undefined;
140467
140956
  /** List of reservations. */
140468
140957
  reservations?: {
140469
140958
  /** Your name for this access grant resource. */
@@ -167489,6 +167978,48 @@ type Routes = {
167489
167978
  }[];
167490
167979
  };
167491
167980
  };
167981
+ '/seam/customer/v1/staff_members/list': {
167982
+ route: '/seam/customer/v1/staff_members/list';
167983
+ method: 'GET' | 'POST';
167984
+ queryParams: {};
167985
+ jsonBody: {};
167986
+ commonParams: {
167987
+ /** Filter staff members by space key. */
167988
+ space_key?: string | undefined;
167989
+ /** Filter staff members by space ID (UUID). */
167990
+ space_id?: string | undefined;
167991
+ /** Maximum number of records to return per page. */
167992
+ limit?: number;
167993
+ /** Timestamp by which to limit returned staff members. Returns staff members created before this timestamp. */
167994
+ created_before?: Date | undefined;
167995
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
167996
+ page_cursor?: ((string | undefined) | null) | undefined;
167997
+ };
167998
+ formData: {};
167999
+ jsonResponse: {
168000
+ staff_members: {
168001
+ /** Your display name for this user identity resource. */
168002
+ name: string;
168003
+ /** Email address associated with the user identity. */
168004
+ email_address?: string | undefined;
168005
+ /** Phone number associated with the user identity. */
168006
+ phone_number?: string | undefined;
168007
+ /** Your unique identifier for the staff. */
168008
+ staff_member_key: string;
168009
+ /** List of unique identifiers for the sites the staff member is associated with. */
168010
+ site_keys: string[];
168011
+ }[];
168012
+ /** Information about the current page of results. */
168013
+ pagination: {
168014
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
168015
+ next_page_cursor: string | null;
168016
+ /** Indicates whether there is another page of results after this one. */
168017
+ has_next_page: boolean;
168018
+ /** URL to get the next page of results. */
168019
+ next_page_url: string | null;
168020
+ };
168021
+ };
168022
+ };
167492
168023
  '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]': {
167493
168024
  route: '/seam/customer/v1/webhooks/connectors/[workspace_id]/[connector_id]';
167494
168025
  method: 'POST';
@@ -167941,11 +168472,11 @@ type Routes = {
167941
168472
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
167942
168473
  hotek_metadata?: {
167943
168474
  /** Room number of the entrance. */
167944
- room_number: string;
168475
+ room_number?: string | undefined;
167945
168476
  /** Display name of the entrance. */
167946
- display_name: string;
167947
- /** Type of door. */
167948
- door_type: 'common_area' | 'guest';
168477
+ common_area_number?: string | undefined;
168478
+ /** Display name of the entrance. */
168479
+ common_area_name?: string | undefined;
167949
168480
  } | undefined;
167950
168481
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
167951
168482
  visionline_metadata?: {
@@ -169520,11 +170051,11 @@ type Routes = {
169520
170051
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
169521
170052
  hotek_metadata?: {
169522
170053
  /** Room number of the entrance. */
169523
- room_number: string;
170054
+ room_number?: string | undefined;
169524
170055
  /** Display name of the entrance. */
169525
- display_name: string;
169526
- /** Type of door. */
169527
- door_type: 'common_area' | 'guest';
170056
+ common_area_number?: string | undefined;
170057
+ /** Display name of the entrance. */
170058
+ common_area_name?: string | undefined;
169528
170059
  } | undefined;
169529
170060
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
169530
170061
  visionline_metadata?: {
@@ -190754,11 +191285,11 @@ type Routes = {
190754
191285
  /** Hotek-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
190755
191286
  hotek_metadata?: {
190756
191287
  /** Room number of the entrance. */
190757
- room_number: string;
191288
+ room_number?: string | undefined;
190758
191289
  /** Display name of the entrance. */
190759
- display_name: string;
190760
- /** Type of door. */
190761
- door_type: 'common_area' | 'guest';
191290
+ common_area_number?: string | undefined;
191291
+ /** Display name of the entrance. */
191292
+ common_area_name?: string | undefined;
190762
191293
  } | undefined;
190763
191294
  /** Visionline-specific metadata associated with the [entrance](https://docs.seam.co/latest/capability-guides/access-systems/retrieving-entrance-details). */
190764
191295
  visionline_metadata?: {