@seamapi/types 1.1149.0 → 1.1150.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.
@@ -110235,6 +110235,137 @@ export type Routes = {
110235
110235
  }
110236
110236
  maxDuration: undefined
110237
110237
  }
110238
+ '/seam/console/v1/workspace/list_access_codes_for_today': {
110239
+ route: '/seam/console/v1/workspace/list_access_codes_for_today'
110240
+ method: 'GET' | 'POST'
110241
+ queryParams: {}
110242
+ jsonBody: {}
110243
+ commonParams: {
110244
+ /** Customer key for which you want to list access codes. */
110245
+ customer_key?: string | undefined
110246
+ /** Start of the viewer's day, inclusive. Pass with `ends_at`; defaults to the start of the current UTC day. */
110247
+ starts_at?: Date | undefined
110248
+ /** End of the viewer's day, exclusive. Pass with `starts_at`; defaults to the end of the current UTC day. */
110249
+ ends_at?: Date | undefined
110250
+ /** Maximum number of starting, and of ending, access codes to return. */
110251
+ limit?: number
110252
+ }
110253
+ formData: {}
110254
+ jsonResponse: {
110255
+ access_codes_for_today: {
110256
+ starting_count: number
110257
+ starting: {
110258
+ access_code_id: string
110259
+ code: string | null
110260
+ name: string | null
110261
+ device_id: string
110262
+ device_name: string
110263
+ starts_at: string | null
110264
+ ends_at: string | null
110265
+ status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown'
110266
+ }[]
110267
+ ending_count: number
110268
+ ending: {
110269
+ access_code_id: string
110270
+ code: string | null
110271
+ name: string | null
110272
+ device_id: string
110273
+ device_name: string
110274
+ starts_at: string | null
110275
+ ends_at: string | null
110276
+ status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown'
110277
+ }[]
110278
+ }
110279
+ }
110280
+ maxDuration: undefined
110281
+ }
110282
+ '/seam/console/v1/workspace/list_attention_items': {
110283
+ route: '/seam/console/v1/workspace/list_attention_items'
110284
+ method: 'GET' | 'POST'
110285
+ queryParams: {}
110286
+ jsonBody: {}
110287
+ commonParams: {
110288
+ /** Customer key for which you want to list attention items. */
110289
+ customer_key?: string | undefined
110290
+ /** Maximum number of devices, and of access codes, to return. */
110291
+ limit?: number
110292
+ }
110293
+ formData: {}
110294
+ jsonResponse: {
110295
+ attention_items: {
110296
+ device_count: number
110297
+ devices: {
110298
+ device_id: string
110299
+ display_name: string
110300
+ error: {
110301
+ error_code: string
110302
+ message: string
110303
+ }
110304
+ }[]
110305
+ access_code_count: number
110306
+ access_codes: {
110307
+ access_code_id: string
110308
+ code: string | null
110309
+ name: string | null
110310
+ device_id: string
110311
+ device_name: string
110312
+ error: {
110313
+ error_code: string
110314
+ message: string
110315
+ }
110316
+ }[]
110317
+ }
110318
+ }
110319
+ maxDuration: undefined
110320
+ }
110321
+ '/seam/console/v1/workspace/list_reservations_for_today': {
110322
+ route: '/seam/console/v1/workspace/list_reservations_for_today'
110323
+ method: 'GET' | 'POST'
110324
+ queryParams: {}
110325
+ jsonBody: {}
110326
+ commonParams: {
110327
+ /** Customer key for which you want to list reservations. */
110328
+ customer_key?: string | undefined
110329
+ /** Start of the viewer's day, inclusive. Pass with `ends_at`; defaults to the start of the current UTC day. */
110330
+ starts_at?: Date | undefined
110331
+ /** End of the viewer's day, exclusive. Pass with `starts_at`; defaults to the end of the current UTC day. */
110332
+ ends_at?: Date | undefined
110333
+ /** Maximum number of check-ins, and of check-outs, to return. */
110334
+ limit?: number
110335
+ }
110336
+ formData: {}
110337
+ jsonResponse: {
110338
+ reservations_for_today: {
110339
+ check_in_count: number
110340
+ check_ins: {
110341
+ reservation_id: string
110342
+ reservation_key: string
110343
+ guest_name: string | null
110344
+ name: string | null
110345
+ starts_at: string | null
110346
+ ends_at: string | null
110347
+ space: {
110348
+ space_id: string | null
110349
+ name: string | null
110350
+ } | null
110351
+ }[]
110352
+ check_out_count: number
110353
+ check_outs: {
110354
+ reservation_id: string
110355
+ reservation_key: string
110356
+ guest_name: string | null
110357
+ name: string | null
110358
+ starts_at: string | null
110359
+ ends_at: string | null
110360
+ space: {
110361
+ space_id: string | null
110362
+ name: string | null
110363
+ } | null
110364
+ }[]
110365
+ }
110366
+ }
110367
+ maxDuration: undefined
110368
+ }
110238
110369
  '/seam/customer/v1/access_grants/list': {
110239
110370
  route: '/seam/customer/v1/access_grants/list'
110240
110371
  method: 'GET' | 'POST'