New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.4 to 0.0.5

244

dist/aliyun/shortMessage/client.js
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
var __importStar = (this && this.__importStar) || function (mod) {

@@ -10,8 +59,9 @@ if (mod && mod.__esModule) return mod;

Object.defineProperty(exports, "__esModule", { value: true });
const $tea = __importStar(require("@alicloud/tea-typescript"));
class SendSmsResponse extends $tea.Model {
constructor(map) {
super(map);
var $tea = __importStar(require("@alicloud/tea-typescript"));
var SendSmsResponse = /** @class */ (function (_super) {
__extends(SendSmsResponse, _super);
function SendSmsResponse(map) {
return _super.call(this, map) || this;
}
static names() {
SendSmsResponse.names = function () {
return {

@@ -23,4 +73,4 @@ requestId: 'RequestId',

};
}
static types() {
};
SendSmsResponse.types = function () {
return {

@@ -32,10 +82,12 @@ requestId: 'string',

};
}
}
};
return SendSmsResponse;
}($tea.Model));
exports.SendSmsResponse = SendSmsResponse;
class SendBatchSmsResponse extends $tea.Model {
constructor(map) {
super(map);
var SendBatchSmsResponse = /** @class */ (function (_super) {
__extends(SendBatchSmsResponse, _super);
function SendBatchSmsResponse(map) {
return _super.call(this, map) || this;
}
static names() {
SendBatchSmsResponse.names = function () {
return {

@@ -47,4 +99,4 @@ requestId: 'RequestId',

};
}
static types() {
};
SendBatchSmsResponse.types = function () {
return {

@@ -56,10 +108,12 @@ requestId: 'string',

};
}
}
};
return SendBatchSmsResponse;
}($tea.Model));
exports.SendBatchSmsResponse = SendBatchSmsResponse;
class QuerySmsResponse extends $tea.Model {
constructor(map) {
super(map);
var QuerySmsResponse = /** @class */ (function (_super) {
__extends(QuerySmsResponse, _super);
function QuerySmsResponse(map) {
return _super.call(this, map) || this;
}
static names() {
QuerySmsResponse.names = function () {
return {

@@ -72,4 +126,4 @@ requestId: 'RequestId',

};
}
static types() {
};
QuerySmsResponse.types = function () {
return {

@@ -82,64 +136,108 @@ requestId: 'string',

};
}
}
};
return QuerySmsResponse;
}($tea.Model));
exports.QuerySmsResponse = QuerySmsResponse;
class SendDetailInfo extends $tea.Model {
constructor(map) {
super(map);
var SendDetailInfo = /** @class */ (function (_super) {
__extends(SendDetailInfo, _super);
function SendDetailInfo(map) {
return _super.call(this, map) || this;
}
static names() {
SendDetailInfo.names = function () {
return {
smsSendDetailDTO: 'SmsSendDetailDTO',
};
}
static types() {
};
SendDetailInfo.types = function () {
return {
smsSendDetailDTO: { 'type': 'array', 'itemType': 'object' },
};
}
}
};
return SendDetailInfo;
}($tea.Model));
exports.SendDetailInfo = SendDetailInfo;
class Client {
constructor(_kernel) {
var Client = /** @class */ (function () {
function Client(_kernel) {
this._kernel = _kernel;
}
async send(phoneNumbers, signName, templateCode, templateParam) {
let params = {
PhoneNumbers: phoneNumbers,
SignName: signName,
TemplateCode: templateCode,
TemplateParam: templateParam,
};
return $tea.cast(await this._kernel.invokePre("alicloud-dysms", "SendSms", params), new SendSmsResponse({}));
}
async batchSend(phoneNumberJson, signNameJson, templateCode, templateParamJson) {
let params = {
PhoneNumberJson: phoneNumberJson,
SignNameJson: signNameJson,
TemplateCode: templateCode,
TemplateParamJson: templateParamJson,
};
return $tea.cast(await this._kernel.invokePre("alicloud-dysms", "SendBatchSms", params), new SendBatchSmsResponse({}));
}
async query(phoneNumber, sendDate, pageSize, currentPage) {
let params = {
PhoneNumber: phoneNumber,
SendDate: sendDate,
PageSize: pageSize,
CurrentPage: currentPage,
};
return $tea.cast(await this._kernel.invokePre("alicloud-dysms", "QuerySendDetails", params), new QuerySmsResponse({}));
}
async preciseQuery(phoneNumber, sendDate, pageSize, currentPage, bizId) {
let params = {
PhoneNumber: phoneNumber,
SendDate: sendDate,
PageSize: pageSize,
CurrentPage: currentPage,
BizId: bizId,
};
return $tea.cast(await this._kernel.invokePre("alicloud-dysms", "QuerySendDetails", params), new QuerySmsResponse({}));
}
}
Client.prototype.send = function (phoneNumbers, signName, templateCode, templateParam) {
return __awaiter(this, void 0, void 0, function () {
var params, _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
params = {
PhoneNumbers: phoneNumbers,
SignName: signName,
TemplateCode: templateCode,
TemplateParam: templateParam,
};
_b = (_a = $tea).cast;
return [4 /*yield*/, this._kernel.invokePre("alicloud-dysms", "SendSms", params)];
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), new SendSmsResponse({})])];
}
});
});
};
Client.prototype.batchSend = function (phoneNumberJson, signNameJson, templateCode, templateParamJson) {
return __awaiter(this, void 0, void 0, function () {
var params, _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
params = {
PhoneNumberJson: phoneNumberJson,
SignNameJson: signNameJson,
TemplateCode: templateCode,
TemplateParamJson: templateParamJson,
};
_b = (_a = $tea).cast;
return [4 /*yield*/, this._kernel.invokePre("alicloud-dysms", "SendBatchSms", params)];
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), new SendBatchSmsResponse({})])];
}
});
});
};
Client.prototype.query = function (phoneNumber, sendDate, pageSize, currentPage) {
return __awaiter(this, void 0, void 0, function () {
var params, _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
params = {
PhoneNumber: phoneNumber,
SendDate: sendDate,
PageSize: pageSize,
CurrentPage: currentPage,
};
_b = (_a = $tea).cast;
return [4 /*yield*/, this._kernel.invokePre("alicloud-dysms", "QuerySendDetails", params)];
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), new QuerySmsResponse({})])];
}
});
});
};
Client.prototype.preciseQuery = function (phoneNumber, sendDate, pageSize, currentPage, bizId) {
return __awaiter(this, void 0, void 0, function () {
var params, _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
params = {
PhoneNumber: phoneNumber,
SendDate: sendDate,
PageSize: pageSize,
CurrentPage: currentPage,
BizId: bizId,
};
_b = (_a = $tea).cast;
return [4 /*yield*/, this._kernel.invokePre("alicloud-dysms", "QuerySendDetails", params)];
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), new QuerySmsResponse({})])];
}
});
});
};
return Client;
}());
exports.default = Client;
//# sourceMappingURL=client.js.map
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
var __importStar = (this && this.__importStar) || function (mod) {

@@ -10,8 +59,9 @@ if (mod && mod.__esModule) return mod;

Object.defineProperty(exports, "__esModule", { value: true });
const $tea = __importStar(require("@alicloud/tea-typescript"));
class AlipaySystemOauthTokenResponse extends $tea.Model {
constructor(map) {
super(map);
var $tea = __importStar(require("@alicloud/tea-typescript"));
var AlipaySystemOauthTokenResponse = /** @class */ (function (_super) {
__extends(AlipaySystemOauthTokenResponse, _super);
function AlipaySystemOauthTokenResponse(map) {
return _super.call(this, map) || this;
}
static names() {
AlipaySystemOauthTokenResponse.names = function () {
return {

@@ -28,4 +78,4 @@ code: 'code',

};
}
static types() {
};
AlipaySystemOauthTokenResponse.types = function () {
return {

@@ -42,25 +92,47 @@ code: 'string',

};
}
}
};
return AlipaySystemOauthTokenResponse;
}($tea.Model));
exports.AlipaySystemOauthTokenResponse = AlipaySystemOauthTokenResponse;
class Client {
constructor(_kernel) {
var Client = /** @class */ (function () {
function Client(_kernel) {
this._kernel = _kernel;
}
async getToken(code) {
let params = {
grant_type: "authorization_code",
code: code,
};
return $tea.cast(await this._kernel.invoke("alipay.system.oauth.token", params), new AlipaySystemOauthTokenResponse({}));
}
async refreshToken(refreshToken) {
let params = {
grant_type: "refresh_token",
refresh_token: refreshToken,
};
return $tea.cast(await this._kernel.invoke("alipay.system.oauth.token", params), new AlipaySystemOauthTokenResponse({}));
}
}
Client.prototype.getToken = function (code) {
return __awaiter(this, void 0, void 0, function () {
var params, _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
params = {
grant_type: "authorization_code",
code: code,
};
_b = (_a = $tea).cast;
return [4 /*yield*/, this._kernel.invoke("alipay.system.oauth.token", params)];
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), new AlipaySystemOauthTokenResponse({})])];
}
});
});
};
Client.prototype.refreshToken = function (refreshToken) {
return __awaiter(this, void 0, void 0, function () {
var params, _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
params = {
grant_type: "refresh_token",
refresh_token: refreshToken,
};
_b = (_a = $tea).cast;
return [4 /*yield*/, this._kernel.invoke("alipay.system.oauth.token", params)];
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), new AlipaySystemOauthTokenResponse({})])];
}
});
});
};
return Client;
}());
exports.default = Client;
//# sourceMappingURL=client.js.map
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
var __importStar = (this && this.__importStar) || function (mod) {

@@ -10,8 +59,9 @@ if (mod && mod.__esModule) return mod;

Object.defineProperty(exports, "__esModule", { value: true });
const $tea = __importStar(require("@alicloud/tea-typescript"));
class AlipayOpenAppQrcodeCreateResponse extends $tea.Model {
constructor(map) {
super(map);
var $tea = __importStar(require("@alicloud/tea-typescript"));
var AlipayOpenAppQrcodeCreateResponse = /** @class */ (function (_super) {
__extends(AlipayOpenAppQrcodeCreateResponse, _super);
function AlipayOpenAppQrcodeCreateResponse(map) {
return _super.call(this, map) || this;
}
static names() {
AlipayOpenAppQrcodeCreateResponse.names = function () {
return {

@@ -24,4 +74,4 @@ code: 'code',

};
}
static types() {
};
AlipayOpenAppQrcodeCreateResponse.types = function () {
return {

@@ -34,19 +84,31 @@ code: 'string',

};
}
}
};
return AlipayOpenAppQrcodeCreateResponse;
}($tea.Model));
exports.AlipayOpenAppQrcodeCreateResponse = AlipayOpenAppQrcodeCreateResponse;
class Client {
constructor(_kernel) {
var Client = /** @class */ (function () {
function Client(_kernel) {
this._kernel = _kernel;
}
async create(urlParam, queryParam, describe) {
let params = {
url_param: urlParam,
query_param: queryParam,
describe: describe,
};
return $tea.cast(await this._kernel.invoke("alipay.open.app.qrcode.create", params), new AlipayOpenAppQrcodeCreateResponse({}));
}
}
Client.prototype.create = function (urlParam, queryParam, describe) {
return __awaiter(this, void 0, void 0, function () {
var params, _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
params = {
url_param: urlParam,
query_param: queryParam,
describe: describe,
};
_b = (_a = $tea).cast;
return [4 /*yield*/, this._kernel.invoke("alipay.open.app.qrcode.create", params)];
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), new AlipayOpenAppQrcodeCreateResponse({})])];
}
});
});
};
return Client;
}());
exports.default = Client;
//# sourceMappingURL=client.js.map
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -6,16 +19,20 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

Object.defineProperty(exports, "__esModule", { value: true });
const mpserverless_sdk_core_1 = __importDefault(require("mpserverless-sdk-core"));
const upper_first_1 = __importDefault(require("./utils/upper-first"));
const set_1 = __importDefault(require("./utils/set"));
const client_1 = __importDefault(require("./aliyun/shortMessage/client"));
const client_2 = __importDefault(require("./base/oauth/client"));
const client_3 = __importDefault(require("./base/qrcode/client"));
const client_4 = __importDefault(require("./marketing/templateMessage/client"));
const client_5 = __importDefault(require("./member/identification/client"));
const client_6 = __importDefault(require("./payment/common/client"));
const client_7 = __importDefault(require("./payment/faceToFace/client"));
const client_8 = __importDefault(require("./payment/huabei/client"));
const client_9 = __importDefault(require("./security/textRisk/client"));
class CloudSDK extends mpserverless_sdk_core_1.default {
registerService(namespace, service, alias) {
var mpserverless_sdk_core_1 = __importDefault(require("mpserverless-sdk-core"));
var upper_first_1 = __importDefault(require("./utils/upper-first"));
var set_1 = __importDefault(require("./utils/set"));
var client_1 = __importDefault(require("./aliyun/shortMessage/client"));
var client_2 = __importDefault(require("./base/oauth/client"));
var client_3 = __importDefault(require("./base/qrcode/client"));
var client_4 = __importDefault(require("./marketing/templateMessage/client"));
var client_5 = __importDefault(require("./member/identification/client"));
var client_6 = __importDefault(require("./payment/common/client"));
var client_7 = __importDefault(require("./payment/faceToFace/client"));
var client_8 = __importDefault(require("./payment/huabei/client"));
var client_9 = __importDefault(require("./security/textRisk/client"));
var CloudSDK = /** @class */ (function (_super) {
__extends(CloudSDK, _super);
function CloudSDK() {
return _super !== null && _super.apply(this, arguments) || this;
}
CloudSDK.prototype.registerService = function (namespace, service, alias) {
set_1.default(this, namespace, service);

@@ -27,8 +44,9 @@ // this[namespace] = service;

else {
const ns = namespace.split('.').map(str => upper_first_1.default(str)).join('.');
var ns = namespace.split('.').map(function (str) { return upper_first_1.default(str); }).join('.');
set_1.default(this, ns, service);
}
}
}
const cloud = new CloudSDK();
};
return CloudSDK;
}(mpserverless_sdk_core_1.default));
var cloud = new CloudSDK();
[

@@ -44,4 +62,4 @@ ['aliyun.shortMessage', new client_1.default(cloud)],

['security.textRisk', new client_9.default(cloud)]
].forEach(item => {
const [key, service, alias = ''] = item;
].forEach(function (item) {
var key = item[0], service = item[1], _a = item[2], alias = _a === void 0 ? '' : _a;
cloud.registerService(key, service, alias);

@@ -48,0 +66,0 @@ });

"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
var __importStar = (this && this.__importStar) || function (mod) {

@@ -10,8 +59,9 @@ if (mod && mod.__esModule) return mod;

Object.defineProperty(exports, "__esModule", { value: true });
const $tea = __importStar(require("@alicloud/tea-typescript"));
class AlipayOpenAppMiniTemplatemessageSendResponse extends $tea.Model {
constructor(map) {
super(map);
var $tea = __importStar(require("@alicloud/tea-typescript"));
var AlipayOpenAppMiniTemplatemessageSendResponse = /** @class */ (function (_super) {
__extends(AlipayOpenAppMiniTemplatemessageSendResponse, _super);
function AlipayOpenAppMiniTemplatemessageSendResponse(map) {
return _super.call(this, map) || this;
}
static names() {
AlipayOpenAppMiniTemplatemessageSendResponse.names = function () {
return {

@@ -23,4 +73,4 @@ code: 'code',

};
}
static types() {
};
AlipayOpenAppMiniTemplatemessageSendResponse.types = function () {
return {

@@ -32,21 +82,33 @@ code: 'string',

};
}
}
};
return AlipayOpenAppMiniTemplatemessageSendResponse;
}($tea.Model));
exports.AlipayOpenAppMiniTemplatemessageSendResponse = AlipayOpenAppMiniTemplatemessageSendResponse;
class Client {
constructor(_kernel) {
var Client = /** @class */ (function () {
function Client(_kernel) {
this._kernel = _kernel;
}
async send(toUserId, formId, userTemplateId, page, data) {
let params = {
to_user_id: toUserId,
form_id: formId,
user_template_id: userTemplateId,
page: page,
data: data,
};
return $tea.cast(await this._kernel.invoke("alipay.open.app.mini.templatemessage.send", params), new AlipayOpenAppMiniTemplatemessageSendResponse({}));
}
}
Client.prototype.send = function (toUserId, formId, userTemplateId, page, data) {
return __awaiter(this, void 0, void 0, function () {
var params, _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
params = {
to_user_id: toUserId,
form_id: formId,
user_template_id: userTemplateId,
page: page,
data: data,
};
_b = (_a = $tea).cast;
return [4 /*yield*/, this._kernel.invoke("alipay.open.app.mini.templatemessage.send", params)];
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), new AlipayOpenAppMiniTemplatemessageSendResponse({})])];
}
});
});
};
return Client;
}());
exports.default = Client;
//# sourceMappingURL=client.js.map
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
var __importStar = (this && this.__importStar) || function (mod) {

@@ -10,8 +59,9 @@ if (mod && mod.__esModule) return mod;

Object.defineProperty(exports, "__esModule", { value: true });
const $tea = __importStar(require("@alicloud/tea-typescript"));
class IdentityParam extends $tea.Model {
constructor(map) {
super(map);
var $tea = __importStar(require("@alicloud/tea-typescript"));
var IdentityParam = /** @class */ (function (_super) {
__extends(IdentityParam, _super);
function IdentityParam(map) {
return _super.call(this, map) || this;
}
static names() {
IdentityParam.names = function () {
return {

@@ -23,4 +73,4 @@ identityType: 'identityType',

};
}
static types() {
};
IdentityParam.types = function () {
return {

@@ -32,26 +82,30 @@ identityType: 'string',

};
}
}
};
return IdentityParam;
}($tea.Model));
exports.IdentityParam = IdentityParam;
class MerchantConfig extends $tea.Model {
constructor(map) {
super(map);
var MerchantConfig = /** @class */ (function (_super) {
__extends(MerchantConfig, _super);
function MerchantConfig(map) {
return _super.call(this, map) || this;
}
static names() {
MerchantConfig.names = function () {
return {
returnUrl: 'returnUrl',
};
}
static types() {
};
MerchantConfig.types = function () {
return {
returnUrl: 'string',
};
}
}
};
return MerchantConfig;
}($tea.Model));
exports.MerchantConfig = MerchantConfig;
class AlipayUserCertifyOpenInitializeResponse extends $tea.Model {
constructor(map) {
super(map);
var AlipayUserCertifyOpenInitializeResponse = /** @class */ (function (_super) {
__extends(AlipayUserCertifyOpenInitializeResponse, _super);
function AlipayUserCertifyOpenInitializeResponse(map) {
return _super.call(this, map) || this;
}
static names() {
AlipayUserCertifyOpenInitializeResponse.names = function () {
return {

@@ -64,4 +118,4 @@ code: 'code',

};
}
static types() {
};
AlipayUserCertifyOpenInitializeResponse.types = function () {
return {

@@ -74,26 +128,30 @@ code: 'string',

};
}
}
};
return AlipayUserCertifyOpenInitializeResponse;
}($tea.Model));
exports.AlipayUserCertifyOpenInitializeResponse = AlipayUserCertifyOpenInitializeResponse;
class AlipayUserCertifyOpenCertifyResponse extends $tea.Model {
constructor(map) {
super(map);
var AlipayUserCertifyOpenCertifyResponse = /** @class */ (function (_super) {
__extends(AlipayUserCertifyOpenCertifyResponse, _super);
function AlipayUserCertifyOpenCertifyResponse(map) {
return _super.call(this, map) || this;
}
static names() {
AlipayUserCertifyOpenCertifyResponse.names = function () {
return {
body: 'body',
};
}
static types() {
};
AlipayUserCertifyOpenCertifyResponse.types = function () {
return {
body: 'string',
};
}
}
};
return AlipayUserCertifyOpenCertifyResponse;
}($tea.Model));
exports.AlipayUserCertifyOpenCertifyResponse = AlipayUserCertifyOpenCertifyResponse;
class AlipayUserCertifyOpenQueryResponse extends $tea.Model {
constructor(map) {
super(map);
var AlipayUserCertifyOpenQueryResponse = /** @class */ (function (_super) {
__extends(AlipayUserCertifyOpenQueryResponse, _super);
function AlipayUserCertifyOpenQueryResponse(map) {
return _super.call(this, map) || this;
}
static names() {
AlipayUserCertifyOpenQueryResponse.names = function () {
return {

@@ -108,4 +166,4 @@ code: 'code',

};
}
static types() {
};
AlipayUserCertifyOpenQueryResponse.types = function () {
return {

@@ -120,37 +178,69 @@ code: 'string',

};
}
}
};
return AlipayUserCertifyOpenQueryResponse;
}($tea.Model));
exports.AlipayUserCertifyOpenQueryResponse = AlipayUserCertifyOpenQueryResponse;
class Client {
constructor(_kernel) {
var Client = /** @class */ (function () {
function Client(_kernel) {
this._kernel = _kernel;
}
async init(outerOrderNo, bizCode, identityParam, merchantConfig) {
let params = {
outer_order_no: outerOrderNo,
biz_code: bizCode,
identity_param: identityParam,
merchant_config: merchantConfig,
};
return $tea.cast(await this._kernel.invoke("alipay.user.certify.open.initialize", params), new AlipayUserCertifyOpenInitializeResponse({}));
}
async certify(certifyId) {
let params = {
certify_id: certifyId,
pageExec: "get",
};
let result = await this._kernel.invokeWithPageExe("alipay.user.certify.open.certify", params);
let response = {
body: result,
};
return $tea.cast(response, new AlipayUserCertifyOpenCertifyResponse({}));
}
async query(certifyId) {
let params = {
certify_id: certifyId,
};
return $tea.cast(await this._kernel.invoke("alipay.user.certify.open.query", params), new AlipayUserCertifyOpenQueryResponse({}));
}
}
Client.prototype.init = function (outerOrderNo, bizCode, identityParam, merchantConfig) {
return __awaiter(this, void 0, void 0, function () {
var params, _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
params = {
outer_order_no: outerOrderNo,
biz_code: bizCode,
identity_param: identityParam,
merchant_config: merchantConfig,
};
_b = (_a = $tea).cast;
return [4 /*yield*/, this._kernel.invoke("alipay.user.certify.open.initialize", params)];
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), new AlipayUserCertifyOpenInitializeResponse({})])];
}
});
});
};
Client.prototype.certify = function (certifyId) {
return __awaiter(this, void 0, void 0, function () {
var params, result, response;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
params = {
certify_id: certifyId,
pageExec: "get",
};
return [4 /*yield*/, this._kernel.invokeWithPageExe("alipay.user.certify.open.certify", params)];
case 1:
result = _a.sent();
response = {
body: result,
};
return [2 /*return*/, $tea.cast(response, new AlipayUserCertifyOpenCertifyResponse({}))];
}
});
});
};
Client.prototype.query = function (certifyId) {
return __awaiter(this, void 0, void 0, function () {
var params, _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
params = {
certify_id: certifyId,
};
_b = (_a = $tea).cast;
return [4 /*yield*/, this._kernel.invoke("alipay.user.certify.open.query", params)];
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), new AlipayUserCertifyOpenQueryResponse({})])];
}
});
});
};
return Client;
}());
exports.default = Client;
//# sourceMappingURL=client.js.map
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
var __importStar = (this && this.__importStar) || function (mod) {

@@ -10,8 +59,9 @@ if (mod && mod.__esModule) return mod;

Object.defineProperty(exports, "__esModule", { value: true });
const $tea = __importStar(require("@alicloud/tea-typescript"));
class TradeFundBill extends $tea.Model {
constructor(map) {
super(map);
var $tea = __importStar(require("@alicloud/tea-typescript"));
var TradeFundBill = /** @class */ (function (_super) {
__extends(TradeFundBill, _super);
function TradeFundBill(map) {
return _super.call(this, map) || this;
}
static names() {
TradeFundBill.names = function () {
return {

@@ -23,4 +73,4 @@ fundChannel: 'fundChannel',

};
}
static types() {
};
TradeFundBill.types = function () {
return {

@@ -32,10 +82,12 @@ fundChannel: 'string',

};
}
}
};
return TradeFundBill;
}($tea.Model));
exports.TradeFundBill = TradeFundBill;
class TradeSettleDetail extends $tea.Model {
constructor(map) {
super(map);
var TradeSettleDetail = /** @class */ (function (_super) {
__extends(TradeSettleDetail, _super);
function TradeSettleDetail(map) {
return _super.call(this, map) || this;
}
static names() {
TradeSettleDetail.names = function () {
return {

@@ -49,4 +101,4 @@ operationType: 'operationType',

};
}
static types() {
};
TradeSettleDetail.types = function () {
return {

@@ -60,26 +112,30 @@ operationType: 'string',

};
}
}
};
return TradeSettleDetail;
}($tea.Model));
exports.TradeSettleDetail = TradeSettleDetail;
class TradeSettleInfo extends $tea.Model {
constructor(map) {
super(map);
var TradeSettleInfo = /** @class */ (function (_super) {
__extends(TradeSettleInfo, _super);
function TradeSettleInfo(map) {
return _super.call(this, map) || this;
}
static names() {
TradeSettleInfo.names = function () {
return {
tradeSettleDetailList: 'tradeSettleDetailList',
};
}
static types() {
};
TradeSettleInfo.types = function () {
return {
tradeSettleDetailList: { 'type': 'array', 'itemType': TradeSettleDetail },
};
}
}
};
return TradeSettleInfo;
}($tea.Model));
exports.TradeSettleInfo = TradeSettleInfo;
class PresetPayToolInfo extends $tea.Model {
constructor(map) {
super(map);
var PresetPayToolInfo = /** @class */ (function (_super) {
__extends(PresetPayToolInfo, _super);
function PresetPayToolInfo(map) {
return _super.call(this, map) || this;
}
static names() {
PresetPayToolInfo.names = function () {
return {

@@ -89,4 +145,4 @@ amount: 'amount',

};
}
static types() {
};
PresetPayToolInfo.types = function () {
return {

@@ -96,10 +152,12 @@ amount: { 'type': 'array', 'itemType': 'string' },

};
}
}
};
return PresetPayToolInfo;
}($tea.Model));
exports.PresetPayToolInfo = PresetPayToolInfo;
class AlipayTradeCreateResponse extends $tea.Model {
constructor(map) {
super(map);
var AlipayTradeCreateResponse = /** @class */ (function (_super) {
__extends(AlipayTradeCreateResponse, _super);
function AlipayTradeCreateResponse(map) {
return _super.call(this, map) || this;
}
static names() {
AlipayTradeCreateResponse.names = function () {
return {

@@ -113,4 +171,4 @@ code: 'code',

};
}
static types() {
};
AlipayTradeCreateResponse.types = function () {
return {

@@ -124,10 +182,12 @@ code: 'string',

};
}
}
};
return AlipayTradeCreateResponse;
}($tea.Model));
exports.AlipayTradeCreateResponse = AlipayTradeCreateResponse;
class AlipayTradeQueryResponse extends $tea.Model {
constructor(map) {
super(map);
var AlipayTradeQueryResponse = /** @class */ (function (_super) {
__extends(AlipayTradeQueryResponse, _super);
function AlipayTradeQueryResponse(map) {
return _super.call(this, map) || this;
}
static names() {
AlipayTradeQueryResponse.names = function () {
return {

@@ -174,4 +234,4 @@ code: 'code',

};
}
static types() {
};
AlipayTradeQueryResponse.types = function () {
return {

@@ -218,10 +278,12 @@ code: 'string',

};
}
}
};
return AlipayTradeQueryResponse;
}($tea.Model));
exports.AlipayTradeQueryResponse = AlipayTradeQueryResponse;
class AlipayTradeRefundResponse extends $tea.Model {
constructor(map) {
super(map);
var AlipayTradeRefundResponse = /** @class */ (function (_super) {
__extends(AlipayTradeRefundResponse, _super);
function AlipayTradeRefundResponse(map) {
return _super.call(this, map) || this;
}
static names() {
AlipayTradeRefundResponse.names = function () {
return {

@@ -248,4 +310,4 @@ code: 'code',

};
}
static types() {
};
AlipayTradeRefundResponse.types = function () {
return {

@@ -272,10 +334,12 @@ code: 'string',

};
}
}
};
return AlipayTradeRefundResponse;
}($tea.Model));
exports.AlipayTradeRefundResponse = AlipayTradeRefundResponse;
class AlipayTradeCloseResponse extends $tea.Model {
constructor(map) {
super(map);
var AlipayTradeCloseResponse = /** @class */ (function (_super) {
__extends(AlipayTradeCloseResponse, _super);
function AlipayTradeCloseResponse(map) {
return _super.call(this, map) || this;
}
static names() {
AlipayTradeCloseResponse.names = function () {
return {

@@ -289,4 +353,4 @@ code: 'code',

};
}
static types() {
};
AlipayTradeCloseResponse.types = function () {
return {

@@ -300,10 +364,12 @@ code: 'string',

};
}
}
};
return AlipayTradeCloseResponse;
}($tea.Model));
exports.AlipayTradeCloseResponse = AlipayTradeCloseResponse;
class AlipayTradeCancelResponse extends $tea.Model {
constructor(map) {
super(map);
var AlipayTradeCancelResponse = /** @class */ (function (_super) {
__extends(AlipayTradeCancelResponse, _super);
function AlipayTradeCancelResponse(map) {
return _super.call(this, map) || this;
}
static names() {
AlipayTradeCancelResponse.names = function () {
return {

@@ -321,4 +387,4 @@ code: 'code',

};
}
static types() {
};
AlipayTradeCancelResponse.types = function () {
return {

@@ -336,45 +402,97 @@ code: 'string',

};
}
}
};
return AlipayTradeCancelResponse;
}($tea.Model));
exports.AlipayTradeCancelResponse = AlipayTradeCancelResponse;
class Client {
constructor(_kernel) {
var Client = /** @class */ (function () {
function Client(_kernel) {
this._kernel = _kernel;
}
async create(subject, outTradeNo, totalAmount, buyerId) {
let params = {
subject: subject,
out_trade_no: outTradeNo,
total_amount: totalAmount,
buyer_id: buyerId,
};
return $tea.cast(await this._kernel.invoke("alipay.trade.create", params), new AlipayTradeCreateResponse({}));
}
async query(tradeNo) {
let params = {
trade_no: tradeNo,
};
return $tea.cast(await this._kernel.invoke("alipay.trade.query", params), new AlipayTradeQueryResponse({}));
}
async refund(outTradeNo, refundAmount) {
let params = {
out_trade_no: outTradeNo,
refund_amount: refundAmount,
};
return $tea.cast(await this._kernel.invoke("alipay.trade.refund", params), new AlipayTradeRefundResponse({}));
}
async close(outTradeNo) {
let params = {
out_trade_no: outTradeNo,
};
return $tea.cast(await this._kernel.invoke("alipay.trade.close", params), new AlipayTradeCloseResponse({}));
}
async cancel(outTradeNo) {
let params = {
out_trade_no: outTradeNo,
};
return $tea.cast(await this._kernel.invoke("alipay.trade.cancel", params), new AlipayTradeCancelResponse({}));
}
}
Client.prototype.create = function (subject, outTradeNo, totalAmount, buyerId) {
return __awaiter(this, void 0, void 0, function () {
var params, _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
params = {
subject: subject,
out_trade_no: outTradeNo,
total_amount: totalAmount,
buyer_id: buyerId,
};
_b = (_a = $tea).cast;
return [4 /*yield*/, this._kernel.invoke("alipay.trade.create", params)];
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), new AlipayTradeCreateResponse({})])];
}
});
});
};
Client.prototype.query = function (tradeNo) {
return __awaiter(this, void 0, void 0, function () {
var params, _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
params = {
trade_no: tradeNo,
};
_b = (_a = $tea).cast;
return [4 /*yield*/, this._kernel.invoke("alipay.trade.query", params)];
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), new AlipayTradeQueryResponse({})])];
}
});
});
};
Client.prototype.refund = function (outTradeNo, refundAmount) {
return __awaiter(this, void 0, void 0, function () {
var params, _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
params = {
out_trade_no: outTradeNo,
refund_amount: refundAmount,
};
_b = (_a = $tea).cast;
return [4 /*yield*/, this._kernel.invoke("alipay.trade.refund", params)];
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), new AlipayTradeRefundResponse({})])];
}
});
});
};
Client.prototype.close = function (outTradeNo) {
return __awaiter(this, void 0, void 0, function () {
var params, _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
params = {
out_trade_no: outTradeNo,
};
_b = (_a = $tea).cast;
return [4 /*yield*/, this._kernel.invoke("alipay.trade.close", params)];
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), new AlipayTradeCloseResponse({})])];
}
});
});
};
Client.prototype.cancel = function (outTradeNo) {
return __awaiter(this, void 0, void 0, function () {
var params, _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
params = {
out_trade_no: outTradeNo,
};
_b = (_a = $tea).cast;
return [4 /*yield*/, this._kernel.invoke("alipay.trade.cancel", params)];
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), new AlipayTradeCancelResponse({})])];
}
});
});
};
return Client;
}());
exports.default = Client;
//# sourceMappingURL=client.js.map
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
var __importStar = (this && this.__importStar) || function (mod) {

@@ -10,8 +59,9 @@ if (mod && mod.__esModule) return mod;

Object.defineProperty(exports, "__esModule", { value: true });
const $tea = __importStar(require("@alicloud/tea-typescript"));
class TradeFundBill extends $tea.Model {
constructor(map) {
super(map);
var $tea = __importStar(require("@alicloud/tea-typescript"));
var TradeFundBill = /** @class */ (function (_super) {
__extends(TradeFundBill, _super);
function TradeFundBill(map) {
return _super.call(this, map) || this;
}
static names() {
TradeFundBill.names = function () {
return {

@@ -23,4 +73,4 @@ fundChannel: 'fundChannel',

};
}
static types() {
};
TradeFundBill.types = function () {
return {

@@ -32,10 +82,12 @@ fundChannel: 'string',

};
}
}
};
return TradeFundBill;
}($tea.Model));
exports.TradeFundBill = TradeFundBill;
class VoucherDetail extends $tea.Model {
constructor(map) {
super(map);
var VoucherDetail = /** @class */ (function (_super) {
__extends(VoucherDetail, _super);
function VoucherDetail(map) {
return _super.call(this, map) || this;
}
static names() {
VoucherDetail.names = function () {
return {

@@ -54,4 +106,4 @@ id: 'id',

};
}
static types() {
};
VoucherDetail.types = function () {
return {

@@ -70,10 +122,12 @@ id: 'string',

};
}
}
};
return VoucherDetail;
}($tea.Model));
exports.VoucherDetail = VoucherDetail;
class AlipayTradePayResponse extends $tea.Model {
constructor(map) {
super(map);
var AlipayTradePayResponse = /** @class */ (function (_super) {
__extends(AlipayTradePayResponse, _super);
function AlipayTradePayResponse(map) {
return _super.call(this, map) || this;
}
static names() {
AlipayTradePayResponse.names = function () {
return {

@@ -117,4 +171,4 @@ code: 'code',

};
}
static types() {
};
AlipayTradePayResponse.types = function () {
return {

@@ -158,21 +212,33 @@ code: 'string',

};
}
}
};
return AlipayTradePayResponse;
}($tea.Model));
exports.AlipayTradePayResponse = AlipayTradePayResponse;
class Client {
constructor(_kernel) {
var Client = /** @class */ (function () {
function Client(_kernel) {
this._kernel = _kernel;
}
async pay(subject, outTradeNo, totalAmount, authCode) {
let params = {
subject: subject,
out_trade_no: outTradeNo,
total_amount: totalAmount,
auth_code: authCode,
scene: "bar_code",
};
return $tea.cast(await this._kernel.invoke("alipay.trade.pay", params), new AlipayTradePayResponse({}));
}
}
Client.prototype.pay = function (subject, outTradeNo, totalAmount, authCode) {
return __awaiter(this, void 0, void 0, function () {
var params, _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
params = {
subject: subject,
out_trade_no: outTradeNo,
total_amount: totalAmount,
auth_code: authCode,
scene: "bar_code",
};
_b = (_a = $tea).cast;
return [4 /*yield*/, this._kernel.invoke("alipay.trade.pay", params)];
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), new AlipayTradePayResponse({})])];
}
});
});
};
return Client;
}());
exports.default = Client;
//# sourceMappingURL=client.js.map
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
var __importStar = (this && this.__importStar) || function (mod) {

@@ -10,8 +59,9 @@ if (mod && mod.__esModule) return mod;

Object.defineProperty(exports, "__esModule", { value: true });
const $tea = __importStar(require("@alicloud/tea-typescript"));
class HuabeiConfig extends $tea.Model {
constructor(map) {
super(map);
var $tea = __importStar(require("@alicloud/tea-typescript"));
var HuabeiConfig = /** @class */ (function (_super) {
__extends(HuabeiConfig, _super);
function HuabeiConfig(map) {
return _super.call(this, map) || this;
}
static names() {
HuabeiConfig.names = function () {
return {

@@ -21,4 +71,4 @@ hbFqNum: 'hbFqNum',

};
}
static types() {
};
HuabeiConfig.types = function () {
return {

@@ -28,10 +78,12 @@ hbFqNum: 'string',

};
}
}
};
return HuabeiConfig;
}($tea.Model));
exports.HuabeiConfig = HuabeiConfig;
class AlipayTradeCreateResponse extends $tea.Model {
constructor(map) {
super(map);
var AlipayTradeCreateResponse = /** @class */ (function (_super) {
__extends(AlipayTradeCreateResponse, _super);
function AlipayTradeCreateResponse(map) {
return _super.call(this, map) || this;
}
static names() {
AlipayTradeCreateResponse.names = function () {
return {

@@ -45,4 +97,4 @@ code: 'code',

};
}
static types() {
};
AlipayTradeCreateResponse.types = function () {
return {

@@ -56,21 +108,33 @@ code: 'string',

};
}
}
};
return AlipayTradeCreateResponse;
}($tea.Model));
exports.AlipayTradeCreateResponse = AlipayTradeCreateResponse;
class Client {
constructor(_kernel) {
var Client = /** @class */ (function () {
function Client(_kernel) {
this._kernel = _kernel;
}
async create(subject, outTradeNo, totalAmount, buyerId, extendParams) {
let params = {
subject: subject,
out_trade_no: outTradeNo,
total_amount: totalAmount,
buyer_id: buyerId,
extend_params: extendParams,
};
return $tea.cast(await this._kernel.invoke("alipay.trade.create", params), new AlipayTradeCreateResponse({}));
}
}
Client.prototype.create = function (subject, outTradeNo, totalAmount, buyerId, extendParams) {
return __awaiter(this, void 0, void 0, function () {
var params, _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
params = {
subject: subject,
out_trade_no: outTradeNo,
total_amount: totalAmount,
buyer_id: buyerId,
extend_params: extendParams,
};
_b = (_a = $tea).cast;
return [4 /*yield*/, this._kernel.invoke("alipay.trade.create", params)];
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), new AlipayTradeCreateResponse({})])];
}
});
});
};
return Client;
}());
exports.default = Client;
//# sourceMappingURL=client.js.map
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
var __importStar = (this && this.__importStar) || function (mod) {

@@ -10,8 +59,9 @@ if (mod && mod.__esModule) return mod;

Object.defineProperty(exports, "__esModule", { value: true });
const $tea = __importStar(require("@alicloud/tea-typescript"));
class AlipaySecurityRiskContentDetectResponse extends $tea.Model {
constructor(map) {
super(map);
var $tea = __importStar(require("@alicloud/tea-typescript"));
var AlipaySecurityRiskContentDetectResponse = /** @class */ (function (_super) {
__extends(AlipaySecurityRiskContentDetectResponse, _super);
function AlipaySecurityRiskContentDetectResponse(map) {
return _super.call(this, map) || this;
}
static names() {
AlipaySecurityRiskContentDetectResponse.names = function () {
return {

@@ -26,4 +76,4 @@ code: 'code',

};
}
static types() {
};
AlipaySecurityRiskContentDetectResponse.types = function () {
return {

@@ -38,17 +88,29 @@ code: 'string',

};
}
}
};
return AlipaySecurityRiskContentDetectResponse;
}($tea.Model));
exports.AlipaySecurityRiskContentDetectResponse = AlipaySecurityRiskContentDetectResponse;
class Client {
constructor(_kernel) {
var Client = /** @class */ (function () {
function Client(_kernel) {
this._kernel = _kernel;
}
async detect(content) {
let params = {
content: content,
};
return $tea.cast(await this._kernel.invoke("alipay.security.risk.content.detect", params), new AlipaySecurityRiskContentDetectResponse({}));
}
}
Client.prototype.detect = function (content) {
return __awaiter(this, void 0, void 0, function () {
var params, _a, _b;
return __generator(this, function (_c) {
switch (_c.label) {
case 0:
params = {
content: content,
};
_b = (_a = $tea).cast;
return [4 /*yield*/, this._kernel.invoke("alipay.security.risk.content.detect", params)];
case 1: return [2 /*return*/, _b.apply(_a, [_c.sent(), new AlipaySecurityRiskContentDetectResponse({})])];
}
});
});
};
return Client;
}());
exports.default = Client;
//# sourceMappingURL=client.js.map

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

Object.defineProperty(exports, "__esModule", { value: true });
const is_type_1 = __importDefault(require("./is-type"));
var is_type_1 = __importDefault(require("./is-type"));
function isNumber(value) {

@@ -9,0 +9,0 @@ return is_type_1.default(value, 'Number');

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

function isObject(value) {
const type = typeof value;
var type = typeof value;
return (value !== null && type === 'object') || type === 'function';

@@ -17,0 +17,0 @@ }

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

Object.defineProperty(exports, "__esModule", { value: true });
const is_type_1 = __importDefault(require("./is-type"));
var is_type_1 = __importDefault(require("./is-type"));
function isString(str) {

@@ -9,0 +9,0 @@ return is_type_1.default(str, 'String');

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function isType(value, type) {
return {}.toString.call(value) === `[object ${type}]`;
return {}.toString.call(value) === "[object " + type + "]";
}
exports.default = isType;
//# sourceMappingURL=is-type.js.map

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

Object.defineProperty(exports, "__esModule", { value: true });
const is_string_1 = __importDefault(require("./is-string"));
const is_object_1 = __importDefault(require("./is-object"));
const is_number_1 = __importDefault(require("./is-number"));
var is_string_1 = __importDefault(require("./is-string"));
var is_object_1 = __importDefault(require("./is-object"));
var is_number_1 = __importDefault(require("./is-number"));
/**

@@ -20,5 +20,5 @@ * set object value by path

function set(obj, path, value) {
let _obj = obj;
const keyArr = is_string_1.default(path) ? path.split('.') : path;
keyArr.forEach((key, idx) => {
var _obj = obj;
var keyArr = is_string_1.default(path) ? path.split('.') : path;
keyArr.forEach(function (key, idx) {
if (idx < (keyArr.length - 1)) {

@@ -25,0 +25,0 @@ if (!is_object_1.default(_obj[key])) {

{
"name": "alipay-serverless-sdk",
"version": "0.0.4",
"version": "0.0.5",
"description": "Alipay Serverless SDK for mini-program development.",

@@ -15,4 +15,4 @@ "main": "dist/index.js",

"@alicloud/mpserverless-sdk": "^2.2.5",
"@alicloud/tea-typescript": "^1.5.1",
"mpserverless-sdk-core": "^0.0.13"
"@alicloud/tea-typescript": "^1.6.0",
"mpserverless-sdk-core": "^0.0.14"
},

@@ -19,0 +19,0 @@ "files": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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