@seamapi/types 1.1031.0 → 1.1032.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.
@@ -79899,11 +79899,11 @@ export type Routes = {
79899
79899
  route: '/seam/console/v1/sites/delete';
79900
79900
  method: 'DELETE' | 'POST';
79901
79901
  queryParams: {};
79902
- jsonBody: {
79902
+ jsonBody: {};
79903
+ commonParams: {
79903
79904
  /** ID of the site that you want to delete. */
79904
79905
  site_id: string;
79905
79906
  };
79906
- commonParams: {};
79907
79907
  formData: {};
79908
79908
  jsonResponse: {};
79909
79909
  maxDuration: undefined;
@@ -87954,11 +87954,11 @@ export type Routes = {
87954
87954
  route: '/seam/instant_key/v1/preview/get';
87955
87955
  method: 'GET' | 'POST';
87956
87956
  queryParams: {};
87957
- jsonBody: {
87957
+ jsonBody: {};
87958
+ commonParams: {
87958
87959
  /** The short code of the instant key to preview. */
87959
87960
  instant_key_url: string;
87960
87961
  };
87961
- commonParams: {};
87962
87962
  formData: {};
87963
87963
  jsonResponse: {
87964
87964
  /** Represents a preview of an Instant Key with hotel, guest, and access information. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.1031.0",
3
+ "version": "1.1032.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -67858,23 +67858,18 @@ const openapi: OpenAPISpec = {
67858
67858
  delete: {
67859
67859
  description: 'Deletes a site.',
67860
67860
  operationId: 'seamConsoleV1SitesDeleteDelete',
67861
- requestBody: {
67862
- content: {
67863
- 'application/json': {
67864
- schema: {
67865
- properties: {
67866
- site_id: {
67867
- description: 'ID of the site that you want to delete.',
67868
- format: 'uuid',
67869
- type: 'string',
67870
- },
67871
- },
67872
- required: ['site_id'],
67873
- type: 'object',
67874
- },
67861
+ parameters: [
67862
+ {
67863
+ in: 'query',
67864
+ name: 'site_id',
67865
+ required: true,
67866
+ schema: {
67867
+ description: 'ID of the site that you want to delete.',
67868
+ format: 'uuid',
67869
+ type: 'string',
67875
67870
  },
67876
67871
  },
67877
- },
67872
+ ],
67878
67873
  responses: {
67879
67874
  '200': {
67880
67875
  content: {
@@ -79718,23 +79713,17 @@ const openapi: OpenAPISpec = {
79718
79713
  '/seam/instant_key/v1/preview/get': {
79719
79714
  get: {
79720
79715
  operationId: 'seamInstantKeyV1PreviewGetGet',
79721
- requestBody: {
79722
- content: {
79723
- 'application/json': {
79724
- schema: {
79725
- properties: {
79726
- instant_key_url: {
79727
- description:
79728
- 'The short code of the instant key to preview.',
79729
- type: 'string',
79730
- },
79731
- },
79732
- required: ['instant_key_url'],
79733
- type: 'object',
79734
- },
79716
+ parameters: [
79717
+ {
79718
+ in: 'query',
79719
+ name: 'instant_key_url',
79720
+ required: true,
79721
+ schema: {
79722
+ description: 'The short code of the instant key to preview.',
79723
+ type: 'string',
79735
79724
  },
79736
79725
  },
79737
- },
79726
+ ],
79738
79727
  responses: {
79739
79728
  '200': {
79740
79729
  content: {
@@ -95956,11 +95956,11 @@ export type Routes = {
95956
95956
  route: '/seam/console/v1/sites/delete'
95957
95957
  method: 'DELETE' | 'POST'
95958
95958
  queryParams: {}
95959
- jsonBody: {
95959
+ jsonBody: {}
95960
+ commonParams: {
95960
95961
  /** ID of the site that you want to delete. */
95961
95962
  site_id: string
95962
95963
  }
95963
- commonParams: {}
95964
95964
  formData: {}
95965
95965
  jsonResponse: {}
95966
95966
  maxDuration: undefined
@@ -105410,11 +105410,11 @@ export type Routes = {
105410
105410
  route: '/seam/instant_key/v1/preview/get'
105411
105411
  method: 'GET' | 'POST'
105412
105412
  queryParams: {}
105413
- jsonBody: {
105413
+ jsonBody: {}
105414
+ commonParams: {
105414
105415
  /** The short code of the instant key to preview. */
105415
105416
  instant_key_url: string
105416
105417
  }
105417
- commonParams: {}
105418
105418
  formData: {}
105419
105419
  jsonResponse: {
105420
105420
  /** Represents a preview of an Instant Key with hotel, guest, and access information. */