From 477d46781fea7288dd62a2a7e6fdf9287d9bdc56 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Thu, 10 Oct 2024 02:02:26 +0000 Subject: [PATCH] Update API MassPush: update param PushTask. --- push-20160801/package.json | 4 ++-- push-20160801/src/client.ts | 40 +++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/push-20160801/package.json b/push-20160801/package.json index 331deea3..fd6b425c 100644 --- a/push-20160801/package.json +++ b/push-20160801/package.json @@ -1,6 +1,6 @@ { "name": "@alicloud/push20160801", - "version": "2.0.12", + "version": "2.0.13", "description": "", "main": "dist/client.js", "scripts": { @@ -21,7 +21,7 @@ "dependencies": { "@alicloud/tea-typescript": "^1.7.1", "@alicloud/tea-util": "^1.4.9", - "@alicloud/openapi-client": "^0.4.11", + "@alicloud/openapi-client": "^0.4.12", "@alicloud/openapi-util": "^0.3.2", "@alicloud/endpoint-util": "^0.0.1" }, diff --git a/push-20160801/src/client.ts b/push-20160801/src/client.ts index 80926e7f..f5945fd0 100644 --- a/push-20160801/src/client.ts +++ b/push-20160801/src/client.ts @@ -1268,8 +1268,12 @@ export class PushRequest extends $tea.Model { expireTime?: string; harmonyAction?: string; harmonyActionType?: string; + harmonyBadgeAddNum?: number; + harmonyBadgeSetNum?: number; harmonyCategory?: string; harmonyExtParameters?: string; + harmonyExtensionExtraData?: string; + harmonyExtensionPush?: boolean; harmonyImageUrl?: string; harmonyInboxContent?: string; harmonyNotificationSlotType?: string; @@ -1480,8 +1484,12 @@ export class PushRequest extends $tea.Model { expireTime: 'ExpireTime', harmonyAction: 'HarmonyAction', harmonyActionType: 'HarmonyActionType', + harmonyBadgeAddNum: 'HarmonyBadgeAddNum', + harmonyBadgeSetNum: 'HarmonyBadgeSetNum', harmonyCategory: 'HarmonyCategory', harmonyExtParameters: 'HarmonyExtParameters', + harmonyExtensionExtraData: 'HarmonyExtensionExtraData', + harmonyExtensionPush: 'HarmonyExtensionPush', harmonyImageUrl: 'HarmonyImageUrl', harmonyInboxContent: 'HarmonyInboxContent', harmonyNotificationSlotType: 'HarmonyNotificationSlotType', @@ -1576,8 +1584,12 @@ export class PushRequest extends $tea.Model { expireTime: 'string', harmonyAction: 'string', harmonyActionType: 'string', + harmonyBadgeAddNum: 'number', + harmonyBadgeSetNum: 'number', harmonyCategory: 'string', harmonyExtParameters: 'string', + harmonyExtensionExtraData: 'string', + harmonyExtensionPush: 'boolean', harmonyImageUrl: 'string', harmonyInboxContent: 'string', harmonyNotificationSlotType: 'string', @@ -4023,8 +4035,12 @@ export class MassPushRequestPushTask extends $tea.Model { expireTime?: string; harmonyAction?: string; harmonyActionType?: string; + harmonyBadgeAddNum?: number; + harmonyBadgeSetNum?: number; harmonyCategory?: string; harmonyExtParameters?: string; + harmonyExtensionExtraData?: string; + harmonyExtensionPush?: boolean; harmonyImageUrl?: string; harmonyInboxContent?: string; harmonyNotificationSlotType?: string; @@ -4217,8 +4233,12 @@ export class MassPushRequestPushTask extends $tea.Model { expireTime: 'ExpireTime', harmonyAction: 'HarmonyAction', harmonyActionType: 'HarmonyActionType', + harmonyBadgeAddNum: 'HarmonyBadgeAddNum', + harmonyBadgeSetNum: 'HarmonyBadgeSetNum', harmonyCategory: 'HarmonyCategory', harmonyExtParameters: 'HarmonyExtParameters', + harmonyExtensionExtraData: 'HarmonyExtensionExtraData', + harmonyExtensionPush: 'HarmonyExtensionPush', harmonyImageUrl: 'HarmonyImageUrl', harmonyInboxContent: 'HarmonyInboxContent', harmonyNotificationSlotType: 'HarmonyNotificationSlotType', @@ -4307,8 +4327,12 @@ export class MassPushRequestPushTask extends $tea.Model { expireTime: 'string', harmonyAction: 'string', harmonyActionType: 'string', + harmonyBadgeAddNum: 'number', + harmonyBadgeSetNum: 'number', harmonyCategory: 'string', harmonyExtParameters: 'string', + harmonyExtensionExtraData: 'string', + harmonyExtensionPush: 'boolean', harmonyImageUrl: 'string', harmonyInboxContent: 'string', harmonyNotificationSlotType: 'string', @@ -5819,6 +5843,14 @@ export default class Client extends OpenApi { query["HarmonyActionType"] = request.harmonyActionType; } + if (!Util.isUnset(request.harmonyBadgeAddNum)) { + query["HarmonyBadgeAddNum"] = request.harmonyBadgeAddNum; + } + + if (!Util.isUnset(request.harmonyBadgeSetNum)) { + query["HarmonyBadgeSetNum"] = request.harmonyBadgeSetNum; + } + if (!Util.isUnset(request.harmonyCategory)) { query["HarmonyCategory"] = request.harmonyCategory; } @@ -5827,6 +5859,14 @@ export default class Client extends OpenApi { query["HarmonyExtParameters"] = request.harmonyExtParameters; } + if (!Util.isUnset(request.harmonyExtensionExtraData)) { + query["HarmonyExtensionExtraData"] = request.harmonyExtensionExtraData; + } + + if (!Util.isUnset(request.harmonyExtensionPush)) { + query["HarmonyExtensionPush"] = request.harmonyExtensionPush; + } + if (!Util.isUnset(request.harmonyImageUrl)) { query["HarmonyImageUrl"] = request.harmonyImageUrl; }