@seamapi/types 1.697.0 → 1.698.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.
@@ -52987,6 +52987,18 @@ export type Routes = {
52987
52987
  api_key: string;
52988
52988
  /** Optional base API URL (defaults to https://api.smoobu.com/api) */
52989
52989
  base_api_url?: string | undefined;
52990
+ } | {
52991
+ /** Zonal API key for X-API-Key header (required) */
52992
+ api_key: string;
52993
+ /** Zonal ID used as 'token' in login request body (required) */
52994
+ id: string;
52995
+ /** Zonal Secret for login request body (required) */
52996
+ secret: string;
52997
+ /** Optional hotel ID for single-property mode */
52998
+ hotel_id?: string | undefined;
52999
+ /** Use staging API instead of production */
53000
+ is_staging?: boolean;
53001
+ auth_token?: string | undefined;
52990
53002
  };
52991
53003
  };
52992
53004
  commonParams: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.697.0",
3
+ "version": "1.698.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -55051,6 +55051,42 @@ export default {
55051
55051
  required: ['api_key'],
55052
55052
  type: 'object',
55053
55053
  },
55054
+ {
55055
+ properties: {
55056
+ api_key: {
55057
+ description:
55058
+ 'Zonal API key for X-API-Key header (required)',
55059
+ minLength: 1,
55060
+ type: 'string',
55061
+ },
55062
+ auth_token: { type: 'string' },
55063
+ hotel_id: {
55064
+ description:
55065
+ 'Optional hotel ID for single-property mode',
55066
+ type: 'string',
55067
+ },
55068
+ id: {
55069
+ description:
55070
+ "Zonal ID used as 'token' in login request body (required)",
55071
+ minLength: 1,
55072
+ type: 'string',
55073
+ },
55074
+ is_staging: {
55075
+ default: false,
55076
+ description:
55077
+ 'Use staging API instead of production',
55078
+ type: 'boolean',
55079
+ },
55080
+ secret: {
55081
+ description:
55082
+ 'Zonal Secret for login request body (required)',
55083
+ minLength: 1,
55084
+ type: 'string',
55085
+ },
55086
+ },
55087
+ required: ['api_key', 'id', 'secret'],
55088
+ type: 'object',
55089
+ },
55054
55090
  ],
55055
55091
  },
55056
55092
  connector_id: {
@@ -63340,6 +63340,19 @@ export type Routes = {
63340
63340
  /** Optional base API URL (defaults to https://api.smoobu.com/api) */
63341
63341
  base_api_url?: string | undefined
63342
63342
  }
63343
+ | {
63344
+ /** Zonal API key for X-API-Key header (required) */
63345
+ api_key: string
63346
+ /** Zonal ID used as 'token' in login request body (required) */
63347
+ id: string
63348
+ /** Zonal Secret for login request body (required) */
63349
+ secret: string
63350
+ /** Optional hotel ID for single-property mode */
63351
+ hotel_id?: string | undefined
63352
+ /** Use staging API instead of production */
63353
+ is_staging?: boolean
63354
+ auth_token?: string | undefined
63355
+ }
63343
63356
  }
63344
63357
  commonParams: {}
63345
63358
  formData: {}