@seamapi/types 1.234.0 → 1.235.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/connect.cjs CHANGED
@@ -29,6 +29,7 @@ __export(schemas_exports, {
29
29
  noise_threshold: () => noise_threshold,
30
30
  seam_event: () => seam_event,
31
31
  unmanaged_access_code: () => unmanaged_access_code,
32
+ unmanaged_acs_access_group: () => unmanaged_acs_access_group,
32
33
  unmanaged_acs_credential: () => unmanaged_acs_credential,
33
34
  unmanaged_device: () => unmanaged_device,
34
35
  user_identity: () => user_identity,
@@ -1032,7 +1033,7 @@ var acs_access_group_external_type = zod.z.enum([
1032
1033
  "salto_access_group",
1033
1034
  "brivo_group"
1034
1035
  ]);
1035
- var acs_access_group = zod.z.object({
1036
+ var common_acs_access_group = zod.z.object({
1036
1037
  acs_access_group_id: zod.z.string().uuid(),
1037
1038
  acs_system_id: zod.z.string().uuid(),
1038
1039
  workspace_id: zod.z.string().uuid(),
@@ -1052,6 +1053,12 @@ var acs_access_group = zod.z.object({
1052
1053
  external_type_display_name: zod.z.string(),
1053
1054
  created_at: zod.z.string().datetime()
1054
1055
  });
1056
+ var acs_access_group = common_acs_access_group.extend({
1057
+ is_managed: zod.z.literal(true)
1058
+ });
1059
+ var unmanaged_acs_access_group = common_acs_access_group.extend({
1060
+ is_managed: zod.z.literal(false)
1061
+ });
1055
1062
  var acs_entrance_latch_metadata = zod.z.object({
1056
1063
  accessibility_type: zod.z.string(),
1057
1064
  door_name: zod.z.string(),
@@ -2431,6 +2438,7 @@ var openapi_default = {
2431
2438
  type: "string"
2432
2439
  },
2433
2440
  external_type_display_name: { type: "string" },
2441
+ is_managed: { enum: [true], type: "boolean" },
2434
2442
  name: { type: "string" },
2435
2443
  workspace_id: { format: "uuid", type: "string" }
2436
2444
  },
@@ -2444,7 +2452,8 @@ var openapi_default = {
2444
2452
  "display_name",
2445
2453
  "external_type",
2446
2454
  "external_type_display_name",
2447
- "created_at"
2455
+ "created_at",
2456
+ "is_managed"
2448
2457
  ],
2449
2458
  type: "object"
2450
2459
  },
@@ -7608,6 +7617,206 @@ var openapi_default = {
7608
7617
  "x-fern-sdk-method-name": "remove_user"
7609
7618
  }
7610
7619
  },
7620
+ "/acs/access_groups/unmanaged/get": {
7621
+ post: {
7622
+ operationId: "acsAccessGroupsUnmanagedGetPost",
7623
+ requestBody: {
7624
+ content: {
7625
+ "application/json": {
7626
+ schema: {
7627
+ properties: {
7628
+ acs_access_group_id: { format: "uuid", type: "string" }
7629
+ },
7630
+ required: ["acs_access_group_id"],
7631
+ type: "object"
7632
+ }
7633
+ }
7634
+ }
7635
+ },
7636
+ responses: {
7637
+ 200: {
7638
+ content: {
7639
+ "application/json": {
7640
+ schema: {
7641
+ properties: {
7642
+ acs_access_group: {
7643
+ properties: {
7644
+ access_group_type: {
7645
+ deprecated: true,
7646
+ enum: [
7647
+ "pti_unit",
7648
+ "pti_access_level",
7649
+ "salto_access_group",
7650
+ "brivo_group"
7651
+ ],
7652
+ type: "string",
7653
+ "x-deprecated": "use external_type"
7654
+ },
7655
+ access_group_type_display_name: {
7656
+ deprecated: true,
7657
+ type: "string",
7658
+ "x-deprecated": "use external_type_display_name"
7659
+ },
7660
+ acs_access_group_id: { format: "uuid", type: "string" },
7661
+ acs_system_id: { format: "uuid", type: "string" },
7662
+ created_at: { format: "date-time", type: "string" },
7663
+ display_name: { type: "string" },
7664
+ external_type: {
7665
+ enum: [
7666
+ "pti_unit",
7667
+ "pti_access_level",
7668
+ "salto_access_group",
7669
+ "brivo_group"
7670
+ ],
7671
+ type: "string"
7672
+ },
7673
+ external_type_display_name: { type: "string" },
7674
+ is_managed: { enum: [false], type: "boolean" },
7675
+ name: { type: "string" },
7676
+ workspace_id: { format: "uuid", type: "string" }
7677
+ },
7678
+ required: [
7679
+ "acs_access_group_id",
7680
+ "acs_system_id",
7681
+ "workspace_id",
7682
+ "name",
7683
+ "access_group_type",
7684
+ "access_group_type_display_name",
7685
+ "display_name",
7686
+ "external_type",
7687
+ "external_type_display_name",
7688
+ "created_at",
7689
+ "is_managed"
7690
+ ],
7691
+ type: "object"
7692
+ },
7693
+ ok: { type: "boolean" }
7694
+ },
7695
+ required: ["acs_access_group", "ok"],
7696
+ type: "object"
7697
+ }
7698
+ }
7699
+ },
7700
+ description: "OK"
7701
+ },
7702
+ 400: { description: "Bad Request" },
7703
+ 401: { description: "Unauthorized" }
7704
+ },
7705
+ security: [
7706
+ { pat_with_workspace: [] },
7707
+ { console_session: [] },
7708
+ { api_key: [] }
7709
+ ],
7710
+ summary: "/acs/access_groups/unmanaged/get",
7711
+ tags: ["/acs"],
7712
+ "x-fern-sdk-group-name": ["acs", "access_groups", "unmanaged"],
7713
+ "x-fern-sdk-method-name": "get",
7714
+ "x-fern-sdk-return-value": "acs_users"
7715
+ }
7716
+ },
7717
+ "/acs/access_groups/unmanaged/list": {
7718
+ post: {
7719
+ operationId: "acsAccessGroupsUnmanagedListPost",
7720
+ requestBody: {
7721
+ content: {
7722
+ "application/json": {
7723
+ schema: {
7724
+ properties: {
7725
+ acs_system_id: { format: "uuid", type: "string" },
7726
+ acs_user_id: { format: "uuid", type: "string" }
7727
+ },
7728
+ type: "object"
7729
+ }
7730
+ }
7731
+ }
7732
+ },
7733
+ responses: {
7734
+ 200: {
7735
+ content: {
7736
+ "application/json": {
7737
+ schema: {
7738
+ properties: {
7739
+ acs_access_groups: {
7740
+ items: {
7741
+ properties: {
7742
+ access_group_type: {
7743
+ deprecated: true,
7744
+ enum: [
7745
+ "pti_unit",
7746
+ "pti_access_level",
7747
+ "salto_access_group",
7748
+ "brivo_group"
7749
+ ],
7750
+ type: "string",
7751
+ "x-deprecated": "use external_type"
7752
+ },
7753
+ access_group_type_display_name: {
7754
+ deprecated: true,
7755
+ type: "string",
7756
+ "x-deprecated": "use external_type_display_name"
7757
+ },
7758
+ acs_access_group_id: {
7759
+ format: "uuid",
7760
+ type: "string"
7761
+ },
7762
+ acs_system_id: { format: "uuid", type: "string" },
7763
+ created_at: { format: "date-time", type: "string" },
7764
+ display_name: { type: "string" },
7765
+ external_type: {
7766
+ enum: [
7767
+ "pti_unit",
7768
+ "pti_access_level",
7769
+ "salto_access_group",
7770
+ "brivo_group"
7771
+ ],
7772
+ type: "string"
7773
+ },
7774
+ external_type_display_name: { type: "string" },
7775
+ is_managed: { enum: [false], type: "boolean" },
7776
+ name: { type: "string" },
7777
+ workspace_id: { format: "uuid", type: "string" }
7778
+ },
7779
+ required: [
7780
+ "acs_access_group_id",
7781
+ "acs_system_id",
7782
+ "workspace_id",
7783
+ "name",
7784
+ "access_group_type",
7785
+ "access_group_type_display_name",
7786
+ "display_name",
7787
+ "external_type",
7788
+ "external_type_display_name",
7789
+ "created_at",
7790
+ "is_managed"
7791
+ ],
7792
+ type: "object"
7793
+ },
7794
+ type: "array"
7795
+ },
7796
+ ok: { type: "boolean" }
7797
+ },
7798
+ required: ["acs_access_groups", "ok"],
7799
+ type: "object"
7800
+ }
7801
+ }
7802
+ },
7803
+ description: "OK"
7804
+ },
7805
+ 400: { description: "Bad Request" },
7806
+ 401: { description: "Unauthorized" }
7807
+ },
7808
+ security: [
7809
+ { pat_with_workspace: [] },
7810
+ { console_session: [] },
7811
+ { api_key: [] }
7812
+ ],
7813
+ summary: "/acs/access_groups/unmanaged/list",
7814
+ tags: ["/acs"],
7815
+ "x-fern-sdk-group-name": ["acs", "access_groups", "unmanaged"],
7816
+ "x-fern-sdk-method-name": "list",
7817
+ "x-fern-sdk-return-value": "acs_users"
7818
+ }
7819
+ },
7611
7820
  "/acs/credential_pools/list": {
7612
7821
  post: {
7613
7822
  operationId: "acsCredentialPoolsListPost",