@seamapi/types 1.712.0 → 1.714.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.
@@ -53082,11 +53082,9 @@ export type Routes = {
53082
53082
  /** ID of the connector to sync */
53083
53083
  connector_id: string;
53084
53084
  /** Type of the connector to sync */
53085
- connector_type?: string | undefined;
53086
- /** ID of the customer to sync */
53087
- customer_id?: string | undefined;
53085
+ connector_type: string;
53088
53086
  /** Key of the customer to sync */
53089
- customer_key?: string | undefined;
53087
+ customer_key: string;
53090
53088
  /** ID of the connector customer to sync */
53091
53089
  connector_customer_id?: (string | null) | undefined;
53092
53090
  /** Unique provider resource key of the connector to sync */
@@ -53145,8 +53143,8 @@ export type Routes = {
53145
53143
  id: string;
53146
53144
  /** Zonal Secret for login request body (required) */
53147
53145
  secret: string;
53148
- /** Optional hotel ID for single-property mode */
53149
- hotel_id?: string | undefined;
53146
+ /** Hotel ID - required for identifying the customer */
53147
+ hotel_id: string;
53150
53148
  /** Use staging API instead of production */
53151
53149
  is_staging?: boolean;
53152
53150
  auth_token?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.712.0",
3
+ "version": "1.714.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -55381,10 +55381,6 @@ export default {
55381
55381
  description: 'Type of the connector to sync',
55382
55382
  type: 'string',
55383
55383
  },
55384
- customer_id: {
55385
- description: 'ID of the customer to sync',
55386
- type: 'string',
55387
- },
55388
55384
  customer_key: {
55389
55385
  description: 'Key of the customer to sync',
55390
55386
  type: 'string',
@@ -55396,7 +55392,7 @@ export default {
55396
55392
  type: 'string',
55397
55393
  },
55398
55394
  },
55399
- required: ['connector_id'],
55395
+ required: ['connector_id', 'connector_type', 'customer_key'],
55400
55396
  type: 'object',
55401
55397
  },
55402
55398
  },
@@ -55547,7 +55543,8 @@ export default {
55547
55543
  auth_token: { type: 'string' },
55548
55544
  hotel_id: {
55549
55545
  description:
55550
- 'Optional hotel ID for single-property mode',
55546
+ 'Hotel ID - required for identifying the customer',
55547
+ minLength: 1,
55551
55548
  type: 'string',
55552
55549
  },
55553
55550
  id: {
@@ -55569,7 +55566,7 @@ export default {
55569
55566
  type: 'string',
55570
55567
  },
55571
55568
  },
55572
- required: ['api_key', 'id', 'secret'],
55569
+ required: ['api_key', 'id', 'secret', 'hotel_id'],
55573
55570
  type: 'object',
55574
55571
  },
55575
55572
  ],
@@ -63454,11 +63454,9 @@ export type Routes = {
63454
63454
  /** ID of the connector to sync */
63455
63455
  connector_id: string
63456
63456
  /** Type of the connector to sync */
63457
- connector_type?: string | undefined
63458
- /** ID of the customer to sync */
63459
- customer_id?: string | undefined
63457
+ connector_type: string
63460
63458
  /** Key of the customer to sync */
63461
- customer_key?: string | undefined
63459
+ customer_key: string
63462
63460
  /** ID of the connector customer to sync */
63463
63461
  connector_customer_id?: (string | null) | undefined
63464
63462
  /** Unique provider resource key of the connector to sync */
@@ -63523,8 +63521,8 @@ export type Routes = {
63523
63521
  id: string
63524
63522
  /** Zonal Secret for login request body (required) */
63525
63523
  secret: string
63526
- /** Optional hotel ID for single-property mode */
63527
- hotel_id?: string | undefined
63524
+ /** Hotel ID - required for identifying the customer */
63525
+ hotel_id: string
63528
63526
  /** Use staging API instead of production */
63529
63527
  is_staging?: boolean
63530
63528
  auth_token?: string | undefined