feat: update MCP config and TOOLS.md with calendar/contacts note
This commit is contained in:
37
.agents/skills/dingtalk-api/node_modules/@alicloud/endpoint-util/dist/client.js
generated
vendored
Normal file
37
.agents/skills/dingtalk-api/node_modules/@alicloud/endpoint-util/dist/client.js
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
"use strict";
|
||||
// This file is auto-generated, don't edit it
|
||||
/**
|
||||
* Get endpoint
|
||||
* @return string
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var Client = /** @class */ (function () {
|
||||
function Client() {
|
||||
}
|
||||
Client.getEndpointRules = function (product, regionId, endpointType, network, suffix) {
|
||||
var result;
|
||||
if (network && network.length && network != "public") {
|
||||
network = "-" + network;
|
||||
}
|
||||
else {
|
||||
network = "";
|
||||
}
|
||||
suffix = suffix || "";
|
||||
if (suffix.length) {
|
||||
suffix = "-" + suffix;
|
||||
}
|
||||
if (endpointType == "regional") {
|
||||
if (!regionId || !regionId.length) {
|
||||
throw new Error("RegionId is empty, please set a valid RegionId");
|
||||
}
|
||||
result = "" + product + suffix + network + "." + regionId + ".aliyuncs.com";
|
||||
}
|
||||
else {
|
||||
result = "" + product + suffix + network + ".aliyuncs.com";
|
||||
}
|
||||
return result;
|
||||
};
|
||||
return Client;
|
||||
}());
|
||||
exports.default = Client;
|
||||
//# sourceMappingURL=client.js.map
|
||||
Reference in New Issue
Block a user