@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.
@@ -24956,16 +24956,6 @@ declare const _default: {
24956
24956
  delete: {
24957
24957
  description: string;
24958
24958
  operationId: string;
24959
- parameters: {
24960
- in: string;
24961
- name: string;
24962
- required: boolean;
24963
- schema: {
24964
- description: string;
24965
- format: string;
24966
- type: string;
24967
- };
24968
- }[];
24969
24959
  responses: {
24970
24960
  200: {
24971
24961
  content: {
@@ -25026,15 +25016,42 @@ declare const _default: {
25026
25016
  content: {
25027
25017
  'application/json': {
25028
25018
  schema: {
25029
- properties: {
25030
- access_method_id: {
25031
- description: string;
25032
- format: string;
25033
- type: string;
25019
+ oneOf: ({
25020
+ properties: {
25021
+ access_method_id: {
25022
+ description: string;
25023
+ format: string;
25024
+ type: string;
25025
+ };
25026
+ access_grant_id?: never;
25027
+ reservation_key?: never;
25034
25028
  };
25035
- };
25036
- required: string[];
25037
- type: string;
25029
+ required: string[];
25030
+ type: string;
25031
+ } | {
25032
+ properties: {
25033
+ access_grant_id: {
25034
+ description: string;
25035
+ format: string;
25036
+ type: string;
25037
+ };
25038
+ access_method_id?: never;
25039
+ reservation_key?: never;
25040
+ };
25041
+ required: string[];
25042
+ type: string;
25043
+ } | {
25044
+ properties: {
25045
+ reservation_key: {
25046
+ description: string;
25047
+ type: string;
25048
+ };
25049
+ access_method_id?: never;
25050
+ access_grant_id?: never;
25051
+ };
25052
+ required: string[];
25053
+ type: string;
25054
+ })[];
25038
25055
  };
25039
25056
  };
25040
25057
  };
@@ -32876,18 +32876,6 @@ export default {
32876
32876
  delete: {
32877
32877
  description: 'Deletes an access method.',
32878
32878
  operationId: 'accessMethodsDeleteDelete',
32879
- parameters: [
32880
- {
32881
- in: 'query',
32882
- name: 'access_method_id',
32883
- required: true,
32884
- schema: {
32885
- description: 'ID of access method to get.',
32886
- format: 'uuid',
32887
- type: 'string',
32888
- },
32889
- },
32890
- ],
32891
32879
  responses: {
32892
32880
  200: {
32893
32881
  content: {
@@ -32925,15 +32913,40 @@ export default {
32925
32913
  content: {
32926
32914
  'application/json': {
32927
32915
  schema: {
32928
- properties: {
32929
- access_method_id: {
32930
- description: 'ID of access method to get.',
32931
- format: 'uuid',
32932
- type: 'string',
32916
+ oneOf: [
32917
+ {
32918
+ properties: {
32919
+ access_method_id: {
32920
+ description: 'ID of access method to delete.',
32921
+ format: 'uuid',
32922
+ type: 'string',
32923
+ },
32924
+ },
32925
+ required: ['access_method_id'],
32926
+ type: 'object',
32933
32927
  },
32934
- },
32935
- required: ['access_method_id'],
32936
- type: 'object',
32928
+ {
32929
+ properties: {
32930
+ access_grant_id: {
32931
+ description: 'ID of access grant whose access methods should be deleted.',
32932
+ format: 'uuid',
32933
+ type: 'string',
32934
+ },
32935
+ },
32936
+ required: ['access_grant_id'],
32937
+ type: 'object',
32938
+ },
32939
+ {
32940
+ properties: {
32941
+ reservation_key: {
32942
+ description: 'Reservation key of the access grant whose access methods should be deleted.',
32943
+ type: 'string',
32944
+ },
32945
+ },
32946
+ required: ['reservation_key'],
32947
+ type: 'object',
32948
+ },
32949
+ ],
32937
32950
  },
32938
32951
  },
32939
32952
  },