@seamapi/types 1.583.0 → 1.585.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.
@@ -13547,6 +13547,131 @@ export type Routes = {
13547
13547
  }[]
13548
13548
  }
13549
13549
  }
13550
+ '/access_grants/unmanaged/get': {
13551
+ route: '/access_grants/unmanaged/get'
13552
+ method: 'GET' | 'POST'
13553
+ queryParams: {}
13554
+ jsonBody: {}
13555
+ commonParams: {
13556
+ /** ID of unmanaged Access Grant to get. */
13557
+ access_grant_id: string
13558
+ }
13559
+ formData: {}
13560
+ jsonResponse: {
13561
+ /** Represents an unmanaged Access Grant. Unmanaged Access Grants do not have client sessions, instant keys, customization profiles, or keys. */
13562
+ access_grant: {
13563
+ /** ID of the Seam workspace associated with the Access Grant. */
13564
+ workspace_id: string
13565
+ /** ID of the Access Grant. */
13566
+ access_grant_id: string
13567
+ /** ID of user identity to which the Access Grant gives access. */
13568
+ user_identity_id: string
13569
+ /**
13570
+ * @deprecated Use `space_ids`.*/
13571
+ location_ids: string[]
13572
+ /** IDs of the spaces to which the Access Grant gives access. */
13573
+ space_ids: string[]
13574
+ /** Access methods that the user requested for the Access Grant. */
13575
+ requested_access_methods: {
13576
+ /** Display name of the access method. */
13577
+ display_name: string
13578
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
13579
+ mode: 'code' | 'card' | 'mobile_key'
13580
+ /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
13581
+ code?: string | undefined
13582
+ /** Date and time at which the requested access method was added to the Access Grant. */
13583
+ created_at: string
13584
+ /** IDs of the access methods created for the requested access method. */
13585
+ created_access_method_ids: string[]
13586
+ }[]
13587
+ /** IDs of the access methods created for the Access Grant. */
13588
+ access_method_ids: string[]
13589
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
13590
+ name: string | null
13591
+ /** Display name of the Access Grant. */
13592
+ display_name: string
13593
+ /** Date and time at which the Access Grant was created. */
13594
+ created_at: string
13595
+ /** Date and time at which the Access Grant starts. */
13596
+ starts_at: string
13597
+ /** Date and time at which the Access Grant ends. */
13598
+ ends_at: string | null
13599
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
13600
+ warnings: {
13601
+ /** Date and time at which Seam created the warning. */
13602
+ created_at: string
13603
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13604
+ message: string
13605
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13606
+ warning_code: 'being_deleted'
13607
+ }[]
13608
+ }
13609
+ }
13610
+ }
13611
+ '/access_grants/unmanaged/list': {
13612
+ route: '/access_grants/unmanaged/list'
13613
+ method: 'GET' | 'POST'
13614
+ queryParams: {}
13615
+ jsonBody: {}
13616
+ commonParams: {
13617
+ /** ID of user identity by which you want to filter the list of unmanaged Access Grants. */
13618
+ user_identity_id?: string | undefined
13619
+ /** ID of the access system by which you want to filter the list of unmanaged Access Grants. */
13620
+ acs_system_id?: string | undefined
13621
+ /** ID of the entrance by which you want to filter the list of unmanaged Access Grants. */
13622
+ acs_entrance_id?: string | undefined
13623
+ }
13624
+ formData: {}
13625
+ jsonResponse: {
13626
+ access_grants: {
13627
+ /** ID of the Seam workspace associated with the Access Grant. */
13628
+ workspace_id: string
13629
+ /** ID of the Access Grant. */
13630
+ access_grant_id: string
13631
+ /** ID of user identity to which the Access Grant gives access. */
13632
+ user_identity_id: string
13633
+ /**
13634
+ * @deprecated Use `space_ids`.*/
13635
+ location_ids: string[]
13636
+ /** IDs of the spaces to which the Access Grant gives access. */
13637
+ space_ids: string[]
13638
+ /** Access methods that the user requested for the Access Grant. */
13639
+ requested_access_methods: {
13640
+ /** Display name of the access method. */
13641
+ display_name: string
13642
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
13643
+ mode: 'code' | 'card' | 'mobile_key'
13644
+ /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
13645
+ code?: string | undefined
13646
+ /** Date and time at which the requested access method was added to the Access Grant. */
13647
+ created_at: string
13648
+ /** IDs of the access methods created for the requested access method. */
13649
+ created_access_method_ids: string[]
13650
+ }[]
13651
+ /** IDs of the access methods created for the Access Grant. */
13652
+ access_method_ids: string[]
13653
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
13654
+ name: string | null
13655
+ /** Display name of the Access Grant. */
13656
+ display_name: string
13657
+ /** Date and time at which the Access Grant was created. */
13658
+ created_at: string
13659
+ /** Date and time at which the Access Grant starts. */
13660
+ starts_at: string
13661
+ /** Date and time at which the Access Grant ends. */
13662
+ ends_at: string | null
13663
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
13664
+ warnings: {
13665
+ /** Date and time at which Seam created the warning. */
13666
+ created_at: string
13667
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13668
+ message: string
13669
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13670
+ warning_code: 'being_deleted'
13671
+ }[]
13672
+ }[]
13673
+ }
13674
+ }
13550
13675
  '/access_grants/update': {
13551
13676
  route: '/access_grants/update'
13552
13677
  method: 'POST' | 'PATCH'
@@ -23624,6 +23749,97 @@ export type Routes = {
23624
23749
  }[]
23625
23750
  }
23626
23751
  }
23752
+ '/access_methods/unmanaged/get': {
23753
+ route: '/access_methods/unmanaged/get'
23754
+ method: 'GET' | 'POST'
23755
+ queryParams: {}
23756
+ jsonBody: {}
23757
+ commonParams: {
23758
+ /** ID of unmanaged access method to get. */
23759
+ access_method_id: string
23760
+ }
23761
+ formData: {}
23762
+ jsonResponse: {
23763
+ /** Represents an unmanaged access method. Unmanaged access methods do not have client sessions, instant keys, customization profiles, or keys. */
23764
+ access_method: {
23765
+ /** ID of the Seam workspace associated with the access method. */
23766
+ workspace_id: string
23767
+ /** ID of the access method. */
23768
+ access_method_id: string
23769
+ /** Display name of the access method. */
23770
+ display_name: string
23771
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
23772
+ mode: 'code' | 'card' | 'mobile_key'
23773
+ /** Date and time at which the access method was created. */
23774
+ created_at: string
23775
+ /** Date and time at which the access method was issued. */
23776
+ issued_at: string | null
23777
+ /** Indicates whether the access method has been issued. */
23778
+ is_issued: boolean
23779
+ /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
23780
+ is_encoding_required?: boolean | undefined
23781
+ /** The actual PIN code for code access methods. */
23782
+ code?: (string | null) | undefined
23783
+ /** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
23784
+ warnings: {
23785
+ /** Date and time at which Seam created the warning. */
23786
+ created_at: string
23787
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
23788
+ message: string
23789
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23790
+ warning_code: 'being_deleted'
23791
+ }[]
23792
+ }
23793
+ }
23794
+ }
23795
+ '/access_methods/unmanaged/list': {
23796
+ route: '/access_methods/unmanaged/list'
23797
+ method: 'GET' | 'POST'
23798
+ queryParams: {}
23799
+ jsonBody: {}
23800
+ commonParams: {
23801
+ /** ID of Access Grant to list unmanaged access methods for. */
23802
+ access_grant_id: string
23803
+ /** ID of the device for which you want to retrieve all unmanaged access methods. */
23804
+ device_id?: string | undefined
23805
+ /** ID of the entrance for which you want to retrieve all unmanaged access methods. */
23806
+ acs_entrance_id?: string | undefined
23807
+ /** ID of the space for which you want to retrieve all unmanaged access methods. */
23808
+ space_id?: string | undefined
23809
+ }
23810
+ formData: {}
23811
+ jsonResponse: {
23812
+ access_methods: {
23813
+ /** ID of the Seam workspace associated with the access method. */
23814
+ workspace_id: string
23815
+ /** ID of the access method. */
23816
+ access_method_id: string
23817
+ /** Display name of the access method. */
23818
+ display_name: string
23819
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
23820
+ mode: 'code' | 'card' | 'mobile_key'
23821
+ /** Date and time at which the access method was created. */
23822
+ created_at: string
23823
+ /** Date and time at which the access method was issued. */
23824
+ issued_at: string | null
23825
+ /** Indicates whether the access method has been issued. */
23826
+ is_issued: boolean
23827
+ /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
23828
+ is_encoding_required?: boolean | undefined
23829
+ /** The actual PIN code for code access methods. */
23830
+ code?: (string | null) | undefined
23831
+ /** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
23832
+ warnings: {
23833
+ /** Date and time at which Seam created the warning. */
23834
+ created_at: string
23835
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
23836
+ message: string
23837
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23838
+ warning_code: 'being_deleted'
23839
+ }[]
23840
+ }[]
23841
+ }
23842
+ }
23627
23843
  '/acs/access_groups/add_user': {
23628
23844
  route: '/acs/access_groups/add_user'
23629
23845
  method: 'PUT' | 'POST'
@@ -66761,6 +66977,7 @@ export type Routes = {
66761
66977
  | 'reservation_created'
66762
66978
  | 'reservation_time_updated'
66763
66979
  | 'reservation_deleted'
66980
+ | 'space_name_updated'
66764
66981
  )
66765
66982
  | undefined
66766
66983
  /** Filter automation runs by success status. */
@@ -66853,6 +67070,12 @@ export type Routes = {
66853
67070
  config?: {} | undefined
66854
67071
  }
66855
67072
  | undefined
67073
+ space_name_updated?:
67074
+ | {
67075
+ rule: 'space_name_updated'
67076
+ config?: {} | undefined
67077
+ }
67078
+ | undefined
66856
67079
  }
66857
67080
  | undefined
66858
67081
  }
@@ -66889,6 +67112,12 @@ export type Routes = {
66889
67112
  config?: {} | undefined
66890
67113
  }
66891
67114
  | undefined
67115
+ space_name_updated?:
67116
+ | {
67117
+ rule: 'space_name_updated'
67118
+ config?: {} | undefined
67119
+ }
67120
+ | undefined
66892
67121
  }
66893
67122
  | undefined
66894
67123
  }
@@ -94847,6 +95076,129 @@ export type Routes = {
94847
95076
  formData: {}
94848
95077
  jsonResponse: {}
94849
95078
  }
95079
+ '/user_identities/unmanaged/get': {
95080
+ route: '/user_identities/unmanaged/get'
95081
+ method: 'GET' | 'POST'
95082
+ queryParams: {}
95083
+ jsonBody: {}
95084
+ commonParams: {
95085
+ /** ID of the unmanaged user identity that you want to get. */
95086
+ user_identity_id: string
95087
+ }
95088
+ formData: {}
95089
+ jsonResponse: {
95090
+ /** Represents an unmanaged user identity. Unmanaged user identities do not have keys. */
95091
+ user_identity: {
95092
+ /** ID of the user identity. */
95093
+ user_identity_id: string
95094
+ /** Unique email address for the user identity. */
95095
+ email_address: string | null
95096
+ /** Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100). */
95097
+ phone_number: string | null
95098
+ display_name: string
95099
+ full_name: string | null
95100
+ /** Date and time at which the user identity was created. */
95101
+ created_at: string
95102
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity. */
95103
+ workspace_id: string
95104
+ /** Array of errors associated with the user identity. Each error object within the array contains fields like "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
95105
+ errors: {
95106
+ /** Date and time at which Seam created the error. */
95107
+ created_at: string
95108
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
95109
+ message: string
95110
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
95111
+ error_code: 'issue_with_acs_user'
95112
+ /** ID of the access system user that has an issue. */
95113
+ acs_user_id: string
95114
+ /** ID of the access system that the user identity is associated with. */
95115
+ acs_system_id: string
95116
+ }[]
95117
+ /** Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
95118
+ warnings: (
95119
+ | {
95120
+ /** Date and time at which Seam created the warning. */
95121
+ created_at: string
95122
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
95123
+ message: string
95124
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
95125
+ warning_code: 'being_deleted'
95126
+ }
95127
+ | {
95128
+ /** Date and time at which Seam created the warning. */
95129
+ created_at: string
95130
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
95131
+ message: string
95132
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
95133
+ warning_code: 'acs_user_profile_does_not_match_user_identity'
95134
+ }
95135
+ )[]
95136
+ /** Array of access system user IDs associated with the user identity. */
95137
+ acs_user_ids: string[]
95138
+ }
95139
+ }
95140
+ }
95141
+ '/user_identities/unmanaged/list': {
95142
+ route: '/user_identities/unmanaged/list'
95143
+ method: 'GET' | 'POST'
95144
+ queryParams: {}
95145
+ jsonBody: {}
95146
+ commonParams: {
95147
+ /** String for which to search. Filters returned unmanaged user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address` or `user_identity_id`. */
95148
+ search?: string | undefined
95149
+ }
95150
+ formData: {}
95151
+ jsonResponse: {
95152
+ user_identities: {
95153
+ /** ID of the user identity. */
95154
+ user_identity_id: string
95155
+ /** Unique email address for the user identity. */
95156
+ email_address: string | null
95157
+ /** Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100). */
95158
+ phone_number: string | null
95159
+ display_name: string
95160
+ full_name: string | null
95161
+ /** Date and time at which the user identity was created. */
95162
+ created_at: string
95163
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity. */
95164
+ workspace_id: string
95165
+ /** Array of errors associated with the user identity. Each error object within the array contains fields like "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
95166
+ errors: {
95167
+ /** Date and time at which Seam created the error. */
95168
+ created_at: string
95169
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
95170
+ message: string
95171
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
95172
+ error_code: 'issue_with_acs_user'
95173
+ /** ID of the access system user that has an issue. */
95174
+ acs_user_id: string
95175
+ /** ID of the access system that the user identity is associated with. */
95176
+ acs_system_id: string
95177
+ }[]
95178
+ /** Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
95179
+ warnings: (
95180
+ | {
95181
+ /** Date and time at which Seam created the warning. */
95182
+ created_at: string
95183
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
95184
+ message: string
95185
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
95186
+ warning_code: 'being_deleted'
95187
+ }
95188
+ | {
95189
+ /** Date and time at which Seam created the warning. */
95190
+ created_at: string
95191
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
95192
+ message: string
95193
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
95194
+ warning_code: 'acs_user_profile_does_not_match_user_identity'
95195
+ }
95196
+ )[]
95197
+ /** Array of access system user IDs associated with the user identity. */
95198
+ acs_user_ids: string[]
95199
+ }[]
95200
+ }
95201
+ }
94850
95202
  '/user_identities/update': {
94851
95203
  route: '/user_identities/update'
94852
95204
  method: 'PATCH' | 'POST'