@alicloud/aliding20230426 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +5 -0
- package/dist/client.js +19 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +27 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -56,11 +56,15 @@ export class AddAttendeeRequest extends $tea.Model {
|
|
|
56
56
|
attendeesToAdd?: AddAttendeeRequestAttendeesToAdd[];
|
|
57
57
|
calendarId?: string;
|
|
58
58
|
eventId?: string;
|
|
59
|
+
chatNotification?: boolean;
|
|
60
|
+
pushNotification?: boolean;
|
|
59
61
|
static names(): { [key: string]: string } {
|
|
60
62
|
return {
|
|
61
63
|
attendeesToAdd: 'AttendeesToAdd',
|
|
62
64
|
calendarId: 'CalendarId',
|
|
63
65
|
eventId: 'EventId',
|
|
66
|
+
chatNotification: 'chatNotification',
|
|
67
|
+
pushNotification: 'pushNotification',
|
|
64
68
|
};
|
|
65
69
|
}
|
|
66
70
|
|
|
@@ -69,6 +73,8 @@ export class AddAttendeeRequest extends $tea.Model {
|
|
|
69
73
|
attendeesToAdd: { 'type': 'array', 'itemType': AddAttendeeRequestAttendeesToAdd },
|
|
70
74
|
calendarId: 'string',
|
|
71
75
|
eventId: 'string',
|
|
76
|
+
chatNotification: 'boolean',
|
|
77
|
+
pushNotification: 'boolean',
|
|
72
78
|
};
|
|
73
79
|
}
|
|
74
80
|
|
|
@@ -81,11 +87,15 @@ export class AddAttendeeShrinkRequest extends $tea.Model {
|
|
|
81
87
|
attendeesToAddShrink?: string;
|
|
82
88
|
calendarId?: string;
|
|
83
89
|
eventId?: string;
|
|
90
|
+
chatNotification?: boolean;
|
|
91
|
+
pushNotification?: boolean;
|
|
84
92
|
static names(): { [key: string]: string } {
|
|
85
93
|
return {
|
|
86
94
|
attendeesToAddShrink: 'AttendeesToAdd',
|
|
87
95
|
calendarId: 'CalendarId',
|
|
88
96
|
eventId: 'EventId',
|
|
97
|
+
chatNotification: 'chatNotification',
|
|
98
|
+
pushNotification: 'pushNotification',
|
|
89
99
|
};
|
|
90
100
|
}
|
|
91
101
|
|
|
@@ -94,6 +104,8 @@ export class AddAttendeeShrinkRequest extends $tea.Model {
|
|
|
94
104
|
attendeesToAddShrink: 'string',
|
|
95
105
|
calendarId: 'string',
|
|
96
106
|
eventId: 'string',
|
|
107
|
+
chatNotification: 'boolean',
|
|
108
|
+
pushNotification: 'boolean',
|
|
97
109
|
};
|
|
98
110
|
}
|
|
99
111
|
|
|
@@ -4052,10 +4064,12 @@ export class DeleteEventShrinkHeaders extends $tea.Model {
|
|
|
4052
4064
|
export class DeleteEventRequest extends $tea.Model {
|
|
4053
4065
|
calendarId?: string;
|
|
4054
4066
|
eventId?: string;
|
|
4067
|
+
pushNotification?: boolean;
|
|
4055
4068
|
static names(): { [key: string]: string } {
|
|
4056
4069
|
return {
|
|
4057
4070
|
calendarId: 'CalendarId',
|
|
4058
4071
|
eventId: 'EventId',
|
|
4072
|
+
pushNotification: 'pushNotification',
|
|
4059
4073
|
};
|
|
4060
4074
|
}
|
|
4061
4075
|
|
|
@@ -4063,6 +4077,7 @@ export class DeleteEventRequest extends $tea.Model {
|
|
|
4063
4077
|
return {
|
|
4064
4078
|
calendarId: 'string',
|
|
4065
4079
|
eventId: 'string',
|
|
4080
|
+
pushNotification: 'boolean',
|
|
4066
4081
|
};
|
|
4067
4082
|
}
|
|
4068
4083
|
|
|
@@ -25934,6 +25949,14 @@ export default class Client extends OpenApi {
|
|
|
25934
25949
|
body["EventId"] = request.eventId;
|
|
25935
25950
|
}
|
|
25936
25951
|
|
|
25952
|
+
if (!Util.isUnset(request.chatNotification)) {
|
|
25953
|
+
body["chatNotification"] = request.chatNotification;
|
|
25954
|
+
}
|
|
25955
|
+
|
|
25956
|
+
if (!Util.isUnset(request.pushNotification)) {
|
|
25957
|
+
body["pushNotification"] = request.pushNotification;
|
|
25958
|
+
}
|
|
25959
|
+
|
|
25937
25960
|
let realHeaders : {[key: string ]: string} = { };
|
|
25938
25961
|
if (!Util.isUnset(headers.commonHeaders)) {
|
|
25939
25962
|
realHeaders = headers.commonHeaders;
|
|
@@ -27770,6 +27793,10 @@ export default class Client extends OpenApi {
|
|
|
27770
27793
|
body["EventId"] = request.eventId;
|
|
27771
27794
|
}
|
|
27772
27795
|
|
|
27796
|
+
if (!Util.isUnset(request.pushNotification)) {
|
|
27797
|
+
body["pushNotification"] = request.pushNotification;
|
|
27798
|
+
}
|
|
27799
|
+
|
|
27773
27800
|
let realHeaders : {[key: string ]: string} = { };
|
|
27774
27801
|
if (!Util.isUnset(headers.commonHeaders)) {
|
|
27775
27802
|
realHeaders = headers.commonHeaders;
|