@seamapi/types 1.734.0 → 1.735.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.
@@ -13131,8 +13131,14 @@ export type Routes = {
13131
13131
  queryParams: {};
13132
13132
  jsonBody: {};
13133
13133
  commonParams: {
13134
- /** ID of access method to get. */
13134
+ /** ID of access method to delete. */
13135
13135
  access_method_id: string;
13136
+ } | {
13137
+ /** ID of access grant whose access methods should be deleted. */
13138
+ access_grant_id: string;
13139
+ } | {
13140
+ /** Reservation key of the access grant whose access methods should be deleted. */
13141
+ reservation_key: string;
13136
13142
  };
13137
13143
  formData: {};
13138
13144
  jsonResponse: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.734.0",
3
+ "version": "1.735.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -36568,18 +36568,6 @@ export default {
36568
36568
  delete: {
36569
36569
  description: 'Deletes an access method.',
36570
36570
  operationId: 'accessMethodsDeleteDelete',
36571
- parameters: [
36572
- {
36573
- in: 'query',
36574
- name: 'access_method_id',
36575
- required: true,
36576
- schema: {
36577
- description: 'ID of access method to get.',
36578
- format: 'uuid',
36579
- type: 'string',
36580
- },
36581
- },
36582
- ],
36583
36571
  responses: {
36584
36572
  200: {
36585
36573
  content: {
@@ -36617,15 +36605,42 @@ export default {
36617
36605
  content: {
36618
36606
  'application/json': {
36619
36607
  schema: {
36620
- properties: {
36621
- access_method_id: {
36622
- description: 'ID of access method to get.',
36623
- format: 'uuid',
36624
- type: 'string',
36608
+ oneOf: [
36609
+ {
36610
+ properties: {
36611
+ access_method_id: {
36612
+ description: 'ID of access method to delete.',
36613
+ format: 'uuid',
36614
+ type: 'string',
36615
+ },
36616
+ },
36617
+ required: ['access_method_id'],
36618
+ type: 'object',
36625
36619
  },
36626
- },
36627
- required: ['access_method_id'],
36628
- type: 'object',
36620
+ {
36621
+ properties: {
36622
+ access_grant_id: {
36623
+ description:
36624
+ 'ID of access grant whose access methods should be deleted.',
36625
+ format: 'uuid',
36626
+ type: 'string',
36627
+ },
36628
+ },
36629
+ required: ['access_grant_id'],
36630
+ type: 'object',
36631
+ },
36632
+ {
36633
+ properties: {
36634
+ reservation_key: {
36635
+ description:
36636
+ 'Reservation key of the access grant whose access methods should be deleted.',
36637
+ type: 'string',
36638
+ },
36639
+ },
36640
+ required: ['reservation_key'],
36641
+ type: 'object',
36642
+ },
36643
+ ],
36629
36644
  },
36630
36645
  },
36631
36646
  },
@@ -15004,10 +15004,19 @@ export type Routes = {
15004
15004
  method: 'DELETE' | 'POST'
15005
15005
  queryParams: {}
15006
15006
  jsonBody: {}
15007
- commonParams: {
15008
- /** ID of access method to get. */
15009
- access_method_id: string
15010
- }
15007
+ commonParams:
15008
+ | {
15009
+ /** ID of access method to delete. */
15010
+ access_method_id: string
15011
+ }
15012
+ | {
15013
+ /** ID of access grant whose access methods should be deleted. */
15014
+ access_grant_id: string
15015
+ }
15016
+ | {
15017
+ /** Reservation key of the access grant whose access methods should be deleted. */
15018
+ reservation_key: string
15019
+ }
15011
15020
  formData: {}
15012
15021
  jsonResponse: {}
15013
15022
  maxDuration: undefined