@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.
- package/dist/connect.cjs +31 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +75 -0
- package/dist/index.cjs +31 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +63 -0
- package/lib/seam/connect/openapi.js +31 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +12 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +36 -0
- package/src/lib/seam/connect/route-types.ts +13 -0
package/dist/connect.cjs
CHANGED
|
@@ -56706,6 +56706,37 @@ var openapi_default = {
|
|
|
56706
56706
|
},
|
|
56707
56707
|
required: ["api_key"],
|
|
56708
56708
|
type: "object"
|
|
56709
|
+
},
|
|
56710
|
+
{
|
|
56711
|
+
properties: {
|
|
56712
|
+
api_key: {
|
|
56713
|
+
description: "Zonal API key for X-API-Key header (required)",
|
|
56714
|
+
minLength: 1,
|
|
56715
|
+
type: "string"
|
|
56716
|
+
},
|
|
56717
|
+
auth_token: { type: "string" },
|
|
56718
|
+
hotel_id: {
|
|
56719
|
+
description: "Optional hotel ID for single-property mode",
|
|
56720
|
+
type: "string"
|
|
56721
|
+
},
|
|
56722
|
+
id: {
|
|
56723
|
+
description: "Zonal ID used as 'token' in login request body (required)",
|
|
56724
|
+
minLength: 1,
|
|
56725
|
+
type: "string"
|
|
56726
|
+
},
|
|
56727
|
+
is_staging: {
|
|
56728
|
+
default: false,
|
|
56729
|
+
description: "Use staging API instead of production",
|
|
56730
|
+
type: "boolean"
|
|
56731
|
+
},
|
|
56732
|
+
secret: {
|
|
56733
|
+
description: "Zonal Secret for login request body (required)",
|
|
56734
|
+
minLength: 1,
|
|
56735
|
+
type: "string"
|
|
56736
|
+
}
|
|
56737
|
+
},
|
|
56738
|
+
required: ["api_key", "id", "secret"],
|
|
56739
|
+
type: "object"
|
|
56709
56740
|
}
|
|
56710
56741
|
]
|
|
56711
56742
|
},
|