@alicloud/aligenieip_1_0 1.0.24 → 1.0.25
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/client.js +3 -5
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +4 -6
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -15965,16 +15965,15 @@ export default class Client extends OpenApi {
|
|
|
15965
15965
|
request.importHotelConfigRequestShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.importHotelConfigRequest, "ImportHotelConfigRequest", "json");
|
|
15966
15966
|
}
|
|
15967
15967
|
|
|
15968
|
-
let query : {[key: string ]: any} = { };
|
|
15969
|
-
if (!Util.isUnset(request.importHotelConfigRequestShrink)) {
|
|
15970
|
-
query["ImportHotelConfigRequest"] = request.importHotelConfigRequestShrink;
|
|
15971
|
-
}
|
|
15972
|
-
|
|
15973
15968
|
let body : {[key: string ]: any} = { };
|
|
15974
15969
|
if (!Util.isUnset(request.hotelId)) {
|
|
15975
15970
|
body["HotelId"] = request.hotelId;
|
|
15976
15971
|
}
|
|
15977
15972
|
|
|
15973
|
+
if (!Util.isUnset(request.importHotelConfigRequestShrink)) {
|
|
15974
|
+
body["ImportHotelConfigRequest"] = request.importHotelConfigRequestShrink;
|
|
15975
|
+
}
|
|
15976
|
+
|
|
15978
15977
|
let realHeaders : {[key: string ]: string} = { };
|
|
15979
15978
|
if (!Util.isUnset(headers.commonHeaders)) {
|
|
15980
15979
|
realHeaders = headers.commonHeaders;
|
|
@@ -15990,7 +15989,6 @@ export default class Client extends OpenApi {
|
|
|
15990
15989
|
|
|
15991
15990
|
let req = new $OpenApi.OpenApiRequest({
|
|
15992
15991
|
headers: realHeaders,
|
|
15993
|
-
query: OpenApiUtil.query(query),
|
|
15994
15992
|
body: OpenApiUtil.parseToMap(body),
|
|
15995
15993
|
});
|
|
15996
15994
|
let params = new $OpenApi.Params({
|