@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
package/dist/connect.d.cts
CHANGED
|
@@ -100060,10 +100060,6 @@ declare const _default: {
|
|
|
100060
100060
|
description: string;
|
|
100061
100061
|
type: string;
|
|
100062
100062
|
};
|
|
100063
|
-
customer_id: {
|
|
100064
|
-
description: string;
|
|
100065
|
-
type: string;
|
|
100066
|
-
};
|
|
100067
100063
|
customer_key: {
|
|
100068
100064
|
description: string;
|
|
100069
100065
|
type: string;
|
|
@@ -100326,6 +100322,7 @@ declare const _default: {
|
|
|
100326
100322
|
};
|
|
100327
100323
|
hotel_id: {
|
|
100328
100324
|
description: string;
|
|
100325
|
+
minLength: number;
|
|
100329
100326
|
type: string;
|
|
100330
100327
|
};
|
|
100331
100328
|
id: {
|
|
@@ -170050,11 +170047,9 @@ type Routes = {
|
|
|
170050
170047
|
/** ID of the connector to sync */
|
|
170051
170048
|
connector_id: string;
|
|
170052
170049
|
/** Type of the connector to sync */
|
|
170053
|
-
connector_type
|
|
170054
|
-
/** ID of the customer to sync */
|
|
170055
|
-
customer_id?: string | undefined;
|
|
170050
|
+
connector_type: string;
|
|
170056
170051
|
/** Key of the customer to sync */
|
|
170057
|
-
customer_key
|
|
170052
|
+
customer_key: string;
|
|
170058
170053
|
/** ID of the connector customer to sync */
|
|
170059
170054
|
connector_customer_id?: (string | null) | undefined;
|
|
170060
170055
|
/** Unique provider resource key of the connector to sync */
|
|
@@ -170113,8 +170108,8 @@ type Routes = {
|
|
|
170113
170108
|
id: string;
|
|
170114
170109
|
/** Zonal Secret for login request body (required) */
|
|
170115
170110
|
secret: string;
|
|
170116
|
-
/**
|
|
170117
|
-
hotel_id
|
|
170111
|
+
/** Hotel ID - required for identifying the customer */
|
|
170112
|
+
hotel_id: string;
|
|
170118
170113
|
/** Use staging API instead of production */
|
|
170119
170114
|
is_staging?: boolean;
|
|
170120
170115
|
auth_token?: string | undefined;
|
package/dist/index.cjs
CHANGED
|
@@ -57051,10 +57051,6 @@ var openapi_default = {
|
|
|
57051
57051
|
description: "Type of the connector to sync",
|
|
57052
57052
|
type: "string"
|
|
57053
57053
|
},
|
|
57054
|
-
customer_id: {
|
|
57055
|
-
description: "ID of the customer to sync",
|
|
57056
|
-
type: "string"
|
|
57057
|
-
},
|
|
57058
57054
|
customer_key: {
|
|
57059
57055
|
description: "Key of the customer to sync",
|
|
57060
57056
|
type: "string"
|
|
@@ -57065,7 +57061,7 @@ var openapi_default = {
|
|
|
57065
57061
|
type: "string"
|
|
57066
57062
|
}
|
|
57067
57063
|
},
|
|
57068
|
-
required: ["connector_id"],
|
|
57064
|
+
required: ["connector_id", "connector_type", "customer_key"],
|
|
57069
57065
|
type: "object"
|
|
57070
57066
|
}
|
|
57071
57067
|
}
|
|
@@ -57206,7 +57202,8 @@ var openapi_default = {
|
|
|
57206
57202
|
},
|
|
57207
57203
|
auth_token: { type: "string" },
|
|
57208
57204
|
hotel_id: {
|
|
57209
|
-
description: "
|
|
57205
|
+
description: "Hotel ID - required for identifying the customer",
|
|
57206
|
+
minLength: 1,
|
|
57210
57207
|
type: "string"
|
|
57211
57208
|
},
|
|
57212
57209
|
id: {
|
|
@@ -57225,7 +57222,7 @@ var openapi_default = {
|
|
|
57225
57222
|
type: "string"
|
|
57226
57223
|
}
|
|
57227
57224
|
},
|
|
57228
|
-
required: ["api_key", "id", "secret"],
|
|
57225
|
+
required: ["api_key", "id", "secret", "hotel_id"],
|
|
57229
57226
|
type: "object"
|
|
57230
57227
|
}
|
|
57231
57228
|
]
|