Ai
2 Star 9 Fork 6

tencentcloud/tencentcloud-sdk-nodejs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
wav.v20210129.test.js 7.20 KB
一键复制 编辑 原始数据 按行查看 历史
tencentcloud 提交于 2023-07-03 08:06 +08:00 . release 4.0.633
const expect = require("chai").expect
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
const client = new tencentcloud.wav.v20210129.Client({
credential: {
secretId: process.env.secretId,
secretKey: process.env.secretKey,
},
region: "ap-shanghai",
profile: {
signMethod: "TC3-HMAC-SHA256",
httpProfile: {
reqMethod: "POST",
reqTimeout: 30,
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
},
},
})
describe("wav.v20210129.test.js", function () {
it("wav.v20210129.QueryActivityLiveCodeList", async function () {
try {
const data = await client.QueryActivityLiveCodeList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryActivityList", async function () {
try {
const data = await client.QueryActivityList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryCustomerEventDetailStatistics", async function () {
try {
const data = await client.QueryCustomerEventDetailStatistics({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryActivityJoinList", async function () {
try {
const data = await client.QueryActivityJoinList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryArrivalList", async function () {
try {
const data = await client.QueryArrivalList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryChannelCodeList", async function () {
try {
const data = await client.QueryChannelCodeList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryExternalContactList", async function () {
try {
const data = await client.QueryExternalContactList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryCustomerProfileList", async function () {
try {
const data = await client.QueryCustomerProfileList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryUserInfoList", async function () {
try {
const data = await client.QueryUserInfoList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryExternalUserEventList", async function () {
try {
const data = await client.QueryExternalUserEventList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryLicenseInfo", async function () {
try {
const data = await client.QueryLicenseInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryFollowList", async function () {
try {
const data = await client.QueryFollowList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryClueInfoList", async function () {
try {
const data = await client.QueryClueInfoList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryExternalContactDetail", async function () {
try {
const data = await client.QueryExternalContactDetail({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryVehicleInfoList", async function () {
try {
const data = await client.QueryVehicleInfoList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryStaffEventDetailStatistics", async function () {
try {
const data = await client.QueryStaffEventDetailStatistics({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.CreateLead", async function () {
try {
const data = await client.CreateLead({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryChatArchivingList", async function () {
try {
const data = await client.QueryChatArchivingList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.CreateCorpTag", async function () {
try {
const data = await client.CreateCorpTag({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.CreateChannelCode", async function () {
try {
const data = await client.CreateChannelCode({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryMaterialList", async function () {
try {
const data = await client.QueryMaterialList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryCrmStatistics", async function () {
try {
const data = await client.QueryCrmStatistics({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryMiniAppCodeList", async function () {
try {
const data = await client.QueryMiniAppCodeList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryDealerInfoList", async function () {
try {
const data = await client.QueryDealerInfoList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryExternalContactDetailByDate", async function () {
try {
const data = await client.QueryExternalContactDetailByDate({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("wav.v20210129.QueryExternalUserMappingInfo", async function () {
try {
const data = await client.QueryExternalUserMappingInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs.git
git@gitee.com:tencentcloud/tencentcloud-sdk-nodejs.git
tencentcloud
tencentcloud-sdk-nodejs
tencentcloud-sdk-nodejs
4.1.43

搜索帮助