@seamapi/types 1.1152.0 → 1.1154.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.
@@ -1494,6 +1494,36 @@ const openapi = {
1494
1494
  required: ['message', 'warning_code'],
1495
1495
  type: 'object',
1496
1496
  },
1497
+ {
1498
+ description: "Seam had been unable to reach the device for an extended period when this access code was created, so the code is unlikely to be set until the device reconnects. Check the device's connection. This warning clears automatically when the device comes back online or the code is set on the device.",
1499
+ properties: {
1500
+ created_at: {
1501
+ description: 'Date and time at which Seam created the warning.',
1502
+ format: 'date-time',
1503
+ type: 'string',
1504
+ },
1505
+ device_unreachable_since: {
1506
+ description: 'Date and time since which Seam has been unable to reach the device.',
1507
+ format: 'date-time',
1508
+ type: 'string',
1509
+ },
1510
+ message: {
1511
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
1512
+ type: 'string',
1513
+ },
1514
+ warning_code: {
1515
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
1516
+ enum: ['device_unreachable_for_extended_period'],
1517
+ type: 'string',
1518
+ },
1519
+ },
1520
+ required: [
1521
+ 'message',
1522
+ 'warning_code',
1523
+ 'device_unreachable_since',
1524
+ ],
1525
+ type: 'object',
1526
+ },
1497
1527
  {
1498
1528
  description: 'An unknown issue occurred with the access code.',
1499
1529
  properties: {
@@ -33400,6 +33430,36 @@ const openapi = {
33400
33430
  required: ['message', 'warning_code'],
33401
33431
  type: 'object',
33402
33432
  },
33433
+ {
33434
+ description: "Seam had been unable to reach the device for an extended period when this access code was created, so the code is unlikely to be set until the device reconnects. Check the device's connection. This warning clears automatically when the device comes back online or the code is set on the device.",
33435
+ properties: {
33436
+ created_at: {
33437
+ description: 'Date and time at which Seam created the warning.',
33438
+ format: 'date-time',
33439
+ type: 'string',
33440
+ },
33441
+ device_unreachable_since: {
33442
+ description: 'Date and time since which Seam has been unable to reach the device.',
33443
+ format: 'date-time',
33444
+ type: 'string',
33445
+ },
33446
+ message: {
33447
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
33448
+ type: 'string',
33449
+ },
33450
+ warning_code: {
33451
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
33452
+ enum: ['device_unreachable_for_extended_period'],
33453
+ type: 'string',
33454
+ },
33455
+ },
33456
+ required: [
33457
+ 'message',
33458
+ 'warning_code',
33459
+ 'device_unreachable_since',
33460
+ ],
33461
+ type: 'object',
33462
+ },
33403
33463
  {
33404
33464
  description: 'An unknown issue occurred with the access code.',
33405
33465
  properties: {
@@ -48407,6 +48467,10 @@ const openapi = {
48407
48467
  description: 'Guest key associated with the access grant.',
48408
48468
  type: 'string',
48409
48469
  },
48470
+ is_primary: {
48471
+ description: "Whether this is the reservation's primary sub-reservation, for example the room the guest stays in. Only the primary sub-reservation passes the guest's phone number to access systems that require a phone number to be unique per user. At most one sub-reservation of a reservation can be primary. If none is, the first sub-reservation in the list is primary.",
48472
+ type: 'boolean',
48473
+ },
48410
48474
  listing_keys: {
48411
48475
  description: 'Listing keys associated with the access grant.',
48412
48476
  items: { type: 'string' },
@@ -49574,6 +49638,10 @@ const openapi = {
49574
49638
  description: 'Guest key associated with the access grant.',
49575
49639
  type: 'string',
49576
49640
  },
49641
+ is_primary: {
49642
+ description: "Whether this is the reservation's primary sub-reservation, for example the room the guest stays in. Only the primary sub-reservation passes the guest's phone number to access systems that require a phone number to be unique per user. At most one sub-reservation of a reservation can be primary. If none is, the first sub-reservation in the list is primary.",
49643
+ type: 'boolean',
49644
+ },
49577
49645
  listing_keys: {
49578
49646
  description: 'Listing keys associated with the access grant.',
49579
49647
  items: { type: 'string' },
@@ -64081,6 +64149,11 @@ const openapi = {
64081
64149
  type: 'object',
64082
64150
  },
64083
64151
  guest_name: { nullable: true, type: 'string' },
64152
+ is_primary: {
64153
+ description: "Whether this sub-reservation is its reservation's primary one, the only one that passes the guest's phone number to access systems that require it to be unique per user. Null when this reservation is not a sub-reservation.",
64154
+ nullable: true,
64155
+ type: 'boolean',
64156
+ },
64084
64157
  is_resource_syncing: { type: 'boolean' },
64085
64158
  last_automation_result: {
64086
64159
  nullable: true,
@@ -64179,6 +64252,10 @@ const openapi = {
64179
64252
  nullable: true,
64180
64253
  type: 'string',
64181
64254
  },
64255
+ is_primary: {
64256
+ description: "Whether this is the reservation's primary sub-reservation, the only one that passes the guest's phone number to access systems that require it to be unique per user.",
64257
+ type: 'boolean',
64258
+ },
64182
64259
  is_resource_syncing: { type: 'boolean' },
64183
64260
  name: { nullable: true, type: 'string' },
64184
64261
  spaces: {
@@ -64211,6 +64288,7 @@ const openapi = {
64211
64288
  required: [
64212
64289
  'sub_reservation_id',
64213
64290
  'sub_reservation_key',
64291
+ 'is_primary',
64214
64292
  'name',
64215
64293
  'starts_at',
64216
64294
  'ends_at',
@@ -64241,6 +64319,7 @@ const openapi = {
64241
64319
  'last_automation_result',
64242
64320
  'parent_reservation_id',
64243
64321
  'parent_reservation_key',
64322
+ 'is_primary',
64244
64323
  'sub_reservations',
64245
64324
  ],
64246
64325
  type: 'object',
@@ -64568,6 +64647,10 @@ const openapi = {
64568
64647
  nullable: true,
64569
64648
  type: 'string',
64570
64649
  },
64650
+ is_primary: {
64651
+ description: "Whether this is the reservation's primary sub-reservation, the only one that passes the guest's phone number to access systems that require it to be unique per user.",
64652
+ type: 'boolean',
64653
+ },
64571
64654
  is_resource_syncing: { type: 'boolean' },
64572
64655
  name: { nullable: true, type: 'string' },
64573
64656
  spaces: {
@@ -64600,6 +64683,7 @@ const openapi = {
64600
64683
  required: [
64601
64684
  'sub_reservation_id',
64602
64685
  'sub_reservation_key',
64686
+ 'is_primary',
64603
64687
  'name',
64604
64688
  'starts_at',
64605
64689
  'ends_at',
@@ -65326,6 +65410,11 @@ const openapi = {
65326
65410
  },
65327
65411
  guest_name: { nullable: true, type: 'string' },
65328
65412
  has_issued_access: { type: 'boolean' },
65413
+ is_primary: {
65414
+ description: "Whether this sub-reservation is its reservation's primary one, the only one that passes the guest's phone number to access systems that require it to be unique per user. Null when this reservation is not a sub-reservation.",
65415
+ nullable: true,
65416
+ type: 'boolean',
65417
+ },
65329
65418
  last_automation_result: {
65330
65419
  nullable: true,
65331
65420
  properties: {
@@ -65404,6 +65493,7 @@ const openapi = {
65404
65493
  'last_automation_result',
65405
65494
  'parent_reservation_id',
65406
65495
  'parent_reservation_key',
65496
+ 'is_primary',
65407
65497
  ],
65408
65498
  type: 'object',
65409
65499
  },