Ai
2 Star 9 Fork 6

tencentcloud/tencentcloud-sdk-nodejs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
cpdp.v20190820.test.js 57.37 KB
一键复制 编辑 原始数据 按行查看 历史
tencentcloud 提交于 2023-09-21 08:12 +08:00 . release 4.0.693
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211
const expect = require("chai").expect
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
const client = new tencentcloud.cpdp.v20190820.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("cpdp.v20190820.test.js", function () {
it("cpdp.v20190820.QueryAssignment", async function () {
try {
const data = await client.QueryAssignment({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.DistributeAccreditQuery", async function () {
try {
const data = await client.DistributeAccreditQuery({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.AddFlexPhoneNo", async function () {
try {
const data = await client.AddFlexPhoneNo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryFlexFreezeOrderList", async function () {
try {
const data = await client.QueryFlexFreezeOrderList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryMemberTransactionDetails", async function () {
try {
const data = await client.QueryMemberTransactionDetails({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ModifyAgentTaxPaymentInfo", async function () {
try {
const data = await client.ModifyAgentTaxPaymentInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ModifyMntMbrBindRelateAcctBankCode", async function () {
try {
const data = await client.ModifyMntMbrBindRelateAcctBankCode({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateBatchPayment", async function () {
try {
const data = await client.CreateBatchPayment({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.DeduceQuota", async function () {
try {
const data = await client.DeduceQuota({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateExternalAnchor", async function () {
try {
const data = await client.CreateExternalAnchor({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOrder", async function () {
try {
const data = await client.QueryOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankRefundOrder", async function () {
try {
const data = await client.QueryOpenBankRefundOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankVerificationOrder", async function () {
try {
const data = await client.QueryOpenBankVerificationOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryCloudOrder", async function () {
try {
const data = await client.QueryCloudOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.WithdrawCashMembership", async function () {
try {
const data = await client.WithdrawCashMembership({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.GetPayRollAuthResult", async function () {
try {
const data = await client.GetPayRollAuthResult({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryBankTransactionDetails", async function () {
try {
const data = await client.QueryBankTransactionDetails({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryFlexServiceProviderAccountBalance", async function () {
try {
const data = await client.QueryFlexServiceProviderAccountBalance({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateOpenBankExternalSubMerchantRegistration", async function () {
try {
const data = await client.CreateOpenBankExternalSubMerchantRegistration({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryCommonTransferRecharge", async function () {
try {
const data = await client.QueryCommonTransferRecharge({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.DownloadBill", async function () {
try {
const data = await client.DownloadBill({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ApplyFlexPayment", async function () {
try {
const data = await client.ApplyFlexPayment({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ViewContract", async function () {
try {
const data = await client.ViewContract({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateOpenBankUnifiedOrder", async function () {
try {
const data = await client.CreateOpenBankUnifiedOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryCustAcctIdBalance", async function () {
try {
const data = await client.QueryCustAcctIdBalance({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryAnchorContractInfo", async function () {
try {
const data = await client.QueryAnchorContractInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.TransferSinglePay", async function () {
try {
const data = await client.TransferSinglePay({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryMerchantPayWayList", async function () {
try {
const data = await client.QueryMerchantPayWayList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ModifyMerchant", async function () {
try {
const data = await client.ModifyMerchant({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankSubMerchantRateConfigure", async function () {
try {
const data = await client.QueryOpenBankSubMerchantRateConfigure({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.RegisterBillSupportWithdraw", async function () {
try {
const data = await client.RegisterBillSupportWithdraw({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.AddFlexIdInfo", async function () {
try {
const data = await client.AddFlexIdInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateOpenBankRechargeOrder", async function () {
try {
const data = await client.CreateOpenBankRechargeOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryTrade", async function () {
try {
const data = await client.QueryTrade({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryFlexPayeeAccountList", async function () {
try {
const data = await client.QueryFlexPayeeAccountList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.FreezeFlexBalance", async function () {
try {
const data = await client.FreezeFlexBalance({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.AddShop", async function () {
try {
const data = await client.AddShop({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankExternalSubAccountBookBalance", async function () {
try {
const data = await client.QueryOpenBankExternalSubAccountBookBalance({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryMerchantClassification", async function () {
try {
const data = await client.QueryMerchantClassification({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryFlexSettlementOrderList", async function () {
try {
const data = await client.QueryFlexSettlementOrderList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ApplyApplicationMaterial", async function () {
try {
const data = await client.ApplyApplicationMaterial({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateTransferBatch", async function () {
try {
const data = await client.CreateTransferBatch({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateInvoiceV2", async function () {
try {
const data = await client.CreateInvoiceV2({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryInvoice", async function () {
try {
const data = await client.QueryInvoice({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.BindOpenBankProfitSharePayee", async function () {
try {
const data = await client.BindOpenBankProfitSharePayee({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryFlexPayeeInfo", async function () {
try {
const data = await client.QueryFlexPayeeInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryTransferDetail", async function () {
try {
const data = await client.QueryTransferDetail({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankBankBranchList", async function () {
try {
const data = await client.QueryOpenBankBankBranchList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryExchangeRate", async function () {
try {
const data = await client.QueryExchangeRate({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.UnbindRelateAcct", async function () {
try {
const data = await client.UnbindRelateAcct({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ContractOrder", async function () {
try {
const data = await client.ContractOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QuerySinglePaymentResult", async function () {
try {
const data = await client.QuerySinglePaymentResult({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ApplyOpenBankOrderDetailReceipt", async function () {
try {
const data = await client.ApplyOpenBankOrderDetailReceipt({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryFlexPaymentOrderList", async function () {
try {
const data = await client.QueryFlexPaymentOrderList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.RegisterBehavior", async function () {
try {
const data = await client.RegisterBehavior({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankSupportBankList", async function () {
try {
const data = await client.QueryOpenBankSupportBankList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ViewMerchant", async function () {
try {
const data = await client.ViewMerchant({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.UploadTaxPayment", async function () {
try {
const data = await client.UploadTaxPayment({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreatePayRollPreOrderWithAuth", async function () {
try {
const data = await client.CreatePayRollPreOrderWithAuth({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryFlexOrderSummaryList", async function () {
try {
const data = await client.QueryFlexOrderSummaryList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateOpenBankPaymentOrder", async function () {
try {
const data = await client.CreateOpenBankPaymentOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.RefundTlinxOrder", async function () {
try {
const data = await client.RefundTlinxOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.UnBindAcct", async function () {
try {
const data = await client.UnBindAcct({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.DistributeApply", async function () {
try {
const data = await client.DistributeApply({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryMerchantBalance", async function () {
try {
const data = await client.QueryMerchantBalance({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryContractPayWayList", async function () {
try {
const data = await client.QueryContractPayWayList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreatePayRollPreOrder", async function () {
try {
const data = await client.CreatePayRollPreOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateOpenBankGlobalPaymentOrder", async function () {
try {
const data = await client.CreateOpenBankGlobalPaymentOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.AddContract", async function () {
try {
const data = await client.AddContract({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateCloudSubMerchant", async function () {
try {
const data = await client.CreateCloudSubMerchant({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.DeleteAgentTaxPaymentInfo", async function () {
try {
const data = await client.DeleteAgentTaxPaymentInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateAgentTaxPaymentInfos", async function () {
try {
const data = await client.CreateAgentTaxPaymentInfos({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.DeleteAgentTaxPaymentInfos", async function () {
try {
const data = await client.DeleteAgentTaxPaymentInfos({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreatePayMerchant", async function () {
try {
const data = await client.CreatePayMerchant({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankSettleOrder", async function () {
try {
const data = await client.QueryOpenBankSettleOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryBatchPaymentResult", async function () {
try {
const data = await client.QueryBatchPaymentResult({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.GetPayRollAuthList", async function () {
try {
const data = await client.GetPayRollAuthList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryFlexPayeeAccountInfo", async function () {
try {
const data = await client.QueryFlexPayeeAccountInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.RefundOpenBankOrder", async function () {
try {
const data = await client.RefundOpenBankOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreatePayRollToken", async function () {
try {
const data = await client.CreatePayRollToken({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.UploadExternalAnchorInfo", async function () {
try {
const data = await client.UploadExternalAnchorInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryMemberBind", async function () {
try {
const data = await client.QueryMemberBind({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ApplyOpenBankSubMerchantSignOnline", async function () {
try {
const data = await client.ApplyOpenBankSubMerchantSignOnline({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.UnifiedOrder", async function () {
try {
const data = await client.UnifiedOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankUnbindExternalSubMerchantBankAccount", async function () {
try {
const data = await client.QueryOpenBankUnbindExternalSubMerchantBankAccount({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ConfirmOrder", async function () {
try {
const data = await client.ConfirmOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryContractRelateShop", async function () {
try {
const data = await client.QueryContractRelateShop({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ViewShop", async function () {
try {
const data = await client.ViewShop({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CheckAmount", async function () {
try {
const data = await client.CheckAmount({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryTransferResult", async function () {
try {
const data = await client.QueryTransferResult({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateAnchor", async function () {
try {
const data = await client.CreateAnchor({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOutwardOrder", async function () {
try {
const data = await client.QueryOutwardOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryShopOpenId", async function () {
try {
const data = await client.QueryShopOpenId({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryFinancialDataUrl", async function () {
try {
const data = await client.QueryFinancialDataUrl({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryMaliciousRegistration", async function () {
try {
const data = await client.QueryMaliciousRegistration({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.MigrateOrderRefund", async function () {
try {
const data = await client.MigrateOrderRefund({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankSubMerchantCredential", async function () {
try {
const data = await client.QueryOpenBankSubMerchantCredential({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryFlexPaymentOrderStatus", async function () {
try {
const data = await client.QueryFlexPaymentOrderStatus({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryFlexPlatformAccountBalance", async function () {
try {
const data = await client.QueryFlexPlatformAccountBalance({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryFlexAmountBeforeTax", async function () {
try {
const data = await client.QueryFlexAmountBeforeTax({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryAcctInfo", async function () {
try {
const data = await client.QueryAcctInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ApplyReconciliationFile", async function () {
try {
const data = await client.ApplyReconciliationFile({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryReconciliationFileApplyInfo", async function () {
try {
const data = await client.QueryReconciliationFileApplyInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryBankWithdrawCashDetails", async function () {
try {
const data = await client.QueryBankWithdrawCashDetails({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankBillDataPage", async function () {
try {
const data = await client.QueryOpenBankBillDataPage({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryDownloadBillURL", async function () {
try {
const data = await client.QueryDownloadBillURL({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CheckAcct", async function () {
try {
const data = await client.CheckAcct({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.BindAccount", async function () {
try {
const data = await client.BindAccount({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryMerchantOrder", async function () {
try {
const data = await client.QueryMerchantOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.VerifyOpenBankAccount", async function () {
try {
const data = await client.VerifyOpenBankAccount({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateFlexPayee", async function () {
try {
const data = await client.CreateFlexPayee({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryFlexWechatAuthResult", async function () {
try {
const data = await client.QueryFlexWechatAuthResult({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateRedInvoiceV2", async function () {
try {
const data = await client.CreateRedInvoiceV2({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.SyncContractData", async function () {
try {
const data = await client.SyncContractData({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.UploadTaxList", async function () {
try {
const data = await client.UploadTaxList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ModifyBindedAccount", async function () {
try {
const data = await client.ModifyBindedAccount({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryInvoiceV2", async function () {
try {
const data = await client.QueryInvoiceV2({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.BindAcct", async function () {
try {
const data = await client.BindAcct({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.BindRelateAcctSmallAmount", async function () {
try {
const data = await client.BindRelateAcctSmallAmount({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateOrder", async function () {
try {
const data = await client.CreateOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.UnifiedTlinxOrder", async function () {
try {
const data = await client.UnifiedTlinxOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.UploadOrgFile", async function () {
try {
const data = await client.UploadOrgFile({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.BindRelateAccReUnionPay", async function () {
try {
const data = await client.BindRelateAccReUnionPay({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryMerchant", async function () {
try {
const data = await client.QueryMerchant({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ApplyFlexWechatPreAuth", async function () {
try {
const data = await client.ApplyFlexWechatPreAuth({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ReviseMbrProperty", async function () {
try {
const data = await client.ReviseMbrProperty({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.BindOpenBankExternalSubMerchantBankAccount", async function () {
try {
const data = await client.BindOpenBankExternalSubMerchantBankAccount({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryBalance", async function () {
try {
const data = await client.QueryBalance({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.RevokeRechargeByThirdPay", async function () {
try {
const data = await client.RevokeRechargeByThirdPay({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryCloudRefundOrder", async function () {
try {
const data = await client.QueryCloudRefundOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.DownloadOrgFile", async function () {
try {
const data = await client.DownloadOrgFile({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.GetBillDownloadUrl", async function () {
try {
const data = await client.GetBillDownloadUrl({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryAgentTaxPaymentBatch", async function () {
try {
const data = await client.QueryAgentTaxPaymentBatch({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.DescribeOrderStatus", async function () {
try {
const data = await client.DescribeOrderStatus({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryAcctBinding", async function () {
try {
const data = await client.QueryAcctBinding({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryFundsTransactionDetails", async function () {
try {
const data = await client.QueryFundsTransactionDetails({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateOpenBankVerificationOrder", async function () {
try {
const data = await client.CreateOpenBankVerificationOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ApplyReWithdrawal", async function () {
try {
const data = await client.ApplyReWithdrawal({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.DistributeRemoveReceiver", async function () {
try {
const data = await client.DistributeRemoveReceiver({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ApplyPayerInfo", async function () {
try {
const data = await client.ApplyPayerInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankPaymentOrder", async function () {
try {
const data = await client.QueryOpenBankPaymentOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ApplyTrade", async function () {
try {
const data = await client.ApplyTrade({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.UnbindOpenBankExternalSubMerchantBankAccount", async function () {
try {
const data = await client.UnbindOpenBankExternalSubMerchantBankAccount({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryBankClear", async function () {
try {
const data = await client.QueryBankClear({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateOpenBankMerchant", async function () {
try {
const data = await client.CreateOpenBankMerchant({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateRedInvoice", async function () {
try {
const data = await client.CreateRedInvoice({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryCloudChannelData", async function () {
try {
const data = await client.QueryCloudChannelData({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryCityCode", async function () {
try {
const data = await client.QueryCityCode({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryApplicationMaterial", async function () {
try {
const data = await client.QueryApplicationMaterial({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ModifyFlexPayeeAccountRightStatus", async function () {
try {
const data = await client.ModifyFlexPayeeAccountRightStatus({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.Refund", async function () {
try {
const data = await client.Refund({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CloseOpenBankPaymentOrder", async function () {
try {
const data = await client.CloseOpenBankPaymentOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.RefundCloudOrder", async function () {
try {
const data = await client.RefundCloudOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryFlexPayeeAccountBalance", async function () {
try {
const data = await client.QueryFlexPayeeAccountBalance({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.DistributeAccreditTlinx", async function () {
try {
const data = await client.DistributeAccreditTlinx({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.RechargeByThirdPay", async function () {
try {
const data = await client.RechargeByThirdPay({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.RechargeMemberThirdPay", async function () {
try {
const data = await client.RechargeMemberThirdPay({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateMerchant", async function () {
try {
const data = await client.CreateMerchant({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateAcct", async function () {
try {
const data = await client.CreateAcct({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ExecuteMemberTransaction", async function () {
try {
const data = await client.ExecuteMemberTransaction({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.DistributeQuery", async function () {
try {
const data = await client.DistributeQuery({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateOpenBankSubMerchantRateConfigure", async function () {
try {
const data = await client.CreateOpenBankSubMerchantRateConfigure({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateSinglePayment", async function () {
try {
const data = await client.CreateSinglePayment({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.RegisterBill", async function () {
try {
const data = await client.RegisterBill({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryFlexBillDownloadUrl", async function () {
try {
const data = await client.QueryFlexBillDownloadUrl({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankDownLoadUrl", async function () {
try {
const data = await client.QueryOpenBankDownLoadUrl({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOrderStatus", async function () {
try {
const data = await client.QueryOrderStatus({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryPayerInfo", async function () {
try {
const data = await client.QueryPayerInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryCompanyTitle", async function () {
try {
const data = await client.QueryCompanyTitle({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ApplyWithdrawal", async function () {
try {
const data = await client.ApplyWithdrawal({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.DescribeChargeDetail", async function () {
try {
const data = await client.DescribeChargeDetail({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.GetPayRollAuth", async function () {
try {
const data = await client.GetPayRollAuth({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.GetDistributeBillDownloadUrl", async function () {
try {
const data = await client.GetDistributeBillDownloadUrl({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateCustAcctId", async function () {
try {
const data = await client.CreateCustAcctId({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.UploadFile", async function () {
try {
const data = await client.UploadFile({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CloseOrder", async function () {
try {
const data = await client.CloseOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryMerchantInfoForManagement", async function () {
try {
const data = await client.QueryMerchantInfoForManagement({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ModifyFlexFundingAccount", async function () {
try {
const data = await client.ModifyFlexFundingAccount({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.RevokeMemberRechargeThirdPay", async function () {
try {
const data = await client.RevokeMemberRechargeThirdPay({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankDailyReceiptDownloadUrl", async function () {
try {
const data = await client.QueryOpenBankDailyReceiptDownloadUrl({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.DistributeCancel", async function () {
try {
const data = await client.DistributeCancel({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.DownloadReconciliationUrl", async function () {
try {
const data = await client.DownloadReconciliationUrl({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.BindRelateAcctUnionPay", async function () {
try {
const data = await client.BindRelateAcctUnionPay({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryMemberTransaction", async function () {
try {
const data = await client.QueryMemberTransaction({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.UploadOpenBankSubMerchantCredential", async function () {
try {
const data = await client.UploadOpenBankSubMerchantCredential({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankProfitSharePayee", async function () {
try {
const data = await client.QueryOpenBankProfitSharePayee({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.DistributeQueryReceiver", async function () {
try {
const data = await client.DistributeQueryReceiver({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ApplyOpenBankSettleOrder", async function () {
try {
const data = await client.ApplyOpenBankSettleOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryBillDownloadURL", async function () {
try {
const data = await client.QueryBillDownloadURL({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateInvoice", async function () {
try {
const data = await client.CreateInvoice({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankOrderDetailReceiptInfo", async function () {
try {
const data = await client.QueryOpenBankOrderDetailReceiptInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryRefund", async function () {
try {
const data = await client.QueryRefund({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.DistributeAddReceiver", async function () {
try {
const data = await client.DistributeAddReceiver({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankSubMerchantSignOnline", async function () {
try {
const data = await client.QueryOpenBankSubMerchantSignOnline({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.RefundMemberTransaction", async function () {
try {
const data = await client.RefundMemberTransaction({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.AddMerchant", async function () {
try {
const data = await client.AddMerchant({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankExternalSubMerchantBankAccount", async function () {
try {
const data = await client.QueryOpenBankExternalSubMerchantBankAccount({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.MigrateOrderRefundQuery", async function () {
try {
const data = await client.MigrateOrderRefundQuery({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryAgentStatements", async function () {
try {
const data = await client.QueryAgentStatements({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryContract", async function () {
try {
const data = await client.QueryContract({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ApplyOutwardOrder", async function () {
try {
const data = await client.ApplyOutwardOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankExternalSubMerchantRegistration", async function () {
try {
const data = await client.QueryOpenBankExternalSubMerchantRegistration({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.AddFlexFundingAccount", async function () {
try {
const data = await client.AddFlexFundingAccount({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.UnifiedCloudOrder", async function () {
try {
const data = await client.UnifiedCloudOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryContractPayFee", async function () {
try {
const data = await client.QueryContractPayFee({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QuerySmallAmountTransfer", async function () {
try {
const data = await client.QuerySmallAmountTransfer({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankBindExternalSubMerchantBankAccount", async function () {
try {
const data = await client.QueryOpenBankBindExternalSubMerchantBankAccount({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateOpenBankExternalSubMerchantAccountBook", async function () {
try {
const data = await client.CreateOpenBankExternalSubMerchantAccountBook({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QuerySingleTransactionStatus", async function () {
try {
const data = await client.QuerySingleTransactionStatus({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryTransferBatch", async function () {
try {
const data = await client.QueryTransferBatch({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.TerminateContract", async function () {
try {
const data = await client.TerminateContract({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.ApplyFlexSettlement", async function () {
try {
const data = await client.ApplyFlexSettlement({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryOpenBankBankAccountBalance", async function () {
try {
const data = await client.QueryOpenBankBankAccountBalance({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryAcctInfoList", async function () {
try {
const data = await client.QueryAcctInfoList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CreateOpenBankAggregatedSubMerchantRegistration", async function () {
try {
const data = await client.CreateOpenBankAggregatedSubMerchantRegistration({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryReconciliationDocument", async function () {
try {
const data = await client.QueryReconciliationDocument({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.CloseCloudOrder", async function () {
try {
const data = await client.CloseCloudOrder({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.QueryExceedingInfo", async function () {
try {
const data = await client.QueryExceedingInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("cpdp.v20190820.RefundOrder", async function () {
try {
const data = await client.RefundOrder({})
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

搜索帮助