@seamapi/types 1.911.0 → 1.912.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.
@@ -36377,10 +36377,15 @@ const openapi = {
36377
36377
  schema: {
36378
36378
  properties: {
36379
36379
  access_grant_id: {
36380
- description: 'ID of the Access Grant to update.',
36380
+ description: 'ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
36381
36381
  format: 'uuid',
36382
36382
  type: 'string',
36383
36383
  },
36384
+ access_grant_key: {
36385
+ description: 'Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
36386
+ minLength: 1,
36387
+ type: 'string',
36388
+ },
36384
36389
  ends_at: {
36385
36390
  description: 'Date and time at which the validity of the grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.',
36386
36391
  format: 'date-time',
@@ -36398,7 +36403,6 @@ const openapi = {
36398
36403
  type: 'string',
36399
36404
  },
36400
36405
  },
36401
- required: ['access_grant_id'],
36402
36406
  type: 'object',
36403
36407
  },
36404
36408
  },
@@ -36442,10 +36446,15 @@ const openapi = {
36442
36446
  schema: {
36443
36447
  properties: {
36444
36448
  access_grant_id: {
36445
- description: 'ID of the Access Grant to update.',
36449
+ description: 'ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
36446
36450
  format: 'uuid',
36447
36451
  type: 'string',
36448
36452
  },
36453
+ access_grant_key: {
36454
+ description: 'Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
36455
+ minLength: 1,
36456
+ type: 'string',
36457
+ },
36449
36458
  ends_at: {
36450
36459
  description: 'Date and time at which the validity of the grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.',
36451
36460
  format: 'date-time',
@@ -36463,7 +36472,6 @@ const openapi = {
36463
36472
  type: 'string',
36464
36473
  },
36465
36474
  },
36466
- required: ['access_grant_id'],
36467
36475
  type: 'object',
36468
36476
  },
36469
36477
  },