Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

alipay-serverless-sdk

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alipay-serverless-sdk - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

6

dist/aliyun/shortMessage/client.d.ts

@@ -66,3 +66,3 @@ import CloudKernel from 'mpserverless-sdk-core';

constructor(_kernel: CloudKernel);
send(phoneNumbers: string, signName: string, templateCode: string): Promise<SendSmsResponse>;
send(phoneNumbers: string, signName: string, templateCode: string, templateParam: string): Promise<SendSmsResponse>;
batchSend(phoneNumberJson: {

@@ -72,7 +72,5 @@ [key: string]: any;

[key: string]: any;
}, templateCode: string, templateParamJson: {
[key: string]: any;
}): Promise<SendBatchSmsResponse>;
}, templateCode: string, templateParamJson: string): Promise<SendBatchSmsResponse>;
query(phoneNumber: string, sendDate: string, pageSize: number, currentPage: number): Promise<QuerySmsResponse>;
preciseQuery(phoneNumber: string, sendDate: string, pageSize: number, currentPage: number, bizId: string): Promise<QuerySmsResponse>;
}

@@ -99,3 +99,3 @@ "use strict";

}
async send(phoneNumbers, signName, templateCode) {
async send(phoneNumbers, signName, templateCode, templateParam) {
let params = {

@@ -105,2 +105,3 @@ PhoneNumbers: phoneNumbers,

TemplateCode: templateCode,
TemplateParam: templateParam,
};

@@ -107,0 +108,0 @@ return $tea.cast(await this._kernel.invokePre("alicloud-dysms", "SendSms", params), new SendSmsResponse({}));

import CloudKernel from 'mpserverless-sdk-core';
import * as $tea from '@alicloud/tea-typescript';
export declare class IdentityParam extends $tea.Model {
identity_type: string;
cert_type: string;
cert_name: string;
cert_no: string;
identityType: string;
certType: string;
certName: string;
certNo: string;
static names(): {

@@ -19,3 +19,3 @@ [key: string]: string;

export declare class MerchantConfig extends $tea.Model {
return_url: string;
returnUrl: string;
static names(): {

@@ -22,0 +22,0 @@ [key: string]: string;

@@ -17,6 +17,6 @@ "use strict";

return {
identity_type: 'identity_type',
cert_type: 'cert_type',
cert_name: 'cert_name',
cert_no: 'cert_no',
identityType: 'identityType',
certType: 'certType',
certName: 'certName',
certNo: 'certNo',
};

@@ -26,6 +26,6 @@ }

return {
identity_type: 'string',
cert_type: 'string',
cert_name: 'string',
cert_no: 'string',
identityType: 'string',
certType: 'string',
certName: 'string',
certNo: 'string',
};

@@ -41,3 +41,3 @@ }

return {
return_url: 'return_url',
returnUrl: 'returnUrl',
};

@@ -47,3 +47,3 @@ }

return {
return_url: 'string',
returnUrl: 'string',
};

@@ -50,0 +50,0 @@ }

{
"name": "alipay-serverless-sdk",
"version": "0.0.2",
"version": "0.0.3",
"description": "Alipay Serverless SDK",

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

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

async send(phoneNumbers: string, signName: string, templateCode: string): Promise<SendSmsResponse> {
async send(phoneNumbers: string, signName: string, templateCode: string, templateParam: string): Promise<SendSmsResponse> {
let params : {[key: string ]: any} = {

@@ -127,2 +127,3 @@ PhoneNumbers: phoneNumbers,

TemplateCode: templateCode,
TemplateParam: templateParam,
};

@@ -132,3 +133,3 @@ return $tea.cast<SendSmsResponse>(await this._kernel.invokePre("alicloud-dysms", "SendSms", params), new SendSmsResponse({}));

async batchSend(phoneNumberJson: {[key: string]: any}, signNameJson: {[key: string]: any}, templateCode: string, templateParamJson: {[key: string]: any}): Promise<SendBatchSmsResponse> {
async batchSend(phoneNumberJson: {[key: string]: any}, signNameJson: {[key: string]: any}, templateCode: string, templateParamJson: string): Promise<SendBatchSmsResponse> {
let params : {[key: string ]: any} = {

@@ -135,0 +136,0 @@ PhoneNumberJson: phoneNumberJson,

@@ -7,12 +7,12 @@ // This file is auto-generated, don't edit it

export class IdentityParam extends $tea.Model {
identity_type: string;
cert_type: string;
cert_name: string;
cert_no: string;
identityType: string;
certType: string;
certName: string;
certNo: string;
static names(): { [key: string]: string } {
return {
identity_type: 'identity_type',
cert_type: 'cert_type',
cert_name: 'cert_name',
cert_no: 'cert_no',
identityType: 'identityType',
certType: 'certType',
certName: 'certName',
certNo: 'certNo',
};

@@ -23,6 +23,6 @@ }

return {
identity_type: 'string',
cert_type: 'string',
cert_name: 'string',
cert_no: 'string',
identityType: 'string',
certType: 'string',
certName: 'string',
certNo: 'string',
};

@@ -37,6 +37,6 @@ }

export class MerchantConfig extends $tea.Model {
return_url: string;
returnUrl: string;
static names(): { [key: string]: string } {
return {
return_url: 'return_url',
returnUrl: 'returnUrl',
};

@@ -47,3 +47,3 @@ }

return {
return_url: 'string',
returnUrl: 'string',
};

@@ -50,0 +50,0 @@ }

Sorry, the diff of this file is not supported yet

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