@seamapi/types 1.725.0 → 1.727.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.
@@ -11786,6 +11786,7 @@ export type Routes = {
11786
11786
  | 'acs_systems'
11787
11787
  | 'user_identities'
11788
11788
  | 'acs_access_groups'
11789
+ | 'access_methods'
11789
11790
  )[]
11790
11791
  | undefined
11791
11792
  exclude?:
@@ -11797,6 +11798,7 @@ export type Routes = {
11797
11798
  | 'acs_systems'
11798
11799
  | 'user_identities'
11799
11800
  | 'acs_access_groups'
11801
+ | 'access_methods'
11800
11802
  )[]
11801
11803
  | undefined
11802
11804
  }
@@ -14064,6 +14066,114 @@ export type Routes = {
14064
14066
  is_managed: true
14065
14067
  }[]
14066
14068
  | undefined
14069
+ access_methods?:
14070
+ | {
14071
+ /** ID of the Seam workspace associated with the access method. */
14072
+ workspace_id: string
14073
+ /** ID of the access method. */
14074
+ access_method_id: string
14075
+ /** Display name of the access method. */
14076
+ display_name: string
14077
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
14078
+ mode: 'code' | 'card' | 'mobile_key'
14079
+ /** Date and time at which the access method was created. */
14080
+ created_at: string
14081
+ /** Date and time at which the access method was issued. */
14082
+ issued_at: string | null
14083
+ /** Indicates whether the access method has been issued. */
14084
+ is_issued: boolean
14085
+ /** URL of the Instant Key for mobile key access methods. */
14086
+ instant_key_url?: string | undefined
14087
+ /** Token of the client session associated with the access method. */
14088
+ client_session_token?: string | undefined
14089
+ /** Indicates whether encoding with an card encoder is required to issue or reissue the plastic card associated with the access method. */
14090
+ is_encoding_required?: boolean | undefined
14091
+ /** The actual PIN code for code access methods. */
14092
+ code?: (string | null) | undefined
14093
+ /** Warnings associated with the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). */
14094
+ warnings: (
14095
+ | {
14096
+ /** Date and time at which Seam created the warning. */
14097
+ created_at: string
14098
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
14099
+ message: string
14100
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14101
+ warning_code: 'being_deleted'
14102
+ }
14103
+ | {
14104
+ /** Date and time at which Seam created the warning. */
14105
+ created_at: string
14106
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
14107
+ message: string
14108
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14109
+ warning_code: 'updating_access_times'
14110
+ }
14111
+ )[]
14112
+ /** Pending mutations for the [access method](https://docs.seam.co/latest/capability-guides/access-grants/delivering-access-methods). Indicates operations that are in progress. */
14113
+ pending_mutations: (
14114
+ | {
14115
+ /** Date and time at which the mutation was created. */
14116
+ created_at: string
14117
+ /** Detailed description of the mutation. */
14118
+ message: string
14119
+ /** Mutation code to indicate that Seam is in the process of provisioning access for this access method on new devices. */
14120
+ mutation_code: 'provisioning_access'
14121
+ /** Previous device configuration. */
14122
+ from: {
14123
+ /** Previous device IDs where access was provisioned. */
14124
+ device_ids: string[]
14125
+ }
14126
+ /** New device configuration. */
14127
+ to: {
14128
+ /** New device IDs where access is being provisioned. */
14129
+ device_ids: string[]
14130
+ }
14131
+ }
14132
+ | {
14133
+ /** Date and time at which the mutation was created. */
14134
+ created_at: string
14135
+ /** Detailed description of the mutation. */
14136
+ message: string
14137
+ /** Mutation code to indicate that Seam is in the process of revoking access for this access method from devices. */
14138
+ mutation_code: 'revoking_access'
14139
+ /** Previous device configuration. */
14140
+ from: {
14141
+ /** Previous device IDs where access existed. */
14142
+ device_ids: string[]
14143
+ }
14144
+ /** New device configuration. */
14145
+ to: {
14146
+ /** New device IDs where access should remain. */
14147
+ device_ids: string[]
14148
+ }
14149
+ }
14150
+ | {
14151
+ /** Date and time at which the mutation was created. */
14152
+ created_at: string
14153
+ /** Detailed description of the mutation. */
14154
+ message: string
14155
+ /** Mutation code to indicate that Seam is in the process of updating the access times for this access method. */
14156
+ mutation_code: 'updating_access_times'
14157
+ /** Previous access time configuration. */
14158
+ from: {
14159
+ /** Previous start time for access. */
14160
+ starts_at: string | null
14161
+ /** Previous end time for access. */
14162
+ ends_at: string | null
14163
+ }
14164
+ /** New access time configuration. */
14165
+ to: {
14166
+ /** New start time for access. */
14167
+ starts_at: string | null
14168
+ /** New end time for access. */
14169
+ ends_at: string | null
14170
+ }
14171
+ }
14172
+ )[]
14173
+ /** ID of the customization profile associated with the access method. */
14174
+ customization_profile_id?: string | undefined
14175
+ }[]
14176
+ | undefined
14067
14177
  }
14068
14178
  }
14069
14179
  maxDuration: undefined
@@ -71966,6 +72076,7 @@ export type Routes = {
71966
72076
  /** Business vertical of the customer portal. */
71967
72077
  business_vertical?:
71968
72078
  | (
72079
+ | 'neutral'
71969
72080
  | 'short_term_rental'
71970
72081
  | 'hospitality'
71971
72082
  | 'multi_family'
@@ -72089,6 +72200,25 @@ export type Routes = {
72089
72200
  }
72090
72201
  maxDuration: undefined
72091
72202
  }
72203
+ '/seam/customer/v1/settings/business_verticals/list': {
72204
+ route: '/seam/customer/v1/settings/business_verticals/list'
72205
+ method: 'GET' | 'POST'
72206
+ queryParams: {}
72207
+ jsonBody: {}
72208
+ commonParams: {}
72209
+ formData: {}
72210
+ jsonResponse: {
72211
+ business_verticals: (
72212
+ | 'neutral'
72213
+ | 'short_term_rental'
72214
+ | 'hospitality'
72215
+ | 'multi_family'
72216
+ | 'gym_management'
72217
+ | 'property_tours'
72218
+ )[]
72219
+ }
72220
+ maxDuration: undefined
72221
+ }
72092
72222
  '/seam/customer/v1/settings/get': {
72093
72223
  route: '/seam/customer/v1/settings/get'
72094
72224
  method: 'GET' | 'POST'
@@ -72100,6 +72230,7 @@ export type Routes = {
72100
72230
  /** Business vertical of the customer portal. */
72101
72231
  business_vertical?:
72102
72232
  | (
72233
+ | 'neutral'
72103
72234
  | 'short_term_rental'
72104
72235
  | 'hospitality'
72105
72236
  | 'multi_family'
@@ -72119,6 +72250,7 @@ export type Routes = {
72119
72250
  /** Business vertical to set on the workspace. */
72120
72251
  business_vertical?:
72121
72252
  | (
72253
+ | 'neutral'
72122
72254
  | 'short_term_rental'
72123
72255
  | 'hospitality'
72124
72256
  | 'multi_family'
@@ -72134,6 +72266,63 @@ export type Routes = {
72134
72266
  jsonResponse: {}
72135
72267
  maxDuration: undefined
72136
72268
  }
72269
+ '/seam/customer/v1/settings/vertical_resource_aliases/get': {
72270
+ route: '/seam/customer/v1/settings/vertical_resource_aliases/get'
72271
+ method: 'GET' | 'POST'
72272
+ queryParams: {}
72273
+ jsonBody: {}
72274
+ commonParams: {}
72275
+ formData: {}
72276
+ jsonResponse: {
72277
+ vertical_resource_aliases: {
72278
+ /** Primary space alias for this vertical. */
72279
+ space: {
72280
+ /** The key alias for a single resource. */
72281
+ resource_key: string
72282
+ /** Human-readable label for a single resource. */
72283
+ resource_label: string
72284
+ /** The key alias for a collection of resources. */
72285
+ collection_key: string
72286
+ /** Human-readable label for a collection of resources. */
72287
+ collection_label: string
72288
+ }
72289
+ /** Additional space aliases relevant to this vertical. */
72290
+ additional_spaces: {
72291
+ /** The key alias for a single resource. */
72292
+ resource_key: string
72293
+ /** Human-readable label for a single resource. */
72294
+ resource_label: string
72295
+ /** The key alias for a collection of resources. */
72296
+ collection_key: string
72297
+ /** Human-readable label for a collection of resources. */
72298
+ collection_label: string
72299
+ }[]
72300
+ /** Primary user identity alias for this vertical. */
72301
+ user_identity: {
72302
+ /** The key alias for a single resource. */
72303
+ resource_key: string
72304
+ /** Human-readable label for a single resource. */
72305
+ resource_label: string
72306
+ /** The key alias for a collection of resources. */
72307
+ collection_key: string
72308
+ /** Human-readable label for a collection of resources. */
72309
+ collection_label: string
72310
+ }
72311
+ /** Primary access grant alias for this vertical. */
72312
+ access_grant: {
72313
+ /** The key alias for a single resource. */
72314
+ resource_key: string
72315
+ /** Human-readable label for a single resource. */
72316
+ resource_label: string
72317
+ /** The key alias for a collection of resources. */
72318
+ collection_key: string
72319
+ /** Human-readable label for a collection of resources. */
72320
+ collection_label: string
72321
+ }
72322
+ }
72323
+ }
72324
+ maxDuration: undefined
72325
+ }
72137
72326
  '/seam/customer/v1/spaces/create': {
72138
72327
  route: '/seam/customer/v1/spaces/create'
72139
72328
  method: 'POST'