UNPKG

tencentcloud-sdk-nodejs-intl-en

Version:
2,083 lines (1,746 loc) • 398 kB
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ const AbstractModel = require("../../common/abstract_model"); /** * CreatePresetKey response structure. * @class */ class CreatePresetKeyResponse extends AbstractModel { constructor(){ super(); /** * Response data Note: This field may return null, indicating that no valid values can be obtained. * @type {PresetResp || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new PresetResp(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * DescribeOnlineVersion request structure. * @class */ class DescribeOnlineVersionRequest extends AbstractModel { constructor(){ super(); /** * Mini program ID * @type {string || null} */ this.MNPId = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.MNPId = 'MNPId' in params ? params.MNPId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; } } /** * Additional compilation task info * @class */ class DescribeMNPVersionCompileTaskExtInfo extends AbstractModel { constructor(){ super(); /** * TCMPP error message Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.TCMPPErrMsg = null; /** * WX Error Message Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.WXErrMsg = null; /** * WeChat QR code Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.WXQrCode = null; /** * Compile size Information Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.SizeInfo = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.TCMPPErrMsg = 'TCMPPErrMsg' in params ? params.TCMPPErrMsg : null; this.WXErrMsg = 'WXErrMsg' in params ? params.WXErrMsg : null; this.WXQrCode = 'WXQrCode' in params ? params.WXQrCode : null; this.SizeInfo = 'SizeInfo' in params ? params.SizeInfo : null; } } /** * DescribeOfflineMNPPackage request structure. * @class */ class DescribeOfflineMNPPackageRequest extends AbstractModel { constructor(){ super(); /** * Mini program ID * @type {string || null} */ this.MNPId = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.MNPId = 'MNPId' in params ? params.MNPId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; } } /** * DescribeRoleDetail request structure. * @class */ class DescribeRoleDetailRequest extends AbstractModel { constructor(){ super(); /** * Role ID * @type {number || null} */ this.RoleId = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.RoleId = 'RoleId' in params ? params.RoleId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; } } /** * DescribeMNPAllStageVersions request structure. * @class */ class DescribeMNPAllStageVersionsRequest extends AbstractModel { constructor(){ super(); /** * Mini program ID * @type {string || null} */ this.MNPId = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.MNPId = 'MNPId' in params ? params.MNPId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; } } /** * ModifyApplication request structure. * @class */ class ModifyApplicationRequest extends AbstractModel { constructor(){ super(); /** * Application ID * @type {string || null} */ this.ApplicationId = null; /** * The application name. * @type {string || null} */ this.ApplicationName = null; /** * Application introduction * @type {string || null} */ this.Intro = null; /** * Icon * @type {string || null} */ this.Logo = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; /** * Android app package name * @type {string || null} */ this.AndroidAppKey = null; /** * iOS App bundleId * @type {string || null} */ this.IosAppKey = null; /** * Remarks * @type {string || null} */ this.Remark = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null; this.ApplicationName = 'ApplicationName' in params ? params.ApplicationName : null; this.Intro = 'Intro' in params ? params.Intro : null; this.Logo = 'Logo' in params ? params.Logo : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; this.AndroidAppKey = 'AndroidAppKey' in params ? params.AndroidAppKey : null; this.IosAppKey = 'IosAppKey' in params ? params.IosAppKey : null; this.Remark = 'Remark' in params ? params.Remark : null; } } /** * ModifyUserPassword request structure. * @class */ class ModifyUserPasswordRequest extends AbstractModel { constructor(){ super(); /** * User ID * @type {string || null} */ this.UserId = null; /** * Account password. Use CreatePresetKey to get publick key to encrypt the password. * @type {string || null} */ this.Password = null; /** * Call CreatePresetKey to get the keyID from RequestId * @type {string || null} */ this.KeyId = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.UserId = 'UserId' in params ? params.UserId : null; this.Password = 'Password' in params ? params.Password : null; this.KeyId = 'KeyId' in params ? params.KeyId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; } } /** * Team member information * @class */ class DescribeTeamMembersInfoPageResp extends AbstractModel { constructor(){ super(); /** * Total number of results. Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.TotalCount = null; /** * List information Note: This field may return null, indicating that no valid values can be obtained. * @type {Array.<DescribeTeamMembersInfoResp> || null} */ this.DataList = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.TotalCount = 'TotalCount' in params ? params.TotalCount : null; if (params.DataList) { this.DataList = new Array(); for (let z in params.DataList) { let obj = new DescribeTeamMembersInfoResp(); obj.deserialize(params.DataList[z]); this.DataList.push(obj); } } } } /** * Team domain list * @class */ class DescribeDomainTeamListPageResp extends AbstractModel { constructor(){ super(); /** * Total number of entries Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.TotalCount = null; /** * List information Note: This field may return null, indicating that no valid values can be obtained. * @type {Array.<DescribeDomainTeamListInfoResp> || null} */ this.DataList = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.TotalCount = 'TotalCount' in params ? params.TotalCount : null; if (params.DataList) { this.DataList = new Array(); for (let z in params.DataList) { let obj = new DescribeDomainTeamListInfoResp(); obj.deserialize(params.DataList[z]); this.DataList.push(obj); } } } } /** * DeleteUser request structure. * @class */ class DeleteUserRequest extends AbstractModel { constructor(){ super(); /** * User ID * @type {string || null} */ this.UserId = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.UserId = 'UserId' in params ? params.UserId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; } } /** * ModifyPlatformAuditStatus response structure. * @class */ class ModifyPlatformAuditStatusResponse extends AbstractModel { constructor(){ super(); /** * Response data * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new BooleanInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * DescribeMNPCategory response structure. * @class */ class DescribeMNPCategoryResponse extends AbstractModel { constructor(){ super(); /** * Response data Note: This field may return null, indicating that no valid values can be obtained. * @type {Array.<MNPTypeDefine> || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { this.Data = new Array(); for (let z in params.Data) { let obj = new MNPTypeDefine(); obj.deserialize(params.Data[z]); this.Data.push(obj); } } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * Parameters of the request to add a sensitive API * @class */ class CreateApplicationSensitiveAPIReq extends AbstractModel { constructor(){ super(); /** * API name Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.APIName = null; /** * API description Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.APIDesc = null; /** * API type. 1: System; 2: Custom Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.APIType = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.APIName = 'APIName' in params ? params.APIName : null; this.APIDesc = 'APIDesc' in params ? params.APIDesc : null; this.APIType = 'APIType' in params ? params.APIType : null; } } /** * DescribeSensitiveAPIList request structure. * @class */ class DescribeSensitiveAPIListRequest extends AbstractModel { constructor(){ super(); /** * Page offset * @type {number || null} */ this.Offset = null; /** * Number of results per page * @type {number || null} */ this.Limit = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; /** * Keywords for search (API name or method) * @type {string || null} */ this.Keyword = null; /** * Team ID * @type {string || null} */ this.TeamId = null; /** * Application ID * @type {string || null} */ this.ApplicationId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.Offset = 'Offset' in params ? params.Offset : null; this.Limit = 'Limit' in params ? params.Limit : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; this.Keyword = 'Keyword' in params ? params.Keyword : null; this.TeamId = 'TeamId' in params ? params.TeamId : null; this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null; } } /** * CreateMNPApproval request structure. * @class */ class CreateMNPApprovalRequest extends AbstractModel { constructor(){ super(); /** * Mini program version ID * @type {number || null} */ this.MNPVersionId = null; /** * submit: Submit an approval request; cancel: Cancel the approval request * @type {string || null} */ this.ApplyAction = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.MNPVersionId = 'MNPVersionId' in params ? params.MNPVersionId : null; this.ApplyAction = 'ApplyAction' in params ? params.ApplyAction : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; } } /** * RemoveMNP request structure. * @class */ class RemoveMNPRequest extends AbstractModel { constructor(){ super(); /** * Mini program ID * @type {string || null} */ this.MNPId = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.MNPId = 'MNPId' in params ? params.MNPId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; } } /** * DeleteTeamMember response structure. * @class */ class DeleteTeamMemberResponse extends AbstractModel { constructor(){ super(); /** * Response data * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new BooleanInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * RemoveMNP response structure. * @class */ class RemoveMNPResponse extends AbstractModel { constructor(){ super(); /** * Response data * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new BooleanInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * Mini program list * @class */ class DescribeMNPListResp extends AbstractModel { constructor(){ super(); /** * Total number of entries Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.TotalCount = null; /** * List information Note: This field may return null, indicating that no valid values can be obtained. * @type {Array.<DescribeMNPListData> || null} */ this.DataList = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.TotalCount = 'TotalCount' in params ? params.TotalCount : null; if (params.DataList) { this.DataList = new Array(); for (let z in params.DataList) { let obj = new DescribeMNPListData(); obj.deserialize(params.DataList[z]); this.DataList.push(obj); } } } } /** * Response of querying the preview version * @class */ class DescribeMNPPreviewResp extends AbstractModel { constructor(){ super(); /** * Mini program ID Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.MNPId = null; /** * Mini program name Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.MNPName = null; /** * Mini program description Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.MNPDesc = null; /** * Mini program version Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.MNPVersion = null; /** * Mini program introduction Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.MNPVersionIntro = null; /** * Mini program QR code Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.QRCodeUrl = null; /** * Path to the preview version Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.PreviewEntrancePath = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.MNPId = 'MNPId' in params ? params.MNPId : null; this.MNPName = 'MNPName' in params ? params.MNPName : null; this.MNPDesc = 'MNPDesc' in params ? params.MNPDesc : null; this.MNPVersion = 'MNPVersion' in params ? params.MNPVersion : null; this.MNPVersionIntro = 'MNPVersionIntro' in params ? params.MNPVersionIntro : null; this.QRCodeUrl = 'QRCodeUrl' in params ? params.QRCodeUrl : null; this.PreviewEntrancePath = 'PreviewEntrancePath' in params ? params.PreviewEntrancePath : null; } } /** * DescribeMNPVersion response structure. * @class */ class DescribeMNPVersionResponse extends AbstractModel { constructor(){ super(); /** * Response data * @type {DescribeMNPVersionResp || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new DescribeMNPVersionResp(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * ModifyApplication response structure. * @class */ class ModifyApplicationResponse extends AbstractModel { constructor(){ super(); /** * Response data * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new BooleanInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * EnableApplicationSensitiveAPI response structure. * @class */ class EnableApplicationSensitiveAPIResponse extends AbstractModel { constructor(){ super(); /** * Response data * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new BooleanInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * DescribeTeamDomainList request structure. * @class */ class DescribeTeamDomainListRequest extends AbstractModel { constructor(){ super(); /** * Page offset * @type {number || null} */ this.Offset = null; /** * Number of results per page * @type {number || null} */ this.Limit = null; /** * Team ID * @type {string || null} */ this.TeamId = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.Offset = 'Offset' in params ? params.Offset : null; this.Limit = 'Limit' in params ? params.Limit : null; this.TeamId = 'TeamId' in params ? params.TeamId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; } } /** * DescribeSensitiveApiAuthList request structure. * @class */ class DescribeSensitiveApiAuthListRequest extends AbstractModel { constructor(){ super(); /** * Page offset * @type {number || null} */ this.Offset = null; /** * Number of results per page * @type {number || null} */ this.Limit = null; /** * Mini program ID * @type {string || null} */ this.MNPId = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; /** * Application ID * @type {string || null} */ this.ApplicationId = null; /** * Keywords for search (API name) * @type {string || null} */ this.Keyword = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.Offset = 'Offset' in params ? params.Offset : null; this.Limit = 'Limit' in params ? params.Limit : null; this.MNPId = 'MNPId' in params ? params.MNPId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null; this.Keyword = 'Keyword' in params ? params.Keyword : null; } } /** * DescribeMNPList response structure. * @class */ class DescribeMNPListResponse extends AbstractModel { constructor(){ super(); /** * Response data Note: This field may return null, indicating that no valid values can be obtained. * @type {DescribeMNPListResp || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new DescribeMNPListResp(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * ModifyMNPStatusOffline request structure. * @class */ class ModifyMNPStatusOfflineRequest extends AbstractModel { constructor(){ super(); /** * Mini program ID * @type {string || null} */ this.MNPId = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.MNPId = 'MNPId' in params ? params.MNPId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; } } /** * ProcessMNPApproval response structure. * @class */ class ProcessMNPApprovalResponse extends AbstractModel { constructor(){ super(); /** * Response data * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new BooleanInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * The general parameter for resource ID returned for successful operations * @class */ class ResourceIdStringInfo extends AbstractModel { constructor(){ super(); /** * The ID of the resource returned Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.ResourceId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ResourceId = 'ResourceId' in params ? params.ResourceId : null; } } /** * DescribeGlobalDomainACL request structure. * @class */ class DescribeGlobalDomainACLRequest extends AbstractModel { constructor(){ super(); /** * Page offset * @type {number || null} */ this.Offset = null; /** * Number of results per page * @type {number || null} */ this.Limit = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; /** * Domain type. 1: Allowed; 2: Blocked * @type {Array.<number> || null} */ this.DomainTypes = null; /** * Domain names to be queried. * @type {string || null} */ this.Keyword = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.Offset = 'Offset' in params ? params.Offset : null; this.Limit = 'Limit' in params ? params.Limit : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; this.DomainTypes = 'DomainTypes' in params ? params.DomainTypes : null; this.Keyword = 'Keyword' in params ? params.Keyword : null; } } /** * DeleteTeam response structure. * @class */ class DeleteTeamResponse extends AbstractModel { constructor(){ super(); /** * Response data * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new BooleanInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * Response of querying the rollback version list * @class */ class DescribeRevertOnlineVersionPageResp extends AbstractModel { constructor(){ super(); /** * Total number of entries Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.TotalCount = null; /** * List information Note: This field may return null, indicating that no valid values can be obtained. * @type {Array.<QueryOnlineVersionResp> || null} */ this.DataList = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.TotalCount = 'TotalCount' in params ? params.TotalCount : null; if (params.DataList) { this.DataList = new Array(); for (let z in params.DataList) { let obj = new QueryOnlineVersionResp(); obj.deserialize(params.DataList[z]); this.DataList.push(obj); } } } } /** * DescribeMNPSensitiveAPIPermissionApproval request structure. * @class */ class DescribeMNPSensitiveAPIPermissionApprovalRequest extends AbstractModel { constructor(){ super(); /** * Approval request number * @type {string || null} */ this.ApprovalNo = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ApprovalNo = 'ApprovalNo' in params ? params.ApprovalNo : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; } } /** * CreateOnlineApply request structure. * @class */ class CreateOnlineApplyRequest extends AbstractModel { constructor(){ super(); /** * Mini program version ID * @type {number || null} */ this.MNPVersionId = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.MNPVersionId = 'MNPVersionId' in params ? params.MNPVersionId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; } } /** * CheckGlobalDomain request structure. * @class */ class CheckGlobalDomainRequest extends AbstractModel { constructor(){ super(); /** * Domain name list * @type {Array.<string> || null} */ this.DomainUrlList = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.DomainUrlList = 'DomainUrlList' in params ? params.DomainUrlList : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; } } /** * Team member information * @class */ class DescribeTeamMemberInfoResp extends AbstractModel { constructor(){ super(); /** * User ID Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.UserId = null; /** * User account Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.UserAccount = null; /** * User name Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.UserName = null; /** * Team ID Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.TeamId = null; /** * Team name Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.TeamName = null; /** * Team role name Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.TeamRoleName = null; /** * Team role ID Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.TeamRoleId = null; /** * Editable or not Note: This field may return null, indicating that no valid values can be obtained. * @type {boolean || null} */ this.CanEdit = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.UserId = 'UserId' in params ? params.UserId : null; this.UserAccount = 'UserAccount' in params ? params.UserAccount : null; this.UserName = 'UserName' in params ? params.UserName : null; this.TeamId = 'TeamId' in params ? params.TeamId : null; this.TeamName = 'TeamName' in params ? params.TeamName : null; this.TeamRoleName = 'TeamRoleName' in params ? params.TeamRoleName : null; this.TeamRoleId = 'TeamRoleId' in params ? params.TeamRoleId : null; this.CanEdit = 'CanEdit' in params ? params.CanEdit : null; } } /** * ConfigureMNPPreview response structure. * @class */ class ConfigureMNPPreviewResponse extends AbstractModel { constructor(){ super(); /** * Response data * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new BooleanInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * ModifyMNPVersionPreview request structure. * @class */ class ModifyMNPVersionPreviewRequest extends AbstractModel { constructor(){ super(); /** * Mini program ID * @type {string || null} */ this.MNPId = null; /** * 1 Set 2 Cancel * @type {number || null} */ this.ActionType = null; /** * Mini program version ID * @type {number || null} */ this.MNPVersionId = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; /** * Path to the demo page * @type {string || null} */ this.TestEntrancePath = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.MNPId = 'MNPId' in params ? params.MNPId : null; this.ActionType = 'ActionType' in params ? params.ActionType : null; this.MNPVersionId = 'MNPVersionId' in params ? params.MNPVersionId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; this.TestEntrancePath = 'TestEntrancePath' in params ? params.TestEntrancePath : null; } } /** * Mini program list * @class */ class DescribeMNPManagerListResp extends AbstractModel { constructor(){ super(); /** * Total number of entries Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.TotalCount = null; /** * List information Note: This field may return null, indicating that no valid values can be obtained. * @type {Array.<DescribeMNPManagerListData> || null} */ this.DataList = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.TotalCount = 'TotalCount' in params ? params.TotalCount : null; if (params.DataList) { this.DataList = new Array(); for (let z in params.DataList) { let obj = new DescribeMNPManagerListData(); obj.deserialize(params.DataList[z]); this.DataList.push(obj); } } } } /** * DescribeSensitiveApiApplyDetail response structure. * @class */ class DescribeSensitiveApiApplyDetailResponse extends AbstractModel { constructor(){ super(); /** * Note: This field may return null, indicating that no valid values can be obtained. * @type {DescribeSensitiveApiApplyDetail || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new DescribeSensitiveApiApplyDetail(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * DescribeSimpleApplicationInfoList response structure. * @class */ class DescribeSimpleApplicationInfoListResponse extends AbstractModel { constructor(){ super(); /** * Response data * @type {ApplicationSimpleListInfoResp || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new ApplicationSimpleListInfoResp(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * List of permission requests to allow a mini program calling sensitive APIs * @class */ class DescribeMNPSensitiveAPIPermissionApprovalListData extends AbstractModel { constructor(){ super(); /** * Approval ID * @type {string || null} */ this.ApprovalNo = null; /** * Sensitive API ID * @type {string || null} */ this.APIId = null; /** * API name * @type {string || null} */ this.APIName = null; /** * API request method * @type {string || null} */ this.APIMethod = null; /** * Mini program ID * @type {string || null} */ this.MNPId = null; /** * Mini program name * @type {string || null} */ this.MNPName = null; /** * Applicant * @type {string || null} */ this.ApplyUser = null; /** * Application time * @type {string || null} */ this.ApplyTime = null; /** * Application notes * @type {string || null} */ this.ApplyNote = null; /** * Approval status. 1: Processing; 20: Rejected; 30: Approved * @type {number || null} */ this.ApprovalStatus = null; /** * Approver Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.ApprovalUser = null; /** * Approval time Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.ApprovalTime = null; /** * Approval notes Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.ApprovalNote = null; /** * Application ID Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.ApplicationId = null; /** * Application name Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.ApplicationName = null; /** * Application icon Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.ApplicationLogo = null; /** * API type. 1: System; 2: Custom Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.APIType = null; /** * API feature description Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.APIDesc = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ApprovalNo = 'ApprovalNo' in params ? params.ApprovalNo : null; this.APIId = 'APIId' in params ? params.APIId : null; this.APIName = 'APIName' in params ? params.APIName : null; this.APIMethod = 'APIMethod' in params ? params.APIMethod : null; this.MNPId = 'MNPId' in params ? params.MNPId : null; this.MNPName = 'MNPName' in params ? params.MNPName : null; this.ApplyUser = 'ApplyUser' in params ? params.ApplyUser : null; this.ApplyTime = 'ApplyTime' in params ? params.ApplyTime : null; this.ApplyNote = 'ApplyNote' in params ? params.ApplyNote : null; this.ApprovalStatus = 'ApprovalStatus' in params ? params.ApprovalStatus : null; this.ApprovalUser = 'ApprovalUser' in params ? params.ApprovalUser : null; this.ApprovalTime = 'ApprovalTime' in params ? params.ApprovalTime : null; this.ApprovalNote = 'ApprovalNote' in params ? params.ApprovalNote : null; this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null; this.ApplicationName = 'ApplicationName' in params ? params.ApplicationName : null; this.ApplicationLogo = 'ApplicationLogo' in params ? params.ApplicationLogo : null; this.APIType = 'APIType' in params ? params.APIType : null; this.APIDesc = 'APIDesc' in params ? params.APIDesc : null; } } /** * DeleteMNP response structure. * @class */ class DeleteMNPResponse extends AbstractModel { constructor(){ super(); /** * Response data Note: This field may return null, indicating that no valid values can be obtained. * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /**