gs2 1.3.240 → 1.3.242
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/matchmaking/model/Namespace.d.ts +8 -0
- package/matchmaking/model/Namespace.js +28 -0
- package/matchmaking/model/Namespace.js.map +1 -1
- package/matchmaking/model/Namespace.ts +28 -0
- package/matchmaking/model/Player.d.ts +4 -0
- package/matchmaking/model/Player.js +15 -1
- package/matchmaking/model/Player.js.map +1 -1
- package/matchmaking/model/Player.ts +15 -1
- package/matchmaking/request/CreateNamespaceRequest.d.ts +8 -0
- package/matchmaking/request/CreateNamespaceRequest.js +28 -0
- package/matchmaking/request/CreateNamespaceRequest.js.map +1 -1
- package/matchmaking/request/CreateNamespaceRequest.ts +28 -0
- package/matchmaking/request/PingByUserIdRequest.d.ts +37 -0
- package/matchmaking/request/PingByUserIdRequest.js +123 -0
- package/matchmaking/request/PingByUserIdRequest.js.map +1 -0
- package/matchmaking/request/PingByUserIdRequest.ts +133 -0
- package/matchmaking/request/PingRequest.d.ts +33 -0
- package/matchmaking/request/PingRequest.js +109 -0
- package/matchmaking/request/PingRequest.js.map +1 -0
- package/matchmaking/request/PingRequest.ts +119 -0
- package/matchmaking/request/UpdateNamespaceRequest.d.ts +8 -0
- package/matchmaking/request/UpdateNamespaceRequest.js +28 -0
- package/matchmaking/request/UpdateNamespaceRequest.js.map +1 -1
- package/matchmaking/request/UpdateNamespaceRequest.ts +28 -0
- package/matchmaking/request/index.d.ts +3 -1
- package/matchmaking/request/index.js +6 -1
- package/matchmaking/request/index.js.map +1 -1
- package/matchmaking/request/index.ts +4 -0
- package/matchmaking/rest.d.ts +2 -0
- package/matchmaking/rest.js +103 -32
- package/matchmaking/rest.js.map +1 -1
- package/matchmaking/rest.ts +79 -0
- package/matchmaking/result/PingByUserIdResult.d.ts +14 -0
- package/matchmaking/result/PingByUserIdResult.js +48 -0
- package/matchmaking/result/PingByUserIdResult.js.map +1 -0
- package/matchmaking/result/PingByUserIdResult.ts +47 -0
- package/matchmaking/result/PingResult.d.ts +14 -0
- package/matchmaking/result/PingResult.js +48 -0
- package/matchmaking/result/PingResult.js.map +1 -0
- package/matchmaking/result/PingResult.ts +47 -0
- package/matchmaking/result/index.d.ts +3 -1
- package/matchmaking/result/index.js +6 -1
- package/matchmaking/result/index.js.map +1 -1
- package/matchmaking/result/index.ts +4 -0
- package/package.json +1 -1
- package/schedule/model/Event.d.ts +34 -8
- package/schedule/model/Event.js +67 -29
- package/schedule/model/Event.js.map +1 -1
- package/schedule/model/Event.ts +65 -29
- package/schedule/model/EventMaster.d.ts +46 -20
- package/schedule/model/EventMaster.js +109 -71
- package/schedule/model/EventMaster.js.map +1 -1
- package/schedule/model/EventMaster.ts +107 -71
- package/schedule/model/RepeatSetting.d.ts +37 -0
- package/schedule/model/RepeatSetting.js +132 -0
- package/schedule/model/RepeatSetting.js.map +1 -0
- package/schedule/model/RepeatSetting.ts +130 -0
- package/schedule/model/index.d.ts +3 -2
- package/schedule/model/index.js +5 -3
- package/schedule/model/index.js.map +1 -1
- package/schedule/model/index.ts +4 -2
- package/schedule/request/CreateEventMasterRequest.d.ts +26 -0
- package/schedule/request/CreateEventMasterRequest.js +39 -1
- package/schedule/request/CreateEventMasterRequest.js.map +1 -1
- package/schedule/request/CreateEventMasterRequest.ts +36 -1
- package/schedule/request/UpdateEventMasterRequest.d.ts +26 -0
- package/schedule/request/UpdateEventMasterRequest.js +39 -1
- package/schedule/request/UpdateEventMasterRequest.js.map +1 -1
- package/schedule/request/UpdateEventMasterRequest.ts +36 -1
- package/schedule/rest.js +4 -2
- package/schedule/rest.js.map +1 -1
- package/schedule/rest.ts +2 -0
|
@@ -37,6 +37,7 @@ export default class CreateEventMasterRequest implements IRequest {
|
|
|
37
37
|
private repeatBeginHour: number|null = null;
|
|
38
38
|
private repeatEndHour: number|null = null;
|
|
39
39
|
private relativeTriggerName: string|null = null;
|
|
40
|
+
private repeatSetting: Gs2Schedule.RepeatSetting|null = null;
|
|
40
41
|
|
|
41
42
|
public getRequestId(): string|null {
|
|
42
43
|
return this.requestId;
|
|
@@ -142,79 +143,100 @@ export default class CreateEventMasterRequest implements IRequest {
|
|
|
142
143
|
this.absoluteEnd = absoluteEnd;
|
|
143
144
|
return this;
|
|
144
145
|
}
|
|
146
|
+
/** @deprecated */
|
|
145
147
|
public getRepeatType(): string|null {
|
|
146
148
|
return this.repeatType;
|
|
147
149
|
}
|
|
150
|
+
/** @deprecated */
|
|
148
151
|
public setRepeatType(repeatType: string|null) {
|
|
149
152
|
this.repeatType = repeatType;
|
|
150
153
|
return this;
|
|
151
154
|
}
|
|
155
|
+
/** @deprecated */
|
|
152
156
|
public withRepeatType(repeatType: string|null): this {
|
|
153
157
|
this.repeatType = repeatType;
|
|
154
158
|
return this;
|
|
155
159
|
}
|
|
160
|
+
/** @deprecated */
|
|
156
161
|
public getRepeatBeginDayOfMonth(): number|null {
|
|
157
162
|
return this.repeatBeginDayOfMonth;
|
|
158
163
|
}
|
|
164
|
+
/** @deprecated */
|
|
159
165
|
public setRepeatBeginDayOfMonth(repeatBeginDayOfMonth: number|null) {
|
|
160
166
|
this.repeatBeginDayOfMonth = repeatBeginDayOfMonth;
|
|
161
167
|
return this;
|
|
162
168
|
}
|
|
169
|
+
/** @deprecated */
|
|
163
170
|
public withRepeatBeginDayOfMonth(repeatBeginDayOfMonth: number|null): this {
|
|
164
171
|
this.repeatBeginDayOfMonth = repeatBeginDayOfMonth;
|
|
165
172
|
return this;
|
|
166
173
|
}
|
|
174
|
+
/** @deprecated */
|
|
167
175
|
public getRepeatEndDayOfMonth(): number|null {
|
|
168
176
|
return this.repeatEndDayOfMonth;
|
|
169
177
|
}
|
|
178
|
+
/** @deprecated */
|
|
170
179
|
public setRepeatEndDayOfMonth(repeatEndDayOfMonth: number|null) {
|
|
171
180
|
this.repeatEndDayOfMonth = repeatEndDayOfMonth;
|
|
172
181
|
return this;
|
|
173
182
|
}
|
|
183
|
+
/** @deprecated */
|
|
174
184
|
public withRepeatEndDayOfMonth(repeatEndDayOfMonth: number|null): this {
|
|
175
185
|
this.repeatEndDayOfMonth = repeatEndDayOfMonth;
|
|
176
186
|
return this;
|
|
177
187
|
}
|
|
188
|
+
/** @deprecated */
|
|
178
189
|
public getRepeatBeginDayOfWeek(): string|null {
|
|
179
190
|
return this.repeatBeginDayOfWeek;
|
|
180
191
|
}
|
|
192
|
+
/** @deprecated */
|
|
181
193
|
public setRepeatBeginDayOfWeek(repeatBeginDayOfWeek: string|null) {
|
|
182
194
|
this.repeatBeginDayOfWeek = repeatBeginDayOfWeek;
|
|
183
195
|
return this;
|
|
184
196
|
}
|
|
197
|
+
/** @deprecated */
|
|
185
198
|
public withRepeatBeginDayOfWeek(repeatBeginDayOfWeek: string|null): this {
|
|
186
199
|
this.repeatBeginDayOfWeek = repeatBeginDayOfWeek;
|
|
187
200
|
return this;
|
|
188
201
|
}
|
|
202
|
+
/** @deprecated */
|
|
189
203
|
public getRepeatEndDayOfWeek(): string|null {
|
|
190
204
|
return this.repeatEndDayOfWeek;
|
|
191
205
|
}
|
|
206
|
+
/** @deprecated */
|
|
192
207
|
public setRepeatEndDayOfWeek(repeatEndDayOfWeek: string|null) {
|
|
193
208
|
this.repeatEndDayOfWeek = repeatEndDayOfWeek;
|
|
194
209
|
return this;
|
|
195
210
|
}
|
|
211
|
+
/** @deprecated */
|
|
196
212
|
public withRepeatEndDayOfWeek(repeatEndDayOfWeek: string|null): this {
|
|
197
213
|
this.repeatEndDayOfWeek = repeatEndDayOfWeek;
|
|
198
214
|
return this;
|
|
199
215
|
}
|
|
216
|
+
/** @deprecated */
|
|
200
217
|
public getRepeatBeginHour(): number|null {
|
|
201
218
|
return this.repeatBeginHour;
|
|
202
219
|
}
|
|
220
|
+
/** @deprecated */
|
|
203
221
|
public setRepeatBeginHour(repeatBeginHour: number|null) {
|
|
204
222
|
this.repeatBeginHour = repeatBeginHour;
|
|
205
223
|
return this;
|
|
206
224
|
}
|
|
225
|
+
/** @deprecated */
|
|
207
226
|
public withRepeatBeginHour(repeatBeginHour: number|null): this {
|
|
208
227
|
this.repeatBeginHour = repeatBeginHour;
|
|
209
228
|
return this;
|
|
210
229
|
}
|
|
230
|
+
/** @deprecated */
|
|
211
231
|
public getRepeatEndHour(): number|null {
|
|
212
232
|
return this.repeatEndHour;
|
|
213
233
|
}
|
|
234
|
+
/** @deprecated */
|
|
214
235
|
public setRepeatEndHour(repeatEndHour: number|null) {
|
|
215
236
|
this.repeatEndHour = repeatEndHour;
|
|
216
237
|
return this;
|
|
217
238
|
}
|
|
239
|
+
/** @deprecated */
|
|
218
240
|
public withRepeatEndHour(repeatEndHour: number|null): this {
|
|
219
241
|
this.repeatEndHour = repeatEndHour;
|
|
220
242
|
return this;
|
|
@@ -230,6 +252,17 @@ export default class CreateEventMasterRequest implements IRequest {
|
|
|
230
252
|
this.relativeTriggerName = relativeTriggerName;
|
|
231
253
|
return this;
|
|
232
254
|
}
|
|
255
|
+
public getRepeatSetting(): Gs2Schedule.RepeatSetting|null {
|
|
256
|
+
return this.repeatSetting;
|
|
257
|
+
}
|
|
258
|
+
public setRepeatSetting(repeatSetting: Gs2Schedule.RepeatSetting|null) {
|
|
259
|
+
this.repeatSetting = repeatSetting;
|
|
260
|
+
return this;
|
|
261
|
+
}
|
|
262
|
+
public withRepeatSetting(repeatSetting: Gs2Schedule.RepeatSetting|null): this {
|
|
263
|
+
this.repeatSetting = repeatSetting;
|
|
264
|
+
return this;
|
|
265
|
+
}
|
|
233
266
|
|
|
234
267
|
public static fromDict(data: {[key: string]: any}): CreateEventMasterRequest {
|
|
235
268
|
return new CreateEventMasterRequest()
|
|
@@ -247,7 +280,8 @@ export default class CreateEventMasterRequest implements IRequest {
|
|
|
247
280
|
.withRepeatEndDayOfWeek(data["repeatEndDayOfWeek"])
|
|
248
281
|
.withRepeatBeginHour(data["repeatBeginHour"])
|
|
249
282
|
.withRepeatEndHour(data["repeatEndHour"])
|
|
250
|
-
.withRelativeTriggerName(data["relativeTriggerName"])
|
|
283
|
+
.withRelativeTriggerName(data["relativeTriggerName"])
|
|
284
|
+
.withRepeatSetting(Gs2Schedule.RepeatSetting.fromDict(data["repeatSetting"]));
|
|
251
285
|
}
|
|
252
286
|
|
|
253
287
|
public toDict(): {[key: string]: any} {
|
|
@@ -267,6 +301,7 @@ export default class CreateEventMasterRequest implements IRequest {
|
|
|
267
301
|
"repeatBeginHour": this.getRepeatBeginHour(),
|
|
268
302
|
"repeatEndHour": this.getRepeatEndHour(),
|
|
269
303
|
"relativeTriggerName": this.getRelativeTriggerName(),
|
|
304
|
+
"repeatSetting": this.getRepeatSetting()?.toDict(),
|
|
270
305
|
};
|
|
271
306
|
}
|
|
272
307
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
import * as Gs2Schedule from '../model';
|
|
2
3
|
export default class UpdateEventMasterRequest implements IRequest {
|
|
3
4
|
private requestId;
|
|
4
5
|
private contextStack;
|
|
@@ -17,6 +18,7 @@ export default class UpdateEventMasterRequest implements IRequest {
|
|
|
17
18
|
private repeatBeginHour;
|
|
18
19
|
private repeatEndHour;
|
|
19
20
|
private relativeTriggerName;
|
|
21
|
+
private repeatSetting;
|
|
20
22
|
getRequestId(): string | null;
|
|
21
23
|
setRequestId(requestId: string | null): this;
|
|
22
24
|
withRequestId(requestId: string | null): this;
|
|
@@ -44,30 +46,54 @@ export default class UpdateEventMasterRequest implements IRequest {
|
|
|
44
46
|
getAbsoluteEnd(): number | null;
|
|
45
47
|
setAbsoluteEnd(absoluteEnd: number | null): this;
|
|
46
48
|
withAbsoluteEnd(absoluteEnd: number | null): this;
|
|
49
|
+
/** @deprecated */
|
|
47
50
|
getRepeatType(): string | null;
|
|
51
|
+
/** @deprecated */
|
|
48
52
|
setRepeatType(repeatType: string | null): this;
|
|
53
|
+
/** @deprecated */
|
|
49
54
|
withRepeatType(repeatType: string | null): this;
|
|
55
|
+
/** @deprecated */
|
|
50
56
|
getRepeatBeginDayOfMonth(): number | null;
|
|
57
|
+
/** @deprecated */
|
|
51
58
|
setRepeatBeginDayOfMonth(repeatBeginDayOfMonth: number | null): this;
|
|
59
|
+
/** @deprecated */
|
|
52
60
|
withRepeatBeginDayOfMonth(repeatBeginDayOfMonth: number | null): this;
|
|
61
|
+
/** @deprecated */
|
|
53
62
|
getRepeatEndDayOfMonth(): number | null;
|
|
63
|
+
/** @deprecated */
|
|
54
64
|
setRepeatEndDayOfMonth(repeatEndDayOfMonth: number | null): this;
|
|
65
|
+
/** @deprecated */
|
|
55
66
|
withRepeatEndDayOfMonth(repeatEndDayOfMonth: number | null): this;
|
|
67
|
+
/** @deprecated */
|
|
56
68
|
getRepeatBeginDayOfWeek(): string | null;
|
|
69
|
+
/** @deprecated */
|
|
57
70
|
setRepeatBeginDayOfWeek(repeatBeginDayOfWeek: string | null): this;
|
|
71
|
+
/** @deprecated */
|
|
58
72
|
withRepeatBeginDayOfWeek(repeatBeginDayOfWeek: string | null): this;
|
|
73
|
+
/** @deprecated */
|
|
59
74
|
getRepeatEndDayOfWeek(): string | null;
|
|
75
|
+
/** @deprecated */
|
|
60
76
|
setRepeatEndDayOfWeek(repeatEndDayOfWeek: string | null): this;
|
|
77
|
+
/** @deprecated */
|
|
61
78
|
withRepeatEndDayOfWeek(repeatEndDayOfWeek: string | null): this;
|
|
79
|
+
/** @deprecated */
|
|
62
80
|
getRepeatBeginHour(): number | null;
|
|
81
|
+
/** @deprecated */
|
|
63
82
|
setRepeatBeginHour(repeatBeginHour: number | null): this;
|
|
83
|
+
/** @deprecated */
|
|
64
84
|
withRepeatBeginHour(repeatBeginHour: number | null): this;
|
|
85
|
+
/** @deprecated */
|
|
65
86
|
getRepeatEndHour(): number | null;
|
|
87
|
+
/** @deprecated */
|
|
66
88
|
setRepeatEndHour(repeatEndHour: number | null): this;
|
|
89
|
+
/** @deprecated */
|
|
67
90
|
withRepeatEndHour(repeatEndHour: number | null): this;
|
|
68
91
|
getRelativeTriggerName(): string | null;
|
|
69
92
|
setRelativeTriggerName(relativeTriggerName: string | null): this;
|
|
70
93
|
withRelativeTriggerName(relativeTriggerName: string | null): this;
|
|
94
|
+
getRepeatSetting(): Gs2Schedule.RepeatSetting | null;
|
|
95
|
+
setRepeatSetting(repeatSetting: Gs2Schedule.RepeatSetting | null): this;
|
|
96
|
+
withRepeatSetting(repeatSetting: Gs2Schedule.RepeatSetting | null): this;
|
|
71
97
|
static fromDict(data: {
|
|
72
98
|
[key: string]: any;
|
|
73
99
|
}): UpdateEventMasterRequest;
|
|
@@ -15,6 +15,8 @@ express or implied. See the License for the specific language governing
|
|
|
15
15
|
permissions and limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Schedule = tslib_1.__importStar(require("../model"));
|
|
18
20
|
var UpdateEventMasterRequest = /** @class */ (function () {
|
|
19
21
|
function UpdateEventMasterRequest() {
|
|
20
22
|
this.requestId = null;
|
|
@@ -34,6 +36,7 @@ var UpdateEventMasterRequest = /** @class */ (function () {
|
|
|
34
36
|
this.repeatBeginHour = null;
|
|
35
37
|
this.repeatEndHour = null;
|
|
36
38
|
this.relativeTriggerName = null;
|
|
39
|
+
this.repeatSetting = null;
|
|
37
40
|
}
|
|
38
41
|
UpdateEventMasterRequest.prototype.getRequestId = function () {
|
|
39
42
|
return this.requestId;
|
|
@@ -134,79 +137,100 @@ var UpdateEventMasterRequest = /** @class */ (function () {
|
|
|
134
137
|
this.absoluteEnd = absoluteEnd;
|
|
135
138
|
return this;
|
|
136
139
|
};
|
|
140
|
+
/** @deprecated */
|
|
137
141
|
UpdateEventMasterRequest.prototype.getRepeatType = function () {
|
|
138
142
|
return this.repeatType;
|
|
139
143
|
};
|
|
144
|
+
/** @deprecated */
|
|
140
145
|
UpdateEventMasterRequest.prototype.setRepeatType = function (repeatType) {
|
|
141
146
|
this.repeatType = repeatType;
|
|
142
147
|
return this;
|
|
143
148
|
};
|
|
149
|
+
/** @deprecated */
|
|
144
150
|
UpdateEventMasterRequest.prototype.withRepeatType = function (repeatType) {
|
|
145
151
|
this.repeatType = repeatType;
|
|
146
152
|
return this;
|
|
147
153
|
};
|
|
154
|
+
/** @deprecated */
|
|
148
155
|
UpdateEventMasterRequest.prototype.getRepeatBeginDayOfMonth = function () {
|
|
149
156
|
return this.repeatBeginDayOfMonth;
|
|
150
157
|
};
|
|
158
|
+
/** @deprecated */
|
|
151
159
|
UpdateEventMasterRequest.prototype.setRepeatBeginDayOfMonth = function (repeatBeginDayOfMonth) {
|
|
152
160
|
this.repeatBeginDayOfMonth = repeatBeginDayOfMonth;
|
|
153
161
|
return this;
|
|
154
162
|
};
|
|
163
|
+
/** @deprecated */
|
|
155
164
|
UpdateEventMasterRequest.prototype.withRepeatBeginDayOfMonth = function (repeatBeginDayOfMonth) {
|
|
156
165
|
this.repeatBeginDayOfMonth = repeatBeginDayOfMonth;
|
|
157
166
|
return this;
|
|
158
167
|
};
|
|
168
|
+
/** @deprecated */
|
|
159
169
|
UpdateEventMasterRequest.prototype.getRepeatEndDayOfMonth = function () {
|
|
160
170
|
return this.repeatEndDayOfMonth;
|
|
161
171
|
};
|
|
172
|
+
/** @deprecated */
|
|
162
173
|
UpdateEventMasterRequest.prototype.setRepeatEndDayOfMonth = function (repeatEndDayOfMonth) {
|
|
163
174
|
this.repeatEndDayOfMonth = repeatEndDayOfMonth;
|
|
164
175
|
return this;
|
|
165
176
|
};
|
|
177
|
+
/** @deprecated */
|
|
166
178
|
UpdateEventMasterRequest.prototype.withRepeatEndDayOfMonth = function (repeatEndDayOfMonth) {
|
|
167
179
|
this.repeatEndDayOfMonth = repeatEndDayOfMonth;
|
|
168
180
|
return this;
|
|
169
181
|
};
|
|
182
|
+
/** @deprecated */
|
|
170
183
|
UpdateEventMasterRequest.prototype.getRepeatBeginDayOfWeek = function () {
|
|
171
184
|
return this.repeatBeginDayOfWeek;
|
|
172
185
|
};
|
|
186
|
+
/** @deprecated */
|
|
173
187
|
UpdateEventMasterRequest.prototype.setRepeatBeginDayOfWeek = function (repeatBeginDayOfWeek) {
|
|
174
188
|
this.repeatBeginDayOfWeek = repeatBeginDayOfWeek;
|
|
175
189
|
return this;
|
|
176
190
|
};
|
|
191
|
+
/** @deprecated */
|
|
177
192
|
UpdateEventMasterRequest.prototype.withRepeatBeginDayOfWeek = function (repeatBeginDayOfWeek) {
|
|
178
193
|
this.repeatBeginDayOfWeek = repeatBeginDayOfWeek;
|
|
179
194
|
return this;
|
|
180
195
|
};
|
|
196
|
+
/** @deprecated */
|
|
181
197
|
UpdateEventMasterRequest.prototype.getRepeatEndDayOfWeek = function () {
|
|
182
198
|
return this.repeatEndDayOfWeek;
|
|
183
199
|
};
|
|
200
|
+
/** @deprecated */
|
|
184
201
|
UpdateEventMasterRequest.prototype.setRepeatEndDayOfWeek = function (repeatEndDayOfWeek) {
|
|
185
202
|
this.repeatEndDayOfWeek = repeatEndDayOfWeek;
|
|
186
203
|
return this;
|
|
187
204
|
};
|
|
205
|
+
/** @deprecated */
|
|
188
206
|
UpdateEventMasterRequest.prototype.withRepeatEndDayOfWeek = function (repeatEndDayOfWeek) {
|
|
189
207
|
this.repeatEndDayOfWeek = repeatEndDayOfWeek;
|
|
190
208
|
return this;
|
|
191
209
|
};
|
|
210
|
+
/** @deprecated */
|
|
192
211
|
UpdateEventMasterRequest.prototype.getRepeatBeginHour = function () {
|
|
193
212
|
return this.repeatBeginHour;
|
|
194
213
|
};
|
|
214
|
+
/** @deprecated */
|
|
195
215
|
UpdateEventMasterRequest.prototype.setRepeatBeginHour = function (repeatBeginHour) {
|
|
196
216
|
this.repeatBeginHour = repeatBeginHour;
|
|
197
217
|
return this;
|
|
198
218
|
};
|
|
219
|
+
/** @deprecated */
|
|
199
220
|
UpdateEventMasterRequest.prototype.withRepeatBeginHour = function (repeatBeginHour) {
|
|
200
221
|
this.repeatBeginHour = repeatBeginHour;
|
|
201
222
|
return this;
|
|
202
223
|
};
|
|
224
|
+
/** @deprecated */
|
|
203
225
|
UpdateEventMasterRequest.prototype.getRepeatEndHour = function () {
|
|
204
226
|
return this.repeatEndHour;
|
|
205
227
|
};
|
|
228
|
+
/** @deprecated */
|
|
206
229
|
UpdateEventMasterRequest.prototype.setRepeatEndHour = function (repeatEndHour) {
|
|
207
230
|
this.repeatEndHour = repeatEndHour;
|
|
208
231
|
return this;
|
|
209
232
|
};
|
|
233
|
+
/** @deprecated */
|
|
210
234
|
UpdateEventMasterRequest.prototype.withRepeatEndHour = function (repeatEndHour) {
|
|
211
235
|
this.repeatEndHour = repeatEndHour;
|
|
212
236
|
return this;
|
|
@@ -222,6 +246,17 @@ var UpdateEventMasterRequest = /** @class */ (function () {
|
|
|
222
246
|
this.relativeTriggerName = relativeTriggerName;
|
|
223
247
|
return this;
|
|
224
248
|
};
|
|
249
|
+
UpdateEventMasterRequest.prototype.getRepeatSetting = function () {
|
|
250
|
+
return this.repeatSetting;
|
|
251
|
+
};
|
|
252
|
+
UpdateEventMasterRequest.prototype.setRepeatSetting = function (repeatSetting) {
|
|
253
|
+
this.repeatSetting = repeatSetting;
|
|
254
|
+
return this;
|
|
255
|
+
};
|
|
256
|
+
UpdateEventMasterRequest.prototype.withRepeatSetting = function (repeatSetting) {
|
|
257
|
+
this.repeatSetting = repeatSetting;
|
|
258
|
+
return this;
|
|
259
|
+
};
|
|
225
260
|
UpdateEventMasterRequest.fromDict = function (data) {
|
|
226
261
|
return new UpdateEventMasterRequest()
|
|
227
262
|
.withNamespaceName(data["namespaceName"])
|
|
@@ -238,9 +273,11 @@ var UpdateEventMasterRequest = /** @class */ (function () {
|
|
|
238
273
|
.withRepeatEndDayOfWeek(data["repeatEndDayOfWeek"])
|
|
239
274
|
.withRepeatBeginHour(data["repeatBeginHour"])
|
|
240
275
|
.withRepeatEndHour(data["repeatEndHour"])
|
|
241
|
-
.withRelativeTriggerName(data["relativeTriggerName"])
|
|
276
|
+
.withRelativeTriggerName(data["relativeTriggerName"])
|
|
277
|
+
.withRepeatSetting(Gs2Schedule.RepeatSetting.fromDict(data["repeatSetting"]));
|
|
242
278
|
};
|
|
243
279
|
UpdateEventMasterRequest.prototype.toDict = function () {
|
|
280
|
+
var _a;
|
|
244
281
|
return {
|
|
245
282
|
"namespaceName": this.getNamespaceName(),
|
|
246
283
|
"eventName": this.getEventName(),
|
|
@@ -257,6 +294,7 @@ var UpdateEventMasterRequest = /** @class */ (function () {
|
|
|
257
294
|
"repeatBeginHour": this.getRepeatBeginHour(),
|
|
258
295
|
"repeatEndHour": this.getRepeatEndHour(),
|
|
259
296
|
"relativeTriggerName": this.getRelativeTriggerName(),
|
|
297
|
+
"repeatSetting": (_a = this.getRepeatSetting()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
260
298
|
};
|
|
261
299
|
};
|
|
262
300
|
return UpdateEventMasterRequest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateEventMasterRequest.js","sourceRoot":"","sources":["UpdateEventMasterRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"UpdateEventMasterRequest.js","sourceRoot":"","sources":["UpdateEventMasterRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,4DAAuC;AAEvC;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,cAAS,GAAgB,IAAI,CAAC;QAC9B,gBAAW,GAAgB,IAAI,CAAC;QAChC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,gBAAW,GAAgB,IAAI,CAAC;QAChC,eAAU,GAAgB,IAAI,CAAC;QAC/B,0BAAqB,GAAgB,IAAI,CAAC;QAC1C,wBAAmB,GAAgB,IAAI,CAAC;QACxC,yBAAo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AAE,IAAI,CAAC,kBAAkB,EAAE;YAC5C,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,qBAAqB,EAAE,IAAI,CAAC,sBAAsB,EAAE;YACpD,eAAe,EAAE,MAAA,IAAI,CAAC,gBAAgB,EAAE,0CAAE,MAAM,EAAE;SACrD,CAAC;IACN,CAAC;IACL,+BAAC;AAAD,CAAC,AA9RD,IA8RC"}
|
|
@@ -37,6 +37,7 @@ export default class UpdateEventMasterRequest implements IRequest {
|
|
|
37
37
|
private repeatBeginHour: number|null = null;
|
|
38
38
|
private repeatEndHour: number|null = null;
|
|
39
39
|
private relativeTriggerName: string|null = null;
|
|
40
|
+
private repeatSetting: Gs2Schedule.RepeatSetting|null = null;
|
|
40
41
|
|
|
41
42
|
public getRequestId(): string|null {
|
|
42
43
|
return this.requestId;
|
|
@@ -142,79 +143,100 @@ export default class UpdateEventMasterRequest implements IRequest {
|
|
|
142
143
|
this.absoluteEnd = absoluteEnd;
|
|
143
144
|
return this;
|
|
144
145
|
}
|
|
146
|
+
/** @deprecated */
|
|
145
147
|
public getRepeatType(): string|null {
|
|
146
148
|
return this.repeatType;
|
|
147
149
|
}
|
|
150
|
+
/** @deprecated */
|
|
148
151
|
public setRepeatType(repeatType: string|null) {
|
|
149
152
|
this.repeatType = repeatType;
|
|
150
153
|
return this;
|
|
151
154
|
}
|
|
155
|
+
/** @deprecated */
|
|
152
156
|
public withRepeatType(repeatType: string|null): this {
|
|
153
157
|
this.repeatType = repeatType;
|
|
154
158
|
return this;
|
|
155
159
|
}
|
|
160
|
+
/** @deprecated */
|
|
156
161
|
public getRepeatBeginDayOfMonth(): number|null {
|
|
157
162
|
return this.repeatBeginDayOfMonth;
|
|
158
163
|
}
|
|
164
|
+
/** @deprecated */
|
|
159
165
|
public setRepeatBeginDayOfMonth(repeatBeginDayOfMonth: number|null) {
|
|
160
166
|
this.repeatBeginDayOfMonth = repeatBeginDayOfMonth;
|
|
161
167
|
return this;
|
|
162
168
|
}
|
|
169
|
+
/** @deprecated */
|
|
163
170
|
public withRepeatBeginDayOfMonth(repeatBeginDayOfMonth: number|null): this {
|
|
164
171
|
this.repeatBeginDayOfMonth = repeatBeginDayOfMonth;
|
|
165
172
|
return this;
|
|
166
173
|
}
|
|
174
|
+
/** @deprecated */
|
|
167
175
|
public getRepeatEndDayOfMonth(): number|null {
|
|
168
176
|
return this.repeatEndDayOfMonth;
|
|
169
177
|
}
|
|
178
|
+
/** @deprecated */
|
|
170
179
|
public setRepeatEndDayOfMonth(repeatEndDayOfMonth: number|null) {
|
|
171
180
|
this.repeatEndDayOfMonth = repeatEndDayOfMonth;
|
|
172
181
|
return this;
|
|
173
182
|
}
|
|
183
|
+
/** @deprecated */
|
|
174
184
|
public withRepeatEndDayOfMonth(repeatEndDayOfMonth: number|null): this {
|
|
175
185
|
this.repeatEndDayOfMonth = repeatEndDayOfMonth;
|
|
176
186
|
return this;
|
|
177
187
|
}
|
|
188
|
+
/** @deprecated */
|
|
178
189
|
public getRepeatBeginDayOfWeek(): string|null {
|
|
179
190
|
return this.repeatBeginDayOfWeek;
|
|
180
191
|
}
|
|
192
|
+
/** @deprecated */
|
|
181
193
|
public setRepeatBeginDayOfWeek(repeatBeginDayOfWeek: string|null) {
|
|
182
194
|
this.repeatBeginDayOfWeek = repeatBeginDayOfWeek;
|
|
183
195
|
return this;
|
|
184
196
|
}
|
|
197
|
+
/** @deprecated */
|
|
185
198
|
public withRepeatBeginDayOfWeek(repeatBeginDayOfWeek: string|null): this {
|
|
186
199
|
this.repeatBeginDayOfWeek = repeatBeginDayOfWeek;
|
|
187
200
|
return this;
|
|
188
201
|
}
|
|
202
|
+
/** @deprecated */
|
|
189
203
|
public getRepeatEndDayOfWeek(): string|null {
|
|
190
204
|
return this.repeatEndDayOfWeek;
|
|
191
205
|
}
|
|
206
|
+
/** @deprecated */
|
|
192
207
|
public setRepeatEndDayOfWeek(repeatEndDayOfWeek: string|null) {
|
|
193
208
|
this.repeatEndDayOfWeek = repeatEndDayOfWeek;
|
|
194
209
|
return this;
|
|
195
210
|
}
|
|
211
|
+
/** @deprecated */
|
|
196
212
|
public withRepeatEndDayOfWeek(repeatEndDayOfWeek: string|null): this {
|
|
197
213
|
this.repeatEndDayOfWeek = repeatEndDayOfWeek;
|
|
198
214
|
return this;
|
|
199
215
|
}
|
|
216
|
+
/** @deprecated */
|
|
200
217
|
public getRepeatBeginHour(): number|null {
|
|
201
218
|
return this.repeatBeginHour;
|
|
202
219
|
}
|
|
220
|
+
/** @deprecated */
|
|
203
221
|
public setRepeatBeginHour(repeatBeginHour: number|null) {
|
|
204
222
|
this.repeatBeginHour = repeatBeginHour;
|
|
205
223
|
return this;
|
|
206
224
|
}
|
|
225
|
+
/** @deprecated */
|
|
207
226
|
public withRepeatBeginHour(repeatBeginHour: number|null): this {
|
|
208
227
|
this.repeatBeginHour = repeatBeginHour;
|
|
209
228
|
return this;
|
|
210
229
|
}
|
|
230
|
+
/** @deprecated */
|
|
211
231
|
public getRepeatEndHour(): number|null {
|
|
212
232
|
return this.repeatEndHour;
|
|
213
233
|
}
|
|
234
|
+
/** @deprecated */
|
|
214
235
|
public setRepeatEndHour(repeatEndHour: number|null) {
|
|
215
236
|
this.repeatEndHour = repeatEndHour;
|
|
216
237
|
return this;
|
|
217
238
|
}
|
|
239
|
+
/** @deprecated */
|
|
218
240
|
public withRepeatEndHour(repeatEndHour: number|null): this {
|
|
219
241
|
this.repeatEndHour = repeatEndHour;
|
|
220
242
|
return this;
|
|
@@ -230,6 +252,17 @@ export default class UpdateEventMasterRequest implements IRequest {
|
|
|
230
252
|
this.relativeTriggerName = relativeTriggerName;
|
|
231
253
|
return this;
|
|
232
254
|
}
|
|
255
|
+
public getRepeatSetting(): Gs2Schedule.RepeatSetting|null {
|
|
256
|
+
return this.repeatSetting;
|
|
257
|
+
}
|
|
258
|
+
public setRepeatSetting(repeatSetting: Gs2Schedule.RepeatSetting|null) {
|
|
259
|
+
this.repeatSetting = repeatSetting;
|
|
260
|
+
return this;
|
|
261
|
+
}
|
|
262
|
+
public withRepeatSetting(repeatSetting: Gs2Schedule.RepeatSetting|null): this {
|
|
263
|
+
this.repeatSetting = repeatSetting;
|
|
264
|
+
return this;
|
|
265
|
+
}
|
|
233
266
|
|
|
234
267
|
public static fromDict(data: {[key: string]: any}): UpdateEventMasterRequest {
|
|
235
268
|
return new UpdateEventMasterRequest()
|
|
@@ -247,7 +280,8 @@ export default class UpdateEventMasterRequest implements IRequest {
|
|
|
247
280
|
.withRepeatEndDayOfWeek(data["repeatEndDayOfWeek"])
|
|
248
281
|
.withRepeatBeginHour(data["repeatBeginHour"])
|
|
249
282
|
.withRepeatEndHour(data["repeatEndHour"])
|
|
250
|
-
.withRelativeTriggerName(data["relativeTriggerName"])
|
|
283
|
+
.withRelativeTriggerName(data["relativeTriggerName"])
|
|
284
|
+
.withRepeatSetting(Gs2Schedule.RepeatSetting.fromDict(data["repeatSetting"]));
|
|
251
285
|
}
|
|
252
286
|
|
|
253
287
|
public toDict(): {[key: string]: any} {
|
|
@@ -267,6 +301,7 @@ export default class UpdateEventMasterRequest implements IRequest {
|
|
|
267
301
|
"repeatBeginHour": this.getRepeatBeginHour(),
|
|
268
302
|
"repeatEndHour": this.getRepeatEndHour(),
|
|
269
303
|
"relativeTriggerName": this.getRelativeTriggerName(),
|
|
304
|
+
"repeatSetting": this.getRepeatSetting()?.toDict(),
|
|
270
305
|
};
|
|
271
306
|
}
|
|
272
307
|
}
|
package/schedule/rest.js
CHANGED
|
@@ -409,7 +409,7 @@ var Gs2ScheduleRestClient = /** @class */ (function (_super) {
|
|
|
409
409
|
});
|
|
410
410
|
};
|
|
411
411
|
Gs2ScheduleRestClient.prototype.createEventMaster = function (request) {
|
|
412
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
|
|
412
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
|
413
413
|
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/event')
|
|
414
414
|
.replace('{service}', 'schedule')
|
|
415
415
|
.replace('{region}', this.session.region)
|
|
@@ -434,6 +434,7 @@ var Gs2ScheduleRestClient = /** @class */ (function (_super) {
|
|
|
434
434
|
'repeatBeginHour': (_q = request.getRepeatBeginHour()) !== null && _q !== void 0 ? _q : null,
|
|
435
435
|
'repeatEndHour': (_r = request.getRepeatEndHour()) !== null && _r !== void 0 ? _r : null,
|
|
436
436
|
'relativeTriggerName': (_s = request.getRelativeTriggerName()) !== null && _s !== void 0 ? _s : null,
|
|
437
|
+
'repeatSetting': (_u = (_t = request.getRepeatSetting()) === null || _t === void 0 ? void 0 : _t.toDict()) !== null && _u !== void 0 ? _u : null,
|
|
437
438
|
};
|
|
438
439
|
return axios_1.default.post(url, body, {
|
|
439
440
|
headers: headers,
|
|
@@ -472,7 +473,7 @@ var Gs2ScheduleRestClient = /** @class */ (function (_super) {
|
|
|
472
473
|
});
|
|
473
474
|
};
|
|
474
475
|
Gs2ScheduleRestClient.prototype.updateEventMaster = function (request) {
|
|
475
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
476
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v;
|
|
476
477
|
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/event/{eventName}')
|
|
477
478
|
.replace('{service}', 'schedule')
|
|
478
479
|
.replace('{region}', this.session.region)
|
|
@@ -497,6 +498,7 @@ var Gs2ScheduleRestClient = /** @class */ (function (_super) {
|
|
|
497
498
|
'repeatBeginHour': (_r = request.getRepeatBeginHour()) !== null && _r !== void 0 ? _r : null,
|
|
498
499
|
'repeatEndHour': (_s = request.getRepeatEndHour()) !== null && _s !== void 0 ? _s : null,
|
|
499
500
|
'relativeTriggerName': (_t = request.getRelativeTriggerName()) !== null && _t !== void 0 ? _t : null,
|
|
501
|
+
'repeatSetting': (_v = (_u = request.getRepeatSetting()) === null || _u === void 0 ? void 0 : _u.toDict()) !== null && _v !== void 0 ? _v : null,
|
|
500
502
|
};
|
|
501
503
|
return axios_1.default.put(url, body, {
|
|
502
504
|
headers: headers,
|