Skip to content

Commit

Permalink
Update API MassPush: update param PushTask.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Oct 10, 2024
1 parent 984c9c7 commit 477d467
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 2 deletions.
4 changes: 2 additions & 2 deletions push-20160801/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alicloud/push20160801",
"version": "2.0.12",
"version": "2.0.13",
"description": "",
"main": "dist/client.js",
"scripts": {
Expand All @@ -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"
},
Expand Down
40 changes: 40 additions & 0 deletions push-20160801/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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;
}
Expand All @@ -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;
}
Expand Down

0 comments on commit 477d467

Please sign in to comment.