@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.
@@ -15074,8 +15074,10 @@ export type Routes = {
15074
15074
  commonParams: {
15075
15075
  /** Display name for the access grant. */
15076
15076
  name?: (string | null) | undefined;
15077
- /** ID of the Access Grant to update. */
15078
- access_grant_id: string;
15077
+ /** ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`. */
15078
+ access_grant_id?: string | undefined;
15079
+ /** Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`. */
15080
+ access_grant_key?: string | undefined;
15079
15081
  /** 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. */
15080
15082
  starts_at?: string | undefined;
15081
15083
  /** 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.911.0",
3
+ "version": "1.912.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -40533,10 +40533,17 @@ const openapi: OpenAPISpec = {
40533
40533
  schema: {
40534
40534
  properties: {
40535
40535
  access_grant_id: {
40536
- description: 'ID of the Access Grant to update.',
40536
+ description:
40537
+ 'ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
40537
40538
  format: 'uuid',
40538
40539
  type: 'string',
40539
40540
  },
40541
+ access_grant_key: {
40542
+ description:
40543
+ 'Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
40544
+ minLength: 1,
40545
+ type: 'string',
40546
+ },
40540
40547
  ends_at: {
40541
40548
  description:
40542
40549
  '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`.',
@@ -40556,7 +40563,6 @@ const openapi: OpenAPISpec = {
40556
40563
  type: 'string',
40557
40564
  },
40558
40565
  },
40559
- required: ['access_grant_id'],
40560
40566
  type: 'object',
40561
40567
  },
40562
40568
  },
@@ -40600,10 +40606,17 @@ const openapi: OpenAPISpec = {
40600
40606
  schema: {
40601
40607
  properties: {
40602
40608
  access_grant_id: {
40603
- description: 'ID of the Access Grant to update.',
40609
+ description:
40610
+ 'ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
40604
40611
  format: 'uuid',
40605
40612
  type: 'string',
40606
40613
  },
40614
+ access_grant_key: {
40615
+ description:
40616
+ 'Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`.',
40617
+ minLength: 1,
40618
+ type: 'string',
40619
+ },
40607
40620
  ends_at: {
40608
40621
  description:
40609
40622
  '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`.',
@@ -40623,7 +40636,6 @@ const openapi: OpenAPISpec = {
40623
40636
  type: 'string',
40624
40637
  },
40625
40638
  },
40626
- required: ['access_grant_id'],
40627
40639
  type: 'object',
40628
40640
  },
40629
40641
  },
@@ -17311,8 +17311,10 @@ export type Routes = {
17311
17311
  commonParams: {
17312
17312
  /** Display name for the access grant. */
17313
17313
  name?: (string | null) | undefined
17314
- /** ID of the Access Grant to update. */
17315
- access_grant_id: string
17314
+ /** ID of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`. */
17315
+ access_grant_id?: string | undefined
17316
+ /** Key of the Access Grant to update. Provide either `access_grant_id` or `access_grant_key`. */
17317
+ access_grant_key?: string | undefined
17316
17318
  /** 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. */
17317
17319
  starts_at?: string | undefined
17318
17320
  /** 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`. */