@seamapi/types 1.45.0 → 1.47.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 (30) hide show
  1. package/dist/connect.cjs +204 -7
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +324 -10
  4. package/lib/seam/connect/openapi.d.ts +266 -0
  5. package/lib/seam/connect/openapi.js +204 -7
  6. package/lib/seam/connect/openapi.js.map +1 -1
  7. package/lib/seam/connect/route-types.d.ts +58 -10
  8. package/lib/seam/connect/unstable/models/acs/entrance.d.ts +18 -0
  9. package/lib/seam/connect/unstable/models/acs/entrance.js +8 -0
  10. package/lib/seam/connect/unstable/models/acs/entrance.js.map +1 -0
  11. package/lib/seam/connect/unstable/models/acs/index.d.ts +1 -0
  12. package/lib/seam/connect/unstable/models/acs/index.js +1 -0
  13. package/lib/seam/connect/unstable/models/acs/index.js.map +1 -1
  14. package/lib/seam/connect/unstable/models/acs/system.d.ts +7 -7
  15. package/lib/seam/connect/unstable/models/acs/system.js +2 -0
  16. package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
  17. package/lib/seam/connect/unstable/models/acs/user.d.ts +4 -4
  18. package/lib/seam/connect/unstable/models/acs/user.js +5 -1
  19. package/lib/seam/connect/unstable/models/acs/user.js.map +1 -1
  20. package/lib/seam/connect/unstable/schemas.d.ts +1 -1
  21. package/lib/seam/connect/unstable/schemas.js +1 -1
  22. package/lib/seam/connect/unstable/schemas.js.map +1 -1
  23. package/package.json +1 -1
  24. package/src/lib/seam/connect/openapi.ts +204 -7
  25. package/src/lib/seam/connect/route-types.ts +78 -10
  26. package/src/lib/seam/connect/unstable/models/acs/entrance.ts +10 -0
  27. package/src/lib/seam/connect/unstable/models/acs/index.ts +1 -0
  28. package/src/lib/seam/connect/unstable/models/acs/system.ts +2 -0
  29. package/src/lib/seam/connect/unstable/models/acs/user.ts +5 -1
  30. package/src/lib/seam/connect/unstable/schemas.ts +1 -0
@@ -559,7 +559,7 @@ export interface Routes {
559
559
  workspace_id: string;
560
560
  created_at: string;
561
561
  display_name: string;
562
- external_type: 'pti_user' | 'brivo_user';
562
+ external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user';
563
563
  external_type_display_name: string;
564
564
  is_suspended: boolean;
565
565
  full_name?: string | undefined;
@@ -690,7 +690,55 @@ export interface Routes {
690
690
  };
691
691
  commonParams: {};
692
692
  formData: {};
693
- jsonResponse: {};
693
+ jsonResponse: {
694
+ acs_credential: {
695
+ acs_credential_id: string;
696
+ acs_user_id?: string | undefined;
697
+ acs_system_id: string;
698
+ display_name: string;
699
+ code: string | null;
700
+ external_type: 'pti_card' | 'brivo_credential';
701
+ external_type_display_name: string;
702
+ created_at: string;
703
+ workspace_id: string;
704
+ };
705
+ };
706
+ };
707
+ '/acs/entrances/get': {
708
+ route: '/acs/entrances/get';
709
+ method: 'GET' | 'POST';
710
+ queryParams: {};
711
+ jsonBody: {};
712
+ commonParams: {
713
+ acs_entrance_id: string;
714
+ };
715
+ formData: {};
716
+ jsonResponse: {
717
+ acs_entrance: {
718
+ acs_entrance_id: string;
719
+ display_name: string;
720
+ acs_system_id: string;
721
+ created_at: string;
722
+ };
723
+ };
724
+ };
725
+ '/acs/entrances/list': {
726
+ route: '/acs/entrances/list';
727
+ method: 'GET' | 'POST';
728
+ queryParams: {};
729
+ jsonBody: {};
730
+ commonParams: {
731
+ acs_system_id?: string | undefined;
732
+ };
733
+ formData: {};
734
+ jsonResponse: {
735
+ acs_entrances: Array<{
736
+ acs_entrance_id: string;
737
+ display_name: string;
738
+ acs_system_id: string;
739
+ created_at: string;
740
+ }>;
741
+ };
694
742
  };
695
743
  '/acs/systems/get': {
696
744
  route: '/acs/systems/get';
@@ -704,10 +752,10 @@ export interface Routes {
704
752
  jsonResponse: {
705
753
  acs_system: {
706
754
  acs_system_id: string;
707
- external_type: 'pti_site' | 'alta_org' | 'brivo_system';
755
+ external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
708
756
  external_type_display_name: string;
709
757
  /** deprecated: use external_type */
710
- system_type: 'pti_site' | 'alta_org' | 'brivo_system';
758
+ system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
711
759
  /** deprecated: use external_type_display_name */
712
760
  system_type_display_name: string;
713
761
  name: string;
@@ -728,10 +776,10 @@ export interface Routes {
728
776
  jsonResponse: {
729
777
  acs_systems: Array<{
730
778
  acs_system_id: string;
731
- external_type: 'pti_site' | 'alta_org' | 'brivo_system';
779
+ external_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
732
780
  external_type_display_name: string;
733
781
  /** deprecated: use external_type */
734
- system_type: 'pti_site' | 'alta_org' | 'brivo_system';
782
+ system_type: 'pti_site' | 'alta_org' | 'salto_site' | 'brivo_system' | 'hid_cm_org';
735
783
  /** deprecated: use external_type_display_name */
736
784
  system_type_display_name: string;
737
785
  name: string;
@@ -774,7 +822,7 @@ export interface Routes {
774
822
  workspace_id: string;
775
823
  created_at: string;
776
824
  display_name: string;
777
- external_type: 'pti_user' | 'brivo_user';
825
+ external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user';
778
826
  external_type_display_name: string;
779
827
  is_suspended: boolean;
780
828
  full_name?: string | undefined;
@@ -812,7 +860,7 @@ export interface Routes {
812
860
  workspace_id: string;
813
861
  created_at: string;
814
862
  display_name: string;
815
- external_type: 'pti_user' | 'brivo_user';
863
+ external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user';
816
864
  external_type_display_name: string;
817
865
  is_suspended: boolean;
818
866
  full_name?: string | undefined;
@@ -839,7 +887,7 @@ export interface Routes {
839
887
  workspace_id: string;
840
888
  created_at: string;
841
889
  display_name: string;
842
- external_type: 'pti_user' | 'brivo_user';
890
+ external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user';
843
891
  external_type_display_name: string;
844
892
  is_suspended: boolean;
845
893
  full_name?: string | undefined;
@@ -5839,7 +5887,7 @@ export interface Routes {
5839
5887
  workspace_id: string;
5840
5888
  created_at: string;
5841
5889
  display_name: string;
5842
- external_type: 'pti_user' | 'brivo_user';
5890
+ external_type: 'pti_user' | 'brivo_user' | 'hid_cm_user';
5843
5891
  external_type_display_name: string;
5844
5892
  is_suspended: boolean;
5845
5893
  full_name?: string | undefined;
@@ -0,0 +1,18 @@
1
+ import { z } from 'zod';
2
+ export declare const acs_entrance: z.ZodObject<{
3
+ acs_entrance_id: z.ZodString;
4
+ display_name: z.ZodString;
5
+ acs_system_id: z.ZodString;
6
+ created_at: z.ZodString;
7
+ }, "strip", z.ZodTypeAny, {
8
+ created_at: string;
9
+ acs_system_id: string;
10
+ display_name: string;
11
+ acs_entrance_id: string;
12
+ }, {
13
+ created_at: string;
14
+ acs_system_id: string;
15
+ display_name: string;
16
+ acs_entrance_id: string;
17
+ }>;
18
+ export type AcsEntrance = z.infer<typeof acs_entrance>;
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export const acs_entrance = z.object({
3
+ acs_entrance_id: z.string().uuid(),
4
+ display_name: z.string(),
5
+ acs_system_id: z.string().uuid(),
6
+ created_at: z.string().datetime(),
7
+ });
8
+ //# sourceMappingURL=entrance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entrance.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/entrance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAClC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA"}
@@ -1,4 +1,5 @@
1
1
  export * from './access_group.js';
2
2
  export * from './credential.js';
3
+ export * from './entrance.js';
3
4
  export * from './system.js';
4
5
  export * from './user.js';
@@ -1,5 +1,6 @@
1
1
  export * from './access_group.js';
2
2
  export * from './credential.js';
3
+ export * from './entrance.js';
3
4
  export * from './system.js';
4
5
  export * from './user.js';
5
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
@@ -1,11 +1,11 @@
1
1
  import { z } from 'zod';
2
- export declare const acs_system_external_type: z.ZodEnum<["pti_site", "alta_org", "brivo_system"]>;
2
+ export declare const acs_system_external_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_system", "hid_cm_org"]>;
3
3
  export type AcsSystemExternalType = z.infer<typeof acs_system_external_type>;
4
4
  export declare const acs_system: z.ZodObject<{
5
5
  acs_system_id: z.ZodString;
6
- external_type: z.ZodEnum<["pti_site", "alta_org", "brivo_system"]>;
6
+ external_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_system", "hid_cm_org"]>;
7
7
  external_type_display_name: z.ZodString;
8
- system_type: z.ZodEnum<["pti_site", "alta_org", "brivo_system"]>;
8
+ system_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_system", "hid_cm_org"]>;
9
9
  system_type_display_name: z.ZodString;
10
10
  name: z.ZodString;
11
11
  created_at: z.ZodString;
@@ -14,18 +14,18 @@ export declare const acs_system: z.ZodObject<{
14
14
  name: string;
15
15
  created_at: string;
16
16
  acs_system_id: string;
17
- external_type: "pti_site" | "alta_org" | "brivo_system";
17
+ external_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org";
18
18
  external_type_display_name: string;
19
- system_type: "pti_site" | "alta_org" | "brivo_system";
19
+ system_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org";
20
20
  system_type_display_name: string;
21
21
  connected_account_ids: string[];
22
22
  }, {
23
23
  name: string;
24
24
  created_at: string;
25
25
  acs_system_id: string;
26
- external_type: "pti_site" | "alta_org" | "brivo_system";
26
+ external_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org";
27
27
  external_type_display_name: string;
28
- system_type: "pti_site" | "alta_org" | "brivo_system";
28
+ system_type: "pti_site" | "alta_org" | "salto_site" | "brivo_system" | "hid_cm_org";
29
29
  system_type_display_name: string;
30
30
  connected_account_ids: string[];
31
31
  }>;
@@ -3,7 +3,9 @@ import { z } from 'zod';
3
3
  export const acs_system_external_type = z.enum([
4
4
  'pti_site',
5
5
  'alta_org',
6
+ 'salto_site',
6
7
  'brivo_system',
8
+ 'hid_cm_org',
7
9
  ]);
8
10
  export const acs_system = z.object({
9
11
  acs_system_id: z.string().uuid(),
@@ -1 +1 @@
1
- {"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,kEAAkE;AAClE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,UAAU;IACV,UAAU;IACV,cAAc;CACf,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,aAAa,EAAE,wBAAwB;IACvC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,WAAW,EAAE,wBAAwB,CAAC,QAAQ,CAC5C,+BAA+B,CAChC;IACD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,QAAQ,CAAC,4CAA4C,CAAC;IACzD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC3C,CAAC,CAAA"}
1
+ {"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,kEAAkE;AAClE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,UAAU;IACV,UAAU;IACV,YAAY;IACZ,cAAc;IACd,YAAY;CACb,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,aAAa,EAAE,wBAAwB;IACvC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,WAAW,EAAE,wBAAwB,CAAC,QAAQ,CAC5C,+BAA+B,CAChC;IACD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,QAAQ,CAAC,4CAA4C,CAAC;IACzD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC3C,CAAC,CAAA"}
@@ -1,11 +1,11 @@
1
1
  import { z } from 'zod';
2
- export declare const acs_user_external_type: z.ZodEnum<["pti_user", "brivo_user"]>;
2
+ export declare const acs_user_external_type: z.ZodEnum<["pti_user", "brivo_user", "hid_cm_user"]>;
3
3
  export type AcsUserExternalType = z.infer<typeof acs_user_external_type>;
4
4
  export declare const acs_user: z.ZodObject<{
5
5
  workspace_id: z.ZodString;
6
6
  created_at: z.ZodString;
7
7
  acs_system_id: z.ZodString;
8
- external_type: z.ZodEnum<["pti_user", "brivo_user"]>;
8
+ external_type: z.ZodEnum<["pti_user", "brivo_user", "hid_cm_user"]>;
9
9
  external_type_display_name: z.ZodString;
10
10
  acs_user_id: z.ZodString;
11
11
  display_name: z.ZodString;
@@ -18,7 +18,7 @@ export declare const acs_user: z.ZodObject<{
18
18
  workspace_id: string;
19
19
  created_at: string;
20
20
  acs_system_id: string;
21
- external_type: "pti_user" | "brivo_user";
21
+ external_type: "pti_user" | "brivo_user" | "hid_cm_user";
22
22
  external_type_display_name: string;
23
23
  acs_user_id: string;
24
24
  display_name: string;
@@ -31,7 +31,7 @@ export declare const acs_user: z.ZodObject<{
31
31
  workspace_id: string;
32
32
  created_at: string;
33
33
  acs_system_id: string;
34
- external_type: "pti_user" | "brivo_user";
34
+ external_type: "pti_user" | "brivo_user" | "hid_cm_user";
35
35
  external_type_display_name: string;
36
36
  acs_user_id: string;
37
37
  display_name: string;
@@ -1,5 +1,9 @@
1
1
  import { z } from 'zod';
2
- export const acs_user_external_type = z.enum(['pti_user', 'brivo_user']);
2
+ export const acs_user_external_type = z.enum([
3
+ 'pti_user',
4
+ 'brivo_user',
5
+ 'hid_cm_user',
6
+ ]);
3
7
  const phone_number = z.coerce
4
8
  .string()
5
9
  .trim()
@@ -1 +1 @@
1
- {"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK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BAAsB;IACrC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE;CAC1B,CAAC;KACD,KAAK,CAAC,WAAW,CAAC,CAAA"}
@@ -1 +1 @@
1
- export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
1
+ export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_entrance, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
@@ -1,2 +1,2 @@
1
- export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
1
+ export { access_code_code_constraint, acs_access_group, acs_access_group_external_type, acs_credential, acs_credential_external_type, acs_entrance, acs_system, acs_system_external_type, acs_user, acs_user_external_type, any_device_type, battery_status, capabilities, climate_setting, climate_setting_schedule, common_device_properties, fan_mode_setting, lock_device_type, managed_access_code, managed_device, noise_sensor_device_type, thermostat_capability_properties, thermostat_device_type, unmanaged_access_code, unmanaged_device, user_identity, } from './models/index.js';
2
2
  //# sourceMappingURL=schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/unstable/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,4BAA4B,EAC5B,UAAU,EACV,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,wBAAwB,EACxB,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,GACd,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/unstable/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,gBAAgB,EAChB,8BAA8B,EAC9B,cAAc,EACd,4BAA4B,EAC5B,YAAY,EACZ,UAAU,EACV,wBAAwB,EACxB,QAAQ,EACR,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,YAAY,EACZ,eAAe,EACf,wBAAwB,EACxB,wBAAwB,EACxB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,wBAAwB,EACxB,gCAAgC,EAChC,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,aAAa,GACd,MAAM,mBAAmB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.45.0",
3
+ "version": "1.47.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -100,14 +100,26 @@ export default {
100
100
  connected_account_ids: { items: { type: 'string' }, type: 'array' },
101
101
  created_at: { format: 'date-time', type: 'string' },
102
102
  external_type: {
103
- enum: ['pti_site', 'alta_org', 'brivo_system'],
103
+ enum: [
104
+ 'pti_site',
105
+ 'alta_org',
106
+ 'salto_site',
107
+ 'brivo_system',
108
+ 'hid_cm_org',
109
+ ],
104
110
  type: 'string',
105
111
  },
106
112
  external_type_display_name: { type: 'string' },
107
113
  name: { type: 'string' },
108
114
  system_type: {
109
115
  description: 'deprecated: use external_type',
110
- enum: ['pti_site', 'alta_org', 'brivo_system'],
116
+ enum: [
117
+ 'pti_site',
118
+ 'alta_org',
119
+ 'salto_site',
120
+ 'brivo_system',
121
+ 'hid_cm_org',
122
+ ],
111
123
  type: 'string',
112
124
  },
113
125
  system_type_display_name: {
@@ -139,7 +151,10 @@ export default {
139
151
  type: 'string',
140
152
  },
141
153
  email_address: { format: 'email', type: 'string' },
142
- external_type: { enum: ['pti_user', 'brivo_user'], type: 'string' },
154
+ external_type: {
155
+ enum: ['pti_user', 'brivo_user', 'hid_cm_user'],
156
+ type: 'string',
157
+ },
143
158
  external_type_display_name: { type: 'string' },
144
159
  full_name: { type: 'string' },
145
160
  is_suspended: { type: 'boolean' },
@@ -3374,8 +3389,37 @@ export default {
3374
3389
  content: {
3375
3390
  'application/json': {
3376
3391
  schema: {
3377
- properties: { ok: { type: 'boolean' } },
3378
- required: ['ok'],
3392
+ properties: {
3393
+ acs_credential: {
3394
+ properties: {
3395
+ acs_credential_id: { format: 'uuid', type: 'string' },
3396
+ acs_system_id: { format: 'uuid', type: 'string' },
3397
+ acs_user_id: { format: 'uuid', type: 'string' },
3398
+ code: { nullable: true, type: 'string' },
3399
+ created_at: { format: 'date-time', type: 'string' },
3400
+ display_name: { minLength: 1, type: 'string' },
3401
+ external_type: {
3402
+ enum: ['pti_card', 'brivo_credential'],
3403
+ type: 'string',
3404
+ },
3405
+ external_type_display_name: { type: 'string' },
3406
+ workspace_id: { format: 'uuid', type: 'string' },
3407
+ },
3408
+ required: [
3409
+ 'acs_credential_id',
3410
+ 'acs_system_id',
3411
+ 'display_name',
3412
+ 'code',
3413
+ 'external_type',
3414
+ 'external_type_display_name',
3415
+ 'created_at',
3416
+ 'workspace_id',
3417
+ ],
3418
+ type: 'object',
3419
+ },
3420
+ ok: { type: 'boolean' },
3421
+ },
3422
+ required: ['acs_credential', 'ok'],
3379
3423
  type: 'object',
3380
3424
  },
3381
3425
  },
@@ -3415,8 +3459,37 @@ export default {
3415
3459
  content: {
3416
3460
  'application/json': {
3417
3461
  schema: {
3418
- properties: { ok: { type: 'boolean' } },
3419
- required: ['ok'],
3462
+ properties: {
3463
+ acs_credential: {
3464
+ properties: {
3465
+ acs_credential_id: { format: 'uuid', type: 'string' },
3466
+ acs_system_id: { format: 'uuid', type: 'string' },
3467
+ acs_user_id: { format: 'uuid', type: 'string' },
3468
+ code: { nullable: true, type: 'string' },
3469
+ created_at: { format: 'date-time', type: 'string' },
3470
+ display_name: { minLength: 1, type: 'string' },
3471
+ external_type: {
3472
+ enum: ['pti_card', 'brivo_credential'],
3473
+ type: 'string',
3474
+ },
3475
+ external_type_display_name: { type: 'string' },
3476
+ workspace_id: { format: 'uuid', type: 'string' },
3477
+ },
3478
+ required: [
3479
+ 'acs_credential_id',
3480
+ 'acs_system_id',
3481
+ 'display_name',
3482
+ 'code',
3483
+ 'external_type',
3484
+ 'external_type_display_name',
3485
+ 'created_at',
3486
+ 'workspace_id',
3487
+ ],
3488
+ type: 'object',
3489
+ },
3490
+ ok: { type: 'boolean' },
3491
+ },
3492
+ required: ['acs_credential', 'ok'],
3420
3493
  type: 'object',
3421
3494
  },
3422
3495
  },
@@ -3437,6 +3510,130 @@ export default {
3437
3510
  'x-fern-sdk-method-name': 'unassign',
3438
3511
  },
3439
3512
  },
3513
+ '/acs/entrances/get': {
3514
+ post: {
3515
+ operationId: 'acsEntrancesGetPost',
3516
+ requestBody: {
3517
+ content: {
3518
+ 'application/json': {
3519
+ schema: {
3520
+ properties: {
3521
+ acs_entrance_id: { format: 'uuid', type: 'string' },
3522
+ },
3523
+ required: ['acs_entrance_id'],
3524
+ type: 'object',
3525
+ },
3526
+ },
3527
+ },
3528
+ },
3529
+ responses: {
3530
+ 200: {
3531
+ content: {
3532
+ 'application/json': {
3533
+ schema: {
3534
+ properties: {
3535
+ acs_entrance: {
3536
+ properties: {
3537
+ acs_entrance_id: { format: 'uuid', type: 'string' },
3538
+ acs_system_id: { format: 'uuid', type: 'string' },
3539
+ created_at: { format: 'date-time', type: 'string' },
3540
+ display_name: { type: 'string' },
3541
+ },
3542
+ required: [
3543
+ 'acs_entrance_id',
3544
+ 'display_name',
3545
+ 'acs_system_id',
3546
+ 'created_at',
3547
+ ],
3548
+ type: 'object',
3549
+ },
3550
+ ok: { type: 'boolean' },
3551
+ },
3552
+ required: ['acs_entrance', 'ok'],
3553
+ type: 'object',
3554
+ },
3555
+ },
3556
+ },
3557
+ description: 'OK',
3558
+ },
3559
+ 400: { description: 'Bad Request' },
3560
+ 401: { description: 'Unauthorized' },
3561
+ },
3562
+ security: [
3563
+ { api_key: [] },
3564
+ { access_token: [] },
3565
+ { user_session: [] },
3566
+ { client_session: [] },
3567
+ ],
3568
+ summary: '/acs/entrances/get',
3569
+ tags: [],
3570
+ 'x-fern-sdk-group-name': ['acs', 'entrances'],
3571
+ 'x-fern-sdk-method-name': 'get',
3572
+ },
3573
+ },
3574
+ '/acs/entrances/list': {
3575
+ post: {
3576
+ operationId: 'acsEntrancesListPost',
3577
+ requestBody: {
3578
+ content: {
3579
+ 'application/json': {
3580
+ schema: {
3581
+ properties: {
3582
+ acs_system_id: { format: 'uuid', type: 'string' },
3583
+ },
3584
+ type: 'object',
3585
+ },
3586
+ },
3587
+ },
3588
+ },
3589
+ responses: {
3590
+ 200: {
3591
+ content: {
3592
+ 'application/json': {
3593
+ schema: {
3594
+ properties: {
3595
+ acs_entrances: {
3596
+ items: {
3597
+ properties: {
3598
+ acs_entrance_id: { format: 'uuid', type: 'string' },
3599
+ acs_system_id: { format: 'uuid', type: 'string' },
3600
+ created_at: { format: 'date-time', type: 'string' },
3601
+ display_name: { type: 'string' },
3602
+ },
3603
+ required: [
3604
+ 'acs_entrance_id',
3605
+ 'display_name',
3606
+ 'acs_system_id',
3607
+ 'created_at',
3608
+ ],
3609
+ type: 'object',
3610
+ },
3611
+ type: 'array',
3612
+ },
3613
+ ok: { type: 'boolean' },
3614
+ },
3615
+ required: ['acs_entrances', 'ok'],
3616
+ type: 'object',
3617
+ },
3618
+ },
3619
+ },
3620
+ description: 'OK',
3621
+ },
3622
+ 400: { description: 'Bad Request' },
3623
+ 401: { description: 'Unauthorized' },
3624
+ },
3625
+ security: [
3626
+ { api_key: [] },
3627
+ { access_token: [] },
3628
+ { user_session: [] },
3629
+ { client_session: [] },
3630
+ ],
3631
+ summary: '/acs/entrances/list',
3632
+ tags: [],
3633
+ 'x-fern-sdk-group-name': ['acs', 'entrances'],
3634
+ 'x-fern-sdk-method-name': 'list',
3635
+ },
3636
+ },
3440
3637
  '/acs/systems/get': {
3441
3638
  post: {
3442
3639
  operationId: 'acsSystemsGetPost',