New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

alipay-cloud-sdk-test

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alipay-cloud-sdk-test - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

17

dist/client.d.ts

@@ -21,5 +21,22 @@ import * as $CloudKernel from 'alipay-cloud-sdk-kernel';

}
export declare class AlipayOpenAppQrcodeCreateResponse extends $tea.Model {
code: string;
msg: string;
subCode: string;
subMsg: string;
qrCodeUrl: string;
static names(): {
[key: string]: string;
};
static types(): {
[key: string]: any;
};
constructor(map?: {
[key: string]: any;
});
}
export default class Client {
constructor(config: $CloudKernel.Config);
detectContent(content: string): Promise<AlipaySecurityRiskContentDetectResponse>;
createQrcode(urlParam: string, queryParam: string, describe: string): Promise<AlipayOpenAppQrcodeCreateResponse>;
}

@@ -44,2 +44,26 @@ "use strict";

exports.AlipaySecurityRiskContentDetectResponse = AlipaySecurityRiskContentDetectResponse;
class AlipayOpenAppQrcodeCreateResponse extends $tea.Model {
constructor(map) {
super(map);
}
static names() {
return {
code: 'code',
msg: 'msg',
subCode: 'sub_code',
subMsg: 'sub_msg',
qrCodeUrl: 'qr_code_url',
};
}
static types() {
return {
code: 'string',
msg: 'string',
subCode: 'string',
subMsg: 'string',
qrCodeUrl: 'string',
};
}
}
exports.AlipayOpenAppQrcodeCreateResponse = AlipayOpenAppQrcodeCreateResponse;
class Client {

@@ -55,4 +79,12 @@ constructor(config) {

}
async createQrcode(urlParam, queryParam, describe) {
let params = {
url_param: urlParam,
query_param: queryParam,
describe: describe,
};
return $tea.cast(await alipay_cloud_sdk_kernel_1.default.invokeFunction("alipay.open.app.qrcode.create", params), new AlipayOpenAppQrcodeCreateResponse({}));
}
}
exports.default = Client;
//# sourceMappingURL=client.js.map

2

package.json
{
"name": "alipay-cloud-sdk-test",
"version": "1.0.5",
"version": "1.0.6",
"description": "Alipay Cloud SDK for Test",

@@ -5,0 +5,0 @@ "main": "dist/client.js",

@@ -43,3 +43,34 @@ // This file is auto-generated, don't edit it

export class AlipayOpenAppQrcodeCreateResponse extends $tea.Model {
code: string;
msg: string;
subCode: string;
subMsg: string;
qrCodeUrl: string;
static names(): { [key: string]: string } {
return {
code: 'code',
msg: 'msg',
subCode: 'sub_code',
subMsg: 'sub_msg',
qrCodeUrl: 'qr_code_url',
};
}
static types(): { [key: string]: any } {
return {
code: 'string',
msg: 'string',
subCode: 'string',
subMsg: 'string',
qrCodeUrl: 'string',
};
}
constructor(map?: { [key: string]: any }) {
super(map);
}
}
export default class Client {

@@ -59,2 +90,11 @@

async createQrcode(urlParam: string, queryParam: string, describe: string): Promise<AlipayOpenAppQrcodeCreateResponse> {
let params : {[key: string ]: any} = {
url_param: urlParam,
query_param: queryParam,
describe: describe,
};
return $tea.cast<AlipayOpenAppQrcodeCreateResponse>(await CloudKernel.invokeFunction("alipay.open.app.qrcode.create", params), new AlipayOpenAppQrcodeCreateResponse({}));
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc