@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.
@@ -44278,8 +44278,10 @@ type Routes = {
44278
44278
  commonParams: {
44279
44279
  /** Display name for the access grant. */
44280
44280
  name?: (string | null) | undefined;
44281
- /** ID of the Access Grant to update. */
44282
- access_grant_id: string;
44281
+ /** ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`. */
44282
+ access_grant_id?: string | undefined;
44283
+ /** Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`. */
44284
+ access_grant_key?: string | undefined;
44283
44285
  /** Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
44284
44286
  starts_at?: string | undefined;
44285
44287
  /** 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`. */
package/dist/index.cjs CHANGED
@@ -43577,10 +43577,15 @@ var openapi = {
43577
43577
  schema: {
43578
43578
  properties: {
43579
43579
  access_grant_id: {
43580
- description: "ID of the Access Grant to update.",
43580
+ description: "ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.",
43581
43581
  format: "uuid",
43582
43582
  type: "string"
43583
43583
  },
43584
+ access_grant_key: {
43585
+ description: "Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.",
43586
+ minLength: 1,
43587
+ type: "string"
43588
+ },
43584
43589
  ends_at: {
43585
43590
  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`.",
43586
43591
  format: "date-time",
@@ -43598,7 +43603,6 @@ var openapi = {
43598
43603
  type: "string"
43599
43604
  }
43600
43605
  },
43601
- required: ["access_grant_id"],
43602
43606
  type: "object"
43603
43607
  }
43604
43608
  }
@@ -43642,10 +43646,15 @@ var openapi = {
43642
43646
  schema: {
43643
43647
  properties: {
43644
43648
  access_grant_id: {
43645
- description: "ID of the Access Grant to update.",
43649
+ description: "ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.",
43646
43650
  format: "uuid",
43647
43651
  type: "string"
43648
43652
  },
43653
+ access_grant_key: {
43654
+ description: "Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.",
43655
+ minLength: 1,
43656
+ type: "string"
43657
+ },
43649
43658
  ends_at: {
43650
43659
  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`.",
43651
43660
  format: "date-time",
@@ -43663,7 +43672,6 @@ var openapi = {
43663
43672
  type: "string"
43664
43673
  }
43665
43674
  },
43666
- required: ["access_grant_id"],
43667
43675
  type: "object"
43668
43676
  }
43669
43677
  }