@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.
- package/dist/connect.cjs +4 -7
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +5 -10
- package/dist/index.cjs +4 -7
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +1 -4
- package/lib/seam/connect/openapi.js +4 -7
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4 -6
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +4 -7
- package/src/lib/seam/connect/route-types.ts +4 -6
|
@@ -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
|
|
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
|
|
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
|
-
/**
|
|
53149
|
-
hotel_id
|
|
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
|
@@ -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
|
-
'
|
|
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
|
|
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
|
|
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
|
-
/**
|
|
63527
|
-
hotel_id
|
|
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
|