@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.
@@ -84588,16 +84588,6 @@ declare const _default: {
84588
84588
  delete: {
84589
84589
  description: string;
84590
84590
  operationId: string;
84591
- parameters: {
84592
- in: string;
84593
- name: string;
84594
- required: boolean;
84595
- schema: {
84596
- description: string;
84597
- format: string;
84598
- type: string;
84599
- };
84600
- }[];
84601
84591
  responses: {
84602
84592
  200: {
84603
84593
  content: {
@@ -84658,15 +84648,42 @@ declare const _default: {
84658
84648
  content: {
84659
84649
  'application/json': {
84660
84650
  schema: {
84661
- properties: {
84662
- access_method_id: {
84663
- description: string;
84664
- format: string;
84665
- type: string;
84651
+ oneOf: ({
84652
+ properties: {
84653
+ access_method_id: {
84654
+ description: string;
84655
+ format: string;
84656
+ type: string;
84657
+ };
84658
+ access_grant_id?: never;
84659
+ reservation_key?: never;
84666
84660
  };
84667
- };
84668
- required: string[];
84669
- type: string;
84661
+ required: string[];
84662
+ type: string;
84663
+ } | {
84664
+ properties: {
84665
+ access_grant_id: {
84666
+ description: string;
84667
+ format: string;
84668
+ type: string;
84669
+ };
84670
+ access_method_id?: never;
84671
+ reservation_key?: never;
84672
+ };
84673
+ required: string[];
84674
+ type: string;
84675
+ } | {
84676
+ properties: {
84677
+ reservation_key: {
84678
+ description: string;
84679
+ type: string;
84680
+ };
84681
+ access_method_id?: never;
84682
+ access_grant_id?: never;
84683
+ };
84684
+ required: string[];
84685
+ type: string;
84686
+ })[];
84670
84687
  };
84671
84688
  };
84672
84689
  };
@@ -140940,8 +140957,14 @@ type Routes = {
140940
140957
  queryParams: {};
140941
140958
  jsonBody: {};
140942
140959
  commonParams: {
140943
- /** ID of access method to get. */
140960
+ /** ID of access method to delete. */
140944
140961
  access_method_id: string;
140962
+ } | {
140963
+ /** ID of access grant whose access methods should be deleted. */
140964
+ access_grant_id: string;
140965
+ } | {
140966
+ /** Reservation key of the access grant whose access methods should be deleted. */
140967
+ reservation_key: string;
140945
140968
  };
140946
140969
  formData: {};
140947
140970
  jsonResponse: {};
package/dist/index.cjs CHANGED
@@ -39260,18 +39260,6 @@ var openapi_default = {
39260
39260
  delete: {
39261
39261
  description: "Deletes an access method.",
39262
39262
  operationId: "accessMethodsDeleteDelete",
39263
- parameters: [
39264
- {
39265
- in: "query",
39266
- name: "access_method_id",
39267
- required: true,
39268
- schema: {
39269
- description: "ID of access method to get.",
39270
- format: "uuid",
39271
- type: "string"
39272
- }
39273
- }
39274
- ],
39275
39263
  responses: {
39276
39264
  200: {
39277
39265
  content: {
@@ -39309,15 +39297,40 @@ var openapi_default = {
39309
39297
  content: {
39310
39298
  "application/json": {
39311
39299
  schema: {
39312
- properties: {
39313
- access_method_id: {
39314
- description: "ID of access method to get.",
39315
- format: "uuid",
39316
- type: "string"
39300
+ oneOf: [
39301
+ {
39302
+ properties: {
39303
+ access_method_id: {
39304
+ description: "ID of access method to delete.",
39305
+ format: "uuid",
39306
+ type: "string"
39307
+ }
39308
+ },
39309
+ required: ["access_method_id"],
39310
+ type: "object"
39311
+ },
39312
+ {
39313
+ properties: {
39314
+ access_grant_id: {
39315
+ description: "ID of access grant whose access methods should be deleted.",
39316
+ format: "uuid",
39317
+ type: "string"
39318
+ }
39319
+ },
39320
+ required: ["access_grant_id"],
39321
+ type: "object"
39322
+ },
39323
+ {
39324
+ properties: {
39325
+ reservation_key: {
39326
+ description: "Reservation key of the access grant whose access methods should be deleted.",
39327
+ type: "string"
39328
+ }
39329
+ },
39330
+ required: ["reservation_key"],
39331
+ type: "object"
39317
39332
  }
39318
- },
39319
- required: ["access_method_id"],
39320
- type: "object"
39333
+ ]
39321
39334
  }
39322
39335
  }
39323
39336
  }