UNPKG

tencentcloud-sdk-nodejs-intl-en

Version:
2,030 lines (1,699 loc) • 592 kB
/* * Copyright (c) 2018 Tencent. 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"); /** * CreateMNPSubscribeMessageTemplate response structure. * @class */ class CreateMNPSubscribeMessageTemplateResponse extends AbstractModel { constructor(){ super(); /** * <p>Response data.</p> 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; } /** * @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; } } /** * DisableMNPPayment request structure. * @class */ class DisableMNPPaymentRequest extends AbstractModel { constructor(){ super(); /** * <p>Platform ID.</p> * @type {string || null} */ this.PlatformId = null; /** * <p>Superapp ID.</p> * @type {string || null} */ this.ApplicationId = null; /** * <p>Primary key ID, obtained from the API response of approving mini program payment activation.</p> * @type {number || null} */ this.ID = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null; this.ID = 'ID' in params ? params.ID : null; } } /** * DescribeMNGRetentionData request structure. * @class */ class DescribeMNGRetentionDataRequest extends AbstractModel { constructor(){ super(); /** * Start time. * @type {number || null} */ this.TimeBegin = null; /** * Mini program appid. * @type {string || null} */ this.MNPId = null; /** * Tenant ID. * @type {string || null} */ this.PlatformId = null; /** * Data type. Valid values: 0: Non-production data; 1: Production data. * @type {number || null} */ this.DataType = null; /** * End time. * @type {number || null} */ this.TimeEnd = null; /** * Operating system. Valid values: 0: All; 2: Android; 3: iOS. * @type {number || null} */ this.Platform = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.TimeBegin = 'TimeBegin' in params ? params.TimeBegin : null; this.MNPId = 'MNPId' in params ? params.MNPId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; this.DataType = 'DataType' in params ? params.DataType : null; this.TimeEnd = 'TimeEnd' in params ? params.TimeEnd : null; this.Platform = 'Platform' in params ? params.Platform : null; } } /** * Response for querying the mini program subscription message template library list * @class */ class DescribeSubscribeMessageTemplateLibraryListResp extends AbstractModel { constructor(){ super(); /** * <p>Total count.</p> * @type {number || null} */ this.TotalCount = null; /** * <p>Subscription message template library list.</p> * @type {Array.<DescribeSubscribeMessageTemplateLibraryInfoResp> || 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 DescribeSubscribeMessageTemplateLibraryInfoResp(); obj.deserialize(params.DataList[z]); this.DataList.push(obj); } } } } /** * Age rating information. * @class */ class AgeRatingItem extends AbstractModel { constructor(){ super(); /** * <p>Age rating standard.</p><p>Valid values:</p><ul><li>apple: Apple</li><li>iarc: Android.</li></ul> * @type {string || null} */ this.StandardId = null; /** * <p>Applicable age for age rating.</p> * @type {number || null} */ this.AgeRating = null; /** * <p>Age rating label.</p> * @type {string || null} */ this.Label = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.StandardId = 'StandardId' in params ? params.StandardId : null; this.AgeRating = 'AgeRating' in params ? params.AgeRating : null; this.Label = 'Label' in params ? params.Label : null; } } /** * Response parameters for querying domain information. * @class */ class DescribeMNGDomainInfoResp extends AbstractModel { constructor(){ super(); /** * <p>Multiple domains concatenated with semicolons (;).</p> * @type {string || null} */ this.DomainUrl = null; /** * <p>Domain type. Valid values: 1: Requests domain; 2: web-view domain.</p> * @type {number || null} */ this.DomainType = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.DomainUrl = 'DomainUrl' in params ? params.DomainUrl : null; this.DomainType = 'DomainType' in params ? params.DomainType : 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; } } /** * DescribeMNPRetentionData response structure. * @class */ class DescribeMNPRetentionDataResponse extends AbstractModel { constructor(){ super(); /** * Data display. Note: This field may return null, indicating that no valid values can be obtained. * @type {Array.<RetentionData> || 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 RetentionData(); obj.deserialize(params.Data[z]); this.Data.push(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; } } /** * DescribeMNPSubscribeMessageTemplate response structure. * @class */ class DescribeMNPSubscribeMessageTemplateResponse extends AbstractModel { constructor(){ super(); /** * <p>Response data.</p> Note: This field may return null, indicating that no valid values can be obtained. * @type {DescribeMNPSubscribeMessageTemplateDetailResp || 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 DescribeMNPSubscribeMessageTemplateDetailResp(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * ModifyTeam response structure. * @class */ class ModifyTeamResponse 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; } } /** * DescribeMNPSensitiveAPIPermissionApproval request structure. * @class */ class DescribeMNPSensitiveAPIPermissionApprovalRequest extends AbstractModel { constructor(){ super(); /** * Approval 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; } } /** * 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; } } /** * DescribeMNGAppSecret request structure. * @class */ class DescribeMNGAppSecretRequest extends AbstractModel { constructor(){ super(); /** * <p>Mini program appid.</p> * @type {string || null} */ this.MNPId = null; /** * <p>Platform ID.</p> * @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; } } /** * DescribeMNPSensitiveAPIPermissionApproval response structure. * @class */ class DescribeMNPSensitiveAPIPermissionApprovalResponse extends AbstractModel { constructor(){ super(); /** * Response data. Note: This field may return null, indicating that no valid values can be obtained. * @type {DescribeMNPSensitiveAPIPermissionApprovalData || 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 DescribeMNPSensitiveAPIPermissionApprovalData(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * UnbindMNPPaymentMerchant response structure. * @class */ class UnbindMNPPaymentMerchantResponse extends AbstractModel { constructor(){ super(); /** * <p>Response parameters structure for the mini program team actively unbinding the merchant account.</p> * @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; } } /** * ReleaseMNGVersion response structure. * @class */ class ReleaseMNGVersionResponse extends AbstractModel { constructor(){ super(); /** * <p>Response data.</p> * @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; } } /** * DescribeMNGPaymentReportDetail request structure. * @class */ class DescribeMNGPaymentReportDetailRequest extends AbstractModel { constructor(){ super(); /** * Start time. * @type {number || null} */ this.TimeBegin = null; /** * Mini program appid. * @type {string || null} */ this.MNPId = null; /** * Tenant ID. * @type {string || null} */ this.PlatformId = null; /** * Data type. Valid values: 0: Non-production data; 1: Production data. * @type {number || null} */ this.DataType = null; /** * End time. * @type {number || null} */ this.TimeEnd = null; /** * Operating system. Valid values: 0: All; 2: Android; 3: iOS. * @type {number || null} */ this.Platform = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.TimeBegin = 'TimeBegin' in params ? params.TimeBegin : null; this.MNPId = 'MNPId' in params ? params.MNPId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; this.DataType = 'DataType' in params ? params.DataType : null; this.TimeEnd = 'TimeEnd' in params ? params.TimeEnd : null; this.Platform = 'Platform' in params ? params.Platform : null; } } /** * Superapp data overview. * @class */ class APPOverview extends AbstractModel { constructor(){ super(); /** * No description available. Note: This field may return null, indicating that no valid values can be obtained. * @type {APPOverviewData || null} */ this.BaseData = null; /** * Superapp overview summary data. Note: This field may return null, indicating that no valid values can be obtained. * @type {APPOverviewData || null} */ this.Overview = null; /** * No description available. Note: This field may return null, indicating that no valid values can be obtained. * @type {APPOverviewData || null} */ this.PageData = null; /** * No description available. Note: This field may return null, indicating that no valid values can be obtained. * @type {APPOverviewData || null} */ this.Payment = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.BaseData) { let obj = new APPOverviewData(); obj.deserialize(params.BaseData) this.BaseData = obj; } if (params.Overview) { let obj = new APPOverviewData(); obj.deserialize(params.Overview) this.Overview = obj; } if (params.PageData) { let obj = new APPOverviewData(); obj.deserialize(params.PageData) this.PageData = obj; } if (params.Payment) { let obj = new APPOverviewData(); obj.deserialize(params.Payment) this.Payment = obj; } } } /** * Response for querying the mini game list. * @class */ class DescribeMNGListResp extends AbstractModel { constructor(){ super(); /** * <p>Total number of entries.</p> * @type {number || null} */ this.TotalCount = null; /** * <p>List data.</p> * @type {Array.<DescribeMNGListData> || 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 DescribeMNGListData(); obj.deserialize(params.DataList[z]); this.DataList.push(obj); } } } } /** * DeleteApplication response structure. * @class */ class DeleteApplicationResponse 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 for resetting a mini program secret key * @class */ class ResetMNPAppSecretResp extends AbstractModel { constructor(){ super(); /** * <p>Mini program secret key.</p> * @type {string || null} */ this.SecretKey = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.SecretKey = 'SecretKey' in params ? params.SecretKey : null; } } /** * 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; } } /** * Subpackage information. * @class */ class MNPVersionSubPackageInfo extends AbstractModel { constructor(){ super(); /** * <p>Package name.</p> * @type {string || null} */ this.Name = null; /** * <p>Package size.</p> * @type {number || null} */ this.Size = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.Name = 'Name' in params ? params.Name : null; this.Size = 'Size' in params ? params.Size : null; } } /** * CreateMNPVersion request structure. * @class */ class CreateMNPVersionRequest extends AbstractModel { constructor(){ super(); /** * <p>Mini-program appid.</p> * @type {string || null} */ this.MNPId = null; /** * <p>Version number.</p> * @type {string || null} */ this.MNPVersion = null; /** * <p>URL of the mini program file exported from the IDE and uploaded to the file server.<p> * @type {string || null} */ this.FileUrl = null; /** * <p>Platform ID.</p> * @type {string || null} */ this.PlatformId = null; /** * <p>Version description.</p> * @type {string || null} */ this.MNPVersionIntro = null; /** * <p>Version type. Valid values: 1: Debug version; 2: Development version. Default value: 2.</p> * @type {number || null} */ this.VersionType = null; /** * <p>Compilation conditions.</p> * @type {string || null} */ this.CompileCondition = null; /** * <p>Compilation configuration.</p> * @type {string || null} */ this.CompileConfig = null; /** * <p>CICD ID</p> * @type {string || null} */ this.PipelineId = null; /** * <p>Internal file URL.</p> * @type {string || null} */ this.FileInnerUrl = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.MNPId = 'MNPId' in params ? params.MNPId : null; this.MNPVersion = 'MNPVersion' in params ? params.MNPVersion : null; this.FileUrl = 'FileUrl' in params ? params.FileUrl : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; this.MNPVersionIntro = 'MNPVersionIntro' in params ? params.MNPVersionIntro : null; this.VersionType = 'VersionType' in params ? params.VersionType : null; this.CompileCondition = 'CompileCondition' in params ? params.CompileCondition : null; this.CompileConfig = 'CompileConfig' in params ? params.CompileConfig : null; this.PipelineId = 'PipelineId' in params ? params.PipelineId : null; this.FileInnerUrl = 'FileInnerUrl' in params ? params.FileInnerUrl : null; } } /** * DescribeMNPAccessAnalysisOverview request structure. * @class */ class DescribeMNPAccessAnalysisOverviewRequest extends AbstractModel { constructor(){ super(); /** * Start time: 20251123. * @type {number || null} */ this.TimeBegin = null; /** * Mini program appid. * @type {string || null} */ this.MNPId = null; /** * Tenant ID. * @type {string || null} */ this.PlatformId = null; /** * End time: 20251123. * @type {number || null} */ this.TimeEnd = null; /** * Data type. Valid values: 0: Non-production data; 1: Production data. * @type {number || null} */ this.ProdData = null; /** * Operating system. Valid values: 0: All; 2: Android; 3: iOS. * @type {number || null} */ this.Platform = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.TimeBegin = 'TimeBegin' in params ? params.TimeBegin : null; this.MNPId = 'MNPId' in params ? params.MNPId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; this.TimeEnd = 'TimeEnd' in params ? params.TimeEnd : null; this.ProdData = 'ProdData' in params ? params.ProdData : null; this.Platform = 'Platform' in params ? params.Platform : null; } } /** * DescribeApplicationConfigInfos response structure. * @class */ class DescribeApplicationConfigInfosResponse extends AbstractModel { constructor(){ super(); /** * Response data. * @type {DescribeApplicationConfigInfo || 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 DescribeApplicationConfigInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * DescribeGlobalOverviewReportDetail response structure. * @class */ class DescribeGlobalOverviewReportDetailResponse extends AbstractModel { constructor(){ super(); /** * Data display. Note: This field may return null, indicating that no valid values can be obtained. * @type {Array.<ReportDataResult> || 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 ReportDataResult(); obj.deserialize(params.Data[z]); this.Data.push(obj); } } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * DescribeMNPMAUDataDetail request structure. * @class */ class DescribeMNPMAUDataDetailRequest extends AbstractModel { constructor(){ super(); /** * Data type. Valid values: 0: Non-production data; 1: Production data. * @type {number || null} */ this.DataType = null; /** * Tenant ID. * @type {string || null} */ this.PlatformId = null; /** * Superapp ID. * @type {string || null} */ this.ApplicationId = null; /** * Mini program appid. If not empty, results are filtered by mini program appid. * @type {string || null} */ this.MNPId = null; /** * Mini program team ID. Pass -1 to leave unspecified. * @type {number || null} */ this.MNPTeamId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.DataType = 'DataType' in params ? params.DataType : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null; this.MNPId = 'MNPId' in params ? params.MNPId : null; this.MNPTeamId = 'MNPTeamId' in params ? params.MNPTeamId : null; } } /** * Queries mini program payment approval status. * @class */ class ApplyPaymentOpenDetailRes extends AbstractModel { constructor(){ super(); /** * <p>Approval status. Valid values: 0: In progress; 10: Approved; 20: Rejected.</p> * @type {number || null} */ this.ApprovalStatus = null; /** * <p>Application time.</p><p>Unit: Milliseconds.</p> * @type {number || null} */ this.ApplyTime = null; /** * <p>Approval time.</p><p>Unit: milliseconds.</p> * @type {number || null} */ this.ApprovalTime = null; /** * <p>Approval note.</p> * @type {string || null} */ this.ApprovalNote = null; /** * <p>Specifies whether to display the approval records. Valid values: 0: No; 1: Yes.</p> * @type {number || null} */ this.ApprovalShow = null; /** * <p>Specifies whether the activation of mini program payment can be requested again. Valid values: 0: No; 1: Yes.</p> * @type {number || null} */ this.ApplyShow = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ApprovalStatus = 'ApprovalStatus' in params ? params.ApprovalStatus : null; this.ApplyTime = 'ApplyTime' in params ? params.ApplyTime : null; this.ApprovalTime = 'ApprovalTime' in params ? params.ApprovalTime : null; this.ApprovalNote = 'ApprovalNote' in params ? params.ApprovalNote : null; this.ApprovalShow = 'ApprovalShow' in params ? params.ApprovalShow : null; this.ApplyShow = 'ApplyShow' in params ? params.ApplyShow : null; } } /** * ApproveMNPPaymentEnable request structure. * @class */ class ApproveMNPPaymentEnableRequest extends AbstractModel { constructor(){ super(); /** * <p>Platform ID.</p> * @type {string || null} */ this.PlatformId = null; /** * <p>Superapp ID.</p> * @type {string || null} */ this.ApplicationId = null; /** * <p>Approval number.</p> * @type {string || null} */ this.ApprovalNo = null; /** * <p>Approval status. Valid values: 10: Approved; 20: Rejected.</p> * @type {number || null} */ this.ApprovalType = null; /** * <p>Approval note.</p> * @type {string || null} */ this.ApprovalNote = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null; this.ApprovalNo = 'ApprovalNo' in params ? params.ApprovalNo : null; this.ApprovalType = 'ApprovalType' in params ? params.ApprovalType : null; this.ApprovalNote = 'ApprovalNote' in params ? params.ApprovalNote : null; } } /** * CreateApplicationConfig request structure. * @class */ class CreateApplicationConfigRequest extends AbstractModel { constructor(){ super(); /** * Superapp ID. * @type {string || null} */ this.ApplicationId = null; /** * Platform ID. * @type {string || null} */ this.PlatformId = null; /** * Superapp type. Valid values: 1: Test; 2: Production. * @type {number || null} */ this.ApplicationType = null; /** * Superapp operating system type. Valid values: 2: Android; 3: iOS. * @type {number || null} */ this.ApplicationPlatformType = null; /** * Package name. Corresponds to the package name on Android and the bundle ID on iOS. * @type {string || null} */ this.AppKey = null; /** * Superapp URL. * @type {string || null} */ this.AppURL = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; this.ApplicationType = 'ApplicationType' in params ? params.ApplicationType : null; this.ApplicationPlatformType = 'ApplicationPlatformType' in params ? params.ApplicationPlatformType : null; this.AppKey = 'AppKey' in params ? params.AppKey : null; this.AppURL = 'AppURL' in params ? params.AppURL : null; } } /** * DescribeMNPAdvertisingDetail request structure. * @class */ class DescribeMNPAdvertisingDetailRequest extends AbstractModel { constructor(){ super(); /** * Start time in YYYYMMDD format. * @type {string || null} */ this.TimeBegin = null; /** * Mini program appid. * @type {string || null} */ this.MNPId = null; /** * Tenant ID. * @type {string || null} */ this.PlatformId = null; /** * End time in YYYYMMDD format. * @type {string || null} */ this.TimeEnd = null; /** * Operating system. Valid values: 0: All; 2: Android; 3: iOS. * @type {number || null} */ this.Platform = null; /** * Ad unit type. Valid values: 1: Banner; 2: Rewarded. * @type {string || null} */ this.AdUnitType = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.TimeBegin = 'TimeBegin' in params ? params.TimeBegin : null; this.MNPId = 'MNPId' in params ? params.MNPId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; this.TimeEnd = 'TimeEnd' in params ? params.TimeEnd : null; this.Platform = 'Platform' in params ? params.Platform : null; this.AdUnitType = 'AdUnitType' in params ? params.AdUnitType : null; } } /** * Mini program payment detailed data. * @class */ class PaymentDetail extends AbstractModel { constructor(){ super(); /** * Date in YYYYMMDD format. * @type {string || null} */ this.DataTime = null; /** * Mini program count with orders. * @type {number || null} */ this.OrderMNPNum = null; /** * Total orders. * @type {number || null} */ this.OrderNum = null; /** * Paid orders. * @type {number || null} */ this.OrderPaidNum = null; /** * Number of refund orders. * @type {number || null} */ this.OrderRefundNum = null; /** * Total unpaid orders. * @type {number || null} */ this.OrderUnpaidNum = null; /** * Number of ordering users (by OpenID). * @type {number || null} */ this.OrderUserNum = null; /** * Amount paid. * @type {string || null} */ this.PaidAmount = null; /** * Amount refunded. * @type {string || null} */ this.RefundAmount = null; /** * Total amount. * @type {string || null} */ this.TotalAmount = null; /** * Unpaid amount. * @type {string || null} */ this.UnpaidAmount = null; /** * Data update timestamp. * @type {number || null} */ this.UpdateTime = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.DataTime = 'DataTime' in params ? params.DataTime : null; this.OrderMNPNum = 'OrderMNPNum' in params ? params.OrderMNPNum : null; this.OrderNum = 'OrderNum' in params ? params.OrderNum : null; this.OrderPaidNum = 'OrderPaidNum' in params ? params.OrderPaidNum : null; this.OrderRefundNum = 'OrderRefundNum' in params ? params.OrderRefundNum : null; this.OrderUnpaidNum = 'OrderUnpaidNum' in params ? params.OrderUnpaidNum : null; this.OrderUserNum = 'OrderUserNum' in params ? params.OrderUserNum : null; this.PaidAmount = 'PaidAmount' in params ? params.PaidAmount : null; this.RefundAmount = 'RefundAmount' in params ? params.RefundAmount : null; this.TotalAmount = 'TotalAmount' in params ? params.TotalAmount : null; this.UnpaidAmount = 'UnpaidAmount' in params ? params.UnpaidAmount : null; this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null; } } /** * Data analysis API response value object. key is the data time, and number is the data value. * @class */ class AnalysisData extends AbstractModel { constructor(){ super(); /** * <p>Data time.</p> * @type {string || null} */ this.DataTime = null; /** * <p>Data value.</p> * @type {string || null} */ this.Number = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.DataTime = 'DataTime' in params ? params.DataTime : null; this.Number = 'Number' in params ? params.Number : null; } } /** * CreateMNG response structure. * @class */ class CreateMNGResponse extends AbstractModel { constructor(){ super(); /** * <p>The returned mini game appid.</p> * @type {ResourceIdStringInfo || 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 ResourceIdStringInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * Response parameters for querying domain information. * @class */ class DescribeDomainInfoParam extends AbstractModel { constructor(){ super(); /** * Multiple domains concatenated with semicolons (;). * @type {string || null} */ this.DomainUrl = null; /** * Domain type. Valid values: 1 Requests domain; 2 web-view domain. * @type {number || null} */ this.DomainType = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.DomainUrl = 'DomainUrl' in params ? params.DomainUrl : null; this.DomainType = 'DomainType' in params ? params.DomainType : null; } } /** * Mini program approval list information. * @class */ class DescribeMNPApprovalListData extends AbstractModel { constructor(){ super(); /** * <p>Approval number.</p> * @type {string || null} */ this.ApprovalNo = null; /** * <p>Superapp ID.</p> * @type {string || null} */ this.ApplicationId = null; /** * <p>Approval status. Valid values: 0: Pending; 1: Processing; 2: Rejected; 3: Approved; 4: Cancelled.</p> * @type {number || null} */ this.ApprovalStatus = null; /** * <p>Mini program appid.</p> * @type {string || null} */ this.MNPId = null; /** * <p>Mini program version.</p> * @type {string || null} */ this.MNPVersion = null; /** * <p>Mini program version ID.</p> * @type {number || null} */ this.MNPVersionId = null; /** * <p>Applicant.</p> * @type {string || null} */ this.ApplyUser = null; /** * <p>Application time.</p> * @type {string || null} */ this.ApplyTime = null; /** * <p>Mini program name.</p> * @type {string || null} */ this.MNPName = null; /** * <p>Mini program icon.</p> * @type {string || null} */ this.MNPIcon = null; /** * <p>Superapp name.</p> * @type {string || null} */ this.ApplicationName = null; /** * <p>Superapp icon.</p> * @type {string || null} */ this.ApplicationLogo = null; /** * <p>Team ID.</p> * @type {string || null} */ this.TeamId = null; /** * <p>Team name.</p> * @type {string || null} */ this.TeamName = null; /** * <p>Mini program approval QR code URL.</p> * @type {string || null} */ this.MNPQrCodeUrl = null; /** * <p>Mini program category.</p> * @type {string || null} */ this.MNPType = null; /** * <p>Approver.</p> * @type {string || null} */ this.ApprovalUser = null; /** * <p>Approval time.</p> * @type {string || null} */ this.ApprovalTime = null; /** * <p>Approval note.</p> * @type {string || null} */ this.ApprovalNote = null; /** * <p>Age rating information.</p> * @type {Array.<AgeRatingItem> || null} */ this.AgeRatings = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ApprovalNo = 'ApprovalNo' in params ? params.ApprovalNo : null; this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null; this.ApprovalStatus = 'ApprovalStatus' in params ? params.ApprovalStatus : null; this.MNPId = 'MNPId' in params ? params.MNPId : null; this.MNPVersion = 'MNPVersion' in params ? params.MNPVersion : null; this.MNPVersionId = 'MNPVersionId' in params ? params.MNPVersionId : null; this.ApplyUser = 'ApplyUser' in params ? params.ApplyUser : null; this.ApplyTime = 'ApplyTime' in params ? params.ApplyTime : null; this.MNPName = 'MNPName' in params ? params.MNPName : null; this.MNPIcon = 'MNPIcon' in params ? params.MNPIcon : null; this.ApplicationName = 'ApplicationName' in params ? params.ApplicationName : null; this.ApplicationLogo = 'ApplicationLogo' in params ? params.ApplicationLogo : null; this.TeamId = 'TeamId' in params ? params.TeamId : null; this.TeamName = 'TeamName' in params ? params.TeamName : null; this.MNPQrCodeUrl = 'MNPQrCodeUrl' in params ? params.MNPQrCodeUrl : null; this.MNPType = 'MNPType' in params ? params.MNPType : 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; if (params.AgeRatings) { this.AgeRatings = new Array(); for (let z in params.AgeRatings) { let obj = new AgeRatingItem(); obj.deserialize(params.AgeRatings[z]); this.AgeRatings.push(obj); } } } } /** * DescribeApplicationMNPList response structure. * @class */ class DescribeApplicationMNPListResponse extends AbstractModel { constructor(){ super(); /** * Response data. * @type {DescribeApplicationMNPListResp || 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 DescribeApplicationMNPListResp(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * Mini game category definition. * @class */ class MNGTypeDefine extends AbstractModel { constructor(){ super(); /** * <p>Mini game category name.</p> * @type {string || null} */ this.TypeName = null; /** * <p>Mini game category.</p> * @type {Array.<string> || null} */ this.TypeValue = null; /** * <p>Category ID.</p> * @type {number || null} */ this.TypeId = null; /** * <p>Creation time.</p> * @type {number || null}