@seamapi/types 1.488.0 → 1.490.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.
@@ -28334,6 +28334,25 @@ declare const batch: z.ZodObject<{
28334
28334
  user_identity_key: string | null;
28335
28335
  acs_user_ids: string[];
28336
28336
  }[] | undefined;
28337
+ acs_access_groups?: {
28338
+ name: string;
28339
+ display_name: string;
28340
+ workspace_id: string;
28341
+ created_at: string;
28342
+ connected_account_id: string;
28343
+ warnings: {
28344
+ message: string;
28345
+ created_at: string;
28346
+ warning_code: "unknown_issue_with_acs_access_group";
28347
+ }[];
28348
+ is_managed: true;
28349
+ acs_access_group_id: string;
28350
+ acs_system_id: string;
28351
+ access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
28352
+ access_group_type_display_name: string;
28353
+ external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
28354
+ external_type_display_name: string;
28355
+ }[] | undefined;
28337
28356
  access_methods?: {
28338
28357
  display_name: string;
28339
28358
  workspace_id: string;
@@ -28485,25 +28504,6 @@ declare const batch: z.ZodObject<{
28485
28504
  };
28486
28505
  })[] | undefined;
28487
28506
  }[] | undefined;
28488
- acs_access_groups?: {
28489
- name: string;
28490
- display_name: string;
28491
- workspace_id: string;
28492
- created_at: string;
28493
- connected_account_id: string;
28494
- warnings: {
28495
- message: string;
28496
- created_at: string;
28497
- warning_code: "unknown_issue_with_acs_access_group";
28498
- }[];
28499
- is_managed: true;
28500
- acs_access_group_id: string;
28501
- acs_system_id: string;
28502
- access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
28503
- access_group_type_display_name: string;
28504
- external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
28505
- external_type_display_name: string;
28506
- }[] | undefined;
28507
28507
  acs_encoders?: {
28508
28508
  display_name: string;
28509
28509
  workspace_id: string;
@@ -31540,6 +31540,25 @@ declare const batch: z.ZodObject<{
31540
31540
  user_identity_key: string | null;
31541
31541
  acs_user_ids: string[];
31542
31542
  }[] | undefined;
31543
+ acs_access_groups?: {
31544
+ name: string;
31545
+ display_name: string;
31546
+ workspace_id: string;
31547
+ created_at: string;
31548
+ connected_account_id: string;
31549
+ warnings: {
31550
+ message: string;
31551
+ created_at: string;
31552
+ warning_code: "unknown_issue_with_acs_access_group";
31553
+ }[];
31554
+ is_managed: true;
31555
+ acs_access_group_id: string;
31556
+ acs_system_id: string;
31557
+ access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
31558
+ access_group_type_display_name: string;
31559
+ external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
31560
+ external_type_display_name: string;
31561
+ }[] | undefined;
31543
31562
  access_methods?: {
31544
31563
  display_name: string;
31545
31564
  workspace_id: string;
@@ -31691,25 +31710,6 @@ declare const batch: z.ZodObject<{
31691
31710
  };
31692
31711
  })[] | undefined;
31693
31712
  }[] | undefined;
31694
- acs_access_groups?: {
31695
- name: string;
31696
- display_name: string;
31697
- workspace_id: string;
31698
- created_at: string;
31699
- connected_account_id: string;
31700
- warnings: {
31701
- message: string;
31702
- created_at: string;
31703
- warning_code: "unknown_issue_with_acs_access_group";
31704
- }[];
31705
- is_managed: true;
31706
- acs_access_group_id: string;
31707
- acs_system_id: string;
31708
- access_group_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
31709
- access_group_type_display_name: string;
31710
- external_type: "pti_unit" | "pti_access_level" | "salto_ks_access_group" | "brivo_group" | "salto_space_group" | "dormakaba_community_access_group";
31711
- external_type_display_name: string;
31712
- }[] | undefined;
31713
31713
  acs_encoders?: {
31714
31714
  display_name: string;
31715
31715
  workspace_id: string;
@@ -63531,6 +63531,12 @@ declare const _default: {
63531
63531
  properties: {
63532
63532
  batch: {
63533
63533
  properties: {
63534
+ acs_access_groups: {
63535
+ items: {
63536
+ $ref: string;
63537
+ };
63538
+ type: string;
63539
+ };
63534
63540
  acs_entrances: {
63535
63541
  items: {
63536
63542
  $ref: string;
@@ -63661,6 +63667,12 @@ declare const _default: {
63661
63667
  properties: {
63662
63668
  batch: {
63663
63669
  properties: {
63670
+ acs_access_groups: {
63671
+ items: {
63672
+ $ref: string;
63673
+ };
63674
+ type: string;
63675
+ };
63664
63676
  acs_entrances: {
63665
63677
  items: {
63666
63678
  $ref: string;
@@ -94960,7 +94972,7 @@ declare const _default: {
94960
94972
  'x-undocumented': string;
94961
94973
  };
94962
94974
  };
94963
- '/workspaces/find_resources': {
94975
+ '/workspaces/find_anything': {
94964
94976
  get: {
94965
94977
  description: string;
94966
94978
  operationId: string;
@@ -106009,8 +106021,8 @@ type Routes = {
106009
106021
  commonParams: {
106010
106022
  /** IDs of the access grants that you want to get along with their related resources. */
106011
106023
  access_grant_ids: string[];
106012
- include?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identity')[] | undefined;
106013
- exclude?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identity')[] | undefined;
106024
+ include?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identity' | 'acs_access_groups')[] | undefined;
106025
+ exclude?: ('spaces' | 'devices' | 'acs_entrances' | 'connected_accounts' | 'acs_systems' | 'user_identity' | 'acs_access_groups')[] | undefined;
106014
106026
  };
106015
106027
  formData: {};
106016
106028
  jsonResponse: {
@@ -107640,6 +107652,41 @@ type Routes = {
107640
107652
  misconfigured_acs_entrance_ids?: string[] | undefined;
107641
107653
  })[];
107642
107654
  }[] | undefined;
107655
+ acs_access_groups?: {
107656
+ /** ID of the access group. */
107657
+ acs_access_group_id: string;
107658
+ /** ID of the access control system that contains the access group. */
107659
+ acs_system_id: string;
107660
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
107661
+ workspace_id: string;
107662
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) that contains the access group. */
107663
+ connected_account_id: string;
107664
+ /** Name of the access group. */
107665
+ name: string;
107666
+ /**
107667
+ * @deprecated Use `external_type`.*/
107668
+ access_group_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group';
107669
+ /**
107670
+ * @deprecated Use `external_type_display_name`.*/
107671
+ access_group_type_display_name: string;
107672
+ display_name: string;
107673
+ /** Brand-specific terminology for the access group type. */
107674
+ external_type: 'pti_unit' | 'pti_access_level' | 'salto_ks_access_group' | 'brivo_group' | 'salto_space_group' | 'dormakaba_community_access_group';
107675
+ /** Display name that corresponds to the brand-specific terminology for the access group type. */
107676
+ external_type_display_name: string;
107677
+ /** Date and time at which the access group was created. */
107678
+ created_at: string;
107679
+ /** Warnings associated with the `acs_access_group`. */
107680
+ warnings: {
107681
+ /** Date and time at which Seam created the warning. */
107682
+ created_at: string;
107683
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
107684
+ message: string;
107685
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
107686
+ warning_code: 'unknown_issue_with_acs_access_group';
107687
+ }[];
107688
+ is_managed: true;
107689
+ }[] | undefined;
107643
107690
  };
107644
107691
  };
107645
107692
  };
@@ -173854,8 +173901,8 @@ type Routes = {
173854
173901
  formData: {};
173855
173902
  jsonResponse: {};
173856
173903
  };
173857
- '/workspaces/find_resources': {
173858
- route: '/workspaces/find_resources';
173904
+ '/workspaces/find_anything': {
173905
+ route: '/workspaces/find_anything';
173859
173906
  method: 'GET' | 'POST';
173860
173907
  queryParams: {
173861
173908
  search: string;
package/dist/index.cjs CHANGED
@@ -5294,7 +5294,8 @@ zod.z.object({
5294
5294
  acs_entrances: acs_entrance.array().optional(),
5295
5295
  user_identities: user_identity.array().optional(),
5296
5296
  connected_accounts: connected_account.array().optional(),
5297
- acs_systems: acs_system.array().optional()
5297
+ acs_systems: acs_system.array().optional(),
5298
+ acs_access_groups: acs_access_group.array().optional()
5298
5299
  });
5299
5300
  zod.z.object({
5300
5301
  batch_type: zod.z.literal("access_methods"),
@@ -30957,7 +30958,8 @@ var openapi_default = {
30957
30958
  "acs_entrances",
30958
30959
  "connected_accounts",
30959
30960
  "acs_systems",
30960
- "user_identity"
30961
+ "user_identity",
30962
+ "acs_access_groups"
30961
30963
  ],
30962
30964
  type: "string"
30963
30965
  },
@@ -30976,7 +30978,8 @@ var openapi_default = {
30976
30978
  "acs_entrances",
30977
30979
  "connected_accounts",
30978
30980
  "acs_systems",
30979
- "user_identity"
30981
+ "user_identity",
30982
+ "acs_access_groups"
30980
30983
  ],
30981
30984
  type: "string"
30982
30985
  },
@@ -30992,6 +30995,12 @@ var openapi_default = {
30992
30995
  properties: {
30993
30996
  batch: {
30994
30997
  properties: {
30998
+ acs_access_groups: {
30999
+ items: {
31000
+ $ref: "#/components/schemas/acs_access_group"
31001
+ },
31002
+ type: "array"
31003
+ },
30995
31004
  acs_entrances: {
30996
31005
  items: { $ref: "#/components/schemas/acs_entrance" },
30997
31006
  type: "array"
@@ -31071,7 +31080,8 @@ var openapi_default = {
31071
31080
  "acs_entrances",
31072
31081
  "connected_accounts",
31073
31082
  "acs_systems",
31074
- "user_identity"
31083
+ "user_identity",
31084
+ "acs_access_groups"
31075
31085
  ],
31076
31086
  type: "string"
31077
31087
  },
@@ -31085,7 +31095,8 @@ var openapi_default = {
31085
31095
  "acs_entrances",
31086
31096
  "connected_accounts",
31087
31097
  "acs_systems",
31088
- "user_identity"
31098
+ "user_identity",
31099
+ "acs_access_groups"
31089
31100
  ],
31090
31101
  type: "string"
31091
31102
  },
@@ -31106,6 +31117,12 @@ var openapi_default = {
31106
31117
  properties: {
31107
31118
  batch: {
31108
31119
  properties: {
31120
+ acs_access_groups: {
31121
+ items: {
31122
+ $ref: "#/components/schemas/acs_access_group"
31123
+ },
31124
+ type: "array"
31125
+ },
31109
31126
  acs_entrances: {
31110
31127
  items: { $ref: "#/components/schemas/acs_entrance" },
31111
31128
  type: "array"
@@ -57870,10 +57887,10 @@ var openapi_default = {
57870
57887
  "x-undocumented": "Internal form-data endpoint for Console and Customer Portal."
57871
57888
  }
57872
57889
  },
57873
- "/workspaces/find_resources": {
57890
+ "/workspaces/find_anything": {
57874
57891
  get: {
57875
57892
  description: "Search for resources inside a workspace.",
57876
- operationId: "workspacesFindResourcesGet",
57893
+ operationId: "workspacesFindAnythingGet",
57877
57894
  parameters: [
57878
57895
  {
57879
57896
  in: "query",
@@ -58023,11 +58040,11 @@ var openapi_default = {
58023
58040
  { console_session_with_workspace: [] },
58024
58041
  { api_key: [] }
58025
58042
  ],
58026
- summary: "/workspaces/find_resources",
58043
+ summary: "/workspaces/find_anything",
58027
58044
  tags: ["/workspaces"],
58028
58045
  "x-batch-type": "workspaces",
58029
58046
  "x-fern-sdk-group-name": ["workspaces"],
58030
- "x-fern-sdk-method-name": "find_resources",
58047
+ "x-fern-sdk-method-name": "find_anything",
58031
58048
  "x-fern-sdk-return-value": "batch",
58032
58049
  "x-response-key": "batch",
58033
58050
  "x-title": "Find Resources",
@@ -58035,7 +58052,7 @@ var openapi_default = {
58035
58052
  },
58036
58053
  post: {
58037
58054
  description: "Search for resources inside a workspace.",
58038
- operationId: "workspacesFindResourcesPost",
58055
+ operationId: "workspacesFindAnythingPost",
58039
58056
  parameters: [
58040
58057
  {
58041
58058
  in: "query",
@@ -58185,11 +58202,11 @@ var openapi_default = {
58185
58202
  { console_session_with_workspace: [] },
58186
58203
  { api_key: [] }
58187
58204
  ],
58188
- summary: "/workspaces/find_resources",
58205
+ summary: "/workspaces/find_anything",
58189
58206
  tags: ["/workspaces"],
58190
58207
  "x-batch-type": "workspaces",
58191
58208
  "x-fern-sdk-group-name": ["workspaces"],
58192
- "x-fern-sdk-method-name": "find_resources",
58209
+ "x-fern-sdk-method-name": "find_anything",
58193
58210
  "x-fern-sdk-return-value": "batch",
58194
58211
  "x-response-key": "batch",
58195
58212
  "x-title": "Find Resources",